@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300..700;1,300..700&display=swap');

:root {
    --bg-color: #f8fafc;
    --primary-text: #0f2a44;
    --secondary-color: #f59e0b;
    --accent-hover: #d97706;
    --card-color: #f59f0b5b;
    --card-color2:#1d5183;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    background-color: var(--bg-color);
    color: var(--primary-text);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.container {
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}
h1, h2, h3, h4, h5, h6 {
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}
p {
    font-weight: 400;
    margin-bottom: 1rem;
}
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}
img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}
i {
    display: inline-block;
    line-height: 1;
}
/* --- Header Section --- */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-color);
    border-bottom: 1px solid rgba(46, 43, 43, 0.1);
}
.header__container {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo img {
    height: 80px; /* Adjust based on logo aspect ratio */
    width: auto;
}

/* Desktop Nav */
.header__nav {
    display: block;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav__link {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-text);
    letter-spacing: 1px;
    position: relative; 
    padding-bottom: 8px; 
    transition: all 0.3s ease;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scale(0); 
    width: 6px;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav__link:hover {
color: var(--secondary-color);
    font-size: 0.95rem;
}

.nav__link:hover::after {
    transform: translateX(-50%) scale(1); 
}
/* Actions & Button */
.header__actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.action__phone {
    width: 42px;
    height: 42px;
    background-color: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    animation: phoneWobble 2s infinite ease-in-out;
    transition: all ease 0.3s;
}
.action__phone:hover{
    scale:1.2;
    background-color: var(--accent-hover);
}

@keyframes phoneWobble {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(-15deg); }
    40% { transform: rotate(15deg); }
    60% { transform: rotate(-10deg); }
    80% { transform: rotate(10deg); }
}

.btn--primary {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 0.8rem 1.6rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all ease 0.3s;
}

.btn--primary:hover {
    background-color: var(--accent-hover);
}

.nav__toggle {
    display: none;
}
.header__mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 1001;
    padding: 5rem 2rem;
    box-shadow: -5px 0 25px rgba(0,0,0,0.05);
}
/* --- Hero Section --- */
.hero {
    padding: 2rem 0rem 0rem 0rem; /* Breathing room from navbar */
    background-color: var(--bg-color);
}

.hero__wrapper {
    position: relative;
    height: 85vh;
    min-height: 600px;
    width: 100%;
    display: flex;
    align-items: center;
    background-color: #81572d; /* Requested base color */
    overflow: hidden;
    border-radius: 8px; /* Subtle premium rounding */
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0; /* Initial state for GSAP fade */
}

.hero__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #81572d;
    opacity: 0.4; /* Image visible at 0.6 opacity */
    z-index: 2;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__content {
    position: relative;
    z-index: 3;
    padding: 0 4rem;
    max-width: 1000px;
}

.hero__title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: var(--bg-color);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1.5rem;
    font-weight: 900;
    opacity: 0; /* Initial state */
}
.hero__description {
    font-size: 1.3rem;
    color: var(--bg-color);
    max-width: 700px;
    margin-bottom: 2.5rem;
    font-weight: 500;
    line-height: 1.3;
    opacity: 0; /* Initial state */
}

.hero__actions {
    opacity: 0;
    transform: scale(0.8); 
}

.btn--large {
    padding: 1.2rem 2.8rem;
    font-size: 0.9rem;
    display: inline-block;
}

/* --- Why Choose Us Section --- */
.features__title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--primary-text);
}

.features__grid {
    display: grid;
    padding: 0rem 4rem;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background-color: var(--card-color);
    padding: 4rem 3rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: default;
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
}

/* Hover Scaling & Shadow */
.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(46, 43, 43, 0.15);
}

/* Top Border Loading Animation */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 5px;
    background-color: var(--secondary-color);
    transition: width 0.5s ease;
}

.feature-card:hover::before {
    width: 100%;
}

