/* =========================================================
   CHENNAI ELECTRICAL DESIGN
   Main Stylesheet
   ========================================================= */

/* Safety net: guarantee border-box sizing site-wide so padding
   and borders never inflate an element's declared width/height
   (keeps fixed-size UI like the navbar toggler accurate even if
   a third-party stylesheet fails to load). */
*,
*::before,
*::after {
    box-sizing: border-box;
}


/* ---------------------------------------------------------
   Root Variables
   --------------------------------------------------------- */

:root {

    --primary: #0757a6;
    --primary-dark: #043b73;

    --navy: #071b33;
    --navy-light: #0d2949;

    --accent: #f5a623;
    --accent-dark: #d88900;

    --white: #ffffff;
    --black: #111111;

    --text: #333333;
    --text-light: #6b7280;

    --light-bg: #f6f8fb;
    --border: #e5e7eb;

    --container-width: 1320px;

    --radius: 10px;

    --transition: 0.3s ease;
}


/* ---------------------------------------------------------
   Base
   --------------------------------------------------------- */

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {

    margin: 0;

    padding: 0;

    width: 100%;

    max-width: 100%;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);

    background: var(--white);

    overflow-x: hidden;

    line-height: 1.6;
}

img {

    max-width: 100%;

    height: auto;

    display: block;
}

a {

    text-decoration: none;

    transition: var(--transition);
}



/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

.site-footer {

    background: var(--navy);

    color: rgba(255, 255, 255, 0.8);

    padding:
        70px 0 25px;
}

.site-footer h3,
.site-footer h4 {

    color: var(--white);

    margin-bottom: 20px;

    font-weight: 700;
}

.site-footer a {

    color: rgba(255, 255, 255, 0.75);
}

.site-footer a:hover {

    color: var(--white);
}

.site-footer hr {

    border-color:
        rgba(255, 255, 255, 0.15);

    margin:
        40px 0 20px;
}

.footer-bottom {

    text-align: center;
}

.footer-bottom p {

    margin: 0;

    font-size: 0.9rem;
}


/* ---------------------------------------------------------
   Responsive (non-navbar carry-overs — navbar responsive
   rules now live in the single HEADER / NAVBAR section below)
   --------------------------------------------------------- */

@media (max-width: 575.98px) {

    .site-footer {

        padding:
            50px 0 20px;
    }

    .container {

        --bs-gutter-x: 1.5rem;
    }
}

/* =========================================================
   CONTACT FORM
   ========================================================= */

.form-control,
.form-select {

    min-height: 50px;

    border: 1px solid var(--border);

    border-radius: 6px;

    padding:
        12px 15px;

    font-size: 1rem;

    color: var(--text);

    background-color: var(--white);

    transition: var(--transition);
}


.form-control:focus,
.form-select:focus {

    border-color: var(--primary);

    box-shadow:
        0 0 0 0.2rem rgba(7, 87, 166, 0.12);
}


textarea.form-control {

    min-height: 150px;

    resize: vertical;
}


.form-label {

    font-weight: 600;

    margin-bottom: 8px;
}


/* ---------------------------------------------------------
   Mobile Contact Form
   --------------------------------------------------------- */

@media (max-width: 767.98px) {

    .form-control,
    .form-select {

        min-height: 52px;

        font-size: 16px;
    }

    textarea.form-control {

        min-height: 140px;
    }

    .card-body {

        padding:
            25px 20px !important;
    }
}

/* =========================================================
   PROJECTS PAGE
========================================================= */

.page-hero {
    padding: 120px 0 90px;
    background: #f5f7f9;
    position: relative;
    overflow: hidden;
}

.page-hero h1 {
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.05;
    margin: 15px 0 20px;
    letter-spacing: -1.5px;
}

.page-hero h1 span,
.section-heading h2 span {
    display: block;
}

.page-hero p {
    max-width: 700px;
    font-size: 18px;
    line-height: 1.7;
    color: #667085;
    margin-bottom: 0;
}


/* Section Heading */

.section-heading {
    max-width: 720px;
    margin-bottom: 55px;
}

.section-heading h2 {
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 12px 0 18px;
}

.section-heading p {
    color: #667085;
    font-size: 17px;
    line-height: 1.7;
}


/* Project Filter */

.project-filter-wrapper {
    margin-bottom: 45px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: thin;
}

.project-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    min-width: max-content;
}

