/* ===== Premium Modern Design System ===== */
:root {
  /* Colors */
  --primary: #E31B23;
  /* Signature Stem Red */
  --primary-rgb: 227, 27, 35;
  --dark: #0F0F0F;
  /* Deep Charcoal */
  --dark-accent: #1A1A1A;
  --light: #FFFFFF;
  --surface: #F8F9FA;
  --text-main: #1F1F1F;
  --text-muted: #666666;
  --accent: #FFC107;
  /* Gold accent */

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-blur: 12px;

  /* Shadows & Depth */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background-color: var(--light);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

/* Headings Upgrade */
h1,
h2,
h3,
h4,
h5 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
  position: relative;
}

h3 {
  font-size: 1.75rem;
}

p {
  color: var(--text-muted);
  max-width: 75ch;
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

section {
  padding: 100px 0;
  scroll-margin-top: 80px;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title-wrap p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title-wrap h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* ---------- Modern Site Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.67rem 0;
  background: white;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.34rem 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 33px;
  width: auto;
  transition: var(--transition);
}

.site-header.scrolled .logo img {
  height: 27px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--dark);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
}

.nav-list a:not(.btn-primary-ghost)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-list a:not(.btn-primary-ghost):hover::after {
  width: 100%;
}

.nav-list a:hover {
  color: var(--primary);
}

.btn-primary-ghost {
  border: 2px solid var(--primary);
  padding: 0.6rem 1.5rem;
  border-radius: 99px;
  color: var(--primary) !important;
  font-weight: 600;
}

.btn-primary-ghost:hover {
  background: var(--primary);
  color: var(--light) !important;
}

/* Nav Toggle (Mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--dark);
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 2px;
  background: var(--dark);
  left: 0;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  transition: all 0.3s ease-in-out;
}

/* Hamburger Animation */
.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* ---------- SG HERO MODERNIZED (STATIC) ---------- */
.sg-hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 120px;
  /* Account for fixed header + extra space */
}

.static-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.static-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
}

.sg-overlay-content {
  position: relative;
  width: 100%;
  max-width: 1400px;
  padding: 0 4rem;
  z-index: 10;
}

.sg-overlay-group {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.sg-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5rem;
  border-radius: 40px;
  color: var(--light);
  text-align: center;
  max-width: 800px;
}

.sg-static h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--light) !important;
  margin-bottom: 1.5rem;
  line-height: 1;
  font-weight: 800;
}

.sg-static p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.sg-cta {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: var(--light) !important;
  padding: 1.2rem 3rem;
  border-radius: 99px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.3);
}

.sg-cta:hover {
  background: var(--light);
  color: var(--primary) !important;
  transform: translateY(-4px);
}

.btn-link-light {
  display: inline-flex;
  align-items: center;
  padding: 1.1rem 2.5rem;
  border-radius: 99px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--light) !important;
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition);
}

.btn-link-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--light);
  transform: translateY(-4px);
}

.sg-dynamic h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--light) !important;
  font-weight: 300;
  line-height: 1.2;
  text-align: right;
}

/* Slider controls removed */

/* ---------- Modern Services Section ---------- */
.services-section {
  background: var(--surface);
  padding: 120px 0;
}

