/*
Theme Name: AGAM FOUNDATION
Theme URI: https://agamfoundation.com
Author: AGAM FOUNDATION Engineering Team
Author URI: https://agamfoundation.com
Description: Premium Construction, Luxury Villa Development, Architectural Planning, and Interior Design WordPress Theme for AGAM FOUNDATION in Chennai. Built with native performance, custom post types, interactive portfolio, and lead management.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: real-estate, construction, villa, luxury, portfolio, custom-theme, responsive-layout, dark-mode, fast-loading
Text Domain: agam-foundation
*/

/* ============================================================
   AGAM FOUNDATION — Premium Construction & Architecture
   Complete CSS Design System
   ============================================================
   Brand Colors:
     Burnt Orange  : #E15C3A (CTAs, stats, hover, highlights)
     Charcoal Grey : #4D4D4F (Headers, nav, premium sections)
     Rich Black    : #0A0A0A (Dark backgrounds, contrast)
     Soft White    : #F8F9FA (Light backgrounds)
     Dark Grey     : #222222 (Body text)
   ============================================================ */

/* ==========================================================
   1. GOOGLE FONTS IMPORT
   ========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&display=swap');

/* ==========================================================
   2. CSS CUSTOM PROPERTIES (:root)
   ========================================================== */
:root {
  /* — Brand Colors (Updated Visual Identity) — */
  --burnt-orange: #BC4A3C;
  --burnt-orange-dark: #A74135;
  --burnt-orange-light: rgba(188, 74, 60, 0.1);
  --burnt-orange-glow: rgba(188, 74, 60, 0.15);
  --charcoal-grey: #7E8274;
  --rich-black: #F8F6F3;
  --soft-white: #F8F6F3;
  --dark-grey: #7E8274;
  --text-muted: rgba(126, 130, 116, 0.75);
  --text-light: rgba(126, 130, 116, 0.75);
  --border-light: rgba(126, 130, 116, 0.12);
  --border-lighter: rgba(126, 130, 116, 0.08);
  --border-lightest: rgba(126, 130, 116, 0.08);
  --white: #FFFFFF;
  --whatsapp-green: #25D366;

  /* — Transparent / Overlay Colors — */
  --white-85: rgba(255, 255, 255, 0.85);
  --white-80: rgba(255, 255, 255, 0.8);
  --white-70: rgba(255, 255, 255, 0.7);
  --white-60: rgba(255, 255, 255, 0.6);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-15: rgba(255, 255, 255, 0.15);
  --white-10: rgba(255, 255, 255, 0.1);
  --white-05: rgba(255, 255, 255, 0.05);
  --black-overlay-heavy: rgba(188, 74, 60, 0.92);
  --black-overlay-medium: rgba(126, 130, 116, 0.88);
  --black-overlay-dark: rgba(126, 130, 116, 0.9);
  --black-overlay-95: rgba(126, 130, 116, 0.95);

  /* — Spacing Scale — */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* — Typography — */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* — Transitions — */
  --transition-fast: all 0.3s ease;
  --transition-smooth: all 0.4s ease;
  --transition-slow: all 0.5s ease;
  --transition-transform: transform 0.5s ease;

  /* — Shadows — */
  --shadow-sm: 0 2px 8px rgba(126, 130, 116, 0.06);
  --shadow-md: 0 10px 35px rgba(126, 130, 116, 0.10);
  --shadow-lg: 0 10px 35px rgba(126, 130, 116, 0.10);
  --shadow-xl: 0 15px 45px rgba(126, 130, 116, 0.15);
  --shadow-orange: 0 8px 30px rgba(188, 74, 60, 0.25);
  --shadow-orange-lg: 0 10px 35px rgba(188, 74, 60, 0.20);
  --shadow-whatsapp: 0 4px 20px rgba(37, 211, 102, 0.4);
  --shadow-whatsapp-lg: 0 6px 28px rgba(37, 211, 102, 0.5);

  /* — Border Radius — */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-pill: 30px;
  --radius-circle: 50%;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-grey);
  background-color: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--burnt-orange-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  outline: none;
}

input,
textarea,
select {
  font-family: var(--font-body);
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--dark-grey);
}

/* ==========================================================
   4. CONTAINER & LAYOUT
   ========================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background: var(--rich-black);
  color: var(--dark-grey);
}

/* ==========================================================
   5. COMMON TYPOGRAPHY
   ========================================================== */
