:root {
    --color-bg: #ffffff;
    --color-primary: #506a1c;
    --color-text: #0c1004;
    --color-gold: #D4AF37;
    --color-gold-hover: #b8962e;
    --color-card-bg: rgba(255, 255, 255, 0.6);
    --color-card-border: rgba(80, 106, 28, 0.15);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Video Preloader */
.preloader-logo {
    width: 180px;
    height: auto;
    margin-bottom: 2rem;
    animation: preloaderPulse 0.8s ease-in-out infinite;
}

.preloader-ring {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(212, 175, 55, 0.15);
    border-top-color: var(--color-gold);
    border-radius: 50%;
    animation: preloaderSpin 0.4s linear infinite;
}

@keyframes preloaderSpin {
    to { transform: rotate(360deg); }
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.04); opacity: 0.85; }
}

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

img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Layout Wrapper */
.site-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Constrain content to 1600px */
.site-wrapper > main,
.site-wrapper > section {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

/* Background Effects */
.glow-bg {
    display: none;
}

.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(12, 16, 4, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(12, 16, 4, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
    mask-image: radial-gradient(circle at 30% 50%, rgba(0,0,0,1) 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 30% 50%, rgba(0,0,0,1) 20%, transparent 70%);
}

/* Particle Canvas */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 6%;
    position: relative;
    z-index: 100;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    flex: 0 0 auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.logo-img {
    height: 95px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.desktop-nav {
    display: flex;
    flex: 0 0 auto;
    justify-content: flex-end;
    align-items: center;
    gap: 3.5rem;
    margin-right: 3.5rem;
}

.desktop-nav a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

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

/* Dropdown Menus */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: var(--color-bg);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-gold);
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 4px;
    vertical-align: middle;
}

.header-right {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

.btn-outline {
    border: 1px solid rgba(12, 16, 4, 0.3);
    color: var(--color-text);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--color-gold);
    color: var(--color-text);
    background: rgba(212, 175, 55, 0.15);
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-bg);
    border: 1px solid var(--color-gold);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    border-color: var(--color-gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    border: 1px solid rgba(12, 16, 4, 0.3);
    color: var(--color-text);
    background: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    border-color: var(--color-text);
    background: rgba(12, 16, 4, 0.05);
}

/* Hamburger */
.hamburger {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 100;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition);
}

.hamburger span:nth-child(2) {
    width: 20px;
    margin-left: auto;
}

.hamburger:hover span {
    background-color: var(--color-gold);
    width: 28px;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 244, 216, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 90;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-nav.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    padding: 7rem 2rem 3rem;
    overflow-y: auto;
    max-height: 100vh;
    width: 100%;
}

.mobile-nav-content a, .mobile-dropdown-toggle {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1.6rem;
    font-family: var(--font-heading);
    font-style: italic;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.mobile-nav.active .mobile-nav-content a,
.mobile-nav.active .mobile-dropdown-toggle {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-content a:hover,
.mobile-dropdown-toggle:hover {
    color: var(--color-gold);
}

.mobile-dropdown .dropdown-arrow {
    font-size: 1rem;
    margin-left: 0.5rem;
    display: inline-block;
}

/* Mobile Dropdown */
.mobile-dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-dropdown-menu {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
}

.mobile-dropdown-menu.active {
    display: flex;
}

.mobile-dropdown-menu a {
    font-size: 1.2rem;
    opacity: 1 !important;
    transform: none !important;
    color: rgba(12, 16, 4, 0.7);
    transition: var(--transition);
}

.mobile-dropdown-menu a:hover {
    color: var(--color-gold);
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 6% 2rem 6%;
    position: relative;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    margin-top: 0rem;
    margin-bottom: 0.5rem;
}

.hero-text-section {
    flex: 1.4;
    width: 55%;
    position: relative;
    padding: 2rem 0;
}

.pre-title {
    font-size: 0.8rem;
    color: var(--color-gold);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.title-divider {
    width: 60px;
    height: 2px;
    background-color: var(--color-gold);
    margin: 0.5rem 0 1rem 0;
}

.hero-title {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 4.8rem;
    line-height: 1.1;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    color: rgba(12, 16, 4, 0.85);
    max-width: 480px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.hero-divider {
    width: 1px;
    height: 400px;
    background-color: rgba(12, 16, 4, 0.1);
    margin: 0 1rem;
}

.hero-visual-section {
    flex: 0.8;
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Carousel */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -4rem;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.carousel-card {
    position: absolute;
    width: 260px;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    cursor: pointer;
    background-color: var(--color-bg);
    text-decoration: none;
    color: inherit;
    display: block;
}

.carousel-card .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: all 0.5s ease;
}

.carousel-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.6) 100%);
    transition: all 0.5s ease;
}

/* Positioning of cards */
.carousel-card[data-index="0"] {
    transform: translateX(-40%) scale(0.85);
    z-index: 1;
    filter: grayscale(100%) brightness(0.6);
}

.carousel-card[data-index="1"], .carousel-card.active {
    transform: translateX(0) scale(1.05);
    z-index: 3;
    filter: grayscale(0%) brightness(1);
    border: 2px solid var(--color-gold);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.carousel-card[data-index="2"] {
    transform: translateX(40%) scale(0.85);
    z-index: 1;
    filter: grayscale(100%) brightness(0.6);
}

.carousel-card:not([data-index="0"]):not([data-index="1"]):not([data-index="2"]) {
    opacity: 0;
    pointer-events: none;
}

.card-top, .card-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    color: #fff;
    z-index: 2;
    text-align: center;
    transition: opacity 0.3s ease;
}

.carousel-card:not(.active) .card-top,
.carousel-card:not(.active) .card-bottom {
    opacity: 0;
    pointer-events: none;
}

.card-top {
    top: 0;
}

.card-bottom {
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.card-top h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.card-top .location {
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
}

.card-divider-short {
    width: 40px;
    height: 2px;
    background-color: var(--color-gold);
    margin: 0.8rem auto 0;
}

.footer-icon {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 0.2rem;
}

.bed-type {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.price {
    font-size: 0.75rem;
    font-weight: 400;
    margin-top: 0.2rem;
    opacity: 0.9;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(12, 16, 4, 0.1);
    color: var(--color-text);
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--color-gold);
    color: #fff;
    border-color: var(--color-gold);
}

.prev-btn { left: 0px; }
.next-btn { right: 0px; }

.carousel-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    width: 100%;
}

.carousel-pagination .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(12, 16, 4, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-pagination .dot.active {
    background: var(--color-gold);
    transform: scale(1.3);
}

/* Stats Section */
.stats-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(12, 16, 4, 0.1);
    padding-top: 2.5rem;
    padding-bottom: 1rem;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.stat-item {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-text);
}

.stat-number span {
    color: var(--color-gold);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(12, 16, 4, 0.7);
    line-height: 1.4;
    font-weight: 400;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background-color: rgba(12, 16, 4, 0.15);
    position: relative;
}

.stat-divider::before, .stat-divider::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: rgba(12, 16, 4, 0.4);
    transform: rotate(45deg);
    left: -2px;
}

.stat-divider::before { top: -2.5px; }
.stat-divider::after { bottom: -2.5px; }

/* Scroll Animations */
.fade-in, .slide-in-right, .fade-in-up {
    transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fade-in {
    opacity: 0;
}
.fade-in.in-view {
    opacity: 1;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(60px);
}
.slide-in-right.in-view {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
}
.fade-in-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* About Section */
.about-section {
    padding: 1.5rem 0 0.5rem 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-arch-bg {
    width: 95%;
    max-width: 1100px;
    background-color: rgba(255, 255, 255, 0.45);
    border-radius: 550px 550px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 2rem 5rem 2rem;
    position: relative;
    z-index: 2;
}

.about-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    padding: 0 2rem;
}

.center-divider {
    margin: 1.5rem auto 2.5rem auto;
}

.about-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 500;
    color: #121c26;
    margin-bottom: 2rem;
}

