* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

body {
  font-family: "Inter", sans-serif;
  background: #f5f5f5;
  color: #111;
}
/* CONTAINER */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* HEADER */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  padding: 20px 0;
  z-index: 1000;
}

body {
  padding-top: 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo img {
  height: 45px;
}

/* NAV */
.nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  background: #f0f0f0;
  padding: 12px 25px;
  border-radius: 40px;
}

.nav a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #222;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 20px;
  transition:
    color 0.3s ease,
    transform 0.25s ease;
  z-index: 1;
}
.nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(90deg, #6a5cff, #8b7dff);
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.3s ease;
  z-index: -1;
  filter: blur(6px);
}
.nav a:hover::before {
  opacity: 1;
  transform: scale(1);
}

.nav a:hover {
  color: #fff;
  transform: translateY(-2px);
}

.nav a.active::before {
  opacity: 1;
  transform: scale(1);
}

.nav a.active {
  color: #fff;
}

/* CTA */
.btn {
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
}

.btn.dark {
  background: black;
  color: white;
}

.btn.primary {
  background: linear-gradient(90deg, #6a5cff, #8b7dff);
  color: white;
}

.btn.outline {
  border: 1px solid #6a5cff;
  color: #6a5cff;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("img/hero.webp");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  padding: 120px 0 80px;
  overflow: hidden;
}



.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 40px;
}

/* TEXT */
.tag {
  color: #6a5cff;
  font-size: 12px;
  font-weight: 600;
}

.hero h1 {
  font-size: 48px;
  font-weight: 450;
  margin: 10px 0;
}

.hero h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.gradient-text {
  background: linear-gradient(90deg, #6a5cff, #8b7dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  color: #555;
  max-width: 500px;
  margin-bottom: 20px;
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  gap: 15px;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  position: relative;
  z-index: 1100;
  transition: transform 0.3s ease;
}

.hamburger.active {
  position: fixed;
  top: 25px;
  right: 20px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: black;
  border-radius: 3px;
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* MOBILE */
@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    background: #ffffff;
    height: 100vh;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 80px 40px;
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    display: block;
  }

  .nav ul {
    flex-direction: column;
    background: none;
    padding: 0;
  }

  .nav.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 100vh;
    padding: 120px 0 60px;
    text-align: center;
    background-position: right;
    display: flex;
    align-items: center;
  }

  .hero::before {
    background: rgba(255, 255, 255, 0.65);
  }

  .hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero h1 {
    font-size: 32px;
    margin: 10px 0;
    line-height: 1.2;
  }

  .hero h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .hero p {
    margin: 0 auto 25px;
    font-size: 15px;
  }

  .hero-buttons {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }
  .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.45);
  z-index: 1;
}
}

/* ===============================
   OUR STORY SECTION
=============================== */
.our-story {
  padding: 100px 0;
  background: #ffffff;
  overflow: hidden;
}

.text-center {
  text-align: center;
}

.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 600;
  margin: 10px 0;
  color: #111;
}

.section-header .subtitle {
  font-size: 18px;
  color: #666;
}

.story-path-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 0;
}

.story-path-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.story-nodes {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.story-node {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
}

.story-node.left {
  justify-content: space-between;
}

.story-node.right {
  justify-content: space-between;
}

.story-image {
  width: 42%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.story-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.8) rotate(-5deg);
  filter: blur(20px);
  clip-path: polygon(
    20% 30%,
    40% 10%,
    60% 40%,
    80% 20%,
    90% 50%,
    70% 80%,
    50% 60%,
    30% 90%,
    10% 70%
  );
  transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
  transition-delay: 0.3s;
}

.is-visible .story-image img {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  filter: blur(0);
  clip-path: polygon(
    0% 0%,
    50% 0%,
    100% 0%,
    100% 50%,
    100% 100%,
    50% 100%,
    0% 100%,
    0% 50%,
    0% 0%
  );
}

.node-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: #fff;
  border: 3px solid #6a5cff;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(106, 92, 255, 0.6);
  z-index: 2;
  transition: all 0.3s ease;
}

