:root {
  --primary-color: #1a1a1a;
  /* Dark Black/Grey */
  --secondary-color: #c5a47e;
  /* Gold/Beige from reference */
  --text-color: #333;
  --light-bg: #f9f9f9;
  --white: #ffffff;
  --transition: all 0.3s ease;
  --font-heading: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;
  --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.12);

  /* Apple-Inspired Spacing System */
  --gap-mobile-side: 16px;
  /* 16px safe area */
  --gap-section-vertical: clamp(40px, 8vh, 80px);
  /* 12px visual, 40px structural */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--white);
  overflow-x: hidden;
  /* Prevent horizontal scroll globally */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.15;
}

h3 {
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.2;
}

h4 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  width: 94%;
  /* Compact Fluid Width */
  margin: 0 auto;
  padding: 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8em 2em;
  /* Fluid padding */
  background: var(--secondary-color);
  color: #ffffff;
  border: 2px solid var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: clamp(0.8rem, 1vw, 1rem);
  /* Fluid font size */
  cursor: pointer;
  transition: all 0.4s ease;
  border-radius: 4px;
  /* Slight radius for modern feel */
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: width 0.4s ease;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(197, 164, 126, 0.4);
  /* Gold Glow */
}

.btn:hover::before {
  width: 100%;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  /* Glass effect base */
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: var(--secondary-color);
  color: #ffffff;
  border-color: var(--secondary-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


.btn-sm {
  padding: 0.6em 1.5em;
  font-size: 0.8rem;
}

/* Header */
.header {
  background: var(--white);
  padding: clamp(12px, 2vh, 20px) 0;
  /* Compact Header */
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: padding 0.3s ease;
}

.header.scrolled {
  padding: 10px 0;
}

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

.logo h1 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  /* Fluid Logo */
  margin-bottom: 0;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: clamp(15px, 3vw, 35px);
  /* Compact gap */
}

.nav-links a {
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

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

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

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* Hero Slider */
.hero-slider {
  width: 100%;
  height: 65vh;
  /* Compact but substantial desktop height */
  min-height: 500px;
  /* Prevent being too short */
  position: relative;
  overflow: hidden;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Hero Slider Overlay */
.hero-slider .swiper-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Rich 3-stop gradient for depth */
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.3) 0%,
      rgba(0, 0, 0, 0.2) 40%,
      rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 1200px;
  /* Wider for desktop */
  width: 90%;
  /* Fluid width */
  margin: 0 auto;
  /* CENTER ALIGNMENT FIX */
  padding: 0;
}

.hero-content h2 {
  font-size: clamp(1.8rem, 5vw, 4rem);
  /* Balanced adaptive sizing */
  /* Major Fluid Heading */
  color: #ffffff;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(40px);
  /* Enhanced Text Shadow */
  text-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.8s ease 0.3s;
  font-weight: 700;
}

.swiper-slide-active .hero-content h2 {
  opacity: 1;
  transform: translateY(0);
}

.hero-content p {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  /* Readable compact paragraph */
  /* Fluid paragraph */
  margin-bottom: 35px;
  opacity: 0;
  transform: translateY(40px);
  font-weight: 300;
  /* Subtle shadow for legibility */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: all 0.8s ease 0.5s;
}

.swiper-slide-active .hero-content p {
  opacity: 1;
  transform: translateY(0);
}

.hero-btns {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease 0.7s;
}

.swiper-slide-active .hero-btns {
  opacity: 1;
  transform: translateY(0);
}

/* Sections */
.section {
  padding: clamp(40px, 5vh, 70px) 0;
  /* Compact Section Padding */
}

.section-header {
  text-align: center;
  margin-bottom: clamp(25px, 4vh, 40px);
  /* Compact Header Spacing */
}

.section-header h4 {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  /* Fluid small heading */
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  /* Adaptive H2 */
  position: relative;
  display: inline-block;
}


/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4vw, 50px);
  /* Compact Gap */
  align-items: center;
}

.about-img {
  position: relative;
  border-radius: 12px;
  overflow: visible;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.about-img:hover {
  transform: scale(1.02);
  /* Subtle zoom */
}

.about-img img {
  border-radius: 12px;
  width: 100%;
  display: block;
}

.exp-badge {
  position: absolute;
  bottom: -20px;
  /* Slight overlap */
  right: -20px;
  background: var(--primary-color);
  color: var(--white);
  padding: 15px 25px;
  /* Compact Padding */
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--white);
  border-radius: 4px;
  z-index: 2;
}

.exp-badge h3 {
  color: var(--secondary-color);
  margin-bottom: 5px;
  line-height: 1;
}

.exp-badge p {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.service-card {
  background: var(--white);
  padding: 32px 22px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

/* Animated bottom accent */
.service-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg,
      var(--secondary-color),
      var(--primary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

/* Hover effect */
.service-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.02);
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* Icon styling */
.service-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 18px;
  transition:
    transform 0.35s ease,
    color 0.35s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-2deg);
  color: var(--primary-color);
}


