/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    padding-top: 120px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.top-bar {
    background: #1e3c72;
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 1001;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 20px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar-left i {
    color: #ffd700;
}

.top-bar-right {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: white;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #ffd700;
}

/* Bootstrap Navbar Customization */
.navbar {
    background: #f8f9fa !important;
    padding: 1.2rem 0 !important;
    position: fixed !important;
    top: 40px !important;
    width: 100% !important;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border-bottom: 3px solid #1e3c72;
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.logo-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #2c5f2d;
    box-shadow: 0 2px 8px rgba(44, 95, 45, 0.3);
}

.logo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text h1 {
    color: #1a1a1a;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: -5px;
    line-height: 1.2;
}

.logo-text h2 {
    color: #2c5f2d;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
}

/* === NAVBAR === */
body { padding-top: 112px; } /* top-bar ~40px + navbar ~72px */

.navbar {
    background: var(--color-background-primary, #fff);
    border-bottom: 2.5px solid #1a3a6e;
    position: fixed;
    top: 40px;
    width: 100%;
    z-index: 1000;
}

.nav-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo-ring {
    width: 58px; height: 58px; border-radius: 50%;
    border: 2.5px solid #2c5f2d;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; flex-shrink: 0;
}
.logo-ring img { width: 100%; height: 100%; object-fit: cover; }
.logo-text { display: flex; flex-direction: column; gap: 1px; }
.logo-abbr { font-size: 11px; font-weight: 600; color: #2c5f2d; letter-spacing: 2px; text-transform: uppercase; }
.logo-main { font-size: 14.5px; font-weight: 600; color: #1a1a1a; line-height: 1.25; max-width: 260px; }
.logo-sub  { font-size: 12px; color: #1a3a6e; font-weight: 600; letter-spacing: 0.4px; }

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a {
    display: flex; align-items: center; gap: 4px;
    padding: 8px 12px; font-size: 14px; font-weight: 600;
    color: #444; text-decoration: none;
    border-radius: 8px; transition: all .2s; white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: #1a3a6e; background: rgba(26,58,110,0.07); }
.nav-links > li > a .chev { font-size: 10px; transition: transform .2s; }
.nav-links > li.open > a .chev { transform: rotate(180deg); }

/* Dropdown */
.drop {
    position: absolute; top: calc(100% + 6px); left: 0;
    background: #fff; border: 1px solid #e0e0e0;
    border-radius: 10px; min-width: 210px;
    padding: 6px; display: none; z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}
.nav-links > li.open .drop { display: block; }
.drop a {
    display: block; padding: 9px 12px; font-size: 13.5px;
    color: #444; text-decoration: none; border-radius: 6px; transition: all .2s;
}
.drop a:hover { background: rgba(26,58,110,0.07); color: #1a3a6e; }

/* Hamburger */
.hbg {
    display: none; flex-direction: column; gap: 5px; cursor: pointer;
    padding: 8px; border-radius: 8px;
    border: 1px solid #ddd; background: #f8f9fa;
}
.hbg span { width: 22px; height: 2px; background: #2c5f2d; border-radius: 2px; transition: all .3s; }
.hbg.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hbg.open span:nth-child(2) { opacity: 0; }
.hbg.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu */
.mobile-menu { display: none; background: #fff; border-top: 1px solid #eee; padding: 12px 16px 16px; }
.mobile-menu.open { display: block; }
.mob-item {
    display: flex; align-items: center; gap: 6px;
    padding: 11px 12px; font-size: 14.5px; font-weight: 600;
    color: #444; text-decoration: none; border-radius: 8px; transition: background .2s;
}
.mob-item:hover { background: #f0f4ff; color: #1a3a6e; }
.mob-item .chev { margin-left: auto; font-size: 11px; transition: transform .2s; }
.mob-group.open .mob-item .chev { transform: rotate(180deg); }
.mob-sub { display: none; padding: 4px 0 4px 20px; }
.mob-group.open .mob-sub { display: block; }
.mob-sub a {
    display: block; padding: 9px 12px; font-size: 13.5px;
    color: #555; text-decoration: none; border-radius: 6px;
}
.mob-sub a:hover { background: #f0f4ff; color: #1a3a6e; }
.mob-divider { height: 1px; background: #eee; margin: 8px 0; }

/* Responsive */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .hbg { display: flex; }
}
@media (max-width: 600px) {
    .top-bar { display: none; }
    .navbar { top: 0; }
    body { padding-top: 72px; }
    .logo-main { font-size: 12.5px; max-width: 180px; }
    .logo-sub  { font-size: 11px; }
    .logo-ring { width: 46px; height: 46px; }
    .logo-abbr { font-size: 10px; }
}

/* Hero Section */
.hero {
    background: #1e3c72;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 130px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-content h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #ffd700;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: #ffd700;
    color: #333;
}

.btn-primary:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e3c72;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-card i {
    font-size: 3rem;
    color: #1e3c72;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Page Headers */
.page-header {
    background: #1e3c72;
    color: white;
    padding: 100px 0 60px;
    text-align: center;
    margin-top: 130px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About Page */
.about-content {
    padding: 80px 0;
    background: white;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.main-content h2 {
    color: #1e3c72;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #ffd700;
    padding-bottom: 0.5rem;
}

.main-content h3 {
    color: #333;
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.main-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #555;
}

.main-content ul {
    margin: 1rem 0 1.5rem 2rem;
}

.main-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #555;
}

.main-content strong {
    color: #1e3c72;
}

.sidebar {
    position: sticky;
    top: 100px;
}

.stats-box {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stats-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #ffd700;
}

.stats-box .stat-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.stats-box .stat-item i {
    font-size: 2rem;
    margin-right: 1rem;
    color: #ffd700;
}

.stats-box .stat-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.stats-box .stat-item p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Committee Page */
.committee-section {
    padding: 80px 0;
    background: white;
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.committee-member {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.committee-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.member-photo {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 1.5rem;
    text-align: center;
}

.member-info h3 {
    font-size: 1.3rem;
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

.designation {
    color: #666;
    font-weight: 600;
    margin-bottom: 1rem;
}

.email {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.email:hover {
    color: #ffd700;
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2,
.contact-form-section h2 {
    font-size: 2rem;
    color: #1e3c72;
    margin-bottom: 1.5rem;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #1e3c72;
}

.contact-person h3 {
    color: #1e3c72;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.title {
    color: #666;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.company {
    color: #555;
    margin-bottom: 1rem;
}

.address p {
    margin-bottom: 0.5rem;
    color: #666;
}

.address a {
    color: #1e3c72;
    text-decoration: none;
}

.address a:hover {
    color: #ffd700;
}

/* Forms */
.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e3c72;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-form input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
}

/* Messages */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #f5c6cb;
}

.error-message p {
    margin-bottom: 0.5rem;
}

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

/* Footer */
footer {
    background: #f8f9fa;
    color: #333;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #2c5f2d;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #2c5f2d;
    text-decoration: none;
    opacity: 0.8;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #1e3c72;
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

.social-link:hover {
    background: #ffd700;
    color: #1e3c72;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(44,95,45,0.2);
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
}

@media (max-width: 992px) {
    .logo-text h1 {
        font-size: 1.1rem;
    }
    
    .logo-text h2 {
        font-size: 0.95rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .navbar {
        top: 0;
        padding: 0.8rem 0 !important;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo-section {
        margin-bottom: 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.3rem;
        align-items: stretch;
        width: 100%;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.8rem 0.5rem !important;
        background: #f8f9fa;
        border: 1px solid #ddd;
        border-radius: 8px;
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .nav-link:hover {
        background: #e9ecef;
        border-color: #1e3c72;
    }
    
    .dropdown {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .dropdown-menu {
        position: static !important;
        box-shadow: none;
        background: white;
        padding: 0.5rem 0;
        margin-top: 0.5rem;
        border: 1px solid #ddd;
        border-radius: 8px;
        display: none;
        width: 100%;
        min-width: auto;
    }

    .dropdown-menu.show {
        display: block !important;
    }

    .dropdown-menu li {
        margin: 0;
        width: 100%;
    }

    .dropdown-item {
        padding: 0.8rem 1rem;
        text-align: left;
        background: transparent;
        border: none;
        border-radius: 0;
        margin-bottom: 0;
        color: #333;
        display: block;
        width: 100%;
        transition: background-color 0.3s ease;
    }

    .dropdown-item:hover {
        background: #f8f9fa;
        color: #1e3c72;
    }

    .dropdown-item.active {
        background: #e9ecef;
        color: #1e3c72;
        font-weight: 600;
    }

    /* Ensure submenu items are visible in mobile */
    .navbar-collapse.show .dropdown-menu {
        display: block !important;
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .navbar-collapse.show .dropdown-item {
        display: block !important;
        width: 100%;
    }

    .navbar-toggler {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1rem;
        z-index: 1002;
    }

    .hero {
        margin-top: 100px;
        padding: 100px 0 80px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .page-header {
        margin-top: 100px;
        padding: 80px 0 60px;
    }

    .content-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sidebar {
        position: static;
        margin-top: 2rem;
    }

    .logo-text h1 {
        font-size: 1rem;
        line-height: 1.1;
    }

    .logo-text h2 {
        font-size: 0.9rem;
        line-height: 1.1;
    }

    .committee-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .committee-member {
        margin-bottom: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .top-bar-left {
        flex-direction: column;
        gap: 10px;
        font-size: 0.85rem;
    }

    .top-bar-right {
        gap: 10px;
    }

    .nav-container {
        padding: 0 15px;
    }

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

    .logo-image {
        width: 60px;
        height: 60px;
    }

    .logo-text h1 {
        font-size: 0.9rem;
        line-height: 1.1;
    }

    .logo-text h2 {
        font-size: 0.85rem;
        line-height: 1.1;
    }

    .hero {
        padding: 80px 0 60px;
        margin-top: 90px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }

    .hero-buttons {
        gap: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .features h2,
    .page-header h1,
    .contact-info h2,
    .contact-form-section h2 {
        font-size: 1.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .content-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 0.9rem;
    }

    .committee-member {
        margin-bottom: 1rem;
    }

    .member-info h3 {
        font-size: 1.1rem;
    }

    .benefit-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .benefit-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .benefit-content h4 {
        font-size: 1rem;
    }

    .chapter-card {
        margin-bottom: 1.5rem;
    }

    .chapter-header h3 {
        font-size: 1.1rem;
    }

    .chapter-content {
        padding: 1rem;
    }

    .chapter-features {
        margin-top: 1rem;
    }

    .chapter-features ul {
        gap: 0.5rem;
    }

    .chapter-features li {
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }

    .stats-box {
        padding: 1.5rem;
    }

    .stats-box .stat-item {
        padding: 1rem;
    }
}

/* Membership Page Styles */
.membership-types {
    margin-bottom: 3rem;
}

.membership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.membership-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.membership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card-header {
    background: #1e3c72;
    color: white;
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.card-header i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.card-header h4 {
    font-size: 1.3rem;
    margin: 0;
}

.card-body {
    padding: 2rem;
}

.card-body p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.6;
}

.card-body ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.card-body li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
}

.card-body li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1e3c72;
    font-weight: bold;
}

.card-body li:last-child {
    border-bottom: none;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.link-item {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.link-item:hover {
    transform: translateY(-3px);
}

.link-item i {
    font-size: 3rem;
    color: #1e3c72;
    margin-bottom: 1rem;
    display: block;
}

.link-content h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.link-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (min-width: 1201px) {
    .nav-container {
        max-width: 1600px;
        padding: 0 20px;
    }
    
    .nav-link {
        font-size: 0.95rem;
    }
}

@media (max-width: 1200px) {
    .nav-container {
        max-width: 1200px;
        padding: 0 15px;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
}

@media (min-width: 1601px) {
    .nav-container {
        max-width: 1800px;
        padding: 0 30px;
    }
    
    .nav-link {
        font-size: 1.05rem;
    }
}

@media (min-width: 1921px) {
    .nav-container {
        max-width: 2000px;
        padding: 0 40px;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
}

/* =========================================
   TABLET RESPONSIVE CSS
   769px - 992px
========================================= */

@media (min-width: 769px) and (max-width: 992px){

    body{
        padding-top:120px;
    }

    /* TOP BAR */

    .top-bar{
        display:block;
        padding:10px 0;
    }

    .top-bar .container{
        display:flex;
        justify-content:space-between;
        align-items:center;
        flex-wrap:wrap;
        gap:10px;
    }

    .top-bar-left,
    .top-bar-right{
        display:flex;
        align-items:center;
        gap:15px;
        flex-wrap:wrap;
    }

    .top-bar-left span,
    .top-bar-left a{
        font-size:0.9rem;
    }

    /* NAVBAR */

    .navbar{
        top:45px;
        padding:12px 0;
    }

    .nav-container{
        display:flex;
        justify-content:space-between;
        align-items:center;
        flex-direction:row !important;
        padding:0 20px;
        position:relative;
    }

    /* LOGO */

    .logo-section{
        display:flex;
        align-items:center;
        gap:10px;
        width:auto !important;
        margin-bottom:0 !important;
    }

    .logo-image{
        width:60px;
        height:60px;
    }

    .logo-image img{
        width:100%;
        height:100%;
        object-fit:cover;
    }

    .logo-text h1{
        font-size:1rem;
        line-height:1.2;
    }

    .logo-text h2{
        font-size:0.85rem;
        line-height:1.2;
    }

    /* HAMBURGER */

    .hamburger{
        display:flex !important;
        flex-direction:column;
        justify-content:center;
        align-items:center;
        gap:5px;
        cursor:pointer;
        width:40px;
        height:40px;
        z-index:9999;
    }

    .bar{
        width:28px;
        height:3px;
        background:#2c5f2d;
        border-radius:10px;
        transition:0.3s ease;
    }

    .hamburger.active .bar:nth-child(1){
        transform:rotate(45deg) translateY(11px);
    }

    .hamburger.active .bar:nth-child(2){
        opacity:0;
    }

    .hamburger.active .bar:nth-child(3){
        transform:rotate(-45deg) translateY(-11px);
    }

    /* MOBILE/TABLET MENU */

    .nav-menu{
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:#f8f9fa;
        display:none;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:20px;
        padding:25px 20px;
        border-radius:0 0 15px 15px;
        box-shadow:0 10px 25px rgba(0,0,0,0.08);
        z-index:999;
    }

    .nav-menu.active{
        display:flex;
    }

    .nav-menu li{
        width:100%;
        text-align:center;
        position:relative;
    }

    .nav-link{
        display:flex;
        align-items:center;
        justify-content:center;
        gap:8px;
        width:100%;
        padding:14px 20px;
        background:none;
        border:none;
        font-size:1.1rem;
        font-weight:600;
        color:#2c5f2d;
        border-radius:10px;
        transition:0.3s;
    }

    .nav-link:hover{
        background:#ececec;
    }

    /* DROPDOWN */

    .dropdown-menu{
        position:relative;
        top:0;
        left:0;
        opacity:1;
        visibility:visible;
        display:none;
        width:320px;
        margin:12px auto 0;
        background:white;
        border-radius:12px;
        box-shadow:0 10px 25px rgba(0,0,0,0.08);
        overflow:hidden;
    }

    .dropdown.active .dropdown-menu{
        display:block;
    }

    .dropdown-menu li{
        width:100%;
    }

    .dropdown-menu a{
        display:block;
        padding:14px 20px;
        text-align:left;
        color:#333;
        border-bottom:1px solid #eee;
        transition:0.3s;
    }

    .dropdown-menu a:last-child{
        border-bottom:none;
    }

    .dropdown-menu a:hover{
        background:#f5f5f5;
        color:#1e3c72;
    }

    /* HERO */

    .hero{
        margin-top:120px;
        padding:120px 20px 80px;
    }

    .hero h1{
        font-size:3rem;
    }

    .hero h2{
        font-size:1.8rem;
    }

    .hero p{
        font-size:1.1rem;
    }

    /* FEATURES */

    .features-grid{
        grid-template-columns:repeat(2,1fr);
        gap:20px;
    }

    /* FOOTER */

    .footer-content{
        grid-template-columns:repeat(2,1fr);
        gap:25px;
    }
}

/* =========================================
   MOBILE RESPONSIVE CSS
   577px - 768px
========================================= */

@media (min-width: 577px) and (max-width: 768px){

    body{
        padding-top:110px;
    }

    /* TOP BAR */

    .top-bar{
        display:block;
        padding:8px 0;
    }

    .top-bar .container{
        display:flex;
        justify-content:center;
        align-items:center;
        flex-wrap:wrap;
        gap:8px;
    }

    .top-bar-left,
    .top-bar-right{
        display:flex;
        align-items:center;
        gap:10px;
        flex-wrap:wrap;
    }

    .top-bar-left span,
    .top-bar-left a{
        font-size:0.8rem;
    }

    /* NAVBAR */

    .navbar{
        top:35px;
        padding:10px 0;
    }

    .nav-container{
        display:flex;
        justify-content:space-between;
        align-items:center;
        flex-direction:row !important;
        padding:0 15px;
        position:relative;
    }

    /* LOGO */

    .logo-section{
        display:flex;
        align-items:center;
        gap:8px;
        width:auto !important;
        margin-bottom:0 !important;
    }

    .logo-image{
        width:50px;
        height:50px;
    }

    .logo-image img{
        width:100%;
        height:100%;
        object-fit:cover;
    }

    .logo-text h1{
        font-size:0.85rem;
        line-height:1.2;
    }

    .logo-text h2{
        font-size:0.7rem;
        line-height:1.2;
    }

    /* HAMBURGER */

    .hamburger{
        display:flex !important;
        flex-direction:column;
        justify-content:center;
        align-items:center;
        gap:5px;
        cursor:pointer;
        width:36px;
        height:36px;
        z-index:9999;
    }

    .bar{
        width:25px;
        height:3px;
        background:#2c5f2d;
        border-radius:10px;
        transition:0.3s ease;
    }

    .hamburger.active .bar:nth-child(1){
        transform:rotate(45deg) translateY(10px);
    }

    .hamburger.active .bar:nth-child(2){
        opacity:0;
    }

    .hamburger.active .bar:nth-child(3){
        transform:rotate(-45deg) translateY(-10px);
    }

    /* MOBILE MENU */

    .nav-menu{
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:#f8f9fa;
        display:none;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:18px;
        padding:20px 15px;
        border-radius:0 0 12px 12px;
        box-shadow:0 10px 25px rgba(0,0,0,0.08);
        z-index:999;
    }

    .nav-menu.active{
        display:flex;
    }

    .nav-menu li{
        width:100%;
        text-align:center;
        position:relative;
    }

    .nav-link{
        display:flex;
        align-items:center;
        justify-content:center;
        gap:8px;
        width:100%;
        padding:12px 18px;
        background:none;
        border:none;
        font-size:1.05rem;
        font-weight:600;
        color:#2c5f2d;
        border-radius:10px;
        transition:0.3s;
    }

    .nav-link:hover{
        background:#ececec;
    }

    /* DROPDOWN */

    .dropdown-menu{
        position:relative;
        top:0;
        left:0;
        opacity:1;
        visibility:visible;
        display:none;
        width:280px;
        margin:10px auto 0;
        background:white;
        border-radius:12px;
        box-shadow:0 10px 25px rgba(0,0,0,0.08);
        overflow:hidden;
    }

    .dropdown.active .dropdown-menu{
        display:block;
    }

    .dropdown-menu li{
        width:100%;
    }

    .dropdown-menu a{
        display:block;
        padding:13px 18px;
        text-align:left;
        color:#333;
        border-bottom:1px solid #eee;
        transition:0.3s;
    }

    .dropdown-menu a:last-child{
        border-bottom:none;
    }

    .dropdown-menu a:hover{
        background:#f5f5f5;
        color:#1e3c72;
    }

    /* HERO */

    .hero{
        margin-top:110px;
        padding:100px 15px 60px;
    }

    .hero h1{
        font-size:2.5rem;
    }

    .hero h2{
        font-size:1.5rem;
    }

    .hero p{
        font-size:1rem;
    }

    /* FEATURES */

    .features-grid{
        grid-template-columns:repeat(2,1fr);
        gap:15px;
    }

    /* FOOTER */

    .footer-content{
        grid-template-columns:repeat(2,1fr);
        gap:20px;
    }
}

/* =========================================
   SMALL MOBILE RESPONSIVE CSS
   ≤576px
========================================= */

@media (max-width: 576px){

    body{
        padding-top:100px;
    }

    /* TOP BAR */

    .top-bar{
        display:block;
        padding:6px 0;
    }

    .top-bar .container{
        display:flex;
        justify-content:center;
        align-items:center;
        flex-wrap:wrap;
        gap:6px;
    }

    .top-bar-left,
    .top-bar-right{
        display:flex;
        align-items:center;
        gap:8px;
        flex-wrap:wrap;
    }

    .top-bar-left span,
    .top-bar-left a{
        font-size:0.75rem;
    }

    /* NAVBAR */

    .navbar{
        top:30px;
        padding:8px 0;
    }

    .nav-container{
        display:flex;
        justify-content:space-between;
        align-items:center;
        flex-direction:row !important;
        padding:0 10px;
        position:relative;
    }

    /* LOGO */

    .logo-section{
        display:flex;
        align-items:center;
        gap:6px;
        width:auto !important;
        margin-bottom:0 !important;
    }

    .logo-image{
        width:45px;
        height:45px;
    }

    .logo-image img{
        width:100%;
        height:100%;
        object-fit:cover;
    }

    .logo-text h1{
        font-size:0.75rem;
        line-height:1.1;
    }

    .logo-text h2{
        font-size:0.6rem;
        line-height:1.1;
    }

    /* HAMBURGER */

    .hamburger{
        display:flex !important;
        flex-direction:column;
        justify-content:center;
        align-items:center;
        gap:4px;
        cursor:pointer;
        width:34px;
        height:34px;
        z-index:9999;
    }

    .bar{
        width:22px;
        height:2.5px;
        background:#2c5f2d;
        border-radius:10px;
        transition:0.3s ease;
    }

    .hamburger.active .bar:nth-child(1){
        transform:rotate(45deg) translateY(9px);
    }

    .hamburger.active .bar:nth-child(2){
        opacity:0;
    }

    .hamburger.active .bar:nth-child(3){
        transform:rotate(-45deg) translateY(-9px);
    }

    /* MOBILE MENU */

    .nav-menu{
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:#f8f9fa;
        display:none;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:15px;
        padding:18px 10px;
        border-radius:0 0 10px 10px;
        box-shadow:0 10px 25px rgba(0,0,0,0.08);
        z-index:999;
    }

    .nav-menu.active{
        display:flex;
    }

    .nav-menu li{
        width:100%;
        text-align:center;
        position:relative;
    }

    .nav-link{
        display:flex;
        align-items:center;
        justify-content:center;
        gap:6px;
        width:100%;
        padding:10px 15px;
        background:none;
        border:none;
        font-size:1rem;
        font-weight:600;
        color:#2c5f2d;
        border-radius:8px;
        transition:0.3s;
    }

    .nav-link:hover{
        background:#ececec;
    }

    /* DROPDOWN */

    .dropdown-menu{
        position:relative;
        top:0;
        left:0;
        opacity:1;
        visibility:visible;
        display:none;
        width:240px;
        margin:8px auto 0;
        background:white;
        border-radius:10px;
        box-shadow:0 10px 25px rgba(0,0,0,0.08);
        overflow:hidden;
    }

    .dropdown.active .dropdown-menu{
        display:block;
    }

    .dropdown-menu li{
        width:100%;
    }

    .dropdown-menu a{
        display:block;
        padding:12px 15px;
        text-align:left;
        color:#333;
        border-bottom:1px solid #eee;
        transition:0.3s;
    }

    .dropdown-menu a:last-child{
        border-bottom:none;
    }

    .dropdown-menu a:hover{
        background:#f5f5f5;
        color:#1e3c72;
    }

    /* HERO */

    .hero{
        margin-top:100px;
        padding:80px 10px 50px;
    }

    .hero h1{
        font-size:2rem;
    }

    .hero h2{
        font-size:1.2rem;
    }

    .hero p{
        font-size:0.95rem;
    }

    /* FEATURES */

    .features-grid{
        grid-template-columns:1fr;
        gap:15px;
    }

    /* FOOTER */

    .footer-content{
        grid-template-columns:1fr;
        gap:20px;
    }
}

/* === NAVBAR === */
body { padding-top: 112px; } /* top-bar ~40px + navbar ~72px */

.navbar {
    background: var(--color-background-primary, #fff);
    border-bottom: 2.5px solid #1a3a6e;
    position: fixed;
    top: 40px;
    width: 100%;
    z-index: 1000;
}

.nav-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo-ring {
    width: 58px; height: 58px; border-radius: 50%;
    border: 2.5px solid #2c5f2d;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; flex-shrink: 0;
}
.logo-ring img { width: 100%; height: 100%; object-fit: cover; }
.logo-text { display: flex; flex-direction: column; gap: 1px; }
.logo-abbr { font-size: 11px; font-weight: 600; color: #2c5f2d; letter-spacing: 2px; text-transform: uppercase; }
.logo-main { font-size: 14.5px; font-weight: 600; color: #1a1a1a; line-height: 1.25; max-width: 260px; }
.logo-sub  { font-size: 12px; color: #1a3a6e; font-weight: 600; letter-spacing: 0.4px; }

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a {
    display: flex; align-items: center; gap: 4px;
    padding: 8px 12px; font-size: 14px; font-weight: 600;
    color: #444; text-decoration: none;
    border-radius: 8px; transition: all .2s; white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: #1a3a6e; background: rgba(26,58,110,0.07); }
.nav-links > li > a .chev { font-size: 10px; transition: transform .2s; }
.nav-links > li.open > a .chev { transform: rotate(180deg); }

/* Dropdown */
.drop {
    position: absolute; top: calc(100% + 6px); left: 0;
    background: #fff; border: 1px solid #e0e0e0;
    border-radius: 10px; min-width: 210px;
    padding: 6px; display: none; z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}
.nav-links > li.open .drop { display: block; }
.drop a {
    display: block; padding: 9px 12px; font-size: 13.5px;
    color: #444; text-decoration: none; border-radius: 6px; transition: all .2s;
}
.drop a:hover { background: rgba(26,58,110,0.07); color: #1a3a6e; }

/* Hamburger */
.hbg {
    display: none; flex-direction: column; gap: 5px; cursor: pointer;
    padding: 8px; border-radius: 8px;
    border: 1px solid #ddd; background: #f8f9fa;
}
.hbg span { width: 22px; height: 2px; background: #2c5f2d; border-radius: 2px; transition: all .3s; }
.hbg.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hbg.open span:nth-child(2) { opacity: 0; }
.hbg.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu */
.mobile-menu { display: none; background: #fff; border-top: 1px solid #eee; padding: 12px 16px 16px; }
.mobile-menu.open { display: block; }
.mob-item {
    display: flex; align-items: center; gap: 6px;
    padding: 11px 12px; font-size: 14.5px; font-weight: 600;
    color: #444; text-decoration: none; border-radius: 8px; transition: background .2s;
}
.mob-item:hover { background: #f0f4ff; color: #1a3a6e; }
.mob-item .chev { margin-left: auto; font-size: 11px; transition: transform .2s; }
.mob-group.open .mob-item .chev { transform: rotate(180deg); }
.mob-sub { display: none; padding: 4px 0 4px 20px; }
.mob-group.open .mob-sub { display: block; }
.mob-sub a {
    display: block; padding: 9px 12px; font-size: 13.5px;
    color: #555; text-decoration: none; border-radius: 6px;
}
.mob-sub a:hover { background: #f0f4ff; color: #1a3a6e; }
.mob-divider { height: 1px; background: #eee; margin: 8px 0; }

/* Responsive */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .hbg { display: flex; }
}
@media (max-width: 600px) {
    .top-bar { display: none; }
    .navbar { top: 0; }
    body { padding-top: 72px; }
    .logo-main { font-size: 12.5px; max-width: 180px; }
    .logo-sub  { font-size: 11px; }
    .logo-ring { width: 46px; height: 46px; }
    .logo-abbr { font-size: 10px; }
}