/* ========================================
   NAKODA DEVELOPERS - Premium Real Estate
   Main Stylesheet
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
  --primary-red: #E30613;
  --dark-red: #B00000;
  --charcoal: #2C2C2C;
  --white: #FFFFFF;
  --light-gray: #F7F7F7;
  --medium-gray: #E8E8E8;
  --text-muted: #6C757D;
  --text-dark: #1A1A1A;
  --shadow-sm: 0 2px 15px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-red: 0 8px 30px rgba(227,6,19,0.25);
  --border-radius: 16px;
  --border-radius-sm: 10px;
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--white);
  color: var(--charcoal);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

ul { list-style: none; }

section {
  position: relative;
  overflow: hidden;
}

/* ========================================
   SCROLL PROGRESS BAR
   ======================================== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
}

/* ========================================
   PAGE LOADER
   ======================================== */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-red);
  letter-spacing: -0.02em;
}

.loader-logo span {
  color: var(--charcoal);
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: var(--medium-gray);
  border-radius: 3px;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
  border-radius: 3px;
  animation: loaderFill 1.8s ease forwards;
}

@keyframes loaderFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* ========================================
   NAVIGATION
   ======================================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-slow);
  background: transparent;
}

#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.08);
}

#navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Nav Logo Images */
.nav-logo {
  height: 48px;
  width: auto;
  display: block;
  transition: var(--transition);
  object-fit: contain;
}

.nav-logo-dark { display: none; }

#navbar.scrolled .nav-logo-light { display: none; }
#navbar.scrolled .nav-logo-dark  { display: block; }

/* Footer Logo */
.footer-logo {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 16px;
  object-fit: contain;
}

.navbar-nav .nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 16px !important;
  border-radius: 8px;
  color: var(--charcoal);
  position: relative;
}

#navbar:not(.scrolled) .navbar-nav .nav-link {
  color: rgba(255,255,255,0.9);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-red);
  background: rgba(227,6,19,0.06);
}

#navbar:not(.scrolled) .navbar-nav .nav-link:hover,
#navbar:not(.scrolled) .navbar-nav .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.15);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-red);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 60%;
}

#navbar:not(.scrolled) .navbar-nav .nav-link::after {
  background: #fff;
}

.nav-cta {
  background: var(--primary-red) !important;
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  box-shadow: var(--shadow-red);
}

.nav-cta:hover {
  background: var(--dark-red) !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 35px rgba(227,6,19,0.35) !important;
}

.nav-cta::after { display: none !important; }

/* Mobile Nav Toggle */
.navbar-toggler {
  border: 2px solid var(--primary-red);
  border-radius: 8px;
  padding: 6px 10px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23E30613' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary-red {
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
  color: #fff;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-red);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.btn-primary-red:hover {
  background: linear-gradient(135deg, var(--dark-red), #8B0000);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(227,6,19,0.4);
  color: #fff;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.7);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
  transform: translateY(-3px);
}

.btn-outline-red {
  background: transparent;
  color: var(--primary-red);
  padding: 12px 32px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--primary-red);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.btn-outline-red:hover {
  background: var(--primary-red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(227,6,19,0.08);
  color: var(--primary-red);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary-red);
  border-radius: 50%;
  display: inline-block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-title span {
  color: var(--primary-red);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.8;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 40px 0;
}

.section-divider .line {
  height: 2px;
  width: 60px;
  background: var(--primary-red);
  border-radius: 2px;
}

.section-divider .dot {
  width: 8px;
  height: 8px;
  background: var(--primary-red);
  border-radius: 50%;
}

/* ========================================
   HERO SECTION
   ======================================== */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 50%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.72) 0%, rgba(44,44,44,0.55) 60%, rgba(227,6,19,0.12) 100%);
  z-index: 1;
}

.hero-diagonal {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--white);
  clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 100px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  background: rgba(227,6,19,0.12);
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid rgba(227,6,19,0.25);
}