.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.modern-card {
  background: var(--light);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.modern-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  height: 120px;
  /* Further reduction */
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.modern-card:hover .card-image img {
  transform: scale(1.1);
}

.card-body {
  padding: 1.5rem 2rem;
  /* Reduced padding for shorter cards */
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card-body p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.btn-text {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  cursor: pointer;
  transition: var(--transition);
}

.btn-text:hover {
  gap: 1rem;
}

.section-footer {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem;
  /* Improved padding */
  background: rgba(var(--primary-rgb), 0.05);
  border-radius: 16px;
}

.section-footer p {
  text-align: center;
  margin: 0 auto;
}

/* ---------- Modern Blog Section ---------- */
.blog-preview {
  padding: 120px 0;
  background: var(--light);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

.modern-blog-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.blog-image {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.modern-blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-meta {
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--primary);
  font-weight: 700;
}

.blog-content h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.blog-content h3 a {
  color: var(--dark);
}

.blog-content h3 a:hover {
  color: var(--primary);
}

.read-more-link {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}


.btn-primary,
.btn-secondary {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.btn-primary {
  background: #ED3237;
  color: white;
}

.btn-secondary {
  background: white;
  color: #ED3237;
  border: 2px solid #ED3237;
}

/* ABOUT SECTION */

.about-section {
  padding: 4rem 2rem;
  background: linear-gradient(90deg, #ffffff 60%, #fdf5e6 100%);
}


.split-layout {
  display: flex;
  flex-wrap: nowrap;
  /* ✅ force side-by-side */
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
}

/* Left Text */
.about-flex {
  display: contents;
  /* ✅ remove extra flex wrapping */
}

.about-image {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
}

.about-text {
  flex: 1 1 50%;
  color: #2C2C2C;
  text-align: left;
}

.video-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container video {
  max-height: 80vh;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.video-controls {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 12px;
  border-radius: 6px;
}

.video-controls button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 1.1rem;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.video-controls button:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}


.about-text h2 {
  font-size: 1.5rem;
  margin: 1rem 0 0.5rem;
  /* tighten top/bottom spacing */
  color: #000;
  position: relative;
}

.about-text h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #D4AF37, #ED3237);
  margin-top: 4px;
  border-radius: 2px;
}

.about-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1rem;
  /* less bottom space */
  color: #2C2C2C;
}


@keyframes slide-accent {
  0% {
    transform: scaleX(0);
    transform-origin: left;
  }

  50% {
    transform: scaleX(1);
    transform-origin: left;
  }

  100% {
    transform: scaleX(0);
    transform-origin: right;
  }
}

/* Strategy list in a card */
.why-choose-list {
  background: #fff;
  padding: 1.2rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-top: 0.5rem;
  list-style: none;
}

.why-choose-list li {
  margin-bottom: 0.8rem;
  padding-left: 1.6rem;
  position: relative;
  font-size: 1rem;
  color: #2C2C2C;
}

.why-choose-list li i {
  color: #D4AF37;
  position: absolute;
  left: 0;
  top: 4px;
}


/* Dots below slider */
.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  gap: 8px;
}

.slider-dots span {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-dots span.active {
  background: #D4AF37;
}

/* Responsive */
@media (max-width: 900px) {
  .about-section {
    background: #fff;
    /* remove split background for mobile */
  }

  .split-layout {
    flex-direction: column;
    text-align: center;
  }

  .about-text,
  .about-image {
    flex: 1 1 100%;
  }

  .slider-container {
    max-width: 100%;
    aspect-ratio: 4 / 3;
  }
}


/* Slider Container */
/* Slider container */
.slider-container {
  position: relative;
  width: 100%;
  max-width: 700px;
  /* bigger */
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  margin: auto;
}

/* Track */
.slider-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

/* Slide */
.slide {
  flex: 0 0 100%;
  height: 400px;
  /* taller */
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* keep proportions, crop overflow */
  border-radius: 16px;
  display: block;
}

/* Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 0.8rem 1rem;
  cursor: pointer;
  border-radius: 10%;
  font-size: 1.5rem;
  z-index: 10;
  transition: background 0.3s;
}

.slider-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.slider-btn.prev {
  left: 15px;
}

.slider-btn.next {
  right: 15px;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .slide {
    aspect-ratio: 4 / 3;
    /* taller ratio for small screens */
  }
}

@media (max-width: 480px) {
  .slide {
    aspect-ratio: 1 / 1;
    /* square ratio for very small screens */
  }
}



/* ---------- Modern Blog Section & Listing ---------- */
.blog-preview {
  padding: 120px 0;
  background: var(--light);
}

.archive-hero {
  background: var(--dark);
  padding: 160px 0 100px;
  color: var(--light);
}

.archive-hero h1 {
  color: var(--light) !important;
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
}

.blog-archive-section {
  padding: 100px 0;
  background: var(--surface);
}

.blog-grid,
.archive-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 4rem;
}

.modern-blog-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--light);
  border-radius: 32px;
  padding: 1.5rem;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.blog-image {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.modern-blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-meta {
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--primary);
  font-weight: 700;
}

.blog-content h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.blog-content h3 a {
  color: var(--dark);
}

.read-more-link {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.pagination-wrap {
  margin-top: 80px;
  display: flex;
  justify-content: center;
}

/* Single Post Layout */
.single-post-container {
  background: var(--light);
}

.post-hero {
  position: relative;
  padding: 200px 0 100px;
  background: var(--dark);
  color: var(--light);
  overflow: hidden;
}

.post-featured-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.post-header-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
}

.post-header-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--light) !important;
  margin-bottom: 2rem;
  font-weight: 800;
}

.post-body {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 6rem;
  padding: 100px 0;
}

.post-content {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-main);
}

.post-content p {
  margin-bottom: 2rem;
}

.post-sidebar .sidebar-box {
  background: var(--surface);
  padding: 3rem;
  border-radius: 32px;
  position: sticky;
  top: 140px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-sm);
  margin-left: -8px;
}

.post-sidebar .contact-box h3 {
  color: var(--dark) !important;
}

.post-sidebar .contact-box p {
  color: var(--text-main) !important;
}



/* SERVICES SECTION */
.services {
  padding: 3rem 2rem;
  background: white;
  text-align: center;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: stretch;
  /* make cards equal height */
}

