/* =========================================================
   M&N BOREHOLE DRILLING ENGINEERS
   SERVICES PAGE STYLESHEET
========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {

    --deep-navy: #07101F;
    --midnight-blue: #0D1B2E;

    --royal-blue: #0759C9;
    --electric-blue: #00A9FF;

    --gold: #D99A00;
    --bright-gold: #F5B800;

    --silver: #C9D1D9;

    --white: #FFFFFF;
    --soft-white: #E8EDF3;

    --header-height: 84px;

    --container-width: 1240px;

    --transition-fast: 0.25s ease;
    --transition: 0.4s ease;
    --transition-slow: 0.7s ease;

}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}


body {

    font-family: "Inter", sans-serif;

    background: var(--deep-navy);

    color: var(--white);

    line-height: 1.7;

    overflow-x: hidden;

}


body::-webkit-scrollbar {
    width: 8px;
}


body::-webkit-scrollbar-track {
    background: var(--deep-navy);
}


body::-webkit-scrollbar-thumb {
    background: var(--royal-blue);
}


body::-webkit-scrollbar-thumb:hover {
    background: var(--electric-blue);
}


::selection {
    background: var(--electric-blue);
    color: var(--white);
}


img {
    display: block;
    width: 100%;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
textarea,
select {
    font: inherit;
}


button {
    border: 0;
}


.container {

    width: min(
        calc(100% - 48px),
        var(--container-width)
    );

    margin: 0 auto;

}


.section-padding {
    padding: 120px 0;
}


section {
    scroll-margin-top: var(--header-height);
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4 {

    font-family: "Montserrat", sans-serif;

    line-height: 1.12;

}


h1,
h2,
h3 {
    letter-spacing: -0.025em;
}


p {
    color: var(--silver);
}


.section-label {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 22px;

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.2em;

    color: var(--electric-blue);

}


.section-label::before {

    content: "";

    width: 28px;

    height: 2px;

    background: var(--bright-gold);

}


/* =========================================================
   BUTTONS
========================================================= */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 13px;

    min-height: 52px;

    padding: 0 25px;

    font-size: 0.82rem;

    font-weight: 700;

    letter-spacing: 0.04em;

    border: 1px solid transparent;

    transition:
        transform var(--transition-fast),
        background var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast);

}


.btn i {

    font-size: 0.78rem;

    transition: transform var(--transition-fast);

}


.btn:hover i {
    transform: translateX(4px);
}


.btn:hover {
    transform: translateY(-2px);
}


.btn-primary {

    background: var(--bright-gold);

    color: var(--deep-navy);

}


.btn-primary:hover {

    background: var(--white);

    color: var(--deep-navy);

}


.btn-outline {

    border-color: rgba(255, 255, 255, 0.35);

    color: var(--white);

    background: rgba(7, 16, 31, 0.2);

}


.btn-outline:hover {

    border-color: var(--electric-blue);

    background: rgba(0, 169, 255, 0.1);

    color: var(--white);

}


.btn-whatsapp {

    border-color: rgba(255, 255, 255, 0.3);

    color: var(--white);

    background: rgba(255, 255, 255, 0.06);

}


.btn-whatsapp:hover {

    background: var(--royal-blue);

    border-color: var(--royal-blue);

}


/* =========================================================
   HEADER
========================================================= */

.site-header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height: var(--header-height);

    z-index: 1000;

    background: rgba(7, 16, 31, 0.82);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        background var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);

}


.site-header.scrolled {

    background: rgba(7, 16, 31, 0.97);

    border-bottom-color: rgba(0, 169, 255, 0.14);

    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.3);

}


.header-container {

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 35px;

}


/* =========================================================
   BRAND
========================================================= */

.brand-logo {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    flex-shrink: 0;

}


