/* Mobikasa Essential Designs & Utility Framework */
:root {
  /* Loading Screen */
  --loader-bg: #0033A0;
  --loader-bar: #D70015;

  /* Color Palette */
  --color-white: #FFFFFF;
  --color-off-white: #F8F9FA;
  --color-primary: #0033A0;
  --color-accent: #D70015;
  --color-text-dark: #111111;
  --color-text-light: #555555;
  
  /* Typography */
  --font-heading: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  
  /* Transitions */
  --transition-smooth: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-hover: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Loading Screen */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-white); /* Clean Minimalist White */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.5s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.5s;
}

.loader-wrapper.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.loader-logo {
  width: clamp(180px, 20vw, 300px);
  height: auto;
  margin-bottom: 3rem;
  animation: pulse 2s infinite ease-in-out;
}

.loader-bar-container {
  width: 240px;
  height: 2px;
  background-color: rgba(0, 0, 0, 0.05); /* Darker for white bg */
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.loader-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: var(--color-accent);
  animation: load 0.8s cubic-bezier(0.65, 0.05, 0.36, 1) forwards;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(0.98); }
}

@keyframes load {
  0% { width: 0%; }
  70% { width: 80%; }
  100% { width: 100%; }
}

/* Reset & Defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* Focus States (ADA Compliance) */
*:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 2rem);
}

.section-padding {
  padding: clamp(2.5rem, 6vw, 7rem) 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 1rem;
  border-radius: 4px;
  transition: all var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
}

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

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

.btn-secondary:hover {
  background-color: var(--color-white);
  color: var(--color-text-dark);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 30px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1440px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
}

.header-logo-img {
  height: 180px;
  width: auto;
  display: block;
  margin-top: -68px;
  margin-bottom: -52px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
  transition: height var(--transition-smooth);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-text-dark);
}

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

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 2rem 2rem;
  background-color: var(--color-text-dark);
  color: var(--color-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 51, 160, 0.4) 0%, rgba(17, 17, 17, 0.8) 100%);
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-slogan {
  display: block;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  opacity: 0; /* Hidden for typewriter effect */
}

.hero p {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
}

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

