/* ============================================================
   KALYANI HOUSING — Premium Real Estate 2026
   Brand: #ED1C24 Red | #2B2B2B Dark | #F5F5F5 Light
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --red:        #ED1C24;
  --red-dark:   #C5141B;
  --red-light:  rgba(237,28,36,0.08);
  --dark:       #2B2B2B;
  --dark-80:    rgba(43,43,43,0.85);
  --mid:        #4A4A4A;
  --light:      #F5F5F5;
  --silver:     #CFCFCF;
  --white:      #FFFFFF;
  --black:      #111111;

--font-display: 'Poppins', sans-serif;
--font-body: 'Poppins', sans-serif;
--font-heading: 'Poppins', sans-serif;

  --radius:    4px;
  --radius-lg: 12px;
  --shadow:    0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
  --trans:     all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── RESET ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html,
body{
    overflow-x:hidden;
    width:100%;
}
*{
    max-width:100%;
}


html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ───────────────────────────────────────── */
.display-serif {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--dark);
}
.section-subtitle {
  font-size: 1rem;
  color: var(--mid);
  max-width: 560px;
  line-height: 1.8;
}

/* ── BUTTONS ──────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border: none;
  cursor: pointer;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.btn-primary:hover::after { transform: translateX(0); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(237,28,36,0.3); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1.9rem;
  border: 1.5px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: var(--trans);
}
.btn-outline:hover { background: var(--white); color: var(--dark); border-color: var(--white); }

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1.9rem;
  border: 1.5px solid var(--dark);
  cursor: pointer;
  transition: var(--trans);
}
.btn-outline-dark:hover { background: var(--dark); color: var(--white); }

/* ── BLINKING CTA BUTTON ──────────────────────────────── */
.blink-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-radius: 2px;
  animation: blink-border 1.4s ease-in-out infinite;
  transition: var(--trans);
  white-space: nowrap;
}
.blink-cta:hover { background: var(--red-dark); color: var(--white); animation: none; }
@keyframes blink-border {
  0%, 100% { box-shadow: 0 0 0 2px var(--red), 0 0 12px rgba(237,28,36,0.5); }
  50% { box-shadow: 0 0 0 3px rgba(237,28,36,0.3), 0 0 24px rgba(237,28,36,0.2); }
}

/* ── NAVBAR ───────────────────────────────────────────── */
#mainNav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--trans);
}
#mainNav.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
#mainNav.scrolled .nav-link { color: var(--dark) !important; }
#mainNav.scrolled .navbar-brand img { filter: none; }
#mainNav.scrolled .nav-link:hover { color: var(--red) !important; }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  gap: 1rem;
}
.navbar-brand img {
  height: 70px;
  width: auto;
  /*filter: brightness(0) invert(1);
  transition: var(--trans);*/
}
#mainNav.scrolled .navbar-brand img { filter: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.nav-link {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9) !important;
  padding: 0.5rem 0.85rem !important;
  transition: var(--trans);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--red);
  transition: var(--trans);
}
.nav-link:hover::after, .nav-link.active::after { left: 0.85rem; right: 0.85rem; }
.nav-link:hover { color: var(--white) !important; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu-custom {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--red);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--trans);
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu-custom {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu-custom a {
  display: block;
  padding: 0.7rem 1.2rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
  transition: var(--trans);
  border-bottom: 1px solid var(--light);
}
.dropdown-menu-custom a:hover { color: var(--red); padding-left: 1.6rem; }

/* Mobile nav */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--trans);
}
#mainNav.scrolled .hamburger span { background: var(--dark); }

.mobile-nav {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: #fff;
  z-index: 9999;
  padding: 2rem 1.5rem;
  transform: translateX(100%);
  transition: transform .35s ease;
  overflow-y: auto;
  box-shadow: -8px 0 40px rgba(0,0,0,.15);
}

.mobile-nav.open {
  transform: translateX(0);
}