.brand-mark {

    width: 46px;
    height: 46px;

    display: grid;

    place-items: center;

    background-image: url("../images/logo.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: transparent;

    font-size: 0;
    line-height: 0;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;

    box-shadow:
        0 8px 24px rgba(0, 89, 201, 0.22);

}


.brand-text {

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.brand-name {

    font-family: "Montserrat", sans-serif;

    font-size: 1.05rem;

    font-weight: 800;

    line-height: 1;

    letter-spacing: 0.02em;

}


.brand-subtitle {

    margin-top: 5px;

    color: var(--silver);

    font-size: 0.46rem;

    font-weight: 700;

    letter-spacing: 0.13em;

    white-space: nowrap;

}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.main-navigation {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 4px;

    margin-left: auto;

}


.nav-link {

    position: relative;

    padding: 10px 12px;

    color: var(--silver);

    font-size: 0.77rem;

    font-weight: 600;

    white-space: nowrap;

    transition:
        color var(--transition-fast);

}


.nav-link::after {

    content: "";

    position: absolute;

    left: 12px;
    right: 12px;

    bottom: 3px;

    height: 2px;

    background: var(--bright-gold);

    transform: scaleX(0);

    transform-origin: center;

    transition: transform var(--transition-fast);

}


.nav-link:hover,
.nav-link.active {

    color: var(--white);

}


.nav-link:hover::after,
.nav-link.active::after {

    transform: scaleX(1);

}


/* =========================================================
   HEADER CTA
========================================================= */

.header-cta {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;

    padding: 13px 18px;

    background: var(--royal-blue);

    color: var(--white);

    font-size: 0.73rem;

    font-weight: 700;

    border: 1px solid rgba(0, 169, 255, 0.3);

    transition:
        background var(--transition-fast),
        transform var(--transition-fast);

}


.header-cta i {
    font-size: 0.68rem;
}


.header-cta:hover {

    background: var(--electric-blue);

    color: var(--deep-navy);

    transform: translateY(-2px);

}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu-toggle {

    display: none;

    width: 46px;
    height: 46px;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;

    background: transparent;

    cursor: pointer;

}


.mobile-menu-toggle span {

    display: block;

    width: 24px;

    height: 2px;

    background: var(--white);

    transition:
        transform var(--transition-fast),
        opacity var(--transition-fast);

}


.mobile-menu-toggle.active span:nth-child(1),
.mobile-menu-toggle.open span:nth-child(1) {

    transform: translateY(7px) rotate(45deg);

}


.mobile-menu-toggle.active span:nth-child(2),
.mobile-menu-toggle.open span:nth-child(2) {

    opacity: 0;

}


.mobile-menu-toggle.active span:nth-child(3),
.mobile-menu-toggle.open span:nth-child(3) {

    transform: translateY(-7px) rotate(-45deg);

}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

.mobile-navigation {

    position: fixed;

    top: var(--header-height);

    left: 0;

    width: 100%;

    z-index: 999;

    padding: 20px 24px 28px;

    background: rgba(7, 16, 31, 0.98);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(20px);

    display: flex;

    flex-direction: column;

    gap: 4px;

    opacity: 0;

    visibility: hidden;

    transform: translateY(-12px);

    transition:
        opacity var(--transition),
        visibility var(--transition),
        transform var(--transition);

}


.mobile-navigation.active,
.mobile-navigation.open {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}


.mobile-nav-link {

    padding: 14px 12px;

    color: var(--silver);

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    font-size: 0.85rem;

    font-weight: 600;

}


.mobile-nav-link.active,
.mobile-nav-link:hover {

    color: var(--electric-blue);

}


.mobile-mobile-cta {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin-top: 12px;

    min-height: 50px;

    background: var(--bright-gold);

    color: var(--deep-navy);

    font-size: 0.78rem;

    font-weight: 800;

}


/* =========================================================
   SERVICES HERO
========================================================= */

.services-hero {

    position: relative;

    min-height: 820px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background: var(--deep-navy);

}


.services-hero-background {

    position: absolute;

    inset: 0;

    background-image:
        url("https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=2200&q=90");

    background-size: cover;

    background-position: center;

    transform: scale(1.02);

}


.services-hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7, 16, 31, 0.98) 0%,
            rgba(7, 16, 31, 0.91) 42%,
            rgba(7, 16, 31, 0.65) 70%,
            rgba(7, 16, 31, 0.78) 100%
        );


}


