/* ==========================================================
   D S ENTERPRISES
   SERVICE DETAIL PAGE
   Common CSS for all service pages
========================================================== */

:root {
    --sd-primary: #0f52ba;
    --sd-primary-dark: #093a88;
    --sd-navy: #071a33;
    --sd-navy-soft: #0d2747;
    --sd-dark: #111827;
    --sd-text: #4b5563;
    --sd-light-text: #6b7280;
    --sd-white: #ffffff;
    --sd-bg: #f6f8fb;
    --sd-border: #e5e7eb;
    --sd-silver: #eef2f7;
    --sd-radius: 22px;
    --sd-shadow: 0 20px 60px rgba(8, 28, 58, 0.10);
    --sd-transition: all .35s ease;
}


/* ==========================================================
   COMMON
========================================================== */

.sd-section {
    position: relative;
    padding: 105px 0;
    overflow: hidden;
}

.sd-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--sd-primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.sd-section-tag::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--sd-primary);
}

.sd-section-heading {
    max-width: 780px;
    margin: 0 auto 55px;
    text-align: center;
}

.sd-section-heading .sd-section-tag {
    justify-content: center;
}

.sd-section-heading h2,
.sd-content h2,
.sd-benefit-content h2,
.sd-area-content h2,
.sd-faq-intro h2 {
    margin: 0 0 20px;
    color: var(--sd-navy);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.sd-section-heading h2 span,
.sd-content h2 span,
.sd-benefit-content h2 span,
.sd-area-content h2 span,
.sd-faq-intro h2 span {
    color: var(--sd-primary);
}

.sd-section-heading > p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--sd-text);
    font-size: 17px;
    line-height: 1.8;
}


/* ==========================================================
   BUTTONS
========================================================== */

.sd-btn {
    min-height: 54px;
    padding: 0 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: var(--sd-transition);
}

.sd-btn-primary {
    color: #fff;
    background: var(--sd-primary);
    box-shadow: 0 12px 30px rgba(15, 82, 186, .30);
}

.sd-btn-primary:hover {
    background: #fff;
    color: var(--sd-primary);
    transform: translateY(-3px);
}

.sd-btn-outline {
    border: 1px solid rgba(255,255,255,.55);
    color: #fff;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(8px);
}

.sd-btn-outline:hover {
    background: #fff;
    color: var(--sd-navy);
    transform: translateY(-3px);
}

.sd-btn-dark {
    background: var(--sd-navy);
    color: #fff;
}

.sd-btn-dark:hover {
    background: var(--sd-primary);
    transform: translateY(-3px);
}


/* ==========================================================
   HERO
========================================================== */

.sd-hero {
    min-height: 720px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--sd-navy);
}

.sd-hero-bg,
.sd-hero-overlay {
    position: absolute;
    inset: 0;
}

.sd-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sd-hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(4, 18, 38, .92) 0%,
            rgba(4, 18, 38, .76) 42%,
            rgba(4, 18, 38, .30) 72%,
            rgba(4, 18, 38, .12) 100%
        );
}

.sd-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.sd-hero-content {
    max-width: 780px;
    padding: 90px 0 70px;
}

.sd-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 30px;
    color: rgba(255,255,255,.72);
    font-size: 13px;
}

.sd-breadcrumb a {
    color: rgba(255,255,255,.82);
    text-decoration: none;
}

.sd-breadcrumb a:hover {
    color: #fff;
}

.sd-eyebrow {
    display: inline-flex;
    padding: 9px 14px;
    margin-bottom: 18px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50px;
    color: #fff;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(8px);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.sd-hero h1 {
    max-width: 760px;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(42px, 5.4vw, 72px);
    line-height: 1.02;
    letter-spacing: -2.3px;
}

.sd-hero-content > p {
    max-width: 680px;
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 18px;
    line-height: 1.75;
}

.sd-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.sd-scroll-indicator {
    position: absolute;
    z-index: 3;
    bottom: 25px;
    left: 50%;
    width: 27px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 30px;
    transform: translateX(-50%);
}

.sd-scroll-indicator span {
    position: absolute;
    top: 9px;
    left: 50%;
    width: 4px;
    height: 8px;
    border-radius: 10px;
    background: #fff;
    transform: translateX(-50%);
    animation: sdScroll 1.8s infinite;
}

@keyframes sdScroll {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }
    30% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, 14px);
    }
}


/* ==========================================================
   INTRO
========================================================== */