.story-node:hover .node-dot {
  transform: translate(-50%, -50%) scale(1.3);
  box-shadow: 0 0 20px rgba(106, 92, 255, 0.9);
  background: #f8f7ff;
}

.story-card {
  width: 42%;
  background: #fff;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.story-node:hover .story-card {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(106, 92, 255, 0.1);
}

.step-num {
  font-size: 64px;
  font-weight: 800;
  color: rgba(106, 92, 255, 0.05);
  position: absolute;
  top: 15px;
  right: 25px;
  line-height: 1;
  user-select: none;
}

.story-node.left .step-num {
  right: 25px;
  left: auto;
}
.story-node.right .step-num {
  left: 25px;
  right: auto;
}

.card-content {
  position: relative;
  z-index: 2;
}

.card-content p {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
}
.card-content p:last-child {
  margin-bottom: 0;
}

.card-content ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.card-content ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: #444;
  font-size: 15px;
  line-height: 1.5;
}
.card-content ul li::before {
  content: "•";
  color: #6a5cff;
  font-weight: bold;
  font-size: 20px;
  position: absolute;
  left: 0;
  top: -2px;
}

.story-card.gradient-card {
  background: linear-gradient(135deg, #faf9ff 0%, #ffffff 100%);
  border: 1px solid rgba(106, 92, 255, 0.15);
  box-shadow: 0 15px 35px rgba(106, 92, 255, 0.08);
}

.story-card.gradient-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #6a5cff, #8b7dff);
}

.highlight-text {
  font-size: 18px !important;
  color: #222 !important;
  margin-top: 25px !important;
}
.highlight-text strong {
  color: #6a5cff;
  display: block;
  margin-top: 5px;
}

/* ===============================
   VISION & MISSION SECTION
=============================== */
.vision-mission {
  padding: 40px 0 100px;
  background: #ffffff;
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.vm-card {
  background: #fafafa;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #f0f0f0;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.vm-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.04);
}

.vm-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, #6a5cff, #8b7dff);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 25px;
  box-shadow: 0 8px 20px rgba(106, 92, 255, 0.3);
}

.vm-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #111;
  font-weight: 600;
}

.vm-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vm-card ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 15px;
  color: #555;
  font-size: 16px;
  line-height: 1.5;
}

.vm-card ul li::before {
  content: "✓";
  color: #6a5cff;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
  background: rgba(106, 92, 255, 0.1);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
}

/* ===============================
   ANIMATIONS
=============================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.story-node:nth-child(even) .story-card {
  transition-delay: 0.1s;
}

/* ===============================
   RESPONSIVE OVERRIDES
=============================== */
@media (max-width: 900px) {
  .story-card {
    width: 45%;
  }
}

@media (max-width: 768px) {
  .story-nodes {
    gap: 60px;
  }

  .story-node {
    flex-direction: column;
    align-items: flex-end;
    gap: 30px;
  }

  .story-node.left,
  .story-node.right {
    justify-content: flex-end;
  }

  .story-card,
  .story-image {
    width: 85%;
  }

  .story-image {
    order: -1; /* Keep image above card on mobile for consistency */
  }

  .story-image img {
    max-height: 250px;
  }

  .node-dot {
    left: 15px;
  }

  .story-node.left .step-num,
  .story-node.right .step-num {
    right: 20px;
    left: auto;
  }

  .vm-grid {
    grid-template-columns: 1fr;
  }

  .our-story,
  .vision-mission {
    padding: 60px 0;
  }
}

/* ===============================
   SERVICES SECTION
=============================== */
.services-section {
  padding: 100px 0;
  background: #f6f6fb;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.service-card {
  border-radius: 26px;
  padding: 30px 28px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
}

/* Background Colors */
.service-card.light-blue {
  background-color: #d8efff;
  color: #111827;
}
.service-card.light-yellow {
  background-color: #fff9c4;
  color: #111827;
}
.service-card.light-peach {
  background-color: #ffede5;
  color: #111827;
}
.service-card.dark {
  background-color: #111827;
  color: #ffffff;
}