.services-hero::after {

    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(0, 169, 255, 0.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(0, 169, 255, 0.04) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        linear-gradient(
            to right,
            black,
            transparent 80%
        );

}


.services-hero-container {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(340px, 0.75fr);

    align-items: center;

    gap: 90px;

    padding-top: 100px;

    padding-bottom: 100px;

}


.services-hero-content {

    max-width: 760px;

}


.breadcrumb {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 38px;

    color: var(--silver);

    font-size: 0.7rem;

    font-weight: 600;

}


.breadcrumb a {

    color: var(--white);

    transition: color var(--transition-fast);

}


.breadcrumb a:hover {

    color: var(--electric-blue);

}


.breadcrumb i {

    color: var(--gold);

    font-size: 0.55rem;

}


.page-eyebrow {

    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 20px;

    color: var(--electric-blue);

    font-size: 0.7rem;

    font-weight: 800;

    letter-spacing: 0.2em;

}


.eyebrow-line {

    width: 36px;

    height: 2px;

    background: var(--bright-gold);

}


.services-hero h1 {

    max-width: 800px;

    font-size: clamp(3.2rem, 6vw, 6.2rem);

    font-weight: 800;

    letter-spacing: -0.055em;

}


.services-hero h1 span {

    display: block;

    color: var(--electric-blue);

}


.services-hero-content > p {

    max-width: 690px;

    margin-top: 30px;

    font-size: 1.02rem;

    line-height: 1.85;

    color: var(--soft-white);

}


.hero-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 13px;

    margin-top: 36px;

}


/* =========================================================
   HERO TECHNICAL PANEL
========================================================= */

.services-hero-panel {

    position: relative;

    padding: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(13, 27, 46, 0.92),
            rgba(7, 16, 31, 0.9)
        );

    border: 1px solid rgba(0, 169, 255, 0.2);

    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.35);

}


.services-hero-panel::before {

    content: "";

    position: absolute;

    top: -1px;
    left: 28px;

    width: 80px;

    height: 3px;

    background: var(--bright-gold);

}


.panel-top {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding-bottom: 18px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    color: var(--silver);

    font-size: 0.6rem;

    font-weight: 700;

    letter-spacing: 0.16em;

}


.panel-title {

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 28px 0;

}


.panel-number {

    color: var(--bright-gold);

    font-family: "Montserrat", sans-serif;

    font-size: 2.4rem;

    font-weight: 800;

    line-height: 1;

}


.panel-title h2 {

    font-size: 1.3rem;

    font-weight: 700;

}


.panel-services {

    display: flex;

    flex-direction: column;

}


.panel-service {

    display: flex;

    align-items: center;

    gap: 17px;

    padding: 17px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.07);

    transition:
        padding var(--transition-fast),
        background var(--transition-fast);

}


.panel-service span {

    min-width: 27px;

    color: var(--electric-blue);

    font-size: 0.62rem;

    font-weight: 700;

}


.panel-service strong {

    font-size: 0.82rem;

    font-weight: 600;

}


.panel-service:hover {

    padding-left: 8px;

}


.panel-footer {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 22px;

    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    color: var(--silver);

    font-size: 0.67rem;

}


.panel-footer i {

    color: var(--gold);

}


/* =========================================================
   HERO SCROLL
========================================================= */

.hero-scroll-indicator {

    position: absolute;

    left: 50%;

    bottom: 24px;

    z-index: 3;

    transform: translateX(-50%);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 7px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 0.56rem;

    font-weight: 700;

    letter-spacing: 0.18em;

}


.hero-scroll-indicator i {

    color: var(--electric-blue);

    animation: scrollArrow 1.8s ease-in-out infinite;

}


@keyframes scrollArrow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }

}


/* =========================================================
   SERVICE INTRODUCTION
========================================================= */

.service-introduction {

    background: var(--white);

    color: var(--deep-navy);

}


.service-introduction p {

    color: #4C5968;

}


.service-intro-grid {

    display: grid;

    grid-template-columns:
        90px
        minmax(280px, 0.9fr)
        minmax(320px, 1.1fr);

    gap: 55px;

    align-items: start;

}


.intro-number {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 20px;

}


.intro-number span {

    font-family: "Montserrat", sans-serif;

    color: var(--royal-blue);

    font-size: 1.2rem;

    font-weight: 800;

}


.intro-number div {

    width: 1px;

    height: 140px;

    background:
        linear-gradient(
            to bottom,
            var(--royal-blue),
            transparent
        );

}


.intro-heading .section-label {

    color: var(--royal-blue);

}


.intro-heading h2 {

    max-width: 470px;

    font-size: clamp(2.5rem, 4vw, 4.3rem);

    color: var(--deep-navy);

}


.intro-heading h2 span {

    display: block;

    color: var(--royal-blue);

}


.intro-text {

    padding-top: 12px;

}


.intro-text .lead {

    margin-bottom: 25px;

    color: var(--deep-navy);

    font-size: 1.05rem;

    line-height: 1.85;

}


/* =========================================================
   MAIN SERVICES SECTION
========================================================= */