/* Filterable Gallery */
.filter-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 8px 0;
  color: #888;
  transition: var(--transition);
  position: relative;
}

.filter-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.filter-btn.active::after,
.filter-btn:hover::after {
  width: 100%;
}

.filter-btn.active,
.filter-btn:hover {
  color: var(--secondary-color);
}

.gallery-grid {
  column-count: 3;
  column-gap: 20px;
  margin-bottom: 60px;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  cursor: pointer;
  break-inside: avoid;
  /* Prevent split across columns */
  margin-bottom: 20px;
  /* Spacing between items vertically */
  display: block;
  /* Helps with break-inside in some browsers */
  width: 100%;
}

.gallery-item img {
  width: 100%;
  height: auto;
  /* Allow natural height definition */
  display: block;
  transition: transform 0.5s ease;
}

#video-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  column-count: auto;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12.5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: #000;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--secondary-color);
}

.video-container iframe,
.video-container .video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  opacity: 0.9;
}

.video-container:hover img {
  transform: scale(1.1);
  opacity: 0.6;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  z-index: 2;
}

.play-btn i {
  color: white;
  font-size: 1.5rem;
  margin-left: 4px;
  /* Optical adjustment for play icon */
  transition: color 0.3s ease;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.video-container:hover .play-btn {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translate(-50%, -50%) scale(1.1);
  animation: pulse 1.5s infinite;
}

.video-container:hover .play-btn i {
  color: white;
}

/* Increased specificity to override global transition style */
.gallery-grid .gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.5s ease;
}

.gallery-item.portrait {
  grid-row: span 2;
  aspect-ratio: 9/16;
}

.gallery-item:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover img {
  transform: scale(1.05);
  /* Slightly more noticeable zoom */
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.4) 50%,
      transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #ffffff;
  text-align: left;
}

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

.gallery-overlay h3 {
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-bottom: 5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.gallery-overlay p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 0;
}

.gallery-item:hover .gallery-overlay h3,
.gallery-item:hover .gallery-overlay p {
  transform: none;
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.process-card {
  background: var(--white);
  padding: 40px 20px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid #eee;
  position: relative;
  overflow: hidden;
}

.process-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-color);
}

.process-card i {
  transition: var(--transition);
}

.process-card:hover i {
  transform: scale(1.1) rotate(5deg);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  padding: 50px;
  box-shadow: var(--shadow-lg);
}

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

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  background: #fcfcfc;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--secondary-color);
  background: var(--white);
  box-shadow: 0 0 10px rgba(197, 164, 126, 0.1);
}

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

/* Footer */
/* Footer */
.footer {
  background: #111;
  color: #aaa;
  padding: 60px 0 0;
  /* Reduced top padding */
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  /* Adjusted gap */
  margin-bottom: 50px;
}

