/* ===================================================
   CHALUVADI CONSTRUCTIONS — V4 (Mobile First)
   =================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Raleway:wght@400;600;700;800;900&display=swap');

:root {
    --orange:     #E8650A;
    --orange-lt:  #FF7A20;
    --navy:       #1B2B6B;
    --navy-dk:    #132050;
    --navy-lt:    #2E46A0;
    --dark:       #111827;
    --text:       #374151;
    --muted:      #6B7280;
    --light:      #F9FAFB;
    --light2:     #F1F3F6;
    --white:      #FFFFFF;
    --border:     rgba(0,0,0,0.08);
    --sh:         0 8px 30px rgba(0,0,0,0.09);
    --sh-lg:      0 20px 60px rgba(0,0,0,0.14);
    --sh-xl:      0 30px 80px rgba(0,0,0,0.18);
    --r:          12px;
    --r-lg:       18px;
    --r-xl:       24px;
    --ease:       all .3s cubic-bezier(.4,0,.2,1);

    /* Header heights — easy to tweak */
    --top-h:   42px;
    --nav-h:   68px;
    --head-h:  calc(var(--top-h) + var(--nav-h));
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', sans-serif;
    font-size: 15px; color: var(--text);
    background: var(--white); line-height: 1.7;
    overflow-x: hidden;
}
h1,h2,h3,h4 { font-family: 'Raleway', sans-serif; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container  { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 88px 0; }
.text-center { text-align: center; }
.highlight   { color: var(--orange); }

/* ── Buttons ── */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--orange); color: var(--white);
    padding: 13px 28px; border-radius: 8px;
    font-weight: 700; font-size: .9rem; border: none; cursor: pointer;
    transition: var(--ease);
}
.btn-primary:hover { background: var(--orange-lt); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,101,10,.4); }

.btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: var(--orange);
    padding: 12px 26px; border-radius: 8px;
    font-weight: 700; font-size: .9rem;
    border: 2px solid var(--orange); cursor: pointer; transition: var(--ease);
}
.btn-outline:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); }

.btn-white {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--white); color: var(--navy);
    padding: 13px 28px; border-radius: 8px;
    font-weight: 700; font-size: .9rem;
    border: 2px solid var(--white); cursor: pointer; transition: var(--ease);
}
.btn-white:hover { background: transparent; color: var(--white); transform: translateY(-2px); }

/* ── Section headers ── */
.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 { font-size: clamp(1.8rem,3.5vw,2.6rem); color: var(--dark); margin-bottom: 12px; font-weight: 800; }
.section-header p  { color: var(--muted); font-size: 1rem; max-width: 560px; margin: 0 auto; }
.section-header.light h2 { color: var(--white); }
.section-header.light p  { color: rgba(255,255,255,.65); }

.section-tag {
    display: inline-block;
    background: rgba(232,101,10,.1); color: var(--orange);
    padding: 5px 16px; border-radius: 50px;
    font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px;
    border: 1px solid rgba(232,101,10,.22);
}

/* ═══════════════════════════════════════
   TOP BAR
   ═══════════════════════════════════════ */
.topbar {
    background: var(--navy);
    height: var(--top-h);
    position: fixed; top: 0; left: 0; right: 0; z-index: 1002;
    display: flex; align-items: center;
}
.topbar-inner {
    width: 100%; max-width: 1280px; margin: 0 auto;
    padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between;
}
.topbar-left { display: flex; align-items: center; gap: 20px; overflow: hidden; }
.topbar-link {
    display: flex; align-items: center; gap: 6px;
    color: rgba(255,255,255,.85); font-size: .78rem;
    white-space: nowrap; transition: color .2s;
}
.topbar-link i { color: var(--orange); font-size: .72rem; flex-shrink: 0; }
.topbar-link:hover { color: var(--white); }
.topbar-right { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.topbar-social {
    width: 26px; height: 26px;
    border: 1px solid rgba(255,255,255,.2); border-radius: 5px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.7); font-size: .66rem;
    transition: var(--ease);
}
.topbar-social:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

/* ═══════════════════════════════════════
   NAVBAR  (desktop)
   ═══════════════════════════════════════ */