.service-list-section {

    background:
        linear-gradient(
            180deg,
            var(--midnight-blue),
            var(--deep-navy)
        );

}


.services-heading {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(280px, 0.65fr);

    gap: 70px;

    align-items: end;

    margin-bottom: 70px;

}


.services-heading h2 {

    max-width: 700px;

    font-size: clamp(2.5rem, 4.5vw, 4.5rem);

}


.services-heading h2 span {

    display: block;

    color: var(--electric-blue);

}


.services-heading > p {

    max-width: 490px;

    font-size: 0.93rem;

    line-height: 1.9;

}


/* =========================================================
   SERVICE DETAIL
========================================================= */

.service-detail {

    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    min-height: 570px;

    margin-bottom: 34px;

    background: var(--white);

    color: var(--deep-navy);

    overflow: hidden;

}


.service-detail:last-child {
    margin-bottom: 0;
}


.service-detail-reverse {

    grid-template-columns: 0.95fr 1.05fr;

}


.service-detail-reverse .service-detail-image {
    order: 2;
}


.service-detail-reverse .service-detail-content {
    order: 1;
}


.service-detail-image {

    position: relative;

    min-height: 570px;

    overflow: hidden;

}


.service-detail-image img {

    height: 100%;

    object-fit: cover;

    transition: transform 0.8s ease;

}


.service-detail:hover .service-detail-image img {

    transform: scale(1.045);

}


.service-image-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(7, 16, 31, 0.05),
            rgba(7, 16, 31, 0.5)
        );

}


.service-image-number {

    position: absolute;

    top: 28px;

    left: 28px;

    width: 62px;

    height: 62px;

    display: grid;

    place-items: center;

    background: rgba(7, 16, 31, 0.82);

    border: 1px solid rgba(255, 255, 255, 0.18);

    color: var(--bright-gold);

    font-family: "Montserrat", sans-serif;

    font-size: 0.9rem;

    font-weight: 800;

    backdrop-filter: blur(10px);

}


.service-detail-content {

    position: relative;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 65px;

}


.service-detail-content::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 4px;

    height: 100%;

    background:
        linear-gradient(
            to bottom,
            var(--electric-blue),
            var(--royal-blue),
            var(--bright-gold)
        );

}


.service-detail-reverse .service-detail-content::before {

    left: auto;

    right: 0;

}


.service-detail-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 24px;

}


.service-category {

    color: var(--royal-blue);

    font-size: 0.63rem;

    font-weight: 800;

    letter-spacing: 0.17em;

}


.service-detail-top > i {

    color: var(--gold);

    font-size: 1.45rem;

}


.service-detail-content h3 {

    margin-bottom: 18px;

    font-size: clamp(2rem, 3.3vw, 3.2rem);

    font-weight: 800;

}


.service-lead {

    margin-bottom: 18px;

    color: var(--deep-navy) !important;

    font-size: 1.02rem;

    font-weight: 600;

    line-height: 1.7;

}


.service-detail-content > p:not(.service-lead) {

    color: #566474;

    font-size: 0.9rem;

    line-height: 1.85;

}


.service-features {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 11px 20px;

    margin-top: 28px;

}


.service-features > div {

    display: flex;

    align-items: flex-start;

    gap: 9px;

    color: #344252;

    font-size: 0.75rem;

}


.service-features i {

    flex-shrink: 0;

    margin-top: 4px;

    color: var(--royal-blue);

    font-size: 0.63rem;

}


.service-action {

    display: inline-flex;

    align-items: center;

    gap: 11px;

    width: fit-content;

    margin-top: 34px;

    padding-bottom: 7px;

    border-bottom: 1px solid var(--royal-blue);

    color: var(--royal-blue);

    font-size: 0.76rem;

    font-weight: 800;

}


.service-action i {

    transition: transform var(--transition-fast);

}


.service-action:hover i {

    transform: translateX(5px);

}


/* =========================================================
   ENGINEERING SECTION
========================================================= */

.engineering-section {

    position: relative;

    min-height: 700px;

    display: flex;

    align-items: center;

    overflow: hidden;

}


.engineering-background {

    position: absolute;

    inset: 0;

    background-image:
        url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=2200&q=90");

    background-size: cover;

    background-position: center;

}


.engineering-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7, 16, 31, 0.98) 0%,
            rgba(7, 16, 31, 0.9) 48%,
            rgba(7, 16, 31, 0.64) 100%
        );

}