.gold-italic {
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-style: italic;
    font-weight: 500;
}

.about-description {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(12, 16, 4, 0.7);
    max-width: 700px;
    margin: 0 auto 1.5rem auto;
}

.about-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.about-content .btn {
    margin-top: 0;
}

.about-building-img {
    margin-top: 3rem;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Pillars Card */
.pillars-card {
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 90%;
    max-width: 1000px;
    margin: -30px auto 3rem auto;
    padding: 2.5rem 4rem;
    position: relative;
    z-index: 10;
    background: #ffffff;
    overflow: hidden;
}

.pillars-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: conic-gradient(
        from var(--border-angle, 0deg),
        rgba(212, 175, 55, 0.1) 0%,
        rgba(212, 175, 55, 0.8) 25%,
        rgba(255, 215, 0, 1) 50%,
        rgba(212, 175, 55, 0.8) 75%,
        rgba(212, 175, 55, 0.1) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: rotateBorder 4s linear infinite;
    pointer-events: none;
}

.pillars-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15), 0 0 40px rgba(212, 175, 55, 0.05);
    animation: glowPulse 3s ease-in-out infinite;
    pointer-events: none;
}

@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotateBorder {
    to {
        --border-angle: 360deg;
    }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(212, 175, 55, 0.1), 0 0 30px rgba(212, 175, 55, 0.03); }
    50% { box-shadow: 0 0 25px rgba(212, 175, 55, 0.25), 0 0 50px rgba(212, 175, 55, 0.08); }
}

.pillar-item {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 0 1rem;
}

.pillar-icon {
    margin-bottom: 0.4rem;
    transition: transform 0.4s ease;
}

.pillar-item:hover .pillar-icon {
    transform: scale(1.15) translateY(-4px);
}

.pillar-title {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
}

.pillar-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(12, 16, 4, 0.6);
    max-width: 260px;
}

.pillar-divider {
    width: 1px;
    height: 80px;
    background-color: rgba(12, 16, 4, 0.1);
    align-self: center;
}

/* Projects Section */
.projects-section {
    background-color: #0b0d10;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    color: #fff;
    padding: 2rem 6%;
    position: relative;
    overflow: hidden;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
    position: relative;
}

.projects-title-area {
    flex: 0 0 50%;
}

.projects-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 500;
}

.white-italic {
    font-family: var(--font-heading);
    color: #ffffff;
    font-style: italic;
    font-weight: 500;
}

.projects-title .gold-italic {
    font-size: 4rem;
}

.left-divider {
    margin: 1.5rem 0 2rem 0;
}

.projects-subtitle {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 400px;
}

.projects-desc-area {
    flex: 0 0 40%;
    text-align: right;
}

.projects-description {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.projects-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
}

.btn-outline-gold {
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    background: transparent;
}

.btn-outline-gold:hover {
    background: var(--color-gold);
    color: #fff;
}

.projects-nav {
    display: flex;
    gap: 0.5rem;
}

.projects-nav .nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.projects-nav .nav-btn:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: #0b0d10;
}

.projects-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.proj-track {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
    min-height: 420px;
    align-items: center;
}

.proj-card {
    position: absolute;
    width: 280px;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    flex-shrink: 0;
}

.proj-card[data-idx="-2"] {
    transform: translateX(-220%) scale(0.85);
    z-index: 1;
}

.proj-card[data-idx="-1"] {
    transform: translateX(-110%) scale(0.95);
    z-index: 2;
}

.proj-card[data-idx="0"] {
    transform: translateX(0) scale(1);
    z-index: 3;
}

.proj-card[data-idx="1"] {
    transform: translateX(110%) scale(0.95);
    z-index: 2;
}

.proj-card[data-idx="2"] {
    transform: translateX(220%) scale(0.85);
    z-index: 1;
}

.proj-card.active {
    width: 320px;
    height: 420px;
    border: 2px solid var(--color-gold);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.proj-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.proj-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    transition: all 0.5s ease;
}

.proj-card.active .proj-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 40%, rgba(0,0,0,0.8) 100%);
}

.proj-card-top {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: flex;
    gap: 0.5rem;
}

.tag {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.outline-tag {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    background: transparent;
}

.gold-tag {
    background: var(--color-gold);
    color: #0b0d10;
    border: none;
}

.proj-card-mid {
    position: absolute;
    bottom: 85px;
    left: 0;
    width: 100%;
    padding: 0 1.5rem;
    z-index: 2;
    text-align: center;
}

.proj-card-mid h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.3rem;
}

.proj-card-mid .location {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
}

.proj-card-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem 1.5rem;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.proj-card:not(.active) .proj-card-bottom {
    opacity: 0;
    pointer-events: none;
}

.info-val {
    font-size: 0.85rem;
    color: var(--color-gold);
    font-weight: 600;
}

.info-lbl {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gold-text {
    color: var(--color-gold);
}

.info-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.proj-card:not(.active) .proj-card-mid {
    bottom: 1.5rem;
}

.proj-card:not(.active) .proj-card-mid h3 {
    font-size: 1.2rem;
}

.proj-card:not(.active) .proj-card-mid .location {
    display: none;
}

.proj-card:not(.active) .proj-card-top .gold-tag {
    display: none;
}

.proj-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.proj-pagination .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.proj-pagination .dot.active {
    background: var(--color-gold);
    transform: scale(1.3);
}

/* Why Choose Section */
.why-choose-section {
    background-color: var(--color-bg);
    padding: 2rem 6% 0.5rem 6%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.why-choose-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(80, 106, 28, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.why-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.line-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.line-left, .line-right {
    flex: 0 0 80px;
    height: 1px;
    background-color: rgba(212, 175, 55, 0.3);
    position: relative;
}

.line-dot {
    position: absolute;
    top: 50%;
    width: 5px;
    height: 5px;
    background-color: var(--color-gold);
    border-radius: 50%;
    transform: translateY(-50%);
}

.line-left .line-dot { right: -2px; }
.line-right .line-dot { left: -2px; }

.why-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.dark-italic {
    font-family: var(--font-heading);
    color: #121c26;
    font-style: italic;
    font-weight: 500;
}

.dark-serif {
    font-family: var(--font-heading);
    color: #121c26;
    font-weight: 500;
}

.why-desc {
    font-size: 0.95rem;
    color: rgba(12, 16, 4, 0.7);
    line-height: 1.8;
}

.why-cards {
    display: flex;
    gap: 2.5rem;
    width: 100%;
    max-width: 1600px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.why-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    flex: 1;
    max-width: 380px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(12, 16, 4, 0.04);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.why-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.8), transparent 40%, rgba(212, 175, 55, 0.4));
    background-size: 300% 300%;
    animation: goldBorderAnim 3s ease-in-out infinite alternate;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    pointer-events: none;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
    border-color: rgba(212, 175, 55, 0.15);
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
}

.why-card:hover .icon-circle {
    background: var(--color-gold);
}

.why-card:hover .icon-circle svg {
    stroke: #fff !important;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    color: #121c26;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.card-divider {
    width: 30px;
    height: 2px;
    background-color: var(--color-gold);
    margin: 0 auto 1rem;
}

.card-desc {
    font-size: 0.85rem;
    color: rgba(12, 16, 4, 0.6);
    line-height: 1.7;
}

/* Journey Section */
.journey-section {
    background-color: #101c0e;
    padding: 5rem 6% 5rem 6%;
    display: flex;
    justify-content: space-between;
    position: relative;
    color: #ffffff;
}

.journey-left {
    flex: 1;
    padding-top: 3rem;
    z-index: 2;
}

.journey-section .dark-serif {
    color: #ffffff;
}

.journey-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.journey-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.journey-right {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 2rem 0 2rem 0;
    z-index: 2;
    background: transparent;
}

.timeline {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
}

.timeline-step {
    display: flex;
    gap: 2.5rem;
    position: relative;
    padding-bottom: 2.5rem;
}

.timeline-step:last-child {
    padding-bottom: 0;
}

.timeline-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 50px;
    bottom: 0;
    border-left: 1px dashed var(--color-gold);
}