/* Individual Card */
.card {
  background: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  /* Flexbox ensures content distributes evenly */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Card Image */
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

/* Card Title */
.card h3 {
  font-size: 1.3rem;
  margin: 0.8rem 0;
  color: #ED3237;
}

/* Card Text */
.card p {
  flex-grow: 1;
  /* pushes button down */
  font-size: 0.95rem;
  color: #9E9E9E;
  margin-bottom: 1.2rem;
}

/* Modern Button */
.service-btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 30px;
  border: none;
  background: linear-gradient(135deg, #d34b25, #be1e1e);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.service-btn:hover {
  background: linear-gradient(135deg, #be491e, #d32525);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(211, 37, 37, 0.6);
}


/* ---------- Modern Portfolio Section ---------- */
.products-preview {
  padding: 120px 0;
  background: var(--light);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.product-image {
  height: 160px;
  /* Reduced height */
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 2rem;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card {
  background: var(--surface);
  border-radius: 28px;
  padding: 3.5rem;
  /* Improved padding */
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 2rem;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.product-card:hover img {
  transform: scale(1.02);
}

/* ---------- Modern FAQ Section ---------- */
.faq-section {
  padding: 120px 0;
  background: var(--surface);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

/* ICON SERVICES GRID SECTION */
.icon-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.icon-service-card {
  background: #1a1a1a;
  /* Dark background */
  border: 1px solid #333;
  border-radius: 20px;
  padding: 1.5rem 1.5rem;
  /* Reduced padding */
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  /* Shorter uniform height */
  position: relative;
  overflow: hidden;
}

.icon-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #ED3237;
  /* Red accent top */
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.icon-service-card:hover::before {
  transform: scaleX(1);
}

.icon-service-card:hover {
  transform: translateY(-10px);
  border-color: #ED3237;
  box-shadow: 0 20px 40px rgba(237, 50, 55, 0.2);
  background: #252525;
}

.card-icon-wrap {
  width: 60px;
  /* Smaller icon wrap */
  height: 60px;
  background: rgba(237, 50, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  /* Reduced margin */
  transition: all 0.3s ease;
}

.icon-service-card:hover .card-icon-wrap {
  background: #ED3237;
  transform: rotateY(180deg);
}

.card-icon-wrap i {
  font-size: 1.8rem;
  /* Smaller icons */
  color: #ED3237;
  transition: all 0.3s ease;
}

.icon-service-card:hover .card-icon-wrap i {
  color: #fff;
}

.icon-service-card h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.icon-service-card p {
  color: #b0b0b0;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.icon-service-card:hover h3 {
  color: #ED3237;
}

.icon-service-card:hover p {
  color: #fff;
}

/* RECENT WORK SECTION */
.recent-work-section {
  padding: 6rem 2rem;
  background: #000;
  overflow: hidden;
}

.recent-work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  perspective: 1200px;
}

.work-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 400px;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  transform-style: preserve-3d;
}

.work-image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  transform: translateZ(0);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.work-card:hover .work-image-wrap {
  transform: scale(1.1) translateZ(20px);
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.6s ease;
}

.work-card:hover img {
  filter: brightness(0.4) saturate(1.2);
}

.work-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(237, 50, 55, 0.8) 0%, rgba(0, 0, 0, 0) 70%);
  opacity: 0;
  transition: all 0.5s ease;
  display: flex;
  align-items: flex-end;
  padding: 2.5rem;
  z-index: 2;
}

.work-card:hover .work-overlay {
  opacity: 1;
}

.work-info {
  transform: translateY(30px);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.work-card:hover .work-info {
  transform: translateY(0);
}

.work-info h3 {
  color: #fff;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.work-info p {
  color: #fff;
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.4;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 3;
  pointer-events: none;
  transform: scale(0.9);
}

.work-card:hover::after {
  opacity: 1;
  transform: scale(1);
  border-color: #ED3237;
}

.faq-item {
  background: var(--light);
  padding: 2.5rem;
  border-radius: 24px;
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.faq-item h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.faq-item p {
  font-size: 1rem;
  color: var(--text-muted);
}


.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
  padding: 0 1rem;
}

.logo a {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.logo img {
  height: 80px;
  /* Adjust based on design */
  width: auto;
  display: block;
  object-fit: contain;
}

.logo {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
}

.btn-contact {
  background: linear-gradient(90deg, #D4AF37, #ED3237);
  /* gold → red gradient */
  color: #ffffff !important;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  display: inline-flex;
  align-items: center;
  height: 100%;
  /* Match height of other nav items */
  line-height: 1.2;
  /* Prevent vertical stretching */
}


.btn-contact:hover {
  background: linear-gradient(90deg, #ED3237, #D4AF37);
  /* reverse gradient */
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

@media (max-width: 600px) {
  .logo img {
    height: 40px;
    /* Smaller logo on mobile */
  }
}



.speciality {
  padding: 3rem 2rem;
  background: #ffffff;
  text-align: center;
}

.speciality h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #2C2C2C;
}

.speciality .tagline {
  font-style: italic;
  color: #ED3237;
  margin-bottom: 2rem;
}

.speciality-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  text-align: left;
  max-width: 1100px;
  margin: auto;
}

.column {
  flex: 1 1 300px;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.column h3 {
  color: #c42a2f;
  margin-top: 1rem;
}

.modern-list {
  list-style: none;
  padding-left: 1.5rem;
}

.modern-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.modern-list li i {
  color: #ED3237;
  margin-right: 1rem;
  font-size: 1rem;
}

.parallax-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.55);
  /* overlay for readability */
}

.parallax {
  position: absolute;
  width: clamp(280px, 22vw, 480px);
  opacity: 0.9;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.parallax:nth-child(1) {
  top: 8%;
  left: 10%;
  transform: rotate(-4deg);
}

.parallax:nth-child(2) {
  top: 15%;
  right: 10%;
  transform: rotate(4deg);
}

.parallax:nth-child(3) {
  bottom: 15%;
  left: 10%;
  transform: rotate(-3deg);
}

.parallax:nth-child(4) {
  bottom: 8%;
  right: 10%;
  transform: rotate(-3deg);
}

.parallax-base {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.parallax-1 {
  background-image: url('../images/services/slider1.jpg');
}

.parallax-2 {
  background-image: url('../images/services/slider5.jpg');
}

/* Overlay Layer */
.parallax-base .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  /* semi-transparent dark overlay */
  z-index: 1;
}

/* Caption */
.parallax-caption {
  position: relative;
  z-index: 2;
  /* ensures text is above overlay */
  padding: 1rem 2rem;
}

.parallax-caption h2 {
  font-size: 1.8rem;
  color: #fff !important;
  font-weight: 600;
  border-right: 3px solid #fff;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  animation: blinkCursor 0.8s steps(2) infinite;
}

/* Cursor animation */
@keyframes blinkCursor {
  from {
    border-color: transparent;
  }

  to {
    border-color: #fff;
  }
}


.parallax-caption h2 {
  animation: blinkCursor 0.8s steps(2) infinite;
}



/* Responsive tweaks */
@media (max-width: 768px) {
  .parallax-base {
    min-height: 220px;
  }

  .parallax-caption h2 {
    font-size: 1.2rem;
    padding: 1rem;
  }
}



/* Animation on scroll (optional) */
.section-container {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

.section-container.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .about-flex {
    flex-direction: column-reverse;
    text-align: center;
    gap: 1.5rem;
  }

  .about-text h2::after {
    margin: 8px auto 0;
    /* center underline on mobile */
  }

  .about-text {
    flex: 1 1 100%;
  }

  .about-image {
    flex: 1 1 100%;
  }
}


.products-preview {
  padding: 5rem 2rem;
}

.products-preview .section-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: #9E9E9E;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.product-card img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.product-card h3 {
  font-size: 1.3rem;
  color: #ED3237;
  margin-bottom: 0.5rem;
}

.product-card p {
  font-size: 0.95rem;
  color: #2C2C2C;
}

.projects-marquee {
  padding: 2rem 1rem;
  background: #f9f9f9;
  text-align: center;
}

.projects-marquee h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: #2C2C2C;
}

.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.marquee-track {
  display: flex;
  gap: 2rem;
  animation: scroll-marquee 30s linear infinite;
}

.marquee-item {
  flex: 0 0 auto;
  width: 250px;
  text-align: center;
}

.marquee-item .image-wrapper {
  width: 100%;
  height: 180px;
  /* fixed height for all images */
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* makes all images fill uniformly */
  display: block;
}


.marquee-item p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #ffffff;
}

@keyframes scroll-marquee {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Responsive Tweak */
@media (max-width: 600px) {
  .marquee-item {
    width: 180px;
  }
}


.text-center {
  text-align: center;
  margin-top: 3rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #ED3237;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #c42a2f;
}

/* Grid layout */
.contact-section {
  background: #f9f9f9;
  padding: 4rem 1.5rem;
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  /* centers in browser */
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  justify-content: space-between;
}

.contact-left,
.contact-right {
  flex: 1 1 50%;
}

/* Left side text */
.contact-left h2 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  color: #111;
}

.contact-left p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #444;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.contact-details li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #222;
}

/* Subheading */
.contact-left h3 {
  margin: 1.2rem 0 0.8rem;
  font-size: 1.3rem;
  color: #222;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  margin-top: 0.5rem;
  background: #ED3237;
  color: #fff;
  border: none;
  padding: 0.8rem 1.6rem;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-form button:hover {
  background: #D4AF37;
}

/* Right side (map) */
.contact-right h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: #222;
}

.map-embed iframe {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    gap: 2rem;
    padding: 0 1rem;
    /* ✅ breathing room left and right */
    box-sizing: border-box;
  }

  .contact-left,
  .contact-right {
    width: 100%;
    max-width: 100%;
    /* ✅ no overflow */
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    /* ✅ inputs respect padding */
  }

  .map-embed iframe {
    width: 100% !important;
    /* ✅ keeps map responsive */
    display: block;
    margin: 0 auto;
    /* ✅ centers the map */
  }
}



.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #25D366;
  color: white !important;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.whatsapp-btn:hover {
  background-color: #1ebe5d;
  transform: scale(1.05);
  text-decoration: none;
}

.whatsapp-btn:active {
  transform: scale(0.98);
}

.whatsapp-btn svg {
  flex-shrink: 0;
}


.map-embed iframe {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}


.site-footer {
  background: #2C2C2C;
  color: #eee;
  padding: 6rem 2rem 2rem;
  /* More top padding */
  font-size: 0.95rem;
}

.footer-logo {
  margin-bottom: 2rem;
}

.footer-logo img {
  max-width: 180px;
  /* Proportional size */
  height: auto;
  display: block;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  /* allow wrap on smaller screens */
  gap: 2rem;
  justify-content: space-between;
}

/* Ensure each column takes equal width but fits within the row */
.footer-col {
  flex: 1 1 220px;
  /* try reducing from 250px to allow more columns */
  min-width: 200px;
}

.footer-col p,
h3,
.footer-col h4 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding-left: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: #ffffff;
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-socials a {
  margin-right: 0.75rem;
  display: inline-block;
}

.footer-socials img {
  width: 24px;
  height: 24px;
}

.footer-socials img:hover {
  filter: brightness(1.5);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid #2C2C2C;
  padding-top: 1rem;

}

.footer-bottom p {
  color: #fff;
}

.marquee-strip {
  background: #f2f2f2;
  overflow: hidden;
  padding: 0;
}

.marquee-wrapper {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.marquee {
  display: flex;
  white-space: nowrap;
  overflow: hidden;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 0;
  background: #fff;
  color: #ffffff;
}

.marquee span {
  display: inline-block;
  padding-right: 2rem;
  animation-duration: 20s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.marquee-left span {
  animation-name: marquee-left;
  background: #ED3237;
}

.marquee-right span {
  animation-name: marquee-right;
  background: #000000;
}

/* Fade-in section effects */
.section-container {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.section-container.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes marquee-right {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(100%);
  }
}


/* Modal overlay */
/* === Modal Overlay === */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  /* ✅ keep dark backdrop */
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  /* space from viewport edges */
  box-sizing: border-box;
}

.modal-overlay.show {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

/* === Modal Box === */
.modal-content {
  background: #fff;
  /* ✅ white modal box */
  max-width: 800px;
  width: calc(100% - 2rem);
  /* leave 1rem gap left & right */
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  padding: 2rem;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.3s ease;
  box-sizing: border-box;
}

/* Fade animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Modal Layout === */
.modal-grid {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  width: 100%;
  align-items: flex-start;
  box-sizing: border-box;
}

.modal-left,
.modal-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-sizing: border-box;
  padding-left: 1rem;
  padding-right: 1rem;
  /* ✅ prevents touching the edges */
}

/* === Close Button === */
.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

/* === Form Fixes === */
.modal-right .contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.modal-right .contact-form input,
.modal-right .contact-form textarea,
.modal-right .contact-form button {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .modal-grid {
    flex-direction: column;
    gap: 1.25rem;
  }

  .modal-left,
  .modal-right {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .modal-content {
    padding: 1.25rem;
  }
}


.form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info a,
.contact-intro p {
  font-size: 0.95rem;
  line-height: 1.4;
}

.form-success {
  background-color: #d4edda;
  color: #155724;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 5px;
  text-align: center;
  animation: fadeIn 0.5s ease-in-out;
}

.hidden {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.error-message {
  color: #e63946;
  font-size: 0.9rem;
  margin-top: 0.3rem;
  display: none;
}

.form-group input:invalid,
.form-group textarea:invalid {
  border-color: #e63946;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
}

.blog-heading {
  text-align: center;
  font-size: 2rem;
  margin: 2rem 0;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  padding: 0 1rem 3rem;
}

.blog-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1rem;
}

.blog-content h3 {
  margin: 0.5rem 0;
  font-size: 1.2rem;
  color: #2C2C2C;
}

.blog-content p {
  color: #9E9E9E;
  font-size: 0.95rem;
}

.read-more {
  display: inline-block;
  margin-top: 0.5rem;
  color: #ED3237;
  font-weight: bold;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

.blog-article {
  max-width: 800px;
  margin: auto;
  padding: 2rem;
  line-height: 1.8;
}

.blog-hero,
.blog-image-mid {
  width: 100%;
  border-radius: 10px;
  margin: 1.5rem 0;
}

.tags {
  margin-top: 0.5rem;
}

.tag {
  background-color: #F8F8F8;
  color: #2C2C2C;
  padding: 3px 8px;
  font-size: 0.8rem;
  border-radius: 5px;
  margin-right: 5px;
  display: inline-block;
}

.quality-quote {
  background-color: #9e0a0f !important;
  padding: 3rem 1.5rem;
  text-align: center;
}

.quote-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.quote-icon {
  font-size: 4rem;
  color: #ffffff !important;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.quality-quote h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: white !important;
}

.quality-quote blockquote {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #9E9E9E;
  background: #ffffff;
  padding: 1.5rem;
  border-left: 5px solid #260dc4 !important;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.quality-quote blockquote p {
  margin-bottom: 1rem;
}

.service-btn {
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  border: none;
  background: #ED3237;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.service-btn:hover {
  background: #ffffff;
  color: #ED3237;
}



@media (max-width: 768px) {

  .hero-content {
    padding: 1.5rem 1rem;
    position: relative;
    z-index: 2;
    /* ensure it sits above parallax images */
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero {
    height: auto;
    padding-bottom: 2rem;
    display: block !important;
  }

  .hero-heading {
    font-size: 1.4rem;
    line-height: 1.3;
    text-align: center;
  }

  .hero-line {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
  }

  .hero-content p {
    font-size: 1rem;
    line-height: 1.5;
    padding: 0 10px;
    text-align: center;
  }

  .hero-btn {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }

  .parallax-images {
    position: static !important;
    /* Ensure it's in normal document flow */
    display: flex !important;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem 0;
    pointer-events: auto;
    z-index: auto;
  }


  .parallax-images::-webkit-scrollbar {
    display: none;
  }

  .parallax {
    position: static !important;
    flex: 0 0 45%;
    /* reduced from 80% */
    max-width: 45%;
    height: auto;
    transform: none !important;
    scroll-snap-align: start;
    opacity: 1 !important;
  }


  /* Disable all absolute positioning on mobile */
  .parallax:nth-child(n) {
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
  }

  .stagger-text .line {
    font-size: 1.2rem;
  }

  .about-flex {
    flex-direction: column-reverse;
    text-align: center;
  }

  .about-text,
  .about-image {
    flex: 1 1 100%;
  }

  .about-text {
    text-align: center;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .contact-form {
    gap: 0.75rem;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    font-size: 1rem;
  }

  .contact-flex {
    flex-direction: column;
    text-align: center;
  }

  .contact-text,
  .contact-image {
    flex: 1 1 100%;
  }

  .modal-content {
    margin-top: 2rem;
    padding: 1rem;
    max-height: 95vh;
    overflow-y: auto;
  }

  .modal-logo {
    width: 100%;
    text-align: center;
  }

  .modal-logo img {
    width: 100%;
    /* Take full width of container */
    max-width: 100%;
    /* Prevent it from overflowing */
    height: auto;
    display: block;
    /* Prevent any inline gaps */
    margin: 0 auto;
    /* Center if needed */
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col {
    flex: 1 1 100%;
    margin-bottom: 2rem;
  }

  .quote-icon {
    font-size: 2.5rem;
  }

  .quality-quote h2 {
    font-size: 1.5rem;
  }

  .quality-quote blockquote {
    font-size: 1rem;
    padding: 1rem;
  }

}

@media (min-width: 768px) {
  .modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: flex-start;
  }

  .modal-left,
  .modal-right {
    width: 100%;
    /* Ensure each column takes full width of its grid cell */
  }
}


@media (max-width: 480px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
  }

  .whatsapp-float img {
    width: 24px;
    height: 24px;
  }
}

/* RECENT WORK SECTION */
.recent-work-section {
  padding: 8rem 2rem;
  background: #000;
  overflow: hidden;
}

.recent-work-section .section-title-wrap h2 {
  color: #fff;
  /* Fix title visibility */
}

.recent-work-section .section-title-wrap p {
  color: #b0b0b0;
}

.recent-work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 5rem;
  perspective: 2000px;
}

.work-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 450px;
  cursor: pointer;
  transition: all 0.8s cubic-bezier(0.2, 1, 0.22, 1);
  transform-style: preserve-3d;
  background: #111;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.work-image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  transform: translateZ(0);
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.22, 1);
}

.work-card:hover .work-image-wrap {
  transform: scale(1.15) rotateX(5deg) rotateY(-5deg);
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.8s ease;
}

.work-card:hover img {
  filter: brightness(0.3) contrast(1.2) grayscale(0.2);
}

.work-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(237, 50, 55, 0.9) 0%, rgba(0, 0, 0, 0) 60%);
  opacity: 0;
  transition: all 0.6s ease;
  display: flex;
  align-items: center;
  /* Center vertically */
  justify-content: center;
  /* Center horizontally */
  text-align: center;
  /* Center text */
  padding: 2rem;
  z-index: 2;
}

