:root {
    /* Brand Colors - User Provided Palette */
    --primary: #3EAEE2;
    /* Sky Blue */
    --primary-dark: #213166;
    /* Navy Blue - Used for hover/headings */
    --secondary: #F05023;
    /* Orange - Used for Accents/CTAs */
    --secondary-dark: #cc3d18;

    /* Neutrals */
    --text-dark: #393939;
    /* Dark Grey */
    --text-light: #666666;
    --white: #ffffff;
    /* White */
    --light-bg: #f5f9fc;
    /* Very light blue-grey to match palette */
    --border: #e0e6ed;

    /* System */
    --radius: 8px;
    --radius-sm: 6px;
    --shadow-sm: 0 1px 3px rgba(33, 49, 102, 0.05);
    /* Tinted with Navy */
    --shadow: 0 4px 6px -1px rgba(33, 49, 102, 0.1), 0 2px 4px -1px rgba(33, 49, 102, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(33, 49, 102, 0.1), 0 4px 6px -2px rgba(33, 49, 102, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(33, 49, 102, 0.1), 0 10px 10px -5px rgba(33, 49, 102, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--light-bg);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(62, 174, 226, 0.3);
    /* Matches #3EAEE2 */
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(33, 49, 102, 0.3);
    /* Matches #213166 */
}

.btn-accent {
    background: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(240, 80, 35, 0.3);
    /* Matches #F05023 */
}

.btn-accent:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(240, 80, 35, 0.4);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(62, 174, 226, 0.2);
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 2px 20px rgba(33, 49, 102, 0.08);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(62, 174, 226, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    font-weight: 500;
}

.nav-links a:not(.btn) {
    position: relative;
    padding: 8px 0;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 2rem;
    padding-left: 2rem;
    border-left: 2px solid var(--border);
}

/* Auth Cards */
.auth-container {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--light-bg) 0%, #e2e8f0 100%);
}

.auth-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 440px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-header h2 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: border-color 0.2s;
    background-color: #f8fafc;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
}

/* Sections */
section {
    padding: 120px 0;
    position: relative;
    transition: background 0.3s ease;
}

/* Smooth section transitions */
section+section {
    margin-top: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
    font-weight: 700;
}

.section-header p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Hero Section Styles would be inline or specific */
.text-lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* Cards */
.card-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    align-items: flex-start;
}

.stat-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(33, 49, 102, 0.08);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    flex: 1 1 350px;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: visible;
    isolation: isolate;
    /* Create a new stacking context */
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(33, 49, 102, 0.12);
    border-color: var(--primary);
}

.stat-icon {
    color: var(--primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: rgba(62, 174, 226, 0.08);
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-left: auto;
    margin-right: auto;
}

.stat-card:hover .stat-icon {
    background-color: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.stat-icon svg {
    width: 32px;
    height: 32px;
}

.product-image {
    width: 100%;
    height: 200px;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.stat-card:hover .product-image img {
    transform: scale(1.05);
}

.stat-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-size: 1.35rem;
    font-weight: 700;
    width: 100%;
    line-height: 1.4;
}

.stat-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    width: 100%;
}

.btn-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: auto;
    padding: 8px 0;
    position: relative;
}

.btn-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.btn-link:hover {
    gap: 0.8rem;
    color: var(--primary-dark);
}

.btn-link:hover::after {
    width: 100%;
}

/* Brochure Dropdown */
.brochure-dropdown {
    position: relative;
    margin-top: auto;
    width: 100%;
    display: block;
    isolation: isolate;
    /* Isolate from other cards */
}

/* Ensure cards without brochure dropdowns are not affected */


.stat-card:not(:has(.brochure-dropdown)) .brochure-dropdown,
.stat-card:not(:has(.brochure-dropdown)) .brochure-toggle,
.stat-card:not(:has(.brochure-dropdown)) .brochure-menu {
    display: none !important;
}

.brochure-toggle {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 0;
    width: 100%;
    justify-content: center;
    position: relative;
}

.brochure-toggle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.brochure-toggle:hover::after,
.brochure-toggle.active::after {
    width: 100%;
}

.chevron-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.brochure-toggle.active .chevron-icon {
    transform: rotate(180deg);
}

.brochure-menu {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(33, 49, 102, 0.1);
    margin-top: 12px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 10;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
}

.brochure-menu.active {
    max-height: 300px;
    padding: 12px;
    opacity: 1;
    gap: 8px;
}

