/* =================================
   CSS Reset & Base Styles
   ================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* =================================
   Container & Layout
   ================================= */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* =================================
   Navigation
   ================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #1a1a1a;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    position: relative;
}

.nav-links a:hover {
    color: #0066cc;
}

.nav-cta {
    background: #0066cc;
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.nav-cta:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

/* =================================
   Hero Section
   ================================= */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1200px;
    padding: 0 2rem;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-tagline-small {
    font-size: 1.2rem;
    font-weight: 500;
    color: #a3d5ff;
    letter-spacing: 0.5px;
}

.hero-tagline-main {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

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

    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

@media (max-width: 768px) {
    .hero-tagline-main {
        font-size: 2rem;
    }

    .hero-tagline-small {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }
}

/* =================================
   Buttons
   ================================= */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #0066cc;
    color: white;
    border: 2px solid #0066cc;
}

.btn-primary:hover {
    background: #0052a3;
    border-color: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1a1a1a;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }
}

/* =================================
   Section Styles
   ================================= */

section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0066cc;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.section-description {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.7;
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* =================================
   Results Section
   ================================= */

.results {
    background: #f8f9fa;
}

.results-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
    text-align: center;
}

.result-stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.result-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #0066cc;
    font-family: 'Space Grotesk', sans-serif;
}

.result-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.case-study-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.case-study-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #0066cc;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.case-study-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.case-study-problem,
.case-study-solution {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.7;
}

