/* ===================================
    Crafto - Accounting
====================================== */

/* font */
@font-face {
    font-family: 'cerebri-sans-regular';
    src: url('fonts/CerebriSans-Regular.woff2') format('woff2'),
        url('fonts/CerebriSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal; 
} 
@font-face {
    font-family: 'cerebri-sans-medium';
    src: url('fonts/CerebriSans-Medium.woff2') format('woff2'),
        url('fonts/CerebriSans-Medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'cerebri-sans-semibold';
    src: url('fonts/CerebriSans-SemiBold.woff2') format('woff2'),
        url('fonts/CerebriSans-SemiBold.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'cerebri-sans-bold';
    src: url('fonts/CerebriSans-Bold.woff2') format('woff2'),
        url('fonts/CerebriSans-Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'cerebri-sans-light';
    src: url('fonts/CerebriSans-Light.woff2') format('woff2'),
        url('fonts/CerebriSans-Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
/* variable */
:root {      
    --alt-font: 'cerebri-sans-regular';
    --primary-font:  'cerebri-sans-regular';
    --base-color: #9C1C63;
    --dark-gray:#1e3238;
    --very-light-gray:#f7f7f7;
    --yellow: #ecab23;
    --medium-gray: #7c898d;
    --solitude-blue: #f4f7f9;
} 
.bg-gradient-quartz-white {
  background-image: linear-gradient(to bottom, #f7f7ff, #f4f4fb, #f8f7fc, #fbfbfe, #ffffff);
}
.bg-base-color {
  background-color: var(--base-color);
}
.bg-very-light-base{
    background-color: #ef87b6;
}
.bg-light-sea-green-transparent-light {
  background-color: #F4DCE7;
}
/* reset */
body {
    font-size: 18px;
    line-height: 30px;
}
/* font weight */
.fw-400 {
    font-family: 'cerebri-sans-regular' !important; 
    font-weight: normal !important;
}
.fw-300 {
    font-family: 'cerebri-sans-light' !important;
    font-weight: normal !important;
}
.fw-500 {
    font-family: 'cerebri-sans-medium' !important;
    font-weight: normal !important;
}
.fw-600 {
    font-family: 'cerebri-sans-semibold' !important;
    font-weight: normal !important;
}
.fw-700 {
    font-family: 'cerebri-sans-bold' !important;
    font-weight: normal !important;
} 
/* custom cursor */
.custom-cursor .circle-cursor-inner {
    background-color: var(--yellow);
}
.custom-cursor .circle-cursor-inner.cursor-link-hover {
    background-color: var(--yellow);
}
.custom-cursor .circle-cursor-outer {
    border: 1px solid var(--yellow);
}
/* heading */
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 25px;
}
h1 {
    line-height: 4.375rem;
}
h2 {
    line-height: 3.438rem;
}
h3 {
    line-height: 3rem;
}
h4 {
    line-height: 2.6rem;
}
h5 {
    line-height: 2rem;
}
h6 {
    line-height: 1.75rem;
}
/* header */
.navbar .navbar-nav .nav-link {
    font-size: 18px;
    font-family: 'cerebri-sans-medium' !important;
}
.navbar .navbar-nav .dropdown .dropdown-menu a {
    font-size: 16px;
    line-height: 28px;
    font-family: 'cerebri-sans-regular' !important; 
}
header .btn.btn-small {
    font-size: 14px
}
header .btn.btn-small i {
    top:-2px;
}
header .navbar-brand img {
    max-height: 80px;
}
.navbar .container-fluid{
height: 110px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu {
    width: 300px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
    border-bottom: 1px solid var(--very-light-gray);
    padding: 20px 30px;
    font-size: 17px;
    color: var(--dark-gray) !important; 
    font-family: 'cerebri-sans-medium' !important;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a:hover{
    background-color: var(--very-light-gray);
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a img {
    width: 40px;
    margin-right: 10px;
}
/* btn */
.btn-link i {
    top:0px;
}
.btn.btn-hover-animation-switch .btn-icon {
    margin-left: 6px;
}
.btn {
    font-family: 'cerebri-sans-medium'; 
    font-weight: normal !important;
    text-transform: none;
    letter-spacing: normal;
}
.btn-yellow {
    background-color: var(--yellow) !important;
    color: var(--dark-gray) !important; 
}
.btn.btn-box-shadow.btn-yellow:hover {
    background-color: var(--yellow) !important;
    color: var(--dark-gray) !important;
}
.btn.btn-box-shadow.btn-yellow:active {
     border-color: var(--yellow) !important;
}
.btn.btn-extra-large {
    font-size: 17px;
}
.btn.btn-large {
    font-size: 16px;
}
.btn.btn-medium {
    font-size: 15px;
}
.btn.with-rounded.btn-large > span {
    line-height: 34px;
}
.btn.with-rounded.btn-medium > span {
    line-height: 30px;
}
/* text color */
.text-emerald-green {
    color: #62cd54;
}
/* bg color */
.bg-orient-blue {
    background-color: #1F6668; 
}
/* bg gradient color */
.bg-gradient-green-yellow-color { 
    background: rgb(236,171,35); 
    background: linear-gradient(306deg, rgba(236,171,35,1) 0%, rgba(0,83,61,1) 85%);
}
.bg-gradient-gray-light-dark-transparent {
    background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(32, 35, 41, 1)), to(transparent));
    background-image: linear-gradient(to top, rgba(32, 35, 41, 1) 10%, transparent 50%);
}
/* homepage */
.contact-form-style-01 .btn.btn-large { 
    padding: 13px 40px;
}
.terms-condition .box:before {
    top: 7px;
}
.terms-condition .box:after {
    top: 11px;
}
.contact-form-style-01 {
    margin-top: -100px;
}
/* page title */
.page-title-extra-small h1 {
    font-size: 18px;
    line-height: 22px;
}
.page-title-extra-small h2 {
    font-size: 4rem;
    line-height: 3.8rem;
}
/* team style */
.team-style-01 figure figcaption .social-icon a {
    margin: 0 5px;
}
/* text shadow */
.text-shadow-medium { 
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}
/* border color */
.border-color-yellow {
    border-color: var(--yellow) !important;
}
.pagination-style-01 .page-item.active .page-link,
.pagination-style-01 .page-item .page-link:hover {
    background: var(--dark-gray);
    color: var(--white);
}
.pagination-style-01 .page-item:first-child .page-link,
.pagination-style-01 .page-item:last-child .page-link {
    background: transparent;
    box-shadow: none !important;
}
.pagination-style-01 .page-item:first-child .page-link,
.pagination-style-01 .page-item:last-child .page-link {
    background: transparent;
    box-shadow: none !important;
}
.pagination-style-01 .page-item:first-child .page-link:hover,
.pagination-style-01 .page-item:last-child .page-link:hover {
    color: var(--dark-gray);
}
/* progress bar style 03 */
.progress-bar-style-03 .progress .progress-bar-title, 
.progress-bar-style-03 .progress .progress-bar-percent {
    bottom: 10px;
}
.progress-bar-style-03 .progress {
    height: 6px;
}
/* tooltip */ 
.tooltip-inner {
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.16);
    color: var(--medium-gray);
    padding: 22px 35px;
    max-width: 260px;
    font-size: 16px;
    line-height: 26px;
    text-transform: none;
    font-weight: 400;
}
.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before, .bs-tooltip-bottom .tooltip-arrow:before {
    border-bottom-color: var(--white) !important;
    border-width: 0 1.7em 1.7em !important; 
}

.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before, .bs-tooltip-top .tooltip-arrow:before {
    border-top-color: var(--white) !important;
    border-width: 1.7em 1.7em 0 !important; 
}
.bs-tooltip-auto[data-popper-placement^=bottom] {
    margin-top: 15px !important;
}
.bs-tooltip-auto[data-popper-placement^=top] {
    margin-bottom: 15px !important;
}
.tooltip {
    opacity: 1 !important;
}
.tooltip .tooltip-arrow {
    width: 3.5em;
    height: 1.2em;
}
.bs-tooltip-start.tooltip .tooltip-arrow {
    width: 1.2em;
    height: 3.2em;
    margin-top: -18px;
}
.bs-tooltip-auto[data-popper-placement^=left] {
    margin-right: 15px;
}
.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before, .bs-tooltip-start .tooltip-arrow:before {
    border-width: 1em 0 1em 1em !important;
    border-left-color: var(--white) !important;
}
.bs-tooltip-end.tooltip .tooltip-arrow {
    width: 1.2em;
    height: 3.2em;
    margin-top: -18px;
}
.bs-tooltip-auto[data-popper-placement^=right] {
    margin-left: 15px !important;
}
.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before, .bs-tooltip-end .tooltip-arrow:before {
    border-width: 1.7rem 1.7rem 1.7rem 0 !important;
    border-right-color: var(--white) !important;
}
.tooltip-title {
    font-weight: 600;
    display: block;
    font-size: 18px;
    margin-bottom: 7px;
    color: var(--dark-gray);
    letter-spacing: -0.5px;
}
/* top right bottom left */
.left-35px {
    left: 35px;
}
.bottom-35px {
    bottom: 35px;
}
/* footer */
footer .footer-logo img {
    max-height: 100px;
}
.footer-dark p, .footer-dark .widget-text {
    color: var(--white);
    
}
.footer-dark .elements-social .light li a {
    opacity: 1;
}
.footer-dark p a, .footer-dark p a:hover {
    color: var(--white);
}

.footer-dark ul li a:hover, .footer-dark .widget-link:hover, .footer-dark a {
    opacity: 1;
}
footer ul li {
    margin-bottom: 0;
}
.footer-dark .newsletter-style-02 input::placeholder {
    color: var(--white);
}
.footer-dark .newsletter-style-02 input::-webkit-input-placeholder {
    color: var(--white) !important;
    text-overflow: ellipsis;
    opacity: 0.4;
}
.footer-dark .newsletter-style-02 input::-moz-placeholder {
    color: var(--white) !important;
    text-overflow: ellipsis;
    opacity: 0.4;
}
.footer-dark .newsletter-style-02 input:-ms-input-placeholder {
    color: var(--white) !important;
    text-overflow: ellipsis;
    opacity: 0.4;
}
.is-touchable .cursor-page-inner {
    display: none !important;
}
/* media query responsive */
@media (max-width: 1300px) {
    .sticky-wrap.shadow-in {
        left: 18px;
    }
}
@media (max-width: 1250px) {
    .sticky-wrap.shadow-in {
        left: 2px;
    }
}
@media (max-width: 1199px) {
    header .btn.btn-rounded.btn-small {
        padding: 9px 18px;
    }
}
@media (max-width: 991px) {
    .contact-form-style-01 {
        margin-top: 0;
    }
    .tab-style-08 ul .nav-item .nav-link {
        padding: 18px 20px;
    }
    .elements-social .large-icon li {
        margin: 0 5px;
    }
    .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
        padding-left: 0px;
        padding-right: 0px;
    }
    .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a:hover{
        background-color: transparent;
    }
}
@media (max-width: 767px) { 
    .process-step-style-03 .progress-step-separator {
        display: block;
    }
}
@media (max-width: 575px) { 
    .process-step-style-03 .progress-step-separator {
        display: none;
    }
}
.discover a{
background-color: #ecab23;
color: white;
padding: 10px;
}
#leuca-scroll-container {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999999 !important;
    opacity: 0; 
    transition: opacity 0.5s ease;
    pointer-events: none;
}

#leuca-scroll-container.is-active {
    opacity: 1;
    pointer-events: auto;
}

#leuca-scroll-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-decoration: none !important;
}

.leuca-text {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    font-size: 10px; /* Slightly larger for readability */
    font-weight: 800;
    letter-spacing: 2px;
    color: #232323; 
    margin-bottom: 15px;
}

.leuca-line-track {
    width: 4px;
    height: 120px; /* Standard aesthetic height */
    /* FIX: Track background must be light so fill is visible */
    background-color: rgba(0, 81, 83, 0.15); 
    position: relative;
    border-radius: 10px;
    overflow: hidden; /* Ensures the fill stays inside the rounded corners */
}

#leuca-fill-line {
    width: 100%;
    height: 0%; /* Controlled by JavaScript */
    background-color: #005153; /* Your solid Teal/Green color */
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
    /* Smooths the movement as you scroll */
    transition: height 0.1s linear; 
}
.text-justify{
    text-align: justify;
}
/* 1. Base styles for the transition */
.process-step-icon {
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.process-step-icon h6 {
    transition: color 0.3s ease-in-out;
}

/* 2. Hover state: Change background and border */
.process-step-icon:hover {
    background-color:var(--base-color); /* Replace with your school brand color */
    border-color: var(--base-color) !important;
}

/* 3. Hover state: Change h6 text to white */
.process-step-icon:hover h6 {
    color: #ffffff !important;
}
/*gallery section*/
.school-gallery {
    padding: 60px 0;
}

.gallery-tabs {
    text-align: center;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 8px 18px;
    margin: 5px;
    border: none;
    background: #eee;
    cursor: pointer;
    border-radius: 20px;
    transition: 0.3s;
}

.tab-btn.active {
    background: #9C1C63;
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

/* Updated Gallery Item Container */
.gallery-item {
    position: relative;
    height: auto; /* Changed from 250px to auto to accommodate text below */
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    flex-direction: column; /* Stack image and text vertically */
    background: #f9f9f9; /* Optional: light background for the text area */
    text-decoration: none;
    border: 1px solid #eee;
}

/* Ensure the image container stays fixed height */
.gallery-item img {
    width: 100%;
    height: 220px; /* Fixed height for the image part */
    object-fit: cover;
    transition: 0.4s;
    display: block;
}

/* Updated Text Styling (No longer an overlay) */
.gallery-overlay {
    position: static; /* Removes the "absolute" positioning */
    width: 100%;
    height: auto;
    background: transparent; /* Remove the dark background */
    padding: 12px 5px;
    opacity: 1; /* Always visible */
    display: block; /* Normal block flow */
}

.gallery-overlay span {
    color: #333; /* Darker text for readability on white/light bg */
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    display: block;
}

/* Hover Effects - Only zoom the image now */
.gallery-item:hover img {
    transform: scale(1.05);
}

/* Remove the opacity trigger */
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.kinder{
    letter-spacing:0;
}
/* ============================= */
/* MOTTO & AIM RESPONSIVE FIXES  */
/* ============================= */

/* Default improvements */
.process-step-item {
    gap: 20px;
}

.process-content span {
    line-height: 1.4;
}

.process-content p {
    margin-top: 5px;
}

/* Extra Large Screens (1400px+) */
@media (min-width: 1400px) {
    .process-step-icon {
        width: 90px;
        height: 90px;
    }
}

/* Large Screens (1200px - 1399px) */
@media (max-width: 1399px) {
    .process-step-icon {
        width: 80px;
        height: 80px;
    }

    .process-content span {
        font-size: 18px;
    }
}

/* Medium Devices (Tablets) */
@media (max-width: 991px) {

    .process-step-item {
        flex-direction: column;
        text-align: center;
    }

    .process-content {
        padding-left: 0 !important;
        margin-top: 15px;
    }

    .process-step-icon {
        width: 75px;
        height: 75px;
    }

    .process-content span {
        font-size: 17px;
    }

    .process-content p {
        font-size: 15px;
    }

    .outside-box-right-15 {
        margin-right: 0 !important;
    }
}

/* Small Devices (Mobiles) */
@media (max-width: 767px) {

    section h5 {
        text-align: center !important;
        font-size: 22px;
    }

    .process-step-icon {
        width: 65px;
        height: 65px;
    }

    .process-step-icon h6 {
        font-size: 18px;
    }

    .process-content span {
        font-size: 16px;
    }

    .process-content p {
        font-size: 14px;
    }

    .swiper-slide {
        padding: 10px 15px;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {

    .process-step-icon {
        width: 55px;
        height: 55px;
    }

    .process-step-icon h6 {
        font-size: 16px;
    }

    .process-content span {
        font-size: 15px;
    }

    .process-content p {
        font-size: 13px;
    }

    section {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }
}
/* --- Layout Styles --- */
.line-path-section {
    position: relative;
    padding: 120px 0;
}

.vertical-path-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(238, 196, 50, 0) 0%, 
        rgba(238, 196, 50, 0.6) 15%, 
        rgba(238, 196, 50, 0.6) 85%, 
        rgba(238, 196, 50, 0) 100%);
    z-index: 0;
}

.path-dot {
    width: 16px;
    height: 16px;
    background: #fff;
    border: 3px solid #eec432; /* Use your school base color */
    border-radius: 50%;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.path-icon-wrap {
    width: 50px;
    height: 50px;
    background: #eec432;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 5px 20px rgba(238, 196, 50, 0.3);
    z-index: 2;
    position: relative;
}

.bg-text-decor {
    font-size: 15vw;
    font-weight: 900;
    color: #f0f0f0; /* Very light gray */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    text-transform: uppercase;
    letter-spacing: -5px;
    pointer-events: none;
}

.mb-100px { margin-bottom: 100px; }

/* --- Responsive Media Queries --- */

/* For Tablets and Mobile */
@media (max-width: 767px) {
    .vertical-path-line {
        left: 20px;
        transform: none;
    }
    
    .path-dot, .path-icon-wrap {
        margin-left: 0 !important;
        left: 10px;
    }

    .line-path-section .row {
        text-align: left !important;
    }

    .line-path-section .col-md-5 {
        padding-left: 60px;
        margin-bottom: 40px;
    }

    /* Reset the zig-zag on mobile so everything flows left-to-right */
    .order-md-1 { order: 2 !important; }
    .order-md-2 { order: 1 !important; }
    .order-md-3 { order: 3 !important; }

    .bg-text-decor {
        font-size: 80px;
        top: 20%;
    }
    
    .sm-mb-60px { margin-bottom: 60px; }
}
/* Smooth transition */
.sport-hover {
    transition: all 0.4s ease;
}

/* Hover animation */
.sport-hover:hover {
    transform: translateY(-12px);
}

/* Subtle shadow effect */
.sport-hover:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Heading zoom effect */
.sport-hover h4 {
    transition: all 0.4s ease;
}

.sport-hover:hover h4 {
    letter-spacing: 1px;
}
.transition-03s { transition: all 0.3s ease-in-out; }
.box-shadow-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}
.bg-gradient-very-light-gray {
    background: linear-gradient(to bottom, #ffffff, #f7f7f7);
    padding: 100px 0;
}
/*management*/
/* Container and Section */
.management-section {
    position: relative;
    z-index: 1;
    padding: 60px 0;
}

/* Unified Grid System for both Card types */
.management-row, 
.management-grid {
    display: grid;
    /* This gap keeps things breathing */
    gap: 24px; 
    justify-content: center;
    margin-bottom: 40px;
    width: 100%;
}

/* Desktop: 5 columns */
@media (min-width: 1200px) {
    .management-row, .management-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Large Tablets / Laptops: 4 columns */
@media (max-width: 1199px) {
    .management-row, .management-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablets: 3 columns */
@media (max-width: 991px) {
    .management-row, .management-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Landscape: 2 columns */
@media (max-width: 767px) {
    .management-row, .management-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* Small Mobile: 1 column */
@media (max-width: 480px) {
    .management-row, .management-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Unified Card Styling */
.management-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    text-align: center;
    transition: all 0.3s ease;
    padding: 12px;
    height: 100%;
    border: 1px solid #f0f0f0;
}

/* Fix for the BIG IMAGE issue */
.management-card img {
    width: 100%;
    /* Instead of fixed height, use aspect-ratio for consistency */
    aspect-ratio: 4 / 5; 
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
    margin-bottom: 10px;
}

/* Typography */
.management-card h6, .management-cards h6 {
    margin: 10px 0 5px 0;
    font-weight: 700;
    color: #222;
    font-size: 18px;
    line-height: 1.2;
}

.management-card span {
    display: block;
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

/* Hover effect */
.management-card:hover, .management-cards:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* animated background pattern */
.bg-pattern{
position:absolute;
width:100%;
height:100%;
top:0;
left:0;
background-image:
radial-gradient(circle at 20% 30%, rgba(120,130,255,.15) 0, transparent 120px),
radial-gradient(circle at 80% 70%, rgba(255,120,150,.15) 0, transparent 120px),
radial-gradient(circle at 40% 80%, rgba(120,220,200,.15) 0, transparent 120px);
animation:moveBg 12s infinite alternate ease-in-out;
z-index:0;
}

.container{
position:relative;
z-index:2;
}

@keyframes moveBg{
0%{transform:translateY(0px)}
100%{transform:translateY(-40px)}
}
.management-row{
display:flex;
justify-content:center;
gap:25px;
flex-wrap:wrap;
}

.management-cards{
background:#fff;
border-radius:12px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
text-align:center;
transition:.3s;
padding: 10px;
}

.management-cards img{
width:100%;
height:220px;
object-fit:cover;
border: 1px solid black;
}

.management-cards h6{
margin:15px 0;
font-weight:600;
color: black;
font-size: 20px;
}
.management-cards:hover{
transform:translateY(-8px);
box-shadow:0 18px 40px rgba(0,0,0,0.12);
}

/* Desktop: 5 columns */
@media (min-width: 1200px) {
    .management-row, .management-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Large Tablets / Laptops: 4 columns */
@media (max-width: 1199px) {
    .management-row, .management-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablets: 3 columns */
@media (max-width: 991px) {
    .management-row, .management-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Landscape: 2 columns */
@media (max-width: 767px) {
    .management-row, .management-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .management-card h6, .management-cards h6 {
        font-size: 18px;
    }
}

/* Small Mobile: 1 column */
@media (max-width: 480px) {
    .management-row, .management-grid {
        grid-template-columns: 1fr;
        max-width: 300px; /* Keeps cards from getting too wide */
        margin-left: auto;
        margin-right: auto;
    }
}

.bg-pattern {
    position: absolute;
    inset: 0; /* Shorthand for top, left, bottom, right: 0 */
    z-index: 0; /* Behind the text */
    pointer-events: none;
}

/* The Snow Effect */
.bg-pattern::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Creating white dots that look like snow */
    background-image: 
        radial-gradient(3px 3px at 10% 10%, #0c0c0c, transparent),
        radial-gradient(4px 4px at 20% 50%, #0b0b0b, transparent),
        radial-gradient(3px 3px at 40% 20%, #0b0b0b, transparent),
        radial-gradient(5px 5px at 60% 80%, #040404, transparent),
        radial-gradient(4px 4px at 80% 40%, #0f0e0e, transparent),
        radial-gradient(3px 3px at 90% 10%, #070707, transparent);
    background-size: 800px 800px;
    animation: snowFall 8s linear infinite;
    /* This semi-transparent background makes the white snow visible on light gray */
    background-color: rgba(0, 0, 0, 0.03); 
}

@keyframes snowFall {
    from { background-position: 0 0; }
    to { background-position: 0 800px; }
}
/* Specific targeting for the 5-image row */
.principals-row-wide {
    display: flex;
    flex-wrap: nowrap; /* Prevents wrapping on desktop */
    justify-content: center;
    gap: 15px; /* Reduced gap to help fit all 5 */
    width: 100%;
    padding: 0 10px;
}

.principals-row-wide .management-card {
    /* (100% / 5) minus a bit for the gaps */
    flex: 0 0 calc(20% - 15px); 
    min-width: 180px; /* Prevents them from getting too squished */
}

/* Responsive: Allow wrapping only on smaller tablets and mobile */
@media (max-width: 1100px) {
    .principals-row-wide {
        flex-wrap: wrap;
    }
    .principals-row-wide .management-card {
        flex: 0 1 200px; /* Returns to standard size on smaller screens */
    }
}
/*form*/
/* Admission Modal Styling */
.modal-content {
            border-radius: 15px;
            overflow: hidden;
            border: none;
        }
        
        .bg-dark-gray { background-color: #2d3436; }

        /* Force all standard inputs to the exact same size */
        .custom-form-input {
            height: 48px !important;
            border-radius: 8px !important;
            border: 1px solid #ced4da !important;
            font-size: 14px;
        }

        /* Ensure textareas match the style */
        .custom-form-textarea {
            border-radius: 8px !important;
            border: 1px solid #ced4da !important;
            padding: 12px !important;
            font-size: 14px;
            resize: none;
        }

        .form-label {
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: #555;
            margin-bottom: 5px;
        }

        .btn-submit {
            height: 50px;
            border-radius: 8px;
            background-color: #9C1C63;
            color: white;
            border: none;
            transition: 0.3s;
        }

        .btn-submit:hover {
            background-color: #9C1C63;
            transform: translateY(-2px);
        }
        .custom-form-input {
        height: 45px !important;
        border-radius: 8px !important;
        border: 1px solid #ced4da !important;
        font-size: 12px;
    }
    .custom-form-textarea {
        border-radius: 8px !important;
        border: 1px solid #ced4da !important;
        resize: none;
        font-size: 14px;
    }
    .form-label {
        font-size: 11px;
        color: #555;
        margin-bottom: 3px;
        text-transform: uppercase;
    }
    /*float button*/
    .float-home-btn {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 50px;
  height: 50px;
  background-color: #9C1C63;
  color: #fff;
  font-size: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
  font-weight: 700;
}

.float-home-btn.show {
  opacity: 1;
  visibility: visible;
}

.float-home-btn:hover {
  background: black;
  color: white;
}
#home{
    scroll-margin: 150px;
}
html, body {
  overflow-x: hidden;
}
/*facillities*/
.campus-facilities {
  padding: 80px 0;
  background: #f9f9fb;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 images per row */
  gap: 30px;
}

.facility-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.facility-card img {
  width: 100%;
  height: 420px;   /* Increased height */
  object-fit: cover;
  transition: transform 0.5s ease;
}

.facility-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.facility-overlay h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.facility-overlay p {
  margin: 0;
  font-size: 15px;
  opacity: 0.95;
}

/* Hover Effect */
.facility-card:hover img {
  transform: scale(1.08);
}
@media (max-width: 768px) {
  .facility-grid {
    grid-template-columns: 1fr;
  }

  .facility-card img {
    height: 300px;
  }
}
/*navbar responsive*/
@media (max-width: 991px) {
    /* 1. Logo Scaling */
    .navbar-brand img {
        max-height: 40px; 
        width: auto;
    }

    .xs-h-auto {
        height: auto !important;
        padding: 10px 0;
    }
    
    .header-with-topbar .d-flex.gap-2 {
        position: absolute;
        right: 70px;
        top: 50%;
        transform: translateY(-50%);
    }

    @media (max-width: 575px) {
        .header-with-topbar .btn-sm {
            padding: 5px 10px;
            font-size: 11px;
        }
        .header-with-topbar .btn-dark {
            display: none; 
        }
    }

    /* 4. Navigation Menu Styling */
    .navbar-collapse {
        background: #fff;
        padding: 20px;
        border-top: 1px solid #eee;
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-item {
        border-bottom: 1px solid #f9f9f9;
    }

    .nav-link {
        padding: 12px 0 !important;
        color: #333 !important;
    }

    /* 5. Dropdown Adjustments for Touch */
    .dropdown-menu {
        border: none;
        padding-left: 20px;
        box-shadow: none;
    }
    
    .dropdown-toggle {
        float: right;
        padding: 15px;
        margin-top: -45px; /* Aligns the arrow with the parent link */
    }
}

/* --- Extra Small Fixes (Max-width: 480px) --- */
@media (max-width: 480px) {
    .header-top-bar {
        font-size: 12px;
    }
    
    .navbar-brand {
        margin-right: 0 !important;
    }
}
@media (max-width: 991px) {
    /* 1. Remove absolute positioning so buttons stay inside the menu */
    .header-with-topbar .d-flex.gap-2 {
        position: static !important; /* Forces it to flow with the list items */
        transform: none !important;
        margin-top: 20px; /* Space between the last menu item and buttons */
        justify-content: center !important; /* Centers the buttons on mobile */
        padding-bottom: 20px;
    }

    /* 2. Make sure buttons don't hide anymore */
    .header-with-topbar .btn-dark {
        display: inline-block !important; 
    }

    /* 3. Button sizing for better touch targets on mobile */
    .header-with-topbar .btn-sm {
        flex: 1; /* Makes buttons equal width */
        text-align: center;
        padding: 10px 15px !important;
        font-size: 13px !important;
        max-width: 200px; /* Prevents buttons from being too wide */
    }
}
@media (max-width: 991px) {
    /* 1. Ensure the main header flex container spans the full width */
    .navbar .d-flex.align-items-center.w-100 {
        display: flex !important;
        justify-content: space-between !important; /* Forces items to opposite ends */
        width: 100% !important;
    }

    /* 2. Remove any fixed margins that are pulling the toggler left */
    .navbar-toggler {
        margin-left: auto !important; /* Pushes the toggler to the far right */
        margin-right: 10px !important;
        order: 2; /* Ensures it stays at the end */
    }

    /* 3. Ensure the brand/logo stays at the start */
    .navbar-brand {
        margin-right: auto !important;
        order: 1;
    }
}
@media (min-width: 992px) {
    /* 1. Ensure the navbar container uses all available horizontal space */
    .navbar .container-fluid {
        display: flex !important;
        align-items: center;
        justify-content:间-between;
    }

    /* 2. Fix the inner wrapper to spread the Logo, Menu, and Buttons */
    .navbar .d-flex.align-items-center.w-100 {
        display: flex !important;
        justify-content: space-between !important;
    }

    /* 3. Navigation Menu Items Spacing */
    .navbar-nav {
        margin-left: 2rem; /* Space between logo and first menu item */
    }

    .navbar-nav .nav-link {
        font-size: 15px;
        font-weight: 600;
        text-transform: capitalize;
        transition: color 0.3s ease;
    }

    /* 4. Dropdown Hover Functionality (Professional Desktop Feel) */
    .nav-item.dropdown:hover > .dropdown-menu {
        display: block !important;
        opacity: 1;
        visibility: visible;
        margin-top: 0;
        transform: translateY(0);
    }

    .dropdown-menu {
        border: none;
        border-top: 3px solid #a51c5f;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-radius: 0 0 8px 8px;
        padding: 15px 0;
        min-width: 220px;
        /* Smooth transition properties */
        display: block; 
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }

    /* 5. Right-Side Buttons Alignment */
    .navbar .gap-2 {
        margin-left: auto; /* Pushes buttons to the far right after the menu */
        display: flex !important;
    }

    .navbar .btn-sm {
        padding: 8px 20px !important;
        font-size: 13px !important;
        font-weight: 600;
        white-space: nowrap;
    }

    /* 6. Logo Scaling for Desktop Visibility */
    .navbar-brand img {
        max-height: 60px !important; /* Larger for desktop readability */
        width: auto;
    }
}
/*alumini*/
/* --- Base Card Styling (Desktop) --- */
.alumni-rect-card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    gap: 30px; /* Space between image and text */
    transition: transform 0.3s ease;
}

.alumni-rect-card:hover {
    transform: translateY(-5px);
}

/* --- Responsive Media Queries --- */

/* Tablets and Mobile (991px and below) */
@media (max-width: 991px) {
    .alumni-rect-card {
        flex-direction: column !important; /* Stack vertically */
        text-align: center;
        padding: 20px;
        gap: 15px;
    }

    /* Fix for cards where image is currently on the right */
    .alumni-rect-card.d-flex {
        display: flex !important;
    }

    /* Force the image to the top regardless of HTML order */
    .alumni-img-box, 
    .alumni-img-box-c7 {
        order: -1; 
        margin: 0 auto; /* Center the image box */
        width: 100px; /* Slightly smaller on mobile */
        height: 100px;
    }

    .alumni-content {
        width: 100%;
    }

    .alumni-content h5 {
        font-size: 18px;
    }

    .alumni-content p {
        font-size: 13px;
        line-height: 1.6;
        text-align: justify; /* Keeps long testimonials looking neat */
    }
}

/* Small Mobile (576px and below) */
@media (max-width: 576px) {
    .container.my-5 {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .alumni-rect-card {
        margin-bottom: 20px !important;
    }
}
.navbar-nav{
    margin-left: 20px;
}
/*home banner*/
@media (min-width: 991px) and (max-width:1600px){
  .md-h-600px {
    height: 600px !important;
  }
}