.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
}
.mobile-nav-overlay.open { display: block; }
.mobile-nav-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
  float: right;
  margin-bottom: 2rem;
}
.mobile-nav a {
  display: block;
  padding: 0.85rem 0;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  border-bottom: 1px solid var(--light);
  transition: var(--trans);
}
.mobile-nav a:hover { color: var(--red); padding-left: 0.5rem; }
.mobile-nav .mobile-submenu { padding-left: 1rem; }
.mobile-nav .mobile-submenu a {
  font-size: 0.75rem;
  color: var(--mid);
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, rgba(43,43,43,0.92) 0%, rgba(43,43,43,0.6) 50%, rgba(237,28,36,0.15) 100%),
    url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=1800&q=80') center/cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 10s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 2rem;
  max-width: 900px;
}
.hero-logo {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s ease forwards;
}
.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s ease forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s ease forwards;
}
.hero-title strong {
  font-weight: 600;
  color: var(--white);
  display: block;
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-style: italic;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s ease forwards;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 1.1s ease forwards;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}
@keyframes scrollBounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ── ANIMATIONS ───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── RED DIVIDER ──────────────────────────────────────── */
.red-line {
  width: 48px;
  height: 3px;
  background: var(--red);
  margin: 1rem 0 1.5rem;
}
.red-line.center { margin: 1rem auto 1.5rem; }

/* ── SECTIONS ─────────────────────────────────────────── */
.section-pad { padding: 6rem 0; }
.section-pad-sm { padding: 4rem 0; }
.container-xl {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
}
.bg-light-gray { background: var(--light); }
.bg-dark { background: var(--dark); }
.bg-red { background: var(--red); }
.bg-black { background: var(--black); }

@media (max-width:576px){

   .container-xl{
      padding-left:1rem;
      padding-right:1rem;
   }
   .project-highlights-box{
        padding:1.5rem;
    }
    .project-highlights-box h3{
    font-size:1.8rem !important;
    line-height:1.3;
    }

}
/* ── COMPANY INTRO STRIP ─────────────────────────────── */
.intro-strip {
  background: var(--dark);
  padding: 4rem 2rem;
}
.intro-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.intro-text strong { color: var(--red); font-weight: 400; }

/* ── STATS ────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 3.5rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}
.stat-item::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}
.stat-item:hover::before { transform: scaleX(1); }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-number span { color: var(--red); }
.stat-label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
}

/* ── PROJECT CARDS ────────────────────────────────────── */
.project-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--trans);
  position: relative;
  height: 100%;
}
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.project-card-img {
  position: relative;
  overflow: hidden;
  height: 240px;
}
.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.project-card:hover .project-card-img img { transform: scale(1.06); }
.status-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  color: var(--white);
}
.status-completed { background: #1a7a3a; }
.status-ongoing   { background: var(--red); }
.status-upcoming  { background: #1a5fa0; }
.project-card-body { padding: 1.5rem; }
.project-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.project-card-body p {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.project-card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-link {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--trans);
}
.card-link:hover { gap: 0.8rem; }

/* ── ABOUT PREVIEW ────────────────────────────────────── */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 540px;
}
.about-img-panel {
  position: relative;
  overflow: hidden;
}
.about-img-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-img-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(237,28,36,0.15) 0%, transparent 60%);
}
.about-text-panel {
  background: var(--dark);
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-text-panel .section-eyebrow { color: var(--red); }
.about-text-panel .section-title { color: var(--white); }
.about-text-panel p { color: rgba(255,255,255,0.75); }

/* ── SERVICES GRID ────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--silver);
}
.service-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon {
  width: 56px; height: 56px;
  background: var(--red-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.4rem;
  color: var(--red);
  transition: var(--trans);
}
.service-card:hover .service-icon { background: var(--red); color: var(--white); }
.service-card h4 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.6rem;
}
.service-card p {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.7;
}

/* ── TESTIMONIALS ─────────────────────────────────────── */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
}
.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.testimonial-slide {
  min-width: 100%;
  padding: 0 1rem;
}
.testimonial-card {
  background: var(--white);
  padding: 3rem;
  box-shadow: var(--shadow);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1.5rem; left: 2rem;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--red);
  line-height: 1;
  opacity: 0.3;
}
.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  font-style: italic;
  color: var(--dark);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-name {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
}
.testimonial-date {
  font-size: 0.78rem;
  color: var(--silver);
}
.testimonial-stars { color: #f4b942; font-size: 0.9rem; }
.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.carousel-btn {
  width: 44px; height: 44px;
  border: 1.5px solid var(--silver);
  background: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--dark);
  transition: var(--trans);
}
.carousel-btn:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.carousel-dots {
  display: flex;
  gap: 0.5rem;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--silver);
  cursor: pointer;
  transition: var(--trans);
}
.carousel-dot.active { background: var(--red); width: 24px; border-radius: 4px; }