/* Icons */
.service-icon {
  font-size: 28px;
  margin-bottom: 18px;
  line-height: 1;
}
.service-icon.purple {
  color: #8b5cf6;
}
.service-icon.blue {
  color: #3b82f6;
}
.service-icon.teal {
  color: #14b8a6;
}
.service-icon.orange {
  color: #f97316;
}
.service-icon.pink {
  color: #ec4899;
}
.service-icon.green {
  color: #22c55e;
}

.service-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.25;
}

.service-card p {
  font-size: 13.5px;
  line-height: 1.65;
  margin-bottom: 16px;
  flex-grow: 1;
}

.service-card.dark p {
  color: #9ca3af;
}
.service-card:not(.dark) p {
  color: #374151;
}

.learn-more {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card.dark .learn-more {
  color: #8b7dff;
}
.service-card:not(.dark) .learn-more {
  color: #6a5cff;
}

/* Featured Card (Card 7) */
.featured-card {
  grid-column: span 2;
  background-image: url("");
  background-size: cover;
  background-position: center right;
  border-radius: 26px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  color: #ffffff;
  min-height: 0;
}

.featured-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 14, 26, 0.97) 0%,
    rgba(10, 14, 26, 0.78) 55%,
    rgba(10, 14, 26, 0.1) 100%
  );
  z-index: 1;
}

.featured-content {
  position: relative;
  z-index: 2;
  padding: 32px 36px;
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #a78bfa;
  margin-bottom: 10px;
  display: block;
}

.featured-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
  color: #ffffff;
}

.featured-content h3 .highlight {
  color: #a78bfa;
}

.featured-content p {
  color: #cbd5e1;
  font-size: 13.5px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Responsiveness */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-card {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 60px 0;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .service-card {
    padding: 26px 22px;
    border-radius: 20px;
  }
  .featured-card {
    grid-column: span 1;
    min-height: 280px;
  }
  .featured-card::before {
    background: linear-gradient(
      to bottom,
      rgba(10, 14, 26, 0.55) 0%,
      rgba(10, 14, 26, 0.97) 65%
    );
  }
  .featured-content {
    width: 100%;
    padding: 28px 24px;
    justify-content: flex-end;
  }
  .featured-content h3 {
    font-size: 20px;
  }
}

.services-cta {
  margin-top: 50px;
}

.btn-outline-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 45px;
  border: 2px solid #6a5cff;
  border-radius: 50px;
  color: #111827;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-main i {
  color: #6a5cff;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.btn-outline-main:hover {
  background-color: #6a5cff;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(106, 92, 255, 0.2);
  transform: translateY(-2px);
}

.btn-outline-main:hover i {
  color: #ffffff;
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .btn-outline-main {
    padding: 14px 35px;
    font-size: 16px;
    width: 100%;
    justify-content: center;
  }
}
/* ===============================
   PROCESS SECTION
=============================== */
.process-section {
  padding: 100px 0;
  background: #ffffff;
  overflow: hidden;
}

.process-section h2 .highlight {
  color: #8b7dff;
}

.process-wrapper {
  position: relative;
  margin-top: 80px;
}