.project-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #d9dee5;
    border-radius: 50px;
    background: #fff;
    color: #344054;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.project-filter-btn:hover {
    border-color: var(--primary-color, #f59e0b);
    color: var(--primary-color, #f59e0b);
}

.project-filter-btn.active {
    background: var(--primary-color, #f59e0b);
    border-color: var(--primary-color, #f59e0b);
    color: #fff;
}


/* Project Card */

.project-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e7eaee;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.10);
}


/* Project Image */

.project-image {
    position: relative;
    height: 270px;
    overflow: hidden;
    background: #eef1f4;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef1f4;
    color: #98a2b3;
    font-size: 55px;
}

.project-category {
    position: absolute;
    left: 18px;
    top: 18px;
    padding: 7px 12px;
    background: #fff;
    color: #344054;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}


/* Project Content */

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 22px;
    line-height: 1.25;
    font-weight: 750;
    margin: 0 0 13px;
    color: #101828;
}

.project-location {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #667085;
    font-size: 14px;
    margin-bottom: 15px;
}

.project-location i {
    color: var(--primary-color, #f59e0b);
}

.project-content p {
    color: #667085;
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 18px;
}

.project-services {
    padding-top: 16px;
    border-top: 1px solid #eaecf0;
}

.project-services span {
    color: #475467;
    font-size: 13px;
    line-height: 1.5;
}


/* Empty State */

.projects-empty {
    max-width: 700px;
    margin: 30px auto 0;
    padding: 65px 30px;
    text-align: center;
    border: 1px solid #e7eaee;
    background: #fff;
}

.projects-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7f9;
    color: var(--primary-color, #f59e0b);
    font-size: 30px;
}

.projects-empty h3 {
    font-size: 26px;
    font-weight: 750;
    margin-bottom: 12px;
}

.projects-empty p {
    max-width: 520px;
    margin: 0 auto 25px;
    color: #667085;
    line-height: 1.7;
}


/* Project CTA */

.project-cta {
    background: #f5f7f9;
}

.project-cta-box {
    padding: 55px;
    background: #111827;
    color: #fff;
}

.project-cta-box h2 {
    max-width: 700px;
    margin: 12px 0 15px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    font-weight: 800;
}

.project-cta-box p {
    max-width: 650px;
    margin: 0;
    color: #d0d5dd;
    font-size: 16px;
    line-height: 1.7;
}


/* Mobile */

@media (max-width: 991.98px) {

    .page-hero {
        padding: 90px 0 70px;
    }

    .project-filter {
        justify-content: flex-start;
    }

    .project-cta-box {
        padding: 40px 30px;
    }

}


@media (max-width: 767.98px) {

    .page-hero {
        padding: 75px 0 60px;
    }

    .page-hero h1 {
        font-size: 40px;
    }

    .page-hero p {
        font-size: 16px;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .project-image {
        height: 230px;
    }

    .project-content {
        padding: 22px;
    }

    .project-content h3 {
        font-size: 20px;
    }

    .projects-empty {
        padding: 45px 20px;
    }

    .project-cta-box {
        padding: 35px 22px;
    }

    .project-cta-box h2 {
        font-size: 32px;
    }

}


@media (max-width: 575.98px) {

    .page-hero {
        padding: 65px 0 50px;
    }

    .page-hero h1 {
        font-size: 34px;
        letter-spacing: -0.8px;
    }

    .project-image {
        height: 220px;
    }

    .project-filter-wrapper {
        margin-left: -12px;
        margin-right: -12px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .project-filter-btn {
        min-height: 42px;
        padding: 9px 15px;
        font-size: 13px;
    }

}

/* =========================================================
   HOMEPAGE
========================================================= */

.home-hero {
    position: relative;
    padding: 56px 0 80px;
    background: #f5f7f9;
    overflow: hidden;
}

/* ---- decorative background layers ---- */

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.hero-blob-1 {
    top: -180px;
    right: -120px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle at 30% 30%, rgba(245, 166, 35, 0.28), rgba(245, 166, 35, 0) 70%);
    animation: heroFloat 9s ease-in-out infinite;
}

.hero-blob-2 {
    bottom: -220px;
    left: -160px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle at 60% 40%, rgba(7, 87, 166, 0.16), rgba(7, 87, 166, 0) 70%);
    animation: heroFloat 11s ease-in-out infinite reverse;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 25px) scale(1.06); }
}

.hero-dotgrid {
    position: absolute;
    top: -34px;
    left: -28px;
    width: 150px;
    height: 150px;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(16, 24, 40, 0.16) 1.6px, transparent 1.6px);
    background-size: 14px 14px;
    opacity: 0.7;
}

.home-hero .container {
    position: relative;
    z-index: 1;
}

/* ---- entrance animation ---- */

@keyframes heroRise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-hero .hero-badge,
.home-hero h1,
.home-hero p,
.home-hero .hero-buttons,
.home-hero .hero-trust {
    animation: heroRise 0.7s ease both;
}

.home-hero h1 { animation-delay: 0.08s; }
.home-hero p { animation-delay: 0.16s; }
.home-hero .hero-buttons { animation-delay: 0.24s; }
.home-hero .hero-trust { animation-delay: 0.32s; }

.hero-image-wrapper {
    animation: heroRise 0.9s ease 0.2s both;
}

@media (prefers-reduced-motion: reduce) {
    .hero-blob,
    .home-hero .hero-badge,
    .home-hero h1,
    .home-hero p,
    .home-hero .hero-buttons,
    .home-hero .hero-trust,
    .hero-image-wrapper {
        animation: none;
    }
}