.navbar {
    position: fixed;
    top: var(--top-h); left: 0; right: 0; z-index: 1001;
    background: var(--white);
    height: var(--nav-h);
    box-shadow: 0 2px 16px rgba(0,0,0,.08);
    transition: var(--ease);
}
/* When scrolled past fold: merge topbar + navbar */
.navbar.scrolled {
    top: 0;
    box-shadow: 0 4px 28px rgba(0,0,0,.13);
}

.navbar-inner {
    height: 100%;
    max-width: 1280px; margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; gap: 16px;
}

/* Brand */
.navbar-brand {
    display: flex; align-items: center; gap: 10px;
    flex-shrink: 0; text-decoration: none;
}
.brand-logo-box {
    width: 44px; height: 44px; border-radius: 9px;
    background: linear-gradient(135deg, var(--navy), var(--navy-lt));
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(27,43,107,.3);
    flex-shrink: 0;
}
.brand-logo-box.small { width: 34px; height: 34px; font-size: .95rem; border-radius: 7px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name  { font-family:'Raleway',sans-serif; font-size: 1.15rem; font-weight: 800; color: var(--dark); white-space: nowrap; }
.brand-chaluvadi { color: var(--orange); }
.brand-tagline   { font-size: .62rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1.8px; }

/* Desktop nav links */
.nav-links {
    display: flex; align-items: center; gap: 0;
    list-style: none; margin: 0 auto;
}
.nav-links > li > a {
    display: block; padding: 10px 14px;
    color: var(--text); font-size: .82rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .4px;
    border-radius: 7px; transition: var(--ease); white-space: nowrap;
}
.nav-links > li > a:hover   { color: var(--navy); background: var(--light2); }
.nav-links > li > a.active  { color: var(--orange); background: rgba(232,101,10,.09); }
.nav-chevron { font-size: .58rem; margin-left: 3px; vertical-align: middle; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: calc(100% + 6px); left: 0;
    background: var(--white); border-radius: var(--r);
    box-shadow: var(--sh-lg); min-width: 196px;
    padding: 8px 0; border: 1px solid var(--border);
    opacity: 0; visibility: hidden;
    transform: translateY(-6px);
    transition: var(--ease); z-index: 200;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
    display: flex; align-items: center; gap: 9px;
    padding: 10px 16px; color: var(--text); font-size: .83rem; font-weight: 500;
    transition: var(--ease);
}
.dropdown-menu a i { color: var(--orange); width: 14px; font-size: .78rem; }
.dropdown-menu a:hover { background: var(--light); color: var(--orange); padding-left: 20px; }

/* CTA button + hamburger wrapper */
.navbar-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-cta-btn {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--orange); color: var(--white);
    padding: 10px 18px; border-radius: 7px;
    font-size: .82rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .3px;
    transition: var(--ease); white-space: nowrap;
    box-shadow: 0 4px 12px rgba(232,101,10,.3);
}
.nav-cta-btn:hover { background: var(--orange-lt); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,101,10,.45); }

/* Hamburger — hidden on desktop */
.nav-toggle {
    display: none;
    flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer;
    padding: 6px; border-radius: 6px;
    transition: background .2s;
}
.nav-toggle:hover { background: var(--light2); }
.bar {
    display: block; width: 22px; height: 2px;
    background: var(--dark); border-radius: 2px;
    transition: var(--ease); transform-origin: center;
}
/* Animate to X when open */
.nav-toggle.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════
   MOBILE MENU  (slide-down panel)
   ═══════════════════════════════════════ */
.mobile-menu {
    display: none; /* hidden on desktop */
    position: fixed;
    top: var(--head-h); left: 0; right: 0;
    background: var(--white);
    z-index: 1000;
    max-height: calc(100vh - var(--head-h));
    overflow-y: auto;
    border-top: 3px solid var(--orange);
    box-shadow: 0 16px 40px rgba(0,0,0,.18);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease, transform .28s ease;
}
.mobile-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.mobile-nav-links { list-style: none; padding: 8px 0 4px; }
.mobile-nav-links > li > a,
.mobile-sub-toggle {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 20px;
    color: var(--dark); font-size: .95rem; font-weight: 600;
    border-bottom: 1px solid var(--light2);
    transition: var(--ease); width: 100%; text-align: left;
    background: none; border-left: none; border-right: none; border-top: none;
    cursor: pointer;
}
.mobile-nav-links > li > a:hover,
.mobile-sub-toggle:hover { background: var(--light); color: var(--orange); padding-left: 26px; }
.mobile-nav-links > li > a i,
.mobile-sub-toggle i:first-child { color: var(--orange); width: 18px; font-size: .9rem; }

