/* ================================
   Ads-Mesh Styles - Light Theme
   ================================ */

/* CSS Variables */
:root {
    /* Colors - Light Theme */
    --color-primary: #2C886E;
    --color-primary-dark: #1F6F5A;
    --color-secondary: #8FBC8F;
    --color-sage: #C3D8CA;
    --color-white: #FFFFFF;
    --color-light-bg: #F9FAFB;
    --color-text-dark: #1C221A;
    --color-text-body: #4B5563;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2C886E 0%, #1F6F5A 100%);
    --gradient-hero: linear-gradient(135deg, rgba(44, 136, 110, 0.05) 0%, rgba(143, 188, 143, 0.08) 100%);
    --gradient-section: linear-gradient(180deg, #F9FAFB 0%, #E9F4E9 100%);

    /* Typography */
    --font-display: 'League Spartan', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 6rem 0;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-body);
    background: var(--color-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-dark);
}

/* ================================
   Navigation
   ================================ */

.nav-link {
    color: var(--color-text-body);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0 0.75rem;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-mobile {
    color: var(--color-text-body);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 0;
    display: block;
    transition: color 0.3s ease;
}

.nav-link-mobile:hover {
    color: var(--color-primary);
}

/* Logo */
.logo-text {
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-display);
}

.logo-img {
    /* Fluid height scaling for larger screens */
    height: clamp(50px, 8vw, 80px);
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}

@media (max-width: 768px) {
    .logo-img {
        /* Specific mobile dimensions requested */
        width: 360px;
        height: 120px;
        max-width: calc(100% - 60px);
        /* Preventing overflow and overlapping with menu button */
    }
}

/* ================================
   Buttons
   ================================ */

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(44, 136, 110, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 136, 110, 0.35);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ================================
   Hero Section
   ================================ */

.hero-section {
    background-image: url('hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(44, 136, 110, 0.15) 100%);
    pointer-events: none;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-align: left;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--color-text-body);
    line-height: 1.7;
    text-align: left;
}

/* ================================
   Sections
   ================================ */

.section-white {
    padding: var(--section-padding);
    background: var(--color-white);
}

.section-gradient {
    padding: var(--section-padding);
    background: var(--gradient-section);
}

/* Background Image Sections */
.section-with-bg {
    position: relative;
    background-image: url('hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-with-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.92) 100%);
    pointer-events: none;
    z-index: 0;
}

.section-with-bg>* {
    position: relative;
    z-index: 1;
}

.section-with-bg-inverted {
    position: relative;
    background-image: url('hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scaleY(-1);
}

.section-with-bg-inverted::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.92) 100%);
    pointer-events: none;
    z-index: 0;
}

.section-with-bg-inverted>* {
    position: relative;
    z-index: 1;
    transform: scaleY(-1);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.section-title-dark {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--color-text-body);
    font-weight: 500;
}

.section-subtitle-dark {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--color-text-body);
    font-weight: 500;
}

/* ================================
   Performance Cards
   ================================ */

.performance-card {
    background: var(--color-white);
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(44, 136, 110, 0.1);
}

.performance-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(44, 136, 110, 0.15);
    border-color: var(--color-primary);
}

.performance-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--color-primary);
    font-family: var(--font-display);
    display: inline;
}

.performance-suffix {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--color-primary);
    font-family: var(--font-display);
    display: inline;
}

.performance-label {
    font-size: 0.875rem;
    color: var(--color-text-body);
    margin-top: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ================================
   Solution Cards - Light Theme
   ================================ */

.solution-card-light {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(44, 136, 110, 0.15);
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.solution-card-light:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(44, 136, 110, 0.15);
    border-color: var(--color-primary);
}

.solution-icon-light {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 1.5rem;
}

.solution-title-light {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.solution-description-light {
    color: var(--color-text-body);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ================================
   Process Flow
   ================================ */

.process-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.process-step-light {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 1.5rem;
}

.process-number-light {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-display);
    margin-bottom: 1rem;
}

.process-title-light {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 0.75rem;
}

.process-description-light {
    color: var(--color-text-body);
    line-height: 1.6;
    font-size: 0.9375rem;
}

.process-arrow {
    font-size: 2rem;
    color: var(--color-primary);
    font-weight: 300;
}

/* ================================
   Feature Cards - Light Theme
   ================================ */

.feature-card-light {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(44, 136, 110, 0.15);
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.feature-card-light:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(44, 136, 110, 0.12);
    border-color: var(--color-primary);
}

.feature-icon-wrapper-light {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.feature-title-light {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 0.75rem;
}

.feature-description-light {
    color: var(--color-text-body);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ================================
   Technology Cards
   ================================ */

.tech-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(44, 136, 110, 0.15);
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.tech-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(44, 136, 110, 0.12);
    border-color: var(--color-primary);
}

.tech-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 0.75rem;
}

.tech-description {
    color: var(--color-text-body);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ================================
   Metrics
   ================================ */

.metric-card-light {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(44, 136, 110, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.metric-card-light:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(44, 136, 110, 0.12);
    border-color: var(--color-primary);
}

.metric-value-light {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-display);
}

.metric-label-light {
    font-size: 0.875rem;
    color: var(--color-text-body);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* ================================
   Visuals
   ================================ */

.about-visual,
.global-visual {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-circle,
.global-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.08;
    position: absolute;
    animation: floatSoft 6s ease-in-out infinite;
}

.about-pulse,
.global-pulse {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid var(--color-primary);
    position: absolute;
    animation: pulseSlow 3s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* ================================
   CTA Section
   ================================ */

.cta-section-light {
    padding: 6rem 0;
    background: var(--gradient-section);
}

.cta-title-light {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
}

.cta-subtitle-light {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--color-text-body);
    line-height: 1.7;
    max-width: 42rem;
    margin: 0 auto;
}

/* ================================
   Contact Form
   ================================ */

.contact-form {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(44, 136, 110, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--color-white);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(44, 136, 110, 0.1);
}

.form-success {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 2px solid #10B981;
}

/* ================================
   Footer
   ================================ */

.footer-section-light {
    background: var(--color-white);
    padding: 4rem 0 2rem;
    border-top: 1px solid #E5E7EB;
}

/* ================================
   Animations
   ================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
}

.delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
}

.delay-3 {
    animation-delay: 0.6s;
    opacity: 0;
}

@keyframes floatSoft {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulseSlow {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    75%,
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   Responsive Design
   ================================ */

@media (max-width: 1024px) {
    .process-arrow {
        display: none;
    }

    .process-flow {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
    }

    .contact-form {
        padding: 2rem;
    }

    .about-visual,
    .global-visual {
        height: 300px;
    }

    .about-circle,
    .global-circle {
        width: 200px;
        height: 200px;
    }

    .about-pulse,
    .global-pulse {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 640px) {
    .hero-section {
        min-height: auto;
        padding: 6rem 0 4rem;
    }

    .hero-title {
        text-align: center;
    }

    .hero-subtitle {
        text-align: center;
    }

    .performance-card {
        padding: 2rem 1rem;
    }
}