.site-header {
    /* position: sticky; */
    position: static;
    top: 0;
    z-index: 1050;
}


.top-bar {
    background: var(--bs-site-primary);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 10%;
    padding: 6px 0;
}

.navbar {
    background: #fff;
    padding: 12px 0;
    height: 82px;
    box-shadow: none;
}

/* Shared nav link styles */
.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--bs-site-primary);
    padding: 0 12px;
}

.nav-link:hover {
    color: var(--bs-site-primary);
}


.menu-left .nav-link {
    font-family: var(--bs-font-family-roboto);
    font-size: 16px;
    font-weight: 600;
}


.menu-right .nav-link {
    font-family: var(--bs-font-family-roboto);
    font-size: 16px;
    font-weight: 600;
}

/* Push menus away from center so they don’t overlap the logo */
.menu-left {
    margin-left: 160px;
    /* adjust depending on logo width */
}

.menu-right {
    margin-left: 0px;

    /* adjust depending on logo width */
}

.menu-left .nav-link,
.menu-right .nav-link {
    font-size: 15px;
    font-weight: 600;
    padding: 0 10px;
}

/* Logo */
.logo-container {
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: var(--logo-box-width);
    height: var(--logo-box-height);
    z-index: 1100;
}

.logo-wrapper {
    background: var(--bs-site-primary);
    padding: 8px 10px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 14px rgba(2, 130, 142, 0.12);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90%;
}

.logo-img {
    /* padding-top: 8px !important;
    padding-bottom: 6px !important;
    height: 70px !important;
    width: 70px !important; */

    width: 100px !important;
    padding: 12px;
}

@media (max-width: 992px) {

    .menu-left,
    .menu-right {
        margin: 20px 0 !important;
        justify-content: center;
        flex: 1;
    }
}

.become-a-member-header-btn {
    background-color: var(--bs-site-primary);
    color: white;
    border-radius: 50px;
    padding: 8px 16px;
    width: 150px;
    text-decoration: none;
    margin-left: 16px;
    height: 30px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.become-a-member-header-btn:hover {
    color: white;
    background-color: var(--bs-site-primary);
    border: 1px;
    transition: background-color 0.3s ease;
}

/* Make dropdown arrow appear nicely */
.navbar .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
    border-top: 0.4em solid;
    border-right: 0.4em solid transparent;
    border-left: 0.4em solid transparent;
}

/* Remove Bootstrap's built-in dropdown caret */
.navbar .dropdown-toggle::after {
    display: none !important;
}

/* Dropdown menu style */
.dropdown-menu {
    width: 212px;
    background-color: var(--bs-site-primary);
    color: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 0%;
}

.dropdown-item {
    color: #fff;
}

.dropdown-item:hover {
    background-color: #fff;
    color: var(--bs-site-primary);
}

.hr-main {
    height: 4px;
    opacity: 1;
    border-radius: 50px;
    background-color: var(--bs-site-secondary);
    margin: auto;
}


.hero {
    background-image: linear-gradient(#00000080, #00000080), url('/images/herobg.png');
    background-position: center;
    background-size: cover;
    padding: 200px 0px;
}

.hero h1 {
    font-family: var(--bs-font-family-roboto);
    font-weight: 600;
    font-style: SemiBold;
    font-size: 48px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #FFFFFF;
}

.hero h2 {
    font-family: var(--bs-font-family-roboto);
    font-weight: 500;
    font-style: Medium;
    font-size: 26px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--bs-site-secondary);
}

.hero p {
    font-family: var(--bs-font-family-roboto);
    font-weight: 400;
    font-style: Regular;
    font-size: 22px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #FFFFFF;
}

.hero button {
    font-family: var(--bs-font-family-roboto);
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
}

.text-navy {
    color: var(--bs-site-primary) !important;
}

.text-gold {
    color: var(--bs-site-secondary) !important;
}

.bg-navy {
    background-color: var(--bs-site-primary) !important;
}

