* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --orange: #6387ea;
    --dark: #c7c6cd;
    --dark2: #20252a;
    --light: #f5f5f3;
    --white: #ffffff;
    --text: #202428;
    --gray: #70777d;
    --border: #e5e5e5;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: white;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.container {
    width: 92%;
    max-width: 1180px;
    margin: auto;
}

header .container {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;   /* jdid: bghd l-logo mn l-hafa b espace zghir bark */
}

.navbar {
    min-height: 95px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;  
    font-size: 21px;
    font-weight: 900;
}

.logo img {
    height: 65px;
    width: auto;
}
.logo span {
    color: var(--orange);
}

nav {
    display: flex;
    align-items: center;
    gap: 42px;   
}
nav a {
    font-size: 14px;
    font-weight: 700;
    transition: .3s;
}

nav a:hover,
nav a.active {
    color: var(--orange);
}

.quote-btn {
    display: inline-block;
    background: var(--orange);
    color: white !important;
    padding: 16px 24px;
    white-space: nowrap;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}


/* ================= HERO ================= */
.home-hero,
.page-hero,
.contact-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    background: #14171a;
}

.page-hero {
    min-height: 560px;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroFade 13.5s infinite;
}

.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 4.5s; }
.hero-slide:nth-child(3) { animation-delay: 9s; }

@keyframes heroFade {
    0%   { opacity: 0; }
    4%   { opacity: 1; }
    29%  { opacity: 1; }
    34%  { opacity: 0; }
    100% { opacity: 0; }
}

.home-hero::before,
.page-hero::before,
.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,12,14,.9), rgba(10,12,14,.35));
    z-index: 1;
}

.home-hero > .container,
.page-hero > .container,
.contact-hero > .container {
    position: relative;
    z-index: 2;
}
.home-hero h1,
.page-hero h1,
.contact-hero h1 {
    max-width: 850px;
    font-size: clamp(52px, 7vw, 80px);
    line-height: 1.08;
    margin: 15px 0;
}

.home-hero p,
.page-hero p,
.contact-hero p {
    max-width: 650px;
    color: #e5e5e5;
    font-size: 18px;
}

.eyebrow {
    color: var(--orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/* ================= BUTTON ================= */

.btn {
    display: inline-block;
    background: var(--orange);
    color: white;
    border: none;
    padding: 15px 25px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: .3s;
}

.btn:hover {
    transform: translateY(-3px);
    background: #7693e2;
}

.btn-dark {
    background: var(--dark);
}

.btn-white {
    background: rgb(13, 13, 13);
    color: var(--dark);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-outline {
    background: transparent;
    border: 1px solid #7693e2;
}

.center-btn {
    text-align: center;
    margin-top: 40px;
}


/* ================= SECTIONS ================= */

.section {
    padding: 90px 0;
}

.light-section {
    background: var(--light);
}

.section-head {
    max-width: 750px;
    margin-bottom: 45px;
}

.section h2 {
    font-size: clamp(32px,4vw,48px);
    line-height: 1.1;
    margin: 10px 0 15px;
}

.section p {
    color: var(--gray);
}


/* ================= TWO COLUMNS ================= */

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.two-columns img {
    height: 470px;
}


/* ================= CARDS ================= */

.cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}

.card {
    background: white;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: .3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
}

.card img {
    height: 240px
    
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 21px;
    margin-bottom: 8px;
}

.tag {
    display: inline-block;
    color: var(--orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 8px;
}


/* ================= PROJECT ================= */

.project-feature {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    background: var(--light);
}

.project-feature img {
    height: 430px;
}

.project-feature > div {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 25px;
}

.project-card {
    border: 1px solid var(--border);
    overflow: hidden;
    background: white;
}

.project-card img {
    height: 330px;
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    font-size: 25px;
    margin-bottom: 8px;
}


/* ================= SERVICES ================= */

.service-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: right;
}

.service-row.reverse img {
    order: 2;
}

.service-row img {
    height: 420px;
}

.service-row h2 {
    font-size: 42px;
}


/* ================= VALUES ================= */

.values-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
}

.value-big {
    padding: 35px;
    background: rgb(229, 223, 223);
    border-left: 4px solid var(--orange);
}

.value-big strong {
    display: block;
    font-size: 22px;
    margin-bottom: 10px;
}


/* ================= DARK ================= */

.dark-section {
    background: var(--dark);
    color: rgb(26, 23, 23);
}

.dark-section p {
    color: #090b0c;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    margin-top: 40px;
}

.process-grid div {
    padding: 30px;
    border: 1px solid #333;
}

.process-grid span {
    color: var(--orange);
    font-weight: 900;
    font-size: 28px;
}


/* ================= CONTACT ================= */

.contact-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 60px;
}

.contact-side h2 {
    font-size: 45px;
    line-height: 1.1;
    margin: 10px 0;
}

.contact-details {
    display: grid;
    gap: 15px;
    margin-top: 30px;
}

.contact-details div {
    padding: 20px;
    background: var(--light);
    border-left: 3px solid var(--orange);
}

.contact-details span {
    display: block;
    color: var(--orange);
    font-size: 11px;
    font-weight: 800;
}

.contact-details strong {
    display: block;
    margin-top: 5px;
}
.section-head.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.contact-details.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.whatsapp-btn {
    display: inline-block;
    margin-top: 20px;
    background: var(--dark);
    color: white;
    padding: 15px 20px;
    font-size: 13px;
    font-weight: 800;
}

.form-box {
    background: var(--light);
    padding: 40px;
}

.form-box h2 {
    font-size: 34px;
    margin: 5px 0;
}

.form-box p {
    margin-bottom: 25px;
}

form {
    display: grid;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #ddd;
    background: white;
    padding: 15px;
    font: inherit;
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--orange);
}

textarea {
    min-height: 160px;
    resize: vertical;
}


/* ================= MAP ================= */

.map-section {
    padding: 80px 0;
    background: var(--light);
}

.map {
    height: 350px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    background:
        linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),
        url("https://images.unsplash.com/photo-1524666041070-9f7d3f5c3f22?auto=format&fit=crop&w=1600&q=85")
        center/cover;
}


/* ================= CTA ================= */

.cta {
    padding: 55px 0;
    background: var(--orange);
    color: white;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.cta h2 {
    font-size: 35px;
}

.cta .eyebrow {
    color: white;
}


/* ================= FOOTER ================= */

footer {
    background: #111416;
    color: white;
    padding-top: 55px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

footer h4 {
    margin-bottom: 15px;
}

footer a,
footer p {
    display: block;
    color: #aeb4b8;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid #292d30;
    padding: 20px 0;
    color: #777;
    font-size: 12px;
}


/* ================= MOBILE ================= */

@media(max-width:768px) {

    .menu-btn {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        background: white;
        padding: 25px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        border-bottom: 1px solid var(--border);
        z-index: 999;
    }

    nav.show {
        display: flex !important;
    }

    .home-hero,
    .page-hero,
    .contact-hero {
        min-height: 500px;
    }

    .home-hero h1,
    .page-hero h1,
    .contact-hero h1 {
        font-size: 52px;
    }

    .section {
        padding: 65px 0;
    }

    .two-columns,
    .project-feature,
    .contact-layout,
    .service-row {
        grid-template-columns: 1fr;
    }

    .service-row.reverse img {
        order: 0;
    }

    .service-row img,
    .two-columns img {
        height: 330px;
    }

    .cards,
    .project-grid,
    .values-grid,
    .process-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .project-feature > div {
        padding: 35px;
    }

    .hero-buttons,
    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-box {
        padding: 25px;
    }

}
