/* ==========================================================================
   INTERNATIONAL EMIRATES ENTERPRISES (IEE) - DESIGN SYSTEM
   Theme: Sovereign Architectural Light
   Standards: Apple Design, Emil Kowalski Engineering Polish, Anti-Slop Taste
   ========================================================================== */

:root {
  /* Architectural Neutral Palette */
  --color-bg-base: #FAF8F5;
  --color-bg-surface: #FFFFFF;
  --color-bg-subtle: #F3EFEA;
  --color-bg-accent: #EBE4DA;
  --color-bg-card: #FFFFFF;
  
  /* Text & Ink Tokens (WCAG AAA compliant) */
  --color-text-primary: #121417;
  --color-text-secondary: #484E55;
  --color-text-tertiary: #717882;
  --color-text-muted: #8E95A0;
  --color-text-on-dark: #FBFBFC;
  
  /* Sovereign Brand Accents (Deep Navy & Refined Architectural Gold) */
  --color-brand-primary: #0F172A;
  --color-brand-navy: #1E293B;
  --color-brand-gold: #C29B38;
  --color-brand-gold-hover: #AA8529;
  --color-brand-gold-light: #F7F2E4;
  --color-brand-gold-border: rgba(194, 155, 56, 0.35);

  /* Borders & Dividers */
  --border-light: rgba(18, 20, 23, 0.08);
  --border-subtle: rgba(18, 20, 23, 0.05);
  --border-gold: rgba(194, 155, 56, 0.28);
  --border-focus: #0F172A;

  /* Typography */
  --font-display: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Elevation Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 6px -1px rgba(15, 23, 42, 0.05), 0 1px 4px -1px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 10px 25px -4px rgba(15, 23, 42, 0.06), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 40px -8px rgba(15, 23, 42, 0.08), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 28px 60px -12px rgba(15, 23, 42, 0.12);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Motion & Spring Physics */
  --transition-fast: 160ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 260ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 1);
  --spring-press: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-base);
  color: var(--color-text-secondary);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.heading-display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.4rem, 4.5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 700; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.1rem; font-weight: 600; }
h6 { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

p {
  margin-bottom: 1.25rem;
  font-size: 1.025rem;
  color: var(--color-text-secondary);
}

p.lead {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text-primary);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-brand-gold);
  background: var(--color-brand-gold-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-gold);
  margin-bottom: 1rem;
}

/* Container & Grid Layout */
.iee-container {
  width: 100%;
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.iee-container-narrow {
  width: 100%;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.iee-section {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
  position: relative;
}

.iee-section-sm {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

/* Top Utility Bar */
.top-bar {
  background: var(--color-brand-primary);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.825rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar a {
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar a:hover {
  color: #FFFFFF;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Navigation Header */
.iee-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.iee-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.iee-logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.iee-logo-link img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.iee-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-primary);
  position: relative;
  padding: 0.5rem 0;
  letter-spacing: -0.01em;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-brand-gold);
}

.nav-link.active {
  color: var(--color-brand-primary);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-brand-gold);
  border-radius: 2px;
}

.iee-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Tactile Buttons */
.btn-iee {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.925rem;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 120ms var(--spring-press), box-shadow var(--transition-fast), background-color var(--transition-fast);
  text-decoration: none;
  min-height: 44px;
}

.btn-iee:active {
  transform: scale(0.975);
}

.btn-iee-primary {
  background: var(--color-brand-primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.btn-iee-primary:hover {
  background: #1e293b;
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.btn-iee-gold {
  background: var(--color-brand-gold);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(194, 155, 56, 0.3);
}

.btn-iee-gold:hover {
  background: var(--color-brand-gold-hover);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(194, 155, 56, 0.4);
}

.btn-iee-outline {
  background: transparent;
  border-color: var(--border-light);
  color: var(--color-text-primary);
}

.btn-iee-outline:hover {
  background: var(--color-bg-subtle);
  border-color: rgba(18, 20, 23, 0.16);
  color: var(--color-text-primary);
}

.btn-iee-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-iee-ghost:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
}

/* Hero Section (Video Banner) */
.hero-video-wrap {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0B111E;
  overflow: hidden;
  color: #FFFFFF;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.42;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 17, 30, 0.68) 0%, rgba(11, 17, 30, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 4rem 1.5rem;
}

.hero-title {
  color: #FFFFFF;
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Page Subheader Banner */
.page-subheader {
  background: url('../images/subheader.jpg') center/cover no-repeat;
  position: relative;
  padding: 5rem 0;
  color: #FFFFFF;
}

.page-subheader::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.72) 100%);
}

.page-subheader-inner {
  position: relative;
  z-index: 2;
}

.page-subheader-title {
  color: #FFFFFF;
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-nav a:hover {
  color: var(--color-brand-gold);
}

/* Feature Cards & Bento Grids */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.75rem;
}

.iee-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 2.25rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  position: relative;
  display: flex;
  flex-direction: column;
}

.iee-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-gold);
}