.sd-intro {
    background: #fff;
}

.sd-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 75px;
}

.sd-content .sd-lead {
    color: var(--sd-dark);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.7;
}

.sd-content > p:not(.sd-lead) {
    color: var(--sd-text);
    font-size: 16px;
    line-height: 1.85;
}

.sd-check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    margin: 28px 0;
}

.sd-check-item {
    display: flex;
    align-items: center;
    gap: 11px;
}

.sd-check-item span {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--sd-primary);
    font-size: 12px;
}

.sd-check-item p {
    margin: 0;
    color: var(--sd-dark);
    font-size: 14px;
    font-weight: 700;
}

.sd-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    color: var(--sd-primary);
    font-weight: 800;
    text-decoration: none;
}

.sd-text-link span {
    transition: transform .3s ease;
}

.sd-text-link:hover span {
    transform: translateX(6px);
}

.sd-image-wrap {
    position: relative;
    padding: 0 25px 28px 0;
}

.sd-image-main {
    position: relative;
    z-index: 2;
    overflow: hidden;
    min-height: 550px;
    border-radius: var(--sd-radius);
    box-shadow: var(--sd-shadow);
}

.sd-image-main img {
    width: 100%;
    height: 550px;
    display: block;
    object-fit: cover;
    transition: transform .7s ease;
}

.sd-image-main:hover img {
    transform: scale(1.035);
}

.sd-experience-card {
    position: absolute;
    z-index: 4;
    left: -35px;
    bottom: 0;
    width: 235px;
    padding: 23px;
    border-radius: 14px;
    background: var(--sd-primary);
    box-shadow: 0 18px 45px rgba(15,82,186,.28);
}

.sd-experience-card strong,
.sd-experience-card span {
    display: block;
    color: #fff;
}

.sd-experience-card strong {
    margin-bottom: 5px;
    font-size: 28px;
}

.sd-experience-card span {
    font-size: 12px;
    line-height: 1.6;
}

.sd-image-pattern {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 160px;
    height: 160px;
    border-radius: 18px;
    background:
        radial-gradient(circle, rgba(15,82,186,.25) 2px, transparent 2px);
    background-size: 14px 14px;
}


/* ==========================================================
   APPLICATIONS
========================================================== */

.sd-applications {
    background: var(--sd-bg);
}

.sd-application-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.sd-app-card {
    position: relative;
    min-height: 280px;
    padding: 34px;
    overflow: hidden;
    border: 1px solid var(--sd-border);
    border-radius: 18px;
    background: #fff;
    transition: var(--sd-transition);
}

.sd-app-card:hover {
    border-color: transparent;
    transform: translateY(-8px);
    box-shadow: var(--sd-shadow);
}

.sd-app-number {
    position: absolute;
    top: 20px;
    right: 23px;
    color: #edf1f6;
    font-size: 48px;
    font-weight: 900;
}

.sd-app-icon {
    position: relative;
    z-index: 2;
    width: 55px;
    height: 55px;
    margin-bottom: 28px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--sd-primary);
    background: rgba(15,82,186,.08);
    font-size: 24px;
}

.sd-app-card h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 12px;
    color: var(--sd-navy);
    font-size: 20px;
}

.sd-app-card p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: var(--sd-text);
    font-size: 14px;
    line-height: 1.75;
}


/* ==========================================================
   DESIGN OPTIONS
========================================================== */

.sd-designs {
    background:
        radial-gradient(circle at 85% 15%, rgba(15,82,186,.20), transparent 30%),
        var(--sd-navy);
}

.sd-heading-light h2,
.sd-heading-light p {
    color: #fff;
}

.sd-heading-light p {
    opacity: .72;
}

.sd-heading-light .sd-section-tag {
    color: #78aaff;
}

.sd-heading-light .sd-section-tag::before {
    background: #78aaff;
}

.sd-design-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sd-design-card {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 18px;
    background: rgba(255,255,255,.06);
    transition: var(--sd-transition);
}

.sd-design-card:hover {
    transform: translateY(-7px);
    background: rgba(255,255,255,.10);
}

.sd-design-image {
    height: 260px;
    overflow: hidden;
}

.sd-design-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.sd-design-card:hover img {
    transform: scale(1.06);
}

.sd-design-content {
    padding: 26px;
}

.sd-design-content > span {
    display: block;
    margin-bottom: 10px;
    color: #6ea3ff;
    font-size: 12px;
    font-weight: 800;
}

.sd-design-content h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 21px;
}

