
:root {
    --primary: #003057;
    --accent: #F4A21D;
    --accent-hover: #d98a12;
    --text-main: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --primary-color: #0A2540;
    --primary-light: #184173;
    --secondary-color: #F9A826;
    --secondary-hover: #E0931B;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --bg-light: #F8F9FA;
    --border-color: #E2E8F0;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --container-max: 1280px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}
ul {
    list-style: none;
}
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   READ MORE BUTTON FIX
   ========================================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(244, 162, 29, 0.4);
    border: 2px solid var(--accent);
}
.btn-primary:hover {
    background: transparent;
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(244, 162, 29, 0.6);
}

/* ==========================================================================
   SCROLLED HEADER STATE
   ========================================================================== */
.header-wrapper.scrolled {
    position: fixed;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.header-wrapper.scrolled .header-pill {
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    border-radius: 0;
    height: 80px;
    /* Slightly slimmer */
}
.header-wrapper.scrolled .logo-v3 {
    height: 75px;
    /* Scale logo down */
    transform: translateY(0);
    /* Remove the overhang */
}
.nav-list-v3 {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
}
.nav-link-v3 {
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    padding: 5px 0;
}
.nav-link-v3:hover,
.nav-link-v3.active {
    color: var(--accent);
}
.nav-link-v3 i {
    font-size: 18px;
    transition: transform 0.3s;
}
.dropdown-v3:hover .nav-link-v3 i {
    transform: rotate(180deg);
}

/* ==========================================================================
   DROPDOWNS
   ========================================================================== */
.dropdown-v3 {
    position: relative;
}
.dropdown-menu-v3 {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 15px;
    min-width: 240px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 100;
}
.dropdown-v3:hover .dropdown-menu-v3 {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown-menu-v3 a {
    color: var(--text-main);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}
.dropdown-menu-v3 a i {
    font-size: 18px;
    color: var(--accent);
    opacity: 0.7;
    transition: all 0.2s;
}
.dropdown-menu-v3 a:hover {
    background: rgba(244, 162, 29, 0.1);
    color: var(--primary);
}
.dropdown-menu-v3 a:hover i {
    opacity: 1;
    transform: scale(1.1);
}
.header-actions-v3 {
    display: flex;
    align-items: center;
    gap: 15px;
}
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 32px;
    color: var(--primary);
    cursor: pointer;
}
.desktop-only {
    display: inline-flex;
}
.btn-apply {
    background: var(--accent);
    color: #fff;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(244, 162, 29, 0.4);
}
.btn-apply:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* ==========================================================================
   SIDE PANEL STYLES
   ========================================================================== */
.btn-side-menu {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(244, 162, 29, 0.4);
}
.btn-side-menu:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}
.btn-side-menu i {
    font-size: 18px;
}
.side-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 48, 87, 0.6);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.side-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}
.side-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100%;
    background: #fff;
    z-index: 1000;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.side-panel.open {
    right: 0;
}
.side-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: var(--bg-light);
}
.side-panel-title {
    font-family: var(--font-head);
    font-size: 22px;
    color: var(--primary);
    margin: 0;
}
.side-panel-close {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    color: var(--text-main);
    transition: all 0.3s;
}
.side-panel-close:hover {
    background: var(--accent);
    color: #fff;
    transform: rotate(90deg);
}
.side-panel-content {
    padding: 40px;
    flex-grow: 1;
}
.side-panel-group {
    margin-bottom: 35px;
}
.side-panel-group h5 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: 700;
}
.side-panel-group a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    transition: all 0.3s;
    text-decoration: none;
}
.side-panel-group a i {
    font-size: 20px;
    color: var(--accent);
    transition: transform 0.3s;
}
.side-panel-group a:hover {
    color: var(--primary);
    transform: translateX(5px);
}
.side-panel-group a:hover i {
    transform: scale(1.2);
}
.side-panel-footer {
    background: var(--primary);
    color: #fff;
    padding: 40px;
    margin-top: auto;
}
.side-panel-footer h5 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 20px;
}
.side-panel-footer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.side-panel-footer p i {
    color: var(--accent);
    font-size: 18px;
}
.social-icons-v3 {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}
.social-icons-v3 a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
    text-decoration: none;
}
.social-icons-v3 a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}
@media (max-width: 400px) {
    .side-panel {
        width: 100%;
        right: -100%;
    }
}

/* ==========================================================================
   MAIN FOOTER
   ========================================================================== */
.main-footer {
    background-color: #0b1120;
    color: #94a3b8;
    padding-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}
