/* CSS Variables */
:root {
    --deep-navy: #0D1A2E;
    --primary-blue: #0B2E59;
    --accent-lime: #C7F000;
    --soft-gray: #F8FAFC;
    --white: #FFFFFF;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --radius: 12px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Base Image Responsiveness */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Standardized Typography Spacing */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--deep-navy);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

h6 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-light);
}

section {
    padding: 100px 0;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

/* Buttons */
.btn {
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background-color: #004a99;
    transform: translateY(-2px);
}

.btn-green {
    background-color: #0B2E59 !important;
    color: var(--white) !important;
}

.btn-green:hover {
    background-color: #004a99 !important;
}

.btn-block {
    width: 100%;
}

/* Header */
header {
    background-color: var(--white);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.logo-img {
    height: 85px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 80px 0 40px;
    background: linear-gradient(135deg, var(--soft-gray) 0%, #e2e8f0 100%);
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--deep-navy);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subhead {
    font-size: 1.5rem;
    color: #1A9A63;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-height: 600px;
    object-fit: cover;
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.chart-overlay {
    position: absolute;
    bottom: 50px;
    right: 0;
    width: 200px;
    height: 100px;
    opacity: 0.8;
}

.stat-item {
    background-color: #0B2E59;
    padding: 33px;
    width: 230px;
    border-radius: 999px;
}

.stats-grid {
    display: flex;
    justify-content: center;
    text-align: center;
    gap: 80px;
    padding: 30px;
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #F5F6F9;
    margin-bottom: 5px;
}

.stat-desc {
    font-size: 0.9rem;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Smart Investors */
.smart-investors {
    background-color: var(--white);
    position: relative;
}

.bg-pattern-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.section-header {
    position: relative;
    z-index: 1;
}

.section-header h2 {
    color: #1A9A63;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-header h3 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: var(--deep-navy);
    font-weight: 800;
}

.section-header p {
    max-width: 800px;
    margin: 0 auto 20px;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Why Choose Us */
.why-choose-us {
    background-color: var(--soft-gray);
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 80px;
}

.image-side,
.content-side {
    flex: 1;
}

.image-side img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 600px;
}

/* Standardized Subtitle Styling */
.subtitle {
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    line-height: 1.4;
    display: block;
    margin-bottom: 10px;
}

.feature-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.fs-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--deep-navy);
}

.fs-lbl {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Testimonials */
.testimonials {
    background-color: var(--white);
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: 40px;
}

.header-left {
    flex: 1;
}

.header-left .subtitle {
    color: #1A9A63;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    line-height: 1.4;
    display: block;
    margin-bottom: 10px;
}

.header-left h2 {
    font-size: 2.8rem;
    color: var(--deep-navy);
    font-weight: 800;
    line-height: 1.1;
}

.header-right {
    flex: 1;
    max-width: 600px;
}

.header-right p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.6;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    border: 1px solid #f1f5f9;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.testimonial-card::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 40px;
    width: 20px;
    height: 20px;
    background: var(--white);
    transform: rotate(45deg);
    border-bottom: 1px solid #f1f5f9;
    border-right: 1px solid #f1f5f9;
}

.testimonial-card p {
    font-style: normal;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

.stars {
    color: #fbbf24;
    font-size: 1rem;
}

.user-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-left: 20px;
}

.avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e2e8f0;
    color: var(--deep-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    border: none;
}

.user-meta h4 {
    font-size: 1rem;
    color: var(--deep-navy);
    margin-bottom: 2px;
    font-weight: 700;
}

.user-meta span {
    font-size: 0.85rem;
    color: var(--text-light);
    display: block;
}

/* Resources */
.resources {
    background-color: #f8fafc;
}

.resources .section-header {
    margin-bottom: 60px;
}

.resources-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.highlight-green {
    color: #1A9A63;
}

.resources-subtitle {
    font-size: 1.8rem;
    color: var(--text-dark);
    font-weight: 400;
    margin-top: 0;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.resource-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.resource-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 91, 187, 0.15);
}

.res-content {
    flex: 1;
}

.res-content h4 {
    font-size: 1.25rem;
    color: var(--deep-navy);
    margin-bottom: 10px;
    font-weight: 700;
}

.res-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.icon-minimal {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background-color: #e3f2fd;
    border: 2px solid #0B2E59;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0B2E59;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.resource-item:hover .icon-minimal {
    background-color: #0B2E59;
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 91, 187, 0.3);
}

/* Platform */
.platform {
    background-color: var(--white);
}

/* Courses List */
.courses-list {
    background-color: var(--deep-navy);
    color: var(--white);
}

.courses-image-side img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 500px;
}

