/* Custom Styles for M.D.Sr.Sec.School Homepage Redesign */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap');

/* Color Palette Constants */
:root {
    --navy-blue: #0B2B5C;
    --navy-dark: #001e42;
    --gold: #FDBE15;
    --gold-hover: #e5ab10;
    --text-dark: #333333;
    --text-light: #777777;
    --bg-light: #F9FAFB;
    --white: #ffffff;
}

/* Include font family if not loaded, styling uses clean Sans-Serif */
body {
    font-family: 'Outfit', sans-serif !important;
}


/* ==========================================================================
   Header and Topbar Styles  — High-specificity overrides for rsmenu-main.css
   ========================================================================== */

/* ---- Topbar ---- */
.topbar-area.custom-topbar {
    background-color: var(--navy-dark) !important;
    padding: 9px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    color: var(--white) !important;
    font-size: 13.5px;
}
.custom-container {
    max-width: 1400px;
    padding-left: 30px !important;
    padding-right: 30px !important;
}
.topbar-contact.custom-contact {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
}
.topbar-contact.custom-contact li {
    display: inline-flex !important;
    align-items: center;
    color: #d8d8d8;
    height: auto !important;
    line-height: normal !important;
}
.topbar-contact.custom-contact li i {
    color: var(--gold) !important;
    margin-right: 7px;
    font-size: 14px;
}
.topbar-contact.custom-contact li a,
.topbar-contact.custom-contact li span {
    color: #d8d8d8 !important;
    text-decoration: none;
    transition: color 0.3s;
    line-height: normal !important;
    height: auto !important;
    padding: 0 !important;
    font-size: 13.5px;
}
.topbar-contact.custom-contact li a:hover {
    color: var(--gold) !important;
}
.topbar-right.custom-social {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    gap: 14px;
    justify-content: flex-end;
}
.topbar-right.custom-social li {
    display: inline-flex !important;
    align-items: center;
    height: auto !important;
    line-height: normal !important;
}
.topbar-right.custom-social li.follow-text {
    font-weight: 600;
    color: #ccc;
    font-size: 12.5px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.topbar-right.custom-social li a {
    color: #cccccc !important;
    font-size: 15px !important;
    transition: color 0.3s, transform 0.3s;
    height: auto !important;
    line-height: normal !important;
    padding: 0 !important;
    display: inline-block !important;
}
.topbar-right.custom-social li a:hover {
    color: var(--gold) !important;
    transform: scale(1.2);
}

/* ---- Menu / Sticky Header Bar ---- */
.rs-header .menu-area.menu-sticky,
.menu-area.menu-sticky {
    background: var(--white) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07) !important;
    padding: 0 !important;           /* remove vertical padding so we control via line-height */
    transition: all 0.3s ease;
}

/* ---- Logo brand ---- */
.custom-logo-container {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    gap: 10px !important;
    overflow: visible !important;
    max-width: 100% !important;
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    height: auto !important;
    line-height: normal !important;
    margin: 0 !important;
    padding: 0 !important;
}
.custom-logo-img {
    height: 50px !important;
    width: auto !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    display: block !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 !important;
}
.custom-logo-text {
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
    min-width: 0 !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: flex-start !important;
    justify-content: center !important;
}
.custom-school-name {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0B2B5C !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin: 0 0 2px 0 !important;
    padding: 0 !important;
}
.custom-school-tag {
    font-size: 11px !important;
    font-style: italic !important;
    font-weight: 500 !important;
    color: #777777 !important;
    margin: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    padding: 0 !important;
    white-space: nowrap !important;
}

/* Vertically centre logo in menu row */
.logo-part.custom-logo-part,
.logo-cat-wrap {
    display: flex !important;
    align-items: center;
    height: 72px;
    overflow: visible;
}