.brochure-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

.brochure-item:hover {
    background-color: var(--light-bg);
    border-color: var(--primary);
    color: var(--primary-dark);
}

.brochure-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.brochure-item span {
    flex: 1;
    font-weight: 500;
    font-size: 0.95rem;
}

.external-icon {
    width: 16px;
    height: 16px;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.brochure-item:hover .external-icon {
    color: var(--primary);
}

/* PDF Modal */
.pdf-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pdf-modal.active {
    opacity: 1;
    visibility: visible;
}

.pdf-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.pdf-modal-content {
    position: relative;
    background: var(--white);
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 10001;
}

.pdf-modal.active .pdf-modal-content {
    transform: scale(1);
}

.pdf-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.pdf-modal-header h3 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 1.25rem;
    font-weight: 700;
}

.pdf-modal-close {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
}

.pdf-modal-close:hover {
    background-color: var(--light-bg);
    color: var(--text-dark);
}

.pdf-modal-close i {
    width: 20px;
    height: 20px;
}

.pdf-modal-body {
    flex: 1;
    overflow: hidden;
    display: flex;
}

.pdf-modal-body iframe {
    width: 100%;
    height: calc(90vh - 80px);
    min-height: 500px;
    border: none;
}

@media (max-width: 767px) {
    .pdf-modal-content {
        width: 95%;
        max-height: 95vh;
        border-radius: 8px;
    }

    .pdf-modal-header {
        padding: 16px 20px;
    }

    .pdf-modal-header h3 {
        font-size: 1.1rem;
    }

    .pdf-modal-body iframe {
        height: calc(95vh - 70px);
        min-height: 400px;
    }
}

.coming-soon-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(57, 57, 57, 0.05);
    color: var(--text-light);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: auto;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0.5rem 0;
    letter-spacing: -1px;
}

/* Aurora Background Animation */
:root {
    --aurora-blue-500: #3b82f6;
    --aurora-indigo-300: #a5b4fc;
    --aurora-blue-300: #93c5fd;
    --aurora-violet-200: #ddd6fe;
    --aurora-blue-400: #60a5fa;
}

@keyframes aurora {
    from {
        background-position: 50% 50%, 50% 50%;
    }

    to {
        background-position: 350% 50%, 350% 50%;
    }
}

.aurora-bg {
    position: relative;
    background-color: #ffffff;
    /* Pure White Base */
    overflow: hidden;
}

.aurora-container {
    position: absolute;
    inset: -10px;
    opacity: 0.85;
    /* Increased opacity for brighter feel */
    pointer-events: none;
    z-index: 0;
}

.aurora-gradient {
    position: absolute;
    inset: 0;

    /* Blue and Orange Gradient Mesh */
    background:
        radial-gradient(circle at 15% 25%, rgba(62, 174, 226, 0.7) 0%, transparent 50%),
        /* Sky Blue (Stronger) */
        radial-gradient(circle at 85% 75%, rgba(240, 80, 35, 0.6) 0%, transparent 50%),
        /* Orange (Stronger) */
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 1) 0%, transparent 100%);

    background-color: #ffffff;
    filter: blur(50px);
    /* Smooth blend */
    opacity: 0.9;
    will-change: transform;
}

/* Clear animation and after element for this static gradient style */
.aurora-gradient::after {
    display: none;
}