.footer h3,
.footer h4 {
  color: #ffffff;
  margin-bottom: 20px;
  /* Reduced margin */
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer h3 {
  font-size: 1.5rem;
  /* Slightly larger for main title */
}

.footer ul li {
  margin-bottom: 12px;
  /* Optimized spacing */
}

.footer ul li a {
  transition: padding 0.3s ease, color 0.3s ease;
  display: inline-block;
  /* Better for padding transition */
}

.footer ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

/* Specific styling for Contact Info column (4th column) */
.footer-grid>div:nth-child(4) ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.footer-grid>div:nth-child(4) ul li i {
  margin-right: 0 !important;
  /* Override inline style */
  margin-top: 5px;
  /* Visual alignment with text */
  min-width: 20px;
  text-align: center;
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid #222;
  padding: 25px 0;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* Mobile Footer Adjustments */
@media (max-width: 768px) {
  .footer {
    padding: 50px 0 0;
    text-align: left;
    /* Clean left alignment for mobile */
  }

  .footer-grid {
    grid-template-columns: 1fr;
    /* Stack vertically */
    gap: 40px;
    margin-bottom: 40px;
  }

  .footer h3,
  .footer h4 {
    margin-bottom: 15px;
  }
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

.delay-400 {
  transition-delay: 0.4s;
}

/* Responsive */
/* Sticky Header Scroll Fix */
html {
  scroll-padding-top: 100px;
  /* Global fix for sticky header overlap */
}

/* Mobile Responsive */
@media (max-width: 768px) {

  /* Mobile Alignment Fixes */
  .section-header,
  .about-text,
  .footer-grid,
  .footer-grid h4,
  .footer-grid p,
  .footer-grid ul,
  .service-card,
  .hero-content {
    text-align: center !important;
    /* Force center alignment on mobile */
  }

  /* Center Buttons */
  .btn,
  .about-text .btn {
    margin: 0 auto;
    display: table;
    /* Trick to center inline-block with auto margin */
  }

  /* Center Lists (About & Footer) */
  .about-text ul,
  .footer-grid ul {
    display: inline-block;
    text-align: left;
    /* Keep list items readable */
    margin: 20px auto;
    padding: 0;
  }

  .about-text ul li {
    justify-content: flex-start;
    /* Icon next to text */
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }

  /* Ensure Hero Buttons Center properly */
  .hero-btns .btn {
    display: inline-block;
    /* Reset from table if needed contextually */
  }

  .header-container {
    flex-direction: row;
    /* Changed from column to row for mobile header */
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-wrap: wrap;
    /* Fix: allow items to wrap */
  }

  .logo h1 {
    font-size: 1.5rem;
    /* Smaller logo for mobile */
  }

  .nav-menu {
    width: 100%;
    order: 3;
    /* Ensure menu drops down below */
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    /* Remove gap for cleaner border separation */
    margin-top: 15px;
    background: var(--white);
    padding: 0;
    border-top: 1px solid #eee;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    position: absolute;
    /* Absolute positioning for overlay */
    left: 0;
    top: 70px;
    /* Adjust based on header height */
    z-index: 1000;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid #f5f5f5;
  }

  .nav-links a {
    display: block;
    padding: 18px 25px;
    width: 100%;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    position: static;
    /* Reset absolute positioning */
  }

  /* Fix About Badge Overflow */
  /* Fix About Badge Overflow */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    /* Tighter gap */
    margin-bottom: 20px;
  }

  .about-img {
    width: 100%;
    margin-bottom: 10px;
  }

  /* Floating Overlay Badge (Mobile) */
  .exp-badge {
    position: absolute;
    /* Float it */
    bottom: -15px;
    /* Overlap bottom */
    right: 10px;
    /* Tuck inside right edge */
    margin: 0;
    display: block;
    width: auto;
    padding: 10px 20px;
    /* Small & Compact */
    border-width: 2px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }

  .exp-badge h3 {
    font-size: 1.5rem;
    /* Smaller number */
    margin-bottom: 0;
  }

  .exp-badge p {
    font-size: 0.7rem;
    /* Tiny text */
    letter-spacing: 0.5px;
  }

  .exp-badge h3 {
    font-size: 2rem;
    /* Smaller text on mobile */
  }

  .about-text {
    text-align: center;
    /* Center align all text */
    padding: 0 10px;
  }

  .about-text h2 {
    font-size: 2rem;
    /* Apple-standard mobile heading */
  }

  /* Compact Mobile Vertical Spacing */
  .section {
    padding: 30px 0;
    /* Tighter padding for mobile */
  }

  .section-header {
    margin-bottom: 20px;
  }

  /* REORDERING MAGIC: Header -> Image -> Text */
  .about-text {
    display: contents;
    /* Unbox the children so they join the main grid */
  }

  /* HEADERS (Order 1) */
  .about-text h4 {
    order: 1;
    text-align: center;
    margin-bottom: 10px;
    width: 100%;
    grid-column: 1 / -1;
    /* Full width */
  }

  .about-text h2 {
    order: 2;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    width: 100%;
    grid-column: 1 / -1;
  }

  /* IMAGE (Order 3: After headers, before text) */
  .about-img {
    order: 3;
    width: 100%;
    margin-bottom: 20px;
    grid-column: 1 / -1;
  }

  /* DESCRIPTION & CONTENT (Order 4) */
  .about-text p {
    order: 4;
    text-align: center;
    padding: 0 10px;
    grid-column: 1 / -1;
  }

  .about-text ul,
  .stats-row,
  .about-text .btn {
    order: 5;
    grid-column: 1 / -1;
    /* Ensure they stay full width */
  }

  .about-text ul {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px 15px;
    /* Tighter row gap */
    margin: 15px 0 20px !important;
    padding: 0 5px;
    text-align: left !important;
  }

  /* Override inline styles for stats row */
  .stats-row {
    gap: 20px !important;
    /* Reduce 40px gap */
    margin-bottom: 20px !important;
    justify-content: flex-start;
    /* Align left with text */
  }

  .about-text ul li {
    font-size: 0.85rem;
    /* Compact text */
    justify-content: flex-start;
    padding: 0;
    margin: 0 !important;
  }

  /* Premium Pill Button (Correct Selector) */
  .about-text .btn {
    display: block;
    width: 100%;
    /* Full width touch target */
    border-radius: 50px;
    /* Pill shape */
    padding: 14px 20px;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(26, 26, 26, 0.2);
    margin: 10px auto 0;
    text-align: center;
  }

  /* Hero - Mobile Optimization (Banner Style - Touch Friendly) */
  .hero-slider {
    min-height: 380px;
    /* Reduced min-height */
    height: auto;
    padding-bottom: 0;
    /* Remove padding causing whitespace */
  }

  .swiper-wrapper {
    height: 100%;
    /* Fill container */
  }

  .swiper-slide {
    height: auto;
    min-height: 380px;
    /* Match container min-height */
    /* Ensure background covers full height */
    background-size: cover;
    background-position: center;
  }

  .hero-content {
    padding: 0 var(--gap-mobile-side);
    /* 16px Safe Area */
    margin-top: 0;
  }

  .hero-content h2 {
    font-size: 2rem;
    /* Exact 32px (Apple Standard) */
    line-height: 1.1;
    margin-bottom: 12px;
    /* 12px Gap */
  }

  .hero-content p {
    font-size: 0.9rem;
    /* Small but readable */
    padding: 0;
    margin-bottom: 25px;
    max-width: 100%;
  }

  /* Button Optimization for Mobile (Side-by-Side) */
  .hero-btns {
    display: flex;
    flex-direction: row;
    /* Side by side */
    justify-content: center;
    gap: 10px;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
    /* Allow wrap on very small screens */
  }

  .hero-btns .btn {
    width: auto;
    /* Nature width */
    max-width: none;
    padding: 10px 20px;
    /* Compact padding */
    font-size: 0.85rem;
    display: inline-block;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  /* Footer Mobile Enhancements */
  .footer-grid {
    grid-template-columns: 1fr;
    /* Stack footer columns */
    text-align: center;
    gap: 40px;
  }

  .footer-grid>div:nth-child(4) ul li {
    justify-content: center;
    /* Center contact icons */
  }

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

/* Floating Buttons */
.float-btn {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.float-btn:hover {
  transform: scale(1.1);
}

.whatsapp-float {
  right: 40px;
}

.call-float {
  right: 110px;
}

/* Image Loader */
.img-wrapper {
  position: relative;
  overflow: hidden;
  background: transparent;
  min-height: 200px;
  /* Default min-height */
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--secondary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 1;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.img-loaded .img-loader {
  display: none;
}

.img-loaded img {
  opacity: 1;
}


/* Targeted Image Loading */
.product-image img,
.gallery-item img {
  opacity: 0;
  /* Hidden by default until loaded */
  transition: opacity 0.5s ease;
}

/* Stats Strip */
.stats-strip {
  box-shadow: var(--shadow-lg);
}

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

/* Feature Items */
.feature-item {
  transition: var(--transition);
  padding: 20px;
  border-radius: 10px;
}

.feature-item:hover {
  background: var(--light-bg);
  transform: translateX(10px);
}

/* Responsive Adjustments for About Page */
@media (max-width: 768px) {
  .page-header h2 {
    font-size: 2.5rem !important;
  }

  .stats-grid-strip {
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
  }

  .about-grid {
    gap: 40px !important;
  }

  .cta-section h2 {
    font-size: 2rem !important;
  }
}

/* Timeline Section */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 2px;
  background-color: var(--secondary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
  box-sizing: border-box;
}

.timeline-item::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--white);
  border: 4px solid var(--secondary-color);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.left {
  left: 0;
}

.right {
  left: 50%;
}

.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
}

.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

.right::after {
  left: -10px;
}

.timeline-content {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Trusted Partners */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  align-items: stretch;
  margin-top: 40px;
}

.partner-item {
  background: transparent;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  width: 200px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: white;
}

.partner-item:hover {
  transform: translateY(-5px);
}

.partner-img-wrapper {
  height: 100px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  overflow: hidden;
  /* Removed 'background: blue' so the logo sits on your site's natural background */
  background: transparent;
  mix-blend-mode: normal;
}

.partner-img-wrapper.no-img::before {
  content: "\f1ad";
  /* building icon or similar */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 3rem;
  color: transparent;
}

.partner-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: var(--transition);
  /* Remove mix-blend-mode if you want the original blue/red colors to show correctly */
  mix-blend-mode: normal;
  background: transparent;
}

.partner-item:hover img {
  opacity: 1;
}

.partner-item h4 {
  font-size: 1rem;
  margin-bottom: 0;
  color: var(--primary-color);
  font-weight: 600;
}

/* Leadership Card */
.leadership-card {
  background: var(--white);
  padding: 30px;
  border-left: 4px solid var(--secondary-color);
  margin-top: 40px;
  box-shadow: var(--shadow-sm);
}

/* Responsive Timeline */
@media screen and (max-width: 600px) {
  .timeline::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  .left::after,
  .right::after {
    left: 21px;
  }

  .right {
    left: 0%;
  }
}

/* Product Detail Image */
.product-img-col img {
  max-height: 500px;
  object-fit: contain;
  background-color: #fff;
  width: 100%;

  /* Product Detail Redesign */
  .breadcrumb {
    padding: 20px 0;
    background: var(--light-bg);
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
  }

  .breadcrumb ul {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-color);
  }

  .breadcrumb li a {
    color: #888;
    transition: var(--transition);
  }

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

  .breadcrumb li.active {
    color: var(--primary-color);
    font-weight: 500;
  }

  .breadcrumb li::after {
    content: "/";
    margin-left: 10px;
    color: #ccc;
  }

  .breadcrumb li:last-child::after {
    display: none;
  }

  .product-title-section {
    margin-bottom: 30px;
  }

  .product-category {
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
  }

  /* Added missing closing brace here */

  /* Product Detail Redesign */
  .breadcrumb {
    padding: 20px 0;
    background: var(--light-bg);
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
  }

  .breadcrumb ul {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-color);
  }

  .breadcrumb li a {
    color: #888;
    transition: var(--transition);
  }

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

  .breadcrumb li.active {
    color: var(--primary-color);
    font-weight: 500;
  }

  .breadcrumb li::after {
    content: "/";
    margin-left: 10px;
    color: #ccc;
  }

  .breadcrumb li:last-child::after {
    display: none;
  }

  .product-title-section {
    margin-bottom: 30px;
  }

  .product-category {
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
  }

  .product-title-main {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .product-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 80px;
  }

  @media (max-width: 768px) {
    .product-main-grid {
      gap: 60px;
      align-items: start;
      margin-bottom: 80px;
    }

    @media (max-width: 768px) {
      .product-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
      }
    }
  }
}