.hero-heading {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-heading .red-word {
  color: var(--primary-red);
  position: relative;
}

.hero-subheading {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 140px;
  right: 5%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s infinite;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.5));
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Hero Geometric Shapes */
.hero-shape-1 {
  position: absolute;
  top: 15%;
  right: 8%;
  width: 300px;
  height: 300px;
  border: 2px solid rgba(227,6,19,0.2);
  transform: rotate(45deg);
  border-radius: 30px;
  z-index: 2;
  animation: floatShape 6s ease-in-out infinite;
}

.hero-shape-2 {
  position: absolute;
  top: 20%;
  right: 12%;
  width: 200px;
  height: 200px;
  background: rgba(227,6,19,0.08);
  transform: rotate(45deg);
  border-radius: 20px;
  z-index: 2;
  animation: floatShape 8s ease-in-out infinite reverse;
}

@keyframes floatShape {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(-15px); }
}

/* ========================================
   STATS SECTION
   ======================================== */
#stats {
  background: var(--white);
  padding: 80px 0 60px;
}

.stats-wrapper {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 50px 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.stats-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-red), var(--dark-red), var(--primary-red));
}

.stat-item {
  text-align: center;
  padding: 20px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--medium-gray);
}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--primary-red);
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.stat-suffix {
  font-size: 0.5em;
  color: var(--charcoal);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
#about-home {
  padding: 100px 0;
  background: var(--light-gray);
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.about-main-img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-radius: var(--border-radius);
  display: block;
}

/* Placeholder image styling */
.img-placeholder {
  background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.img-placeholder i {
  font-size: 3rem;
  opacity: 0.4;
}

.about-badge {
  position: absolute;
  bottom: 30px;
  right: -20px;
  background: var(--primary-red);
  color: #fff;
  padding: 20px 25px;
  border-radius: var(--border-radius-sm);
  text-align: center;
  box-shadow: var(--shadow-red);
  z-index: 2;
}

.about-badge .number {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.about-badge .label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.about-content {
  padding: 20px 0;
}

.about-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 24px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: var(--border-radius-sm);
  border-left: 3px solid var(--primary-red);
  box-shadow: var(--shadow-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
  transition: var(--transition);
}

.highlight-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.highlight-item i {
  color: var(--primary-red);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ========================================
   FOUNDER SECTION (HOME)
   ======================================== */
#founder-home {
  padding: 100px 0;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.founder-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(227,6,19,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227,6,19,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.founder-red-shape {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(227,6,19,0.08);
  border-radius: 50%;
  z-index: 0;
}

.founder-content {
  position: relative;
  z-index: 1;
}

.founder-image-wrapper {
  position: relative;
  display: inline-block;
}

.founder-img {
  width: 100%;
  max-width: 420px;
  height: 520px;
  object-fit: cover;
  border-radius: var(--border-radius);
  display: block;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.founder-name-card {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-red);
  color: #fff;
  padding: 18px 30px;
  border-radius: var(--border-radius-sm);
  text-align: center;
  width: 80%;
  box-shadow: var(--shadow-red);
}

.founder-name-card .name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  display: block;
}

.founder-name-card .title {
  font-size: 0.8rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-top: 2px;
}

.founder-quote {
  position: relative;
  padding-left: 30px;
  margin: 28px 0;
}

.founder-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 5rem;
  color: var(--primary-red);
  line-height: 1;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  opacity: 0.4;
}

.founder-quote-text {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  line-height: 1.9;
  font-style: italic;
}

.founder-achievements {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}

.achievement-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
}

.achievement-item .check {
  width: 28px;
  height: 28px;
  background: rgba(227,6,19,0.2);
  border: 1px solid var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-red);
  font-size: 0.8rem;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
#services {
  padding: 100px 0;
  background: var(--white);
}

.service-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--medium-gray);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: rgba(227,6,19,0.08);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  color: var(--primary-red);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary-red);
  color: #fff;
  transform: rotate(-8deg) scale(1.1);
}

.service-card h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* ========================================
   WHY CHOOSE US
   ======================================== */
#why-choose {
  padding: 100px 0;
  background: var(--light-gray);
  position: relative;
}