.process-line-desktop {
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #e5e7eb;
  z-index: 1;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

/* Small arrows between steps on desktop */
.process-step:not(:last-child)::after {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 31px;
  right: -8px;
  color: #9ca3af;
  font-size: 16px;
  z-index: 3;
}

.step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.process-step:hover .step-icon {
  transform: scale(1.15) rotate(5deg);
}

.step-icon.purple {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}
.step-icon.blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}
.step-icon.teal {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
}
.step-icon.orange {
  background: linear-gradient(135deg, #f97316, #ea580c);
}
.step-icon.violet {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.step-num {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.process-step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111;
}

.process-step p {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.6;
}

/* Responsiveness */
@media (max-width: 1024px) {
  .process-steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px 0;
  }
  .process-step {
    flex: 0 0 33.33%;
  }
  .process-line-desktop,
  .process-step::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .process-step {
    flex: 0 0 100%;
    text-align: left;
    display: flex;
    gap: 25px;
    padding: 0;
  }
  .step-icon {
    flex-shrink: 0;
    margin: 0;
    width: 64px;
    height: 64px;
    font-size: 24px;
  }
  .step-content {
    flex-grow: 1;
    padding-bottom: 40px;
  }
  .process-step:not(:last-child) .step-content {
    border-left: 2px solid #e5e7eb;
    margin-left: -57px; /* Align with center of icon */
    padding-left: 57px;
  }
  /* Simple vertical line for mobile */
  .process-wrapper::before {
    content: "";
    position: absolute;
    left: 31px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: #e5e7eb;
    z-index: 1;
  }
}

/* ===============================
   SMART LIVING SECTION
=============================== */
.smart-living-section {
  padding: 100px 0;
  background: #ffffff;
}

.smart-living-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.smart-content .tag {
  display: inline-block;
  margin-bottom: 15px;
  font-size: 12px;
  font-weight: 700;
  color: #8b7dff;
  letter-spacing: 1px;
}

.smart-content h2 {
  font-size: 42px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #111;
}

.smart-content h2 .highlight {
  color: #8b7dff;
}

.smart-content p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 90%;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 16px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 500;
}

.feature-list li i {
  color: #8b7dff;
  font-size: 20px;
}

.smart-image img {
  border-radius: 20px;
  width: 100%;
}

/* ===============================
   LOCATIONS / CTA SECTION
=============================== */
.locations-cta-section {
  background: #f8f9fa;
  padding: 80px 0;
}

.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.loc-left h2,
.loc-right h2 {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #111;
}

.loc-left h2 .highlight {
  color: #8b7dff;
}

.loc-left p,
.loc-right p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.loc-right p {
  margin-bottom: 25px;
}

.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111;
  font-weight: 500;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.link-cta i {
  color: #8b7dff;
  transition: transform 0.3s ease;
}

.link-cta:hover {
  color: #8b7dff;
}

.link-cta:hover i {
  transform: translateX(5px);
}

/* ===============================
   FOOTER
=============================== */
.site-footer {
  background: #0a0e17;
  color: #fff;
  padding: 80px 0 0 0;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  height: 35px;
  margin-bottom: 25px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 25px;
  max-width: 90%;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #6a5cff;
  color: #fff;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #fff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #fff;
}

.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer-contact ul li i {
  color: #6a5cff;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #6b7280;
}

.footer-bottom-links a {
  color: #6b7280;
  text-decoration: none;
  margin-left: 15px;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #fff;
}

/* ====================================================
   COMPREHENSIVE RESPONSIVE OVERRIDES
   Fixes overflow and layout for all sections
==================================================== */

/* --- Global fixes --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  overflow-x: hidden;
  width: 100%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

/* ========================
   1200px — Large Tablet
======================== */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-card {
    grid-column: span 2;
  }
  .story-path-container {
    max-width: 100%;
    padding: 50px 10px;
  }
}