.feature-card__icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* Icon Wobble on Hover */
.feature-card:hover .feature-card__icon {
    animation: iconWobble 0.5s ease-in-out infinite;
}

@keyframes iconWobble {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.feature-card__title {
    font-size: 1.25rem;
    color: var(--primary-text);
    margin-bottom: 1rem;
}

.feature-card__text {
    font-size: 0.95rem;
    color: var(--primary-text);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- Stats Section --- */
.stats {
    background-color: var(--bg-color);
    padding: 0rem 2rem 4rem 2rem;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item__number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-item__label {
    font-size: 1rem;
    color: var(--primary-text);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* --- Scrolling Text Section --- */
.scrolling-text {
    position: relative;
    padding: 1rem 2rem 1rem 2rem;
    background-color: var(--secondary-color);
    overflow: hidden;
        opacity: 0;
    visibility: hidden;
}
.scrolling-text__container {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeMove 35s linear infinite;
    will-change: transform;
    cursor: default;
}
.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
}

.marquee-content span {
    font-size: clamp(1.5rem, 4vw, 3rem); 
    font-weight: 600;
    padding: 0 1rem;
    color: var(--bg-color);
    text-transform: uppercase;
    display: inline-block;
    user-select: none;
}

/* Pure CSS Marquee Animation */
@keyframes marqueeMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Services Slider Section --- */
.services-slider {
    padding: 5rem 0rem 5rem 0rem;
    background-color: var(--bg-color);
    
    /* FOUC Protection - Section is completely invisible until scrolled to */
    opacity: 0;
    visibility: hidden;
}

/* Header & Line */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header__title {
    font-size: 2.8rem;
    color: var(--primary-text);
    margin-bottom: 1rem;
}

.section-header__line {
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* --- Wrapper & Arrow Positioning --- */
.services-wrapper {
    position: relative;
    padding: 0 4rem; 
}

.services-swiper {
    padding: 15px 0; 
    overflow: hidden;
}

.services-wrapper .swiper-button-prev {
    left: 0;
}

.services-wrapper .swiper-button-next {
    right: 0;
}

.services-wrapper .swiper-button-next,
.services-wrapper .swiper-button-prev {
    background-color: var(--secondary-color);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: -22.5px; 
}

.services-wrapper .swiper-button-next:hover,
.services-wrapper .swiper-button-prev:hover {
    background-color: var(--accent-hover);
    transform: scale(1.05);
}

.services-wrapper .swiper-button-next::after,
.services-wrapper .swiper-button-prev::after {
    font-size: 1.1rem;
    font-weight: 800;
}

/* --- Card Architecture --- */
.swiper-slide {
    height: auto; 
}

.service-card {
    background-color: var(--card-color2);
    border-radius: 12px;
    overflow: hidden;
    height: 100%; 
    display: flex;
    flex-direction: column; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-card__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-bottom: 3px solid var(--secondary-color);
    flex-shrink: 0; 
}

.service-card__content {
    /* Top: 1.8rem, Sides: 1.5rem, Bottom: 2.5rem (Added requested padding) */
    padding: 1.8rem 1.5rem 2.5rem 1.5rem; 
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
}

.service-card__title {
    font-size: 1.1rem;
    color: var(--bg-color);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.service-card__desc {
    font-size: 0.9rem;
    color: var(--bg-color);
    opacity: 0.85;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Bottom CTA */
.services-slider__cta {
    text-align: center;
    margin-top: 4rem;
}
.services-slider__cta a{
    padding: 1.2rem 1.5rem; 

}
/* --- Testimonials Section --- */
.testimonials {
    padding: 3rem 0rem 8rem 0rem;
    background-color: var(--bg-color);    
    /* FOUC Protection */
    opacity: 0;
    visibility: hidden;
}

.testimonials__header {
    text-align: center;
    max-width: 800px; 

    margin: 0 auto 3rem auto;
}

.testimonials__title {
    font-size: 2.8rem;
    color: var(--primary-text);
    margin-bottom: 1rem;
}

.testimonials__title span {
    color: var(--secondary-color);
}

.testimonials__desc {
    font-size: 1.1rem;
    color: var(--primary-text);
    opacity: 0.85;
    margin-top: 1.5rem;
    line-height: 1.6;
}

/* Desktop Grid Override (Bypasses Swiper flex wrapper) */
@media (min-width: 769px) {
    .testimonials-swiper {
        overflow: visible;
    }
    .testimonials-swiper .swiper-wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    .testimonials-swiper .swiper-slide {
        height: auto; /* Forces all cards to match tallest height */
    }
}

/* Card Architecture */
.testimonial-card {
    background-color: var(--card-color);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    will-change: transform;
    cursor: default;
}

/* Hover Animations */
.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.testimonial-card__icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.testimonial-card:hover .testimonial-card__icon {
    animation: iconWobble 0.6s ease-in-out infinite;
}

@keyframes iconWobble {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-12deg); }
    75% { transform: rotate(12deg); }
}

.testimonial-card__name {
    font-size: 1.2rem;
    color: var(--primary-text);
    margin-bottom: 1rem;
    font-weight: 700;
}

.testimonial-card__review {
    font-size: 0.95rem;
    color: var(--primary-text);
    opacity: 0.85;
    line-height: 1.7;
    margin-bottom: 0;
    font-style: italic; /* Subtle typographic cue for a review */
}
/* --- Footer Section --- */
.footer {
    background-color: var(--primary-text);
    color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.footer__marquee-wrapper {
    background-color: #1d5183; 
    padding: 12px 0;
    display: flex;
    overflow: hidden;
    border-bottom: 1px solid rgba(239, 234, 226, 0.1);
}

.footer__marquee {
    display: flex;
    flex-shrink: 0;
    animation: footerMarquee 20s linear infinite;
}

.footer__marquee span {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 2rem;
    white-space: nowrap;
    color: var(--bg-color);
}

@keyframes footerMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.footer__container {
    padding-top: 8rem;
    padding-bottom: 2rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer__logo {
    max-width: 180px;
    margin-bottom: 1.5rem;
}

.footer__desc {
    opacity: 0.8;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Headings with single card-color line */
.footer__heading {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 12px;
    color: var(--bg-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer__heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--card-color);
}

/* Links List */
.footer__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer__list a, 
.footer__location {
    color: var(--bg-color);
    opacity: 0.8;
    font-size: 0.95rem;
    text-decoration: none;
    transition: opacity 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer__list a:hover {
    opacity: 1;
    color: var(--card-color);
}

.footer__list i {
    font-size: 1.3rem;
    color: var(--accent-hover); /* Icons in card-color */
    margin-top: -2px; 
}

/* Bottom Bar */
.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(239, 234, 226, 0.15); 
    font-size: 0.85rem;
    opacity: 0.7;
}
@media (max-width: 992px) {
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}














/* --------------------------------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------- Services ---------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --- Dedicated Services Page --- */
.services-page {
    padding: 4rem 10rem 6rem 10rem; /* Extra top padding to account for navbar */
    background-color: var(--bg-color);
    
    /* FOUC Protection */
    opacity: 0;
    visibility: hidden;
}

.services-page__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.services-page__title {
    font-size: 3.5rem;
    color: var(--primary-text);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.services-page__title span {
    color: var(--secondary-color);
}

.services-page__desc {
    font-size: 1.15rem;
    color: var(--primary-text);
    opacity: 0.85;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.services-page__line {
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 auto;
    border-radius: 2px;
}
.services-page__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: stretch; /* Guarantees rows don't collapse */
}
.services-page__cta {
    text-align: center;
}
@media (max-width: 992px) {
    .services-page__grid {
        grid-template-columns: repeat(2, 1fr); /* 2 cards on tablet */
    }
}



/* Stack the images */
.service-card__img-container {
    position: relative;
    overflow: hidden; /* Keeps things neat */
}

.service-card__img-container img:nth-child(2) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.8s ease-in-out; /* Smooth fade effect */
}

/* Class triggered by JavaScript to reveal the second image */
.service-card__img-container.swap-active img:nth-child(2) {
    opacity: 1; 
}
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------- Contact ---------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --- Contact Page Section --- */
.contact-page {
    padding: 6rem 0 6rem 0; /* Space for navbar */
    background-color: var(--bg-color); /* Main background color */
        opacity: 0;
    visibility: hidden;
}

.contact-page__container {
    max-width: 90%; 
    margin: 0 auto;
}

.contact-page__header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-page__title {
    font-size: 3.2rem;
    color: var(--primary-text);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.contact-page__title span {
    color: var(--secondary-color);
}

.contact-page__desc {
    font-size: 1.1rem;
    color: var(--primary-text);
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-page__line {
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* --- Form Container --- */
.contact-form__wrapper {
    background-color: #ffffff; /* White form background */
    padding: 4rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03); /* Subtle shadow for depth */
}

/* --- Form Layout & Fields --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form__group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form__label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-text);
}

.contact-form__label span {
    color: #e74c3c; /* Red asterisk */
}

.contact-form__input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 6px;
    background-color: #f8f9fa; /* Very subtle off-white inside inputs */
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--primary-text);
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.contact-form__input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: #fff;
}

/* Textarea Specifics */
.contact-form__label-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.contact-form__char-count {
    font-size: 0.8rem;
    color: var(--primary-text);
    opacity: 0.6;
}

.contact-form__textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox area */
.contact-form__checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 1rem;
}

.contact-form__checkbox {
    margin-top: 4px; /* Aligns checkbox with the first line of text */
}

.contact-form__checkbox-label {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--primary-text);
    opacity: 0.7;
}

.contact-form__checkbox-label a {
    color: var(--primary-text);
    font-weight: 600;
    text-decoration: underline;
}

/* Submit Button */
.contact-form__submit-wrapper {
    text-align: center;
    margin-top: 2rem;
}

/* Adjust secondary button color to match your image */
.btn--secondary {
    background-color: var(--secondary-color); /* Usually dark blue in your palette */
    color: #fff;
    padding: 14px 40px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn--secondary:hover {
    background-color: var(--accent-hover);
}


/* --------------------------------------------------------------------------------------------------------------------------------- */
/* ---------------------------------------------------------- Privacy Policy ---------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */

/* --- Privacy Policy Page --- */
.privacy-page {
    padding: 4rem 0 6rem 0; /* Space for navbar */
    background-color: var(--bg-color);
    
    /* FOUC Protection */
    opacity: 0;
    visibility: hidden;
}

.privacy-page__container {
    max-width: 1450px;
    margin: 0 auto;
}

/* Header */
.privacy-page__header {
    text-align: center;
    margin-bottom: 4rem;
}

.privacy-page__title {
    font-size: 3.2rem;
    color: var(--primary-text);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.privacy-page__title span {
    color: var(--secondary-color);
}

.privacy-page__desc {
    font-size: 1.1rem;
    color: var(--primary-text);
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

.privacy-page__line {
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* Content Blocks */
.privacy-page__content {
    background-color: #ffffff;
    padding: 4rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.privacy-block {
    margin-bottom: 2.5rem;
}

.privacy-block:last-child {
    margin-bottom: 0;
}

.privacy-block h2 {
    font-size: 1.3rem;
    color: var(--primary-text);
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 0.5rem;
}

.privacy-block p {
    font-size: 1rem;
    color: var(--primary-text);
    opacity: 0.85;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.privacy-block ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.privacy-block li {
    font-size: 1rem;
    color: var(--primary-text);
    opacity: 0.85;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

/* Legal Disclaimer Box */
.privacy-block--legal {
    background-color: var(--bg-color); /* Light background to make it stand out */
    padding: 2rem;
    border-left: 4px solid var(--secondary-color);
    border-radius: 0 8px 8px 0;
    margin-top: 3rem;
}

.privacy-block--legal p:last-child {
    margin-bottom: 0;
}
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------  about---------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --- About Page Section --- */
.about-page {
    padding: 4rem 0 0rem 0; 
    background-color: var(--bg-color);
    
    /* Hides the page instantly so the animation can reveal it smoothly */
    opacity: 0;
    visibility: hidden;
}

.about-page__container {
    max-width: 1200px; 
    margin: 0 auto;
    text-align: center;
}

/* NEW: Top Header Styles */
.about-page__header {
    margin-bottom: 3.5rem;
}

.about-page__top-title {
    font-size: 3.2rem;
    color: var(--primary-text);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.about-page__top-title span {
    color: var(--secondary-color);
}

.about-page__line {
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* Typography */
.about-page__content {
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.about-page__intro {
    font-size: 1.2rem;
    color: var(--primary-text);
    opacity: 0.85;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.about-page__intro strong {
    color: var(--secondary-color);
    font-weight: 700;
    opacity: 1;
}

.about-page__title {
    font-size: 2.8rem;
    color: var(--primary-text);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.about-page__desc {
    font-size: 1.1rem;
    color: var(--primary-text);
    opacity: 0.8;
    line-height: 1.7;
    max-width: 850px;
    margin: 0 auto;
}

.about-page__desc strong {
    color: var(--secondary-color);
}

/* Image Architecture */
.about-page__image-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden; 
    border-radius: 15px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.08); 
}

.about-page__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    object-fit: cover;
    transform: scale(1.05); /* Pre-scales the image for the zoom-out effect */
}



/* --------------------------------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------  portfolio---------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --- Bento Portfolio Section --- */

.portfolio-page {
    padding: 6rem 0 10rem 0;
    background-color: var(--bg-color);
    opacity: 0;
    visibility: hidden;
}

.portfolio-page__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.portfolio-page__title {
    font-size: 3.2rem;
    color: var(--primary-text);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.portfolio-page__title span { color: var(--secondary-color); }
.portfolio-page__desc { font-size: 1.1rem; color: var(--primary-text); opacity: 0.85; margin-bottom: 1.5rem; }
.portfolio-page__line { width: 60px; height: 3px; background-color: var(--secondary-color); margin: 0 auto; border-radius: 2px; }

/* --- BENTO GRID ARCHITECTURE --- */
.portfolio-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Columns */
    grid-auto-rows: 280px; /* Base height for a standard 1x1 card */
    gap: 1.5rem;
    grid-auto-flow: dense; /* Magically fills empty spaces as you paste cards! */
}

/* Base Card */
.bento-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    /* Fades in via GSAP */
    opacity: 0; 
    /* transform: translateY(30px); */
}

/* Sizing Modifiers */
.bento-wide { grid-column: span 2; }
.bento-tall { grid-row: span 2; }
.bento-large { grid-column: span 2; grid-row: span 2; }

/* --- SLIDER MECHANICS --- */
.before-after-slider {
    position: relative;
    width: 100%;
    height: 100%; /* Fills the bento box */
    --position: 100%; /* Starts fully covering the After image */
}

.before-after-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0; left: 0;
    pointer-events: none;
}

.image-after { z-index: 1; } /* Background */
.image-before {
    z-index: 2; /* Foreground */
    clip-path: polygon(0 0, var(--position) 0, var(--position) 100%, 0 100%);
}

/* Invisible Range Input */
.slider-input {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 4; opacity: 0; cursor: ew-resize; margin: 0;
}

/* Visual Handle */
.slider-handle {
    position: absolute; top: 0; bottom: 0; left: var(--position);
    width: 4px; background-color: #ffffff; z-index: 3;
    transform: translateX(-50%); pointer-events: none;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

.slider-handle-button {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 40px; height: 40px; background-color: var(--secondary-color);
    border: 3px solid #ffffff; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    color: #ffffff; font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Floating Labels */
.label-before, .label-after {
    position: absolute;
    bottom: 1rem;
    padding: 6px 12px;
    background-color: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    z-index: 5; /* Above everything */
    pointer-events: none;
    backdrop-filter: blur(4px);
}

.label-before { left: 1rem; }
.label-after { right: 1rem; }

/* --- Bento Mobile Adjustments --- */
@media (max-width: 992px) {
    .portfolio-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Force Large cards to just be wide on tablets */
    .bento-large { grid-column: span 2; grid-row: span 1; }
}


/* --- Unit Turnover Section --- */
.unit-turnover {
    padding: 0rem 0rem 6rem 0rem;
    background-color: var(--bg-color);
}

.unit-card {
    background-color: var(--card-color);
    border-radius: 20px;
    padding: 3rem 3rem;
    min-height: 45vh; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    
    /* FOUC Protection for GSAP */
    /* opacity: 0; */
    /* visibility: hidden; */
}

.unit-card__title {
    text-align: center;
    font-size: 2.8rem;
    color: var(--primary-text); 
    margin-bottom: 3rem;
    text-transform: capitalize;
}

.unit-gallery-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Side-by-side on desktop */
    gap: 3rem; /* Gave it a little more breathing room */
    align-items: stretch;
}

.unit-gallery-block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #ffffff62; 
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
}
/* --- Single Slider Modifier --- */
.unit-gallery-wrapper--single {
    display: block; /* Removes the grid */
    max-width: 800px; /* Prevents the image from getting ridiculously huge on desktop */
    margin: 0 auto; /* Centers the whole block perfectly */
}
/* --- NEW SLIDER STYLES --- */
.image-slider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 15px; /* Space between arrows and image */
    margin-bottom: 1.5rem;
}

.slider-viewport {
    overflow: hidden; /* Hides the images not currently active */
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    aspect-ratio: 4 / 3; /* Keeps the frame consistent */
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease-in-out; /* Smooth swiping animation */
}

.slider-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0; /* Prevents images from squishing */
}

.slider-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--secondary-color); /* Uses your theme color */
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
    flex-shrink: 0;
}

.slider-btn:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

/* Typography */
.unit-label {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-text);
    margin: 0;
}

.unit-label--after {
    color: var(--accent-hover);
}

/* Modifier for 4-image galleries (2x2 layout) */
.unit-grid--2x2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; /* Slightly larger gap to balance the bigger images */
}

/* --------------------------------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------  loader---------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------- */
/* Lock scrolling while preloader is active */
body.loading {
    overflow: hidden; 
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color:#81572d; /* Dark primary background */
    z-index: 99999; /* Keeps it strictly above everything else */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The Circular Spinner */
.preloader__spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1); /* Faint white ring */
    border-top-color: #ffffff; /* Solid white spinning segment */
    border-radius: 50%;
    animation: loaderSpin 1s linear infinite;
    position: absolute; /* Keeps it exactly centered */
}

@keyframes loaderSpin {
    100% { transform: rotate(360deg); }
}

/* Logo Wrapper (Hidden Initially) */
.preloader__logo-wrapper {
    position: relative;
    opacity: 0;
    visibility: hidden; /* GSAP will turn this on when loader finishes */
    display: inline-block;
    overflow: hidden; /* Ensures the sliding box doesn't bleed out */
}

.preloader__logo {
    width: 310px; /* Adjust this width based on your actual logo */
    height: auto;
    display: block;
}

/* The Box Covering the Logo */
.preloader__reveal-box {
    position: absolute;
    top: 0;
    left: -1%; /* Slight overhang to prevent 1px bleeding */
    width: 102%;
    height: 100%;
    background-color: #81572d; /* EXACT SAME color as preloader background */
    z-index: 2;
}