.timeline-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-gold));
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.animated-icon-border {
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(212, 175, 55, 0); }
}

.timeline-content {
    flex: 1;
    padding-top: 0.5rem;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.step-num {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 1.5px;
}

.step-time {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.3rem;
}

.step-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Testimonies Section */
.testimonies-section {
    background-color: var(--color-bg);
    padding: 2rem 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testim-left {
    flex: 0 0 35%;
    position: relative;
    z-index: 2;
}

.testim-progress { display: none; }

.testim-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.testim-desc {
    color: rgba(12, 16, 4, 0.7);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.testim-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.rating-num {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 600;
    color: #121c26;
    line-height: 1;
}

.rating-stars {
    display: flex;
    gap: 0.3rem;
}

.rating-lbl {
    font-size: 0.8rem;
    font-weight: 700;
    color: #121c26;
    letter-spacing: 1.5px;
    margin-bottom: 3rem;
}

.testim-nav-area {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.testim-nav-area-mobile { display: none; }

.testim-nav {
    display: flex;
    gap: 1rem;
}

.testim-nav .nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(12, 16, 4, 0.2);
    background: transparent;
    color: #121c26;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testim-nav .nav-btn:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: #fff;
}

.testim-pagination {
    font-size: 0.9rem;
    color: rgba(12, 16, 4, 0.4);
    letter-spacing: 1px;
}

.current-page {
    font-weight: 600;
    color: #121c26;
}

.testim-right {
    flex: 0 0 60%;
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
}

.testim-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.testim-card {
    position: absolute;
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    width: 65%;
    max-width: 450px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
    border: 1px solid rgba(12, 16, 4, 0.04);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.testim-card[data-idx="-1"] {
    transform: translateX(-30%) scale(0.9);
    opacity: 0.5;
    z-index: 1;
}

.testim-card.active {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 3;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
    border-color: rgba(212, 175, 55, 0.2);
}

.testim-card[data-idx="1"] {
    transform: translateX(30%) scale(0.9);
    opacity: 0.5;
    z-index: 1;
}

.testim-card:not([data-idx="-1"]):not([data-idx="0"]):not([data-idx="1"]) {
    opacity: 0;
    pointer-events: none;
}

.star-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: var(--color-gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-gold);
    line-height: 0.8;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.quote-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(12, 16, 4, 0.7);
    min-height: 80px;
}

.testim-card .card-divider {
    margin: 1.5rem 0;
}

.testim-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #121c26;
}

.role {
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(12, 16, 4, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gold-role {
    color: var(--color-gold) !important;
}

.user-info .location {
    font-size: 0.7rem;
    color: rgba(12, 16, 4, 0.4);
    margin-top: 0.2rem;
}

.quote-mark-lg {
    position: absolute;
    bottom: 1rem;
    right: 2rem;
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--color-gold);
    line-height: 0.5;
    opacity: 0.08;
}

/* FAQ Section */
.faq-section {
    background-color: var(--color-bg);
    padding: 2rem 6% 1rem 6%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.faq-desc {
    color: rgba(12, 16, 4, 0.7);
    font-size: 1.05rem;
}

.faq-container {
    display: flex;
    gap: 2rem;
    width: 100%;
    max-width: 1600px;
    margin-bottom: 0.5rem;
}

.faq-left {
    flex: 0 0 35%;
}

.contact-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(12, 16, 4, 0.04);
}

.contact-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.contact-content {
    padding: 1rem;
    text-align: center;
}

.headset-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 0.5rem;
}

.contact-subtitle {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.contact-desc {
    font-size: 0.9rem;
    color: rgba(12, 16, 4, 0.6);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.faq-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.accordion-item {
    margin-bottom: 0.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    overflow: hidden;
    border: 1px solid rgba(12, 16, 4, 0.03);
    transition: all 0.3s ease;
}

.accordion-item.active {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    cursor: pointer;
    gap: 1.5rem;
}

.acc-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.accordion-item.active .acc-icon {
    background: var(--color-gold);
    color: #fff;
}

.acc-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    color: #121c26;
    flex: 1;
}

.acc-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.accordion-item.active .acc-arrow {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 2rem 0 5rem;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding: 0 2rem 0.75rem 5rem;
}

.accordion-content p {
    color: rgba(12, 16, 4, 0.7);
    line-height: 1.7;
    font-size: 0.95rem;
}

.features-bar {
    width: 100%;
    max-width: 1600px;
    background: #ffffff;
    border-radius: 20px;
    padding: 1rem;
    display: flex;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.features-bar::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), transparent, rgba(212, 175, 55, 0.1));
    z-index: -1;
    background-size: 300% 300%;
    animation: goldBorderAnim 3s ease-in-out infinite alternate;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

@keyframes goldBorderAnim {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    flex: 1;
    padding: 0 1.5rem;
    border-right: 1px solid rgba(12, 16, 4, 0.08);
    cursor: pointer;
}

.feature-item:last-child {
    border-right: none;
}

.feature-icon {
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-item:hover .feature-icon {
    transform: scale(1.15) translateY(-5px);
}

.feature-text h4 {
    font-size: 0.95rem;
    color: #121c26;
    margin-bottom: 0.4rem;
}

.feature-text p {
    font-size: 0.8rem;
    color: rgba(12, 16, 4, 0.6);
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1600px) {
    .hero-title { font-size: 4.5rem; }
    .carousel-container { height: 380px; }
    
    .timeline-step { gap: 2.5rem; }
    .timeline-icon { width: 40px; height: 40px; }
    .timeline-step:not(:last-child)::after { left: 20px; top: 40px; }
    
    .testim-card { padding: 2rem 1.5rem; }
    .quote-text { font-size: 1rem; min-height: auto; }
    
    .accordion-header { padding: 1.2rem; gap: 1rem; }
    .accordion-content { padding: 0 1.2rem 1.2rem 3.5rem; }
    .accordion-item.active .accordion-content { padding: 0 1.2rem 1.2rem 3.5rem; }
    
    .btn { padding: 0.7rem 1.5rem; font-size: 0.75rem; }
}

@media (max-width: 1200px) {
    .hero-title { font-size: 4.5rem; }
    .about-title, .projects-title, .why-title, .faq-title, .dark-serif { 
        font-size: 3.5rem; 
    }
    .testim-title {
        font-size: 2.1rem;
    }
}

/* Specific Fixes for Overflow and Stacking */
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

.site-wrapper {
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--color-primary);
    letter-spacing: 1px;
    border-bottom: 2px solid var(--color-gold);
}

@media (max-width: 992px) {
    .header { padding: 1.5rem 5%; }
    .logo-img { height: 60px; }
    
    .hero { padding: 0 5% 2rem 5%; }
    .hero-content {
        flex-wrap: wrap;
        gap: 2rem;
        margin-top: 1rem;
        margin-bottom: 3rem;
    }
    .hero-title { font-size: 3.8rem; }
    .hero-divider { display: none; }
    .desktop-nav { display: none; }
    .header-right { gap: 1rem; }
    .hero-text-section, .hero-visual-section {
        width: 100%;
        max-width: 100%;
        flex: none;
    }
    .hero-text-section { padding: 0; text-align: center; }
    .hero-description { max-width: 100% !important; margin-left: auto; margin-right: auto; }
    .title-divider { margin: 0.5rem auto 1rem auto; }
    .hero-actions { justify-content: center; }
    
    .about-arch-bg { padding: 4rem 2rem 6rem 2rem; }
    .about-title { font-size: 3rem; }
    
    .projects-header { flex-direction: column; align-items: flex-start; text-align: left; gap: 2rem; }
    .projects-desc-area { align-items: flex-start; text-align: left; }
    
    .projects-section {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 6rem 5% !important;
        overflow-x: hidden;
    }
    
    .projects-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2rem;
        text-align: left !important;
        margin-bottom: 4rem;
    }
    
    .projects-desc-area {
        align-items: flex-start !important;
        text-align: left !important;
    }
    
    .projects-title { 
        font-size: 3rem !important; 
        line-height: 1.2;
    }
    
    .projects-description { 
        max-width: 100% !important; 
    }

    .projects-actions {
        flex-direction: row-reverse;
        justify-content: space-between;
        width: 100%;
    }

    .proj-track {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
  .hero-visual-section {
    display: block !important;
    width: 100%;
    flex: none;
    margin-top: 1rem;
    padding: 0 5%;
  }
  .carousel-container {
    height: auto;
    margin-left: 0;
    max-width: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    max-height: none;
  }
  .carousel-container .carousel-track {
    display: flex !important;
    position: relative !important;
    perspective: none !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    scroll-behavior: smooth;
    gap: 0;
    padding: 0;
    margin: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .carousel-container .carousel-track::-webkit-scrollbar { display: none; }
  .carousel-btn { display: none !important; }
  .carousel-pagination {
    display: flex !important;
    justify-content: center;
    gap: 6px;
    margin-top: 0.85rem;
  }
  .carousel-pagination .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(80,106,28,0.25);
    transition: all 0.3s ease;
  }
  .carousel-pagination .dot.active {
    background: var(--color-gold);
    width: 22px;
    border-radius: 3px;
  }
  .carousel-card {
    position: relative !important;
    flex: 0 0 100% !important;
    min-width: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 320px !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: hidden;
    background: transparent;
    display: block !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    box-sizing: border-box;
  }
  .carousel-card[data-index="0"],
  .carousel-card[data-index="1"],
  .carousel-card[data-index="2"],
  .carousel-card[data-index="-1"] {
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    filter: none !important;
  }
  .carousel-card .card-bg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    z-index: 0;
  }
  .carousel-card .card-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
  }
  .carousel-card .card-overlay {
    display: block !important;
    position: absolute !important;
    left: 0; right: 0; bottom: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    z-index: 1;
  }
  .carousel-card .card-top,
  .carousel-card:not(.active) .card-top {
    position: absolute !important;
    left: 0; right: 0; bottom: 0;
    padding: 0.9rem 1.1rem 1rem !important;
    color: #fff !important;
    text-align: left;
    background: transparent !important;
    opacity: 1 !important;
    pointer-events: none !important;
    z-index: 2;
  }
  .carousel-card .card-top h3 {
    font-size: 1.05rem !important;
    line-height: 1.2;
    margin: 0 0 0.15rem !important;
    color: #fff !important;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  }
  .carousel-card .card-top .location {
    font-size: 0.7rem !important;
    color: #fff !important;
    margin: 0;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  }
  .carousel-card .card-divider-short { display: none !important; }
  .carousel-card .card-bottom { display: none !important; }

  .proj-track {
    display: flex !important;
    flex-direction: row !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 1rem;
        padding: 0 1rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .proj-card {
        flex: 0 0 85% !important;
        scroll-snap-align: center !important;
        position: relative !important;
        visibility: visible !important;
        display: block !important;
        height: 380px;
        width: auto !important;
        min-width: 0 !important;
        transform: none !important;
        opacity: 1 !important;
        border-width: 1px !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    }
    
    .proj-card[data-idx="-2"], .proj-card[data-idx="2"],
    .proj-card[data-idx="-1"], .proj-card[data-idx="1"] {
        display: block !important;
    }
    
    .projects-carousel {
        height: auto !important;
        padding-bottom: 0;
        -webkit-mask-image: none !important;
        mask-image: none !important;
    }

    section, main {
        overflow-x: hidden;
    }
    
    .site-wrapper > main,
    .site-wrapper > section {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .proj-card { flex: 0 0 90% !important; height: 340px; }
    .proj-card-mid h3 { font-size: 1rem; }
    .proj-card-mid .location { font-size: 0.75rem; }
    .proj-info .info-val { font-size: 0.75rem; }
    .proj-info .info-lbl { font-size: 0.6rem; }
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, #0b2e1a 0%, #061f10 100%);
    color: #fff;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    align-items: start;
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-brand-col .footer-tagline {
    color: var(--color-gold);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.footer-brand-col .footer-desc {
    color: rgba(255,255,255,0.5);
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.footer-brand-col .footer-cta-line {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

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

/* Premium Footer Social Icons */
.footer-social-icons {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.15);
    color: rgba(255, 255, 255, 0.65);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.social-icon svg {
    width: 16px;
    height: 16px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.4s ease;
    z-index: 2;
}

/* Background expansion effect on hover */
.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--color-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 0;
}

/* Instagram Hover style */
.social-icon.instagram::before {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Facebook Hover style */
.social-icon.facebook::before {
    background: #1877f2;
}

/* LinkedIn Hover style */
.social-icon.linkedin::before {
    background: #0a66c2;
}

.social-icon:hover {
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.25);
}

.social-icon:hover::before {
    width: 120%;
    height: 120%;
}

.social-icon:hover svg {
    transform: rotate(360deg) scale(1.1);
}

.footer-bottom {
    max-width: 1200px;
    margin: 2.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .site-footer {
        padding: 2rem 1.5rem 1.5rem;
    }
    .footer-col {
        text-align: center;
    }
    .footer-brand-col .footer-tagline {
        font-size: 0.8rem;
    }
    .footer-social-icons {
        justify-content: center;
    }
    .footer-bottom {
        font-size: 0.7rem;
    }
}

/* Interactive Call Back Modal */
.callback-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 16, 4, 0.5);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.callback-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.callback-modal {
    background: #ffffff;
    border: 1px solid rgba(80, 106, 28, 0.2);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    width: 90%;
    max-width: 440px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    position: relative;
    transform: translateY(30px) scale(0.98);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.callback-modal-overlay.active .callback-modal {
    transform: translateY(0) scale(1);
}

.callback-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 32px;
    height: 32px;
    background: #f4f6f4;
    border-radius: 50%;
    border: none;
    color: #556270;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.callback-modal-close:hover {
    background: var(--color-primary);
    color: #ffffff;
    transform: rotate(90deg);
}

.callback-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.callback-modal-header h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    color: #121c26;
    margin-bottom: 0.5rem;
}

.callback-modal-header p {
    font-size: 0.9rem;
    color: #556270;
}

.callback-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #121c26;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-input {
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(80, 106, 28, 0.15);
    background: #fafbfa;
    font-family: inherit;
    font-size: 0.95rem;
    color: #121c26;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(80, 106, 28, 0.1);
}

.form-input.error {
    border-color: #d9534f;
    background: #fffcfc;
}

.error-message {
    font-size: 0.75rem;
    color: #d9534f;
    margin-top: 0.1rem;
    display: none;
    font-weight: 500;
}

.form-input.error + .error-message {
    display: block;
}

.modal-submit-btn {
    margin-top: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 30px;
    border: 1px solid var(--color-primary);
    background: var(--color-primary);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 6px 20px rgba(80, 106, 28, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.modal-submit-btn:hover {
    background: transparent;
    color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(80, 106, 28, 0.2);
}

.modal-submit-btn:active {
    transform: translateY(0);
}

/* ============================================================
   Floor Plan Lightbox
   ============================================================ */
.winsome-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.winsome-lightbox.active {
    display: flex;
    opacity: 1;
}
.winsome-lightbox-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.winsome-lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    transform-origin: center center;
    transition: transform 0.3s ease;
    cursor: grab;
    border-radius: 8px;
    user-select: none;
}
.winsome-lightbox img:active { cursor: grabbing; }
.winsome-lightbox-label {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    z-index: 2;
}
.winsome-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 2;
}
.winsome-lightbox-close:hover { background: rgba(255,255,255,0.25); }
.winsome-lightbox-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    align-items: center;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    z-index: 2;
}
.winsome-lightbox-controls button {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.winsome-lightbox-controls button:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: #000;
}

/* Floor Plan Gallery (global) */
.floorplan-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.floorplan-item { border-radius: 12px; overflow: hidden; border: 1px solid rgba(80,106,28,0.12); box-shadow: 0 8px 24px rgba(0,0,0,0.06); cursor: pointer; transition: transform 0.3s ease; }
.floorplan-item:hover { transform: translateY(-5px); }
.floorplan-item img { width: 100%; height: auto; display: block; }
.floorplan-item p { text-align: center; padding: 0.8rem; font-size: 0.9rem; font-weight: 600; color: var(--color-primary); background: #fff; margin: 0; }
@media (max-width: 768px) { .floorplan-gallery { grid-template-columns: 1fr; } }



/* Connectivity Table */
.connectivity-table { width: 100%; border-collapse: collapse; margin-top: 1rem; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.04); border: 1px solid rgba(80,106,28,0.1); }
.connectivity-table thead { background: linear-gradient(135deg, var(--color-primary), #3a4f14); }
.connectivity-table th { color: #fff; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; padding: 1rem 1.2rem; text-align: left; }
.connectivity-table td { padding: 0.9rem 1.2rem; font-size: 0.9rem; color: rgba(12,16,4,0.8); border-bottom: 1px solid rgba(80,106,28,0.06); }
.connectivity-table tr:last-child td { border-bottom: none; }
.connectivity-table tr:hover td { background: rgba(212,175,55,0.04); }
.connectivity-table td:last-child { font-weight: 600; color: var(--color-primary); text-align: right; white-space: nowrap; }
@media (max-width: 480px) { .connectivity-table th, .connectivity-table td { padding: 0.7rem 0.8rem; font-size: 0.8rem; } }

/* ============================================================
   WINSOME MITRA — AI Chatbot Widget
   ============================================================ */
#wm-wrapper {
  font-family: 'Poppins', sans-serif;
  --wm-primary: #506a1c;
  --wm-gold: #D4AF37;
  --wm-bg: #ffffff;
  --wm-shadow: 0 8px 32px rgba(0,0,0,0.18);
  --wm-radius: 16px;
}
#wm-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  background: #fff;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(80,106,28,0.35);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  padding: 0;
}
#wm-toggle #wm-bubble-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
#wm-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(80,106,28,0.45);
}
#wm-toggle.active {
  border-color: var(--color-primary);
  transform: scale(0.95);
}
#wm-panel {
  position: fixed;
  bottom: 92px;
  right: 24px;
  z-index: 99998;
  width: 380px;
  max-height: 620px;
  height: calc(100vh - 140px);
  background: var(--wm-bg);
  border-radius: var(--wm-radius);
  box-shadow: var(--wm-shadow);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.96);
  transform-origin: bottom right;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
}
#wm-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
#wm-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--wm-primary), #3a4f14);
  color: #fff;
  flex-shrink: 0;
}
#wm-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
#wm-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
#wm-title {
  flex: 1;
}
#wm-title span {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}
#wm-title small {
  display: block;
  font-size: 0.7rem;
  opacity: 0.75;
  font-weight: 400;
}
#wm-close-panel {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.7;
  padding: 0 2px;
  line-height: 1;
  transition: opacity 0.2s;
}
#wm-close-panel:hover { opacity: 1; }
#wm-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}
#wm-messages::-webkit-scrollbar { width: 4px; }
#wm-messages::-webkit-scrollbar-track { background: transparent; }
#wm-messages::-webkit-scrollbar-thumb { background: rgba(80,106,28,0.2); border-radius: 8px; }
.wm-msg {
  display: flex;
  animation: wmFadeIn 0.3s ease;
}
@keyframes wmFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.wm-msg-bot { justify-content: flex-start; }
.wm-msg-user { justify-content: flex-end; }
.wm-msg-content {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.6;
  word-wrap: break-word;
}
.wm-msg-bot .wm-msg-content {
  background: #f3f5ee;
  color: #1a1f0e;
  border-bottom-left-radius: 4px;
}
.wm-msg-bot .wm-msg-content h4 {
  font-size: 0.9rem;
  margin: 8px 0 4px;
  color: var(--wm-primary);
}
.wm-msg-bot .wm-msg-content ul {
  margin: 4px 0;
  padding-left: 18px;
}
.wm-msg-bot .wm-msg-content li {
  margin-bottom: 2px;
}
.wm-msg-user .wm-msg-content {
  background: var(--wm-primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.wm-msg-content p { margin: 0 0 4px; }
.wm-msg-content p:last-child { margin-bottom: 0; }
.wm-msg-content strong { color: inherit; }
.wm-msg-user .wm-msg-content strong { color: #fff; }
.wm-dot-pulse { display: inline-flex; align-items: center; gap: 4px; padding: 4px 0; }
.wm-dot-pulse span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--wm-primary);
  opacity: 0.4;
  animation: wmPulse 1.2s ease-in-out infinite;
}
.wm-dot-pulse span:nth-child(2) { animation-delay: 0.2s; }
.wm-dot-pulse span:nth-child(3) { animation-delay: 0.4s; }
@keyframes wmPulse {
  0%, 80%, 100% { opacity: 0.4; transform: scale(0.9); }
  40% { opacity: 1; transform: scale(1.15); }
}
#wm-suggestions {
  padding: 8px 16px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex-shrink: 0;
  border-top: 1px solid rgba(80,106,28,0.08);
}
.wm-chip {
  background: #f3f5ee;
  border: 1px solid rgba(80,106,28,0.15);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--wm-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.wm-chip:hover {
  background: var(--wm-primary);
  color: #fff;
  border-color: var(--wm-primary);
}
#wm-disclaimer {
  padding: 5px 14px 0;
  font-size: 0.65rem;
  color: #999;
  font-style: italic;
  text-align: center;
  flex-shrink: 0;
  line-height: 1.3;
}
#wm-input-area {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 14px;
  border-top: 1px solid rgba(0,0,0,0.06);
  flex-shrink: 0;
  background: #fff;
}
#wm-input {
  flex: 1;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 24px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-family: 'Poppins', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  background: #f9faf8;
}
#wm-input:focus {
  border-color: var(--wm-primary);
  background: #fff;
}
#wm-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--wm-primary);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
#wm-send:hover { background: #3a4f14; }
#wm-send:disabled { opacity: 0.5; cursor: not-allowed; }
@media (max-width: 480px) {
  #wm-panel {
    right: 12px;
    left: 12px;
    bottom: 80px;
    width: auto;
    height: calc(100vh - 100px);
    max-height: none;
  }
  #wm-toggle {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
  }
  #wm-input { font-size: 0.8rem; padding: 8px 14px; }
}