.engineering-container {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(360px, 0.72fr);

    gap: 100px;

    align-items: center;

}


.engineering-content {

    max-width: 680px;

}


.engineering-content h2 {

    font-size: clamp(2.6rem, 5vw, 5rem);

}


.engineering-content h2 span {

    display: block;

    color: var(--electric-blue);

}


.engineering-content > p {

    max-width: 620px;

    margin-top: 23px;

    font-size: 0.93rem;

    line-height: 1.9;

}


.engineering-content .btn {

    margin-top: 30px;

}


/* =========================================================
   ENGINEERING DIAGRAM
========================================================= */

.engineering-diagram {

    position: relative;

    padding: 30px;

    background: rgba(7, 16, 31, 0.7);

    border: 1px solid rgba(0, 169, 255, 0.25);

    backdrop-filter: blur(12px);

}


.diagram-header {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    color: var(--silver);

    font-size: 0.58rem;

    font-weight: 800;

    letter-spacing: 0.16em;

}


.diagram-header span:last-child {

    color: var(--bright-gold);

}


.diagram-line {

    height: 1px;

    margin: 22px 0 5px;

    background:
        linear-gradient(
            90deg,
            var(--electric-blue),
            rgba(0, 169, 255, 0)
        );

}


.diagram-step {

    position: relative;

    display: grid;

    grid-template-columns: 52px 1fr;

    gap: 18px;

    align-items: center;

    padding: 22px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

}


.diagram-step:last-child {
    border-bottom: 0;
}


.diagram-step > span {

    width: 44px;
    height: 44px;

    display: grid;

    place-items: center;

    border: 1px solid rgba(0, 169, 255, 0.35);

    color: var(--electric-blue);

    font-family: "Montserrat", sans-serif;

    font-size: 0.65rem;

    font-weight: 800;

}


.diagram-step strong {

    display: block;

    color: var(--white);

    font-family: "Montserrat", sans-serif;

    font-size: 0.9rem;

}


.diagram-step small {

    display: block;

    margin-top: 3px;

    color: var(--silver);

    font-size: 0.68rem;

}


/* =========================================================
   SERVICE APPLICATIONS
========================================================= */

.service-applications {

    background: var(--white);

    color: var(--deep-navy);

}


.applications-heading {

    max-width: 760px;

    margin-bottom: 55px;

}


.applications-heading .section-label {

    color: var(--royal-blue);

}


.applications-heading h2 {

    font-size: clamp(2.5rem, 4.5vw, 4.3rem);

}


.applications-heading h2 span {

    display: block;

    color: var(--royal-blue);

}


.applications-heading > p {

    max-width: 650px;

    margin-top: 22px;

    color: #5A6775;

    font-size: 0.92rem;

}


.applications-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top: 1px solid #DCE2E8;

    border-left: 1px solid #DCE2E8;

}


.application-card {

    position: relative;

    min-height: 310px;

    padding: 34px 30px;

    border-right: 1px solid #DCE2E8;

    border-bottom: 1px solid #DCE2E8;

    overflow: hidden;

    transition:
        background var(--transition),
        transform var(--transition);

}


.application-card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    height: 3px;

    background: var(--royal-blue);

    transform: scaleX(0);

    transform-origin: left;

    transition: transform var(--transition);

}


.application-card:hover::before {

    transform: scaleX(1);

}


.application-card:hover {

    background: #F6F9FC;

}


.application-number {

    position: absolute;

    top: 27px;
    right: 28px;

    color: #DDE4EB;

    font-family: "Montserrat", sans-serif;

    font-size: 2.4rem;

    font-weight: 800;

}


.application-card > i {

    display: block;

    margin-top: 62px;

    color: var(--royal-blue);

    font-size: 1.55rem;

}


.application-card h3 {

    margin-top: 24px;

    color: var(--deep-navy);

    font-size: 1.15rem;

}


.application-card p {

    margin-top: 11px;

    color: #667383;

    font-size: 0.77rem;

    line-height: 1.75;

}


/* =========================================================
   SELECTION SECTION
========================================================= */

.selection-section {

    background: var(--midnight-blue);

}


.selection-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 0.8fr)
        minmax(0, 1.2fr);

    gap: 100px;

    align-items: start;

}


.selection-heading {

    position: sticky;

    top: 115px;

}


.selection-heading h2 {

    font-size: clamp(2.5rem, 4vw, 4rem);

}


.selection-heading h2 span {

    display: block;

    color: var(--electric-blue);

}