.work-card:hover .work-overlay {
  opacity: 1;
}

.work-info {
  transform: translateY(20px);
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.22, 1);
  width: 100%;
}

.work-card:hover .work-info {
  transform: translateY(0);
}

.work-info h3 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.work-info p {
  color: #fff;
  font-size: 0.95rem;
  /* Reduced font size */
  opacity: 0.95;
  line-height: 1.5;
  font-weight: 300;
  text-transform: none;
  /* Remove capitalization */
  max-width: 90%;
  margin: 0 auto;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(254, 255, 255, 0.15);
  border-radius: 12px;
  opacity: 0;
  transition: all 0.6s ease;
  z-index: 3;
  pointer-events: none;
  transform: scale(1.1);
}

.work-card:hover::after {
  opacity: 1;
  transform: scale(1);
  border-color: #ED3237;
  border-width: 2px;
}

/* ---------- MOBILE RESPONSIVENESS OVERRIDES ---------- */

/* ========== TABLET & SMALL DESKTOP (991px and below) ========== */
@media (max-width: 991px) {
  .nav-toggle {
    display: block;
    /* Show hamburger */
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #ffffff;
    /* Solid white */
    flex-direction: column;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 10000;
    /* Extremely high to stay on top */
    gap: 1.5rem;
    padding: 2rem;
    visibility: hidden;
  }

  .nav-list.active {
    transform: translateX(0);
    visibility: visible !important;
    display: flex !important;
  }

  /* Add overlay when menu is open */
  .nav-list.active::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
  }

  .sg-overlay-group {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sg-box {
    padding: 3rem 2rem;
    border-radius: 24px;
  }

  .sg-hero {
    height: auto;
    min-height: 70vh;
    padding: 140px 0 60px;
  }

  .sg-overlay-content {
    padding: 0 2rem;
  }

  .about-flex {
    flex-direction: column-reverse;
  }

  .about-text,
  .about-image {
    flex: 1 1 100%;
  }

  .about-text {
    text-align: center;
  }

  .video-container video {
    max-height: 60vh;
  }

  .post-body {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .blog-grid,
  .archive-blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

/* ========== TABLET (768px and below) ========== */
@media (max-width: 768px) {

  /* Reduce section padding for mobile */
  section {
    padding: 60px 0;
  }

  .section-title-wrap {
    margin-bottom: 2rem;
  }

  .section-container {
    padding: 0 1.5rem;
  }

  /* Hero section improvements */
  .sg-static h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .sg-static p {
    font-size: 1rem;
  }

  /* Hero actions - stack buttons vertically */
  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .hero-actions a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .sg-cta {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .btn-link-light {
    padding: 1rem 2rem;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    border-color: rgba(255, 255, 255, 0.5);
  }

  /* Service cards - single column */
  .service-cards-grid,
  .icon-services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .icon-service-card {
    min-height: 200px;
    padding: 1.5rem;
  }

  /* Portfolio/Recent work */
  .recent-work-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .work-card {
    height: 350px;
  }

  /* Blog grid */
  .blog-grid,
  .archive-blog-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* FAQ section */
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .faq-item {
    padding: 1.5rem;
  }

  /* Contact section */
  .contact-container {
    flex-direction: column;
    gap: 2rem;
  }

  .contact-left,
  .contact-right {
    width: 100%;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
    /* Prevents zoom on iOS */
  }

  .map-embed iframe {
    height: 300px;
  }

  /* Modal improvements */
  .modal-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .modal-content {
    margin: 1rem;
    padding: 1.5rem;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-logo img {
    max-width: 200px;
    height: auto;
  }

  /* Footer */
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-col {
    flex: 1 1 100%;
  }

  /* Product grid */
  .product-grid {
    grid-template-columns: 1fr;
  }

  /* Parallax sections */
  .parallax-base {
    min-height: 220px;
    background-attachment: scroll;
    /* Better mobile performance */
  }

  .parallax-caption h2 {
    font-size: 1.2rem;
  }

  /* Navigation spacing */
  .nav-list {
    gap: 1rem;
  }

  .nav-list a {
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
  }

  /* Touch-friendly buttons */
  button,
  .btn-primary,
  .btn-secondary,
  .sg-cta,
  .service-btn {
    min-height: 44px;
    /* iOS recommended touch target */
    min-width: 44px;
  }
}

/* ========== MOBILE (600px and below) ========== */
@media (max-width: 600px) {

  /* Further reduce spacing */
  section {
    padding: 40px 0;
  }

  .section-container {
    padding: 0 1rem;
  }

  /* Hero */
  .sg-hero {
    min-height: 60vh;
    padding: 100px 0 40px;
  }

  .sg-box {
    padding: 2rem 1.5rem;
    border-radius: 20px;
  }

  .sg-overlay-content {
    padding: 0 1rem;
  }

  /* Typography */
  h2 {
    font-size: clamp(1.75rem, 6vw, 2rem);
  }

  h3 {
    font-size: 1.5rem;
  }

  /* Logo */
  .logo img {
    height: 30px;
  }

  .site-header.scrolled .logo img {
    height: 24px;
  }

  /* Service cards */
  .card-icon-wrap {
    width: 50px;
    height: 50px;
  }

  .card-icon-wrap i {
    font-size: 1.5rem;
  }

  .icon-service-card h3 {
    font-size: 1.25rem;
  }

  .icon-service-card p {
    font-size: 0.9rem;
  }

  /* Work cards */
  .work-card {
    height: 280px;
  }

  .work-info h3 {
    font-size: 1.5rem;
  }

  .work-info p {
    font-size: 0.85rem;
  }

  /* Blog cards */
  .blog-content h3 {
    font-size: 1.5rem;
  }

  .blog-meta {
    font-size: 0.75rem;
  }

  /* Modal */
  .modal-content {
    margin: 0.5rem;
    padding: 1rem;
    border-radius: 12px;
  }

  /* Parallax */
  .parallax-caption h2 {
    white-space: normal;
    font-size: 1.1rem;
    line-height: 1.4;
    border-right: none;
    animation: none;
  }

  /* Contact */
  .contact-left h2 {
    font-size: 1.75rem;
  }

  .contact-form button {
    width: 100%;
  }

  /* About section video */
  .video-container video {
    max-height: 50vh;
    width: 100%;
  }

  /* Quote section */
  .quote-icon {
    font-size: 2.5rem;
  }

  .quality-quote h2 {
    font-size: 1.5rem;
  }

  .quality-quote blockquote {
    font-size: 1rem;
    padding: 1rem;
  }
}

/* ========== SMALL MOBILE (480px and below) ========== */
@media (max-width: 480px) {

  /* Even tighter spacing */
  section {
    padding: 30px 0;
  }

  .sg-hero {
    min-height: 50vh;
    padding: 80px 0 30px;
  }

  .sg-static h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .sg-static p {
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }

  .sg-cta {
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
  }

  /* Logo */
  .logo img {
    height: 45px;
  }

  /* Navigation */
  .nav-list {
    width: 90%;
    max-width: 280px;
  }

  /* Service cards */
  .icon-service-card {
    min-height: 180px;
    padding: 1.25rem;
  }

  .card-icon-wrap {
    width: 45px;
    height: 45px;
    margin-bottom: 1rem;
  }

  .icon-service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
  }

  /* Work cards */
  .work-card {
    height: 250px;
  }

  /* WhatsApp button */
  .whatsapp-btn {
    padding: 10px 16px;
    font-size: 14px;
  }

  /* Footer */
  .site-footer {
    padding: 3rem 1rem 2rem;
  }

  .footer-col {
    margin-bottom: 1.5rem;
  }

  /* Modal */
  .modal-overlay {
    padding: 0;
  }

  .modal-content {
    margin: 0;
    border-radius: 0;
    max-height: 100vh;
    width: 100%;
  }

  /* Forms */
  .contact-form input,
  .contact-form textarea {
    padding: 0.75rem;
  }

  /* Blog */
  .blog-image {
    aspect-ratio: 16/11;
  }

  /* About section */
  .about-text h2 {
    font-size: 1.35rem;
  }

  .about-text p {
    font-size: 0.9rem;
  }

  .why-choose-list {
    padding: 1rem;
  }

  .why-choose-list li {
    font-size: 0.9rem;
  }

  /* Parallax */
  .parallax-base {
    min-height: 180px;
  }
}

/* ========== EXTRA SMALL MOBILE (375px and below) ========== */
@media (max-width: 375px) {

  /* Minimum viable spacing */
  .sg-box {
    padding: 1.5rem 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .logo img {
    height: 40px;
  }

  .service-cards-grid,
  .icon-services-grid,
  .recent-work-grid,
  .faq-grid {
    gap: 1rem;
  }

  .work-card {
    height: 220px;
  }

  .icon-service-card {
    min-height: 160px;
    padding: 1rem;
  }

  .card-icon-wrap {
    width: 40px;
    height: 40px;
  }

  .card-icon-wrap i {
    font-size: 1.25rem;
  }
}

/* Fix for Location Map visibility */
.contact-section {
  overflow: visible;
}

.map-embed {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 350px;
}

/* Ensure header is legible on mobile */
@media (max-width: 991px) {
  .site-header.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
  }
}

/* Horizontal scroll fix */
* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
}

/* Improve touch interactions */
@media (hover: none) and (pointer: coarse) {

  /* Touch device specific styles */
  .work-card:active .work-overlay {
    opacity: 1;
  }

  .work-card:active .work-image-wrap {
    transform: scale(1.05);
  }

  /* Remove hover effects on touch devices */
  .modern-card:hover,
  .icon-service-card:hover {
    transform: none;
  }

  /* Show tap feedback instead */
  .modern-card:active,
  .icon-service-card:active {
    transform: scale(0.98);
  }
}

/* Ensure all images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Prevent text overflow */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  word-wrap: break-word;
  overflow-wrap: break-word;
}