.footer-logo {
    max-width: 220px;
    margin-bottom: 25px;
    /* filter: brightness(0) invert(1); */
}
.footer-desc {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
}
.social-links {
    display: flex;
    gap: 15px;
}
.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}
.footer-col h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-family: var(--font-heading);
}
.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-links a::before {
    content: '\ea2a';
    font-family: 'boxicons';
    font-size: 12px;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}
.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
}
.footer-contact i {
    font-size: 20px;
    color: var(--secondary-color);
    margin-top: 2px;
}
.affiliation-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.affiliation-box i {
    font-size: 32px;
    color: #38bdf8;
}
.affiliation-box strong {
    display: block;
    color: #fff;
    font-size: 14px;
}
.affiliation-box span {
    font-size: 12px;
}
.footer-newsletter h4 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 15px;
}
.newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.newsletter-form input {
    background: transparent;
    border: none;
    padding: 12px 20px;
    color: #fff;
    width: 100%;
    outline: none;
    font-size: 14px;
}
.newsletter-form button {
    background: var(--secondary-color);
    border: none;
    color: #fff;
    padding: 0 20px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
}
.newsletter-form button:hover {
    background: #d97706;
}

/* ========== */

.footer-bottom {
    background: #080c17;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bottom-flex p {
    margin: 0;
    font-size: 14px;
}
.bottom-links {
    display: flex;
    gap: 20px;
}
.bottom-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}
.bottom-links a:hover {
    color: #fff;
}
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* ==========================================================================
   PILL HEADER
   ========================================================================== */
.header-wrapper {
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.4s ease;
}
.header-pill {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 0 30px 0 15px;
    /* Less padding on the left to align the logo nicely */
    height: 85px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}
.logo {
    display: flex;
    align-items: center;
    height: 100%;
    width: auto;
}
.logo-v3 {
    height: 80px;
    transform: translateY(0px);
    position: relative;
    z-index: 110;
    transition: all 0.4s ease;
    left: -10px;
}


/* MOBILE MAIN MENU BASE */
.mobile-main-menu {
    display: none;
}

/* ==========================================================================
   MOBILE HEADER & MENU
   ========================================================================== */
@media (max-width: 768px) {
.nav-v3 {
        display: none;
    }

.desktop-only {
        display: none !important;
    }

.mobile-menu-toggle {
        display: block;
    }

.header-pill {
        border-radius: 42px;
        padding: 0 20px 0 10px;
        height: 65px;
    }

.logo-v3 {
        height: 65px;
        transform: translateY(0px);
    }

.header-wrapper.scrolled .header-pill {
        height: 75px;
        border-radius: 0;
    }

.header-wrapper.scrolled .logo-v3 {
        height: 60px;
        transform: translateY(0);
    }

/* MOBILE MAIN MENU */

.mobile-main-menu {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background: #fff;
        z-index: 1001;
        transition: all 0.4s ease;
        flex-direction: column;
    }

.mobile-main-menu.open {
        right: 0;
    }

.mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 30px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        background: var(--bg-light);
    }

.mobile-menu-header img {
        max-height: 100px;
        width: auto;
        max-width: 200px;
    }

.mobile-menu-content {
        padding: 30px;
        overflow-y: auto;
        flex-grow: 1;
    }

.mobile-menu-close {
        background: rgba(200, 0, 0, 0.1);
        color: #d32f2f;
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        cursor: pointer;
        transition: all 0.3s;
    }

.mobile-menu-close:hover {
        background: #d32f2f;
        color: #fff;
        transform: rotate(90deg);
    }

.mobile-nav-links {
        list-style: none;
        margin-bottom: 40px;
        padding: 0;
    }

.mobile-nav-links>li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

.mobile-nav-links a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
        color: var(--primary);
        font-size: 18px;
        font-weight: 600;
        text-decoration: none;
        text-align: left;
        width: 100%;
    }

.mobile-submenu {
        display: none;
        padding-left: 15px;
        padding-bottom: 15px;
    }

.mobile-submenu.active {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

.mobile-submenu a {
        padding: 8px 0;
        font-size: 15px;
        font-weight: 500;
        color: var(--text-main);
        border: none;
        justify-content: flex-start;
        gap: 15px;
    }

.mobile-explore-btn {
        width: 100%;
        justify-content: center;
        padding: 15px;
        font-size: 18px;
    }

#mobileExploreBtn {
    width: 100%;
    justify-content: center;
    margin-top: 20px;
        background: var(--accent);
        color: #fff;
        border-color: var(--accent);
        box-shadow: 0 4px 15px rgba(244, 162, 29, 0.4);
    }

/* EXPLORE SIDE PANEL MODIFICATIONS FOR MOBILE */

.side-panel {
        right: -100%;
        left: auto;
        width: 90%;
        z-index: 1002;
    }

.side-panel.open {
        right: 0;
    }
}
