/* ================================
   SERVICES SECTION
   ================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-6);
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   STATISTICS SECTION
   ================================ */
.stats-section {
    background: var(--primary-600);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    position: relative;
    z-index: 1;
}

.stats-item {
    text-align: center;
    padding: var(--space-8);
}

.stats-item .number {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    display: block;
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stats-item .label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .stats-item .number {
        font-size: 2.5rem;
    }

    .stats-item {
        padding: var(--space-6);
    }
}

/* ================================
   WHY CHOOSE US SECTION
   ================================ */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.why-us-content .overline {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-600);
    margin-bottom: var(--space-3);
}

.why-us-content h2 {
    margin-bottom: var(--space-4);
}

.why-us-content>p {
    font-size: 1.125rem;
    margin-bottom: var(--space-8);
}

.features-list {
    margin-top: var(--space-8);
}

.why-us-image {
    position: relative;
}

.why-us-image img {
    width: 100%;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

.why-us-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 160px;
    height: 160px;
    background: var(--primary-100);
    border-radius: var(--radius-2xl);
    z-index: -1;
}

@media (max-width: 1024px) {
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .why-us-image::before {
        display: none;
    }
}

/* ================================
   PARTNERS SECTION
   ================================ */
.partners-section {
    background: var(--bg-secondary);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-4);
}

@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================================
   TESTIMONIALS SECTION
   ================================ */
.testimonials-section {
    background: var(--bg-secondary);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

@media (max-width: 1024px) {
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
}

/* ================================
   BLOG SECTION
   ================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   CTA SECTION
   ================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-900) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../assets/images/team-work.jpg') center/cover;
    opacity: 0.15;
    mask-image: linear-gradient(to left, black 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 0%, transparent 100%);
}

.cta-card {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    padding: var(--space-16) 0;
}

.cta-card h2 {
    color: var(--white);
    margin-bottom: var(--space-4);
}

.cta-card p {
    font-size: 1.125rem;
    color: var(--neutral-200);
    margin-bottom: var(--space-8);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
}

/* ================================
   ABOUT PAGE - FULL WIDTH IMAGE
   ================================ */
.full-image-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}

.full-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.full-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-16);
}

.full-image-overlay .container {
    color: white;
}

/* ================================
   TWO COLUMN CONTENT
   ================================ */
.two-col-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.two-col-content.reverse {
    direction: rtl;
}

.two-col-content.reverse>* {
    direction: ltr;
}

.two-col-content img {
    width: 100%;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

@media (max-width: 1024px) {
    .two-col-content {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .two-col-content.reverse {
        direction: ltr;
    }
}

/* ================================
   INDUSTRIES GRID
   ================================ */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.industry-card {
    position: relative;
    height: 320px;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.industry-card:hover img {
    transform: scale(1.05);
}

.industry-card-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-6);
    color: white;
}

.industry-card h3 {
    color: white;
    margin-bottom: var(--space-2);
}

.industry-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
}