/* Static Product List (Compact & Sparkling) */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  /* Reduced gap */
}

.static-product-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  /* Image takes less space */
  gap: 30px;
  align-items: center;
  /* Vertically center */
  padding: 30px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  /* Softer shadow */
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* Dynamic Image Adjustment for Products Page */
.static-product-card .img-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fafafa;
  overflow: hidden;
  border-radius: 10px;
  /* Consistently rounded */
}

/* Base Image Style */
.static-product-card .img-wrapper img {
  opacity: 0;
  /* Fade in handled by JS */
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Portrait Analysis: Constrain height, center horizontally */
.static-product-card .img-wrapper.is-portrait img {
  width: auto;
  height: auto;
  max-height: 350px;
  /* Prevent overly tall images */
  max-width: 100%;
}

/* Landscape/Square Analysis: Fill width, allow height to adapt */
.static-product-card .img-wrapper.is-landscape img,
.static-product-card .img-wrapper.is-square img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Hover Effect */
.static-product-card:hover .img-wrapper img {
  transform: scale(1.05);
}

.static-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(197, 164, 126, 0.15);
  /* Gold glow on hover */
  border-color: rgba(197, 164, 126, 0.3);
}

.static-product-card .product-image {
  aspect-ratio: auto !important;
  /* Force dynamic ratio */
  height: auto !important;
  min-height: auto;
}