/* ========================
   1024px — Tablet
======================== */
@media (max-width: 1024px) {
  .section-header h2 {
    font-size: 30px;
  }
  .story-card {
    width: 44%;
    padding: 26px;
  }
  .story-image {
    width: 44%;
  }
  .vm-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .process-steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px 0;
  }
  .process-step {
    flex: 0 0 33.33%;
  }
  .process-line-desktop,
  .process-step::after {
    display: none;
  }

  .smart-living-grid {
    gap: 30px;
  }
  .smart-content h2 {
    font-size: 32px;
  }
  .locations-grid {
    gap: 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* ========================
   768px — Mobile
======================== */
@media (max-width: 768px) {
  /* Section padding */
  .our-story,
  .vision-mission,
  .services-section,
  .process-section {
    padding: 60px 0;
  }

  /* Section header */
  .section-header {
    margin-bottom: 36px;
  }
  .section-header h2 {
    font-size: 26px;
    line-height: 1.3;
  }
  .section-header .subtitle {
    font-size: 15px;
  }

  /* --- STORY --- */
  .story-path-svg {
    display: none;
  }
  .story-path-container {
    padding: 20px 0;
  }
  .story-nodes {
    gap: 40px;
  }
  .story-node {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-left: 30px;
  }
  .story-node.left,
  .story-node.right {
    justify-content: flex-start;
  }
  .story-card,
  .story-image {
    width: 100%;
  }
  .story-image {
    order: -1;
  }
  .story-image img {
    max-height: 180px;
    margin: 0 auto;
  }
  .node-dot {
    left: 0;
    top: 12px;
    transform: translate(-50%, 0);
  }
  .story-card {
    padding: 22px 20px;
  }
  .story-node.left .step-num,
  .story-node.right .step-num {
    right: 12px;
    left: auto;
  }

  /* --- VISION MISSION --- */
  .vm-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .vm-card {
    padding: 24px 20px;
  }
  .vm-card h3 {
    font-size: 20px;
  }

  /* --- SERVICES (extra mobile polish) --- */
  .service-card h3 {
    font-size: 18px;
  }
  .service-card p {
    font-size: 13.5px;
  }
  .services-cta {
    margin-top: 32px;
  }
  .btn-outline-main {
    padding: 14px 30px;
    font-size: 16px;
    width: 100%;
    justify-content: center;
  }

  /* --- PROCESS --- */
  .process-wrapper {
    margin-top: 40px;
  }
  .process-steps {
    flex-direction: column;
    gap: 0;
  }
  .process-step {
    flex: 0 0 100%;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 0 0 36px 0;
    position: relative;
  }
  .process-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 31px;
    top: 64px;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
    z-index: 0;
  }
  .process-step:not(:last-child)::after {
    display: none;
  }
  .step-icon {
    flex-shrink: 0;
    margin: 0;
    width: 64px;
    height: 64px;
    font-size: 22px;
    position: relative;
    z-index: 1;
  }
  .step-content {
    flex-grow: 1;
    padding-top: 8px;
  }
  .process-step h3 {
    font-size: 18px;
    margin-bottom: 6px;
  }
  .process-step p {
    font-size: 14px;
  }
  .process-line-desktop {
    display: none;
  }
  .process-section h2 {
    font-size: 26px;
    line-height: 1.3;
  }

  /* --- SMART LIVING --- */
  .smart-living-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .smart-content h2 {
    font-size: 28px;
  }

  /* --- LOCATIONS CTA --- */
  .locations-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .loc-left h2,
  .loc-right h2 {
    font-size: 26px;
  }

  /* --- FOOTER --- */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .footer-bottom-links a {
    margin: 0 10px;
  }
}

/* ========================
   480px — Small Mobile
======================== */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  /* Hero */
  .hero h1 {
    font-size: 28px;
    margin: 10px 0;
  }
  .hero h2 {
    font-size: 20px;
  }
  .hero p {
    font-size: 14px;
  }
  .hero-buttons {
    width: 100%;
  }
  .btn {
    text-align: center;
    width: 100%;
    padding: 14px 20px;
  }

  /* Section headers */
  .section-header h2 {
    font-size: 22px;
  }
  .section-header .subtitle {
    font-size: 14px;
  }

  /* Story */
  .story-card {
    padding: 18px 16px;
  }

  /* Vision Mission */
  .vm-card {
    padding: 20px 16px;
  }
  .vm-card h3 {
    font-size: 18px;
  }

  /* Services */
  .service-card {
    padding: 20px 16px;
    border-radius: 18px;
  }
  .featured-content h3 {
    font-size: 20px;
  }
  .featured-content p {
    font-size: 13px;
  }

  /* Process */
  .step-icon {
    width: 54px;
    height: 54px;
    font-size: 18px;
  }
  .process-step:not(:last-child)::before {
    left: 27px;
  }
  .process-step h3 {
    font-size: 16px;
  }
  .process-step p {
    font-size: 13px;
  }

  /* Outline CTA button */
  .btn-outline-main {
    font-size: 15px;
    padding: 13px 24px;
  }

  /* New Sections */
  .smart-content h2 {
    font-size: 24px;
  }
  .loc-left h2,
  .loc-right h2 {
    font-size: 24px;
  }
}