.why-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: 1px solid transparent;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-red);
}

.why-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-red);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.why-card:hover .why-icon {
  transform: rotate(-10deg) scale(1.05);
}

.why-text h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--charcoal);
}

.why-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.7;
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
#featured-projects {
  padding: 100px 0;
  background: var(--white);
}

.project-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 2px solid var(--medium-gray);
  background: var(--white);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: #fff;
}

.project-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--medium-gray);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.project-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.project-img-wrapper img,
.project-img-wrapper .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.08);
}

.project-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-ongoing { background: #28a745; color: #fff; }
.badge-upcoming { background: #fd7e14; color: #fff; }
.badge-completed { background: var(--primary-red); color: #fff; }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay-btn {
  background: #fff;
  color: var(--primary-red);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
  text-decoration: none;
}

.project-overlay-btn:hover {
  background: var(--primary-red);
  color: #fff;
}

.project-body {
  padding: 24px;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-red);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-body h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--charcoal);
}

.project-body p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.project-meta {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--medium-gray);
}

.project-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-meta span i {
  color: var(--primary-red);
}

/* ========================================
   LOCATIONS SECTION
   ======================================== */
#locations {
  padding: 100px 0;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.location-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--border-radius);
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: var(--transition);
  cursor: pointer;
  margin-bottom: 16px;
}

.location-card:hover {
  background: rgba(227,6,19,0.12);
  border-color: var(--primary-red);
  transform: translateX(8px);
}

.location-icon {
  width: 52px;
  height: 52px;
  background: rgba(227,6,19,0.15);
  border: 1px solid var(--primary-red);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.location-card:hover .location-icon {
  background: var(--primary-red);
  color: #fff;
}

.location-info h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 4px;
}

.location-info p {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  margin: 0;
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.map-placeholder {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(227,6,19,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227,6,19,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.map-india-outline {
  font-size: 8rem;
  opacity: 0.2;
  color: #fff;
  position: absolute;
}

.map-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.map-pin:hover {
  transform: scale(1.15);
  z-index: 10;
}

.map-pin .pin-dot {
  width: 14px;
  height: 14px;
  background: var(--primary-red);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 0 rgba(227,6,19,0.4);
  animation: pinPulse 2s infinite;
}

.map-pin .pin-label {
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 6px;
  white-space: nowrap;
}

@keyframes pinPulse {
  0% { box-shadow: 0 0 0 0 rgba(227,6,19,0.4); }
  70% { box-shadow: 0 0 0 10px rgba(227,6,19,0); }
  100% { box-shadow: 0 0 0 0 rgba(227,6,19,0); }
}

/* ========================================
   GALLERY SECTION
   ======================================== */
#gallery-home {
  padding: 100px 0;
  background: var(--light-gray);
}

.gallery-masonry {
  columns: 3;
  column-gap: 16px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img,
.gallery-item .img-placeholder {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
  border-radius: var(--border-radius-sm);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(227,6,19,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  border-radius: var(--border-radius-sm);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: #fff;
  font-size: 2rem;
}

/* ========================================
   CTA SECTION
   ======================================== */
#cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
  position: relative;
  overflow: hidden;
}

.cta-bg-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.cta-bg-shape-1 {
  width: 500px;
  height: 500px;
  top: -200px;
  right: -100px;
}

.cta-bg-shape-2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: -50px;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 0;
}

.btn-cta-white {
  background: #fff;
  color: var(--primary-red);
  padding: 16px 44px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  transition: var(--transition);
  text-decoration: none;
}

.btn-cta-white:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  color: var(--dark-red);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
#contact {
  padding: 100px 0;
  background: var(--white);
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--medium-gray);
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
  display: block;
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  border: 2px solid var(--medium-gray);
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--white);
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
  outline: none;
}

.form-control:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(227,6,19,0.08);
}

.form-control::placeholder {
  color: #aaa;
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

select.form-control {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%236C757D' d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 40px;
}

.contact-info-card {
  background: var(--light-gray);
  border-radius: var(--border-radius);
  padding: 32px;
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-text h6 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-red);
  margin-bottom: 4px;
}