/* --- 480px and below (mobile hero image polish) --- */
@media (max-width: 480px) {
  .hero-visual-section {
    margin-top: 0.5rem;
  }
  .carousel-container {
    height: auto;
    border-radius: 12px;
  }
  .carousel-card .card-bg {
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .carousel-card .card-top h3 {
    font-size: 0.95rem;
  }
  .carousel-card .card-bottom .bed-type {
    font-size: 0.6rem;
  }
  .carousel-card .card-bottom .price {
    font-size: 0.55rem;
  }
  .carousel-card .card-top {
    padding: 0.75rem 0.75rem 0.2rem;
  }
  .carousel-card .card-bottom {
    padding: 0.2rem 0.75rem 0.75rem;
  }
}

/* ============================================================
   COMPREHENSIVE MOBILE REDESIGN — all sections (no content changes)
   ============================================================ */

/* --- 992px and below --- */
@media (max-width: 992px) {
  .pillars-card {
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
    justify-content: center;
  }
  .pillar-item { flex: 0 0 45%; padding: 0; }
  .pillar-divider { display: none; }

  .desktop-nav { display: none; }
  .header-right { display: flex; }

  .projects-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .projects-title-area { flex: 0 0 100%; }
  .projects-title { font-size: 3rem; }
  .projects-title .gold-italic { font-size: 2.8rem; }
  .projects-desc-area { flex: 0 0 100%; text-align: left; }
  .projects-actions { justify-content: flex-start; }

  .testimonies-section { flex-direction: column; gap: 1.5rem; }
  .testim-left {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    margin-bottom: 1rem;
  }
  .testim-left .title-divider {
    margin-left: auto;
    margin-right: auto;
  }
  .testim-rating {
    justify-content: center;
  }
  .testim-nav-area-desktop {
    display: none;
  }
  .testim-right {
    height: auto;
    position: relative;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .testim-carousel {
    display: flex;
    gap: 1rem;
    padding: 0 5%;
    perspective: none;
    height: auto;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
    scroll-padding: 0 5%;
    justify-content: flex-start;
  }
  .testim-carousel::-webkit-scrollbar { display: none; }

  .testim-progress {
    display: block;
    padding: 0.5rem 5% 0.15rem;
    width: 100%;
  }
  .testim-progress-bar {
    height: 3px;
    background: rgba(212, 175, 55, 0.25);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    width: 100%;
  }
  .testim-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--color-gold);
    border-radius: 3px;
    transition: width 0.3s ease;
    width: var(--progress, 0%);
  }

  .testim-card {
    position: relative;
    flex: 0 0 85%;
    max-width: 360px;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    scroll-snap-align: start;
    margin: 0;
    border: 1px solid rgba(12, 16, 4, 0.06);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    text-align: center;
    padding: 1.8rem 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 280px;
    height: auto;
    min-height: 350px;
  }
  
  .testim-card.active {
    transform: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    border-color: rgba(12, 16, 4, 0.06);
  }

  /* Mobile testimonial navigation */
  .testim-nav-area-mobile {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
    padding: 0 5%;
  }
  
  .testim-nav-area-mobile .testim-nav {
    order: 1;
  }
  
  .testim-nav-area-mobile .testim-pagination {
    order: 2;
  }

  /* Ensure testimonial cards have proper spacing */
  .testim-carousel {
    gap: 1rem;
    padding-bottom: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .testim-card {
    margin-right: 1rem;
    scroll-snap-align: start;
  }

  .testim-card:last-child {
    margin-right: 5%;
  }
  
  /* Mobile testimonial section padding */
  .testimonies-section {
    padding: 2rem 0 1rem;
  }

  .testim-card .quote-mark,
  .testim-card .quote-mark-lg {
    display: none;
  }
  .testim-card .card-divider {
    display: none;
  }

  .testim-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    order: -1;
  }
  .user-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-gold);
    padding: 3px;
    margin-bottom: 0.35rem;
  }
  .user-info h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #121c26;
  }
  .user-info .role {
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(12, 16, 4, 0.4);
    text-transform: uppercase;
    letter-spacing: 1.5px;
  }

  .quote-text {
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(12, 16, 4, 0.75);
    min-height: auto;
    font-style: italic;
    font-family: var(--font-heading);
    margin: 1rem 0 0.8rem;
  }
  .quote-text::before {
    content: '\201C';
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-gold);
    opacity: 0.35;
    display: inline;
    vertical-align: middle;
    line-height: 1;
    margin-right: 0.1rem;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
  }

  .user-info .location {
    font-size: 0.68rem;
    color: var(--color-gold);
    font-weight: 600;
    margin-top: 0.25rem;
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    padding: 0.1rem 0.7rem;
    border-radius: 20px;
  }

  .testim-card.active {
    transform: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    border-color: rgba(12, 16, 4, 0.06);
  }
  .testim-nav-area-desktop { display: none; }
  .testim-nav-area-mobile {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.75rem;
  }
}

