/* ===== GEOMASTER SOLUTIONS - HOME SECTIONS (Dark Tech Theme) ===== */

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0.9) 50%, rgba(10, 10, 15, 0.85) 100%);
    z-index: 1;
}

/* Hero grid background pattern */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-12);
    padding-top: var(--space-20);
}

.hero-content {
    max-width: 650px;
}

.hero-content h1 {
    color: var(--text-heading, #fff);
    font-size: var(--text-4xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    text-shadow: 0 0 40px rgba(0, 240, 255, 0.15);
}

.hero-content p {
    color: var(--text-primary, #e5e7eb);
    font-size: var(--text-lg);
    line-height: 1.7;
    margin-bottom: var(--space-8);
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-bottom: var(--space-10);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.hero-trust span {
    color: var(--text-muted, #9ca3af);
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.hero-trust span i {
    color: var(--accent, #00f0ff);
}

.hero-trust .trust-divider {
    width: 1px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero illustration area */
.hero-visual {
    flex-shrink: 0;
    width: 450px;
    height: 400px;
    display: none; /* shown on desktop via responsive.css */
}

/* ===== VALUE PROPOSITION ===== */
.value-proposition {
    background-color: var(--bg-secondary, #111827);
    padding: var(--section-padding);
    border-bottom: none;
    position: relative;
}

.value-proposition::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.2), transparent);
}

.value-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

/* ===== SERVICES SECTION ===== */
.services {
    background-color: var(--bg-primary, #0a0a0f);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.2), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

/* ===== SOLUTIONS SECTION ===== */
.solutions {
    background-color: var(--bg-secondary, #111827);
    padding: var(--section-padding-lg);
    position: relative;
}

.solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.2), transparent);
}

/* Flagship showcase - glassmorphism */
.solution-flagship {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    margin-bottom: var(--space-12);
    border: 1px solid var(--border-accent, rgba(0, 240, 255, 0.15));
    box-shadow: var(--shadow, 0 4px 24px rgba(0, 0, 0, 0.3));
}

.solution-flagship__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
    align-items: center;
}

.solution-flagship__mockup {
    position: relative;
}

.solution-flagship__mockup .img-placeholder {
    aspect-ratio: 4/3;
    max-width: 100%;
    border-radius: var(--radius-lg);
}

.solution-flagship__content .badge {
    margin-bottom: var(--space-4);
}

.solution-flagship__content h3 {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--text-accent, #00f0ff);
    margin-bottom: var(--space-2);
}

.solution-flagship__content .subtitle {
    font-size: var(--text-md);
    color: var(--text-muted, #9ca3af);
    margin-bottom: var(--space-6);
}

.solution-flagship__content .description {
    font-size: var(--text-base);
    color: var(--text-primary, #e5e7eb);
    line-height: 1.7;
    margin-bottom: var(--space-8);
}

/* Features grid inside flagship */
.solution-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.solution-feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--text-primary, #e5e7eb);
}

.solution-feature-item i {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    background-color: rgba(0, 240, 255, 0.1);
    color: var(--accent, #00f0ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.solution-target {
    font-size: var(--text-sm);
    color: var(--text-muted, #9ca3af);
    margin-bottom: var(--space-6);
    padding: var(--space-3) var(--space-4);
    background-color: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.solution-target i {
    color: var(--accent, #00f0ff);
}

.solution-flagship__actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* Other solutions grid */
.solutions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

/* ===== INDUSTRIES SECTION ===== */
.industries {
    background-color: var(--bg-primary, #0a0a0f);
    position: relative;
}

.industries::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.2), transparent);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    background-color: var(--bg-secondary, #111827);
    position: relative;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.2), transparent);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    margin-bottom: var(--space-10);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--space-2) var(--space-6);
    border: 2px solid var(--border-accent, rgba(0, 240, 255, 0.15));
    background: transparent;
    border-radius: var(--radius-xl);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-muted, #9ca3af);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--accent, #00f0ff);
    color: var(--accent, #00f0ff);
}

.filter-btn.active {
    border-color: var(--accent, #00f0ff);
    background-color: var(--accent, #00f0ff);
    color: var(--bg-primary, #0a0a0f);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

/* ===== PROCESS SECTION (How We Work) ===== */
.process {
    background-color: var(--bg-primary, #0a0a0f);
    position: relative;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.2), transparent);
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
    position: relative;
}

/* Connecting line between steps (desktop only) */
.process-grid::after {
    display: none; /* shown on desktop */
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background-color: var(--bg-secondary, #111827);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.2), transparent);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.prev-btn,
.next-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    border: 2px solid var(--border-accent, rgba(0, 240, 255, 0.15));
    background: var(--bg-card, #1a1a2e);
    color: var(--text-primary, #e5e7eb);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    font-size: var(--text-sm);
}

.prev-btn:hover,
.next-btn:hover {
    border-color: var(--accent, #00f0ff);
    background-color: var(--accent, #00f0ff);
    color: var(--bg-primary, #0a0a0f);
}

.testimonial-dots {
    display: flex;
    gap: var(--space-2);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot.active {
    background-color: var(--accent, #00f0ff);
    transform: scale(1.2);
}

/* ===== TRUST SECTION ===== */
.trust {
    background-color: var(--bg-primary, #0a0a0f);
    color: #fff;
    position: relative;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.trust::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.2), transparent);
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
}

.trust-item {
    text-align: center;
}

.trust-item__icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-full);
    background-color: rgba(0, 240, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    border: 1px solid rgba(0, 240, 255, 0.15);
}

.trust-item__icon i {
    font-size: 1.75rem;
    color: var(--accent, #00f0ff);
}

.trust-item h3 {
    color: var(--text-heading, #fff);
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.trust-item p {
    color: var(--text-muted, #9ca3af);
    font-size: var(--text-sm);
    line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--bg-primary, #0a0a0f) 0%, var(--bg-card, #1a1a2e) 50%, var(--bg-primary, #0a0a0f) 100%);
    color: #fff;
    text-align: center;
    padding: var(--section-padding-lg);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 240, 255, 0.15);
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
}

.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    border-radius: var(--radius-full);
}

.cta-section::before {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.06) 0%, transparent 70%);
}

.cta-section::after {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -50px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: var(--text-heading, #fff);
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
}

.cta-section p {
    color: var(--text-primary, #e5e7eb);
    font-size: var(--text-lg);
    max-width: 600px;
    margin: 0 auto var(--space-8);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background-color: var(--bg-secondary, #111827);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.2), transparent);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.contact-info h3 {
    font-size: var(--text-2xl);
    color: var(--text-accent, #00f0ff);
    margin-bottom: var(--space-2);
}

.contact-info > p {
    color: var(--text-muted, #9ca3af);
    margin-bottom: var(--space-4);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.contact-item__icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background-color: rgba(0, 240, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(0, 240, 255, 0.1);
}

.contact-item__icon i {
    font-size: 1.1rem;
    color: var(--accent, #00f0ff);
}

.contact-item h4 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-heading, #fff);
    margin-bottom: var(--space-1);
}

.contact-item p,
.contact-item a {
    font-size: var(--text-sm);
    color: var(--text-muted, #9ca3af);
}

.contact-item a:hover {
    color: var(--accent, #00f0ff);
}

.contact-social {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.contact-social a {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background-color: var(--bg-card, #1a1a2e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent, #00f0ff);
    font-size: var(--text-base);
    transition: all var(--transition-fast);
    border: 1px solid var(--border-accent, rgba(0, 240, 255, 0.15));
}

.contact-social a:hover {
    background-color: var(--accent, #00f0ff);
    color: var(--bg-primary, #0a0a0f);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow, 0 0 20px rgba(0, 240, 255, 0.3));
}

/* ===== RESPONSIVE OVERRIDES FOR SECTIONS ===== */
@media (min-width: 576px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solution-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr 2fr;
    }
}

@media (min-width: 992px) {
    .hero-content h1 {
        font-size: var(--text-5xl);
    }

    .hero-visual {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .value-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

    /* 5 service cards: 3 top + 2 bottom centered */
    .services-grid-5 {
        grid-template-columns: repeat(6, 1fr);
    }

    .services-grid-5 .card-service:nth-child(1) { grid-column: 1 / 3; }
    .services-grid-5 .card-service:nth-child(2) { grid-column: 3 / 5; }
    .services-grid-5 .card-service:nth-child(3) { grid-column: 5 / 7; }
    .services-grid-5 .card-service:nth-child(4) { grid-column: 2 / 4; }
    .services-grid-5 .card-service:nth-child(5) { grid-column: 4 / 6; }

    .solution-flagship__inner {
        grid-template-columns: 1fr 1fr;
    }

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

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

    .process-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Process connecting line */
    .process-grid::after {
        display: block;
        content: '';
        position: absolute;
        top: 32px;
        left: 10%;
        right: 10%;
        height: 2px;
        background: linear-gradient(90deg, var(--accent, #00f0ff), var(--accent-green, #10b981));
        z-index: 0;
    }

    .step {
        position: relative;
        z-index: 1;
    }
}