.static-product-card .product-image img {
  height: auto !important;
  object-fit: contain;
  /* Ensure full image is visible */
  max-height: 400px;
  /* Optional cap to prevent massive images */
}



.static-product-card:nth-child(even) {
  grid-template-columns: 1.2fr 0.8fr;
  /* Image Right */
  direction: ltr;
  /* No direction switch for layout, just grid swap */
}

.static-product-card:nth-child(even) .product-image {
  order: 2;
  /* Move image to right */
}

.static-product-card:nth-child(even) .product-content {
  order: 1;
  /* Content left */
}

.product-image img {
  width: 100%;
  border-radius: 10px;

  /* Removed heavy white border */
  transition: transform 0.5s ease;
}

.static-product-card:hover .product-image img {
  transform: scale(1.02);
}

.product-content h3 {
  font-size: 1.8rem;
  /* Slightly smaller */
  margin-bottom: 10px;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.product-content h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--secondary-color);
  margin-top: 5px;
}

.product-content p {
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: var(--text-color);
  line-height: 1.6;
}

.product-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0 20px;
  font-size: 0.85rem;
  /* Smaller font */
  background: transparent;
  /* Cleaner look */
  border: none;
}

.product-specs-table tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.product-specs-table tr:last-child {
  border-bottom: none;
}

.product-specs-table td {
  padding: 8px 10px;
  /* Reduced padding */
}

.product-specs-table td:first-child {
  font-weight: 600;
  color: var(--secondary-color);
  width: 35%;
  background: transparent;
}

.static-product-card .btn {
  padding: 10px 25px;
  /* Compact button */
  font-size: 0.85rem;
}

@media (max-width: 900px) {

  .static-product-card,
  .static-product-card:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
    padding: 20px;
  }

  .static-product-card:nth-child(even) .product-image {
    order: 0;
  }

  .static-product-card:nth-child(even) .product-content {
    order: 0;
  }

  .product-content h3::after {
    margin: 5px auto 0;
  }

  .product-specs-table td {
    text-align: left;
  }
}

/* Masonry Responsiveness */
@media (max-width: 1024px) {
  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    column-count: 1;
  }
}

/* Premium Header (No Image) */
.premium-header {
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.premium-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--secondary-color) 1px,
      transparent 1px);
  background-size: 30px 30px;
  opacity: 0.05;
}

.premium-header h2 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.premium-header p {
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

/* Enhanced Product Detail Page */
.detail-wrapper {
  padding: 60px 0;
  background: radial-gradient(circle at center,
      rgba(197, 164, 126, 0.05) 0%,
      transparent 70%);
}

.detail-card-glass {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  /* Premium shadow */
  padding: 50px;
  overflow: hidden;
  position: relative;
  max-width: 1100px;
  /* Constrained width */
  margin: 0 auto;
}

.detail-card-glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, var(--secondary-color), transparent);
}

