:root {
    --black: #080808;
    --dark: #111111;
    --card: #171717;
    --card-light: #1d1d1d;
    --gold: #cdab6c;
    --light-gold: #e0c58e;
    --white: #ffffff;
    --grey: #b8b8b8;
    --light-grey: #dedede;
    --border: rgba(199, 164, 101, 0.25);
    --soft-border: rgba(255, 255, 255, 0.09);
    --max-width: 1180px;
}

/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
}

body {
    overflow-x: hidden;
    background: var(--black);
    color: var(--white);
    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

ul {
    list-style: none;
}

.container {
    width: min(90%, var(--max-width));
    margin: 0 auto;
}

h1,
h2,
h3,
.logo,
.eyebrow,
.section-label,
.small-label {
    font-family: "Poppins", Arial, sans-serif;
}

body {
    font-family: "Inter", Arial, sans-serif;
    font-weight: 400;
}

/* =========================
   HEADER
========================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(8, 8, 8, 0.9);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
}

.navigation {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: var(--gold);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.logo span {
    margin-left: 4px;
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 27px;
}

.nav-links a {
    color: var(--light-grey);
    font-size: 0.9rem;
    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

/* Only Contact Us button stays black */
.nav-links a.nav-button,
.nav-links a.nav-button:hover,
.nav-links a.nav-button.active {
    color: #000000;
}

.nav-button {
    padding: 10px 18px;
    background: var(--gold);
    border-radius: 16px;
    overflow: hidden;
}

.menu-button {
    display: none;
    border: 0;
    background: transparent;
    color: var(--white);
    cursor: pointer;
    font-size: 1.6rem;
}

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

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

.hero-section-wrapper {
    position: relative;
    padding-bottom: 95px;
    background: #050505;
}

.hero {
    position: relative;
    min-height: 760px;

    display: flex;
    align-items: center;

    background-image: url("images/hero-carpentry.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* Dark overlay so the left-side wording remains readable */

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            60deg,
            rgba(5, 5, 5, 0.94) 0%,
            rgba(5, 5, 5, 0.74) 32%,
            rgba(5, 5, 5, 0.42) 70%,
            rgba(5, 5, 5, 0.0) 100%
        ),
        linear-gradient(
            to top,
            rgba(5, 5, 5, 0.6),
            transparent 70%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: var(--max-width);
    padding-top: 95px;
    padding-bottom: 160px;

    text-align: left;
}

.eyebrow {
    margin-bottom: 18px;

    color: var(--gold);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 790px;

    font-size: clamp(2.8rem, 5vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: -0.015em;
}

.hero h1 span {
    display: block;
    color: var(--gold);
}

.hero-description {
    max-width: 650px;
    margin-top: 28px;

    color: var(--white);
    font-size: 1.04rem;
    line-height: 1.65;
}

.hero-supporting-text {
    max-width: 650px;
    margin-top: 10px;

    color: var(--grey);
    font-size: 0.98rem;
    line-height: 1.65;
}

.hero-actions {
    margin-top: 32px;

    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.whatsapp-button,
.hero-secondary-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 12px 23px;

    font-size: 0.95rem;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

/* Green WhatsApp button */

.whatsapp-button {
    background: #25d366;
    color: #071b0e;
    border-radius: 16px;
    overflow: hidden;
}

.whatsapp-button svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.whatsapp-button:hover {
    background: #35e678;
    transform: translateY(-2px);
}

/* Secondary button */

.hero-secondary-button {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: var(--white);
    border-radius: 16px;
    overflow: hidden;
}

.hero-secondary-button:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.hero-small-text {
    margin-top: 18px;

    color: var(--grey);
    font-size: 0.84rem;
}

/* =========================
   HERO SERVICE CARDS
========================= */

.hero-service-cards {
    position: relative;
    z-index: 5;

    margin-top: -120px;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.hero-service-card {
    min-height: 220px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    padding: 36px 28px 30px;

    background: rgba(45, 45, 45, 0.72);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
    border-radius: 16px;
    overflow: hidden;

    color: #ffffff;
    text-align: center;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}


.hero-card-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;
}

.hero-card-icon svg {
    width: 35px;
    height: 35px;

    fill: none;
    stroke: #cdab6c;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-service-card h2 {
    margin: 0 0 5px;

    color: #cdab6c;
    font-size: 1.2rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.hero-service-card p {
    max-width: 290px;
    margin: 0 auto;

    color: #ffffff;
    font-size: 0.88rem;
    line-height: 1.55;
}

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

.primary-button,
.secondary-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 23px;
    font-weight: 700;
    border-radius: 16px;
    overflow: hidden;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.primary-button {
    background: var(--gold);
    color: var(--black);
}

.primary-button:hover {
    background: var(--light-gold);
    transform: translateY(-2px);
}

.secondary-button {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--white);
}

.secondary-button:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

/* =========================
   GENERAL SECTIONS
========================= */

.section {
    padding: 105px 0;
}

.dark-section {
    background: var(--dark);
}

.section-heading {
    max-width: 780px;
}

.section-heading.dark-text {
    max-width: 780px;
    color: var(--black);

}

.section h2,
.contact-section h2 {
    font-size: clamp(2.2rem, 4.3vw, 3.0rem);
    line-height: 1.08;
    letter-spacing: 0em;
}

.section-description {
    max-width: 700px;
    margin-top: 20px;
    color: var(--grey);
    font-size: 1.02rem;
}

/* For sections with a white or light background */
.section-description.dark-text {
    color: #222222;
}

.section-button-wrapper {
    margin-top: 45px;
}

/* Tablet */

@media (max-width: 950px) {
    .problem-comparison {
        grid-template-columns: 1fr;
    }

    .problem-flow-arrow {
        height: 45px;
        transform: rotate(90deg);
    }
}

/* Mobile */

@media (max-width: 700px) {
    .problem-column,
    .solution-column {
        padding: 30px 23px;
    }

    .comparison-heading h2 {
        font-size: 2.7rem;
    }

    .problem-point {
        grid-template-columns: 27px 1fr;
    }

    .solution-button {
        width: 100%;
    }
}

/* =========================
   2. ABOUT US
========================= */

.about-section {
    position: relative;
    padding: 100px 0;

    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(199, 164, 101, 0.1),
            transparent 30%
        ),
        var(--black);
}

.about-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 75px;
    align-items: center;
}

/* Left Content */

.about-content h2 {
    max-width: 720px;

    font-family: "Poppins", Arial, sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.0rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.about-content h2 span {
    display: block;
    color: var(--gold);
}

.about-intro {
    max-width: 620px;
    margin-top: 25px;

    color: var(--white);
    font-size: 1.08rem;
    font-weight: 500;
    line-height: 1.7;
}

.about-description {
    max-width: 620px;
    margin-top: 16px;

    color: var(--grey);
    font-size: 0.96rem;
    line-height: 1.75;
}

/* Key Points */

.about-points {
    margin-top: 32px;
    border-top: 1px solid var(--border);
}

.about-point {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 18px;

    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.about-point > span {
    color: var(--gold);
    font-family: "Poppins", Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
}

.about-point strong {
    display: block;

    color: var(--white);
    font-family: "Poppins", Arial, sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
}

.about-point p {
    margin-top: 3px;
    color: var(--grey);
    font-size: 0.86rem;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-top: 28px;

    color: var(--gold);
    font-family: "Poppins", Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
}

.about-link span {
    transition: transform 0.2s ease;
}

.about-link:hover span {
    transform: translateX(5px);
}

/* Right Image Gallery */

.about-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-image {
    position: relative;
    overflow: hidden;

    width: 100%;
    height: 220px;

    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.about-image-main {
    height: 300px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image,
.about-image-main {
    height: 300px;
}

/* Tablet */

@media (max-width: 950px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-content {
        max-width: 720px;
    }

    .about-gallery {
        grid-template-rows: 280px 280px;
    }
}

/* Mobile */

@media (max-width: 700px) {
    .about-section {
        padding: 75px 0;
    }

    .about-layout {
        gap: 38px;
    }

    .about-content h2 {
        font-size: 2.25rem;
    }

    .about-intro {
        font-size: 1rem;
    }

    .about-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 14px;
    }

    .about-image-main,
    .about-image-small {
        grid-row: auto;
        height: 260px;
    }

    .about-image-main {
        height: 330px;
    }
}



/* =========================
   PROJECT CAROUSEL
========================= */

.projects-section {
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #f3e6c7 0%,
        #faf6ed 45%,
        #ffffff 100%
    );
}

.projects-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    color: var(--black);
}

.projects-header > div:first-child {
    max-width: 780px;
}

.carousel-controls {
    display: flex;
    gap: 10px;
}

.carousel-button {
    width: 48px;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--card);
    color: var(--gold);
    cursor: pointer;
    font-size: 1.2rem;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        opacity 0.2s ease;
}

.carousel-button:hover {
    background: var(--gold);
    color: var(--black);
}

.carousel-button:disabled {
    cursor: default;
    opacity: 0.3;
}

.project-track {
    margin-top: 52px;
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 4px 4px 22px;
}

.project-track::-webkit-scrollbar {
    display: none;
}

.project-card {
    flex: 0 0 360px;
    scroll-snap-align: start;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.project-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.04);
}

.project-category {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 7px 11px;
    background: rgba(8, 8, 8, 0.86);
    border: 1px solid var(--border);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.project-content {
    min-height: 170px;
    padding: 25px;
}

.project-content h3 {
    font-size: 1.35rem;
}

.project-content p {
    margin-top: 10px;
    color: var(--grey);
    font-size: 0.94rem;
}


/* =========================
   HOW WE PLAN
========================= */

.planning-comparison-section {
    position: relative;
    overflow: hidden;
    padding: 110px 0;

    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(211, 174, 101, 0.09),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 90%,
            rgba(211, 174, 101, 0.06),
            transparent 28%
        ),
        #080808;
}

/* Section heading */

.planning-section-heading {
    max-width: 820px;
    margin-bottom: 52px;
}

.planning-section-heading h2 {
    margin-top: 10px;

    color: #ffffff;
    font-family: "Poppins", Arial, sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.planning-section-heading h2 span {
    display: block;
    color: var(--gold, #d6b36a);
}

.planning-section-heading .section-description {
    max-width: 720px;
    margin-top: 20px;

    color: rgba(255, 255, 255, 0.68);
    font-size: 1rem;
    line-height: 1.75;
}

/* Two-column layout */

.planning-comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

/* Main cards */

.planning-profile-card {
    position: relative;
    min-width: 0;
    padding: 40px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.018)
        ),
        #111111;

    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 18px;
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.28);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.planning-profile-card::before {
    position: absolute;
    top: 0;
    right: 32px;
    left: 32px;

    height: 3px;

    background: linear-gradient(
        90deg,
        transparent,
        var(--gold, #d6b36a),
        transparent
    );

    content: "";
}

.planning-profile-card:hover {
    transform: translateY(-4px);
    border-color: rgba(214, 179, 106, 0.5);
}

.investment-card {
    background:
        linear-gradient(
            145deg,
            rgba(214, 179, 106, 0.09),
            rgba(255, 255, 255, 0.018) 45%
        ),
        #111111;
}

/* Card header */

.planning-card-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.planning-card-icon {
    width: 58px;
    height: 58px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(214, 179, 106, 0.1);
    border: 1px solid rgba(214, 179, 106, 0.42);
    border-radius: 14px;

    color: var(--gold, #d6b36a);
}

.planning-card-icon svg {
    width: 29px;
    height: 29px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.planning-card-heading {
    min-width: 0;
}

.planning-card-type {
    margin-bottom: 7px;

    color: var(--gold, #d6b36a);
    font-family: "Poppins", Arial, sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.planning-card-heading h3 {
    color: #ffffff;
    font-family: "Poppins", Arial, sans-serif;
    font-size: clamp(1.4rem, 2vw, 1.85rem);
    font-weight: 600;
    line-height: 1.25;
}

.planning-card-subtitle {
    margin-top: 7px;

    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
    line-height: 1.5;
}

.planning-divider {
    width: 100%;
    height: 1px;
    margin: 30px 0 8px;

    background: linear-gradient(
        90deg,
        rgba(214, 179, 106, 0.45),
        rgba(255, 255, 255, 0.08)
    );
}

/* Numbered planning points */

.planning-points {
    margin: 0;
    padding: 0;
    list-style: none;
}

.planning-point {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;

    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.085);
}

.planning-point:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.planning-number {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--gold, #d6b36a);
    border: 1px solid var(--gold, #d6b36a);
    border-radius: 10px;

    color: #000000;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.planning-point h4 {
    color: #ffffff;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
}

.planning-point p {
    max-width: 500px;
    margin-top: 6px;

    color: rgba(255, 255, 255, 0.64);
    font-size: 0.88rem;
    line-height: 1.65;
}

/* Tablet */

@media (max-width: 960px) {
    .planning-comparison-grid {
        grid-template-columns: 1fr;
    }

    .planning-profile-card {
        padding: 36px;
    }
}

/* Mobile */

@media (max-width: 650px) {
    .planning-comparison-section {
        padding: 78px 0;
    }

    .planning-section-heading {
        margin-bottom: 36px;
    }

    .planning-section-heading h2 span {
        display: inline;
    }

    .planning-profile-card {
        padding: 28px 22px;
        border-radius: 15px;
    }

    .planning-card-header {
        gap: 15px;
    }

    .planning-card-icon {
        width: 51px;
        height: 51px;
        border-radius: 12px;
    }

    .planning-card-icon svg {
        width: 25px;
        height: 25px;
    }

    .planning-divider {
        margin-top: 25px;
    }

    .planning-point {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 14px;
        padding: 19px 0;
    }

    .planning-number {
        width: 38px;
        height: 38px;
        font-size: 0.7rem;
    }

    .planning-point h4 {
        font-size: 0.95rem;
    }

    .planning-point p {
        font-size: 0.84rem;
    }
}

/* =========================
   WHY KAEN
========================= */

.why-section,
.contact-section {
    background: transparent;
}

.why-grid {
    margin-top: 52px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.why-card {
    min-height: 220px;
    padding: 35px;
    background: var(--card);
    border: 1px solid var(--soft-border);
    border-radius: 16px;
}

.why-card h3 {
    font-size: 1.4rem;
}

.why-card p:not(.small-label) {
    margin-top: 15px;
    color: var(--grey);
}

/* =========================
   CONTACT
========================= */

.contact-card {
    padding: 60px;
    border-radius: 24px;
    background: var(--black);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.08);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 70px;
    align-items: center;
}

.contact-copy > p:not(.section-label) {
    max-width: 680px;
    margin-top: 17px;
    color: var(--grey);
}

.contact-copy .primary-button {
    margin-top: 32px;
}

.information-card {
    padding: 40px;
    background: var(--card);
    border: 1px solid var(--border);
}

.information-card ul {
    margin-top: 24px;
}

.information-card li {
    position: relative;
    padding: 13px 0 13px 24px;
    border-bottom: 1px solid var(--soft-border);
    color: var(--light-grey);
}

.information-card li::before {
    position: absolute;
    top: 13px;
    left: 0;
    color: var(--gold);
    content: "✓";
}

.why-contact-wrapper {
    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8f1df 50%,
            #d8b76a 100%
        );
}

.why-contact-wrapper .contact-section {
    padding-top: 10px;
    padding-bottom: 100px;
}

/* =========================
   FOOTER
========================= */

.footer {
    padding-top: 70px;
    background: #050505;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 55px;
}

.footer-logo {
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.footer-positioning {
    max-width: 400px;
    margin-top: 18px;
    color: var(--grey);
}

.footer h4 {
    margin-bottom: 18px;
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer a,
.footer p {
    display: block;
    color: var(--grey);
}

.footer a + a,
.footer a + p {
    margin-top: 12px;
}

.footer a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid var(--soft-border);
}

.footer-bottom p {
    color: var(--grey);
    font-size: 0.83rem;
}

.footer-social h4 {
    margin-bottom: 18px;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Overrides any existing footer link display rules */
.footer .social-icons a {
    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 0;

    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;

    color: #ffffff;
    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.social-icons iconify-icon {
    display: block;
    font-size: 19px;
}

.footer .social-icons a:hover {
    background: var(--gold);
    color: #080808;
    transform: translateY(-3px);
}

/* =========================
   TABLET
========================= */

@media (max-width: 1050px) {
    .planning-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .problem-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .highlighted-card {
        grid-column: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

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

/* =========================
   TOUCH DEVICE RESET
   Tablet and mobile only
========================= */

@media (hover: none), (pointer: coarse) {

    /* Remove unnecessary hover transitions */

    .nav-links a,
    .footer .social-icons a,
    .project-card,
    .project-image img,
    .planning-profile-card,
    .primary-button,
    .secondary-button,
    .whatsapp-button,
    .hero-secondary-button,
    .about-link span,
    .carousel-button {
        transition: none;
    }

    /* Navigation links always return to normal */

    .nav-links a,
    .nav-links a:hover,
    .nav-links a:focus,
    .nav-links a:focus-visible,
    .nav-links a:active,
    .nav-links a.active {
        color: var(--light-grey);
        outline: none;
    }

    /* Contact Us button remains gold and black */

    .nav-links a.nav-button,
    .nav-links a.nav-button:hover,
    .nav-links a.nav-button:focus,
    .nav-links a.nav-button:focus-visible,
    .nav-links a.nav-button:active,
    .nav-links a.nav-button.active {
        background: var(--gold);
        color: #000000;
        transform: none;
        outline: none;
    }

    /* Social icons always return to normal */

    .footer .social-icons a,
    .footer .social-icons a:hover,
    .footer .social-icons a:focus,
    .footer .social-icons a:focus-visible,
    .footer .social-icons a:active,
    .footer .social-icons a:visited {
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
        transform: none;
        outline: none;
    }

    /* Remove card hover effects */

    .project-card:hover,
    .project-card:focus,
    .project-card:active {
        transform: none;
        border-color: var(--border);
    }

    .project-card:hover .project-image img,
    .project-card:focus .project-image img,
    .project-card:active .project-image img {
        transform: none;
    }

    .planning-profile-card:hover,
    .planning-profile-card:focus,
    .planning-profile-card:active {
        transform: none;
        border-color: rgba(255, 255, 255, 0.11);
    }

    /* Remove button movement */

    .primary-button:hover,
    .primary-button:focus,
    .primary-button:active,
    .secondary-button:hover,
    .secondary-button:focus,
    .secondary-button:active,
    .whatsapp-button:hover,
    .whatsapp-button:focus,
    .whatsapp-button:active,
    .hero-secondary-button:hover,
    .hero-secondary-button:focus,
    .hero-secondary-button:active {
        transform: none;
        outline: none;
    }

    .about-link:hover span,
    .about-link:focus span,
    .about-link:active span {
        transform: none;
    }

    /* Carousel buttons */

    .carousel-button:hover,
    .carousel-button:focus,
    .carousel-button:active {
        background: var(--card);
        color: var(--gold);
        outline: none;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {
    .menu-button {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 76px;
        left: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 26px 5%;
        background: var(--dark);
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links .nav-button {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero {
        min-height: 92vh;
        background-position: 65% center;
    }

    .hero-overlay {
        background: rgba(8, 8, 8, 0.82);
    }

    .hero-content {
        padding-top: 135px;
        padding-bottom: 70px;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 14vw, 4.5rem);
    }

    .section,
    .contact-section {
        padding: 78px 0;
    }

    .section h2,
    .contact-section h2 {
        font-size: 2.3rem;
    }

    .problem-layout {
        gap: 35px;
    }

    .problem-solution,
    .information-card {
        padding: 28px 23px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
        padding: 28px;
    }

    .service-card h3 {
        margin-top: 35px;
    }

    .projects-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .carousel-controls {
        display: none;
    }

    .project-card {
        flex: 0 0 84vw;
    }

    .planning-grid {
        grid-template-columns: 1fr;
    }

    .planning-card {
        min-height: auto;
    }

    .planning-card h3 {
        margin-top: 35px;
    }

    .process-step {
        grid-template-columns: 60px 1fr;
        gap: 18px;
    }

    .process-number {
        font-size: 1.2rem;
    }

    .why-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        gap: 38px;
    }

    
    .contact-card {
    padding: 60px;
    background: #080808;
    border: none;
    border-radius: 24px;
    margin: 0;
    transform: none;
}

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 950px) {
    .hero {
        min-height: 720px;
        background-position: 62% center;
    }

    .hero-content {
        padding-bottom: 140px;
    }

    .hero-service-card {
        grid-template-columns: 1fr;
    }
}



@media (max-width: 700px) {
    .hero-section-wrapper {
        padding-bottom: 0;
    }

    .hero {
        min-height: auto;
        background-position: 58% center;
    }

    .hero-overlay {
        background: rgba(5, 5, 5, 0.82);
    }

    .hero-content {
        padding-top: 120px;
        padding-bottom: 65px;
    }

    .hero-service-cards {
        margin-top: 0;

        grid-template-columns: 1fr;
        gap: 14px;

        padding-top: 20px;
        padding-bottom: 65px;
    }

    .hero-service-card {
        min-height: auto;
        padding: 27px 23px;
        backdrop-filter: none;
    }
}

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

.scroll-reveal {
    opacity: 0;
    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Respect users who disable animations */

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