.section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--charcoal-grey);
  text-align: center;
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--burnt-orange);
  border-radius: 2px;
}

/* Section title on dark backgrounds */
.section-dark .section-title {
  color: var(--charcoal-grey);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 700px;
  margin: var(--space-md) auto var(--space-2xl);
  line-height: 1.8;
}

.section-dark .section-subtitle {
  color: var(--text-muted);
}

/* ==========================================================
   6. BUTTONS
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-fast);
  text-decoration: none;
  line-height: 1;
}

/* Primary Button — Burnt Orange */
.btn-primary {
  background: var(--burnt-orange);
  color: var(--white);
  border-color: var(--burnt-orange);
}

.btn-primary:hover {
  background: var(--burnt-orange-dark);
  border-color: var(--burnt-orange-dark);
  color: var(--white);
  transform: scale(1.02);
  box-shadow: var(--shadow-orange);
}

/* Secondary Button: Background transparent, Border #7E8274, Text #7E8274, Hover rgba(126,130,116,0.08) */
.btn-secondary {
  background: transparent;
  color: #7E8274;
  border-color: #7E8274;
}

.btn-secondary:hover {
  background: rgba(126, 130, 116, 0.08);
  color: #7E8274;
  border-color: #7E8274;
}

/* WhatsApp Button */
.btn-whatsapp {
  background: var(--whatsapp-green);
  color: var(--white);
  border-color: var(--whatsapp-green);
}

.btn-whatsapp:hover {
  background: #1fb855;
  border-color: #1fb855;
  color: var(--white);
  transform: scale(1.02);
  box-shadow: var(--shadow-whatsapp);
}

/* Outline Button — Burnt Orange border */
.btn-outline {
  background: transparent;
  color: var(--burnt-orange);
  border-color: var(--burnt-orange);
}

.btn-outline:hover {
  background: var(--burnt-orange);
  color: var(--white);
  transform: scale(1.02);
  box-shadow: var(--shadow-orange);
}

/* ==========================================================
   7. CONSULTATION BAR
   ========================================================== */
.consultation-bar {
  background: var(--burnt-orange);
  padding: 12px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  color: var(--white);
  font-size: 0.9rem;
  font-family: var(--font-body);
  position: relative;
  z-index: 1001;
}

.consultation-bar a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
}

.consultation-bar a:hover {
  text-decoration: underline;
  color: var(--white);
}

.consultation-bar .btn {
  padding: 8px 20px;
  background: var(--white);
  color: var(--burnt-orange);
  border-color: var(--white);
  font-size: 0.8rem;
}

.consultation-bar .btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.02);
}

/* ==========================================================
   8. NAVBAR
   ========================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 35px rgba(126, 130, 116, 0.10);
  border-bottom: 1px solid var(--border-light);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

/* — Logo — */
.nav-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark-grey);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-body);
  line-height: 1.2;
}

.logo-accent {
  color: var(--burnt-orange);
}

.logo-tagline {
  font-size: 0.65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 400;
  margin-top: 2px;
}

/* Footer Logo */
.footer-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 8px;
}

.footer-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

/* — Navigation Links — */
.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--dark-grey);
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  transition: var(--transition-fast);
  text-decoration: none;
  padding-bottom: 4px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--burnt-orange);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--burnt-orange);
  transition: var(--transition-fast);
  border-radius: 1px;
}

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

/* — Nav CTA Button — */
.nav-cta {
  background: var(--burnt-orange);
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition-fast);
}

.nav-cta:hover {
  background: var(--burnt-orange-dark);
  color: var(--white) !important;
  transform: scale(1.02);
  box-shadow: var(--shadow-orange);
}

.nav-cta::after {
  display: none !important;
}

/* — Mobile Toggle — */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.mobile-toggle span {
  width: 28px;
  height: 2px;
  background: var(--dark-grey);
  transition: var(--transition-fast);
  border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================
   9. HERO SECTION (Bright Modern Apartment & Tamil Meaning)
   ========================================================== */
.hero-bright {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #111;
  padding: 150px 0 70px;
}

/* Full-bleed hero video background */
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.hero-bright-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/hero-bg.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Subtle gradient mask to guarantee high text contrast while showcasing video */
.hero-bright-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(248, 246, 243, 0.92) 0%,
    rgba(248, 246, 243, 0.78) 45%,
    rgba(248, 246, 243, 0.35) 75%,
    rgba(248, 246, 243, 0.15) 100%
  );
  z-index: 2;
}