.detail-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.detail-image-container {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.detail-image-container img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}

.detail-image-container:hover img {
  transform: scale(1.05);
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 25px 0;
}

.feature-pill {
  background: rgba(197, 164, 126, 0.1);
  color: var(--secondary-color);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(197, 164, 126, 0.2);
  transition: var(--transition);
}

.feature-pill:hover {
  background: var(--secondary-color);
  color: white;
}

.detail-specs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  /* Spacing between rows */
  margin: 30px 0;
}

.detail-specs-table tr {
  transition: var(--transition);
}

.detail-specs-table tr:hover {
  transform: translateX(5px);
}

.detail-specs-table td {
  padding: 15px 20px;
  background: var(--white);
  border: 1px solid #f0f0f0;
}

.detail-specs-table td:first-child {
  border-radius: 10px 0 0 10px;
  font-weight: 600;
  color: var(--primary-color);
  width: 35%;
  border-right: none;
  background: var(--light-bg);
}

.detail-specs-table td:last-child {
  border-radius: 0 10px 10px 0;
  color: var(--text-color);
  border-left: none;
}

@media (max-width: 900px) {
  .detail-card-glass {
    padding: 30px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Form Submission Options */
.form-submit-buttons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.form-submit-buttons .btn {
  flex: 1;
  min-width: 150px;
  /* Smaller min-width for flexibility */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  text-transform: none;
  font-size: 1rem;
  padding: 14px 15px;
  /* Slightly reduced padding */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  outline: none;
  border-style: solid;
  border-width: 2px;
}

.form-submit-buttons .btn i {
  font-size: 1.2rem;
}

/* Removed specific btn-whatsapp and btn-email in favor of global btn-primary/secondary system */

/* Enhanced Contact Form Wrapper */
.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper h3 {
  text-align: center;
  font-size: 1.8rem;
  color: var(--primary-color);
}

/* Enhanced Form Controls */
.form-control {
  border-radius: 8px;
  border: 2px solid #eee;
  padding: 15px 20px;
  background: #fdfdfd;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--secondary-color);
  background: white;
  box-shadow: 0 0 0 4px rgba(197, 164, 126, 0.15);
  transform: translateY(-1px);
}

.form-group label {
  font-size: 0.95rem;
  color: var(--text-color);
  margin-bottom: 10px;
  display: inline-block;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
  .form-submit-buttons {
    flex-direction: column;
  }

  .contact-form-wrapper {
    padding: 30px 20px;
  }
}

/* Map Section Enhancements */
.map-container {
  position: relative;
  border-top: 5px solid var(--secondary-color);
  border-bottom: 5px solid var(--secondary-color);
  overflow: hidden;
  line-height: 0;
  /* Removing potential whitespace */
}

.map-container iframe {
  transition: all 0.5s ease;
  height: 500px;
  /* Increased height for premium feel */
}

.map-container:hover iframe {
  filter: none;
  /* Restore color on hover */
}

.map-overlay-label {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: var(--secondary-color);
  padding: 10px 30px;
  font-family: var(--font-heading);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.9rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 10;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 15px;
}

.map-overlay-label:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateX(-50%) translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.map-overlay-label i {
  margin-right: 8px;
}

@media (max-width: 768px) {
  .map-container iframe {
    height: 300px;
    /* Reduced height for mobile */
  }
}

/* Validation Styles */
.form-control.error {
  border-color: #ff4d4d;
  box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.1);
  animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shake {

  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }

  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%,
  60% {
    transform: translate3d(4px, 0, 0);
  }
}

/* Image Loader */
.img-wrapper {
  position: relative;
  overflow: hidden;
  background: transparent;
  min-height: 200px;
  /* Default min-height */
}

/* Quality Check Badge */
.quality-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  border-radius: 5px;
  z-index: 2;
}

@media (max-width: 768px) {
  .quality-badge {
    padding: 15px 20px;
    min-width: auto;
    width: 80%;
    /* responsive width */
    max-width: 200px;
  }

  .quality-badge h3 {
    font-size: 1.8rem !important;
    /* Override inline */
  }

  .quality-badge p {
    font-size: 0.9rem;
  }
}

/* Responsive Partner Logos for Mobile */
@media (max-width: 768px) {
  .partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    /* Reduced gap */
  }

  .partner-item {
    width: 45%;
    /* 2 items per row */
    padding: 15px;
  }

  .partner-img-wrapper {
    height: 80px;
    /* Slightly larger for better fit */
    margin-bottom: 10px;
  }

  /* Ensure image fits perfectly within wrapper */
  .partner-item img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
  }

  .partner-item h4 {
    font-size: 0.85rem;
  }
}


/* Swiper Pagination Customization */
.swiper-pagination-bullet {
  background-color: var(--primary-color) !important;
  opacity: 0.5;
  width: 10px;
  height: 10px;
  transition: var(--transition);
}