.card-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--color-brand-gold-light);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-brand-gold);
  font-size: 1.6rem;
}

.card-icon-box img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* About Page Responsive Architecture */
.about-overview-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.about-callout-box {
  padding: 1.25rem 1.5rem;
  background: var(--color-brand-gold-light);
  border-left: 4px solid var(--color-brand-gold);
  border-radius: var(--radius-sm);
  margin-top: 1.5rem;
}

.about-callout-box p {
  margin: 0;
  font-weight: 600;
  color: var(--color-brand-primary);
}

.about-mosaic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.about-mosaic-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.about-mosaic-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.about-mosaic-item.offset-down {
  margin-top: 2rem;
}

.about-mosaic-item.offset-up {
  margin-top: -2rem;
}

.about-values-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.values-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Contact Page Structure */
.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
}

/* Service & Project Deep Dive Alternating Rows */
.service-feature-row,
.project-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5.5rem;
}

.service-feature-row:last-child,
.project-feature-row:last-child {
  margin-bottom: 2rem;
}

.service-col-image,
.project-col-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.service-col-image:hover,
.project-col-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.2);
}

.service-col-image img,
.project-col-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-col-image:hover img,
.project-col-image:hover img {
  transform: scale(1.04);
}

.project-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

@media (max-width: 991px) {
  .service-feature-row,
  .project-feature-row {
    grid-template-columns: 1fr !important;
    gap: 2.25rem !important;
    margin-bottom: 4rem !important;
  }
  .service-feature-row .service-col-content,
  .project-feature-row .project-col-content {
    order: 2 !important;
  }
  .service-feature-row .service-col-image,
  .project-feature-row .project-col-image {
    order: 1 !important;
  }
  .service-col-image img,
  .project-col-image img {
    height: 300px;
  }
}

.project-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  font-size: 0.9rem;
}

@media (max-width: 575px) {
  .project-spec-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Project Showcases */
.project-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.project-card-media {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: var(--color-bg-accent);
}

.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-card-media img {
  transform: scale(1.05);
}

.project-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
}

