/*
Theme Name: Al Anamil Custom Theme
Description: A precision-crafted WordPress theme adapted structurally from the static Al Anamil HTML landing page.
Author: Arsalan Hashmi
Version: 1.0.0
Text Domain: alanamil
*/

/* CSS Variables & Fonts */
:root {
    --clr-brown: #974F3D;
    --clr-black: #3A3937;
    --clr-grey: #7C7C7C;
    --clr-white: #FFFFFF;
    --clr-peach: #FDE0DD;
    --font-primary: 'Tajawal', sans-serif;
    --font-secondary: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--clr-white);
    color: var(--clr-black);
    overflow-x: hidden;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

.max-w-1000 {
    max-width: 1000px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.c-brown {
    color: var(--clr-brown);
}

.c-peach {
    color: var(--clr-peach);
}

.text-gray {
    color: var(--clr-grey);
}

.text-white {
    color: var(--clr-white);
}

.mt-large {
    margin-top: 60px;
}

.mt-medium {
    margin-top: 30px;
}

.mb-medium {
    margin-bottom: 30px;
}

.mb-large {
    margin-bottom: 60px;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.pt-0 {
    padding-top: 0 !important;
}

.pb-large {
    padding-bottom: 120px;
}

.h-100 {
    height: 100%;
}

.object-cover {
    object-fit: cover;
}

.section-light {
    background: var(--clr-white);
    color: var(--clr-black);
}

.section-dark {
    background: var(--clr-black);
    color: var(--clr-white);
}

.spacing-large {
    padding: 120px 0;
}

.main-heading {
    font-family: var(--font-primary);
    font-size: clamp(40px, 5vw, 62px);
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 24px;
}

.sub-heading {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.intro-text,
.text-flow p {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.huge-text {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 500;
    line-height: 1.3;
}

/* Navbar - Updated Pill Design */
.pill-nav {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: var(--clr-white);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 52px;
}

.nav-links {
    display: flex;
    gap: 30px;
    margin-left: auto;
    margin-right: 24px;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-secondary);
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--clr-black);
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--clr-brown);
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--clr-brown);
    color: var(--clr-white);
    padding: 6px 6px 6px 24px;
    border-radius: 40px;
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    opacity: 0.9;
}

.arrow-circle {
    background: var(--clr-white);
    color: var(--clr-brown);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.arrow-circle svg {
    width: 14px;
    height: 14px;
}

/* Hamburger */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    margin-left: auto;
}

.burger-menu span {
    width: 30px;
    height: 3px;
    background: var(--clr-black);
    transition: 0.4s;
}

.burger-menu.open span {
    background: var(--clr-white);
}

.burger-menu.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-menu.open span:nth-child(2) {
    opacity: 0;
}

.burger-menu.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--clr-black);
    z-index: 1000;
    display: flex;
    visibility: hidden;
    pointer-events: none;
    flex-direction: column;
    justify-content: center;
    padding-left: 10%;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out, visibility 0.4s;
}

.mobile-menu-overlay.open {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.mobile-close-btn {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1002;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    transition: border-color 0.3s, background 0.3s;
}

.mobile-close-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
}

.mobile-close-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--clr-white);
    stroke-width: 1.8;
    stroke-linecap: round;
}

.mobile-nav-link {
    font-family: var(--font-primary);
    font-size: 32px;
    color: var(--clr-peach);
    text-decoration: none;
    text-transform: uppercase;
    margin-bottom: 24px;
    transition: color 0.3s;
}

.mobile-nav-link:hover {
    color: var(--clr-grey);
}

.mobile-footer {
    position: absolute;
    bottom: 30px;
    font-family: var(--font-secondary);
    font-size: 14px;
    color: var(--clr-peach);
}

@media (max-width: 1024px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .burger-menu {
        display: flex;
    }
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    background: url('Photos/Hero-Section-Image/The Lake 3.webp') center/cover no-repeat;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #845139 0%, rgba(208, 95, 21, 0.2) 88%);
    opacity: 0.9;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--clr-white);
}

.hero h1 {
    font-size: clamp(40px, 5vw, 62px);
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.1;
    text-transform: uppercase;
    max-width: 800px;
    color: var(--clr-peach);
    letter-spacing: 0.05em;
}

