/* ==========================================================================
   1. CSS Variables & Reset
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&family=Tajawal:wght@400;500;700&display=swap');

:root {
  /* Colors */
  --primary: #0B1F3A;
  --primary-light: #16365c;
  --secondary: #D6A85A;
  --secondary-hover: #c5984f;
  --accent: #31B6C8;
  --bg-light: #FAFAF7;
  --bg-white: #ffffff;
  --text-main: #1A1A1A;
  --text-muted: #666666;
  --border-color: #e5e5e5;
  
  /* CTA Colors */
  --whatsapp: #25D366;
  --whatsapp-hover: #128C7E;
  --phone: #0B1F3A;
  
  /* Utilities */
  --transition: all 0.3s ease;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(11, 31, 58, 0.12);
  --shadow-hover: 0 16px 40px rgba(11, 31, 58, 0.18);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Tajawal', 'Cairo', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  direction: rtl;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* ==========================================================================
   2. Typography & Globals
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 20px;
  max-width: 600px;
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: 'Tajawal', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--secondary);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   3. Top Bar & Header
   ========================================================================== */
.top-bar {
  background-color: var(--primary);
  color: #fff;
  padding: 8px 0;
  font-size: 0.9rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-text {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar-text i {
  color: var(--secondary);
}

.top-bar-actions {
  display: flex;
  gap: 15px;
}

.top-bar-actions a {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-actions a:hover {
  color: var(--secondary);
}

.main-header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.main-header.scrolled {
  box-shadow: var(--shadow-md);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo img {
  height: 50px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 600;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition);
}

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

.header-cta {
  display: block;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--primary);
  transition: var(--transition);
}

/* ==========================================================================
   4. Hero Section
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, var(--bg-light) 0%, #e8e3d5 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
}

/* Abstract shapes for background */
.hero-shape-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(214, 168, 90, 0.1) 0%, rgba(214, 168, 90, 0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-shape-2 {
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(49, 182, 200, 0.08) 0%, rgba(49, 182, 200, 0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--primary);
}

.hero-content h1 span {
  color: var(--secondary);
  position: relative;
  display: inline-block;
}

.hero-content h1 span::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background-color: rgba(49, 182, 200, 0.2);
  z-index: -1;
  transform: rotate(-2deg);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 40px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--primary);
}

.hero-feature i {
  color: var(--accent);
  background: rgba(49, 182, 200, 0.1);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.hero-btns {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-link {
  font-weight: 600;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-link:hover {
  color: var(--secondary);
}

.trust-chips {
  display: flex;
  gap: 15px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.trust-chip {
  background: var(--bg-white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-chip i {
  color: var(--secondary);
}

.hero-visual {
  position: relative;
}

.mockup-wrapper {
  position: relative;
  background: var(--bg-white);
  padding: 15px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
}

.mockup-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.mockup-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background-color: #eee; /* Placeholder */
}

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

.mockup-badge {
  position: absolute;
  top: 20px;
  right: -20px;
  background: var(--secondary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

/* ==========================================================================
   5. Services Section
   ========================================================================== */
.services {
  background-color: var(--bg-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-light);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--secondary);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(11, 31, 58, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: var(--primary);
  font-size: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: var(--primary);
  color: #fff;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 25px;
  font-size: 0.95rem;
}

.service-link {
  color: var(--secondary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.service-link i {
  transition: transform 0.3s ease;
}

.service-link:hover i {
  transform: translateX(-5px);
}

/* ==========================================================================
   6. Special Offer
   ========================================================================== */
.special-offer {
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}

.offer-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
}

.offer-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.offer-icon {
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.offer-content h2 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.offer-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.offer-disclaimer {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 15px;
  display: block;
}

/* ==========================================================================
   7. Why Choose Us
   ========================================================================== */
.why-us {
  background-color: var(--bg-light);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.why-card {
  background: var(--bg-white);
  padding: 30px 25px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  color: var(--secondary);
  font-size: 1.5rem;
  background: rgba(214, 168, 90, 0.1);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-text h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.why-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   8. Before & After Placeholder
   ========================================================================== */
.portfolio {
  background-color: var(--bg-white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.portfolio-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  group: hover;
}

.portfolio-img {
  aspect-ratio: 4/3;
  background-color: #ddd;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.portfolio-label {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(11, 31, 58, 0.8);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  backdrop-filter: blur(4px);
}

.portfolio-info {
  padding: 20px;
  background: #fff;
}

.portfolio-info h4 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

/* ==========================================================================
   9. Work Steps
   ========================================================================== */
.steps {
  background-color: var(--bg-light);
}

.steps-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 50px;
  right: 50px;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
}

.step-item {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 150px;
}

.step-number {
  width: 80px;
  height: 80px;
  background-color: var(--bg-white);
  border: 2px solid var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0 auto 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.step-item:hover .step-number {
  background-color: var(--secondary);
  color: #fff;
  transform: scale(1.1);
}

.step-item h4 {
  font-size: 1rem;
}

/* ==========================================================================
   10. Neighborhoods
   ========================================================================== */
.neighborhoods {
  background-color: var(--bg-white);
  text-align: center;
}

.neighborhoods-text {
  max-width: 600px;
  margin: 0 auto 30px;
  color: var(--text-muted);
}

.chips-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.chip {
  background-color: rgba(49, 182, 200, 0.08);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(49, 182, 200, 0.2);
  transition: var(--transition);
}

.chip:hover {
  background-color: var(--accent);
  color: #fff;
}

/* ==========================================================================
   11. Pre-Footer CTA
   ========================================================================== */
.cta-section {
  background-color: var(--primary);
  padding: 80px 0;
  text-align: center;
}

.cta-box {
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d6a85a' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  padding: 60px 30px;
  border-radius: var(--radius-lg);
  position: relative;
}

.cta-box h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-inline: auto;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================================
   12. Footer
   ========================================================================== */
.main-footer {
  background-color: #05101E; /* Darker than primary */
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-about .logo {
  margin-bottom: 20px;
  display: inline-block;
}

.footer-about p {
  margin-bottom: 20px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.footer-social a:hover {
  background-color: var(--secondary);
}

.footer-heading {
  color: #fff;
  font-family: 'Cairo', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 25px;
}

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

.footer-links a:hover {
  color: var(--secondary);
  padding-right: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-contact i {
  color: var(--secondary);
  margin-top: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* ==========================================================================
   13. Sticky Mobile Bottom Bar
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-white);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 999;
  padding: 10px;
}

.mobile-bottom-bar .container {
  display: flex;
  gap: 10px;
}

.mobile-bottom-bar .btn {
  flex: 1;
  padding: 10px;
  font-size: 0.95rem;
}

/* ==========================================================================
   14. Animations
   ========================================================================== */
.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.zoom-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Brush stroke animation in Hero */
@keyframes drawStroke {
  to { stroke-dashoffset: 0; }
}

/* ==========================================================================
   16. Inner Pages Styles
   ========================================================================== */
.inner-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
}

.inner-hero h1 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 20px;
}

.inner-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
}

.breadcrumb {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  opacity: 0.8;
}

.breadcrumb a {
  color: var(--secondary);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span.separator {
  color: #fff;
}

.service-details {
  padding: 80px 0;
  background: var(--bg-light);
}

.service-content-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.service-main-content h2 {
  font-size: 2rem;
  margin-top: 40px;
  margin-bottom: 20px;
}

.service-main-content h3 {
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 15px;
}

.service-main-content p {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.service-main-content ul.check-list {
  margin-bottom: 30px;
}

.service-main-content ul.check-list li {
  position: relative;
  padding-right: 30px;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.service-main-content ul.check-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 0;
  top: 2px;
  color: var(--secondary);
}

.faq-box {
  background: var(--bg-white);
  padding: 25px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.faq-box h4 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.sidebar-widget {
  background: var(--bg-white);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.sidebar-widget h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--bg-light);
}

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

.related-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  transition: var(--transition);
}

.related-links a i {
  color: var(--secondary);
  font-size: 0.8rem;
}

.related-links a:hover {
  color: var(--primary);
  transform: translateX(-5px);
}

.hub-selection {
  background: var(--bg-white);
  padding: 80px 0;
}

.selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.selection-card {
  background: var(--bg-light);
  padding: 25px;
  border-radius: var(--radius-md);
  border-right: 4px solid var(--secondary);
}

.selection-card h4 {
  color: var(--primary);
  margin-bottom: 10px;
}

.selection-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

@media (max-width: 992px) {
  .service-content-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .inner-hero h1 {
    font-size: 2.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   15. Responsive Design (Mobile First Focus handled via max-width queries)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    order: 2;
  }
  
  .hero-visual {
    order: 1;
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-features {
    text-align: right;
  }

  .hero-btns, .trust-chips {
    justify-content: center;
  }

  .steps-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .steps-container::before {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
  }

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

@media (max-width: 768px) {
  body {
    padding-bottom: 70px; /* Space for sticky bottom bar */
  }

  .top-bar {
    display: none; /* Hide top bar on mobile for cleaner look */
  }

  .header-cta {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    transition: var(--transition);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
  }

  .nav-links.active {
    left: 0;
  }

  .hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

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

  .section-padding {
    padding: 60px 0;
  }

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

  .footer-contact li {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .mobile-bottom-bar {
    display: block;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }

  .cta-box h2 {
    font-size: 1.8rem;
  }
}

/* --- Mobile UX Final Audit Fixes --- */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
  word-break: break-word;
  padding-bottom: 70px;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.btn {
  min-height: 44px;
}

/* ==========================================================================
   PREMIUM VISUAL ENHANCEMENTS
   ========================================================================== */

/* --- Hero Image Enhancement --- */
.mockup-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s ease;
}
.mockup-wrapper:hover .mockup-image img {
  transform: scale(1.02);
}

/* --- Card Hover Effects --- */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

/* --- Gallery Cards Enhancement --- */
.gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
}
.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.gallery-card img {
  transition: transform 0.4s ease;
}
.gallery-card:hover img {
  transform: scale(1.05);
}

/* --- Section Dividers --- */
.services::before,
.why-us::before,
.neighborhoods::before {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  margin: 0 auto 40px;
  border-radius: 2px;
}

/* --- FAQ Box Enhancement --- */
.faq-box {
  background: white;
  padding: 25px;
  border-radius: var(--radius-md);
  border-right: 4px solid var(--secondary);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}
.faq-box:hover {
  box-shadow: var(--shadow-md);
}
.faq-box h4 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.faq-box p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- CTA Section Enhancement --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 80px 0;
}
.cta-box {
  text-align: center;
  color: white;
  max-width: 700px;
  margin: 0 auto;
}
.cta-box h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 15px;
}
.cta-box p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  margin-bottom: 30px;
}
.cta-btns {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Inner Hero for sub-pages --- */
.inner-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 60px 0 50px;
  text-align: center;
  color: white;
}
.inner-hero h1 {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 15px;
}
.inner-hero p {
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin: 0 auto 20px;
  font-size: 1.1rem;
}

/* --- Portfolio Grid Fix --- */
.portfolio-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.portfolio-img {
  overflow: hidden;
}
.portfolio-img img {
  transition: transform 0.4s ease;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.portfolio-card:hover .portfolio-img img {
  transform: scale(1.05);
}

/* --- Service Content Images --- */
.service-main-content img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* --- Smooth Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-hover);
}

/* --- Chip / Tag Links --- */
.chip {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* --- Special Offer Section --- */
.special-offer {
  position: relative;
  overflow: hidden;
}
.offer-content {
  position: relative;
  z-index: 2;
}

/* --- Breadcrumb Enhancement --- */
.breadcrumb {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}
.breadcrumb a {
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--secondary);
}
.breadcrumb .separator {
  margin: 0 8px;
  opacity: 0.5;
}

/* ==========================================================================
   RESPONSIVE REFINEMENTS
   ========================================================================== */
@media (max-width: 768px) {
  body {
    padding-bottom: 90px;
  }
  .sticky-bottom-cta {
    z-index: 1000;
  }
  .top-bar-text {
    font-size: 0.85rem;
  }
  p {
    font-size: 1rem !important;
  }
  .inner-hero h1 {
    font-size: 1.7rem;
  }
  .inner-hero p {
    font-size: 0.95rem;
  }
  .cta-box h2 {
    font-size: 1.5rem;
  }
  .section-title h2 {
    font-size: 1.8rem;
  }
  .service-card {
    padding: 25px;
  }
  .gallery-card img {
    aspect-ratio: 4/3;
    object-fit: cover;
  }
  /* Prevent images from breaking layout */
  .service-main-content img,
  .portfolio-img img {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .inner-hero {
    padding: 40px 0 30px;
  }
  .section-padding {
    padding: 50px 0;
  }
}