.sd-design-content p {
    margin: 0;
    color: rgba(255,255,255,.68);
    font-size: 14px;
    line-height: 1.75;
}


/* ==========================================================
   BENEFITS
========================================================== */

.sd-benefits {
    background: #fff;
}

.sd-benefit-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 70px;
}

.sd-benefit-image {
    position: relative;
    height: 720px;
    overflow: hidden;
    border-radius: var(--sd-radius);
}

.sd-benefit-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sd-floating-label {
    position: absolute;
    right: 22px;
    bottom: 22px;
    padding: 17px 21px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 12px;
    background: rgba(6,26,52,.78);
    backdrop-filter: blur(12px);
}

.sd-floating-label span,
.sd-floating-label strong {
    display: block;
    color: #fff;
}

.sd-floating-label span {
    margin-bottom: 3px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sd-floating-label strong {
    font-size: 17px;
}

.sd-benefit-content > p {
    color: var(--sd-text);
    line-height: 1.8;
}

.sd-benefit-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 30px;
}

.sd-benefit-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    border: 1px solid var(--sd-border);
    border-radius: 14px;
    background: #fff;
    transition: var(--sd-transition);
}

.sd-benefit-item:hover {
    border-color: rgba(15,82,186,.25);
    box-shadow: 0 12px 30px rgba(8,28,58,.07);
}

.sd-benefit-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--sd-primary);
    background: rgba(15,82,186,.08);
    font-size: 18px;
}

.sd-benefit-item h3 {
    margin: 0 0 6px;
    color: var(--sd-navy);
    font-size: 16px;
}

.sd-benefit-item p {
    margin: 0;
    color: var(--sd-light-text);
    font-size: 13px;
    line-height: 1.65;
}


/* ==========================================================
   ENGINEERING
========================================================== */

.sd-engineering {
    background: var(--sd-bg);
}

.sd-engineering-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sd-engineering-card {
    position: relative;
    min-height: 260px;
    padding: 30px;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(8,28,58,.05);
    transition: var(--sd-transition);
}

.sd-engineering-card::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: var(--sd-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.sd-engineering-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--sd-shadow);
}

.sd-engineering-card:hover::after {
    transform: scaleX(1);
}

.sd-engineering-no {
    display: block;
    margin-bottom: 32px;
    color: var(--sd-primary);
    font-size: 13px;
    font-weight: 800;
}

.sd-engineering-card h3 {
    margin: 0 0 12px;
    color: var(--sd-navy);
    font-size: 19px;
}

.sd-engineering-card p {
    margin: 0;
    color: var(--sd-text);
    font-size: 14px;
    line-height: 1.75;
}


/* ==========================================================
   PROCESS
========================================================== */

.sd-process {
    background: #fff;
}

.sd-process-line {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.sd-process-line::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 9%;
    right: 9%;
    height: 1px;
    background: #d9e0ea;
}

.sd-process-item {
    position: relative;
    z-index: 2;
    text-align: center;
}

.sd-process-number {
    width: 58px;
    height: 58px;
    margin: 0 auto 22px;
    display: grid;
    place-items: center;
    border: 6px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: var(--sd-primary);
    box-shadow: 0 8px 22px rgba(15,82,186,.25);
    font-size: 12px;
    font-weight: 800;
}

.sd-process-item h3 {
    margin: 0 0 9px;
    color: var(--sd-navy);
    font-size: 17px;
}

.sd-process-item p {
    margin: 0;
    color: var(--sd-text);
    font-size: 13px;
    line-height: 1.65;
}


/* ==========================================================
   GALLERY
========================================================== */

.sd-gallery-section {
    background: var(--sd-bg);
}

.sd-gallery {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    grid-template-rows: 260px 260px;
    gap: 14px;
}

.sd-gallery-item {
    position: relative;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 15px;
    background: #ddd;
    cursor: pointer;
}

.sd-gallery-large {
    grid-row: 1 / 3;
}

.sd-gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .6s ease;
}

.sd-gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 24px;
    color: #fff;
    text-align: left;
    background: linear-gradient(
        to top,
        rgba(5,20,40,.80),
        transparent 60%
    );
    opacity: .9;
    transition: var(--sd-transition);
}

.sd-gallery-overlay strong {
    font-size: 16px;
}

.sd-gallery-overlay small {
    margin-top: 4px;
    opacity: .72;
}

.sd-gallery-item:hover img {
    transform: scale(1.06);
}