/* Services Section */
.reviews-section {
  background-color: #f9f9f9; /* Subtle separation from white footer */
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.section-header {
  margin-bottom: 4rem;
  max-width: 700px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.section-header p {
  font-size: 1.25rem;
  color: var(--color-text-light);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

/* Service Card */
.service-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-hover);
}

.service-card:hover .card-image-wrapper img {
  transform: scale(1.05);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  padding: 2rem;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card-content p {
  color: var(--color-text-light);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.card-cta {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
  display: inline-block;
  align-self: flex-start;
  font-size: 1.125rem;
}

.card-cta:hover {
  color: var(--color-accent);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.about-content p {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.about-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
}

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

/* Why Choose Us */
.why-choose-us {
  background-color: var(--color-off-white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.benefit-card {
  background-color: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-img {
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.benefit-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.benefit-text {
  padding: 2rem;
  background-color: var(--color-white);
  flex-grow: 1;
}

.benefit-text h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.benefit-text p {
  color: var(--color-text-light);
}

/* Featured Projects Carousel */
.portfolio-section {
  background-color: var(--color-white);
  padding: clamp(3rem, 6vw, 6rem) 0;
  overflow: hidden;
}

.projects-carousel-wrapper {
  position: relative;
  /* Removed extra margin-top since section-header already has margin-bottom */
}

.projects-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 2rem;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.projects-track::-webkit-scrollbar {
  display: none;
}

.project-card {
  flex: 0 0 clamp(280px, 40vw, 450px);
  height: clamp(380px, 55vw, 550px);
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.project-img-slideshow,
.about-image-slideshow {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.about-image-slideshow {
  position: relative;
  border-radius: 8px;
  aspect-ratio: 4/3;
}

.slideshow-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  transform: scale(1.05);
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slideshow-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.dot.active {
  background-color: var(--color-white);
  width: 24px;
  border-radius: 4px;
}

.project-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.8) 100%);
  pointer-events: none;
}

.project-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  pointer-events: none;
}

.project-content * {
  pointer-events: auto;
}

.project-title {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.project-desc {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-body);
  font-size: 0.95rem;
  max-width: 90%;
}

.project-arrow-btn {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background-color: var(--color-primary); /* Tjay Motors Blue */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: transform var(--transition-smooth), background-color var(--transition-smooth);
}

.project-arrow-btn:hover {
  transform: scale(1.1);
  background-color: var(--color-accent); /* Hover to Red */
}

.project-arrow-btn svg {
  width: 20px;
  height: 20px;
}

/* Nav Area Below Carousel */
.projects-nav-area {
  margin-top: 2.5rem;
}

.projects-progress-bar {
  width: 100%;
  height: 2px; /* Thinner, more premium */
  background-color: rgba(0, 51, 160, 0.1); /* Light Tjay Blue */
  position: relative;
  overflow: hidden;
}

.projects-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 25%; /* Initial width for 1 of 4 */
  background-color: var(--color-primary); /* Tjay Blue */
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.projects-controls-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.projects-counter {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
}

.projects-next-btn {
  width: 40px;
  height: 40px;
  background-color: transparent;
  border: 1px solid rgba(0, 51, 160, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.projects-next-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .project-card {
    flex: 0 0 85vw;
    height: clamp(320px, 70vw, 420px);
  }
  .project-content {
    padding: 1.25rem;
  }
  .project-arrow-btn {
    bottom: 1.25rem;
    right: 1.25rem;
  }
}

/* Luxury Magazine Portfolio */
.luxury-portfolio-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.luxury-slider {
  position: relative;
  height: 600px;
  margin-top: 4rem;
}

.luxury-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
  transform: translateX(50px);
}

.luxury-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.luxury-image-frame {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  background-color: var(--color-white);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.luxury-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.luxury-number {
  position: absolute;
  top: -2rem;
  right: -2rem;
  font-family: 'Clash Display', sans-serif;
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(0, 51, 160, 0.05);
  pointer-events: none;
  z-index: -1;
}

.luxury-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.luxury-tag {
  font-family: 'Satoshi', monospace;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  margin-bottom: 2rem;
}

.luxury-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-family: 'Clash Display', sans-serif;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: 2.5rem;
}

.luxury-divider {
  width: 60px;
  height: 2px;
  background-color: var(--color-accent);
  margin-bottom: 2.5rem;
}

.luxury-desc {
  font-size: 1.25rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 450px;
}

.luxury-cta {
  font-family: 'Clash Display', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: gap 0.3s ease;
}

.luxury-cta:hover {
  gap: 1.5rem;
}

.luxury-cta::after {
  content: '→';
  font-size: 1.5rem;
}

.luxury-controls {
  margin-top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.luxury-progress-wrapper {
  width: 100%;
  height: 2px;
  background-color: rgba(0, 0, 0, 0.05);
  position: relative;
}

.luxury-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: var(--color-primary);
  transition: width 0.1s linear;
}

.luxury-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.luxury-nav-btn {
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  color: var(--color-primary);
  transition: all 0.3s ease;
}

.luxury-nav-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.luxury-counter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Clash Display', sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-primary);
}

.counter-sep {
  color: rgba(0, 0, 0, 0.1);
}

@media (max-width: 1100px) {
  .luxury-slide {
    grid-template-columns: 1fr;
    height: auto;
    gap: 3rem;
  }
  
  .luxury-slider {
    height: auto;
  }
  
  .luxury-slide {
    position: relative;
    display: none;
    transform: none;
  }
  
  .luxury-slide.active {
    display: flex;
  }
  
  .luxury-image-frame {
    height: 400px;
  }
  
  .luxury-number {
    font-size: 5rem;
    top: -1.5rem;
    right: -1.5rem;
  }
}

@media (max-width: 768px) {
  .luxury-title {
    font-size: 2.5rem;
  }
  
  .luxury-image-frame {
    height: 300px;
  }
}

/* Google Reviews Section */
.google-rating-summary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background-color: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 4rem;
}

.google-logo svg {
  display: block;
}

.rating-info h3 {
  font-size: 1.5rem;
  color: var(--color-text-dark);
  margin-bottom: 0.25rem;
}

.rating-info h3 span {
  color: #4285F4;
  font-weight: 700;
}

.google-stars-main {
  color: #F4B400; /* Google Gold */
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.rating-info p {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.google-reviews-marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 1rem 0;
}

.google-reviews-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: google-review-scroll 35s linear infinite;
}

.google-reviews-track:hover {
  animation-play-state: paused;
}

@keyframes google-review-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 0.75rem)); }
}