/* Subtle top and bottom ambient glow */
.hero-bright-overlay-v {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(248, 246, 243, 0.85) 0%,
    transparent 20%,
    transparent 80%,
    rgba(248, 246, 243, 0.95) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-bright-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  position: relative;
  z-index: 3;
}

.hero-bright-content {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Eyebrow badge with Tamil meaning */
.hero-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(126, 130, 116, 0.18);
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--burnt-orange);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(188, 74, 60, 0.4);
}

.eyebrow-text {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--charcoal-grey);
}

.font-tamil {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans Tamil', sans-serif;
  letter-spacing: 0.5px;
}

/* Title */
.hero-bright-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 2px;
  color: var(--charcoal-grey);
  margin-bottom: 22px;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

.hero-bright-title .title-accent {
  color: var(--burnt-orange);
}

/* Subtitle */
.hero-bright-subtitle {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(126, 130, 116, 0.95);
  margin-bottom: 36px;
}

/* CTAs */
.hero-bright-ctas {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-bright-ctas .btn {
  padding: 16px 36px;
  font-size: 0.88rem;
  letter-spacing: 1px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

/* Trust Bar */
.hero-bright-trust {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(126, 130, 116, 0.18);
  width: 100%;
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-num {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--burnt-orange);
  line-height: 1.1;
}

.trust-lbl {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--charcoal-grey);
  margin-top: 4px;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(126, 130, 116, 0.18);
}

/* Responsive Media Queries for Hero Bright */
@media (max-width: 1024px) {
  .hero-bright {
    padding: 130px 0 60px;
  }
  .hero-bright-overlay {
    background: linear-gradient(
      90deg,
      rgba(248, 246, 243, 0.92) 0%,
      rgba(248, 246, 243, 0.80) 60%,
      rgba(248, 246, 243, 0.40) 100%
    );
  }
  .hero-bright-title {
    font-size: 3.2rem;
  }
}

@media (max-width: 640px) {
  .hero-bright {
    padding: 120px 0 50px;
    min-height: 80vh;
  }
  .hero-bright-container {
    padding: 0 20px;
  }
  .hero-bright-overlay {
    background: linear-gradient(
      180deg,
      rgba(248, 246, 243, 0.88) 0%,
      rgba(248, 246, 243, 0.72) 60%,
      rgba(248, 246, 243, 0.85) 100%
    );
  }
  .hero-bright-title {
    font-size: 2.5rem;
  }
  .hero-bright-subtitle {
    font-size: 1.05rem;
  }
  .hero-bright-ctas {
    flex-direction: column;
    width: 100%;
  }
  .hero-bright-ctas .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .hero-bright-trust {
    gap: 16px;
    justify-content: space-between;
  }
  .trust-num {
    font-size: 1.5rem;
  }
  .trust-lbl {
    font-size: 0.68rem;
  }
}

/* ==========================================================
   10. HOOK SECTION
   ========================================================== */

.hook-section {
  background: var(--rich-black);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-lightest);
  border-bottom: 1px solid var(--border-lightest);
}

/* Subtle geometric pattern overlay */
.hook-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(225, 92, 58, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(225, 92, 58, 0.02) 0%, transparent 50%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, 0.01) 40px,
      rgba(255, 255, 255, 0.01) 41px
    );
  pointer-events: none;
  z-index: 0;
}

.hook-section > * {
  position: relative;
  z-index: 1;
}

.hook-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--charcoal-grey);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.2;
}

.hook-title span {
  color: var(--burnt-orange);
}

.hook-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 24px auto 40px;
  line-height: 1.8;
  font-family: var(--font-body);
}

.hook-cta {
  display: inline-block;
}

.hook-cta .btn {
  padding: 18px 44px;
  font-size: 0.9rem;
}

/* ==========================================================
   11. ABOUT SECTION
   ========================================================== */
.about-section {
  background: var(--white);
}

/* — About Stats — */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.about-stat-item {
  text-align: center;
  padding: 40px 24px;
  background: var(--soft-white);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: var(--transition-fast);
}

.about-stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.about-stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: var(--burnt-orange);
  border-radius: 0 0 4px 4px;
}

.about-stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--burnt-orange);
  font-family: var(--font-heading);
  line-height: 1.1;
}

.about-stat-label {
  font-size: 0.9rem;
  color: var(--charcoal-grey);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 8px;
  font-family: var(--font-body);
  font-weight: 500;
}