/* Ensure content stays on top */
.hero {
    height: 800px;
    /* Fixed height for better control with video */
    min-height: 85vh;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.video-hero {
    background: #000;
    /* Fallback */
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 10;
    max-width: 1440px;
    width: 100%;
}

.hero-centered {
    position: relative;
    z-index: 10;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center !important;
}

.hero-badge {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-badge::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
}

.hero-headline {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-headline span {
    color: var(--primary);
    background: none;
    -webkit-text-fill-color: initial;
}

.hero-headline span {
    color: var(--primary);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-cta .btn-outline {
    border-color: #ffffff;
    color: #ffffff;
}

.hero-cta .btn-outline:hover {
    background: #ffffff;
    color: var(--primary-dark);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-avatars {
    display: flex;
}

.trust-avatars span {
    width: 32px;
    height: 32px;
    background: #e2e8f0;
    border-radius: 50%;
    border: 2px solid white;
}

.trust-avatars span:not(:first-child) {
    margin-left: -12px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual img {
    width: 100%;
    max-width: 550px;
    height: auto;
    animation: float 6s ease-in-out infinite;
    mix-blend-mode: multiply;
    -webkit-mask-image: radial-gradient(circle, black 30%, transparent 75%);
    mask-image: radial-gradient(circle, black 30%, transparent 75%);
}

.floating-card {
    position: absolute;
    bottom: 20px;
    left: -20px;
    padding: 15px 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 5s ease-in-out infinite alternate;
}

.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.check-icon {
    background: #dcfce7;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #166534;
    font-size: 1.2rem;
}

.card-title {
    font-weight: 700;
    color: var(--text-dark);
}

.card-subtitle {
    font-size: 0.8rem;
    color: var(--text-light);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}


.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background-color: var(--white);
    border-right: 1px solid var(--border);
    padding: 2rem;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.main-content {
    flex: 1;
    margin-left: 280px;
    /* Width of sidebar */
    padding: 3rem;
}

.sidebar-menu li {
    margin-bottom: 0.5rem;
}

.sidebar-menu a {
    display: block;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-weight: 500;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background-color: #eff6ff;
    color: var(--primary);
}

/* Badge */
.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.badge-success {
    background: #dcfce7;
    color: #166534;
}

.badge-warning {
    background: #ffedd5;
    color: #9a3412;
}

/* Table */
.table-container {
    background: var(--white);
    padding: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background-color: #f8fafc;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
    padding: 16px 24px;
}

td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    color: var(--text-dark);
}

tr:last-child td {
    border-bottom: none;
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--white) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-top: 1px solid rgba(224, 230, 237, 0.5);
    border-bottom: 1px solid rgba(224, 230, 237, 0.5);
    text-align: center;
    position: relative;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.partners-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    flex-wrap: wrap;
}

.partner-logo {
    height: 90px;
    width: auto;
    filter: grayscale(0%);
    opacity: 1;
    transition: all 0.3s ease;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.partner-logo:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .partners-grid {
        gap: 40px;
    }

    .partner-logo {
        height: 40px;
    }
}

/* Contact Links */
.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: var(--light-bg);
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.contact-link:hover {
    border-color: var(--primary);
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(33, 49, 102, 0.1);
}

.contact-link:hover .contact-icon {
    color: var(--primary);
}

.contact-icon {
    width: 28px;
    height: 28px;
    color: var(--text-light);
    transition: all 0.3s ease;
}

/* ========================================
   MOBILE NAVIGATION
   ======================================== */

/* Hamburger Menu Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu Overlay - Hidden by default on desktop */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 80px 30px 30px;
}

/* Show mobile menu only on tablet/mobile screens */
@media (max-width: 1023px) {
    .mobile-menu {
        display: block;
    }
}

.menu-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--primary);
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.3s ease;
    z-index: 1002;
}

.menu-close-btn:hover {
    color: var(--primary);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
}

.mobile-menu .nav-links a {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.1rem;
}

.mobile-menu .auth-buttons {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    margin-top: 20px;
    flex-direction: column;
    width: 100%;
}

.mobile-menu .auth-buttons .btn {
    width: 100%;
    justify-content: center;
}

/* Mobile Menu Backdrop */
.menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-backdrop.active {
    display: block;
    opacity: 1;
}

/* ========================================
   RESPONSIVE MEDIA QUERIES
   ======================================== */