.sd-gallery-item:hover .sd-gallery-overlay {
    background: linear-gradient(
        to top,
        rgba(5,20,40,.90),
        rgba(15,82,186,.10)
    );
}


/* ==========================================================
   SERVICE AREA
========================================================== */

.sd-service-area {
    padding-top: 80px;
    padding-bottom: 80px;
    background: #fff;
}

.sd-area-box {
    padding: 55px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 55px;
    align-items: center;
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0, rgba(15,82,186,.32), transparent 35%),
        var(--sd-navy);
}

.sd-area-content h2 {
    color: #fff;
    font-size: clamp(30px, 3.5vw, 44px);
}

.sd-area-content h2 span {
    color: #7eb0ff;
}

.sd-area-content p {
    margin: 0;
    color: rgba(255,255,255,.70);
    line-height: 1.8;
}

.sd-area-box .sd-section-tag {
    color: #78aaff;
}

.sd-area-box .sd-section-tag::before {
    background: #78aaff;
}

.sd-location-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sd-location-list span {
    padding: 11px 15px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50px;
    color: rgba(255,255,255,.90);
    background: rgba(255,255,255,.07);
    font-size: 13px;
}


/* ==========================================================
   FAQ
========================================================== */

.sd-faq-section {
    background: var(--sd-bg);
}

.sd-faq-layout {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 80px;
}

.sd-faq-intro {
    position: sticky;
    top: 120px;
    align-self: start;
}

.sd-faq-intro p {
    margin-bottom: 28px;
    color: var(--sd-text);
    line-height: 1.8;
}

.sd-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sd-faq-item {
    overflow: hidden;
    border: 1px solid var(--sd-border);
    border-radius: 14px;
    background: #fff;
}

.sd-faq-question {
    width: 100%;
    min-height: 76px;
    padding: 20px 23px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 0;
    color: var(--sd-navy);
    background: transparent;
    text-align: left;
    cursor: pointer;
    font: inherit;
    font-weight: 750;
}

.sd-faq-question i {
    position: relative;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.sd-faq-question i::before,
.sd-faq-question i::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--sd-primary);
    transform: translate(-50%, -50%);
    transition: transform .3s ease;
}

.sd-faq-question i::before {
    width: 14px;
    height: 2px;
}

.sd-faq-question i::after {
    width: 2px;
    height: 14px;
}

.sd-faq-item.active .sd-faq-question i::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.sd-faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s ease;
}

.sd-faq-answer > div {
    overflow: hidden;
}

.sd-faq-answer p {
    margin: 0;
    padding: 0 23px 23px;
    color: var(--sd-text);
    font-size: 14px;
    line-height: 1.8;
}

.sd-faq-item.active .sd-faq-answer {
    grid-template-rows: 1fr;
}


/* ==========================================================
   FINAL CTA
========================================================== */

.sd-final-cta {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--sd-navy);
}

.sd-cta-bg,
.sd-cta-overlay {
    position: absolute;
    inset: 0;
}

.sd-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sd-cta-overlay {
    background: linear-gradient(
        90deg,
        rgba(4,18,38,.94),
        rgba(4,18,38,.72),
        rgba(4,18,38,.38)
    );
}

.sd-final-cta .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.sd-cta-content {
    max-width: 750px;
    padding: 80px 0;
}

.sd-cta-content > span {
    display: block;
    margin-bottom: 13px;
    color: #79aaff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.sd-cta-content h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(36px, 4.5vw, 58px);
    line-height: 1.08;
}

.sd-cta-content p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.75);
    font-size: 16px;
    line-height: 1.8;
}

.sd-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}


/* ==========================================================
   LIGHTBOX
========================================================== */

.sd-lightbox {
    position: fixed;
    z-index: 99999;
    inset: 0;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3,12,25,.94);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.sd-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.sd-lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    border-radius: 10px;
    box-shadow: 0 25px 80px rgba(0,0,0,.4);
}

.sd-lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.08);
    font-size: 29px;
    cursor: pointer;
}


/* ==========================================================
   SCROLL REVEAL
========================================================== */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity .7s ease,
        transform .7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================================
   RESPONSIVE - TABLET
========================================================== */

@media (max-width: 1100px) {

    .sd-two-column,
    .sd-benefit-layout {
        gap: 45px;
    }

    .sd-application-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sd-engineering-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sd-process-line {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 45px;
    }

    .sd-process-line::before {
        display: none;
    }

    .sd-faq-layout {
        gap: 50px;
    }
}


