/**
 * Services Page Styles
 * Cube Rebar Detailing & Estimation Services
 * 
 * Premium, Modern, Creative Design
 * Note: This file extends style.css - uses existing variables and base styles
 */

/* =========================================
   SERVICES HERO SECTION
   ========================================= */
.services-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.services-hero .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.services-hero .hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.services-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.75) 100%);
}

.services-hero .hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.services-hero .hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(196, 30, 58, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(107, 107, 107, 0.1) 0%, transparent 50%);
}

/* 2-Column Grid Layout - Same as Home Page */
.services-hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 992px) {
    .services-hero-container {
        grid-template-columns: 1fr 1fr;
    }
}

.services-hero-content {
    color: #000;
}

/* Hero Badge - Same as Home */
.services-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(45, 45, 45, 0.95);
    border-radius: var(--radius-full, 50px);
    margin-bottom: 1.5rem;
    color: #fff;
}

.services-hero .badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success, #10b981);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.services-hero-title {
    font-size: clamp(2rem, 5vw, 3.3rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #000;
}

.services-hero-title .gradient-text {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 2.5rem;
    max-width: 100%;
    position: relative;
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid rgba(196, 30, 58, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 4px 30px rgba(196, 30, 58, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: subtitleGlow 3s ease-in-out infinite;
}

.services-hero-subtitle::before {
    content: '✦';
    margin-right: 10px;
    color: #C41E3A;
    animation: starPulse 2s ease-in-out infinite;
}

.services-hero-subtitle::after {
    content: '✦';
    margin-left: 10px;
    color: #C41E3A;
    animation: starPulse 2s ease-in-out infinite 0.5s;
}

@keyframes subtitleGlow {

    0%,
    100% {
        box-shadow:
            0 4px 30px rgba(196, 30, 58, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    50% {
        box-shadow:
            0 4px 40px rgba(196, 30, 58, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.15),
            0 0 20px rgba(196, 30, 58, 0.15);
    }
}

@keyframes starPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Hero CTA Buttons */
.services-hero .hero-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Hero Visual - Same as Home Page */
.services-hero .hero-visual {
    display: none;
    position: relative;
}

@media (min-width: 992px) {
    .services-hero .hero-visual {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

/* Hero Slider Indicators */
.hero-slider-indicators {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 24px;
    position: relative;
    z-index: 10;
}

.hero-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(196, 30, 58, 0.3);
    border: 2px solid rgba(196, 30, 58, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-slider-dot:hover {
    background: rgba(196, 30, 58, 0.5);
    transform: scale(1.2);
}

.hero-slider-dot.active {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(196, 30, 58, 0.5);
}

/* Scroll Indicator */
.services-hero .scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
}

.services-hero .scroll-arrow {
    color: rgba(0, 0, 0, 0.4);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* =========================================
   SERVICES OVERVIEW STRIP
   ========================================= */
.services-overview-strip {
    background: #fff;
    padding: 60px 0;
    position: relative;
}

.overview-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.overview-content {
    flex: 0 0 300px;
}

.overview-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.overview-title span {
    color: var(--color-secondary);
}

.overview-text {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.overview-icons {
    display: flex;
    gap: 16px;
    flex-wrap: nowrap;
    justify-content: flex-end;
    flex: 1;
}

.overview-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 12px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 90px;
}

.overview-icon-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.15);
    border-color: var(--color-secondary);
}

.overview-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 30, 58, 0.1);
    border-radius: 12px;
    color: var(--color-secondary);
    transition: all 0.3s ease;
}

.overview-icon svg {
    width: 24px;
    height: 24px;
}

.overview-icon-item:hover .overview-icon {
    background: var(--color-secondary);
    color: #fff;
    transform: scale(1.1);
}

.overview-icon-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-align: center;
    white-space: nowrap;
}

/* =========================================
   SERVICES GRID SECTION
   ========================================= */
.services-grid-section {
    position: relative;
    background: var(--color-primary);
    padding: 150px 0;
    overflow: hidden;
}

.services-grid-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.grid-gradient-1 {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196, 30, 58, 0.3) 0%, transparent 70%);
    filter: blur(80px);
}