/* Sub-toggle arrow */
.mobile-sub-toggle { justify-content: space-between; }
.mobile-sub-toggle .fa-chevron-down { font-size: .68rem; color: var(--muted); transition: transform .25s ease; }

/* Sub menu */
.mobile-sub-menu {
    list-style: none; display: none; background: var(--light);
}
.mobile-sub-menu.open { display: block; }
.mobile-sub-menu li a {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 20px 11px 42px;
    color: var(--text); font-size: .87rem; font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,.05);
    transition: var(--ease);
}
.mobile-sub-menu li a i { color: var(--orange); width: 14px; font-size: .8rem; }
.mobile-sub-menu li a:hover { color: var(--orange); background: rgba(232,101,10,.06); }

/* CTA inside mobile */
.mobile-cta-item { padding: 14px 20px; }
.mobile-cta {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--orange); color: var(--white);
    padding: 13px 20px; border-radius: 8px;
    font-weight: 700; font-size: .9rem;
    transition: var(--ease);
}
.mobile-cta:hover { background: var(--orange-lt); }

/* Contact strip at bottom of mobile menu */
.mobile-contact-strip {
    background: var(--navy);
    padding: 14px 20px;
    display: flex; flex-direction: column; gap: 8px;
}
.mobile-contact-strip a {
    display: flex; align-items: center; gap: 8px;
    color: rgba(255,255,255,.8); font-size: .82rem;
    transition: color .2s;
}
.mobile-contact-strip a i { color: var(--orange); font-size: .8rem; }
.mobile-contact-strip a:hover { color: var(--white); }

/* ═══════════════════════════════════════
   PAGE OFFSET (so content clears fixed header)
   ═══════════════════════════════════════ */
.hero-slider  { margin-top: var(--head-h); }
.page-hero    { margin-top: var(--head-h); }

/* ═══════════════════════════════════════
   HERO SLIDER
   ═══════════════════════════════════════ */
.hero-slider {
    position: relative;
    height: calc(100vh - var(--head-h));
    min-height: 560px; overflow: hidden;
}
.slider-wrapper { position: relative; width: 100%; height: 100%; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.slide.active { opacity: 1; }
.slide-bg {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.05); transition: transform 8s ease;
}
.slide.active .slide-bg { transform: scale(1); }
.slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10,16,50,.82) 0%, rgba(10,16,50,.45) 60%, rgba(232,101,10,.1) 100%);
}
.slide-content {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    text-align: center; color: var(--white);
    width: 92%; max-width: 800px; padding: 0 16px;
}
.slide-tag {
    display: inline-block; background: var(--orange); color: var(--white);
    padding: 6px 20px; border-radius: 50px; font-size: .7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 18px;
}
.slide-content h1 {
    font-size: clamp(2rem,5.5vw,4.6rem); font-weight: 900;
    margin-bottom: 14px; text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.slide-content p { font-size: clamp(.9rem,1.8vw,1.2rem); margin-bottom: 28px; opacity: .88; }
.slide-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.slider-controls {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    display: flex; align-items: center; gap: 12px; z-index: 10;
}
.slider-prev, .slider-next {
    background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.35);
    color: var(--white); width: 40px; height: 40px; border-radius: 50%;
    font-size: .88rem; cursor: pointer; transition: var(--ease);
}
.slider-prev:hover, .slider-next:hover { background: var(--orange); border-color: var(--orange); }
.slider-dots { display: flex; gap: 7px; }
.dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: rgba(255,255,255,.4); border: none; cursor: pointer; transition: var(--ease);
}
.dot.active { background: var(--orange); width: 26px; border-radius: 5px; }