.btn-primary {
    background-color: var(--bs-site-primary);
    border-color: var(--bs-site-primary);
}

.btn-primary:hover {
    background-color: var(--bs-light-navy);
    border-color: var(--bs-light-navy);
}

.text-primary {
    color: var(--bs-site-primary) !important;
}

.rounded-primary {
    border-radius: 30px !important;
    overflow: hidden;
}

.btn-outline-primary {
    color: var(--bs-site-secondary) !important;
    border-color: var(--bs-site-primary) !important;
    background-color: white !important;
}

/* {{-- about page css --}} */
.year-typo {
    font-family: var(--bs-font-family-cairo);
    font-weight: 400;
    /* font-style: Regular; */
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0%;
    text-align: center;
    color: #878787 !important;
}

.designation-typo {
    font-family: var(--bs-font-family-cairo);
    font-weight: 700;
    /* font-style: Bold; */
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0%;

}

.name-typo {
    font-family: var(--bs-font-family-cairo);
    font-weight: 700;
    font-size: 16px;
    /* leading-trim: NONE; */
    line-height: 100%;
    letter-spacing: 0%;
    color: #2C7465;
}

.achievement-typo {
    font-family: var(--bs-font-family-cairo);
    font-weight: 400;
    /* font-style: Regular; */
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0%;
    text-align: center;

    color: #878787 !important;
}

.l-news-heading {
    font-family: var(--bs-font-family-roboto);
    font-weight: 700;
    /* font-style: Bold; */
    font-size: 36px;
    /* leading-trim: NONE; */
    line-height: 40px;
    letter-spacing: 0%;

}

/* {{-- footer css --}} */

.btn-primary {
    background-color: var(--bs-site-primary);
    border-color: var(--bs-site-primary);
}

.btn-primary:hover {
    background-color: #026c75;
    border-color: #026c75;
}

.bg-primary-custom {
    background-color: var(--bs-site-primary) !important;
}

.text-primary-custom {
    color: var(--bs-site-primary) !important;
}

.bg-gold {
    background-color: var(--bs-site-secondary);
}

.text-gold {
    color: var(--bs-site-secondary);
}

.bg-light-primary {
    background-color: var(--bs-light-primary);
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('./assets/bg-hero.jpg');
    background-size: cover;
    background-position: center;
    min-height: 500px;
}

.news-card {
    transition: transform 0.3s ease;
}

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

.alumni-card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;

    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25) !important;
}

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