.courses-content-side {
    flex: 1;
}

.courses-content-side .subtitle {
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    line-height: 1.4;
    display: block;
    margin-bottom: 10px;
}

.courses-content-side h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.courses-content-side p {
    color: #cbd5e0;
    margin-bottom: 30px;
}

.course-items-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.course-item h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.course-item p {
    color: #cbd5e0;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}



/* Global Reach */
.global-reach {
    background: linear-gradient(135deg, #e3f2fd 0%, #f8fafc 100%);
}

.global-title {
    font-size: 2.5rem;
    color: var(--deep-navy);
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight-blue {
    color: var(--primary-blue);
}

.global-desc {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.global-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.g-stat-item {
    text-align: left;
}

.gs-num {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.gs-lbl {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.gs-bar {
    width: 60px;
    height: 4px;
    background: #ffffff;
    border-radius: 2px;
    margin-top: 10px;
}

.map-side {
    flex: 1;
}

.map-wrapper {
    position: relative;
    width: 100%;
}

.world-map-img {
    width: 100%;
    height: auto;
    opacity: 0.9;
}

.map-marker {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.marker-yellow {
    background-color: #fbbf24;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.6);
}

.marker-blue {
    background-color: #3b82f6;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
}

.marker-primary {
    background-color: var(--primary-blue);
    box-shadow: 0 0 15px rgba(0, 91, 187, 0.6);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

/* Footer / Contact Section */
footer {
    background-color: #2d2d2d;
    color: var(--white);
    padding: 80px 0 0;
}

.footer-header {
    max-width: 700px;
    margin-bottom: 60px;
}

.footer-tag {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 15px;
}

.footer-header h2 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.footer-header p {
    color: #b0b0b0;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background-color: #3a3a3a;
    padding: 30px;
    border-radius: 12px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background-color: #424242;
    transform: translateY(-5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: #4a4a4a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
}

.contact-info h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-info p {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-bottom {
    background-color: #1f1f1f;
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    color: #808080;
    font-size: 0.9rem;
    margin: 0;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 26, 46, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--deep-navy);
    padding: 40px;
    border-radius: 16px;
    width: 100%;
    max-width: 450px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid #1f2937;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--white);
}

.modal-header {
    margin-bottom: 30px;
}

.modal-header h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 10px;
}

.modal-header p {
    color: #9ca3af;
}

.modal-form .form-group {
    margin-bottom: 20px;
}

.modal-form input,
.modal-form select {
    width: 100%;
    padding: 15px;
    background-color: #1f2937;
    border: 1px solid #374151;
    border-radius: 8px;
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
}

.modal-form input:focus,
.modal-form select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.phone-group {
    display: flex;
    gap: 10px;
}

.country-code {
    width: 100px;
}

.password-group {
    position: relative;
}

.password-group i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 992px) {
    .split-layout {
        flex-direction: column;
    }

    .reverse-mobile {
        flex-direction: column-reverse;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

    .hero-content {
        margin-bottom: 50px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        margin-right: 12px;
    }

    .course-items-row {
        grid-template-columns: 1fr;
    }

    .global-stats-row {}

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Responsive Images */
    .image-side img {
        width: 100%;
        max-width: 100%;
    }

    .courses-image-side img {
        width: 100%;
        max-width: 100%;
    }

    .hero-image img {
        max-width: 100%;
        max-height: 400px;
        width: auto;
        margin: 0 auto;
    }

    .world-map-img {
        width: 100%;
        height: auto;
    }

    .logo-img {
        height: 60px;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        flex-direction: column;
        gap: 30px;
        align-items: anchor-center;
    }

    .feature-stats {}

    .testimonials-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .header-left h2 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    section {
        padding: 60px 0;
    }
}

/* Language Switcher */
.language-switcher {
    position: relative;
    margin-right: 20px;
    font-weight: 500;
}

.current-language {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: white;
    transition: all 0.3s ease;
}

.current-language:hover {
    border-color: var(--primary-blue);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    min-width: 150px;
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    z-index: 1001;
    margin-top: 5px;
    overflow: hidden;
}

.language-dropdown.active {
    display: flex;
}

.lang-option {
    padding: 10px 15px;
    text-decoration: none;
    color: var(--text-dark);
    transition: background 0.2s;
}

.lang-option:hover {
    background-color: #f8fafc;
    color: var(--primary-blue);
}

@media (max-width: 992px) {
    .language-switcher {
        margin-right: 15px;
    }
}