.selection-heading > p {

    margin-top: 24px;

    font-size: 0.9rem;

    line-height: 1.9;

}


.text-link {

    display: inline-flex;

    align-items: center;

    gap: 11px;

    margin-top: 27px;

    padding-bottom: 7px;

    border-bottom: 1px solid var(--bright-gold);

    color: var(--white);

    font-size: 0.78rem;

    font-weight: 700;

}


.text-link i {

    color: var(--bright-gold);

    transition: transform var(--transition-fast);

}


.text-link:hover i {

    transform: translateX(5px);

}


.selection-list {

    border-top: 1px solid rgba(255, 255, 255, 0.1);

}


.selection-item {

    display: grid;

    grid-template-columns:
        45px
        1fr
        25px;

    gap: 20px;

    align-items: center;

    padding: 27px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    transition:
        padding var(--transition-fast),
        border-color var(--transition-fast);

}


.selection-item:hover {

    padding-left: 10px;

    border-bottom-color: rgba(0, 169, 255, 0.45);

}


.selection-item > span {

    color: var(--electric-blue);

    font-family: "Montserrat", sans-serif;

    font-size: 0.68rem;

    font-weight: 800;

}


.selection-item strong {

    display: block;

    color: var(--white);

    font-size: 0.85rem;

}


.selection-item p {

    margin-top: 4px;

    font-size: 0.72rem;

}


.selection-item > i {

    color: var(--gold);

    font-size: 0.7rem;

}


/* =========================================================
   SERVICES CTA
========================================================= */

.services-cta {

    position: relative;

    min-height: 570px;

    display: flex;

    align-items: center;

    overflow: hidden;

}


.services-cta-background {

    position: absolute;

    inset: 0;

    background-image:
        url("https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?auto=format&fit=crop&w=2200&q=90");

    background-size: cover;

    background-position: center;

}


.services-cta-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7, 16, 31, 0.97),
            rgba(7, 16, 31, 0.78),
            rgba(7, 16, 31, 0.84)
        );

}


.services-cta::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    z-index: 2;

    background:
        linear-gradient(
            90deg,
            var(--royal-blue),
            var(--electric-blue),
            var(--bright-gold)
        );

}


.services-cta .container {

    position: relative;

    z-index: 2;

}


.services-cta-content {

    max-width: 850px;

}


.services-cta-content h2 {

    font-size: clamp(2.8rem, 5.5vw, 5.4rem);

}


.services-cta-content h2 span {

    display: block;

    color: var(--electric-blue);

}


.services-cta-content > p {

    max-width: 650px;

    margin-top: 24px;

    font-size: 0.95rem;

    line-height: 1.9;

}


.cta-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 13px;

    margin-top: 34px;

}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {

    background: #050C16;

    border-top: 1px solid rgba(255, 255, 255, 0.07);

}


.footer-main {

    display: grid;

    grid-template-columns:
        1.5fr
        0.75fr
        1fr
        0.9fr;

    gap: 60px;

    padding: 85px 0 70px;

}


.footer-brand > p {

    max-width: 300px;

    margin-top: 20px;

    color: var(--silver);

    font-size: 0.78rem;

}


.footer-column {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;

}


.footer-column h3 {

    margin-bottom: 13px;

    color: var(--white);

    font-size: 0.78rem;

    letter-spacing: 0.05em;

}


.footer-column a,
.footer-column span {

    color: #8793A1;

    font-size: 0.73rem;

    transition: color var(--transition-fast);

}


.footer-column a:hover {

    color: var(--electric-blue);

}


.footer-contact a:first-of-type {

    color: var(--white);

    font-weight: 600;

}


.footer-contact a:last-child {

    margin-top: 7px;

    color: var(--bright-gold);

}


.footer-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding: 22px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.07);

}


.footer-bottom p {

    color: #697584;

    font-size: 0.65rem;

}


.footer-bottom-links a {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--silver);

    font-size: 0.66rem;

    font-weight: 600;

}


.footer-bottom-links a:hover {

    color: var(--electric-blue);

}


/* =========================================================
   FLOATING WHATSAPP
========================================================= */

.floating-whatsapp {

    position: fixed;

    right: 25px;

    bottom: 25px;

    z-index: 900;

    width: 56px;
    height: 56px;

    display: grid;

    place-items: center;

    background: var(--royal-blue);

    border: 1px solid rgba(255, 255, 255, 0.2);

    color: var(--white);

    font-size: 1.35rem;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.35);

    transition:
        transform var(--transition-fast),
        background var(--transition-fast),
        box-shadow var(--transition-fast);

}