.case-study-result {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.result-highlight {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0066cc;
    font-family: 'Space Grotesk', sans-serif;
}

.result-detail {
    font-size: 0.95rem;
    color: #666;
}

/* =================================
   About Section
   ================================= */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-lead {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0066cc;
    font-family: 'Space Grotesk', sans-serif;
}

.stat-label {
    font-size: 0.95rem;
    color: #666;
}

.about-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =================================
   Process Section
   ================================= */

.process {
    background: #f8f9fa;
}

.process-toggle {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.toggle-btn {
    padding: 0.875rem 2rem;
    border-radius: 50px;
    border: 2px solid #e0e0e0;
    background: white;
    font-weight: 600;
    font-size: 0.95rem;
    color: #666;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
}

.toggle-btn:hover {
    border-color: #0066cc;
}

.process-timeline {
    max-width: 900px;
    margin: 4rem auto 0;
}

.process-step {
    position: relative;
    padding-left: 5rem;
    margin-bottom: 3rem;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: #0066cc;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}

.step-line {
    position: absolute;
    left: 30px;
    top: 70px;
    width: 2px;
    height: calc(100% + 1rem);
    background: linear-gradient(to bottom, #0066cc, #e0e0e0);
}

.process-step:last-child .step-line {
    display: none;
}

.step-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.step-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

@media (max-width: 768px) {
    .process-step {
        padding-left: 4rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .step-line {
        left: 25px;
    }
}

/* =================================
   Services Section
   ================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: #e6f2ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    color: #0066cc;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

/* =================================
   Why Section
   ================================= */

.why-section {
    background: #f8f9fa;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.why-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.why-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}

.check-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #0066cc;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.why-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

/* =================================
   CTA Section
   ================================= */

.cta-section {
    background: linear-gradient(135deg, #0052a3 0%, #0066cc 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-content>p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-section .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-section .btn-secondary:hover {
    background: white;
    color: #0066cc;
}

.cta-note {
    font-size: 0.95rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* =================================
   Footer
   ================================= */

.footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 4rem 0 2rem;
}

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

.footer-brand p {
    margin-top: 1rem;
    color: #aaa;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: #ccc;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #0066cc;
}

.footer-contact p {
    margin-bottom: 0.75rem;
    color: #ccc;
}

.footer-contact a {
    color: #0066cc;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #333;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

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

/* =================================
   Contact Page Specific
   ================================= */

.contact-page {
    margin-top: 80px;
}

.contact-hero {
    padding: 4rem 0 3rem;
    text-align: center;
    background: #f8f9fa;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-hero p {
    font-size: 1.2rem;
    color: #666;
}

.contact-content {
    padding: 5rem 0;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-item {
    margin-bottom: 2.5rem;
    text-align: center;
}

.contact-item h3 {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.contact-item a {
    font-size: 1.5rem;
    color: #0066cc;
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2rem;
    }

}

/* =================================
   DARK THEME OVERRIDES
   ================================= */

/* Global Dark Theme */
body {
    background: #0b0f14;
    color: #e0e0e0;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #ffffff;
}

/* Navigation - Dark Theme */
.navbar {
    background: rgba(11, 15, 20, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.logo {
    color: #ffffff;
}

.nav-links a {
    color: #e0e0e0;
}

.nav-links a:hover {
    color: #0066cc;
}

/* Mobile menu dark background */
@media (max-width: 1024px) {
    .nav-links {
        background: #0b0f14;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    }
}

/* Section Backgrounds - Dark Surfaces */
.results {
    background: #0f141a;
}

.process {
    background: #0f141a;
}

.why-section {
    background: #0f141a;
}

.contact-hero {
    background: #0f141a;
}

/* Section Headers */
.section-header h2 {
    color: #ffffff;
}

.section-description {
    color: #b0b0b0;
}

/* Results Section - Dark Theme */
.result-label {
    color: #b0b0b0;
}

.case-study-card {
    background: #121821;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.case-study-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.case-study-card h3 {
    color: #ffffff;
}

.case-study-problem,
.case-study-solution {
    color: #b0b0b0;
}

.case-study-result {
    border-top: 2px solid #1f2937;
}

.result-detail {
    color: #b0b0b0;
}

/* About Section */
.about {
    background: #0b0f14;
}

.about-content h2 {
    color: #ffffff;
}

.about-lead {
    color: #e0e0e0;
}

.about-content p {
    color: #b0b0b0;
}

.stat-label {
    color: #b0b0b0;
}

/* Process Section - Dark Theme */
.toggle-btn {
    background: #121821;
    border: 2px solid #1f2937;
    color: #b0b0b0;
}

.toggle-btn.active {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
}

.toggle-btn:hover {
    border-color: #0066cc;
    background: #1a2332;
}

.step-title {
    color: #ffffff;
}

.step-description {
    color: #b0b0b0;
}

/* Services Section */
.services {
    background: #0b0f14;
}

.service-card {
    background: #121821;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.service-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.service-icon {
    background: rgba(0, 102, 204, 0.15);
}

.service-card h3 {
    color: #ffffff;
}

.service-card p {
    color: #b0b0b0;
}

/* Why Section - Dark Theme */
.why-content h2 {
    color: #ffffff;
}

.why-list li {
    color: #e0e0e0;
}

/* CTA Section - Keep gradient but adjust for dark theme */
.cta-content>p {
    opacity: 0.95;
}

/* Footer - Already dark, enhance contrast */
.footer {
    background: #070a0d;
    border-top: 1px solid #1f2937;
}

.footer-brand p {
    color: #b0b0b0;
}

.footer-links a {
    color: #b0b0b0;
}

.footer-contact p {
    color: #b0b0b0;
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    color: #888;
}

/* Contact Page - Dark Theme */
.contact-page {
    background: #0b0f14;
}

.contact-hero h1 {
    color: #ffffff;
}

.contact-hero p {
    color: #b0b0b0;
}

.contact-content {
    background: #0b0f14;
}

.contact-info h2 {
    color: #ffffff;
}

.contact-item h3 {
    color: #b0b0b0;
}

/* Buttons - Adjust for dark theme */
.btn-secondary {
    color: #e0e0e0;
    border-color: #e0e0e0;
}

.btn-secondary:hover {
    background: #e0e0e0;
    color: #1a1a1a;
}

/* Hero overlay - slightly darker for better contrast with dark theme */
.hero-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
}

/* Scroll indicator */
.scroll-indicator {
    color: rgba(255, 255, 255, 0.8);
}

.scroll-line {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
}

/* Ensure navbar scroll effect works on dark theme */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}