.grid-gradient-2 {
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    filter: blur(80px);
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

.services-grid-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(196, 30, 58, 0.1);
    border-radius: 50px;
    color: var(--color-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-label-light {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.section-label-light svg {
    fill: var(--color-secondary);
}

.services-grid-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.services-grid-title span {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-grid-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* Premium Service Cards Grid */
.services-premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.service-premium-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.service-premium-card:hover {
    transform: translateY(-10px);
}

.spc-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--color-secondary), transparent, var(--color-secondary));
    border-radius: 26px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-premium-card:hover .spc-glow {
    opacity: 0.5;
}

.spc-inner {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Card Image */
.spc-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.spc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-premium-card:hover .spc-image img {
    transform: scale(1.1);
}

.spc-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(15, 23, 42, 0.8) 100%);
}

.spc-number {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
}

/* Card Icon */
.spc-icon {
    position: absolute;
    top: 170px;
    left: 24px;
    width: 56px;
    height: 56px;
    background: var(--color-secondary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.4);
    z-index: 10;
    transition: transform 0.3s ease;
}

.spc-icon svg {
    width: 28px;
    height: 28px;
}

.service-premium-card:hover .spc-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* Card Content */
.spc-content {
    padding: 40px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.spc-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.spc-headline {
    font-size: 0.9rem;
    color: var(--color-secondary);
    font-weight: 500;
    margin-bottom: 12px;
}

.spc-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Card Features */
.spc-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.spc-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spc-features li:last-child {
    border-bottom: none;
}

.spc-features svg {
    color: var(--color-secondary);
    flex-shrink: 0;
}

/* Card Button */
.spc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.spc-btn:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: translateX(5px);
}

/* =========================================
   SERVICE DETAIL SECTIONS
   ========================================= */
.service-details-section {
    background: #f8fafc;
    padding: 80px 0;
}

.service-detail-block {
    padding: 60px 0;
    position: relative;
}

.service-detail-block::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #C41E3A, #DC143C, transparent);
    border-radius: 3px;
    opacity: 0.5;
}

.service-detail-block:last-child::after {
    display: none;
}

.sdb-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sdb-wrapper.sdb-reverse {
    direction: rtl;
}

.sdb-wrapper.sdb-reverse>* {
    direction: ltr;
}

/* Visual Side */
.sdb-visual {
    position: relative;
}

.sdb-image-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.sdb-image-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.sdb-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1) 0%, transparent 50%);
}

.sdb-floating-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--color-secondary);
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.4);
}

.sdb-floating-badge svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
}

/* Decorative Elements */
.sdb-deco {
    position: absolute;
    border-radius: 50%;
    background: var(--color-secondary);
    opacity: 0.1;
}

.sdb-deco-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
}

.sdb-deco-2 {
    width: 100px;
    height: 100px;
    bottom: -30px;
    left: -30px;
}

/* Content Side */
.sdb-content {
    padding: 20px;
}

.sdb-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 30, 58, 0.1);
    border-radius: 16px;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.sdb-icon svg {
    width: 32px;
    height: 32px;
}

.sdb-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.sdb-headline {
    font-size: 1.1rem;
    color: var(--color-secondary);
    font-weight: 600;
    margin-bottom: 16px;
}

.sdb-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Tabs */
.sdb-tabs {
    margin-bottom: 30px;
}

.sdb-tab-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 10px;
}

.sdb-tab-btn {
    padding: 10px 20px;
    background: transparent;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.sdb-tab-btn:hover {
    color: var(--color-primary);
    background: rgba(0, 0, 0, 0.05);
}

.sdb-tab-btn.active {
    color: #fff;
    background: var(--color-secondary);
}

.sdb-tab-pane {
    display: none;
}

.sdb-tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sdb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.sdb-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--color-text);
    padding: 10px 16px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.sdb-list svg {
    color: var(--color-secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

.sdb-list-benefits li {
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.05) 0%, transparent 100%);
}

.sdb-cta {
    margin-top: 10px;
}

/* =========================================
   PROCESS SECTION
   ========================================= */
.process-section {
    position: relative;
    background: var(--color-primary);
    padding: 150px 0;
    overflow: hidden;
}

.process-bg {
    position: absolute;
    inset: 0;
}

.process-gradient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(196, 30, 58, 0.15) 0%, transparent 60%);
    filter: blur(60px);
}

.process-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
}

.process-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.process-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.process-title span {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.process-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 auto;
}

/* Process Flow Layout - Snake/Zigzag Pattern */
.process-flow {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: relative;
    z-index: 2;
}

.process-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
}

.process-step {
    position: relative;
    text-align: center;
    padding: 28px 16px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 0;
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(196, 30, 58, 0.3);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.15);
}

.process-step-number {
    width: 50px;
    height: 50px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary);
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.4);
    position: relative;
    z-index: 2;
}

.process-step-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.process-step-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin: 0;
}

/* Horizontal Connector */
.process-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    flex-shrink: 0;
    align-self: center;
}

.connector-line {
    width: 22px;
    height: 2px;
    background: rgba(196, 30, 58, 0.7);
    position: relative;
    animation: connectorPulse 2s ease-in-out infinite;
}

.connector-arrow {
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    animation: connectorArrowBounce 1.5s ease-in-out infinite;
}

.connector-arrow-left {
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    animation: connectorArrowBounceLeft 1.5s ease-in-out infinite;
}