.project-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card-body h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.project-card-body p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.project-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.spec-badge {
  font-size: 0.78rem;
  background: var(--color-bg-subtle);
  border: 1px solid var(--border-light);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  color: var(--color-text-tertiary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Floor Plans Gallery */
.plan-gallery-item {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.plan-img-wrapper {
  background: #F8F9FA;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.plan-img-wrapper img {
  max-height: 240px;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.plan-gallery-item:hover .plan-img-wrapper img {
  transform: scale(1.03);
}

.plan-info {
  padding: 1.5rem;
  border-top: 1px solid var(--border-light);
}

/* Form Styling */
.iee-form-group {
  margin-bottom: 1.5rem;
}

.iee-form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.45rem;
}

.iee-form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--color-text-primary);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.iee-form-control:focus {
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

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

/* Footer */
.iee-footer {
  background: #0B111E;
  color: rgba(255, 255, 255, 0.75);
  padding-top: 5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.iee-footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

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

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.925rem;
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--color-brand-gold);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.925rem;
}

.footer-contact-item i {
  color: var(--color-brand-gold);
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Floating WhatsApp & Back to Top */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 999;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  font-size: 1.35rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  color: #FFFFFF;
}

.floating-btn:hover {
  transform: scale(1.08);
  color: #FFFFFF;
}

.floating-whatsapp {
  background: #25D366;
}

.floating-top {
  background: var(--color-brand-primary);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.floating-top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Backdrop & Body Lock */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  z-index: 1000;
  pointer-events: none;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.mobile-nav-locked {
  overflow: hidden !important;
  touch-action: none;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--color-brand-primary);
  cursor: pointer;
  padding: 0;
  box-shadow: var(--shadow-xs);
  transition: background-color var(--transition-fast), border-color var(--transition-fast), transform 0.15s ease;
}

.mobile-menu-cta {
  display: none;
}

.mobile-nav-toggle:active {
  transform: scale(0.94);
}

.mobile-nav-toggle:focus-visible {
  outline: 2px solid var(--color-brand-gold);
  outline-offset: 2px;
}

/* Plan Gallery Grid - Responsive Blueprint Layout */
.plan-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.25rem;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .top-bar {
    display: none !important;
  }
  .iee-header {
    position: sticky;
    top: 0;
    z-index: 1002;
  }
  .iee-header-inner {
    height: 72px;
  }
  .mobile-nav-toggle {
    display: inline-flex;
  }
  .iee-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #FFFFFF;
    flex-direction: column;
    padding: 1rem 1.25rem 1.5rem;
    box-shadow: 0 16px 32px rgba(10, 25, 47, 0.14), 0 8px 12px rgba(10, 25, 47, 0.08);
    border-top: 1px solid var(--border-light);
    border-bottom: 3px solid var(--color-brand-gold);
    gap: 0.35rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
    z-index: 1001;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .iee-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .iee-nav .nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    transition: background-color var(--transition-fast), color var(--transition-fast), padding-left var(--transition-fast);
  }
  .iee-nav .nav-link:hover,
  .iee-nav .nav-link.active {
    color: var(--color-brand-gold);
    background: rgba(194, 155, 56, 0.09);
    padding-left: 1.25rem;
  }
  .mobile-menu-cta {
    display: block;
    padding-top: 0.85rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(18, 20, 23, 0.08);
  }
  .mobile-menu-cta .btn-iee {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    min-height: 46px;
    border-radius: var(--radius-md);
  }
  .about-overview-grid {
    grid-template-columns: 1fr !important;
    gap: 2.75rem !important;
  }
  .values-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 1.75rem !important;
  }
  .contact-main-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  .iee-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .iee-section {
    padding: 3.5rem 0 !important;
  }
  .about-overview-grid {
    gap: 2rem !important;
  }
  .about-mosaic-grid {
    gap: 0.85rem !important;
  }
  .about-mosaic-item img {
    height: 180px !important;
  }
  .about-mosaic-item.offset-down,
  .about-mosaic-item.offset-up {
    margin-top: 0 !important;
  }
  .about-values-header {
    margin-bottom: 2rem !important;
  }
  .values-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .iee-card {
    padding: 1.65rem 1.35rem !important;
  }
  .plan-gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 575px) {
  .about-mosaic-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.65rem !important;
  }
  .about-mosaic-item img {
    height: 135px !important;
  }
  .about-callout-box {
    padding: 1rem 1.15rem !important;
  }
  .iee-card {
    padding: 1.4rem 1.15rem !important;
  }
}

@media (max-width: 640px) {
  .iee-footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .project-spec-grid {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }
  .project-badge {
    top: 0.85rem !important;
    left: 0.85rem !important;
    right: 0.85rem !important;
    max-width: calc(100% - 1.7rem) !important;
    font-size: 0.72rem !important;
    padding: 0.35rem 0.75rem !important;
    white-space: normal !important;
    line-height: 1.35 !important;
    text-align: center !important;
  }
  .page-subheader {
    padding: 3.25rem 0 !important;
  }
  .page-subheader-title {
    font-size: 1.85rem !important;
  }
  .floating-actions-buildu,
  .floating-actions {
    bottom: 18px !important;
    right: 14px !important;
    gap: 10px !important;
  }
  .floating-actions-buildu a,
  .floating-btn {
    width: 44px !important;
    height: 44px !important;
    font-size: 19px !important;
  }
}