/* — About Content Grid — */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text p {
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

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

/* — About Features — */
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.about-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  background: var(--soft-white);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.about-feature:hover {
  box-shadow: var(--shadow-sm);
}

.about-feature svg {
  flex-shrink: 0;
  color: var(--burnt-orange);
  width: 24px;
  height: 24px;
}

.about-feature h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-grey);
  margin-bottom: 4px;
  font-family: var(--font-body);
}

.about-feature p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================
   11b. ENGINEERING TRUST & RAMESHWARAM GOVERNMENT PROJECT
   ========================================================== */
.engineering-trust-section {
  background-color: var(--soft-white);
  background-image: 
    linear-gradient(rgba(77, 77, 79, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 77, 79, 0.015) 1px, transparent 1px);
  background-size: 20px 20px;
  position: relative;
  overflow: hidden;
}

.engineering-trust-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: var(--space-3xl);
  align-items: flex-start;
  margin-bottom: var(--space-xl);
}

.engineering-trust-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* Rameshwaram Project Pill Badge */
.rameshwaram-project-badge {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-badge-tag {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--burnt-orange);
}

.project-badge-subtitle {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  font-style: italic;
  color: var(--text-muted);
}

.rameshwaram-headline {
  font-size: 2.5rem;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.rameshwaram-headline .title-highlight {
  color: var(--burnt-orange);
  display: block;
}

.rameshwaram-story-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-paragraph {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--dark-grey);
}

.story-statement-prominent {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--charcoal-grey);
  padding: 14px 20px;
  background: var(--burnt-orange-light);
  border-left: 4px solid var(--burnt-orange);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 4px 0;
}

.understand-highlight {
  color: var(--burnt-orange-dark);
  font-weight: 800;
}

/* Editorial Quote Card */
.rameshwaram-editorial-quote {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding: 20px 24px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 20px rgba(126, 130, 116, 0.05);
}

.quote-vertical-bar {
  width: 4px;
  background: var(--burnt-orange);
  border-radius: 2px;
  flex-shrink: 0;
}

.editorial-quote-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--charcoal-grey);
  margin: 0;
}

.section-title-left {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--charcoal-grey);
  line-height: 1.25;
  margin-bottom: var(--space-sm);
  position: relative;
  padding-bottom: 20px;
}

.section-title-left span {
  color: var(--burnt-orange);
}

.section-title-left::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--burnt-orange);
  border-radius: 2px;
}

.section-desc-left {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 650px;
  margin-bottom: var(--space-md);
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md) var(--space-lg);
  margin-top: 8px;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  transition: var(--transition-fast);
}

.trust-badge-item:hover {
  transform: translateX(4px);
}

.trust-badge-item .badge-icon {
  width: 32px;
  height: 32px;
  background-color: var(--burnt-orange-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--burnt-orange);
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.trust-badge-item:hover .badge-icon {
  background-color: var(--burnt-orange);
  color: var(--white);
}

.trust-badge-item span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark-grey);
  line-height: 1.3;
}

/* Right Side: Visual Image */
.engineering-trust-visual {
  width: 100%;
  position: sticky;
  top: 100px;
}

.visual-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  width: 100%;
  aspect-ratio: 4/5;
  background: #FFFFFF;
}

.visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-transform);
}

.visual-container:hover .visual-img {
  transform: scale(1.03);
}

.visual-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--charcoal-grey);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  z-index: 3;
}

/* Feature Cards Grid */
.engineering-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  align-items: stretch;
}

.engineering-feature-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.engineering-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-orange-lg);
  border-color: var(--burnt-orange);
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--burnt-orange-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--burnt-orange);
  transition: var(--transition-fast);
}

.engineering-feature-card:hover .feature-card-icon {
  background-color: var(--burnt-orange);
  color: var(--white);
}

.engineering-feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal-grey);
  margin: 0;
}

.engineering-feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================
   12. SERVICES SECTION
   ========================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-lighter);
  border-radius: var(--radius-xl);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Glassmorphism variant for dark sections */
.section-dark .service-card {
  background: var(--white);
  border: 1px solid var(--border-lighter);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-orange-lg);
  border-color: var(--burnt-orange);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--burnt-orange-light);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: var(--transition-fast);
}

.service-card:hover .service-icon {
  background: var(--burnt-orange);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--burnt-orange);
  stroke: var(--burnt-orange);
  transition: var(--transition-fast);
}

.service-card:hover .service-icon svg {
  color: var(--white);
  stroke: var(--white);
  fill: var(--white);
}