/* ── TESTIMONIAL GRID (page) ──────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.testimonial-grid-card {
  background: var(--white);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--red);
  transition: var(--trans);
}
.testimonial-grid-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

/* ── CONTACT CTA ──────────────────────────────────────── */
.cta-section {
  background: 
    linear-gradient(135deg, rgba(43,43,43,0.95) 0%, rgba(43,43,43,0.85) 100%),
    url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1400&q=80') center/cover;
  padding: 6rem 2rem;
  text-align: center;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-section p {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

/* ── PAGE HERO ────────────────────────────────────────── */
.page-hero {
  height: 340px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(43,43,43,0.92) 0%, rgba(43,43,43,0.5) 60%, transparent 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}
.page-hero-content .section-eyebrow { color: var(--red); margin-bottom: 0.5rem; }
.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
}
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.breadcrumb-nav a { color: rgba(255,255,255,0.7); transition: var(--trans); }
.breadcrumb-nav a:hover { color: var(--red); }
.breadcrumb-nav span { color: rgba(255,255,255,0.3); }

/* ── PROJECT DETAIL ───────────────────────────────────── */
.project-detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: start;
}
.project-body h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.project-body p {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.specs-table tr { border-bottom: 1px solid var(--light); }
.specs-table td {
  padding: 0.8rem 0.5rem;
  font-size: 0.88rem;
}
.specs-table td:first-child {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  width: 160px;
  vertical-align: top;
}
.specs-table td:last-child { color: var(--mid); }

.sidebar-card {
  background: var(--light);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.sidebar-card h4 {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--red);
}
.download-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0;
  font-size: 0.85rem;
  color: var(--dark);
  border-bottom: 1px solid var(--silver);
  transition: var(--trans);
}
.download-link:hover { color: var(--red); padding-left: 0.4rem; }
.download-link .icon { color: var(--red); font-size: 1rem; }

/* ── GALLERY ──────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: '⤢';
  position: absolute;
  inset: 0;
  background: rgba(237,28,36,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  opacity: 0;
  transition: var(--trans);
}
.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  background: none; border: none;
  opacity: 0.7;
  transition: var(--trans);
}
.lightbox-close:hover { opacity: 1; }

/* ── ENQUIRY FORM ─────────────────────────────────────── */
.form-group {
  margin-bottom: 1.2rem;
}
.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--silver);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark);
  outline: none;
  transition: var(--trans);
  border-radius: 0;
  -webkit-appearance: none;
}
.form-control:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(237,28,36,0.08); }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ── CONTACT PAGE ─────────────────────────────────────── */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.5rem;
  background: var(--white);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  transition: var(--trans);
}
.contact-info-card:hover { box-shadow: var(--shadow-lg); }
.contact-icon {
  width: 44px; height: 44px;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-card h5 {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.3rem;
}
.contact-info-card p, .contact-info-card a {
  font-size: 0.9rem;
  color: var(--mid);
  display: block;
  line-height: 1.8;
}
.contact-info-card a:hover { color: var(--red); }

/* ── MAP PLACEHOLDER ──────────────────────────────────── */
.map-embed {
  width: 100%;
  height: 420px;
  background: var(--light);
  overflow: hidden;
  position: relative;
}
.map-embed iframe {
  width: 100%; height: 100%;
  border: none;
  filter: grayscale(20%);
}

/* ── FOOTER ───────────────────────────────────────────── */
footer {
  background: #111111;
  color: rgba(255,255,255,0.7);
}
.footer-main {
  padding: 5rem 2rem 3rem;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}
.footer-brand img {
  height: 100px;
  /*filter: brightness(0) invert(1);*/
  margin-bottom: 1.2rem;
  opacity: 0.85;
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
}
.social-links { display: flex; gap: 0.6rem; }
.social-link {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: var(--trans);
}
.social-link:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.4rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  padding: 0.3rem 0;
  transition: var(--trans);
}
.footer-col a::before {
  content: '›';
  color: var(--red);
  font-size: 1rem;
}
.footer-col a:hover { color: var(--white); padding-left: 0.3rem; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.7rem;
  line-height: 1.6;
}
.footer-contact-item .icon { color: var(--red); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 1300px;
  margin: 0 auto;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  transition: var(--trans);
}
.footer-bottom-links a:hover { color: var(--red); }