.school-image {
    background: linear-gradient(135deg,
            var(--bs-site-primary),
            var(--bs-light-navy));
    height: 300px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.value-icon {
    width: 50px;
    height: 50px;
    background-color: var(--bs-site-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.sailing-image {
    background: linear-gradient(45deg,
            var(--bs-light-navy),
            var(--bs-site-primary));
    height: 200px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.alumni-photo {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #999;
    margin: 0 auto 1rem;
}

.footer {
    background-color: var(--bs-site-primary);
    color: white;
    padding-top: 2rem;
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 1.5rem 0;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

.footer-title {
    color: var(--bs-site-secondary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--bs-site-secondary);
}

.social-icons {
    display: flex;
    margin-bottom: 0;
    width: fit-content;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    background: none;
}

.social-icon:hover {
    background-color: white;
    color: var(--bs-site-primary);
    border-color: white;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info i {
    color: white;
    font-size: 1rem;
}

.contact-info span {
    color: white;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .footer {
        padding: 1.5rem 0;
    }

    .logo-section {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .social-icons {
        justify-content: center;
    }

    .contact-info {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* --- Additive, non-destructive overrides --- */
@media (max-width: 991.98px) {

    /* Hide the absolute desktop logo on mobile; we show small brand row instead */
    .logo-container {
        display: none !important;
    }

    /* Tighten top bar and nav spacing on mobile */
    .top-bar {
        font-size: 13.5px;
        padding: 5px 0;
    }

    /* Make dropdowns full-width friendly inside offcanvas */
    .offcanvas .dropdown-menu {
        position: static;
        float: none;
        margin-top: 0.25rem;
        border: none;
        border-radius: 8px;
    }

    /* Improve tap targets */
    .offcanvas .nav-link {
        padding: .5rem 0;
        font-size: 15px;
    }

    .become-a-member-header-btn {
        width: 180px;
        padding: 3px 18px;
    }

    .logo-wrapper {
        width: 54px !important;
        height: 50px !important;
        border-radius: 12px;
    }

    .logo-img {
        padding-top: 8px !important;
        padding-bottom: 6px !important;
        height: 38px !important;
        width: 38px !important;

    }
}

@media screen and (max-width: 973px) {
    .logo-img {
        height: 46px !important;
        width: 46px !important;
        padding: 4px !important;

    }
}

@media screen and (max-width: 990px) {
    .hero {
        padding: 100px 0px !important;
    }
}

/* Match toggler icon color to your teal */
.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 126, 64, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.bg-secondary-custom {
    background-color: #E6F3F4 !important;
}

.hero-main {
    font-family: var(--bs-font-family-roboto);
    font-weight: 600;
    font-size: 48px;
    line-height: 100%;
    letter-spacing: 0%;
}

.viewall {
    font-family: var(--bs-font-family-roboto);
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
}

.becomememberbtntypo {
    font-family: var(--bs-font-family-roboto);
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;

    padding: 10px 15px !important;
}

/* Make the header a reference layer */
.site-header {
    position: relative;
}

/* Navbar below the logo */
.site-header .navbar {
    position: relative;
    z-index: 1200;
}

/* Dropdown below the logo too */
.site-header .dropdown-menu {
    position: absolute;
    z-index: 1250;
}

/* Centered logo ON TOP of both */
.site-header .logo-container {
    position: absolute !important;
    /* don't rely only on utility class */
    z-index: 2000;
    /* higher than navbar & dropdown */
    pointer-events: none;
    /* prevents it blocking menu clicks */
}

/* Keep the image simple; no z-index needed here */
.site-header .logo-wrapper {
    position: relative;
}

.site-header .logo-img {
    display: block;
}

.lead {
    font-family: var(--bs-font-family-roboto);
    font-weight: 400;
    font-size: 16px;
    text-align: justify;
}

.text-muted-custom {
    font-family: var(--bs-font-family-roboto);
    color: #7D7D7D;
    font-weight: 400;
    font-size: 16px;
    text-align: justify;
}

.about-bullets {
    font-family: var(--bs-font-family-roboto);
    font-weight: 600;
    font-size: 16px;
    text-align: justify;
    color: #000000;
}

.view-all-news {
    padding: 7px 26px !important;
}

.view-details {
    padding: 4px 26px !important;
}

.nav-hover:hover {
    color: var(--bs-site-primary) !important;
}

.gallery-small-img {
    width: 20px;
    height: 20px;
}

.gallery-btn {
    padding: 8px 15px !important;
}

.load-more {
    font-family: var(--bs-font-family-roboto);
    font-weight: 700;
    font-size: 16px;
    text-align: center;

    padding: 6px 35px !important;
}

.card-shadow {
    box-shadow: 0px 0px 15px 0px #00000040 !important;
}

.menu-left .nav-link,
.menu-right .nav-link {
    font-size: 17px !important;
}

.me-08 {
    margin-right: 12rem !important;
}

.dropdown-menu[data-bs-popper] {
    top: 46px !important;


    font-family: var(--bs-font-family-poppins) !important;
    font-weight: 400 !important;
    font-size: 12px !important;
    line-height: 100% !important;
}

.dropdown-item {
    padding: 10px 10px !important;
}

.fa-magnifying-glass {
    color: rgba(87, 87, 86, 1);
}

@media screen and (max-width:425px) {
    .side-img {
        width: 100%;
        height: 100%;
        border-radius: 12px;
    }
}

.nav-item {
    padding: 0px 9px !important;
}

/* ----- */


@media screen and (min-width:1399px) {
    .about-section-padding {
        padding: 0rem 3rem !important;
    }

}

@media screen and (max-width:1399px) {
    .about-section-padding h2 {
        text-align: center;
    }

    .about-section-padding .hr-main {
        margin: auto !important;
    }
}

/* iPhone 14 (390) */
@media only screen and (width: 390px) and (orientation: portrait) {
    .contact-info {
        width: 100% !important;
    }
}

/* iPhone 14 Pro (393) */
@media only screen and (width: 393px) and (orientation: portrait) {
    .contact-info {
        width: 100% !important;
    }
}

/* iPhone 14 Pro Max (430) */
@media only screen and (width: 430px) and (orientation: portrait) {
    .contact-info {
        width: 100% !important;
    }
}


/* Below lg (Bootstrap lg = 992px) */
@media (max-width: 991.98px) {
    .mission-img-box {
        width: 100% !important;
        height: auto !important;
    }

    .mission-img-box img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}


@media (max-width: 753px) {
    .custom-mt-2 {
        margin-top: 11px !important;
    }
}

@media (min-width: 753px) {

    .custom-p-5 {
        padding-left: 5rem !important;
    }
}

@media (max-width: 1200px) {
    .custom-p-0 {
        padding: 0px !important;
        width: 95% !important;
        margin: auto !important;
    }
}

@media (max-width: 768px) {
    .custom-alignment {
        justify-content: space-evenly;
    }
}

/* Hide counter */
.lg-toolbar .lg-counter {
    display: none !important;
}

/* Hide zoom button(s) */
.lg-toolbar .lg-zoom-in,
.lg-toolbar .lg-zoom-out,
.lg-toolbar .lg-actual-size {
    display: none !important;
}

@media (max-width: 426px) {
    .custom-col {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 1149px) {
    .promotion-card {
        height: auto !important;
    }
}

@media (max-width: 992px) {
    .form-container {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .agree-typo {
        display: block !important;
    }
}

@media (max-width: 520px) {
    .form-container {
        padding: 10px 30px;
    }
}

.search-css-alumni {
    margin: 10px 0px;
}

@media (max-width: 992px) {
    .search-css-alumni {
        margin: 10px 0px;
        width: 47% !important;
    }
}

@media (max-width: 768px) {
    .search-css-alumni {
        margin: 10px 0px;
        width: 45% !important;
    }

    .text-muted-custom {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .text-muted-custom {
        font-size: 9px;
    }
}

.search-css-alumni-p {
    margin: auto;
}

.invalid-feedback {
    color: red;
}

@media (max-width: 1182px) and (min-width: 992px) {
    .mission-img-box {
        width: 100% !important;
        height: auto !important;
        margin: auto auto 20px auto !important;
        text-align: center !important;
    }
}

.nav-active {
    border-bottom: 2px solid var(--bs-site-secondary);
}

#heroSection {
    position: relative;
}

#heroDots {
    position: absolute;
    left: 50%;
    bottom: 20px;
    /* adjust up/down as you like */
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.card-img,
.card-img-top {
    height: 240px !important;
}


/* Profile Section */

.profile-dropdown-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.profile-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.profile-toggle img {
    border-radius: 50%;
}

/* dropdown */
.profile-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 8px;
    background: #ffffff;
    border-radius: 8px;
    min-width: 180px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    padding: 6px 0;
    z-index: 1000;
    display: none;
    /* hidden by default */
}

.profile-dropdown.show {
    display: block;
}

.profile-dropdown-item {
    display: block;
    width: 100%;
    padding: 8px 14px;
    font-size: 14px;
    text-align: left;
    border: none;
    background: transparent;
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

.profile-dropdown-item:hover {
    background-color: #f5f5f5;
}

.profile-logout-btn {
    text-align: left;
}