/* =========================
   RESET & BASE
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f7fa;
    color: #1f2937;
    line-height: 1.8;
    overflow-x: hidden;
}

/* =========================
   HERO SECTION
========================= */

.performance-hero {
    position: relative;
    height: 78vh;
    min-height: 620px;
    background:
        linear-gradient(160deg, rgba(5, 14, 30, 0.82) 0%, rgba(10, 30, 65, 0.75) 100%),
        url("images/performance-banner.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    overflow: hidden;
}

/* Decorative bottom edge */
.performance-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: white;
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-content {
    max-width: 880px;
    z-index: 2;
    position: relative;
}

.small-title {
    color: #4da6ff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.small-title::before,
.small-title::after {
    content: '';
    display: inline-block;
    width: 32px;
    height: 1.5px;
    background: #4da6ff;
    opacity: 0.7;
}

.performance-hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4.6rem);
    color: white;
    font-weight: 700;
    line-height: 1.13;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
}

.hero-text {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    max-width: 720px;
    margin: auto;
    line-height: 1.85;
}

/* =========================
   GLOBAL SECTION
========================= */

section {
    padding: 110px 8%;
}

.section-heading {
    text-align: center;
    margin-bottom: 72px;
}

.section-subtitle {
    color: #0d6efd;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 14px;
    display: block;
}

.section-heading h2 {
    font-size: clamp(1.9rem, 3.8vw, 3rem);
    color: #0f172a;
    line-height: 1.22;
    max-width: 820px;
    margin: auto;
    font-weight: 700;
    letter-spacing: -0.3px;
}

/* Decorative underline accent */
.section-heading h2::after {
    content: '';
    display: block;
    width: 52px;
    height: 3px;
    background: linear-gradient(90deg, #0d6efd, #4da6ff);
    border-radius: 4px;
    margin: 20px auto 0;
}

/* =========================
   INTRO SECTION
========================= */

.intro-section {
    background: white;
    padding-top: 120px;
}

.intro-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    color: #0f172a;
    margin-bottom: 30px;
    line-height: 1.22;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.intro-text h2::after {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    background: linear-gradient(90deg, #0d6efd, #4da6ff);
    border-radius: 4px;
    margin-top: 18px;
}

.intro-text p {
    margin-bottom: 20px;
    color: #475569;
    font-size: 1.01rem;
    line-height: 1.85;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

.intro-image {
    width: 100%;
    position: relative;
}

/* Decorative offset frame behind image */
.intro-image::before {
    content: '';
    position: absolute;
    top: 22px;
    right: -22px;
    width: 100%;
    height: 100%;
    border: 2.5px solid rgba(13, 110, 253, 0.18);
    border-radius: 30px;
    z-index: 0;
}

.intro-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 620px;
    object-fit: cover;
    border-radius: 26px;
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.11);
    display: block;
}

/* =========================
   IMPORTANCE SECTION
========================= */

.importance-section {
    background: linear-gradient(160deg, #f0f5ff 0%, #eef4fb 60%, #e8f0fe 100%);
    position: relative;
}

.importance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.importance-card {
    background: white;
    padding: 40px 32px;
    border-radius: 20px;
    transition: transform 0.32s ease, box-shadow 0.32s ease;
    box-shadow: 0 8px 28px rgba(13, 110, 253, 0.06);
    border: 1px solid rgba(13, 110, 253, 0.07);
    position: relative;
    overflow: hidden;
}

/* Left accent bar */
.importance-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #0d6efd, #4da6ff);
    border-radius: 4px 0 0 4px;
    opacity: 0;
    transition: opacity 0.32s ease;
}

.importance-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 48px rgba(13, 110, 253, 0.1);
}

.importance-card:hover::before {
    opacity: 1;
}

.importance-card h3 {
    font-size: 1.15rem;
    margin-bottom: 13px;
    color: #0f172a;
    line-height: 1.4;
    font-weight: 600;
}

.importance-card p {
    color: #64748b;
    font-size: 0.96rem;
    line-height: 1.75;
}

/* =========================
   CAPABILITIES SECTION
========================= */

.capabilities-section {
    background: white;
}

.capabilities-intro {
    max-width: 880px;
    margin: -36px auto 70px;
    text-align: center;
    color: #64748b;
    font-size: 1.03rem;
    line-height: 1.85;
}

.capabilities-grid {
    display: grid;
    gap: 30px;
}

.capability-card {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.32s ease, box-shadow 0.32s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(13, 110, 253, 0.07);
    background: #f8fafd;
    position: relative;
}

.capability-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #0d6efd, #4da6ff);
    border-radius: 4px 0 0 4px;
    opacity: 0;
    transition: opacity 0.32s ease;
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 55px rgba(13, 110, 253, 0.1);
}

.capability-card:hover::before {
    opacity: 1;
}

.capability-image {
    display: none;
}