.contact-info-text p,
.contact-info-text a {
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.6;
  margin: 0;
}

.contact-info-text a:hover {
  color: var(--primary-red);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--charcoal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary-red);
  color: #fff;
  transform: translateY(-3px);
}

.map-embed {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-embed iframe {
  width: 100%;
  height: 280px;
  border: none;
  display: block;
}

/* ========================================
   FOOTER
   ======================================== */
#footer {
  background: var(--charcoal);
  padding: 70px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-top-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
}

.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  line-height: 1.8;
  margin: 16px 0 20px;
  max-width: 300px;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-red);
  border-radius: 2px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--primary-red);
  transform: translateX(5px);
}

.footer-links a::before {
  content: '›';
  color: var(--primary-red);
  font-size: 1rem;
  line-height: 1;
}

.footer-contact p {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  line-height: 1.9;
  margin: 0;
}

.footer-contact a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--primary-red);
}

.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 20px 0;
  margin-top: 50px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  margin: 0;
}

.footer-bottom a {
  color: var(--primary-red);
}

/* ========================================
   FLOATING BUTTONS
   ======================================== */
.floating-buttons {
  position: fixed;
  bottom: 30px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  position: relative;
}

.float-btn::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 66px;
  background: var(--charcoal);
  color: #fff;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.float-btn:hover::before {
  opacity: 1;
}

.float-btn:hover {
  transform: scale(1.12);
}

.float-whatsapp {
  background: #25D366;
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
}

.float-call {
  background: var(--primary-red);
  box-shadow: var(--shadow-red);
}

.back-to-top {
  background: var(--charcoal);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

/* ========================================
   PAGE HEADER (Inner Pages)
   ======================================== */
.page-header {
  background: linear-gradient(135deg, var(--charcoal) 0%, #1a1a1a 100%);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--white);
  clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%);
}

.page-header-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(227,6,19,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227,6,19,0.06) 1px, transparent 1px);
  background-size: 50px 50px;
}

.page-header .title {
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.page-header .title span {
  color: var(--primary-red);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  position: relative;
  z-index: 1;
}

.breadcrumb-nav a {
  color: rgba(255,255,255,0.7);
}

.breadcrumb-nav a:hover {
  color: var(--primary-red);
}

.breadcrumb-nav .separator {
  color: var(--primary-red);
}

.breadcrumb-nav .current {
  color: var(--primary-red);
}

/* ========================================
   COMPANY TIMELINE
   ======================================== */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-red), transparent);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  width: 50%;
  padding-right: 50px;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 50px;
  margin-left: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  right: -9px;
  top: 20px;
  width: 18px;
  height: 18px;
  background: var(--primary-red);
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 3px var(--primary-red);
}

.timeline-item:nth-child(even)::after {
  right: auto;
  left: -9px;
}

.timeline-card {
  background: var(--white);
  border-radius: var(--border-radius-sm);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--medium-gray);
  max-width: 350px;
  transition: var(--transition);
}

.timeline-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-red);
}

.timeline-year {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-red);
  margin-bottom: 8px;
}

.timeline-card h5 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.timeline-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* ========================================
   GALLERY PAGE
   ======================================== */
.gallery-grid {
  columns: 3;
  column-gap: 16px;
}

.gallery-grid-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-grid-item img,
.gallery-grid-item .img-placeholder {
  width: 100%;
  display: block;
  border-radius: var(--border-radius-sm);
  transition: transform 0.4s ease;
}

.gallery-grid-item:hover img {
  transform: scale(1.05);
}

/* ========================================
   PROJECT DETAIL PAGE
   ======================================== */
.project-detail-gallery .main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.project-thumb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.project-thumb {
  height: 100px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition);
}

.project-thumb:hover,
.project-thumb.active {
  opacity: 1;
  transform: scale(1.03);
}

.amenity-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--light-gray);
  border: 1px solid var(--medium-gray);
  color: var(--charcoal);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin: 5px;
  transition: var(--transition);
}