/* ============================================================== 
   Modern IEE Footer Styles & Scoped Responsive Grid
================================================================== */
.iee-modern-footer {
    position: relative;
    background: radial-gradient(circle at 15% 0%, #102342 0%, #081324 55%, #050b15 100%) !important;
    color: #e2e8f0;
    font-size: 14.5px;
    line-height: 1.7;
    border-top: 2px solid #C29B38;
    overflow: hidden;
    z-index: 1;
}

.iee-modern-footer *,
.iee-modern-footer *::before,
.iee-modern-footer *::after {
    box-sizing: border-box;
}

/* Subtle architectural grid pattern overlay */
.iee-modern-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: -1;
}

/* Ambient glow accent */
.iee-modern-footer::after {
    content: "";
    position: absolute;
    top: -120px;
    right: -100px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(194, 155, 56, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Scoped Layout Grid for .iee-modern-footer */
.iee-modern-footer .container {
    width: 100%;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.iee-modern-footer .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.iee-modern-footer .gy-4 {
    row-gap: 1.5rem;
}

.iee-modern-footer .align-items-center {
    align-items: center;
}

.iee-modern-footer .text-center {
    text-align: center;
}

.iee-modern-footer [class*="col-"] {
    position: relative;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.iee-modern-footer .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 576px) {
    .iee-modern-footer .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .iee-modern-footer .col-sm-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .iee-modern-footer .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    .iee-modern-footer .col-md-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }
    .iee-modern-footer .col-md-7 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }
    .iee-modern-footer .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .iee-modern-footer .col-lg-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }
    .iee-modern-footer .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .iee-modern-footer .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    .iee-modern-footer .col-lg-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
}

@media (min-width: 1200px) {
    .iee-modern-footer .col-xl-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }
    .iee-modern-footer .col-xl-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .iee-modern-footer .col-xl-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/* Footer Top Bar */
.iee-modern-footer .iee-footer-top-bar {
    padding: 38px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 25, 47, 0.4);
    backdrop-filter: blur(10px);
}

.iee-modern-footer .iee-footer-brand-wrap {
    display: flex;
    align-items: center;
}

/* Dedicated Logo Box - displays authentic logo as it is, strictly NO filters or effects */
.iee-modern-footer .iee-footer-logo-box {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease;
}

.iee-modern-footer .iee-footer-logo-box:hover {
    transform: translateY(-2px);
}

.iee-modern-footer .iee-footer-logo {
    max-height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: none !important;
    -webkit-filter: none !important;
}

/* CTA & Newsletter Bar */
.iee-modern-footer .iee-footer-cta-flex {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    flex-wrap: wrap;
}

.iee-modern-footer .iee-footer-cta-text {
    text-align: left;
}

.iee-modern-footer .iee-footer-cta-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #C29B38;
    background: rgba(194, 155, 56, 0.12);
    border: 1px solid rgba(194, 155, 56, 0.25);
    padding: 2px 10px;
    border-radius: 999px;
    margin-bottom: 6px;
}

.iee-modern-footer .iee-footer-cta-text h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.2px;
}

.iee-modern-footer .iee-footer-newsletter-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50px;
    padding: 4px 5px 4px 18px;
    width: 100%;
    max-width: 420px;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.iee-modern-footer .iee-footer-newsletter-form:focus-within {
    border-color: #C29B38;
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 3px rgba(194, 155, 56, 0.18);
}

.iee-modern-footer .iee-footer-newsletter-form input {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
    font-size: 14px;
    padding: 8px 0;
    outline: none;
    flex: 1;
}

.iee-modern-footer .iee-footer-newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.iee-modern-footer .iee-footer-newsletter-form button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #C29B38;
    color: #0A192F;
    border: none;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
}

.iee-modern-footer .iee-footer-newsletter-form button:hover {
    background: #d8b248;
    transform: translateX(2px);
}

/* Footer Main */
.iee-modern-footer .iee-footer-main {
    padding: 60px 0 50px;
}

.iee-modern-footer .iee-footer-col {
    height: 100%;
}