.capability-content {
    padding: 38px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.capability-content h3 {
    font-size: 1.55rem;
    margin-bottom: 16px;
    color: #0f172a;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.capability-content p {
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.85;
    margin-bottom: 14px;
}

.capability-content p:last-child {
    margin-bottom: 0;
}

/* =========================
   SERVICES SECTION
========================= */

.services-section {
    background:
        linear-gradient(150deg, rgba(5, 14, 30, 0.94) 0%, rgba(8, 22, 55, 0.92) 100%),
        url("images/services-bg.jpg") center/cover no-repeat;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Subtle grid pattern overlay */
.services-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.services-section .section-heading h2 {
    color: white;
}

.services-section .section-heading h2::after {
    background: linear-gradient(90deg, #4da6ff, rgba(77, 166, 255, 0.3));
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: -36px auto 60px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.03rem;
    line-height: 1.85;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
    position: relative;
}

.service-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    padding: 22px 24px;
    border-radius: 16px;
    font-weight: 500;
    font-size: 0.96rem;
    transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-item::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    min-width: 7px;
    background: #4da6ff;
    border-radius: 50%;
    opacity: 0.8;
}

.service-item:hover {
    transform: translateY(-4px);
    background: rgba(77, 166, 255, 0.12);
    border-color: rgba(77, 166, 255, 0.3);
}

/* =========================
   FOOTER
========================= */

footer {
    background: #07111f;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    padding: 28px 20px;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
}

/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #edf2f7;
}

::-webkit-scrollbar-thumb {
    background: #b6c2d1;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0d6efd;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
    .capability-content {
        padding: 32px 36px;
    }
}

@media (max-width: 992px) {
    section {
        padding: 90px 7%;
    }

    .intro-container {
        grid-template-columns: 1fr;
    }

    .intro-image::before {
        display: none;
    }

    .intro-image img {
        height: 460px;
    }

    .performance-hero {
        height: auto;
        padding: 140px 20px 100px;
    }

    .performance-hero::after {
        height: 50px;
    }
}

@media (max-width: 768px) {
    .performance-hero h1 {
        font-size: 2.6rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .intro-text h2 {
        font-size: 2rem;
    }

    .section-heading h2 {
        font-size: 2rem;
    }

    .capability-content {
        padding: 32px 28px;
    }

    .capability-content h3 {
        font-size: 1.35rem;
    }

    .intro-image img {
        height: 380px;
    }

    .importance-card {
        padding: 32px 26px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 72px 6%;
    }

    .performance-hero h1 {
        font-size: 2rem;
    }

    .performance-hero::after {
        display: none;
    }

    .importance-card {
        padding: 28px 22px;
    }

    .capability-image {
        min-height: 220px;
    }

    .service-item {
        padding: 18px 20px;
    }
}

/* =========================
   EQUIPMENT SECTION
========================= */

.equipment-section {
    background: linear-gradient(160deg, #f0f5ff 0%, #eef4fb 60%, #e8f0fe 100%);
}

.equipment-intro {
    max-width: 820px;
    margin: -36px auto 70px;
    text-align: center;
    color: #64748b;
    font-size: 1.03rem;
    line-height: 1.85;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
}

.equipment-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(13, 110, 253, 0.06);
    border: 1px solid rgba(13, 110, 253, 0.07);
    transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.equipment-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(13, 110, 253, 0.11);
}

.equipment-img-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.equipment-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.equipment-card:hover .equipment-img-wrap img {
    transform: scale(1.05);
}

.equipment-info {
    padding: 22px 26px 26px;
    border-top: 1px solid rgba(13, 110, 253, 0.07);
}

.equipment-info h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
    line-height: 1.4;
}

.equipment-spec {
    font-size: 0.87rem;
    color: #0d6efd;
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* =========================
   OUR WORKS SECTION
========================= */

.works-section {
    background: white;
}

.works-intro {
    max-width: 820px;
    margin: -36px auto 70px;
    text-align: center;
    color: #64748b;
    font-size: 1.03rem;
    line-height: 1.85;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.work-card {
    background: #f8fafd;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(13, 110, 253, 0.05);
    border: 1px solid rgba(13, 110, 253, 0.07);
    transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.work-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 52px rgba(13, 110, 253, 0.10);
}

.work-img-wrap {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #eef4ff 0%, #dde9ff 100%);
}

.work-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.work-card:hover .work-img-wrap img {
    transform: scale(1.06);
}

/* Hover overlay */
.work-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 110, 253, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.work-card:hover .work-overlay {
    opacity: 1;
}

.work-overlay span {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    padding: 10px 26px;
    border-radius: 50px;
}

.work-info {
    padding: 24px 28px 30px;
    border-top: 1px solid rgba(13, 110, 253, 0.07);
}

.work-info h4 {
    font-size: 1.08rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.4;
}

.work-info p {
    font-size: 0.93rem;
    color: #64748b;
    line-height: 1.75;
}

/* =========================
   RESPONSIVE — NEW SECTIONS
========================= */

@media (max-width: 768px) {
    .equipment-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .works-grid {
        grid-template-columns: 1fr;
    }

    .work-img-wrap {
        height: 210px;
    }

    .equipment-img-wrap {
        height: 190px;
    }
}

@media (max-width: 480px) {
    .equipment-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .equipment-img-wrap {
        height: 150px;
        padding: 14px;
    }

    .equipment-info {
        padding: 16px 18px 20px;
    }

    .equipment-info h4 {
        font-size: 0.93rem;
    }
}