/* ==========================================================
   RESPONSIVE - MOBILE / TABLET
========================================================== */

@media (max-width: 850px) {

    .sd-section {
        padding: 75px 0;
    }

    .sd-hero {
        min-height: 650px;
    }

    .sd-hero-overlay {
        background: rgba(4,18,38,.72);
    }

    .sd-hero-content {
        padding-top: 80px;
    }

    .sd-two-column,
    .sd-benefit-layout,
    .sd-faq-layout,
    .sd-area-box {
        grid-template-columns: 1fr;
    }

    .sd-two-column {
        gap: 55px;
    }

    .sd-image-wrap {
        padding-right: 0;
    }

    .sd-experience-card {
        left: 15px;
    }

    .sd-design-grid {
        grid-template-columns: 1fr;
    }

    .sd-design-image {
        height: 330px;
    }

    .sd-benefit-image {
        height: 540px;
    }

    .sd-benefit-list {
        grid-template-columns: 1fr;
    }

    .sd-process-line {
        grid-template-columns: repeat(2, 1fr);
    }

    .sd-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 350px 240px 240px;
    }

    .sd-gallery-large {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .sd-area-box {
        padding: 40px;
    }

    .sd-faq-intro {
        position: static;
    }
}


/* ==========================================================
   RESPONSIVE - SMALL MOBILE
========================================================== */

@media (max-width: 600px) {

    .sd-section {
        padding: 62px 0;
    }

    .sd-section-heading {
        margin-bottom: 38px;
        text-align: left;
    }

    .sd-section-heading .sd-section-tag {
        justify-content: flex-start;
    }

    .sd-section-heading h2,
    .sd-content h2,
    .sd-benefit-content h2,
    .sd-area-content h2,
    .sd-faq-intro h2 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .sd-hero {
        min-height: 610px;
    }

    .sd-hero h1 {
        font-size: 40px;
        letter-spacing: -1.5px;
    }

    .sd-hero-content > p {
        font-size: 15px;
    }

    .sd-hero-actions,
    .sd-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .sd-btn {
        width: 100%;
    }

    .sd-scroll-indicator {
        display: none;
    }

    .sd-check-grid,
    .sd-application-grid,
    .sd-engineering-grid,
    .sd-process-line {
        grid-template-columns: 1fr;
    }

    .sd-image-main,
    .sd-image-main img {
        min-height: 400px;
        height: 400px;
    }

    .sd-experience-card {
        right: 15px;
        left: 15px;
        bottom: 10px;
        width: auto;
    }

    .sd-design-image {
        height: 250px;
    }

    .sd-benefit-image {
        height: 440px;
    }

    .sd-gallery {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .sd-gallery-large {
        grid-column: auto;
    }

    .sd-gallery-item,
    .sd-gallery-large {
        height: 280px;
    }

    .sd-area-box {
        padding: 30px 22px;
        gap: 30px;
    }

    .sd-final-cta {
        min-height: 540px;
    }

    .sd-cta-overlay {
        background: rgba(4,18,38,.78);
    }

    .sd-cta-content h2 {
        font-size: 36px;
    }

    .sd-lightbox {
        padding: 15px;
    }
}


/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
/* =========================================================
   SERVICE DETAIL HERO - CENTER CONTENT
========================================================= */

.sd-hero-content {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.sd-breadcrumb {
    justify-content: center;
}

.sd-hero-actions {
    justify-content: center;
}

/* Mobile */
@media (max-width: 768px) {
    .sd-hero-content {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .sd-breadcrumb {
        justify-content: center;
        flex-wrap: wrap;
    }

    .sd-hero-actions {
        justify-content: center;
        align-items: center;
    }
}
/* DESIGN SECTION */
.sd-designs .sd-section-heading h2{
    color:#fff;
}

.sd-designs .sd-section-heading p{
    color:rgba(255,255,255,.75);
}

.sd-designs .sd-section-tag{
    color:#78aaff;
}

.sd-designs .sd-section-tag::before{
    background:#78aaff;
}

.sd-design-card{
    padding:30px;
}

.sd-design-card span{
    display:block;
    margin-bottom:10px;
    color:#6ea3ff;
    font-size:13px;
    font-weight:700;
}

.sd-design-card h3{
    margin:0 0 12px;
    color:#fff;
    font-size:24px;
}

.sd-design-card p{
    margin:0;
    color:rgba(255,255,255,.75);
    line-height:1.8;
}