.amenity-chip:hover {
  background: rgba(227,6,19,0.08);
  border-color: var(--primary-red);
  color: var(--primary-red);
}

.amenity-chip i {
  color: var(--primary-red);
}

/* ========================================
   SECTION DIAGONAL DIVIDERS
   ======================================== */
.diagonal-top {
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%);
  z-index: 2;
}

.diagonal-bottom {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--white);
  clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 2;
}

.diagonal-top-gray {
  background: var(--light-gray);
}

.diagonal-bottom-gray {
  background: var(--light-gray);
}

.diagonal-top-dark {
  background: var(--charcoal);
}

.diagonal-bottom-dark {
  background: var(--charcoal);
}

/* ========================================
   SUCCESS MESSAGE
   ======================================== */
.alert-success-custom {
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.3);
  border-radius: var(--border-radius-sm);
  padding: 16px 20px;
  color: #28a745;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  display: none;
}

.alert-success-custom.show {
  display: flex;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-red { color: var(--primary-red) !important; }
.bg-red { background: var(--primary-red) !important; }
.bg-light-gray { background: var(--light-gray) !important; }
.bg-charcoal { background: var(--charcoal) !important; }
.font-poppins { font-family: 'Poppins', sans-serif; }
.fw-800 { font-weight: 800 !important; }
.fw-700 { font-weight: 700 !important; }

/* ========================================
   AOS CUSTOM ANIMATIONS
   ======================================== */
[data-aos="fade-up-red"] {
  opacity: 0;
  transform: translateY(30px);
  transition-property: transform, opacity;
}

[data-aos="fade-up-red"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
  .gallery-masonry,
  .gallery-grid {
    columns: 2;
  }
}

@media (max-width: 991px) {
  #navbar .navbar-nav {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-top: 10px;
    box-shadow: var(--shadow-md);
  }
  
  #navbar:not(.scrolled) .navbar-nav .nav-link {
    color: var(--charcoal);
  }

  .about-badge {
    right: 10px;
    bottom: 10px;
  }

  .timeline::before { left: 20px; }
  .timeline-item { width: 100%; padding-left: 60px; padding-right: 0; justify-content: flex-start; }
  .timeline-item:nth-child(even) { margin-left: 0; padding-left: 60px; }
  .timeline-item::after,
  .timeline-item:nth-child(even)::after { left: 11px; right: auto; }
  .timeline-card { max-width: 100%; }

  .stats-wrapper { padding: 30px 20px; }
  .stat-item:not(:last-child)::after { display: none; }
}

@media (max-width: 767px) {
  .hero-heading { font-size: 2.6rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons a { text-align: center; justify-content: center; }
  .hero-shape-1, .hero-shape-2 { display: none; }

  .about-highlights { grid-template-columns: 1fr; }
  .about-badge { display: none; }

  .gallery-masonry,
  .gallery-grid { columns: 2; }

  .contact-form-wrapper { padding: 28px 20px; }

  .project-thumb-grid { grid-template-columns: repeat(2, 1fr); }
  .project-thumb { height: 80px; }

  .floating-buttons { bottom: 20px; right: 14px; }
  .float-btn { width: 48px; height: 48px; font-size: 1.2rem; }

  .section-title { font-size: 2rem; }
  #stats, #about-home, #founder-home, #services, #why-choose,
  #featured-projects, #locations, #gallery-home, #cta, #contact {
    padding: 70px 0;
  }
}

@media (max-width: 480px) {
  .gallery-masonry,
  .gallery-grid { columns: 1; }

  .project-filters { justify-content: center; }

  .stat-number { font-size: 2rem; }
  .stat-label { font-size: 0.78rem; }
}

/* ========================================
   SWIPER CUSTOMIZATION
   ======================================== */
.swiper-pagination-bullet {
  background: rgba(255,255,255,0.5);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

.swiper-button-next,
.swiper-button-prev {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1rem;
  color: #fff;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--primary-red);
  border-color: var(--primary-red);
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  .floating-buttons,
  #scroll-progress,
  #navbar { display: none; }
}