.hero p {
    font-size: 22px;
    font-weight: 300;
    font-family: var(--font-primary);
    max-width: 600px;
    margin-bottom: 40px;
    letter-spacing: 0.04em;
    line-height: 1.3;
}

.btn-outline {
    border: 1px solid var(--clr-white);
    color: var(--clr-white);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-family: var(--font-secondary);
    text-transform: uppercase;
    font-size: 14px;
    display: inline-block;
    transition: background 0.3s, color 0.3s;
}

.btn-outline:hover {
    background: var(--clr-white);
    color: var(--clr-brown);
}

/* Grid Layouts & Section Specifics */
.s1-intro {
    font-size: 16px;
    color: var(--clr-grey);
    max-width: 400px;
    line-height: 1.6;
    height: calc(1.6em * 4);
    overflow: hidden;
    margin-bottom: 24px;
}

.s1-right-text {
    color: rgba(151, 79, 61, 0.85);
    font-size: 16px;
    letter-spacing: 0.03em;
    line-height: 22px;
    max-width: 660px;
    margin-bottom: 24px;
}

.split-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
}

.s2-spacing {
    padding: 130px 0;
}

.grid-art-living {
    display: grid;
    grid-template-columns: 45% 55%;
    column-gap: 80px;
    align-items: start;
}

.art-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.art-left .main-heading {
    margin-bottom: 40px;
}

.art-left-img {
    width: 80%;
    max-width: 480px;
    height: 560px;
    object-fit: cover;
    display: block;
}

.art-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.art-right-img-top {
    width: 80%;
    height: 460px;
    object-fit: cover;
    display: block;
    margin-bottom: 44px;
}

.s2-body-text {
    color: var(--clr-white);
    font-size: 18px;
    letter-spacing: 0.03em;
    line-height: 23px;
    max-width: 550px;
    padding-right: 69px;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .grid-art-living {
        grid-template-columns: 48% 52%;
        column-gap: 40px;
    }

    .art-left-img {
        height: 560px;
    }

    .art-right-img-top {
        height: 240px;
    }

    .s2-body-text {
        max-width: 100%;
    }
}

.s3-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-top: 204px;
}

.s3-statement {
    text-align: left;
    font-size: 45px;
    font-weight: 500;
    color: var(--clr-black);
    letter-spacing: 0.03em;
    line-height: 60px;
    max-width: 900px;
    margin-bottom: 40px;
}

.s3-statement .c-brown {
    color: var(--clr-brown);
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.vision-img {
    aspect-ratio: 3/4;
    object-fit: cover;
    width: 100%;
    border-radius: 0;
}

.s4-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.s4-large-img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 0;
}

.s4-mission-heading {
    font-size: 60px;
    font-weight: 500;
    color: var(--clr-brown);
    margin-bottom: 40px;
    text-align: center;
    font-family: var(--font-primary);
    text-transform: uppercase;
}

.s4-small-img {
    width: 70%;
    aspect-ratio: 3/2;
    object-fit: cover;
    border-radius: 0;
    margin: 0 auto 40px;
    display: block;
}

.s4-body {
    color: var(--clr-white);
    font-size: 16px;
    letter-spacing: 0.03em;
    line-height: 23px;
    text-align: center;
    max-width: 440px;
    margin: 0 auto;
}

.s5-top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.s5-body-para {
    color: rgba(151, 79, 61, 0.85);
    font-size: 16px;
    letter-spacing: 0.03em;
    line-height: 22px;
    margin-bottom: 22px;
}

.s5-bottom-statement {
    font-size: 38px;
    font-weight: 500;
    color: var(--clr-black);
    letter-spacing: 0.03em;
    line-height: 53px;
    text-align: left;
    margin-top: 60px;
}

.s5-bottom-statement .c-brown {
    color: var(--clr-brown);
}