.service-card h3,
.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-grey);
  margin-bottom: 12px;
  font-family: var(--font-body);
  line-height: 1.3;
  transition: color var(--transition-fast);
}

.service-card:hover h3 {
  color: var(--burnt-orange) !important;
}

.section-dark .service-card h3,
.section-dark .service-title {
  color: var(--dark-grey);
  text-shadow: none;
}

.service-card p,
.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.section-dark .service-card p,
.section-dark .service-desc {
  color: var(--text-muted);
}

.service-link {
  color: var(--burnt-orange);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  margin-top: auto;
}

.service-link:hover {
  gap: 10px;
  color: var(--burnt-orange);
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition-fast);
}

/* ==========================================================
   12B. PROPERTY MANAGEMENT DEDICATED SECTION
   ========================================================== */
.property-mgmt-section {
  background: var(--bg-light);
  padding: 90px 0;
}

.property-mgmt-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--burnt-orange-light);
  color: var(--burnt-orange);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.property-mgmt-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.pm-card {
  background: var(--white);
  border: 1px solid var(--border-lighter);
  border-radius: var(--radius-xl);
  padding: 26px 20px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.pm-card:hover {
  transform: translateY(-6px);
  border-color: var(--burnt-orange);
  box-shadow: var(--shadow-orange-lg);
}

.pm-number {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--burnt-orange);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.pm-icon {
  width: 50px;
  height: 50px;
  background: var(--burnt-orange-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: var(--transition-fast);
}

.pm-card:hover .pm-icon {
  background: var(--burnt-orange);
}

.pm-icon svg {
  stroke: var(--burnt-orange);
  transition: var(--transition-fast);
}

.pm-card:hover .pm-icon svg {
  stroke: var(--white);
}

.pm-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-grey);
  margin-bottom: 10px;
  line-height: 1.35;
}

.pm-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

@media (max-width: 1200px) {
  .property-mgmt-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .property-mgmt-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .property-mgmt-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   13. PACKAGES SECTION
   ========================================================== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.package-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  overflow: visible;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

.package-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.package-card.featured {
  border-color: var(--burnt-orange);
  transform: scale(1.05);
  position: relative;
  box-shadow: var(--shadow-orange-lg);
}

.package-card.featured:hover {
  transform: scale(1.05) translateY(-6px);
}

/* "MOST POPULAR" badge */
.package-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--burnt-orange);
  color: var(--white);
  padding: 6px 20px;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 10;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(225, 92, 58, 0.4);
  white-space: nowrap;
}

.package-header {
  padding: 40px 32px;
  text-align: center;
  background: var(--soft-white);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  overflow: hidden;
}

.package-card.featured .package-header {
  background: linear-gradient(135deg, rgba(225, 92, 58, 0.08), rgba(225, 92, 58, 0.02));
}

.package-name {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--dark-grey);
  font-family: var(--font-body);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.package-card.featured .package-name {
  color: var(--dark-grey);
}

.package-price {
  margin-top: 16px;
}

.package-price .price-amount {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--dark-grey);
  font-family: var(--font-heading);
  line-height: 1.1;
  display: inline-block;
  white-space: nowrap;
}

.package-card.featured .package-price .price-amount {
  color: var(--burnt-orange);
}

.package-price .price-unit {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  display: inline-block;
  margin-left: 4px;
}

.package-card.featured .package-price .price-unit {
  color: var(--text-muted);
}

.package-features {
  padding: 32px;
  list-style: none;
  flex-grow: 1;
}

.package-features li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-lightest);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--dark-grey);
  font-family: var(--font-body);
}

.package-features li:last-child {
  border-bottom: none;
}

.package-features li svg {
  color: var(--burnt-orange);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.package-cta,
.package-card > .btn {
  margin: 24px 32px 32px 32px;
  text-align: center;
  margin-top: auto;
  display: inline-flex;
  width: calc(100% - 64px);
  justify-content: center;
}

/* Get Directions Button in Contact */
.get-directions-btn {
  justify-content: center;
}

/* ==========================================================
   14. PORTFOLIO SECTION
   ========================================================== */
/* — Portfolio Tabs — */
.portfolio-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.portfolio-tab {
  padding: 10px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid #ddd;
  background: transparent;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--dark-grey);
  transition: var(--transition-fast);
}

.portfolio-tab.active {
  background: var(--burnt-orange);
  color: var(--white);
  border-color: var(--burnt-orange);
}