/* ── ABOUT PAGE SPECIFIC ──────────────────────────────── */
.what-we-do-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 480px;
}
.wwdo-img { overflow: hidden; }
.wwdo-img img { width: 100%; height: 100%; object-fit: cover; }
.wwdo-text {
  background: var(--light);
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wwdo-text p {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.85;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.mv-card {
  background: var(--dark);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.mv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--red);
}
.mv-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.mv-card ul {
  list-style: none;
  padding: 0;
}
.mv-card ul li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  padding: 0.4rem 0;
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.7;
}
.mv-card ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--red);
}

/* ── PROJECTS LISTING ─────────────────────────────────── */
.projects-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  border: 1.5px solid var(--silver);
  background: none;
  cursor: pointer;
  transition: var(--trans);
  color: var(--mid);
}
.filter-btn:hover, .filter-btn.active { background: var(--red); border-color: var(--red); color: var(--white); }

.projects-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ── HIGHLIGHT ITEMS ──────────────────────────────────── */
.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.highlight-icon {
  width: 32px; height: 32px;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.highlight-item p {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.7;
}

/* ── SECTION DIVIDERS ─────────────────────────────────── */
.diagonal-divider {
  height: 60px;
  background: var(--light);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 60%);
  margin-top: -1px;
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1200px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .project-detail-grid { grid-template-columns: 1fr 300px; }
}
@media (max-width: 992px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-preview { grid-template-columns: 1fr; }
  .about-img-panel { height: 320px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .project-detail-grid { grid-template-columns: 1fr; }
  .what-we-do-grid { grid-template-columns: 1fr; }
  .wwdo-img { height: 300px; }
  .mission-vision-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .hamburger { display: flex; }
  .nav-links { display: none; }
}
@media (max-width: 768px) {

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

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

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

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .about-text-panel {
    padding: 3rem 2rem;
  }

  .section-pad {
    padding: 4rem 0;
  }

  .page-hero {
    height: 260px;
  }

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

  .navbar-inner {
    padding: 0.8rem 1rem;
  }

  .navbar-brand img {
    height: 78px;
  }

  .hero {
    min-height: 100vh;
    padding-top: 80px;
  }

  .hero-content {
    max-width: 100%;
    padding: 0 1.5rem;
  }

  .hero-title {
    font-size: 3rem;
    line-height: 1.1;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions a {
    width: 100%;
    justify-content: center;
  }

  .hero-scroll {
    display: none;
  }
}
@media (max-width: 576px) {

  .highlights-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    text-align: left;
}

.highlight-item p {
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

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

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

  .projects-masonry {
    grid-template-columns: 1fr;
  }

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

 .hero-title{
        font-size:2rem;
        line-height:1.15;
    }

    .hero-tagline{
        font-size:0.95rem;
    }

    .hero-eyebrow{
        font-size:0.6rem;
    }


  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions a {
    width: 100%;
  }

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

  .container-xl {
    padding: 0 1rem;
  }
}

/* ── MISC ─────────────────────────────────────────────── */
.text-red { color: var(--red); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.d-flex { display: flex; }
.gap-2 { gap: 1rem; }
.flex-wrap { flex-wrap: wrap; }
.align-items-center { align-items: center; }
.justify-center { justify-content: center; }

/* Print */
@media print { #mainNav, footer, .hero-scroll { display: none; } }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }


.footer-credit a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: #ee7f2e;
    text-decoration: underline;
}


/* ======================================
   BACK TO TOP BUTTON
====================================== */

#backToTop {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 52px;
    height: 52px;

    border: none;
    border-radius: 50%;

    background: linear-gradient(
      135deg,
      var(--red),
      var(--red-dark)
    );

    color: #fff;
    font-size: 22px;
    cursor: pointer;

    z-index: 999;

    opacity: 0;
    visibility: hidden;

    transform: translateY(20px);

    transition: all .35s ease;

    box-shadow:
      0 10px 25px rgba(237,28,36,.35);
}

#backToTop:hover {
    transform: translateY(-4px);
    box-shadow:
      0 15px 35px rgba(237,28,36,.45);
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(237,28,36,.25);
    animation: pulseTop 2s infinite;
}

@keyframes pulseTop {
    0% {
        transform: scale(1);
        opacity: .8;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.ongoing-feature-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:3rem;
    align-items:center;
    margin-bottom:4rem;
}

@media (max-width:768px){

    .ongoing-feature-grid{
        grid-template-columns:1fr;
        gap:2rem;
    }

    .project-nav-buttons{
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:1rem;
        margin-top:2rem;
    }

    .project-nav-buttons a{
        display:flex;
        justify-content:center;
        align-items:center;
        width:100%;
        max-width:260px;
    }
}

.project-nav-buttons{
    display:flex;
    justify-content:center;
    gap:1rem;
    flex-wrap:wrap;
    margin-top:2rem;
}

.highlights-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1.5rem;
}


.project-highlights-box{
    background:var(--light);
    padding:3rem;
    margin-bottom:4rem;
}



.logo-dark-bg{
    display:block;
    height:44px;
}

.logo-light-bg{
    display:none;
    height:44px;
}

#mainNav.scrolled .logo-dark-bg{
    display:none;
}