/* --- 768px and below --- */
@media (max-width: 768px) {
  .header { padding: 1.5rem 5%; }
  .logo-img { height: 60px; }

  .pillar-item { flex: 0 0 100%; }
  .pillar-desc { max-width: 100%; }

  .why-card::after { display: none; }
  .why-card { padding: 2rem 1.5rem; max-width: 100%; border: 1px solid rgba(212,175,55,0.15); border-radius: 12px; flex: 0 0 100%; }
  .why-cards { gap: 1.5rem; }
  .why-header { margin-bottom: 1.5rem; }
  .line-heading { gap: 0.8rem; margin-bottom: 2rem; }
  .line-left, .line-right { flex: 0 0 40px; }
  .why-desc { font-size: 0.9rem; }
  .why-title { font-size: 2.5rem; }
  .icon-circle { width: 56px; height: 56px; border-radius: 12px; }
  .icon-circle svg { width: 26px; height: 26px; }

  .stats-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
    padding: 1.5rem 5%;
  }
  .stat-divider { display: none; }
  .stat-item { width: 100% !important; text-align: center; align-items: center; }
  .stat-number { font-size: 2.2rem; }

  .about-arch-bg {
    width: 100%;
    border-radius: 0;
    padding: 2rem 1.2rem 4rem;
  }
  .about-content { padding: 0; }
  .about-title { font-size: 2.5rem; }
  .about-description { font-size: 0.9rem; }
  .about-actions {
    flex-direction: column;
    align-items: center;
  }
  .about-actions .btn { width: 100%; max-width: 280px; text-align: center; }

  .journey-section {
    flex-direction: column;
    padding: 2rem 5%;
    gap: 1.5rem;
  }
  .journey-left { padding-top: 0; text-align: center; max-width: 100%; }
  .journey-left .title-divider { margin-left: auto; margin-right: auto; }
  .journey-title { font-size: 2rem; }
  .journey-desc { font-size: 0.9rem; }
  .journey-right { max-width: 100%; }

  .timeline-step { gap: 0.8rem; flex-direction: row; align-items: flex-start; }
  .timeline-icon {
    width: 34px; height: 34px; flex-shrink: 0;
  }
  .timeline-icon svg { width: 16px; height: 16px; }
  .timeline-step:not(:last-child)::after {
    display: none;
  }
  .step-header .step-time { display: none; }
  .step-title { font-size: 1rem; }
  .step-desc { font-size: 0.8rem; }

  .testimonies-section { padding: 2rem 5% 1rem; }
  .testim-left { text-align: center; max-width: 100%; }
  .testim-left .title-divider { margin-left: auto; margin-right: auto; }
  .testim-title { font-size: 2rem; }
  .testim-desc { font-size: 0.9rem; margin-bottom: 1.5rem; }
  .testim-nav-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .testim-nav { display: flex; gap: 0.5rem; }
  .quote-text { font-size: 0.92rem; }
  .quote-text::before { font-size: 1.6rem; }
  .user-avatar { width: 64px; height: 64px; }
  .testim-card { padding: 1.4rem 1rem 1rem; }

  .faq-container { flex-direction: column; gap: 1.5rem; }
  .faq-left { max-width: 100%; flex: 0 0 100%; }
  .faq-left .contact-card { max-width: 100%; }
  .faq-title { font-size: 2.2rem; }
  .faq-desc { font-size: 0.9rem; }
  .accordion-content { font-size: 0.8rem; }
  .accordion-header { padding: 0.8rem 1rem; gap: 0.8rem; }
  .acc-title { font-size: 0.9rem; }
  .accordion-content { padding: 0 1rem 0 2.5rem; }
  .accordion-item.active .accordion-content { padding: 0 1rem 0.6rem 2.5rem; }

  .features-bar {
    flex-wrap: wrap;
    margin: 1.5rem 0;
    padding: 1.5rem;
    gap: 1.5rem;
  }
  .feature-item { gap: 0.8rem; flex: 0 0 calc(50% - 1rem); }
  .feature-icon svg { width: 26px; height: 26px; }
  .feature-text h4 { font-size: 0.9rem; }
  .feature-text p { font-size: 0.78rem; }

  .hero { padding: 0 5% 1.5rem; }
  .hero-content { flex-direction: column; gap: 1.5rem; }
  .hero-text-section { width: 100%; padding: 1rem 0; }
  .hero-title { font-size: 3rem; }
  .hero-description { font-size: 0.95rem; margin-bottom: 1.5rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero-actions .btn { width: 100%; text-align: center; }
.hero-divider { display: none; }

  .projects-section { padding: 2rem 5%; }
  .projects-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .projects-title-area { flex: 0 0 100%; }
  .projects-title { font-size: 2.5rem; }
  .projects-title .gold-italic { font-size: 2.2rem; }
  .projects-desc-area { flex: 0 0 100%; text-align: left; }
  .projects-description { font-size: 0.9rem; }
  .projects-actions { justify-content: flex-start; flex-wrap: wrap; gap: 1rem; }
  .projects-nav .nav-btn { width: 44px; height: 44px; }
  .projects-carousel {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .proj-track { min-height: 340px; }
  .proj-card { width: 220px; height: 300px; }
  .proj-card.active { width: 260px; height: 340px; }
  .proj-card[data-idx="-2"] { transform: translateX(-150%) scale(0.85); }
  .proj-card[data-idx="-1"] { transform: translateX(-75%) scale(0.95); }
  .proj-card[data-idx="0"] { transform: translateX(0) scale(1); }
  .proj-card[data-idx="1"] { transform: translateX(75%) scale(0.95); }
  .proj-card[data-idx="2"] { transform: translateX(150%) scale(0.85); }
  .proj-card-mid h3 { font-size: 1.2rem; }
  .proj-card.active .proj-card-mid h3 { font-size: 1.3rem; }
  .proj-card-bottom { padding: 0.8rem 1rem; }
  .info-val { font-size: 0.75rem; }
  .info-lbl { font-size: 0.55rem; }
  .proj-card-top { top: 0.6rem; left: 0.6rem; }
  .tag { padding: 0.2rem 0.6rem; font-size: 0.55rem; }
  .proj-card-top { flex-direction: column; gap: 0.3rem; align-items: flex-start; }
  .tag { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

  /* Projects carousel: switch to horizontal scroll-snap on mobile */
  .proj-track {
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    gap: 1rem;
    padding: 0 1rem;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
    -ms-overflow-style: none;
    perspective: none !important;
    position: relative !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    min-height: 360px;
  }
  .proj-track::-webkit-scrollbar { display: none; }
  .proj-card {
    flex: 0 0 85% !important;
    scroll-snap-align: center !important;
    position: relative !important;
    transform: none !important;
    height: 340px;
    min-width: 280px;
  }
  .proj-card.active {
    width: auto !important;
    height: 360px !important;
    border: 2px solid var(--color-gold);
  }
  .proj-card[data-idx="-2"],
  .proj-card[data-idx="-1"],
  .proj-card[data-idx="0"],
  .proj-card[data-idx="1"],
  .proj-card[data-idx="2"] {
    transform: none !important;
  }
  .proj-card:not(.active) .proj-card-mid {
    bottom: 1.5rem;
  }
  .proj-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  /* Text centering on mobile for key sections */
  .hero-text-section { text-align: center; }
  .hero-text-section .title-divider { margin-left: auto; margin-right: auto; }
  .hero-description { text-align: center; }
  .hero-actions { justify-content: center; align-items: center; }
  .about-content { text-align: center; }
  .about-content .title-divider { margin-left: auto; margin-right: auto; }
  .why-header { text-align: center; }
  .faq-header { text-align: center; }
  .testim-left { text-align: center; }
  .projects-title-area { text-align: center; }
  .projects-title-area .title-divider { margin-left: auto; margin-right: auto; }
  .projects-subtitle { text-align: center; max-width: 100%; }
  .projects-desc-area { text-align: center; }
  .projects-description { text-align: center; }
  .projects-actions { justify-content: center; }
  .journey-left { text-align: center; }
  .journey-left .title-divider { margin-left: auto; margin-right: auto; }

  .mobile-nav-content a, .mobile-dropdown-toggle { font-size: 1.3rem; }
  .mobile-nav-content { gap: 1.5rem; padding: 6rem 1.5rem 2rem; }
  .mobile-dropdown-menu a { font-size: 1rem; }

  .faq-section { padding: 2rem 5% 1rem; }

  .features-bar::after { display: none; }

  #particleCanvas { display: none; }
  .grid-bg { background-size: 30px 30px; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2.5rem; }
  .projects-title { font-size: 2rem; }
  .projects-title .gold-italic { font-size: 1.8rem; }
}

/* --- 480px and below --- */
@media (max-width: 480px) {
  .header { padding: 1rem 4%; }
  .logo-img { height: 48px; }

  .stats-section {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
    padding: 1.5rem 4%;
  }
  .stat-number { font-size: 1.8rem; }
  .stat-label { font-size: 0.75rem; }

  .why-card { padding: 1.5rem 1.2rem; border-radius: 8px; flex: 0 0 100%; }
  .card-title { font-size: 1.1rem; }
  .why-title { font-size: 1.8rem; }
  .icon-circle { width: 48px; height: 48px; border-radius: 8px; }
  .icon-circle svg { width: 22px; height: 22px; }
  .card-divider { margin-bottom: 0.7rem; }
  .card-desc { font-size: 0.8rem; }

  .about-title { font-size: 2rem; }

  .journey-title { font-size: 1.6rem; }
  .timeline { padding: 0; }

  .testim-title { font-size: 1.4rem; }
  .testim-card { padding: 1.2rem 0.8rem 1rem; }
  .quote-text { font-size: 0.88rem; }
  .quote-text::before { font-size: 1.4rem; }
  .user-avatar { width: 60px; height: 60px; }
  .user-info h4 { font-size: 0.9rem; }
  .user-info .role { font-size: 0.55rem; }
  .user-info .location { font-size: 0.62rem; }
  .testim-progress { padding: 0.3rem 5% 0.1rem; }
  .testim-progress-bar { height: 2px; }

  .features-bar { padding: 1rem; gap: 0.8rem; }
  .feature-item { flex: 0 0 100%; flex-direction: row; text-align: left; gap: 0.6rem; }

  .hero-title { font-size: 2rem; }
  .hero-description { font-size: 0.88rem; }
  .carousel-card { height: 280px !important; }
  .carousel-card .card-top h3 { font-size: 0.95rem !important; }

  .projects-title { font-size: 1.6rem; }
  .projects-title .gold-italic { font-size: 1.4rem; }
  .proj-card { flex: 0 0 90% !important; height: 300px; min-width: 260px; }
  .proj-card.active { height: 320px !important; }
  .proj-track { min-height: 300px; }
  .proj-card-top { flex-direction: column; gap: 0.3rem; align-items: flex-start; }
  .tag { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: 0.5rem; padding: 0.15rem 0.5rem; }

  .faq-title { font-size: 1.8rem; }

  .mobile-nav-content a, .mobile-dropdown-toggle { font-size: 1.1rem; }
  .mobile-nav-content { gap: 1.2rem; padding: 5rem 1rem 2rem; }
  .mobile-dropdown-menu a { font-size: 0.9rem; gap: 1rem; padding-top: 1rem; }

  .card-top h3 { font-size: 1rem; }
  .card-top .location { font-size: 0.6rem; }
  .card-bottom { padding: 0.8rem; }
  .bed-type { font-size: 0.65rem; }
  .price { font-size: 0.65rem; }

  /* Fix small text on property badges */
  .property-status { font-size: 0.6rem; padding: 0.2rem 0.5rem; }
  .property-tag { font-size: 0.55rem; padding: 0.15rem 0.5rem; }

  /* Connectivity table - prevent overflow */
  .connectivity-table td:last-child { white-space: normal; word-break: break-word; }
  .connectivity-table th,
  .connectivity-table td { padding: 0.5rem 0.6rem; font-size: 0.75rem; }

  /* Forms - iOS zoom prevention */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  input[type="number"],
  textarea,
  select,
  .form-input,
  .form-control,
  .pi-input,
  #wm-input { font-size: 1rem; }

  /* Callback modal - full width */
  #callbackModal .modal-content { padding: 1.5rem; margin: 0.5rem; max-width: 100%; }
  #callbackModal .form-input { font-size: 1rem; padding: 0.8rem; }
  #callbackModal .btn-primary { width: 100%; }

  /* Filter buttons - prevent overflow */
  .filter-buttons { gap: 0.4rem; }
  .filter-btn { padding: 0.4rem 0.7rem; font-size: 0.65rem; }

  /* Section padding consistency */
  .about-section,
  .why-choose-section,
  .journey-section,
  .testimonies-section,
  .faq-section { padding: 2rem 4%; }

  /* Hero actions stack */
  .hero-actions { flex-direction: column; gap: 0.75rem; align-items: stretch; }
  .hero-actions .btn { width: 100%; text-align: center; justify-content: center; }

  /* FAQ contact card */
  .faq-container .contact-card { padding: 1rem; }
  .faq-container .contact-card img { max-height: 120px; }
}

/* --- 360px and below (small phones) --- */
@media (max-width: 360px) {
  .hero-title { font-size: 1.6rem; }
  .hero-description { font-size: 0.82rem; }
  .carousel-card { height: 250px !important; }
  .carousel-card .card-top { padding: 0.8rem 0.9rem 0.9rem !important; }
  .carousel-card .card-top h3 { font-size: 0.88rem !important; }
  .carousel-card .card-top .location { font-size: 0.65rem !important; }

  .about-title { font-size: 1.6rem; }
  .projects-title { font-size: 1.4rem; }
  .why-title { font-size: 1.5rem; }
  .journey-title { font-size: 1.4rem; }
  .testim-title { font-size: 1.2rem; }
  .quote-text { font-size: 0.82rem; }
  .quote-text::before { font-size: 1.2rem; }
  .user-avatar { width: 52px; height: 52px; }
  .testim-card { padding: 1rem 0.6rem 0.8rem; }
  .user-info h4 { font-size: 0.8rem; }
  .user-info .location { font-size: 0.58rem; }
  .testim-progress { padding: 0.2rem 5% 0.05rem; }
  .faq-title { font-size: 1.5rem; }

  .stats-section { gap: 1rem 0.5rem; padding: 1rem 3%; }
  .stat-number { font-size: 1.5rem; }
  .stat-label { font-size: 0.65rem; }

  .why-card { padding: 1rem 0.8rem; }
  .card-desc { font-size: 0.75rem; }

  .features-bar { padding: 0.8rem; gap: 0.5rem; }
  .feature-item { font-size: 0.75rem; }

  .proj-card { flex: 0 0 92% !important; height: 260px; min-width: 240px; }
  .proj-card.active { height: 280px !important; }

  .section-header h2 { font-size: 1.4rem; }
  .pre-title { font-size: 0.65rem; }

  .pillars-card { padding: 1rem; }
  .pillar-title { font-size: 1rem; }
  .pillar-desc { font-size: 0.75rem; }
}

/* ============================================
   YOUTUBE VIDEO SECTION - Hand-drawn border
   ============================================ */
.youtube-section {
  padding: 6rem 2rem;
}

.youtube-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.youtube-video-col {
  min-width: 0;
}

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

.youtube-text-col .pre-title {
  margin-bottom: 0.5rem;
}

.youtube-text-col .section-title {
  font-size: 2.6rem;
  line-height: 1.15;
}

.youtube-text-col .title-divider {
  margin: 1rem 0 1.5rem;
}

.youtube-subtext {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(12, 16, 4, 0.72);
  line-height: 1.8;
  max-width: 520px;
}

.youtube-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 6px;
  overflow: hidden;
  z-index: 1;
}

.youtube-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 992px) {
  .youtube-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 700px;
  }
  .youtube-text-col {
    text-align: center;
  }
  .youtube-text-col .title-divider {
    margin-left: auto;
    margin-right: auto;
  }
  .youtube-subtext {
    max-width: 100%;
  }

  /* Mobile text centering for youtube section */
  .youtube-text-col { text-align: center; }
  .youtube-text-col .title-divider { margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
  .youtube-section { padding: 3rem 1rem; }
  .youtube-embed { border-radius: 8px; }
  .youtube-layout { gap: 2rem; }
  .youtube-text-col .section-title { font-size: 2rem; }
  .youtube-subtext { font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .youtube-section { padding: 2rem 0.8rem; }
  .youtube-embed { border-radius: 6px; }
  .youtube-layout { gap: 1.5rem; }
  .youtube-text-col .section-title { font-size: 1.6rem; }
  .youtube-subtext { font-size: 0.88rem; }
}

/* RERA QR Code Section */
.rera-qr-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.rera-qr-section h4 {
    color: #121c26;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.rera-qr-section p {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.rera-qr-code {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.rera-qr-code .qr-image {
    max-width: 200px;
    height: auto;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.rera-note {
    font-size: 0.85rem;
    color: #6c757d;
    background: #e7f3ff;
    padding: 0.75rem;
    border-radius: 6px;
    border-left: 3px solid #0066cc;
    margin: 1.5rem 0;
}

.rera-details {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px solid #e9ecef;
}

.rera-details p {
    margin: 0.5rem 0;
    color: #121c26;
    font-size: 0.9rem;
}

.rera-website-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0066cc;
    font-weight: 500;
    text-decoration: none;
    margin-top: 1rem;
    transition: color 0.2s ease;
}

.rera-website-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.rera-website-link svg {
    width: 14px;
    height: 14px;
}

/* ===== Mobile scroll behaviour fix =====
   Ensures page-level vertical scroll is never trapped by inner
   components (carousels, accordions, sticky panels) on phones. */
@media (max-width: 768px) {
    /* Horizontal scroll containers: keep page scroll smooth
       and prevent bounce-overscroll from chaining to <body>. */
    .proj-track,
    .carousel-track,
    .testim-carousel,
    .ww-carousel-track,
    .blog-grid,
    .news-grid,
    .bento-grid,
    .blog-container,
    .blog-detail-section,
    .news-container,
    .gallery-portfolio-section,
    .properties-section,
    .ww-testimonials-section,
    .stat-track {
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
    }

    /* Long FAQ answers must not be clipped at 200px. */
    .accordion-content {
        max-height: 0;
    }
    .accordion-item.active .accordion-content {
        max-height: 1200px;
    }

    /* Make sure the page itself is the only vertical scroller.
       The body/html keep their native overflow; we just make sure
       no section is forcing its own scroll context. */
    section,
    main,
    .site-wrapper,
    .hero,
    .about-section,
    .projects-section,
    .why-choose-section,
    .journey-section,
    .testimonies-section,
    .faq-section,
    .youtube-section,
    .stats-section,
    .features-bar,
    .blog-detail-section,
    .blog-stats-grid {
        overflow: visible;
    }

    /* Lock page scroll when mobile menu is open (set by JS). */
    body.menu-open,
    body.nav-open {
        overflow: hidden !important;
        position: fixed;
        width: 100%;
    }

    /* Sticky sidebars on blog/news/project detail should not
       be sticky on small screens (they trap scroll). */
    .sidebar-sticky,
    .project-sidebar {
        position: static !important;
        top: auto !important;
    }
}