.portfolio-tab:hover {
  border-color: var(--burnt-orange);
  color: var(--burnt-orange);
}

.portfolio-tab.active:hover {
  color: var(--white);
}

/* — Portfolio Grid — */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: var(--transition-fast);
}

.portfolio-item:hover {
  box-shadow: var(--shadow-xl);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-transform);
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--black-overlay-dark), transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-title {
  color: var(--dark-grey);
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--font-body);
}

.portfolio-category {
  color: var(--burnt-orange);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  font-family: var(--font-body);
  font-weight: 500;
}

/* ==========================================================
   15. WHY CHOOSE US
   ========================================================== */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-choose-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-lighter);
  transition: var(--transition-smooth);
}

.why-choose-card:hover {
  transform: translateY(-6px);
  border-color: var(--burnt-orange);
  box-shadow: var(--shadow-orange-lg);
}

.why-choose-icon {
  width: 72px;
  height: 72px;
  background: rgba(225, 92, 58, 0.08);
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition-fast);
}

.why-choose-card:hover .why-choose-icon {
  background: var(--burnt-orange-light);
}

.why-choose-icon svg {
  width: 32px;
  height: 32px;
  color: var(--burnt-orange);
}

.why-choose-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark-grey);
  margin-bottom: 8px;
  font-family: var(--font-body);
}

.why-choose-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================
   16. FREE CONSULTANCY SECTION
   ========================================================== */
.consultancy-section {
  background: linear-gradient(135deg, var(--burnt-orange), var(--burnt-orange-dark));
  padding: 100px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

/* Subtle geometric overlay */
.consultancy-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 30px,
      rgba(255, 255, 255, 0.03) 30px,
      rgba(255, 255, 255, 0.03) 31px
    );
  pointer-events: none;
}

.consultancy-section > * {
  position: relative;
  z-index: 1;
}

.consultancy-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.consultancy-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  font-family: var(--font-body);
}

.consultancy-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.consultancy-ctas .btn-secondary {
  border-color: var(--white);
  color: var(--white);
}

.consultancy-ctas .btn-secondary:hover {
  background: var(--white);
  color: var(--burnt-orange);
}

/* ==========================================================
   17. TESTIMONIALS
   ========================================================== */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
  padding: 0 48px;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: calc(33.333% - 16px);
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin: 0 12px;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
  border: 1px solid var(--border-lightest);
}

.testimonial-stars {
  color: var(--burnt-orange);
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--burnt-orange);
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  padding-top: 32px;
}

.testimonial-text::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--burnt-orange-glow);
  font-family: Georgia, serif;
  position: absolute;
  top: -8px;
  left: 0;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-circle);
  background: linear-gradient(135deg, var(--burnt-orange), var(--burnt-orange-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--font-body);
  flex-shrink: 0;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: 700;
  color: var(--dark-grey);
  font-family: var(--font-body);
  font-size: 1rem;
}

.testimonial-project {
  font-size: 0.85rem;
  color: var(--burnt-orange);
  font-family: var(--font-body);
  margin-top: 2px;
}

/* — Carousel Controls — */
.carousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
  left: 0;
  padding: 0 4px;
}

.carousel-prev,
.carousel-next {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-circle);
  background: var(--white);
  border: 1px solid var(--border-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-md);
  color: var(--dark-grey);
}

.carousel-prev:hover,
.carousel-next:hover {
  background: var(--burnt-orange);
  color: var(--white);
  border-color: var(--burnt-orange);
}

.carousel-prev svg,
.carousel-next svg {
  width: 20px;
  height: 20px;
}

/* — Carousel Dots — */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-circle);
  background: #ddd;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  padding: 0;
}

.carousel-dot.active {
  background: var(--burnt-orange);
  width: 28px;
  border-radius: 5px;
}

.carousel-dot:hover {
  background: var(--burnt-orange-glow);
}

/* ==========================================================
   18. CONTACT SECTION
   ========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-lightest);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--dark-grey);
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-family: var(--font-body);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: var(--transition-fast);
  background: var(--soft-white);
  color: var(--dark-grey);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--burnt-orange);
  outline: none;
  box-shadow: 0 0 0 3px var(--burnt-orange-light);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* — Contact Info — */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--burnt-orange-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.contact-info-item:hover .contact-info-icon {
  background: var(--burnt-orange);
}

