:root {
    /* Colors */
    --primary-blue: #0E2954;
    --primary-light: #1F3E72;
    --accent-orange: #FF8F00;
    --accent-light: #FFD54F;
    --bg-dark: #07172E;
    --bg-light: #F4F7F6;
    --text-dark: #2D3748;
    --text-light: #A0AEC0;
    --white: #FFFFFF;
    
    /* Typography */
    --font-main: 'Inter', sans-serif;
    
    /* Animation Timing */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.8s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    color: var(--white);
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    transition: all var(--transition-fast);
}

/* Layout Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 5rem 0;
}

.white-section { background-color: var(--white); }
.light-gray-section { background-color: var(--bg-light); }
.dark-section { background-color: var(--primary-blue); color: var(--white); }

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.align-start { align-items: flex-start; }
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* Buttons & Badges */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-light);
    color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: #e6c047;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #20BA56;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(255, 143, 0, 0.2);
    color: var(--accent-light);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.border-badge {
    border: 1px solid var(--text-light);
    background-color: transparent;
    color: var(--text-light);
}

.highlight { color: var(--accent-orange); }
.highlight-text { color: var(--accent-orange); }
.text-white { color: var(--white) !important; }

.section-subtitle {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-medium);
    padding: 1rem 0;
    background: transparent;
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.navbar:not(.scrolled) .logo { color: var(--white); }
.navbar:not(.scrolled) .logo-careers { color: var(--text-light); }

.logo-go { color: var(--primary-blue); }
.navbar:not(.scrolled) .logo-go { color: var(--white); }
.logo-careers { font-weight: 300; color: #718096; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
}

.navbar:not(.scrolled) .nav-links a {
    color: var(--white);
    opacity: 0.8;
}

.navbar:not(.scrolled) .nav-links a:hover,
.navbar:not(.scrolled) .nav-links a.active {
    opacity: 1;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-blue);
}

.navbar:not(.scrolled) .nav-btn {
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

.navbar:not(.scrolled) .nav-btn:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(to right, var(--bg-dark) 40%, var(--primary-blue) 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero p {
    color: #CBD5E0;
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Background Globe Animation */
.globe-container {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    z-index: 1;
    perspective: 1000px;
}

.earth-model {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-image: url('https://unpkg.com/three-globe/example/img/earth-blue-marble.jpg');
    background-size: 200% 100%;
    background-repeat: repeat-x;
    position: relative;
    box-shadow: 
        inset -30px -30px 60px rgba(0,0,0,0.9),
        inset 0 0 20px rgba(255,255,255,0.3), 
        0 0 40px rgba(10, 30, 60, 0.6),
        0 0 20px rgba(255, 213, 79, 0.1);
    animation: spinEarth 20s linear infinite;
    transform-style: preserve-3d;
}

.earth-model::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.05), transparent 60%);
    z-index: 2;
}

/* Modifier for middle section slow spin */
.slow-spin {
    animation-duration: 35s;
    box-shadow: 
        inset -20px -20px 50px rgba(0,0,0,0.8),
        inset 0 0 20px rgba(255,255,255,0.2), 
        0 0 30px rgba(14, 41, 84, 0.3);
}

.network-lines {
    position: absolute;
    top: -10%; left: -10%; right: -10%; bottom: -10%;
    background-image: 
        radial-gradient(circle at center, rgba(255,255,255,0.4) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.15;
    animation: pulseGlobe 8s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}

@keyframes spinEarth {
    0% { background-position: 0 0; }
    100% { background-position: 200% 0; }
}

@keyframes pulseGlobe {
    0% { opacity: 0.1; transform: scale(1); }
    100% { opacity: 0.25; transform: scale(1.05); }
}

/* Stats Bar */
.stats-bar {
    background-color: var(--primary-light);
    display: flex;
    justify-content: space-around;
    padding: 2rem 5%;
    color: var(--white);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    font-size: 2rem;
    color: var(--text-light);
}

.stat-text h3 {
    color: var(--white);
    margin-bottom: 0.2rem;
    font-size: 1.25rem;
}

.stat-text p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.85rem;
}

/* Wise Navigator (About) */
.wise-navigator .image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.wise-navigator img {
    width: 100%;
    display: block;
    transition: transform var(--transition-slow);
}

.wise-navigator .image-wrapper:hover img {
    transform: scale(1.05);
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    background-color: rgba(255, 213, 79, 0.2);
    color: var(--accent-orange);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
    margin-top: 4px;
}

.feature-text h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.feature-text p {
    color: #718096;
    font-size: 0.9rem;
    margin: 0;
}

/* Services */
.services-section .section-header { margin-bottom: 3rem; }

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

.service-card {
    background: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all var(--transition-medium);
}

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

