  :root {
            --svbk-navy: #0f172a;
            --svbk-gold: #c5a059;
            --svbk-teal: #b2dfdb;
            --svbk-orange: #ff6d00;
        }

        body { 
            font-family: 'Outfit', sans-serif; 
            background-color: #f8fafc; 
            color: #334155; 
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5, .navbar-brand, .evolution-title {
            font-family: 'Akaya Telivigala', system-ui;
        }

        /* --- Elite Multi-Row Header --- */
        header {
            padding:10px 0;
            position: sticky;
            top: 0;
            z-index: 1050;
            background: #ffffff;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }

        .header-top-row {
            padding: 10px 0;
            border-bottom: 1px solid #f1f5f9;
        }
        
        .navbar-brand img {
    height: 85px; /* Increased from 55px/70px */
    transition: 0.3s;
    max-width: 100%;
    width: auto; /* Ensures aspect ratio is maintained */
}

        .header-nav-row {
            background: #ffffff;
        }

        .navbar { padding: 0; }

        .navbar-nav .nav-link {
            font-weight: 600;
            color: var(--svbk-navy) !important;
            padding: 12px 15px !important;
            font-size: 14px;
            text-align: center;
        }

        /* --- Mobile Toggle Logic (Center + X Icon) --- */
       .navbar-toggler {
    width: 30px;
    height: 30px;
    position: relative;
    transition: .5s ease-in-out;
    cursor: pointer;
    border: none !important;
    background: darkblue;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.navbar-toggler span {
    display: block;
    width: 20px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: .25s ease-in-out;
}

/* Transformation to X */
.navbar-toggler:not(.collapsed) span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.navbar-toggler:not(.collapsed) span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.navbar-toggler:not(.collapsed) span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.4) !important;
}

        /* Logic to switch between Bars and X */
        .navbar-toggler .fa-xmark { display: none; }
        .navbar-toggler:not(.collapsed) .fa-bars { display: none; }
        .navbar-toggler:not(.collapsed) .fa-xmark { display: inline-block; }

       @media (max-width: 991px) {
    /* Top Row Container Adjustment */
    .header-top-row { 
        padding: 15px 0; /* Provides extra vertical space for the larger logo */
    }

    /* Target the logo image specifically for mobile */
    .navbar-brand img { 
        height: 70px !important; /* Increased from 40px/50px for better visibility */
        width: auto; /* Maintains aspect ratio */
        max-width: 85vw; /* Prevents the logo from overflowing the screen width */
    }

    /* Optional: Center the logo on mobile if it looks too cramped */
    .navbar-brand {
        margin-right: 0;
        display: block;
        text-align: center;
    }
}
    /* --- Marquee Section --- */
    .news-ticker {
        background: var(--svbk-navy);
        color: white;
        padding: 0px 0;
        font-size: 14px;
        font-weight: 400;
        height:25px;
    }

    /* --- Refined Ken Burns Banner --- */
    .banner-align-container {
        margin-top: 0px;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }
    
    .hero-img {
        width: 100%;
        height: 450px;
        object-fit: cover;
        animation: kenBurns 20s ease-in-out infinite;
    }

    /* Reduce slider height on mobile */
    @media (max-width: 768px) {
        .hero-img { height: 250px !important; }
        .navbar-brand img { height: 40px; }
    }

    @keyframes kenBurns {
        0% { transform: scale(1); }
        50% { transform: scale(1.1); }
        100% { transform: scale(1); }
    }

    /* --- Evolution Card --- */
    .evolution-card {
        background: #fff;
        padding: 20px;
        border-radius: 20px;
        border-left: 6px solid var(--svbk-gold);
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        height: 100%;
    }
    .evolution-text{
        font-family:'Akaya Telivigala';
        font-size: 15px;
        margin-top:-5px;
    }
    .drop-cap {
        font-family: 'Akaya Telivigala';
        font-size: 60px;
        float: left;
        line-height: 50px;
        padding-right: 10px;
        color: var(--svbk-gold);
    }

    /* --- Sidebar Portal Cards --- */
    .svbk-portal-card {
        background-color: var(--svbk-teal);
        border-radius: 20px;
        padding: 10px;
        border: 2px solid var(--svbk-orange);
        margin-bottom: 20px;
    }

    .white-box-link {
        background: #fff;
        padding: 12px 15px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        text-decoration: none !important;
        color: #2c3e50;
        font-weight: 600;
        margin-bottom: 10px;
        transition: 0.3s;
    }

    .white-box-link:hover {
        transform: translateX(8px);
        background: #f0fdfa;
    }

    .apply-pill {
        background: var(--svbk-orange);
        color: #fff !important;
        padding: 5px 15px;
        border-radius: 50px;
        font-size: 12px;
        text-transform: uppercase;
        font-weight: 800;
    }

    /* --- Branch Links --- */
    .branch-box {
        padding: 40px;
        border-radius: 20px;
        color: white;
        text-align: center;
        transition: 0.3s;
        height: 100%;
        display: block;
        text-decoration: none !important;
        font-size:16px;
    }
    .bg-syamala { background: linear-gradient(135deg, #0f172a, #334155); }
    .bg-brodi { background: linear-gradient(135deg, #916f2c, #c5a059); }
    .branch-box:hover { transform: translateY(-10px); filter: brightness(1.1); }
/* --- Elite Multi-Row Header --- */
    header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: #ffffff;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }

    /* Top Row: Logo Area */
    .header-top-row {
        padding: 15px 0;
        border-bottom: 1px solid #f1f5f9;
    }
    
    .navbar-brand img {
        height: 100px; /* Larger logo for the top row */
        transition: 0.3s;
    }

    /* Bottom Row: Navigation Area */
    .header-nav-row {
        background: #ffffff;
    }

    /* Desktop Navigation Styling */
    .navbar-nav .nav-link {
        font-family: 'Outfit', sans-serif;
        font-weight: 600;
        text-transform: none;
        font-size: 14px;
        letter-spacing: 1px;
        color: var(--svbk-navy) !important;
        padding: 10px 10px !important;
        transition: 0.3s;
    }

    .navbar-nav .nav-link:hover {
        color: var(--svbk-gold) !important;
        background: rgba(197, 160, 89, 0.05);
    }

    /* Mobile Fixes */
    @media (max-width: 991px) {
        .header-top-row { padding: 10px 0; }
        .navbar-brand img { height: 40px; }
        .navbar-collapse {
            background: #fff;
            padding: 20px;
            border-top: 2px solid var(--svbk-gold);
        }
    }

/* --- About Society Table Styles --- */
.soc-section { padding: 40px 15px; }

.soc-card-container {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    overflow: hidden;
}

.soc-table-modern { width: 100%; border-collapse: collapse; }
.soc-table-modern thead { background-color: #1a2a6c; color: #ffffff; }
.soc-table-modern th { padding: 18px; text-transform: uppercase; font-size: 13px; text-align: left; }
.soc-table-modern td { padding: 18px; border-bottom: 1px solid #edf2f7; vertical-align: top; font-size: 14px; }

.soc-member-name { font-weight: 700; color: #2d3748; display: block; }
.soc-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    background: #ebf4ff;
    color: #3182ce;
    border: 1px solid #bee3f8;
}

/* --- Mobile View Adaptation --- */
@media screen and (max-width: 767px) {
    .soc-table-modern, .soc-table-modern thead, .soc-table-modern tbody, .soc-table-modern th, .soc-table-modern td, .soc-table-modern tr { display: block; }
    .soc-table-modern thead tr { position: absolute; top: -9999px; left: -9999px; }
    .soc-table-modern tr { border-bottom: 8px solid #f1f5f9; padding: 15px 10px; }
    .soc-table-modern td { border: none; position: relative; padding-left: 50% !important; text-align: right; }
    .soc-table-modern td:before {
        position: absolute; left: 15px; width: 45%; text-align: left; font-weight: 700; color: #1a2a6c; content: attr(data-label);
    }
}
/* --- Founder Profile Cards --- */
.founder-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    height: 100%;
    border: 1px solid #edf2f7;
    margin-bottom: 30px;
}

.founder-card:hover {
    transform: translateY(-10px);
}

.founder-img-container {
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
}

.founder-card img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.founder-content {
    padding: 25px;
}

.founder-name {
    font-family: 'Akaya Telivigala', cursive;
    font-size: 24px;
    color: var(--svbk-navy);
    margin-bottom: 15px;
    display: block;
    border-bottom: 2px solid var(--svbk-gold);
    padding-bottom: 10px;
}

/* --- Awards Section --- */
.awards-container {
    background: var(--svbk-navy);
    color: white;
    border-radius: 20px;
    padding: 40px;
    margin-top: 40px;
}

.awards-title {
    color: var(--svbk-gold);
    font-family: 'Akaya Telivigala', cursive;
    margin-bottom: 25px;
    font-size: 28px;
}

.award-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.6;
}

.award-item i {
    color: var(--svbk-gold);
    margin-top: 5px;
}

@media (max-width: 768px) {
    .awards-container { padding: 20px; }
    .founder-img-container { padding: 15px; }
    .founder-card img { width: 140px; height: 140px; }
}
/* --- Services Page Custom Styles --- */
.service-pillar-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--svbk-gold);
    transition: 0.3s;
    height: 100%;
}

.service-pillar-card:hover {
    transform: translateY(-10px);
    background: #fffdf9;
}

.pillar-icon {
    font-size: 40px;
    color: var(--svbk-navy);
    margin-bottom: 20px;
}

/* --- The Chetana Hierarchy Section --- */
.hierarchy-box {
    background: linear-gradient(135deg, var(--svbk-navy) 0%, #1e293b 100%);
    color: white;
    padding: 40px;
    border-radius: 30px;
    margin: 40px 0;
}

.hierarchy-item {
    padding: 15px;
    border-left: 3px solid var(--svbk-gold);
    margin-bottom: 10px;
    background: rgba(255,255,255,0.05);
}

/* --- School Link Cards --- */
.school-link-card {
    display: block;
    text-decoration: none !important;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: 0.4s;
    margin-bottom: 30px;
}

.school-link-card:hover {
    transform: scale(1.03);
}

.school-img-wrapper {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.school-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.school-card-body {
    padding: 20px;
    text-align: center;
    background: white;
}

.school-card-body h4 {
    color: var(--svbk-navy);
    font-family: 'Akaya Telivigala', cursive;
    margin: 0;
    font-size: 20px;
}

.visit-btn {
    margin-top: 15px;
    display: inline-block;
    padding: 8px 25px;
    background: var(--svbk-gold);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
}
@media (max-width: 576px) {
    
    
    .section-accent-title {
        font-size: 30px !important;
    }
}
/* --- Contact Page Specifics --- */
.contact-info-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    border-top: 5px solid var(--svbk-navy);
    transition: 0.3s;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 20px;
    color: var(--svbk-gold);
    background: rgba(197, 160, 89, 0.1);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.contact-item p {
    margin: 0;
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    height: 100%;
}

.map-container iframe {
    filter: grayscale(0.2) contrast(1.1); /* Makes the map look more designer-grade */
}

@media (max-width: 768px) {
    .contact-info-card { padding: 20px; }
    h2[style*="font-size: 42px"] { font-size: 32px !important; }
}