.google-review-card {
  width: 320px; /* More compact */
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1rem;
  position: relative;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  background-color: #e8eaed;
  color: #bdc1c6;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.reviewer-avatar svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.reviewer-meta {
  flex-grow: 1;
}

.reviewer-name {
  font-weight: 600;
  color: var(--color-text-dark);
  font-size: 0.9375rem;
  line-height: 1.2;
}

.review-time {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 2px;
}

.google-g-icon {
  position: absolute;
  top: 0;
  right: 0;
}

.google-stars {
  color: #F4B400;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.review-text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-dark);
}

@media (max-width: 768px) {
  .google-review-card {
    width: 280px;
  }
}

/* Footer */
.site-footer {
  background-color: var(--color-white);
  color: var(--color-text-dark);
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05); /* Clean line separation */
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.footer-col h4 {
  font-size: 1.125rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  color: var(--color-primary);
}

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

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

.footer-col ul li a {
  color: var(--color-text-light);
  transition: color 0.3s ease;
}

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

.footer-col p {
  color: var(--color-text-light);
  line-height: 1.7;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  height: 80px;
  display: block;
}

.miaz-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.miaz-status {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 0.5rem;
  font-weight: 500;
}

/* About Section Credentials */
.about-credentials {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.miaz-tag {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.miaz-tag span {
  font-size: 0.9rem;
  color: var(--color-text-light);
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .about-credentials,
  .miaz-tag {
    align-items: center;
    text-align: center;
  }
}

/* Grouped Brand Logos (Footer) */
.miaz-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.miaz-status {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 0.5rem;
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 2rem;
  text-align: center;
  color: var(--color-text-light);
  font-size: 0.875rem;
}

/* Motion Profile - Reveal Classes — overridden by inline <style> */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive Overrides */
@media (max-width: 768px) {
  .header-logo-img {
    height: 120px;
    margin-top: -39px;
    margin-bottom: -31px;
  }
  
  .about-section {
    position: relative;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .about-image {
    display: none;
  }

  .header-container {
    padding: 1rem;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .main-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background-color: var(--color-white);
    padding-top: 5rem;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease-in-out;
  }

  .main-nav.active {
    right: 0;
  }
  
  .main-nav .nav-link {
    margin-bottom: 1rem;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
  }
  
  .hero-content {
    padding-left: 0;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .prev-btn { left: 10px; }
  .next-btn { right: 10px; }
}

/* ===============================================================
   GLOBAL POLISH — PREMIUM MICRO-INTERACTIONS & ENHANCEMENTS
   =============================================================== */

/* ── Staggered reveal children ── */
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

/* ── Enhanced section headers ── */
.section-header h2 {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a4fc4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Service card polish ── */
.service-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}
.card-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card:hover .card-image-wrapper::after { opacity: 1; }
.card-cta {
  position: relative;
  padding-bottom: 2px;
}
.card-cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-primary);
  transition: width 0.35s cubic-bezier(0.25,1,0.5,1);
}
.card-cta:hover::after { width: 100%; }

/* ── Benefit card polish ── */
.benefit-card {
  border: 1px solid rgba(0,0,0,0.04);
}
.benefit-img {
  overflow: hidden;
}
.benefit-img img {
  transition: transform 0.6s cubic-bezier(0.25,1,0.5,1);
}
.benefit-card:hover .benefit-img img { transform: scale(1.06); }

/* ── About image slideshow polish ── */
.about-image-slideshow {
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
  overflow: hidden;
}

/* ── Portfolio section polish ── */
.portfolio-section .section-header { margin-bottom: 2rem; }

.project-card {
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.45s cubic-bezier(0.25,1,0.5,1),
              box-shadow 0.45s cubic-bezier(0.25,1,0.5,1);
}
.project-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 50px rgba(0,0,0,0.14);
}
.project-info {
  transform: translateY(8px);
  transition: transform 0.4s cubic-bezier(0.25,1,0.5,1);
}
.project-card:hover .project-info { transform: translateY(0); }

.project-arrow-btn svg {
  transition: transform 0.35s cubic-bezier(0.25,1,0.5,1);
}
.project-arrow-btn:hover svg { transform: translateX(4px); }

/* ── Slideshow dot glow ── */
.dot.active {
  box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

/* ── Reviews marquee fade edges ── */
.google-reviews-marquee::before,
.google-reviews-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.google-reviews-marquee::before {
  left: 0;
  background: linear-gradient(to right, #f9f9f9, transparent);
}
.google-reviews-marquee::after {
  right: 0;
  background: linear-gradient(to left, #f9f9f9, transparent);
}
.google-review-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.google-review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

/* ── Footer link underlines ── */
.footer-col ul li a {
  position: relative;
  padding-bottom: 1px;
}
.footer-col ul li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}
.footer-col ul li a:hover::after { width: 100%; }

/* ── Button shimmer on hover ── */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.25,1,0.5,1);
}
.btn:hover::after { transform: translateX(0); }

/* ── Progress bar gradient ── */
.projects-progress-fill {
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-primary), #3a6cff);
}