/* ═══════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════ */
.stats-bar { background: var(--navy); padding: 34px 0; }
.stats-container {
    max-width: 1100px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 20px;
}
.stat-item { text-align: center; }
.stat-number { font-family:'Raleway',sans-serif; font-size: 2.7rem; font-weight: 900; color: var(--orange); line-height: 1; }
.stat-suffix { font-size: 1.7rem; color: var(--orange); font-weight: 700; }
.stat-label  { display: block; color: rgba(255,255,255,.6); font-size: .75rem; text-transform: uppercase; letter-spacing: 1.5px; margin-top: 5px; }
.stat-divider { width: 1px; height: 52px; background: rgba(255,255,255,.1); }

/* ═══════════════════════════════════════
   SERVICE CARDS  (screenshot style)
   ═══════════════════════════════════════ */
.services-section { background: var(--light); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }

.service-card {
    background: var(--white); border-radius: var(--r-xl);
    overflow: visible; box-shadow: var(--sh);
    border: 1px solid rgba(0,0,0,.04);
    transition: var(--ease); position: relative;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--sh-xl); }

.service-img {
    position: relative; height: 220px;
    overflow: hidden; border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .service-img img { transform: scale(1.07); }
.service-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(27,43,107,.12) 0%, rgba(27,43,107,.52) 100%);
    border-radius: var(--r-xl) var(--r-xl) 0 0;
}