.floating-whatsapp:hover {

    background: var(--electric-blue);

    color: var(--deep-navy);

    transform: translateY(-5px);

    box-shadow:
        0 16px 40px rgba(0, 169, 255, 0.28);

}


/* =========================================================
   FOCUS STATES
========================================================= */

a:focus-visible,
button:focus-visible {

    outline: 2px solid var(--electric-blue);

    outline-offset: 4px;

}


/* =========================================================
   RESPONSIVE — 1200PX
========================================================= */

@media (max-width: 1200px) {

    .container {

        width: min(
            calc(100% - 40px),
            1120px
        );

    }


    .main-navigation {

        gap: 0;

    }


    .nav-link {

        padding-left: 9px;
        padding-right: 9px;

        font-size: 0.71rem;

    }


    .header-cta {

        padding-left: 14px;
        padding-right: 14px;

    }


    .services-hero-container {

        gap: 55px;

    }


    .service-detail-content {

        padding: 50px;

    }


    .selection-grid {

        gap: 65px;

    }

}


/* =========================================================
   RESPONSIVE — 992PX
========================================================= */

@media (max-width: 992px) {

    :root {

        --header-height: 76px;

    }


    .section-padding {

        padding: 90px 0;

    }


    .main-navigation,
    .header-cta {

        display: none;

    }


    .mobile-menu-toggle {

        display: flex;

    }


    .services-hero {

        min-height: auto;

    }


    .services-hero-container {

        grid-template-columns: 1fr;

        gap: 55px;

        padding-top: 145px;

        padding-bottom: 90px;

    }


    .services-hero-content {

        max-width: 850px;

    }


    .services-hero-panel {

        max-width: 600px;

    }


    .service-intro-grid {

        grid-template-columns:
            60px
            1fr
            1fr;

        gap: 35px;

    }


    .services-heading {

        grid-template-columns: 1fr;

        gap: 25px;

    }


    .service-detail,
    .service-detail-reverse {

        grid-template-columns: 1fr;

    }


    .service-detail-image,
    .service-detail-reverse .service-detail-image {

        order: 1;

        min-height: 430px;

    }


    .service-detail-content,
    .service-detail-reverse .service-detail-content {

        order: 2;

        padding: 55px;

    }


    .service-detail-content::before,
    .service-detail-reverse .service-detail-content::before {

        top: 0;
        left: 0;
        right: auto;

        width: 100%;
        height: 4px;

    }


    .engineering-container {

        grid-template-columns: 1fr;

        gap: 55px;

    }


    .engineering-diagram {

        max-width: 650px;

    }


    .applications-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .selection-grid {

        grid-template-columns: 1fr;

        gap: 55px;

    }


    .selection-heading {

        position: static;

        max-width: 720px;

    }


    .footer-main {

        grid-template-columns:
            1.3fr
            1fr
            1fr;

        gap: 45px;

    }


    .footer-brand {

        grid-column: 1 / -1;

    }

}


/* =========================================================
   RESPONSIVE — 768PX
========================================================= */

