﻿/* =====================================================
   SERVICES / INDUSTRY PAGES – FINAL CLEAN VERSION
   ===================================================== */

/* ===========================
   HERO SECTION (BASE)
   =========================== */

.services-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

    /* Light overlay – keeps images visible */
    .services-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( rgba(6, 23, 43, 0.25), rgba(6, 23, 43, 0.35) );
        z-index: 1;
        pointer-events: none;
    }

/* Hero content */
.services-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 30px;
}

.services-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 3px 10px rgba(0,0,0,0.45);
}

.services-hero p {
    font-size: 1.25rem;
    color: #e3ecf7;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.service-box {
    background: #ffffff;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
    padding: 40px 25px;
}

    .service-box:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }


/* ===========================
   HERO IMAGE VARIANTS
   =========================== */

.aviation-hero {
    background-image: url('/images/Industry/aviation.png');
}

.defense-hero {
    background-image: url('/images/Industry/defense.png');
}

.automotive-hero {
    background-image: url('/images/Industry/automotive.png');
}

.manufacturing-hero {
    background-image: url('/images/Industry/manufacturing.png');
}

.smart-grid-hero {
    background-image: url('/images/Industry/smart_grid.png');
}

.transportation-hero {
    background-image: url('/images/Industry/transportation.png');
}

.smart-road-hero {
    background-image: url('/images/Industry/SmartRoadInfra.png');
}

/* =====================================================
   SERVICE SECTIONS – IMAGE + CONTENT (REFERENCE STYLE)
   ===================================================== */

.service-block {
    display: flex;
    min-height: 520px;
    background: #050f1e;
}

    .service-block.reverse {
        flex-direction: row-reverse;
    }

/* Left / Right Image */
.service-image {
    flex: 1;
    background-size: cover;
    background-position: center;
}

/* Content area */
.service-content {
    flex: 1;
    padding: 80px 70px;
    color: #e5f1ff;
}

    .service-content h2 {
        color: #4fc3f7;
        font-size: 2.2rem;
        margin-bottom: 12px;
    }

    .service-content h4 {
        color: #9fd4ff;
        font-size: 1.2rem;
        margin-top: 22px;
    }

    .service-content p {
        font-size: 1.05rem;
        line-height: 1.8;
        margin-top: 12px;
        color: #dbe9f6;
    }

    .service-content ul {
        margin-top: 16px;
        padding-left: 20px;
    }

    .service-content li {
        margin-bottom: 10px;
        line-height: 1.6;
        color: #cfe3f7;
    }

/* =====================================================
   OPTIONAL GLASS CARD (REUSABLE)
   ===================================================== */

.service-section {
    padding: 90px 20px;
    display: flex;
    justify-content: center;
}

.service-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    max-width: 1100px;
    width: 100%;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 15px 40px rgba(0,0,0,0.55);
}

    .service-card h2 {
        color: #7EC8FF;
        font-size: 2.2rem;
        margin-bottom: 25px;
    }

    .service-card p {
        color: #f2f6fb;
        font-size: 1.05rem;
        line-height: 1.85;
    }

/* =====================================================
   HIGHLIGHT BOXES
   ===================================================== */

.service-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 35px;
}

.highlight-box {
    background: rgba(10, 61, 98, 0.30);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 25px;
    border-radius: 14px;
    text-align: center;
    transition: 0.3s ease;
}

    .highlight-box:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 28px rgba(0,0,0,0.45);
    }

    .highlight-box h5 {
        color: #4D9CFF;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .highlight-box p {
        font-size: 0.9rem;
        color: #d6e2f1;
    }
.ai-highlight {
    background: rgba(255,255,255,0.94);
    border-radius: 16px;
    padding: 35px 45px;
    margin-top: -10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}


    .ai-highlight h3 {
        font-size: 28px;
    }
.dropdown-item {
    white-space: normal !important; /* allows wrapping */
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 992px) {
    .service-block,
    .service-block.reverse {
        flex-direction: column;
    }

    .service-image {
        min-height: 280px;
    }

    .service-content {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 2.2rem;
    }

    .services-hero p {
        font-size: 1.05rem;
    }

    .service-card {
        padding: 30px;
    }
}