/* Vertical Row Connector */
.process-row-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 0;
}

.connector-down-right {
    align-self: flex-end;
    margin-right: 15%;
}

.connector-down-left {
    align-self: flex-start;
    margin-left: 15%;
}

.connector-line-vertical {
    width: 2px;
    height: 20px;
    background: rgba(196, 30, 58, 0.7);
    animation: connectorPulse 2s ease-in-out infinite;
}

.connector-arrow-down {
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    animation: connectorArrowBounceDown 1.5s ease-in-out infinite;
}

/* Animations */
@keyframes connectorPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

@keyframes connectorArrowBounce {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(3px);
    }
}

@keyframes connectorArrowBounceLeft {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-3px);
    }
}

@keyframes connectorArrowBounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(3px);
    }
}

/* =========================================
   INDUSTRIES SECTION
   ========================================= */
.industries-section {
    background: #f8fafc;
    padding: 100px 0;
}

.industries-header {
    text-align: center;
    margin-bottom: 60px;
}

.industries-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.industries-title span {
    color: var(--color-secondary);
}

.industries-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.industry-card {
    position: relative;
    height: 300px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.industry-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.industry-card:hover .industry-card-bg {
    transform: scale(1.1);
}

.industry-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.9) 100%);
    transition: background 0.3s ease;
}

.industry-card:hover .industry-card-overlay {
    background: linear-gradient(180deg, rgba(196, 30, 58, 0.4) 0%, rgba(196, 30, 58, 0.9) 100%);
}

.industry-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    color: #fff;
    z-index: 2;
}

.industry-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.industry-icon svg {
    width: 24px;
    height: 24px;
}

.industry-card:hover .industry-icon {
    background: #fff;
    color: var(--color-secondary);
    transform: scale(1.1);
}

.industry-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.industry-desc {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.5;
    margin: 0;
    color: #FFF;
}

/* =========================================
   TECHNOLOGIES & STANDARDS SECTION
   ========================================= */
.tech-standards-section {
    background: #fff;
    padding: 80px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.tech-standards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.tech-block,
.standards-block {
    padding: 40px;
    background: #f8fafc;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tech-block-header,
.standards-block-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.tech-block-icon,
.standards-block-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 30, 58, 0.1);
    border-radius: 16px;
    color: var(--color-secondary);
}

.tech-block-icon svg,
.standards-block-icon svg {
    width: 28px;
    height: 28px;
}

.tech-block-title,
.standards-block-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.tech-logos,
.standards-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.tech-logo-item,
.standard-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    min-width: 90px;
}

.tech-logo-item:hover,
.standard-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--color-secondary);
}

.tech-logo-item img,
.standard-logo-item img {
    width: 60px;
    height: 40px;
    object-fit: contain;
}

.tech-logo-name {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.tech-logo-text,
.standard-logo-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* =========================================
   RESPONSIVE STYLES
   ========================================= */
@media (max-width: 1200px) {
    .services-premium-grid {
        grid-template-columns: repeat(2, 1fr);
    }


}

@media (max-width: 991px) {
    .services-hero {
        min-height: auto;
        padding: 140px 0 100px;
    }

    .overview-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .overview-content {
        flex: none;
    }

    .overview-icons {
        justify-content: center;
    }

    .sdb-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sdb-wrapper.sdb-reverse {
        direction: ltr;
    }

    .tech-standards-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .services-hero-title {
        font-size: 2.25rem;
    }

    .hero-quick-stats {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .quick-stat-divider {
        width: 40px;
        height: 1px;
    }

    .services-premium-grid {
        grid-template-columns: 1fr;
    }

    .process-row {
        flex-direction: column;
        align-items: center;
    }

    .process-step {
        width: 100%;
        max-width: 400px;
    }

    .process-connector {
        transform: rotate(90deg);
        width: 40px;
        margin: 4px 0;
    }

    .process-row-connector {
        display: none;
    }

    .sdb-tab-nav {
        flex-wrap: wrap;
    }

    .sdb-tab-btn {
        flex: 1;
        min-width: 100px;
        text-align: center;
    }

    .overview-icon-item {
        min-width: 80px;
        padding: 12px;
    }

    .overview-icon-label {
        font-size: 0.7rem;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .services-hero {
        padding: 120px 0 80px;
    }

    .services-hero-title {
        font-size: 1.9rem;
    }

    .services-hero-subtitle {
        font-size: 1rem;
    }

    .services-hero .hero-cta-buttons {
        flex-direction: column;
    }

    .services-hero .btn {
        width: 100%;
        justify-content: center;
    }

    .sdb-image-container img {
        height: 280px;
    }

    .sdb-title {
        font-size: 1.5rem;
    }

    .tech-block,
    .standards-block {
        padding: 24px;
    }
}