/* Floating badge — sits on the fold between image & body */
.service-icon-badge {
    position: absolute;
    bottom: -22px; left: 22px;
    width: 50px; height: 50px; border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: var(--white);
    box-shadow: 0 6px 18px rgba(0,0,0,.22);
    border: 3px solid var(--white); z-index: 2;
}
.service-card:nth-child(1) .service-icon-badge { background: var(--orange); }
.service-card:nth-child(2) .service-icon-badge { background: var(--navy); }
.service-card:nth-child(3) .service-icon-badge { background: #16A34A; }
.service-card:nth-child(4) .service-icon-badge { background: #7C3AED; }
.service-card:nth-child(5) .service-icon-badge { background: #0891B2; }
.service-card:nth-child(6) .service-icon-badge { background: #DC2626; }

.service-info { padding: 34px 22px 22px; }
.service-info h3 { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin-bottom: 9px; line-height: 1.3; }
.service-info p  { color: var(--muted); font-size: .86rem; line-height: 1.7; margin-bottom: 16px; }
.service-explore {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--orange); font-size: .84rem; font-weight: 700; transition: var(--ease);
}
.service-explore i { transition: transform .28s ease; }
.service-card:hover .service-explore i { transform: translateX(4px); }

/* ═══════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════ */
.about-section { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: center; }
.about-images { position: relative; }
.about-img-main { width: 85%; border-radius: var(--r-xl); box-shadow: var(--sh-xl); }
.about-img-secondary {
    position: absolute; bottom: -28px; right: 0;
    width: 50%; border-radius: var(--r-lg);
    box-shadow: var(--sh-xl); border: 5px solid var(--white);
}
.about-badge {
    position: absolute; top: 28px; right: -8px;
    background: var(--orange); color: var(--white);
    padding: 14px 20px; border-radius: var(--r); text-align: center;
    box-shadow: 0 10px 28px rgba(232,101,10,.4);
}
.badge-number { display: block; font-family:'Raleway',sans-serif; font-size: 1.9rem; font-weight: 900; line-height: 1; }
.badge-text   { font-size: .68rem; text-transform: uppercase; letter-spacing: 1px; opacity: .9; }
.about-content h2     { font-size: clamp(1.8rem,3vw,2.6rem); color: var(--dark); margin: 12px 0 16px; font-weight: 800; }
.about-lead           { font-size: 1rem; color: var(--dark); font-weight: 600; margin-bottom: 12px; }
.about-content p      { color: var(--muted); margin-bottom: 22px; line-height: 1.8; }
.about-features       { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 30px; }
.feature-item         { display: flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: var(--text); }
.feature-check        { width: 20px; height: 20px; background: rgba(232,101,10,.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--orange); font-size: .65rem; flex-shrink: 0; }

/* ═══════════════════════════════════════
   VIDEO SECTION
   ═══════════════════════════════════════ */
.video-section { background: var(--navy); }
.video-section .section-tag { background: rgba(255,255,255,.1); color: rgba(255,255,255,.9); border-color: rgba(255,255,255,.2); }
.video-wrapper { border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.4); max-width: 960px; margin: 0 auto; }
.video-wrapper video { width: 100%; display: block; }

/* ═══════════════════════════════════════
   FEATURED PROJECTS
   ═══════════════════════════════════════ */
.featured-projects { background: var(--light); }
.projects-masonry  { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.project-tile      { position: relative; border-radius: var(--r-lg); overflow: hidden; cursor: pointer; }
.project-tile.large { grid-column: span 2; grid-row: span 2; }
.project-tile img  { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; min-height: 210px; }
.project-tile.large img { min-height: 440px; }
.project-tile:hover img { transform: scale(1.06); }
.project-tile-overlay {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 18px 16px;
    background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
    color: var(--white); opacity: .92; transition: var(--ease);
}
.project-tile:hover .project-tile-overlay { opacity: 1; }
.project-tile-overlay h3   { font-size: .98rem; margin-bottom: 3px; font-weight: 700; }
.project-tile-overlay span { font-size: .72rem; opacity: .74; text-transform: uppercase; letter-spacing: 1px; }

/* ═══════════════════════════════════════
   INTERIORS GRID
   ═══════════════════════════════════════ */
.interiors-section { background: var(--white); }
.interiors-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.interior-card { position: relative; border-radius: var(--r-lg); overflow: hidden; cursor: pointer; aspect-ratio: 3/2; }
.interior-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.interior-card:hover img { transform: scale(1.08); }
.interior-label {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 10px 12px;
    background: linear-gradient(to top, rgba(0,0,0,.8), transparent);
    color: var(--white); font-size: .8rem; font-weight: 600;
}

/* ═══════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════ */
.cta-section {
    background: linear-gradient(135deg, var(--orange) 0%, #C35008 100%);
    padding: 76px 24px; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before { content:''; position:absolute; inset:0; background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E"); }
.cta-content { position: relative; max-width: 620px; margin: 0 auto; }
.cta-content h2 { font-size: clamp(1.8rem,4vw,2.9rem); color: var(--white); margin-bottom: 14px; font-weight: 800; }
.cta-content p  { color: rgba(255,255,255,.88); font-size: 1.02rem; margin-bottom: 32px; }
.cta-buttons    { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-section .btn-primary { background: var(--white); color: var(--orange); }
.cta-section .btn-primary:hover { background: var(--light); }

/* ═══════════════════════════════════════
   PAGE HERO
   ═══════════════════════════════════════ */
.page-hero {
    position: relative; padding: 110px 24px 72px;
    text-align: center; overflow: hidden;
    min-height: 420px; display: flex; align-items: center; justify-content: center;
}
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); transition: transform 6s ease; }
.page-hero:hover .page-hero-bg { transform: scale(1); }
.page-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10,16,50,.86) 0%, rgba(10,16,50,.62) 55%, rgba(232,101,10,.14) 100%);
}
.page-hero::before { content:''; position:absolute; bottom:0; left:0; right:0; height:4px; z-index:3; background:linear-gradient(to right, transparent, var(--orange), var(--orange-lt), var(--orange), transparent); }
.page-hero-content { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(2.4rem,5vw,4rem); color: var(--white); margin: 12px 0 14px; font-weight: 900; text-shadow: 0 4px 28px rgba(0,0,0,.4); }
.page-hero p  { color: rgba(255,255,255,.78); font-size: 1.06rem; max-width: 500px; margin: 0 auto; line-height: 1.7; }
.page-hero-breadcrumb { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 8px; font-size: .73rem; color: rgba(255,255,255,.48); text-transform: uppercase; letter-spacing: 1.5px; white-space: nowrap; }
.page-hero-breadcrumb a { color: rgba(255,255,255,.48); transition: color .2s; }
.page-hero-breadcrumb a:hover { color: var(--orange); }
.page-hero-breadcrumb span { color: var(--orange); font-weight: 600; }
.page-hero-breadcrumb .sep { color: rgba(255,255,255,.28); }

/* ═══════════════════════════════════════
   FILTER TABS
   ═══════════════════════════════════════ */
.filter-tabs, .gallery-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-btn {
    background: var(--white); color: var(--text);
    border: 1.5px solid var(--border); padding: 8px 20px;
    border-radius: 50px; font-size: .82rem; font-weight: 600;
    cursor: pointer; transition: var(--ease);
}
.filter-btn:hover { background: rgba(232,101,10,.07); color: var(--orange); border-color: rgba(232,101,10,.3); }
.filter-btn.active { background: var(--orange); color: var(--white); border-color: var(--orange); box-shadow: 0 4px 14px rgba(232,101,10,.32); }

/* ═══════════════════════════════════════
   PROJECTS PAGE
   ═══════════════════════════════════════ */
.projects-page { background: var(--light); }
.projects-full-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.proj-card { background: var(--white); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh); transition: var(--ease); }
.proj-card:hover { transform: translateY(-6px); box-shadow: var(--sh-xl); }
.proj-img-wrap { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.proj-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.proj-card:hover .proj-img-wrap img { transform: scale(1.08); }
.proj-overlay { position: absolute; inset: 0; background: rgba(10,16,50,.45); opacity: 0; transition: var(--ease); display: flex; align-items: center; justify-content: center; }
.proj-card:hover .proj-overlay { opacity: 1; }
.proj-zoom { background: var(--white); border: none; width: 46px; height: 46px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; transition: var(--ease); }
.proj-zoom:hover { background: var(--orange); color: var(--white); transform: scale(1.1); }
.proj-info { padding: 18px 20px; }
.proj-cat  { display: inline-block; background: rgba(232,101,10,.1); color: var(--orange); padding: 3px 11px; border-radius: 50px; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 7px; }
.proj-info h3 { font-size: 1rem; color: var(--navy); margin-bottom: 3px; font-weight: 700; }
.proj-info p  { font-size: .8rem; color: var(--muted); }

/* ═══════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════ */
.gallery-page { background: var(--light); }
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.gallery-item { position: relative; border-radius: var(--r); overflow: hidden; cursor: pointer; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(10,16,50,.55); opacity: 0; transition: var(--ease); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: .88rem; font-weight: 700; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ═══════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════ */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.95); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.active { display: flex; }
.lightbox-inner { position: relative; max-width: 90vw; text-align: center; }
.lightbox-inner img { max-width: 100%; max-height: 82vh; border-radius: var(--r); object-fit: contain; }
.lightbox-close { position: absolute; top: -42px; right: 0; background: var(--orange); border: none; color: var(--white); width: 34px; height: 34px; border-radius: 50%; font-size: .95rem; cursor: pointer; }
#lightboxCaption { color: rgba(255,255,255,.72); margin-top: 12px; font-size: .86rem; }

/* ═══════════════════════════════════════
   SERVICES DETAIL PAGE
   ═══════════════════════════════════════ */
.services-page { background: var(--light); }
.services-page-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.service-detail-card { background: var(--white); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh); transition: var(--ease); }
.service-detail-card:hover { transform: translateY(-6px); box-shadow: var(--sh-xl); }
.service-detail-img { height: 230px; overflow: hidden; }
.service-detail-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-detail-card:hover .service-detail-img img { transform: scale(1.07); }
.service-detail-body { padding: 26px; }
.service-detail-body .service-icon { font-size: 1.9rem; margin-bottom: 10px; }
.service-detail-body h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 9px; font-weight: 800; }
.service-detail-body p  { color: var(--muted); line-height: 1.7; margin-bottom: 14px; font-size: .86rem; }
.service-list { list-style: none; }
.service-list li { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--text); padding: 4px 0; font-weight: 500; }
.service-list li::before { content: '→'; color: var(--orange); font-weight: 700; }