.contact-info-icon svg {
  color: var(--burnt-orange);
  width: 22px;
  height: 22px;
  transition: var(--transition-fast);
}

.contact-info-item:hover .contact-info-icon svg {
  color: var(--white);
}

.contact-info-text h4 {
  font-weight: 700;
  color: var(--dark-grey);
  margin-bottom: 4px;
  font-size: 1rem;
  font-family: var(--font-body);
}

.contact-info-text p,
.contact-info-text a {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-info-text a {
  text-decoration: none;
  transition: var(--transition-fast);
}

.contact-info-text a:hover {
  color: var(--burnt-orange);
}

/* — Map — */
.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 250px;
  margin-top: 16px;
  box-shadow: var(--shadow-sm);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================
   19. FOOTER
   ========================================================== */
.footer {
  background: #7E8274;
  color: #FFFFFF;
  padding: 80px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

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

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.footer-contact-list li span,
.footer-contact-list li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-contact-list li a:hover {
  color: #BC4A3C;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.footer-col h3 {
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
  font-family: var(--font-body);
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #BC4A3C;
  border-radius: 1px;
}

.footer-logo .logo-text {
  color: #FFFFFF;
  font-size: 1.3rem;
}

.footer-logo .logo-accent {
  color: #BC4A3C;
}

.footer-logo .logo-tagline {
  color: rgba(255, 255, 255, 0.8);
}

.footer-about {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-top: 16px;
  font-size: 0.95rem;
}

/* — Footer Links — */
.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-fast);
  font-size: 0.95rem;
  display: inline-block;
}

.footer-links a:hover {
  color: #BC4A3C;
  padding-left: 4px;
}

/* — Footer Social Icons — */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: #BC4A3C;
  border-color: #BC4A3C;
  color: #FFFFFF;
  transform: translateY(-3px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

/* — Footer Bottom — */
.footer-bottom {
  margin-top: 60px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
  color: #FFFFFF;
  font-weight: 600;
}

.footer-bottom a:hover {
  color: #BC4A3C;
  text-decoration: underline;
}

/* ==========================================================
   20. WHATSAPP FLOATING BUTTON
   ========================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.whatsapp-float a {
  width: 60px;
  height: 60px;
  background: var(--whatsapp-green);
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-whatsapp);
  transition: var(--transition-fast);
  animation: pulse 2s infinite;
  text-decoration: none;
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-whatsapp-lg);
  color: var(--white);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

/* ==========================================================
   21. LIGHTBOX
   ========================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: var(--black-overlay-95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: var(--dark-grey);
  font-size: 2rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-circle);
  transition: var(--transition-fast);
  border: none;
  line-height: 1;
}

.lightbox-close:hover {
  background: var(--burnt-orange);
}

/* ==========================================================
   22. ANIMATIONS
   ========================================================== */

/* — Fade In (Bottom) — */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* — Fade In Left — */
.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* — Fade In Right — */
.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* — Scroll Mouse Animation — */
@keyframes scrollMouse {
  0% {
    top: 6px;
    opacity: 1;
  }
  100% {
    top: 20px;
    opacity: 0;
  }
}

/* — WhatsApp Pulse — */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* — Float Animation — */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* — Shimmer Effect (for featured package) — */
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.package-card.featured .package-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
  pointer-events: none;
}

.package-card.featured .package-header {
  position: relative;
  overflow: hidden;
}

/* — Utility animation classes — */
.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* ==========================================================
   23. RESPONSIVE DESIGN
   ========================================================== */

/* ── Tablet & Small Desktop (max-width: 1024px) ── */
@media (max-width: 1024px) {
  .services-grid,
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .packages-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .package-card {
    flex: 1 1 calc(50% - 12px);
    max-width: 360px;
  }

  .nav-logo-img {
    width: 38px;
    height: 38px;
  }

  .package-card.featured {
    transform: none;
  }

  .package-card.featured:hover {
    transform: translateY(-6px);
  }

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

  .about-content {
    grid-template-columns: 1fr;
  }

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

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

  .testimonial-card {
    min-width: calc(50% - 16px);
  }

  .hero-title {
    font-size: 3.2rem;
  }

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

  .engineering-trust-grid {
    gap: var(--space-2xl);
  }
}