.hero-eyebrow,
.section-eyebrow {
    display: inline-block;
    color: var(--primary-color, #f59e0b);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid rgba(245, 166, 35, 0.35);
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
    max-width: 100%;
    white-space: nowrap;
}

.hero-badge .hero-eyebrow,
.hero-badge.hero-eyebrow {
    white-space: nowrap;
}

.hero-badge i {
    font-size: 13px;
}

.home-hero h1 .hero-highlight {
    background: linear-gradient(90deg, var(--primary-color, #f59e0b), #ff8a3d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-hero h1 {
    max-width: 760px;
    margin: 18px 0 22px;
    font-size: clamp(42px, 5.5vw, 76px);
    line-height: 1.02;
    font-weight: 850;
    letter-spacing: -2px;
    color: #101828;
}

.home-hero h1 span {
    display: block;
}

.home-hero p {
    max-width: 680px;
    margin-bottom: 30px;
    color: #667085;
    font-size: 18px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 28px;
    color: #475467;
    font-size: 13px;
    font-weight: 600;
}

.hero-trust div {
    display: flex;
    align-items: center;
    gap: 7px;
}

.hero-trust i {
    color: var(--primary-color, #f59e0b);
}

.hero-image-wrapper {
    position: relative;
    padding: 0 0 35px 35px;
}

.hero-image-glow {
    position: absolute;
    top: -18px;
    right: -18px;
    bottom: 17px;
    left: 17px;
    z-index: 0;
    background: linear-gradient(135deg, var(--primary-color, #f59e0b), #0757a6);
    opacity: 0.35;
    filter: blur(2px);
}

.hero-image-main {
    position: relative;
    z-index: 1;
    height: 530px;
    overflow: hidden;
    background: #e9edf1;
}

/* ---------------------------------------------------------
   Hero Image Slider — 5 slides, each with its own
   continuous movement while active, crossfading into
   the next.
   --------------------------------------------------------- */

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    opacity: 0;
    z-index: 1;
    transform-origin: center center;
    transition: opacity 1s ease;
    will-change: transform, opacity;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

.hero-image-wrapper:hover .hero-slide.active {
    transition: opacity 1s ease, transform 0.6s ease;
}

/* individual movement per slide — restarted via JS by
   toggling the .active class so each pass looks the same */

.hero-slide.active[data-anim="zoom"] {
    animation: heroAnimZoom 5.5s ease-out forwards;
}

.hero-slide.active[data-anim="pan-right"] {
    animation: heroAnimPanRight 5.5s ease-out forwards;
}

.hero-slide.active[data-anim="pan-left"] {
    animation: heroAnimPanLeft 5.5s ease-out forwards;
}

.hero-slide.active[data-anim="rise"] {
    animation: heroAnimRise 5.5s ease-out forwards;
}

.hero-slide.active[data-anim="tilt"] {
    animation: heroAnimTilt 5.5s ease-out forwards;
}

@keyframes heroAnimZoom {
    0%   { transform: scale(1); }
    100% { transform: scale(1.16); }
}

@keyframes heroAnimPanRight {
    0%   { transform: scale(1.12) translateX(3%); }
    100% { transform: scale(1.12) translateX(-3%); }
}

@keyframes heroAnimPanLeft {
    0%   { transform: scale(1.12) translateX(-3%); }
    100% { transform: scale(1.12) translateX(3%); }
}

@keyframes heroAnimRise {
    0%   { transform: scale(1.14) translateY(4%); }
    100% { transform: scale(1.05) translateY(-2%); }
}

@keyframes heroAnimTilt {
    0%   { transform: scale(1.14) rotate(-2.2deg); }
    100% { transform: scale(1.02) rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide.active[data-anim] {
        animation: none;
        transform: scale(1.02);
    }
}

.hero-slide-dots {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 3;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 0 1px rgba(16, 24, 40, 0.12);
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.85);
}

.hero-dot.active {
    width: 22px;
    background: var(--primary-color, #f59e0b);
}

.hero-location-chip {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(16, 24, 40, 0.55);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
}

.hero-location-chip i {
    color: var(--primary-color, #f59e0b);
}

.hero-floating-card {
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 330px;
    padding: 18px 20px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.14);
}

.hero-floating-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color, #f59e0b);
    color: #fff;
    font-size: 23px;
}

.hero-floating-card strong,
.hero-floating-card span {
    display: block;
}

.hero-floating-card strong {
    margin-bottom: 4px;
    font-size: 14px;
}

.hero-floating-card span {
    color: #667085;
    font-size: 12px;
}


/* About */

.home-section-title {
    margin: 12px 0 20px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1px;
}

.home-section-title span {
    display: block;
}

.section-lead {
    font-size: 18px !important;
    line-height: 1.7 !important;
    color: #475467 !important;
}

.home-about p {
    color: #667085;
    line-height: 1.7;
}

.about-image-wrapper {
    position: relative;
    padding: 0 35px 35px 0;
}

.about-image-wrapper > img {
    width: 100%;
    height: 530px;
    object-fit: cover;
    display: block;
    background: #eef1f4;
}

.about-experience-card {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 230px;
    padding: 22px;
    background: #111827;
    color: #fff;
}

.about-experience-card i {
    display: block;
    margin-bottom: 12px;
    color: var(--primary-color, #f59e0b);
    font-size: 28px;
}

.about-experience-card strong,
.about-experience-card span {
    display: block;
}

.about-experience-card strong {
    font-size: 16px;
}

.about-experience-card span {
    margin-top: 5px;
    color: #d0d5dd;
    font-size: 13px;
}

.about-points {
    margin: 25px 0;
}

.about-points div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #344054;
    font-size: 15px;
    font-weight: 600;
}

.about-points i {
    color: var(--primary-color, #f59e0b);
    font-size: 19px;
}


/* Services */

.home-services {
    background: #f5f7f9;
}

.service-card {
    height: 100%;
    padding: 32px 28px;
    background: #fff;
    border: 1px solid #e7eaee;
    transition: transform .3s ease, box-shadow .3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(16, 24, 40, .09);
}

.service-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff4dc;
    color: var(--primary-color, #f59e0b);
    font-size: 25px;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 21px;
    font-weight: 750;
}

.service-card p {
    min-height: 76px;
    margin-bottom: 20px;
    color: #667085;
    font-size: 14px;
    line-height: 1.65;
}

.service-link,
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #101828;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

.service-link:hover,
.text-link:hover {
    color: var(--primary-color, #f59e0b);
}

.services-button {
    margin-top: 45px;
}


/* Process */

.process-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.process-item {
    position: relative;
    padding: 30px 20px;
    background: #fff;
    border: 1px solid #e7eaee;
}

.process-number {
    margin-bottom: 22px;
    color: #d0d5dd;
    font-size: 14px;
    font-weight: 800;
}

.process-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111827;
    color: #fff;
    font-size: 20px;
}

.process-item h3 {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 750;
}

.process-item p {
    margin: 10px 0 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.6;
}


/* Project Types */

.project-types {
    background: #111827;
    color: #fff;
}

.project-types .home-section-title {
    margin-bottom: 0;
}

.project-types p {
    color: #98a2b3;
    line-height: 1.7;
}

.project-type-card {
    position: relative;
    min-height: 145px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    background: #1d2635;
    border: 1px solid #2c3748;
    color: #fff;
    text-decoration: none;
    transition: all .3s ease;
}

.project-type-card > i:first-child {
    font-size: 27px;
    color: var(--primary-color, #f59e0b);
}

.project-type-card span {
    font-size: 17px;
    font-weight: 700;
}

.project-type-arrow {
    position: absolute;
    top: 23px;
    right: 22px;
    color: #98a2b3 !important;
    font-size: 17px !important;
}

.project-type-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color, #f59e0b);
    color: #fff;
}


/* Benefits */

.benefit-card {
    height: 100%;
    display: flex;
    gap: 18px;
    padding: 24px;
    border: 1px solid #e7eaee;
    background: #fff;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff4dc;
    color: var(--primary-color, #f59e0b);
    font-size: 20px;
}

.benefit-card h3 {
    margin-bottom: 7px;
    font-size: 17px;
    font-weight: 750;
}

.benefit-card p {
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.6;
}


/* Technical */

.technical-section {
    background: #f5f7f9;
}

.technical-section p {
    color: #667085;
    line-height: 1.7;
}

.deliverables-list {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.deliverables-list div {
    display: flex;
    gap: 9px;
    align-items: center;
    color: #344054;
    font-size: 14px;
    font-weight: 600;
}

.deliverables-list i {
    color: var(--primary-color, #f59e0b);
}

.technical-visual {
    min-height: 450px;
    padding: 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #111827;
    text-align: center;
    color: #fff;
}

.technical-visual-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color, #f59e0b);
    color: #fff;
    font-size: 42px;
}

.technical-visual span {
    margin-bottom: 8px;
    color: #98a2b3;
    font-size: 14px;
}

.technical-visual strong {
    font-size: 24px;
}

.technical-lines {
    width: 70%;
    margin-top: 35px;
}

.technical-lines div {
    height: 1px;
    margin: 13px 0;
    background: #475467;
}


/* Home Projects */

.home-projects {
    background: #fff;
}

.home-project-empty {
    max-width: 650px;
    margin: auto;
    padding: 50px 25px;
    border: 1px solid #e7eaee;
    text-align: center;
}

.home-project-empty > i {
    color: var(--primary-color, #f59e0b);
    font-size: 42px;
}

.home-project-empty h3 {
    margin: 15px 0 10px;
    font-size: 24px;
}

.home-project-empty p {
    margin: 0;
    color: #667085;
    line-height: 1.7;
}


/* FAQ */

.home-faq {
    background: #f5f7f9;
}

.home-faq p {
    color: #667085;
    line-height: 1.7;
}

.home-accordion .accordion-item {
    margin-bottom: 12px;
    border: 1px solid #e7eaee !important;
    background: #fff;
}

.home-accordion .accordion-button {
    padding: 21px 22px;
    color: #101828;
    font-size: 16px;
    font-weight: 700;
    background: #fff;
    box-shadow: none;
}

.home-accordion .accordion-button:not(.collapsed) {
    color: #101828;
    background: #fff;
}

.home-accordion .accordion-button:focus {
    box-shadow: none;
}

.home-accordion .accordion-body {
    padding: 0 22px 22px;
    color: #667085;
    font-size: 14px;
    line-height: 1.7;
}


/* Final CTA */

.home-final-cta {
    background: #fff;
}

.final-cta-box {
    padding: 60px;
    background: #111827;
    color: #fff;
}

.final-cta-box h2 {
    margin: 12px 0 15px;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.08;
    font-weight: 800;
}

.final-cta-box p {
    max-width: 680px;
    margin: 0;
    color: #d0d5dd;
    line-height: 1.7;
}


/* Homepage Responsive */

@media (max-width: 1199.98px) {

    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-image-main {
        height: 450px;
    }

    .hero-dotgrid {
        display: none;
    }

}


@media (max-width: 991.98px) {

    .home-hero {
        padding: 80px 0;
    }

    .home-hero h1 {
        font-size: 54px;
    }

    .hero-image-wrapper {
        padding-left: 25px;
    }

    .about-image-wrapper > img {
        height: 450px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .technical-visual {
        min-height: 380px;
    }

}


@media (max-width: 767.98px) {

    .home-hero {
        padding: 65px 0;
    }

    .home-hero h1 {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .home-hero p {
        font-size: 16px;
    }

    .hero-badge {
        padding: 7px 14px;
        gap: 6px;
    }

    .hero-eyebrow,
    .section-eyebrow {
        font-size: 11px;
        letter-spacing: 0.8px;
    }

    .hero-badge i {
        font-size: 11px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-trust {
        flex-direction: column;
        gap: 10px;
    }

    .hero-image-wrapper {
        padding: 0 0 25px 20px;
    }

    .hero-image-main {
        height: 400px;
    }

    .hero-floating-card {
        max-width: 290px;
    }

    .about-image-wrapper {
        padding: 0 20px 25px 0;
    }

    .about-image-wrapper > img {
        height: 400px;
    }

    .about-experience-card {
        width: 205px;
        padding: 18px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .deliverables-list {
        grid-template-columns: 1fr;
    }

    .technical-visual {
        min-height: 320px;
        padding: 30px;
    }

    .final-cta-box {
        padding: 40px 25px;
    }

}


@media (max-width: 575.98px) {

    .home-hero h1 {
        font-size: 35px;
    }

    .hero-badge {
        padding: 6px 12px;
        gap: 5px;
    }

    .hero-eyebrow,
    .section-eyebrow {
        font-size: 9.5px;
        letter-spacing: 0.4px;
    }

    .hero-badge i {
        font-size: 10px;
    }

    .home-section-title {
        font-size: 34px;
    }

    .hero-image-main {
        height: 320px;
    }

    .hero-blob-1,
    .hero-blob-2 {
        width: 300px;
        height: 300px;
    }

    .hero-image-glow {
        top: -10px;
        right: -10px;
    }

    .hero-floating-card {
        left: 0;
        max-width: calc(100% - 15px);
        padding: 14px;
    }

    .hero-floating-icon {
        width: 45px;
        height: 45px;
        flex-basis: 45px;
    }

    .about-image-wrapper > img {
        height: 320px;
    }

    .about-experience-card {
        width: 185px;
        padding: 15px;
    }

    .benefit-card {
        padding: 20px;
    }

    .technical-visual {
        min-height: 280px;
    }

    .technical-visual strong {
        font-size: 20px;
    }

    .final-cta-box {
        padding: 32px 20px;
    }

}

/* =========================================================
   INNER PAGES
========================================================= */

.about-values {
    background: #f5f7f9;
}

.about-value-card {
    height: 100%;
    padding: 32px 28px;
    background: #fff;
    border: 1px solid #e7eaee;
}

.about-value-card h3 {
    margin: 5px 0 12px;
    font-size: 21px;
    font-weight: 750;
}

.about-value-card p {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.7;
}

.about-services {
    background: #fff;
}

.about-services p {
    color: #667085;
    line-height: 1.7;
}

.about-service-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.about-service-list div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px;
    border: 1px solid #e7eaee;
    color: #344054;
    font-size: 14px;
    font-weight: 650;
}

.about-service-list i {
    color: var(--primary-color, #f59e0b);
}


/* Services Page */

.services-main {
    background: #fff;
}

.service-page-card {
    min-height: 100%;
}

.service-page-card p {
    min-height: 85px;
}

.service-deliverables {
    background: #f5f7f9;
}

.service-deliverables-list {
    padding: 30px;
    background: #fff;
    border: 1px solid #e7eaee;
}


/* Why Us */

.why-main {
    background: #fff;
}

.why-detail-card {
    height: 100%;
    padding: 32px 28px;
    border: 1px solid #e7eaee;
    background: #fff;
    transition: transform .3s ease, box-shadow .3s ease;
}

.why-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(16, 24, 40, .08);
}

.why-detail-card h3 {
    margin: 20px 0 10px;
    font-size: 20px;
    font-weight: 750;
}

.why-detail-card p {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.7;
}

.why-process {
    background: #f5f7f9;
}

.commitment-list {
    background: #fff;
    border: 1px solid #e7eaee;
}

.commitment-list > div {
    display: flex;
    gap: 22px;
    padding: 25px;
    border-bottom: 1px solid #e7eaee;
}

.commitment-list > div:last-child {
    border-bottom: 0;
}

.commitment-list > div > span {
    width: 45px;
    flex: 0 0 45px;
    color: var(--primary-color, #f59e0b);
    font-size: 14px;
    font-weight: 800;
}

.commitment-list h3 {
    margin: 0 0 5px;
    font-size: 18px;
    font-weight: 750;
}

.commitment-list p {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.6;
}


/* FAQ */

.faq-main {
    background: #fff;
}

.faq-intro {
    margin-bottom: 45px;
}

.faq-intro h2 {
    margin: 12px 0 16px;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.1;
    font-weight: 800;
}

.faq-intro h2 span {
    display: block;
}

.faq-intro p {
    max-width: 650px;
    margin: auto;
    color: #667085;
    line-height: 1.7;
}

.faq-page-accordion .accordion-item {
    margin-bottom: 14px;
    border: 1px solid #e7eaee !important;
    background: #fff;
}

.faq-page-accordion .accordion-button {
    padding: 24px;
    color: #101828;
    background: #fff;
    font-size: 17px;
    font-weight: 700;
    box-shadow: none;
}

.faq-page-accordion .accordion-button:not(.collapsed) {
    color: #101828;
    background: #fff;
}

.faq-page-accordion .accordion-button:focus {
    box-shadow: none;
}

.faq-page-accordion .accordion-body {
    padding: 0 24px 24px;
    color: #667085;
    font-size: 15px;
    line-height: 1.75;
}


/* Inner page mobile */

@media (max-width: 767.98px) {

    .about-service-list {
        grid-template-columns: 1fr;
    }

    .service-deliverables-list {
        padding: 22px;
    }

    .why-detail-card {
        padding: 26px 22px;
    }

    .commitment-list > div {
        padding: 20px;
        gap: 15px;
    }

    .faq-page-accordion .accordion-button {
        padding: 20px;
        font-size: 15px;
    }

    .faq-page-accordion .accordion-body {
        padding: 0 20px 20px;
        font-size: 14px;
    }

}


@media (max-width: 575.98px) {

    .about-value-card {
        padding: 25px 22px;
    }

    .about-service-list div {
        padding: 15px;
        font-size: 13px;
    }

    .commitment-list > div > span {
        width: 35px;
        flex-basis: 35px;
    }

    .faq-intro h2 {
        font-size: 33px;
    }

}

/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-main {
    background: #fff;
}

.contact-intro {
    color: #667085;
    line-height: 1.75;
    margin-bottom: 35px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border: 1px solid #e7eaee;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff4dc;
    color: var(--primary-color, #f59e0b);
    font-size: 20px;
}

.contact-info-item span,
.contact-info-item strong,
.contact-info-item a {
    display: block;
}

.contact-info-item span {
    margin-bottom: 4px;
    color: #98a2b3;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .7px;
    font-weight: 700;
}

.contact-info-item strong,
.contact-info-item a {
    color: #101828;
    font-size: 15px;
    font-weight: 650;
    text-decoration: none;
}

.contact-info-item a:hover {
    color: var(--primary-color, #f59e0b);
}

.contact-form-card {
    padding: 40px;
    background: #f5f7f9;
    border: 1px solid #e7eaee;
}

.contact-form-heading {
    margin-bottom: 30px;
}

.contact-form-heading h2 {
    margin: 10px 0 8px;
    font-size: 32px;
    font-weight: 800;
}

.contact-form-heading p {
    margin: 0;
    color: #667085;
    line-height: 1.6;
}

.contact-form-card label {
    display: block;
    margin-bottom: 7px;
    color: #344054;
    font-size: 14px;
    font-weight: 700;
}

.contact-form-card label span {
    color: #d92d20;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    min-height: 52px;
    border: 1px solid #d0d5dd;
    border-radius: 0;
    color: #101828;
    box-shadow: none;
}

.contact-form-card textarea.form-control {
    min-height: 145px;
    resize: vertical;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: var(--primary-color, #f59e0b);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .12);
}

.contact-bottom {
    background: #f5f7f9;
}

.contact-bottom-box {
    padding: 55px 30px;
    background: #111827;
    color: #fff;
}

.contact-bottom-box h2 {
    margin: 12px 0;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
}

.contact-bottom-box p {
    max-width: 600px;
    margin: 0 auto 25px;
    color: #d0d5dd;
    line-height: 1.7;
}

.contact-bottom-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 75px 0 0;
    background: #101828;
    color: #fff;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
}

.footer-brand-img {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.footer-description {
    max-width: 390px;
    margin: 0;
    color: #98a2b3;
    font-size: 14px;
    line-height: 1.8;
}

.site-footer h3 {
    margin: 0 0 20px;
    color: #fff;
    font-size: 15px;
    font-weight: 750;
}

.footer-links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 11px;
}

.footer-links a {
    color: #98a2b3;
    font-size: 14px;
    text-decoration: none;
    transition: color .2s ease;
}

.footer-links a:hover {
    color: var(--primary-color, #f59e0b);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.footer-contact div {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary-color, #f59e0b);
}

.footer-contact span,
.footer-contact a {
    color: #98a2b3;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 9px;
    margin-top: 25px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #344054;
    color: #fff;
    text-decoration: none;
    transition: all .2s ease;
}

.footer-social a:hover {
    border-color: var(--primary-color, #f59e0b);
    color: var(--primary-color, #f59e0b);
}

.footer-bottom {
    margin-top: 60px;
    padding: 22px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px 20px;
    border-top: 1px solid #253044;
    max-width: 100%;
}

.footer-bottom p {
    margin: 0;
    color: #667085;
    font-size: 12px;
    max-width: 100%;
}

@media (max-width: 575.98px) {
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }
}


/* =========================================================
   FLOATING CONTACT
========================================================= */

/* ---------------------------------------------------------
   Side Floating Contact Tabs (WhatsApp / Call)
   Desktop: WhatsApp on left edge, Call on right edge
   Mobile:  Call on left edge, WhatsApp on right edge (swapped)
   --------------------------------------------------------- */

.side-fab {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 46px;
    padding: 14px 8px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .2);
    transition: padding .25s ease, width .25s ease;
}

.side-fab i {
    font-size: 18px;
    line-height: 1;
}

.side-fab-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
}

.side-fab:hover {
    color: #fff;
}

/* WhatsApp tab - left edge on desktop */
.side-fab-whatsapp {
    left: 0;
    background: #25d366;
    border-radius: 0 10px 10px 0;
}

.side-fab-whatsapp:hover {
    width: 50px;
}

/* Call tab - right edge on desktop */
.side-fab-call {
    right: 0;
    background: var(--navy);
    border-radius: 10px 0 0 10px;
}

.side-fab-call:hover {
    width: 50px;
}

/* Mobile: swap to icon-only floating buttons, Call left / WhatsApp right */
@media (max-width: 767.98px) {

    .side-fab {
        top: auto;
        bottom: 18px;
        transform: none;
        flex-direction: row;
        padding: 0;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
    }

    .side-fab-label {
        display: none;
    }

    .side-fab-whatsapp {
        left: auto;
        right: 14px;
        border-radius: 50%;
    }

    .side-fab-call {
        left: 14px;
        right: auto;
        border-radius: 50%;
    }

}


/* Contact Mobile */

@media (max-width: 767.98px) {

    .contact-form-card {
        padding: 28px 20px;
    }

    .contact-bottom-box {
        padding: 40px 20px;
    }

    .footer-bottom {
        flex-direction: column;
        margin-top: 40px;
    }

}

@media (max-width: 575.98px) {

    .contact-info-item {
        padding: 15px;
    }

    .contact-form-heading h2 {
        font-size: 27px;
    }

}

/* =========================================================
   404 PAGE
========================================================= */

.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 90px 0;
    background: #f5f7f9;
}

.error-content {
    max-width: 760px;
    margin: auto;
    text-align: center;
}

.error-number {
    margin-bottom: 10px;
    color: var(--primary-color, #f59e0b);
    font-size: clamp(100px, 18vw, 190px);
    line-height: .8;
    font-weight: 900;
    letter-spacing: -8px;
}

.error-content h1 {
    margin: 15px 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    font-weight: 800;
}

.error-content h1 span {
    display: block;
}

.error-content p {
    max-width: 580px;
    margin: 0 auto 28px;
    color: #667085;
    line-height: 1.7;
}

.error-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* =========================================================
   FINAL GLOBAL DESIGN SYSTEM
========================================================= */

:root {
    --primary-color: #dc2626;
    --primary-dark: #b91c1c;

    --dark-color: #101828;
    --dark-secondary: #1d2939;

    --text-color: #344054;
    --muted-color: #667085;

    --light-color: #f5f7f9;
    --border-color: #e7eaee;

    --white: #ffffff;

    --container-width: 1320px;

    --transition: .3s ease;
}


/* =========================================================
   GLOBAL
========================================================= */

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    color: var(--text-color);
    background: #fff;
    font-family: "DM Sans", sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
}

a {
    transition:
        color var(--transition),
        background-color var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

button,
input,
select,
textarea {
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: var(--container-width);
}


/* =========================================================
   HEADER / NAVBAR
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid rgba(16, 24, 40, .07);
}

/* push page content down so it doesn't sit under the fixed header.
   Kept in sync with the .navbar min-height at every breakpoint below
   so there is never a gap (or overlap) under the fixed header. */
body {
    padding-top: 89px;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    min-height: 88px;
    padding: 0;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--dark-color);
    text-decoration: none;
    flex: 0 1 auto;
    min-width: 0;
}

.site-logo:hover {
    color: var(--dark-color);
}

.logo-mark {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    overflow: hidden;

    box-shadow: 0 2px 8px rgba(7, 27, 51, 0.25);
}

.logo-mark-img {
    width: 100%;
    height: 100%;
    max-width: 100%;

    border-radius: 50%;
    object-fit: cover;

    display: block;

    transition: var(--transition, transform 0.2s ease);
}

.site-logo:hover .logo-mark-img {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 5px;
    line-height: 1;
    white-space: nowrap;
}

.logo-word {
    font-size: 24px;
    font-weight: 850;
    letter-spacing: -.2px;
}

/* RYB — red / yellow / blue */
.logo-word-1 { color: #e11d2e; }
.logo-word-2 { color: #f2b705; }
.logo-word-3 { color: #1d4ed8; }

.navbar-nav {
    gap: 2px;
}

.navbar .nav-link {
    position: relative;
    padding: 34px 12px !important;

    color: #344054;
    font-size: 13px;
    font-weight: 650;

    white-space: nowrap;
}

.navbar .nav-link::after {
    content: "";
    position: absolute;

    left: 12px;
    right: 12px;
    bottom: 22px;

    height: 2px;

    background: var(--primary-color);

    transform: scaleX(0);
    transform-origin: center;

    transition: transform .25s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--dark-color);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-cta {
    margin-left: 18px;
}

.navbar-consultation {
    padding: 13px 18px;
    font-size: 12px;
    white-space: nowrap;
}

/* Hamburger toggle button — sized and centered consistently so it
   can never balloon to fill the header height or crowd the edge. */
.navbar-toggler {
    flex: 0 0 auto;
    align-self: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;

    line-height: 1;

    transition: border-color .2s ease, background-color .2s ease;
}

.navbar-toggler-icon {
    width: 20px;
    height: 20px;
}

.navbar-toggler:hover {
    border-color: var(--primary-color);
}

.navbar-toggler:focus {
    box-shadow: none;
    border-color: var(--primary-color);
    outline: none;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    min-height: 46px;
    padding: 11px 20px;

    border-radius: 0;

    font-size: 13px;
    font-weight: 750;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    transition:
        transform .25s ease,
        background-color .25s ease,
        border-color .25s ease,
        color .25s ease,
        box-shadow .25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
    border-color: var(--primary-dark);
    background: var(--primary-dark);
    color: #fff;
}

.btn-outline-dark {
    border-color: #1d2939;
    color: #101828;
    background: transparent;
}

.btn-outline-dark:hover {
    background: #101828;
    border-color: #101828;
    color: #fff;
}

.btn-light {
    color: #101828;
    background: #fff;
    border-color: #fff;
}

.btn-light:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}


/* =========================================================
   SECTION SYSTEM
========================================================= */

.section-padding {
    padding: 110px 0;
}

.section-heading {
    margin-bottom: 55px;
}

.section-heading h2 {
    color: var(--dark-color);
}

.section-heading p {
    margin-bottom: 0;
}


/* =========================================================
   GLOBAL SCROLL ANIMATION
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity .7s ease,
        transform .7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 24px;

    width: 45px;
    height: 45px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #d0d5dd;

    background: #fff;
    color: #101828;

    font-size: 17px;

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    z-index: 998;

    transition:
        opacity .25s ease,
        visibility .25s ease,
        transform .25s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* Mobile: keep back-to-top above the floating call/whatsapp icons */
@media (max-width: 767.98px) {

    .back-to-top {
        bottom: 82px;
        right: 14px;
    }

}


/* =========================================================
   IMAGE FALLBACK
========================================================= */

img {
    background-color: #eef1f4;
}


/* =========================================================
   RESPONSIVE NAVIGATION
========================================================= */

@media (max-width: 1199.98px) {

    .navbar .nav-link {
        padding-left: 8px !important;
        padding-right: 8px !important;
        font-size: 12px;
    }

    .navbar .nav-link::after {
        left: 8px;
        right: 8px;
    }

    .navbar-cta {
        margin-left: 10px;
    }

    .navbar-consultation {
        padding-left: 13px;
        padding-right: 13px;
        font-size: 11px;
    }

}


@media (max-width: 991.98px) {

    .navbar {
        min-height: 76px;
        padding: 12px 0;
    }

    /* keep the fixed header and the page content flush at this
       breakpoint's shorter navbar height (76px content + 24px
       vertical padding + 1px border = 101px) */
    body {
        padding-top: 101px;
    }

    .navbar-collapse {
        margin-top: 15px;
        padding: 14px 16px 18px;

        background: #fff;
        border: 1px solid var(--border-color);
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(16, 24, 40, .08);

        max-height: calc(100vh - 120px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .navbar-nav {
        gap: 0;
    }

    .navbar .nav-link {
        padding: 13px 5px !important;
        border-bottom: 1px solid #f0f2f4;
    }

    .navbar .nav-link::after {
        display: none;
    }

    .navbar .nav-link.active {
        color: var(--primary-color);
    }

    .navbar-cta {
        margin: 18px 0 0;
    }

    .navbar-consultation {
        width: 100%;
    }

    .section-padding {
        padding: 85px 0;
    }

}


@media (max-width: 575.98px) {

    .navbar {
        min-height: 68px;
    }

    /* 68px content + 1px border */
    body {
        padding-top: 69px;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .logo-mark {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .logo-word {
        font-size: clamp(13px, 4.2vw, 17px);
    }

    .navbar-toggler {
        width: 40px;
        height: 40px;
    }

    .navbar-toggler-icon {
        width: 18px;
        height: 18px;
    }

    .section-padding {
        padding: 70px 0;
    }

    .back-to-top {
        right: 12px;
        bottom: 78px;
    }

}

/* =========================================================
   GLOBAL FLASH ALERT
========================================================= */

.global-flash-alert {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    width: 92%;
    max-width: 480px;
}

.global-flash-alert .alert {
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.18);
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   QUICK ENQUIRY MODAL
========================================================= */

.quick-enquiry-modal .modal-content {
    border: none;
    border-radius: 14px;
    overflow: hidden;
}

.quick-enquiry-modal .modal-header {
    background: var(--dark-color, #101828);
    color: #fff;
    border-bottom: none;
    padding: 20px 24px;
}

.quick-enquiry-modal .modal-header .modal-title {
    font-weight: 800;
    font-size: 18px;
}

.quick-enquiry-modal .modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.quick-enquiry-modal .modal-body {
    padding: 24px;
}

.quick-enquiry-subtext {
    color: var(--muted-color, #667085);
    font-size: 13.5px;
    margin-bottom: 18px;
}

.quick-enquiry-modal .form-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark-color, #101828);
    margin-bottom: 6px;
}

.quick-enquiry-modal .form-control,
.quick-enquiry-modal .form-select {
    border-radius: 8px;
    border-color: var(--border-color, #e7eaee);
    padding: 10px 14px;
    font-size: 14px;
}

.quick-enquiry-modal .form-control:focus,
.quick-enquiry-modal .form-select:focus {
    border-color: var(--primary-color, #dc2626);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.quick-enquiry-modal .modal-footer {
    border-top: 1px solid var(--border-color, #e7eaee);
    padding: 16px 24px;
}

.quick-enquiry-modal .btn-primary {
    background: var(--primary-color, #dc2626);
    border-color: var(--primary-color, #dc2626);
    font-weight: 700;
}

.quick-enquiry-modal .btn-primary:hover {
    background: var(--primary-dark, #b91c1c);
    border-color: var(--primary-dark, #b91c1c);
}