.img-fluid {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

@media (max-width: 768px) {

    .split-grid-2,
    .grid-art-living,
    .grid-3-col,
    .s3-grid,
    .s4-split,
    .s5-top-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero p {
        font-size: 18px;
    }

    .s1-intro,
    .s2-body-text {
        margin-top: 40px;
        margin-left: 0;
    }

    .s1-right-text,
    .right-img-offset {
        margin-top: 20px;
    }

    .s3-statement {
        font-size: clamp(30px, 5vw, 40px);
        line-height: 1.3;
    }

    .s4-small-img {
        width: 100%;
    }

    .s5-bottom-statement {
        font-size: clamp(28px, 5vw, 38px);
        line-height: 1.4;
    }
}

/* Text Reveals */
.reveal-text {
    color: var(--clr-dim);
    transition: color 1s ease-in-out;
}

.reveal-text.visible,
.reveal-text .c-brown {
    color: var(--clr-black);
}

/* Accordion Component */
.accordion-list-full {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.acc-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.acc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    cursor: pointer;
    color: var(--clr-grey);
    transition: color 0.3s;
}

.acc-item.active .acc-header {
    color: var(--clr-white);
}

.acc-title-wrap {
    display: flex;
    align-items: center;
    gap: 40px;
}

.acc-num {
    font-family: var(--font-primary);
    font-size: 24px;
}

.acc-title {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 500;
    text-transform: uppercase;
}

.acc-item.active .acc-title,
.acc-item:hover .acc-title {
    color: var(--clr-brown);
}

.acc-icon {
    font-size: 40px;
    font-weight: 300;
    transition: transform 0.4s ease;
    color: var(--clr-white);
    display: inline-block;
}

.acc-item.active .acc-icon {
    transform: rotate(45deg);
}

.acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.acc-item.active .acc-body {
    max-height: 1000px;
}

.acc-content-flex {
    display: flex;
    gap: 60px;
    padding-bottom: 40px;
    align-items: stretch;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.acc-item.active .acc-content-flex {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.acc-img-wrap {
    flex: 0 0 45%;
}

.acc-img-wrap img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    border-radius: 0;
}

.acc-text-wrap {
    flex: 0 0 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.acc-text-wrap ul {
    list-style: none;
    padding: 0;
}

.acc-text-wrap li {
    font-family: var(--font-primary);
    font-size: 24px;
    color: var(--clr-white);
    margin-bottom: 16px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 16px;
}

.acc-text-wrap li .bullet {
    color: var(--clr-brown);
    font-size: 28px;
    line-height: 1;
}

@media (max-width: 768px) {
    .acc-title {
        font-size: 28px;
    }

    .acc-title-wrap {
        gap: 20px;
    }

    .acc-content-flex {
        flex-direction: column;
        gap: 30px;
    }

    .acc-img-wrap,
    .acc-text-wrap {
        flex: 1 1 auto;
    }

    .acc-text-wrap li {
        font-size: 18px;
    }
}

/* Circular Process - Section 7 */
.process-circle-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.connecting-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    width: 75%;
    height: 75%;
    border: 1.5px solid rgba(124, 124, 124, 0.3);
    border-top-color: transparent;
    border-radius: 50%;
    z-index: 0;
}

.step-node {
    position: absolute;
    width: 120px;
    height: 120px;
    z-index: 10;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FAFAFA;
    border: 1px solid #f3f4f6;
    border-radius: 50%;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.step-node svg {
    width: 56px;
    height: 56px;
    color: var(--clr-brown);
}

.step-1 {
    top: 12.5%;
    left: 50%;
}

.step-2 {
    top: 31.25%;
    left: 82.5%;
}

.step-3 {
    top: 68.75%;
    left: 82.5%;
}

.step-4 {
    top: 87.5%;
    left: 50%;
}

.step-5 {
    top: 68.75%;
    left: 17.5%;
}

.step-6 {
    top: 31.25%;
    left: 17.5%;
}

.step-label {
    position: absolute;
    white-space: nowrap;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 200px;
}

.label-1 {
    bottom: 135px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.label-4 {
    top: 135px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.label-2 {
    top: 50%;
    left: 140px;
    transform: translateY(-50%);
    text-align: left;
}

.label-3 {
    top: 50%;
    left: 140px;
    transform: translateY(-50%);
    text-align: left;
}

.label-5 {
    top: 50%;
    right: 140px;
    transform: translateY(-50%);
    text-align: right;
}

.label-6 {
    top: 50%;
    right: 140px;
    transform: translateY(-50%);
    text-align: right;
}

.step-label span {
    display: block;
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--clr-brown);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
    font-size: 18px;
}

.step-label p {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--clr-grey);
    font-size: 18px;
    line-height: 1.4;
    text-transform: uppercase;
}

.center-content-box {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.process-center-text {
    font-family: var(--font-primary);
    font-size: clamp(20px, 4vw, 32px);
    max-width: 400px;
    text-align: center;
    font-weight: 300;
    font-style: normal;
    z-index: 2;
    margin-bottom: 10px;
    color: var(--clr-black);
}

.process-wavy-img {
    width: 240px;
    display: block;
    margin: 8px auto 0;
}

.highlight {
    display: inline-block;
}

/* Mobile & Tablet Process Diagram */
.mobile-process {
    display: none;
}

.mobile-zigzag-container {
    position: relative;
    max-width: 28rem;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.zigzag-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.mobile-step-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 4rem;
}

.mobile-step-container.align-start {
    align-items: flex-start;
}

.mobile-step-container.align-end {
    align-items: flex-end;
}

.mobile-step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-step.reverse {
    flex-direction: row-reverse;
}

.mobile-icon {
    width: 6rem;
    height: 6rem;
    border-radius: 9999px;
    background-color: #FAFAFA;
    border: 1px solid #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.mobile-icon svg {
    width: 3rem;
    height: 3rem;
    color: var(--clr-brown);
}

.mobile-text {
    max-width: 160px;
}

.mobile-text.align-left {
    text-align: left;
}

.mobile-text.align-right {
    text-align: right;
}

.mobile-num {
    display: block;
    font-size: 18px;
    color: var(--clr-brown);
    font-weight: 700;
    font-family: var(--font-primary);
}

.mobile-text h3 {
    font-size: 16px;
    color: var(--clr-grey);
    font-weight: 500;
    text-transform: uppercase;
    font-family: var(--font-primary);
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 1023px) {
    #services {
        padding: 140px 0 !important;
    }

    .desktop-process {
        display: none !important;
    }

    .mobile-process {
        display: block;
    }
}

@media (max-width: 767px) {
    .step-node {
        width: 90px;
        height: 90px;
    }

    .step-node svg {
        width: 40px;
        height: 40px;
    }
}

/* Carousel */
.gallery-header-container {
    padding-left: 140px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 60px;
}

/* Outer view — positions header + controls container */
.carousel-view {
    position: relative;
    width: 100%;
}

/* Top-right arrow controls (desktop) */
.carousel-controls {
    position: absolute;
    top: 60px;
    right: 40px;
    display: flex;
    gap: 14px;
    z-index: 10;
}

/* Gallery header row with inline controls */
.gallery-header-row {
    position: relative;
    padding-left: 140px;
    padding-right: 40px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 60px;
}

@media (max-width: 1023px) {
    .gallery-header-container {
        padding-left: 120px;
    }
}

@media (max-width: 767px) {
    .gallery-header-row {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Masked scrolling area — starts at 224px indent */
.carousel-area {
    overflow: hidden;
    width: 100%;
    padding-left: 224px;
}

.carousel-track {
    display: flex;
    gap: 14px;
    width: max-content;
    transition: transform 0.4s ease;
}

.carousel-slide {
    flex: 0 0 auto;
}

.carousel-slide img {
    height: 450px;
    width: auto;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

/* Right fade overlay */
.carousel-fade-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 100%;
    background: linear-gradient(to right, transparent, var(--clr-black) 90%);
    z-index: 5;
    pointer-events: none;
}

.c-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, opacity 0.25s ease;
    outline: none;
}

.c-btn:hover {
    transform: scale(1.05);
}

.c-prev {
    background: transparent;
    border: 1px solid var(--clr-grey);
    color: var(--clr-white);
}

.c-next {
    background: var(--clr-brown);
    border: 1px solid var(--clr-brown);
    color: var(--clr-white);
}

/* Tablet ONLY */
@media (min-width: 768px) and (max-width: 1023px) {

    .gallery-header-container,
    .carousel-area {
        padding-left: 120px;
    }

    .carousel-area {
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
    }

    .carousel-controls {
        display: none;
    }

    .carousel-slide img {
        height: 350px;
    }

    .carousel-track {
        transition: none;
        width: max-content;
    }

    .carousel-slide {
        scroll-snap-align: start;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .gallery-header-container {
        padding-left: 20px;
    }

    .gallery-header-row {
        padding-right: 20px;
    }

    .carousel-area {
        padding-left: 20px;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
    }

    .carousel-controls,
    .carousel-fade-right {
        display: none;
    }

    .carousel-slide img {
        height: 300px;
        width: 75vw;
    }

    .carousel-slide {
        scroll-snap-align: start;
    }
}

/* Infinite Marquee */
.marquee-wrapper {
    position: relative;
    display: flex;
    overflow: hidden;
    width: 100%;
    padding: 40px 0;
    background: var(--clr-black);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
}

.marquee-content span {
    font-family: var(--font-secondary);
    font-size: clamp(40px, 6vw, 70px);
    font-weight: 500;
    color: var(--clr-grey);
    margin: 0 40px;
    text-transform: lowercase;
}

.marquee-content img {
    height: clamp(24px, 4vw, 40px);
    margin: 0 20px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Get in Touch Grid & Extra Grid */
.grid-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.grid-contact>img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group label {
    font-family: var(--font-secondary);
    font-size: 12px;
    color: var(--clr-grey);
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--clr-white);
    padding: 8px 0;
    font-family: var(--font-secondary);
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.form-group textarea {
    height: 80px;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--clr-peach);
}

.btn-brown {
    background: var(--clr-brown);
    color: var(--clr-white);
    border: none;
    padding: 14px 32px;
    font-family: var(--font-secondary);
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 30px;
    cursor: pointer;
    align-self: flex-start;
    transition: opacity 0.3s;
}

.btn-brown:hover {
    opacity: 0.9;
}

.grid-6-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
}

.grid-6-images img {
    width: 100%;
    height: 552px;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

/* Footer */
.footer-block {
    background: var(--clr-brown);
    color: var(--clr-peach);
    padding: 80px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 6fr 4fr;
    gap: 80px;
}

.footer-left-col {
    position: relative;
}

.footer-left-col::after {
    content: '';
    position: absolute;
    right: -40px;
    top: 0;
    height: 100%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-heading {
    color: var(--clr-white);
    max-width: 600px;
    margin-bottom: 40px;
    font-size: 40px;
    line-height: 1.2;
}

.footer-contact a,
.footer-contact span,
.links-col a,
.footer-contact {
    font-family: var(--font-secondary);
    font-weight: 300;
    color: var(--clr-white);
    text-decoration: none;
    font-size: 20px;
    line-height: 1.8;
    transition: color 0.3s;
}

.footer-contact a:hover,
.links-col a:hover {
    opacity: 0.8;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    justify-items: end;
}

.links-col {
    display: flex;
    flex-direction: column;
}

.col-title {
    font-family: var(--font-secondary);
    font-weight: 300;
    font-size: 20px;
    text-transform: uppercase;
    color: var(--clr-white);
    margin-bottom: 16px;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.25);
    margin: 60px 0 40px 0;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-full-logo {
    width: 100%;
    max-width: 1380px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.copyright {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 14px;
    color: var(--clr-white);
    margin-top: 20px;
}

@media (max-width: 1024px) {
    .grid-6-images img {
        height: 400px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-left-col::after {
        display: none;
    }

    .footer-links-grid {
        justify-items: start;
    }
}

@media (max-width: 768px) {

    .accordion-grid,
    .grid-contact {
        grid-template-columns: 1fr;
    }

    .process-circle {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 24px;
    }

    .p-item {
        display: flex;
        gap: 16px;
        align-items: flex-start;
    }

    .p-item span {
        margin-bottom: 0;
        font-size: 18px;
    }

    .carousel-area {
        padding-left: 0;
    }

    .grid-6-images {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    .grid-6-images img {
        height: 300px;
    }

    .footer-links-grid {
        margin-top: 20px;
    }
}