@media (max-width: 768px) {

    .container {

        width: min(
            calc(100% - 32px),
            680px
        );

    }


    .section-padding {

        padding: 75px 0;

    }


    .brand-subtitle {

        font-size: 0.4rem;

    }


    .services-hero-container {

        padding-top: 125px;

        padding-bottom: 80px;

    }


    .services-hero h1 {

        font-size: clamp(
            2.8rem,
            11vw,
            4.5rem
        );

    }


    .services-hero-content > p {

        font-size: 0.9rem;

    }


    .hero-actions {

        flex-direction: column;

        align-items: stretch;

    }


    .hero-actions .btn {

        width: 100%;

    }


    .services-hero-panel {

        padding: 23px;

    }


    .hero-scroll-indicator {

        display: none;

    }


    .service-intro-grid {

        grid-template-columns: 1fr;

        gap: 30px;

    }


    .intro-number {

        flex-direction: row;

        justify-content: flex-start;

    }


    .intro-number div {

        width: 100px;

        height: 1px;

    }


    .intro-text {

        padding-top: 0;

    }


    .services-heading {

        margin-bottom: 45px;

    }


    .service-detail {

        margin-bottom: 22px;

    }


    .service-detail-image,
    .service-detail-reverse .service-detail-image {

        min-height: 360px;

    }


    .service-detail-content,
    .service-detail-reverse .service-detail-content {

        padding: 40px 30px;

    }


    .service-features {

        grid-template-columns: 1fr;

    }


    .engineering-section {

        min-height: auto;

        padding: 90px 0;

    }


    .engineering-content h2 {

        font-size: clamp(
            2.5rem,
            10vw,
            4rem
        );

    }


    .engineering-diagram {

        padding: 24px;

    }


    .applications-grid {

        grid-template-columns: 1fr;

    }


    .application-card {

        min-height: 270px;

    }


    .selection-item {

        grid-template-columns:
            35px
            1fr
            20px;

        gap: 12px;

    }


    .services-cta {

        min-height: 500px;

    }


    .services-cta-content h2 {

        font-size: clamp(
            2.6rem,
            10vw,
            4.5rem
        );

    }


    .cta-actions {

        flex-direction: column;

        align-items: stretch;

    }


    .cta-actions .btn {

        width: 100%;

    }


    .footer-main {

        grid-template-columns:
            1fr 1fr;

        gap: 40px 30px;

        padding: 65px 0 50px;

    }


    .footer-brand {

        grid-column: 1 / -1;

    }


    .footer-bottom {

        align-items: flex-start;

        flex-direction: column;

        gap: 13px;

    }

}


/* =========================================================
   RESPONSIVE — 576PX
========================================================= */

@media (max-width: 576px) {

    .container {

        width: calc(100% - 28px);

    }


    .brand-mark {

        width: 42px;
        height: 42px;

    }


    .brand-name {

        font-size: 0.95rem;

    }


    .brand-subtitle {

        max-width: 175px;

        overflow: hidden;

        text-overflow: ellipsis;

    }


    .mobile-navigation {

        padding-left: 14px;
        padding-right: 14px;

    }


    .breadcrumb {

        margin-bottom: 28px;

    }


    .services-hero-container {

        padding-top: 112px;

        padding-bottom: 65px;

    }


    .services-hero h1 {

        font-size: 2.65rem;

    }


    .services-hero-content > p {

        margin-top: 22px;

        font-size: 0.84rem;

    }


    .services-hero-panel {

        padding: 20px;

    }


    .panel-title {

        padding: 22px 0;

    }


    .panel-number {

        font-size: 2rem;

    }


    .panel-service {

        padding: 14px 0;

    }


    .panel-service strong {

        font-size: 0.75rem;

    }


    .section-padding {

        padding: 65px 0;

    }


    .intro-heading h2,
    .applications-heading h2 {

        font-size: 2.45rem;

    }


    .intro-text .lead {

        font-size: 0.94rem;

    }


    .services-heading h2 {

        font-size: 2.45rem;

    }


    .service-detail-image,
    .service-detail-reverse .service-detail-image {

        min-height: 280px;

    }


    .service-image-number {

        top: 18px;
        left: 18px;

        width: 52px;
        height: 52px;

    }


    .service-detail-content,
    .service-detail-reverse .service-detail-content {

        padding: 35px 23px;

    }


    .service-detail-content h3 {

        font-size: 2rem;

    }


    .service-detail-top {

        align-items: flex-start;

    }


    .service-category {

        font-size: 0.56rem;

    }


    .service-lead {

        font-size: 0.9rem;

    }


    .engineering-section {

        padding: 70px 0;

    }


    .engineering-diagram {

        padding: 20px;

    }


    .diagram-step {

        grid-template-columns:
            44px 1fr;

        gap: 12px;

    }


    .diagram-step > span {

        width: 38px;
        height: 38px;

    }


    .application-card {

        min-height: 250px;

        padding: 28px 24px;

    }


    .selection-heading h2 {

        font-size: 2.45rem;

    }


    .selection-item {

        padding: 22px 0;

    }


    .selection-item strong {

        font-size: 0.78rem;

        line-height: 1.5;

    }


    .selection-item p {

        font-size: 0.66rem;

    }


    .services-cta {

        min-height: 530px;

    }


    .services-cta-content h2 {

        font-size: 2.6rem;

    }


    .footer-main {

        grid-template-columns: 1fr;

    }


    .footer-brand {

        grid-column: auto;

    }


    .floating-whatsapp {

        right: 17px;

        bottom: 17px;

        width: 52px;
        height: 52px;

        font-size: 1.2rem;

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

        scroll-behavior: auto !important;

    }

}