/* ---- Nav Links — override the 96px height and white colour from rsmenu-main ---- */
.rs-header .menu-area .main-menu .rs-menu ul.nav-menu li {
    margin-right: 2px !important;
}
.rs-header .menu-area .main-menu .rs-menu ul.nav-menu li a,
.rs-header .menu-area .main-menu .rs-menu ul.nav-menu li > a {
    height: 72px !important;
    line-height: 72px !important;
    padding: 0 13px !important;
    color: var(--navy-blue) !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    text-transform: capitalize !important;
    transition: color 0.25s, background-color 0.25s !important;
    font-family: 'Outfit', sans-serif !important;
}
.rs-header .menu-area .main-menu .rs-menu ul.nav-menu li a:hover,
.rs-header .menu-area .main-menu .rs-menu ul.nav-menu li.current-menu-item > a,
.rs-header .menu-area .main-menu .rs-menu ul li.active a {
    color: var(--gold) !important;
    background: transparent !important;
}

/* Apply Now button inside nav */
.rs-header .menu-area .main-menu .rs-menu ul.nav-menu li.apply-now-btn-item a.custom-apply-btn {
    height: auto !important;
    line-height: normal !important;
    background-color: var(--gold) !important;
    color: var(--navy-blue) !important;
    font-weight: 700 !important;
    padding: 10px 22px !important;
    border-radius: 5px !important;
    margin-left: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease !important;
}
.rs-header .menu-area .main-menu .rs-menu ul.nav-menu li.apply-now-btn-item a.custom-apply-btn:hover {
    background-color: var(--navy-blue) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
}