/* ═══════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════ */
.about-page-section { background: var(--white); }
.about-full-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: center; margin-bottom: 56px; }
.about-full-grid.reverse { direction: rtl; }
.about-full-grid.reverse > * { direction: ltr; }
.values-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; margin-top: 56px; }
.value-card { background: var(--light); border-radius: var(--r-xl); padding: 30px 22px; text-align: center; border: 1px solid var(--border); transition: var(--ease); }
.value-card:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); background: var(--white); }
.value-icon { font-size: 2.2rem; margin-bottom: 12px; }
.value-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: 8px; font-weight: 700; }
.value-card p  { font-size: .83rem; color: var(--muted); line-height: 1.6; }

/* ═══════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════ */
.contact-section { background: var(--light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.contact-info-card { background: var(--navy); border-radius: var(--r-xl); padding: 40px 32px; color: var(--white); }
.contact-info-card h3 { font-size: 1.6rem; color: var(--white); margin-bottom: 7px; font-weight: 800; }
.contact-info-card > p { color: rgba(255,255,255,.58); margin-bottom: 30px; font-size: .88rem; }
.contact-detail { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 22px; }
.contact-detail-icon { width: 42px; height: 42px; background: rgba(232,101,10,.2); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: .95rem; flex-shrink: 0; color: var(--orange); }
.contact-detail-text strong { display: block; color: rgba(255,255,255,.48); font-size: .7rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 3px; }
.contact-detail-text span   { color: rgba(255,255,255,.84); font-size: .88rem; }
.contact-form-card { background: var(--white); border-radius: var(--r-xl); padding: 40px 36px; box-shadow: var(--sh-lg); }
.contact-form-card h3 { font-size: 1.55rem; color: var(--navy); margin-bottom: 5px; font-weight: 800; }
.contact-form-card > p { color: var(--muted); margin-bottom: 28px; font-size: .88rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .78rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .5px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 11px 14px;
    border: 1.5px solid var(--border); border-radius: 9px;
    font-family:'Poppins',sans-serif; font-size: .88rem; color: var(--text);
    transition: var(--ease); background: var(--light);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 4px rgba(232,101,10,.08); }
.form-group textarea { resize: vertical; min-height: 115px; }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
footer { background: var(--dark); color: var(--white); padding: 66px 0 26px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo span { font-family:'Raleway',sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 44px; margin-bottom: 44px; }
.footer-brand p { color: rgba(255,255,255,.48); font-size: .86rem; margin-bottom: 22px; line-height: 1.7; }
.footer-socials { display: flex; gap: 7px; }
.social-btn { width: 34px; height: 34px; background: rgba(255,255,255,.07); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: .82rem; transition: var(--ease); color: rgba(255,255,255,.6); }
.social-btn:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); }
.footer-col h4 { font-size: .7rem; text-transform: uppercase; letter-spacing: 2px; color: var(--orange); margin-bottom: 16px; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,.48); font-size: .83rem; transition: var(--ease); display: flex; align-items: center; gap: 6px; }
.footer-col a i { font-size: .68rem; color: var(--orange); }
.footer-col a:hover { color: var(--white); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact-icon { width: 30px; height: 30px; background: rgba(232,101,10,.14); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: .76rem; color: var(--orange); flex-shrink: 0; }
.footer-contact-item span { color: rgba(255,255,255,.52); font-size: .82rem; line-height: 1.5; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { color: rgba(255,255,255,.32); font-size: .78rem; }

/* ═══════════════════════════════════════
   RESPONSIVE — TABLET  ≤1100px
   ═══════════════════════════════════════ */
@media (max-width: 1100px) {
    .services-grid        { grid-template-columns: repeat(2,1fr); }
    .services-page-grid   { grid-template-columns: repeat(2,1fr); }
    .footer-grid          { grid-template-columns: 1fr 1fr; gap: 32px; }
    .values-grid          { grid-template-columns: repeat(2,1fr); }
    .interiors-grid       { grid-template-columns: repeat(2,1fr); }
    .nav-links > li > a   { padding: 10px 10px; font-size: .78rem; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — SMALL TABLET  ≤900px
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
    .about-grid, .about-full-grid { grid-template-columns: 1fr; gap: 36px; }
    .about-img-secondary { display: none; }
    .about-badge         { display: none; }
    .contact-grid        { grid-template-columns: 1fr; }
    .projects-full-grid  { grid-template-columns: repeat(2,1fr); }
    .gallery-grid        { grid-template-columns: repeat(3,1fr); }
    .projects-masonry    { grid-template-columns: 1fr 1fr; }
    .project-tile.large  { grid-column: span 2; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE  ≤768px
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
    :root {
        --top-h:  36px;
        --nav-h:  60px;
    }

    /* === TOPBAR on mobile === */
    .topbar-inner { padding: 0 14px; }
    .topbar-left  { gap: 12px; min-width: 0; flex: 1; overflow: hidden; }
    .topbar-link  { font-size: .72rem; white-space: nowrap; }
    /* hide phone on very small, keep email */
    .topbar-phone { display: none; }
    .topbar-right { gap: 4px; }
    .topbar-social { width: 24px; height: 24px; font-size: .62rem; }

    /* === NAVBAR on mobile === */
    .navbar-inner { padding: 0 14px; gap: 8px; }

    /* Hide desktop nav links completely */
    .nav-links { display: none !important; }

    /* Show hamburger */
    .nav-toggle { display: flex; }

    /* Shrink brand on mobile */
    .brand-logo-box  { width: 38px; height: 38px; font-size: 1rem; }
    .brand-name      { font-size: .9rem; }
    .brand-tagline   { display: none; }

    /* CTA button — compact */
    .nav-cta-btn { padding: 8px 12px; font-size: .74rem; gap: 5px; }
    .nav-cta-btn i { display: none; }
    .nav-cta-btn span::before { content: 'Quote'; }
    .nav-cta-btn span { font-size: 0; }
    .nav-cta-btn span::before { font-size: .74rem; }

    /* Show mobile menu panel */
    .mobile-menu { display: block; }

    /* === HERO === */
    .hero-slider     { min-height: 480px; }
    .slide-content h1 { font-size: 1.9rem; }
    .slide-content p  { font-size: .88rem; }
    .slide-btns      { flex-direction: column; align-items: center; }
    .slide-btns .btn-primary,
    .slide-btns .btn-white { width: 220px; justify-content: center; }

    /* === STATS === */
    .stat-divider { display: none; }
    .stat-number  { font-size: 2.2rem; }
    .stats-container { justify-content: center; gap: 18px; }

    /* === SECTION === */
    .section-pad     { padding: 56px 0; }
    .section-header  { margin-bottom: 32px; }
    .section-header h2 { font-size: 1.65rem; }
    .container       { padding: 0 16px; }

    /* === SERVICES === */
    .services-grid   { grid-template-columns: 1fr; gap: 18px; }
    .service-img     { height: 195px; }

    /* === ABOUT === */
    .about-features  { grid-template-columns: 1fr; }
    .about-content   { padding: 0; }

    /* === PROJECTS MASONRY === */
    .projects-masonry       { grid-template-columns: 1fr; gap: 10px; }
    .project-tile.large     { grid-column: span 1; }
    .project-tile.large img { min-height: 260px; }

    /* === PROJECTS GRID === */
    .projects-full-grid { grid-template-columns: 1fr; }

    /* === INTERIORS === */
    .interiors-grid { grid-template-columns: 1fr 1fr; }

    /* === GALLERY === */
    .gallery-grid { grid-template-columns: repeat(2,1fr); gap: 8px; }

    /* === PAGE HERO === */
    .page-hero    { padding: 80px 16px 56px; min-height: 340px; }
    .page-hero h1 { font-size: 2rem; }
    .page-hero p  { font-size: .92rem; }

    /* === CONTACT === */
    .contact-form-card { padding: 24px 18px; }
    .contact-info-card { padding: 26px 20px; }
    .form-row          { grid-template-columns: 1fr; }

    /* === CTA === */
    .cta-section  { padding: 56px 16px; }
    .cta-content h2 { font-size: 1.75rem; }
    .cta-buttons  { flex-direction: column; align-items: center; }

    /* === VALUES === */
    .values-grid  { grid-template-columns: 1fr 1fr; gap: 12px; }
    .value-card   { padding: 20px 14px; }

    /* === SERVICES DETAIL === */
    .services-page-grid { grid-template-columns: 1fr; }

    /* === FOOTER === */
    footer        { padding: 48px 0 18px; }
    .footer-grid  { grid-template-columns: 1fr; gap: 26px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — EXTRA SMALL  ≤420px
   ═══════════════════════════════════════ */
@media (max-width: 420px) {
    :root { --top-h: 32px; --nav-h: 56px; }
    .topbar-link    { font-size: .68rem; }
    .topbar-email span { display: none; } /* show icon only */
    .topbar-email::after { content: 'info@chaluvadiconstructions.in'; font-size: .68rem; }
    .interiors-grid { grid-template-columns: 1fr; }
    .values-grid    { grid-template-columns: 1fr; }
    .gallery-grid   { grid-template-columns: 1fr 1fr; }
    .slide-content h1 { font-size: 1.65rem; }
}