/* ── Mobile Landscape & Tablet Portrait (max-width: 768px) ── */
@media (max-width: 768px) {
  /* — Navigation — */
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--rich-black);
    flex-direction: column;
    padding: 80px 40px;
    gap: 24px;
    transform: translateX(100%);
    transition: var(--transition-smooth);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.1rem;
    color: var(--dark-grey);
  }

  .mobile-toggle {
    display: flex;
  }

  /* — Hero — */
  .hero {
    padding: 100px 0 40px;
    background-position: center center;
  }

  .hero-content {
    padding: 0 20px;
    text-align: left;
  }

  .hero-brand-title {
    font-size: 3rem;
    letter-spacing: 6px;
    margin-bottom: 20px;
  }

  .hero-philosophy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 18px;
  }

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

  .philosophy-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  }

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

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-item {
    text-align: left;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 100%;
  }

  /* — Sections — */
  .section {
    padding: 70px 0;
  }

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

  .section-subtitle {
    font-size: 1rem;
  }

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

  .hook-section {
    padding: 80px 0;
  }

  /* — Grids — */
  .services-grid,
  .why-choose-grid {
    grid-template-columns: 1fr;
  }

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

  .packages-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 420px;
    width: 100%;
  }

  .package-card {
    flex: 1 1 100%;
    width: 100%;
    max-width: 380px;
  }

  .nav-logo-img {
    width: 36px;
    height: 36px;
  }

  .logo-text {
    font-size: 1.1rem;
    letter-spacing: 1px;
  }

  .logo-tagline {
    font-size: 0.55rem;
    letter-spacing: 2px;
  }

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

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* — Testimonials — */
  .testimonial-card {
    min-width: 100%;
  }

  .testimonial-carousel {
    padding: 0 16px;
  }

  .carousel-controls {
    display: none;
  }

  /* — Consultation Bar — */
  .consultation-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 16px 20px;
  }

  /* — Consultancy Section — */
  .consultancy-title {
    font-size: 2.2rem;
  }

  .consultancy-ctas {
    flex-direction: column;
    align-items: center;
  }

  /* — Contact — */
  .contact-form {
    padding: 32px 24px;
  }

  .engineering-trust-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .engineering-features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .section-title-left {
    font-size: 2.2rem;
    text-align: center;
  }

  .section-title-left::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .section-desc-left {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .visual-container {
    aspect-ratio: 4/3;
    max-height: 400px;
  }
}

/* ── Small Mobile (max-width: 480px) ── */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .stat-number,
  .about-stat-number {
    font-size: 2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

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

  .nav-container {
    padding: 16px 20px;
  }

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

  .hook-title {
    font-size: 1.7rem;
  }

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

  .hero-content {
    padding: 0 16px;
  }

  .about-stat-item {
    padding: 28px 16px;
  }

  .package-badge {
    font-size: 0.65rem;
    padding: 4px 14px;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float a {
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .section-title-left {
    font-size: 1.8rem;
  }

  .trust-badges-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .excellence-checklist {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
  }

  .excellence-card {
    padding: var(--space-lg) var(--space-md);
  }

  .excellence-card .card-highlight {
    font-size: 1.4rem;
  }

  .card-statement {
    font-size: 0.85rem;
    padding: var(--space-sm);
  }
}

/* ==========================================================
   END — AGAM FOUNDATION DESIGN SYSTEM
   ========================================================== */

/* ==========================================================
   WORDPRESS CORE ALIGNMENTS & UTILITIES
   ========================================================== */
.aligncenter { display: block; margin: 1.5rem auto; }
.alignleft { float: left; margin: 0 1.5rem 1.5rem 0; }
.alignright { float: right; margin: 0 0 1.5rem 1.5rem; }
.wp-caption { max-width: 100%; border: 1px solid var(--border-light); padding: 8px; border-radius: var(--radius-md); text-align: center; }
.wp-caption-text { font-size: 0.875rem; color: var(--text-muted); margin-top: 6px; }

/* Lead Form Status Feedback Styles */
.form-status {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-top: 16px;
  font-size: 0.95rem;
  font-weight: 500;
  display: none;
}
.form-status.success {
  display: block;
  background-color: rgba(37, 211, 102, 0.12);
  color: #1b8a43;
  border: 1px solid rgba(37, 211, 102, 0.3);
}
.form-status.error {
  display: block;
  background-color: rgba(225, 92, 58, 0.12);
  color: #b83318;
  border: 1px solid rgba(225, 92, 58, 0.3);
}
.form-status.loading {
  display: block;
  background-color: rgba(188, 74, 60, 0.08);
  color: var(--burnt-orange-dark);
  border: 1px solid rgba(188, 74, 60, 0.2);
}