.service-icon {
    width: 40px;
    height: 40px;
    background-color: var(--bg-light);
    color: var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.large-card {
    display: flex;
    flex-direction: column;
}

.service-img {
    margin-top: auto;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
}

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

.services-right-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.flex-row {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.flex-row .service-icon { margin-bottom: 0; }
.flex-row h3 { margin-bottom: 0.5rem; }

.dark-card {
    background-color: var(--primary-blue);
    color: var(--white);
}

.dark-card h3 { color: var(--white); }
.dark-card p { color: #A0AEC0; }
.dark-card .service-icon { background-color: rgba(255,255,255,0.1); color: var(--white); }

/* Why Us Section */
.why-us .text-content {
    padding-right: 2rem;
}

.point-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--bg-light);
}

.point-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.point-number {
    font-size: 1.5rem;
    color: #CBD5E0;
    font-weight: 300;
}

.point-text h4 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.point-text p { color: #718096; margin: 0; font-size: 0.95rem; }

.circular-graphic {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

.globe-container-middle {
    background-color: transparent;
    overflow: visible;
}

.data-chart-lines {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(255,255,255,0.2);
}

.data-chart-lines::before {
    content: '';
    position: absolute;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 2px solid var(--white);
    top: -20px; left: 30%;
}

.data-chart-lines::after {
    content: '';
    position: absolute;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--accent-light);
    top: -10px; left: 70%;
    box-shadow: 0 0 20px var(--accent-light);
}

.chart-badge {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 213, 79, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

/* Step by Step */
.steps-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
}

.step-card {
    text-align: center;
    width: 200px;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    font-size: 1.25rem;
    color: var(--primary-blue);
    border: 1px solid var(--bg-light);
}

.step-card h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.85rem; color: #718096; }

.step-line {
    height: 1px;
    flex-grow: 1;
    background-color: #CBD5E0;
    margin: 0 1rem;
    position: relative;
    top: -30px;
}

/* Leadership Section */
.leadership-section h2 { color: var(--white); margin-bottom: 0.5rem; }
.leadership-section .description { color: #CBD5E0; }

.founder-image-container {
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
}

.founder-image-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
}

.founder-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: opacity 1.5s ease-in-out, transform 8s ease-in-out;
}

.founder-img.fade-in {
    transform: scale(1.05); /* Slight zoom effect while visible */
}

.meeting-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(14, 41, 84, 0.85);
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10;
    backdrop-filter: blur(4px);
    border-left: 3px solid var(--accent-orange);
    transition: opacity 1.5s ease-in-out;
    opacity: 0; /* Hidden by default */
}

.img-2.fade-in + .meeting-caption {
    opacity: 1; /* Show when meeting image is visible */
}

/* Animation classes for script toggling */
.fade-out { opacity: 0; }
.fade-in { opacity: 1; }

.founder-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--white);
    background-color: rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-left: 3px solid var(--accent-orange);
    margin-top: 2rem;
    border-radius: 0 8px 8px 0;
}

.cert-icon { margin-right: 0.5rem; color: #A0AEC0; }
.certification span { color: #A0AEC0; font-size: 0.9rem; }

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.stars { color: #F59E0B; margin-bottom: 1rem; font-size: 0.8rem; }
.review-text { font-style: italic; color: #4A5568; margin-bottom: 1.5rem; font-size: 0.95rem; }

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

.user-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.user-info h5 { margin: 0; font-size: 0.95rem; color: var(--primary-blue); }
.user-info span { font-size: 0.8rem; color: #718096; }

/* Footer CTA */
.footer-cta { margin-bottom: -5rem; position: relative; z-index: 10; padding: 0 5%; }

.rounded-box { border-radius: 12px; overflow: hidden; padding: 4rem; }
.shadow-box { box-shadow: 0 20px 50px rgba(0,0,0,0.08); }

.form-container { flex-grow: 1; }
.lead-form input, .lead-form select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    background-color: var(--white);
    font-family: inherit;
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #718096;
}
.btn-submit { width: 100%; background: var(--primary-blue); color: var(--white); }

.contact-methods { display: flex; gap: 1rem; margin-top: 2rem; }
.contact-info span { display: block; color: #718096; margin-bottom: 0.5rem; font-size: 0.9rem; }
.contact-info i { margin-right: 0.5rem; color: var(--primary-blue); }

/* Main Footer */
.main-footer {
    background-color: var(--bg-dark);
    color: #A0AEC0;
    padding: 8rem 0 2rem;
}

.container-flex { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 3rem; }

.footer-desc { margin-top: 1rem; font-size: 0.9rem; max-width: 300px; }
.footer-links { display: flex; gap: 2rem; margin-top: 1.5rem; }
.footer-links a { color: #A0AEC0; font-size: 0.9rem; }
.footer-links a:hover { color: var(--white); }

.copyright-bar {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.social-icons a { color: #A0AEC0; margin-left: 1rem; font-size: 1.1rem; }
.social-icons a:hover { color: var(--white); }

/* Responsive adjustments */
@media (max-width: 992px) {
    .split-layout { grid-template-columns: 1fr; gap: 2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .steps-grid { flex-direction: column; gap: 2rem; }
    .step-line { width: 1px; height: 30px; margin: 10px 0; top: 0; }
    .contact-methods { flex-direction: column; }
    .container-flex { flex-direction: column; gap: 2rem; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
    .navbar:not(.scrolled) .nav-links a { color: var(--text-dark); }
    .nav-btn { display: none; }
    .mobile-menu-btn { display: block; color: var(--primary-blue); }
    .navbar:not(.scrolled) .mobile-menu-btn { color: var(--white); }
    .stats-bar { flex-direction: column; gap: 2rem; text-align: center; }
    .hero-buttons { flex-direction: column; }
    .rounded-box { padding: 2rem; }
}