.swiper-pagination-bullet-active {
  background-color: var(--secondary-color) !important;
  opacity: 1;
  width: 30px;
  /* Pill shape for active bullet */
  border-radius: 5px;
}

/* Our Story Section Enhancements */
.story-content {
  position: relative;
  padding-right: 30px;
  /* Space between text and images */
}

.story-content h2 {
  font-size: 2.8rem;
  /* Slightly larger */
  margin-bottom: 30px;
  line-height: 1.2;
  position: relative;
}

.story-content h2::after {
  content: "";
  /* Decorative underline */
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--secondary-color);
}

.story-content .story-subtitle {
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 3px;
  /* More spaced out */
  margin-bottom: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

.story-content .story-subtitle::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--secondary-color);
  margin-right: 15px;
  display: inline-block;
}

.story-desc {
  margin-bottom: 25px;
  color: #444;
  /* Slightly darker for better contrast */
  font-size: 1.05rem;
  line-height: 1.8;
}

.story-highlight {
  margin-bottom: 35px;
  color: var(--primary-color);
  font-size: 1.15rem;
  /* Larger font */
  line-height: 1.6;
  font-weight: 600;
  /* Bolder */
  border-left: 4px solid var(--secondary-color);
  padding-left: 25px;
  /* More padding */
  background: linear-gradient(to right, rgba(197, 164, 126, 0.1), transparent);
  /* Subtle background */
  padding-top: 15px;
  padding-bottom: 15px;
  border-radius: 0 5px 5px 0;
}

.leadership-card {
  background: #fff;
  /* Crisp white */
  padding: 30px;
  border-radius: 8px;
  border-top: 4px solid var(--secondary-color);
  /* Changed to top border */
  border-left: none;
  /* Remove left border */
  margin-top: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  /* Softer shadow */
}

.leadership-quote {
  font-style: italic;
  color: var(--text-color);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.leader-info h5 {
  margin-bottom: 0;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.leader-info span {
  font-size: 0.85rem;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Image Composition */
/* Container for the images */
.story-img-wrapper {
  position: relative;
  display: block;
  /* Changed from flex to block for safer absolute positioning */
  width: 100%;
  /* Space for the floating image */
  overflow: visible !important;
  /* Critical: Allows the secondary image to float "outside" */


}

/* The Big Image (Background/Right) */
.img-main {
  width: 85%;
  /* Adjust size */
  margin-left: auto;
  /* Pushes image to the right */
  display: block;
  position: relative;
  object-fit: cover;
  z-index: 1;
  /* Sits behind */
  border-radius: 8px;

  transition: transform 0.5s ease;
  background-color: transparent;
}

/* The Small Image (Floating/Left) */
.img-secondary {
  position: absolute;
  width: 50%;
  /* Size relative to the wrapper */
  bottom: 0;
  /* Aligned to bottom edge */
  left: 0;
  /* Aligned to left edge */
  z-index: 10;
  /* CRITICAL: High number ensures it sits on TOP */
  border-radius: 8px;
  object-fit: cover;

  transition: transform 0.5s ease;
}

/* Hover Effects */
.story-img-wrapper:hover .img-main {
  transform: translateY(-5px);
}

.story-img-wrapper:hover .img-secondary {
  transform: translateY(-10px) scale(1.05);
}

/* Responsive Fix (Optional: Makes it look better on phones) */
@media (max-width: 768px) {
  .img-main {
    width: 100%;
    border-radius: 8px;
  }

  .img-secondary {
    width: 60%;
    /* Moves it slightly lower on phones */
    border-radius: 8px;
  }
}


/* Responsive adjustments for Story Section */
@media (max-width: 768px) {
  .story-content h2 {
    font-size: 2rem;
  }

  .story-img-wrapper {
    margin-top: 60px;
    padding-bottom: 50px;
    justify-content: center;
    margin-right: 0;
  }

  .img-main {
    width: 100%;
    margin-left: 0;
  }

  .img-secondary {
    width: 60%;
  }
}

/* =========================================
   Revamped Our Story Section (Dark Theme)
   ========================================= */

.story-section-dark {
  background-color: var(--primary-color);
  padding: 120px 0;
  color: #f0f0f0;
  position: relative;
  overflow: hidden;
}

.story-container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 30px;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Left Visual Area */
.story-visual {
  position: relative;
  padding: 0;
  /* Removed padding for bigger image */
  width: 100%;
}

.image-frame {
  position: relative;
  z-index: 2;
}

.story-main-img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(20%) contrast(1.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.frame-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--secondary-color);
  z-index: -1;
  transition: transform 0.4s ease;
}

.story-visual:hover .frame-accent {
  transform: translate(10px, 10px);
}

.experience-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--secondary-color);
  color: #000;
  padding: 20px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.experience-badge .year {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  font-family: var(--font-heading);
}

.experience-badge .text {
  font-size: 0.8rem;
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Right Content Area */
.story-content-dark {
  padding-left: 20px;
}

.story-content-dark .sub-heading {
  color: var(--secondary-color);
  font-size: 0.9rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-block;
  border-bottom: 1px solid var(--secondary-color);
  padding-bottom: 5px;
}

.story-content-dark .main-heading {
  color: #fff;
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 40px;
  font-weight: 700;
}

.story-content-dark .highlight-text {
  color: transparent;
  -webkit-text-stroke: 1px #fff;
  opacity: 0.3;
}

.story-content-dark .description {
  color: #aaa;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 90%;
}

.text-gold {
  color: var(--secondary-color);
  font-weight: 600;
}

/* Brand Showcase */
.brand-showcase {
  margin: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.brand-title {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.brand-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #fff;
}

.separator {
  color: var(--secondary-color);
}

/* Quote Box */
.quote-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-left: 3px solid var(--secondary-color);
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.1);
}

.quote-box p {
  font-style: italic;
  color: #ddd;
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.quote-box .author strong {
  display: block;
  color: #fff;
  font-size: 1.1rem;
}

.quote-box .author span {
  color: var(--secondary-color);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .story-visual {
    max-width: 600px;
    margin: 0 auto;
  }

  .story-content-dark {
    padding-left: 0;
    text-align: left;
  }

  .story-content-dark .main-heading {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .story-section-dark {
    padding: 80px 0;
  }

  .story-content-dark .main-heading {
    font-size: 2.2rem;
  }

  .highlight-text {
    -webkit-text-stroke: 0px;
    color: #fff;
    opacity: 0.5;
  }

  .experience-badge {
    right: 0;
    bottom: -20px;
    padding: 15px 20px;
  }

  .experience-badge .year {
    font-size: 2rem;
  }

  .brand-list {
    font-size: 0.9rem;
  }

  .quote-box {
    padding: 20px;
  }
}

/* Business Overview */
.business-overview {
  margin-top: 80px;
  padding-bottom: 50px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.overview-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  border-bottom: 3px solid var(--primary-color);
  transition: var(--transition);
  height: 100%;
}

.overview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--secondary-color);
  background: var(--white);
}

.overview-card h4 {
  margin-bottom: 15px;
  color: var(--primary-color);
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 15px;
}

.overview-card h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.overview-card:hover h4::after {
  width: 100px;
}

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

/* Business Overview */
.business-overview {
  margin-top: 80px;
  padding-bottom: 50px;
}

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

.overview-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  border-bottom: 3px solid var(--primary-color);
  transition: var(--transition);
  height: 100%;
}

