@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800;900&display=swap');

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

:root {
    --primary: #000000;
    --accent: #000000;
    --accent-secondary: #333333;
    --text-main: #000000;
    --text-muted: #444444;
    --bg-light: #ffffff;
    --gradient-title: none;
    --gradient-accent: none;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Hero Section */
.hero {
    position: relative;
    display: block;
    /* Removed flex since sticky child handles layout */
    /* Let the inner text items dictate the height, giving 300vh naturally */
}

/* Hero Scroll Texts (3D effect layers) */
.hero-scroll-texts {
    position: relative;
    width: 100%;
    z-index: 10;
}

.scroll-text-item {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 8%;

    /* We will control opacity and transform heavily via JS for precise 3D scrubbing */
    opacity: 0;
    will-change: transform, opacity;
}

/* Reset the hero text inside scroll items so JS controls the parent container */
.scroll-text-item .hero-title,
.scroll-text-item .hero-subtitle {
    opacity: 1;
    transform: none;
    margin-left: 0;
}

/* Video Background */
.video-container {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    transform-origin: center center;
    transition: border-radius 0.3s ease;
    will-change: transform, border-radius;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    /* Full opacity for clear video */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 5%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: 200px;
    object-fit: cover;
    object-position: center;
    mix-blend-mode: multiply;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    color: #52525b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #000000;
}

.nav-links a.active {
    font-weight: 700;
}

/* Hero Content */
.hero-content {
    position: fixed;
    top: 50%;
    left: 8%; /* Left aligned */
    transform: translateY(-50%);
    z-index: 10;
    width: auto;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    pointer-events: none;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem); /* H4-like size */
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    margin-top: 1rem;
    pointer-events: auto;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    /* Sharper edges for a modern tech feel */
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary {
    background: #ffffff;
    color: #000000;
    border-radius: 100px; /* Circle/Pill shape */
    padding: 1.2rem 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    background: #f8f8f8;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: transparent;
    color: #000000;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.btn-secondary::before {
    background: rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    border-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-2px);
}

/* Animations JS Classes */
.animate-slide-up {
    animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography for Sections */
.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 3rem;
    color: #000000;
    position: relative;
    display: inline-block;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.section-title:hover::after {
    width: 100%;
}

/* About Section */
.about-section {
    padding: 10rem 0;
    background-color: #ffffff;
}

.about-flex-layout {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.about-left {
    flex: 1;
}

.about-main-title {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
}

.about-description {
    font-size: 1.2rem;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 400px;
}

.btn-pill {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1.5px solid #000000;
    border-radius: 100px;
    text-decoration: none;
    color: #000000;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-pill:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-3px);
}

.about-right {
    flex: 2.5; /* Further increased to make the image the hero of the section */
}

.about-image-container {
    position: relative;
    width: 100%;
}

.about-main-img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    display: block;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-main-img:hover {
    transform: scale(1.02) translateY(-10px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.15);
}

.about-floating-card {
    position: absolute;
    bottom: -3%;
    left: -3%;
    width: auto;
    min-width: 320px;
    background: #3b5266;
    padding: 1rem 1.5rem;
    border-radius: 0;
    display: flex;
    justify-content: space-between;
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.12);
    color: #ffffff;
    gap: 1.5rem;
}

.f-stat {
    flex: 1;
}

.f-val {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.15rem;
}

.f-lab {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .about-flex-layout {
        flex-direction: column;
        gap: 4rem;
        text-align: center;
    }
    
    .about-description {
        margin: 0 auto 3rem;
    }

    .about-floating-card {
        position: relative;
        left: 0;
        bottom: 0;
        width: 100%;
        margin-top: 2rem;
    }
}

/* Process Section */
.process-section {
    color: #000000;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background-color: #ffffff;
    height: 400vh; 
}

/* No ::before image for process-section anymore */

.process-section .section-title, 
.process-section .steps-subtitle,
.process-section h3,
.process-section p {
    color: #000000 !important;
}

.process-section .process-title::after {
    background: #ffffff;
}

.process-container {
    display: flex;
    gap: 4rem;
    align-items: center;
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 0 5%;
    overflow: hidden;
}

.process-sticky-left {
    flex: 1;
}

.process-title {
    color: #ffffff;
}

.process-title::after {
    background: #000000;
}

.process-steps-right {
    flex: 1.2;
    position: relative;
    height: 450px; /* Fixed height for the card stack */
    display: flex;
    justify-content: center;
    align-items: center;
}

.process-card {
    padding: 2rem 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    /* Start from the right */
    transform: translateX(100px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.process-card.active-step {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
}

.process-card.past-step {
    opacity: 0;
    /* Exit to the left */
    transform: translateX(-100px);
}

.process-number {
    font-size: 8rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.05);
    position: absolute;
    top: -1rem;
    right: 2rem;
    line-height: 1;
    z-index: 0;
    font-family: 'Outfit', sans-serif;
}

.process-card .step-icon {
    width: 60px;
    height: 60px;
    background: #000000;
    color: #ffffff;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease;
}

.process-card.active-step .step-icon {
    transform: translateY(-4px) scale(1.05);
}

.process-card h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #000000;
    position: relative;
    z-index: 1;
}

.process-card p {
    color: #444444;
    line-height: 1.7;
    font-size: 1.25rem;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background-color: var(--bg-light);
    color: var(--text-main);
    padding: 6rem 0 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 320px;
    margin-bottom: 2rem;
}

.footer-column h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    color: var(--text-main);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary);
}

/* Reviews Section */
.reviews-section {
    padding: 10rem 0;
    position: relative;
    color: #ffffff;
    overflow: hidden;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('1583186806999.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.reviews-section .section-title {
    color: #ffffff;
    margin-bottom: 4rem;
}

.reviews-slider {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
}

.reviews-track {
    display: flex;
    width: max-content;
    gap: 3rem;
    animation: marquee 30s linear infinite;
}

.reviews-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move by 50% since we duplicated the content */
        transform: translateX(-50%);
    }
}

.review-card {
    background: transparent;
    border: none;
    padding: 2.5rem;
    width: 400px; /* Fixed width for consistent scrolling */
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.stars {
    color: #fbbf24; /* Google Yellow */
    font-size: 1.2rem;
}

.google-badge {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
}

.review-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

.reviewer-info strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.reviewer-info span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* Contact Section */
.contact-section {
    padding: 10rem 0;
    background-color: #f9f9f9;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.contact-info h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: #000000;
}

.contact-info p {
    color: #555555;
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 400px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input {
    padding: 1rem 0;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0;
    background: transparent;
    font-family: inherit;
    font-size: 1.1rem;
    transition: all 0.4s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #000000;
}

.contact-form .btn-primary {
    margin-top: 1rem;
    padding: 1.2rem;
    width: 100%;
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 2rem;
    }
}