/* Generic .custom-apply-btn for footer and other pages */
.custom-apply-btn {
    background-color: var(--gold) !important;
    color: var(--navy-blue) !important;
    font-weight: 700 !important;
    border-radius: 5px !important;
    padding: 10px 22px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease !important;
    display: inline-block;
}
.custom-apply-btn:hover {
    background-color: var(--navy-blue) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* ---- Dropdown Sub-menu ---- */
.rs-header .menu-area .main-menu .rs-menu ul.sub-menu {
    background: var(--white) !important;
    border-top: 3px solid var(--gold) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
    padding: 8px 0 !important;
    min-width: 200px;
    border-radius: 0 0 8px 8px;
}
.rs-header .menu-area .main-menu .rs-menu ul.sub-menu li a {
    height: auto !important;
    line-height: normal !important;
    padding: 10px 22px !important;
    color: var(--text-dark) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
}
.rs-header .menu-area .main-menu .rs-menu ul.sub-menu li a:hover {
    color: var(--navy-blue) !important;
    background-color: rgba(253, 190, 21, 0.08) !important;
    padding-left: 28px !important;
}

/* ---- Mobile toggle button ---- */
.rs-menu-toggle {
    color: var(--navy-blue) !important;
    height: 72px !important;
    line-height: 72px !important;
    font-size: 24px !important;
}

/* ---- Responsive Header ---- */
@media (max-width: 991px) {
    .topbar-area.custom-topbar {
        text-align: center;
    }
    .topbar-contact.custom-contact {
        justify-content: center;
        margin-bottom: 6px;
    }
    .topbar-right.custom-social {
        justify-content: center;
    }
    .custom-school-name {
        font-size: 13px;
        max-width: 200px;
    }
    .custom-school-tag {
        display: none;
    }
    .custom-logo-img {
        height: 38px !important;
    }
    .logo-part.custom-logo-part,
    .logo-cat-wrap {
        height: 72px;
    }
    /* Mobile menu items */
    .rs-header .menu-area .main-menu .rs-menu ul.nav-menu li a {
        height: 56px !important;
        line-height: 56px !important;
        padding: 0 18px !important;
        border-bottom: 1px solid #f0f0f0 !important;
        color: var(--navy-blue) !important;
    }
    .apply-now-btn-item {
        margin: 10px 18px 5px !important;
        text-align: left;
    }
    .apply-now-btn-item a.custom-apply-btn {
        width: 100% !important;
        text-align: center;
        margin-left: 0 !important;
        display: block !important;
    }
}
@media (max-width: 575px) {
    .topbar-contact.custom-contact {
        flex-direction: column;
        gap: 6px;
        font-size: 12.5px;
    }
}




/* ==========================================================================
   Hero Section and Overlay Results
   ========================================================================== */

.custom-hero-banner {
    position: relative;
    background: linear-gradient(rgba(11, 43, 92, 0.50), rgba(11, 43, 92, 0.50)), url('../images/breadcrumbs/banner_home_new.jpeg') no-repeat center center / cover !important;
    padding: 140px 0 110px 0 !important;
    color: var(--white);
}

.custom-hero-content {
    animation: fadeInUp 1s ease-in-out;
}

.custom-hero-tagline {
    font-size: 15px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.custom-hero-title {
    font-size: 45px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--white) !important;
    max-width: 90%;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.custom-hero-btns {
    display: flex;
    gap: 15px;
}

.custom-btn-gold {
    background-color: var(--gold) !important;
    color: var(--navy-blue) !important;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

.custom-btn-gold:hover {
    background-color: var(--white) !important;
    color: var(--navy-blue) !important;
    transform: translateY(-2px);
}

.custom-btn-outline {
    background-color: transparent !important;
    border: 2px solid var(--white) !important;
    color: var(--white) !important;
    font-weight: 700;
    font-size: 15px;
    padding: 10px 28px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.custom-btn-outline:hover {
    background-color: var(--white) !important;
    color: var(--navy-blue) !important;
    border-color: var(--white) !important;
    transform: translateY(-2px);
}

.custom-btn-outline i {
    font-size: 18px;
}

/* Results Teaser Row styling */
.custom-teaser-container {
    position: relative;
    z-index: 10;
    margin-top: -55px; /* Pull it halfway over the hero boundary */
}

.custom-results-teaser {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    padding: 15px 30px;
}

.result-teaser-box {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    border: 1px solid #eaeaea;
}

.teaser-icon-wrapper {
    background-color: rgba(11, 43, 92, 0.06);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

.teaser-icon {
    font-size: 22px;
    color: var(--navy-blue);
}

.teaser-text-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-grow: 1;
}

.teaser-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-blue);
    margin-right: auto;
    padding-right: 10px;
}

.teaser-btn {
    background-color: var(--navy-blue) !important;
    color: var(--white) !important;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.teaser-btn:hover {
    background-color: var(--gold) !important;
    color: var(--navy-blue) !important;
}

.cap-graphic {
    display: flex;
    justify-content: flex-end;
}

.cap-circle {
    background-color: rgba(253, 190, 21, 0.15);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 3s ease-in-out infinite;
}

.cap-circle i {
    font-size: 30px;
    color: var(--gold);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

/* Responsive adjustments for Hero section */
@media (max-width: 991px) {
    .custom-hero-banner {
        padding: 100px 0 80px 0 !important;
        text-align: center;
    }
    .custom-hero-title {
        font-size: 32px;
        max-width: 100%;
        margin-bottom: 25px;
    }
    .custom-hero-btns {
        justify-content: center;
    }
    .custom-teaser-container {
        margin-top: 25px; /* Reset position on smaller screens */
    }
    .result-teaser-box {
        margin-bottom: 12px;
    }
}
@media (max-width: 575px) {
    .custom-hero-btns {
        flex-direction: column;
        gap: 10px;
    }
    .custom-btn-gold, .custom-btn-outline {
        width: 100%;
    }
    .teaser-text-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .teaser-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Statistics Section
   ========================================================================== */

.custom-stats-section {
    background-color: var(--white) !important;
    border-bottom: 1px solid #eaeaea;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.custom-stats-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 0;
}

.custom-stat-box {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 180px;
    padding: 15px 25px;
    border-right: 1px dashed rgba(0, 0, 0, 0.1);
    justify-content: center;
    gap: 15px;
}

.custom-stat-box:last-child {
    border-right: none;
}

.stat-icon-img {
    font-size: 28px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

/* Stats Icon colors from design */
.stat-icon-img.text-blue { color: #007BFF; }
.stat-icon-img.text-navy { color: var(--navy-blue); }
.stat-icon-img.text-trophy { color: #F7A81B; }
.stat-icon-img.text-accent { color: #28A745; }
.stat-icon-img.text-bus { color: #17A2B8; }

.stat-text-block {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--navy-blue);
    margin: 0;
    line-height: 1.1;
}

.stat-label {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-light);
    margin: 3px 0 0 0;
}

/* ==========================================================================
   School Features Section
   ========================================================================== */

.custom-features-section {
    background-color: var(--bg-light);
}

.custom-features-grid {
    margin-top: 10px;
}

.custom-feature-card {
    background-color: var(--white);
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border-radius: 12px;
    padding: 30px 20px;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

.custom-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(11, 43, 92, 0.08);
}

.feat-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    transition: all 0.3s ease;
}

/* Feature specific background/icon color mappings to match reference */
.feat-blue .feat-icon-circle {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}
.feat-pink .feat-icon-circle {
    background-color: rgba(236, 72, 153, 0.1);
    color: #ec4899;
}
.feat-green .feat-icon-circle {
    background-color: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}
.feat-orange .feat-icon-circle {
    background-color: rgba(249, 115, 22, 0.1);
    color: #f97316;
}
.feat-blue-alt .feat-icon-circle {
    background-color: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
}
.feat-purple .feat-icon-circle {
    background-color: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

/* Hover rotation animation for feature icons */
.custom-feature-card:hover .feat-icon-circle {
    transform: rotate(360deg);
}

.feat-card-title {
    font-size: 17.5px;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 12px;
}

.feat-card-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* Responsive stats layout */
@media (max-width: 991px) {
    .custom-stat-box {
        border-right: none;
        border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
        flex: 0 0 50%;
        max-width: 50%;
    }
    .custom-stat-box:nth-child(even) {
        border-left: 1px dashed rgba(0,0,0,0.1);
    }
    .custom-stat-box:last-child {
        border-bottom: none;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .custom-stat-box {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        border-left: none !important;
    }
}

/* ==========================================================================
   Campus Section & Results Toppers
   ========================================================================== */

.custom-sec-tag {
    color: var(--gold);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 10px;
}

.custom-sec-title {
    color: var(--navy-blue);
    font-weight: 800;
    font-size: 32px;
    line-height: 1.25;
    margin-bottom: 20px;
}

.custom-link-btn {
    color: var(--navy-blue) !important;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none !important;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.custom-link-btn:hover {
    color: var(--gold) !important;
    border-color: var(--navy-blue);
    padding-left: 5px;
}

/* Gallery image effects */
.custom-campus-gallery {
    margin-left: -10px;
    margin-right: -10px;
}

.gallery-image-box {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    height: 190px;
    background-color: var(--bg-light);
}

.gallery-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-image-box:hover img {
    transform: scale(1.1);
}

/* Performance Section Layouts */
.custom-performance-section {
    background-color: var(--white);
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.performance-metric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.metric-icon {
    font-size: 24px;
    color: var(--gold);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(253, 190, 21, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.metric-text h4 {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy-blue);
    margin: 0 0 2px 0;
}

.metric-text p {
    font-size: 13.5px;
    color: var(--text-light);
    margin: 0;
}

/* Toppers Cards and badges */
.toppers-container {
    padding-left: 15px;
}

.topper-card {
    background-color: var(--white);
    border: 1px solid #eaeaea;
    border-radius: 16px;
    padding: 30px 15px 25px 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.topper-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(11, 43, 92, 0.08);
}

.topper-avatar-wrap {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 20px auto;
}

.topper-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
}

.badge-rank {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    font-weight: 800;
    color: var(--white);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.rank-1st { background-color: var(--gold); }
.rank-2nd { background-color: #a0a0a0; }
.rank-3rd { background-color: #cd7f32; }

.topper-name {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 5px;
}

.topper-sub {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.topper-score {
    font-size: 22px;
    font-weight: 800;
    color: var(--gold);
    margin: 0;
}

/* Responsiveness for Campus and Performance Grid */
@media (max-width: 991px) {
    .campus-intro-card {
        text-align: center;
        margin-bottom: 20px;
    }
    .custom-sec-title {
        font-size: 28px;
    }
    .topper-card {
        margin-bottom: 20px;
    }
    .toppers-container {
        padding-left: 0;
    }
}

/* ==========================================================================
   Principal's Message Section
   ========================================================================== */

.custom-principal-section {
    background-color: var(--bg-light);
}

.custom-principal-image-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.custom-principal-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.custom-principal-image-wrap:hover .custom-principal-img {
    transform: scale(1.03);
}

.custom-principal-card {
    background-color: var(--white);
    padding: 50px 45px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

/* Watermark quotation icon at the bottom right corner */
.custom-principal-card::after {
    content: "\f10e";
    font-family: 'FontAwesome';
    font-size: 80px;
    color: rgba(11, 43, 92, 0.04);
    position: absolute;
    bottom: 25px;
    right: 35px;
    pointer-events: none;
    line-height: 1;
}

.principal-message-text p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 20px;
}

.principal-message-text p:last-child {
    margin-bottom: 0;
}

.principal-sign-block {
    margin-top: 30px;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.custom-signature-font {
    font-family: 'Dancing Script', cursive !important;
    font-size: 32px;
    color: var(--gold);
    display: block;
    margin-bottom: -5px;
    transform: rotate(-2deg);
}

.principal-sign-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-blue);
    margin: 5px 0 2px 0;
}

.principal-sign-title {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-light);
    margin: 0;
}

@media (max-width: 991px) {
    .custom-principal-card {
        padding: 35px 30px;
        margin-top: 10px;
    }
}

/* ==========================================================================
   Footer Styling & Social Media
   ========================================================================== */

.custom-footer-main {
    background-color: var(--navy-dark) !important;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14.5px;
}

.custom-footer-main .footer-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-title {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(253, 190, 21, 0.3);
    display: inline-block;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Social links icons */
.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--white) !important;
    margin-right: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    background-color: var(--gold);
    color: var(--navy-blue) !important;
    transform: translateY(-3px);
}

/* Link columns lists */
.footer-links-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list li a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links-list li a:hover {
    color: var(--gold) !important;
    transform: translateX(5px);
}

/* Right contact list layout */
.footer-contact-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-contact-list li i {
    font-size: 16px;
    margin-top: 4px;
}

.footer-contact-list li a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.footer-contact-list li a:hover {
    color: var(--gold) !important;
}

/* Map frame styling */
.footer-map-wrap {
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    line-height: 0;
}

/* Footer bottom copyright branding */
.custom-footer-main .footer-bottom {
    background-color: #001229;
}

.footer-logo-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo-main {
    font-size: 16px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.5px;
}

.footer-logo-tag {
    font-size: 10px;
    color: var(--gold);
    letter-spacing: 1px;
    font-weight: 600;
}

.copyright-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}

.copyright-text a {
    color: var(--gold) !important;
    text-decoration: none !important;
}

.copyright-text a:hover {
    border-bottom: 1px solid var(--gold);
}

/* ==========================================================================
   Floating WhatsApp Widget
   ========================================================================== */

.whatsapp-floating-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    text-decoration: none !important;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-floating-widget:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

.whatsapp-tooltip {
    visibility: hidden;
    position: absolute;
    right: 75px;
    background-color: #333333;
    color: var(--white);
    text-align: center;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s, right 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.whatsapp-tooltip::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -10px;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #333333;
}

.whatsapp-floating-widget:hover .whatsapp-tooltip {
    visibility: visible;
    opacity: 1;
    right: 70px;
}

/* Pulse animation for the widget */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Footer widgets */
@media (max-width: 767px) {
    .custom-footer-main {
        text-align: center;
    }
    .footer-title {
        margin-bottom: 15px;
    }
    .footer-social-links {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }
    .footer-links-list li a {
        display: block;
        padding: 4px 0;
    }
    .footer-contact-list li {
        justify-content: center;
        text-align: center;
    }
    .whatsapp-floating-widget {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}