.overview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--secondary-color);
  background: var(--white);
}

.overview-card h4 {
  margin-bottom: 15px;
  color: var(--primary-color);
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 15px;
}

.overview-card h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.overview-card:hover h4::after {
  width: 100px;
}

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

/* Business Overview */
.business-overview {
  margin-top: 80px;
  padding-bottom: 50px;
}

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

.overview-card {
  background: var(--light-bg);
  padding: 30px;
  border-radius: 12px;
  border-bottom: 3px solid var(--primary-color);
  transition: var(--transition);
  height: 100%;
}

.overview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--secondary-color);
  background: var(--white);
}

.overview-card h4 {
  margin-bottom: 15px;
  color: var(--primary-color);
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 15px;
}

.overview-card h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.overview-card:hover h4::after {
  width: 100px;
}

.overview-card p {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Product card overrides */
/* Featured Solutions Card - Compact & Adaptive */
.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  /* Softer initial shadow */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(197, 164, 126, 0.2);
}

.product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  /* WIDER/SHORTER for compactness */
  overflow: hidden;
  margin: 0;
  border-radius: 0;
  background: #fafafa;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.product-content {
  padding: 15px;
  /* Tighter padding */
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-content h3 {
  font-size: 1rem;
  /* Compact title */
  margin-bottom: 4px;
  color: var(--primary-color);
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-content p {
  font-size: 0.8rem;
  color: var(--text-color);
  margin-bottom: 10px;
  /* Reduced margin */
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0.8;
  /* Removed fixed height to allow natural flow */
}

/* Push button to bottom */
.product-content .btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 4px 12px;
  /* Very compact button */
  font-size: 0.7rem;
  border-radius: 50px;
  background: transparent;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-content .btn:hover {
  background: var(--secondary-color);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(197, 164, 126, 0.25);
}

/* Slider Overrides */
.product-slider {
  padding-bottom: 50px;
  /* Space for pagination */
}

.product-slider .swiper-pagination {
  bottom: 0;
}

.product-slider .product-card .product-image img {
  height: 100%;
}

/* Mobile Adaptation */
@media (max-width: 768px) {
  .product-image {
    aspect-ratio: 2.2/1;
    /* Ultra-wide/short for mobile compactness */
  }

  .product-content {
    padding: 12px;
    /* Minimal padding on mobile */
  }

  .product-content h3 {
    font-size: 0.95rem;
  }

  .product-content p {
    font-size: 0.75rem;
    height: 2.8em;
  }
}

/* End of Mobile Adaptation */