:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #EEF2F6;
    
    --text-primary: #1E293B;
    --text-secondary: #475569;
    --text-muted: #94A3B8;

    --accent-primary: #111827;
    --accent-secondary: #374151;
    --accent-gradient: linear-gradient(135deg, #111827 0%, #374151 100%);
    --accent-glow: rgba(17, 24, 39, 0.2);

    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

/* -------------------------------- */
/* Navigation                      */
/* -------------------------------- */
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* -------------------------------- */
/* Typography                      */
/* -------------------------------- */
h1, h2, h3 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* -------------------------------- */
/* Hero Section                    */
/* -------------------------------- */
.hero-section {
    position: relative;
    padding: 9rem 0 6rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-animated {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(243, 244, 246, 0.8) 0%, var(--bg-primary) 50%);
    z-index: -1;
    animation: drift 20s ease-in-out infinite alternate;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1.1); }
    100% { transform: translate(-5%, -5%) scale(1); }
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
    position: relative;
    z-index: 2;
}

.hero-content.text-left {
    text-align: left;
    margin: 0;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px dashed rgba(17, 24, 39, 0.3);
    color: var(--text-muted);
    text-align: center;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.8);
}

.placeholder-icon {
    color: var(--text-muted);
    opacity: 0.5;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(17, 24, 39, 0.05);
    color: var(--accent-secondary);
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(17, 24, 39, 0.05);
}

.hero-content h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--accent-secondary);
    margin-bottom: 2rem;
    font-weight: 400;
}

.accent-line {
    width: 80px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
    margin: 0 0 2.5rem 0;
}

.hero-content p.lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.glass-box {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-glass);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1), 0 0 20px rgba(17, 24, 39, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

.glass-box p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.7;
}

/* -------------------------------- */
/* Buttons                         */
/* -------------------------------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--accent-gradient);
    color: white;
    padding: 1.1rem 2.5rem;
    border-radius: 3rem;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -5px var(--accent-glow);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(17, 24, 39, 0.3);
}

.btn-primary .icon-arrow {
    transition: transform 0.3s ease;
}

.btn-primary:hover .icon-arrow {
    transform: translateX(5px);
}

/* -------------------------------- */
/* Timeline Section                */
/* -------------------------------- */
.timeline-section {
    padding: 8rem 0;
    background-color: var(--bg-tertiary);
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    max-width: 100%;
    margin: 3rem auto 0;
    padding: 2rem 1rem 3rem;
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.timeline::-webkit-scrollbar {
    height: 10px;
}

.timeline::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.timeline::-webkit-scrollbar-thumb {
    background: rgba(17, 24, 39, 0.2);
    border-radius: 10px;
}

.timeline::-webkit-scrollbar-thumb:hover {
    background: rgba(17, 24, 39, 0.4);
}

.timeline-item {
    position: relative;
    flex: 0 0 260px;
    height: 300px;
    box-sizing: border-box;
}

/* Horizontal Line Piece */
.timeline-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-50%);
    z-index: 0;
    transition: background 0.3s ease;
}

.timeline-item:hover::before {
    background: var(--accent-secondary);
}

/* Timeline Dot */
.timeline-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background-color: var(--bg-tertiary);
    border: 3px solid var(--accent-secondary);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 6px rgba(55, 65, 81, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Timeline Content Box */
.timeline-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 1.5rem 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    z-index: 1;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
}

/* Position alternating content */
.timeline-item:nth-child(odd) .timeline-content {
    bottom: 50%;
    margin-bottom: 30px;
}

.timeline-item:nth-child(even) .timeline-content {
    top: 50%;
    margin-top: 30px;
}

/* Connectors */
.timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 15px;
    background: rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 15px;
    background: rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    font-size: 1.05rem;
    font-weight: 500;
    margin: 0;
    color: var(--text-primary);
    line-height: 1.4;
}

/* Hover effects */
.timeline-item:hover .timeline-content {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(17, 24, 39, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 20px rgba(17, 24, 39, 0.05);
}

.timeline-item:nth-child(odd):hover .timeline-content {
    transform: translateY(-10px);
}

.timeline-item:nth-child(even):hover .timeline-content {
    transform: translateY(10px);
}

.timeline-item:hover .timeline-dot {
    background-color: var(--accent-secondary);
    box-shadow: 0 0 0 8px rgba(55, 65, 81, 0.2);
    transform: translate(-50%, -50%) scale(1.3);
}

.timeline-item:hover .timeline-content::after {
    background: var(--accent-secondary);
}

/* -------------------------------- */
/* Footer section                  */
/* -------------------------------- */
.footer-cta {
    padding: 6rem 0;
    background-color: var(--bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-cta h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.footer-cta p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

/* -------------------------------- */
/* Animations                      */
/* -------------------------------- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stagger-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* -------------------------------- */
/* Contact Banner CTA              */
/* -------------------------------- */
.cta-banner-section {
    padding: 6rem 1rem;
    background-color: var(--bg-primary);
}

.cta-banner-wrapper {
    background-color: #1a1b20; /* Soft black */
    background-image: linear-gradient(135deg, #15161a 0%, #292b33 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3rem 5rem;
    position: relative;
    max-width: none;
    width: auto;
    margin: 0 4rem; /* container-fluid style margins */
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
    gap: 3.5rem;
    overflow: hidden;
}

/* Add a subtle graphic accent */
.cta-banner-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.cta-banner-text {
    flex: 1.2;
    z-index: 2;
}

.cta-banner-text h2 {
    color: #ffffff;
    font-size: clamp(1.8rem, 2.8vw, 2.5rem);
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

.cta-banner-img {
    flex: 0 0 auto;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-banner-img img {
    width: 260px;
    height: 260px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.cta-banner-action {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    z-index: 2;
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 3rem;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
}

.btn-outline-white:hover {
    background-color: #ffffff;
    color: #1a1b20;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    border-color: #ffffff;
}

/* -------------------------------- */
/* Responsive                      */
/* -------------------------------- */
@media (max-width: 992px) {
    .cta-banner-wrapper {
        flex-direction: column;
        padding: 3.5rem 2rem;
        text-align: center;
        gap: 2.5rem;
        margin: 0 1rem; /* smaller margins on tablets */
    }

    .cta-banner-img {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        height: auto;
        order: -1;
    }

    .cta-banner-img img {
        width: 200px;
        height: 200px;
        border-width: 4px;
    }

    .cta-banner-action {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* In a real app we'd add a hamburger menu */
    }
    
    .hero-container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content.text-left {
        text-align: center;
    }
    
    .accent-line {
        margin: 0 auto 2.5rem auto;
    }
    
    .hero-section {
        padding: 7rem 0 4rem;
        min-height: auto;
    }
}