/* Large Desktops (1440px and above) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .hero-headline {
        font-size: 5.2rem;
    }

    .section-header h2 {
        font-size: 2.75rem;
    }
}

/* Tablets and Small Laptops (768px - 1023px) */
@media (max-width: 1023px) {

    /* Navigation */
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    /* Hero Section */
    .hero {
        min-height: 700px;
        padding: 40px 0;
    }

    .hero-grid {
        display: flex;
        flex-direction: column-reverse;
        gap: 20px;
        text-align: center;
    }

    .hero-headline {
        font-size: 3.5rem;
        letter-spacing: -2px;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
        font-size: 1.1rem;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-badge {
        justify-content: center;
    }

    .hero-badge::before {
        display: none;
    }

    /* Sections */
    section {
        padding: 80px 0;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    /* Card Grids */
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Dashboard */
    .sidebar {
        width: 240px;
    }

    .main-content {
        margin-left: 240px;
        padding: 2rem;
    }

    /* Tables */
    th,
    td {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

/* Mobile Phones (max-width: 767px) */
@media (max-width: 767px) {

    /* Container */
    .container {
        padding: 0 16px;
    }

    /* Navigation */
    .navbar {
        padding: 1rem 0;
    }

    .logo {
        font-size: 1.25rem;
    }

    .logo img {
        height: 32px !important;
    }

    /* Hero Section */
    .hero {
        min-height: 600px;
        padding: 30px 0;
    }

    .hero-headline {
        font-size: 2.5rem;
        letter-spacing: -1px;
        margin-bottom: 16px;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 30px;
    }

    .hero-cta .btn {
        width: 100%;
        padding: 14px 24px;
    }

    .hero-visual img {
        max-width: 100%;
    }

    /* Sections */
    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Card Grids */
    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-card {
        padding: 2rem;
        overflow: visible;
    }

    .brochure-dropdown {
        width: 100%;
    }

    .brochure-menu {
        position: relative;
        margin-top: 12px;
        width: 100%;
        left: 0;
        right: 0;
    }

    .brochure-menu.active {
        max-height: 250px;
        overflow-y: auto;
    }

    .brochure-item {
        padding: 10px;
        font-size: 0.9rem;
    }

    .brochure-logo {
        height: 28px;
    }

    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    /* Partners Section */
    .partners-section {
        padding: 40px 0;
    }

    .partners-title {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    .partners-grid {
        gap: 40px;
    }

    .partner-logo {
        height: 50px;
    }

    /* Contact Section */
    .contact-link {
        width: 56px;
        height: 56px;
    }

    .contact-icon {
        width: 24px;
        height: 24px;
    }

    /* Auth Forms */
    .auth-container {
        padding: 1rem;
    }

    .auth-card {
        padding: 2rem;
    }

    /* Dashboard - Mobile */
    .dashboard-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: relative;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 1.5rem;
    }

    .main-content {
        margin-left: 0;
        padding: 1.5rem;
    }

    /* Tables - Mobile Responsive */
    .table-container {
        overflow-x: auto;
    }

    table {
        font-size: 0.85rem;
    }

    th,
    td {
        padding: 10px 12px;
        white-space: nowrap;
    }

    /* Footer */
    .main-footer {
        padding: 40px 0 20px !important;
    }

    .footer-nav {
        gap: 15px;
        font-size: 0.9rem;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-btn {
        width: 100%;
    }

    .footer-logo img {
        height: 60px;
    }
}

/* ========================================
   FOOTER STYLES
   ======================================== */

.main-footer {
    background-color: #213166;
    color: white;
    padding: 60px 0 30px;
    margin-top: auto;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 10px;
}

.footer-logo img {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.footer-logo:hover img {
    transform: scale(1.05);
}

.footer-nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 4px 0;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-nav a:hover {
    color: white;
}

.footer-nav a:hover::after {
    width: 100%;
}

.footer-social {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: white;
    color: #213166;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.social-icon i {
    width: 20px;
    height: 20px;
}

.footer-subscribe {
    width: 100%;
    max-width: 400px;
    margin: 10px 0;
}

.subscribe-form {
    display: flex;
    gap: 10px;
    width: 100%;
}

.subscribe-input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.subscribe-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.subscribe-input:focus {
    border-color: white;
    background-color: rgba(255, 255, 255, 0.15);
}

.subscribe-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    background-color: white;
    color: #213166;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.subscribe-btn:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.footer-copyright {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 767px) {
    .footer-nav {
        gap: 20px;
        font-size: 0.9rem;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-btn {
        width: 100%;
    }

    .footer-logo img {
        height: 60px;
    }
}

/* Very Small Phones (max-width: 374px) */
@media (max-width: 374px) {
    .hero-headline {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .partner-logo {
        height: 40px;
    }
}

/* Landscape Mobile Phones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 500px;
    }

    .hero-headline {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .menu-toggle,
    .mobile-menu,
    .menu-backdrop,
    .hero-cta,
    footer {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 20px 0;
    }

    section {
        padding: 30px 0;
        page-break-inside: avoid;
    }
}
/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.spinner-container {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent; /* Transparent base */
    border-top-color: var(--primary); /* Sky Blue */
    border-right-color: var(--primary-dark); /* Navy Blue */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-logo {
    width: 60px; /* Adjust size as needed to fit inside ring */
    height: auto;
    position: relative;
    z-index: 2;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