.iee-modern-footer .iee-footer-col-title {
    position: relative;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #C29B38;
    margin-bottom: 22px;
    padding-bottom: 10px;
}

.iee-modern-footer .iee-footer-col-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: #C29B38;
    border-radius: 2px;
}

.iee-modern-footer .iee-footer-desc {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.65;
}

/* Stats Strip */
.iee-modern-footer .iee-footer-stats-strip {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.iee-modern-footer .iee-stat-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 7px 12px;
    display: flex;
    flex-direction: column;
    min-width: 90px;
}

.iee-modern-footer .iee-stat-pill strong {
    color: #C29B38;
    font-size: 15px;
    line-height: 1.2;
}

.iee-modern-footer .iee-stat-pill span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.2;
    margin-top: 2px;
}

/* Socials */
.iee-modern-footer .iee-footer-socials {
    display: flex;
    align-items: center;
    gap: 14px;
}

.iee-modern-footer .iee-social-label {
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.5);
}

.iee-modern-footer .iee-social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.iee-modern-footer .iee-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.25s ease;
}

.iee-modern-footer .iee-social-links a:hover {
    background: #C29B38;
    color: #0A192F;
    border-color: #C29B38;
    transform: translateY(-2px);
}

/* Links */
.iee-modern-footer .iee-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.iee-modern-footer .iee-footer-links li a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.iee-modern-footer .iee-footer-links li a i {
    font-size: 11px;
    color: #C29B38;
    transition: transform 0.2s ease;
}

.iee-modern-footer .iee-footer-links li a:hover {
    color: #C29B38;
    transform: translateX(4px);
}

.iee-modern-footer .iee-footer-links li a:hover i {
    transform: translateX(2px);
}

/* Contact Card */
.iee-modern-footer .iee-contact-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.iee-modern-footer .iee-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.iee-modern-footer .iee-contact-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 8px;
    background: rgba(194, 155, 56, 0.12);
    border: 1px solid rgba(194, 155, 56, 0.3);
    color: #C29B38;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-top: 2px;
}

.iee-modern-footer .iee-contact-info span {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2px;
}

.iee-modern-footer .iee-contact-info p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0;
}

.iee-modern-footer .iee-contact-info a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 13.5px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.iee-modern-footer .iee-contact-info a:hover {
    color: #C29B38;
}

/* Footer Bottom */
.iee-modern-footer .iee-footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 9, 18, 0.6);
}

.iee-modern-footer .iee-copy-text {
    margin: 0;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.6);
}

.iee-modern-footer .iee-copy-text strong {
    color: #ffffff;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .iee-modern-footer .iee-footer-main {
        padding: 45px 0 35px;
    }
    .iee-modern-footer .iee-footer-cta-flex {
        justify-content: flex-start;
    }
    .iee-modern-footer .iee-footer-newsletter-form {
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .iee-modern-footer .iee-footer-newsletter-form {
        flex-direction: column;
        border-radius: 14px;
        padding: 10px;
        gap: 8px;
    }
    .iee-modern-footer .iee-footer-newsletter-form input {
        width: 100%;
        padding: 6px 8px;
    }
    .iee-modern-footer .iee-footer-newsletter-form button {
        width: 100%;
        justify-content: center;
    }
}

/* Floating Actions (WhatsApp & Back to Top) */
.floating-actions-buildu {
    position: fixed;
    bottom: 30px;
    right: 26px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-actions-buildu a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    font-size: 22px;
    transition: transform 0.25s ease, background-color 0.25s ease, opacity 0.25s ease;
}

.floating-actions-buildu .fab-whatsapp {
    background: #25D366;
}

.floating-actions-buildu .fab-whatsapp:hover {
    transform: scale(1.1);
    background: #20bd5a;
    color: #FFFFFF;
}

.floating-actions-buildu .fab-top {
    background: #C29B38;
    color: #0A192F;
    font-size: 18px;
    opacity: 0;
    pointer-events: none;
}

.floating-actions-buildu .fab-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.floating-actions-buildu .fab-top:hover {
    transform: scale(1.1);
    background: #D4AF37;
    color: #0A192F;
}