/* ── Hero heading shadow ── */
.hero h1 { text-shadow: 0 2px 20px rgba(0,0,0,0.3); }

/* ── Focus state improvement ── */
*:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ── Smooth page-entry fade ── */
body {
  animation: pageFade 0.4s ease both;
}
@keyframes pageFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ===============================================================
   CONTACT SECTION
   =============================================================== */

.contact-section {
  background: var(--color-off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
  align-items: start;
}

/* Form Side */
.contact-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 32px rgba(0,0,0,0.07);
}

.contact-form-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-text-dark);
  margin-bottom: 1.5rem;
}

.contact-form-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 0.9rem;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-dark);
  background: #fafafa;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0,51,160,0.08);
  background: #fff;
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.email-input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.email-direct-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.email-direct-link:hover { color: var(--color-accent); }

.btn-full {
  width: 100%;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  margin-top: 0.25rem;
  font-size: 0.9rem;
}

/* Branch Cards */
.branch-cards {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.branch-card {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: var(--color-off-white);
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.06);
}

.branch-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-top: 0.1rem;
}

.branch-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.branch-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.branch-addr {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.4;
}

.branch-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.branch-phones a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.branch-phones a:hover { color: var(--color-accent); }

/* Map Side */
.map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,0.1);
  background: #fff;
  display: flex;
  flex-direction: column;
}

.map-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.2rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-heading);
}

.google-map-frame {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}

.map-footer {
  padding: 0.9rem 1.2rem;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.map-directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.map-directions-btn:hover { color: var(--color-accent); }

/* ===============================================================
   SERVICE REQUEST MODAL
   =============================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.25,1,0.5,1);
}

.modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--color-off-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-dark);
  transition: background 0.2s, color 0.2s;
}

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

.modal-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}

.modal-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary), #1a4fc4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-text-dark);
  margin: 0 0 0.2rem 0;
}

.modal-header p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin: 0;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.modal-send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.modal-send-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  filter: brightness(1.05);
}

.whatsapp-btn {
  background: #25D366;
  color: #fff;
}

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

/* Responsive */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .modal-actions { grid-template-columns: 1fr; }
  .google-map-frame { height: 260px; }
}