#mainNav.scrolled .logo-light-bg{
    display:block;
}



.featured-projects-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1.5rem;
    margin-bottom:4rem;
}

.ongoing-projects-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:1.5rem;
    margin-bottom:3rem;
}

@media(max-width:768px){

    .featured-projects-grid,
    .ongoing-projects-grid{
        display:grid;
        grid-template-columns:1fr;
        gap:1.5rem;
        width:100%;
    }

    .project-card{
        width:100%;
        margin:0;
    }
}

@media(max-width:768px){

    .ongoing-projects-section{
        margin-top:1rem;
    }

    .ongoing-projects-section .section-eyebrow{
        margin-top:0;
        margin-bottom:1rem;
    }
}

.project-buttons{
    display:flex;
    justify-content:center;
    gap:1rem;
    flex-wrap:wrap;
}

@media(max-width:576px){

    .project-buttons{
        flex-direction:column;
        align-items:center;
    }

    .project-buttons a{
        width:100%;
        max-width:280px;
        justify-content:center;
    }
}

@media(max-width:576px){

    #backToTop{
        width:45px;
        height:45px;
        right:15px;
        bottom:15px;
        font-size:18px;
    }
}

@media(max-width:768px){

    .project-card-body h3{
        font-size:1.6rem;
    }

    .project-card-body{
        padding:1.25rem;
    }

    .project-card-img{
        height:220px;
    }
}



/* Mobile section spacing fixes */
@media (max-width:768px){

    .section-eyebrow{
        margin-bottom:1rem;
        display:block;
    }

    .ongoing-projects-grid{
        margin-top:1.5rem;
    }

    .featured-projects-grid{
        margin-bottom:2rem;
    }

    .project-card{
        margin-bottom:0.5rem;
    }

}

@media (max-width:768px){

    .ongoing-projects-title{
        display:block;
        margin-top:2rem;
        margin-bottom:1rem;
    }

}


@media(max-width:768px){

    .ongoing-projects-section{
        margin-top:2.5rem;
    }

}

@media(max-width:768px){

    #backToTop{
        right:12px;
        bottom:12px;
        width:42px;
        height:42px;
    }

    body{
        padding-bottom:60px;
    }

}

.featured-projects-grid,
.ongoing-projects-grid{
    align-items:start;
}

.project-card{
    display:flex;
    flex-direction:column;
}

.project-card-footer{
    margin-top:auto;
}