/* ===== 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;
}

main {
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
}

/* 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.7);
  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;
}

/* ---------- 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: 6rem 2rem;
  background: linear-gradient(120deg, #ffffff 55%, #fdf5f5 100%);
}

/* Split layout for 2-column sections */
.split-layout {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 4rem;
}

.about-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4rem;
  width: 100%;
}

.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: 100%; /* Ensures it fits the container */
  max-width: 100%;
  object-fit: contain;
  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;
}



/* 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 */
  }
}


.main-nav {
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  color: #ED3237;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.5rem;
  line-height: 1.2;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #D4AF37;
  /* gold accent */
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: #D4AF37;
  /* gold on hover */
}

.main-nav a:hover::after {
  width: 100%;
  /* underline grows */
}

.nav-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #ED3237;
  cursor: pointer;
}

.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;
  }
}



/* ===== Section Container: Layout + Scroll Animation =====
   opacity starts at 1 (visible) by default.
   JS adds 'visible' class; this just polishes the transition. */
.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.section-container.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback: if JS is disabled or slow, content must still show */
.no-js .section-container,
.section-container[data-nojs] {
  opacity: 1;
  transform: none;
}

/* 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;
  min-width: 200px;
}

/* FIXED: was unscoped 'h3' which turned ALL h3s white sitewide */
.footer-col p,
.footer-col 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 — handled above; this block removed to prevent duplication */

@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) {
  .main-nav {
    display: none;
    flex-direction: column;
    background: #ffffff;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .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: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--light);
    flex-direction: column;
    justify-content: center;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    gap: 1.5rem;
    padding: 2rem;
  }

  .nav-list.active {
    right: 0;
  }

  /* 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;
}

/* ================= Single Post Styles ================= */
.post-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  color: var(--light);
  overflow: hidden;
  margin-bottom: 4rem;
}

.post-hero .section-container {
  position: relative;
  z-index: 10;
}

.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;
}

.post-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
  z-index: 2;
}

.post-header-content h1 {
  color: var(--light) !important;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.post-header-content .blog-meta {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
}

.post-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--light);
}

.post-body-wrapper {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 4rem;
  margin-bottom: 4rem;
}

.entry-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-main);
}

.entry-content p {
  margin-bottom: 1.5rem;
  color: var(--text-main); /* Ensure visibility */
}

.post-footer-tags {
  margin: 3rem 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.post-tags a {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--surface);
  border-radius: 99px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.post-tags a:hover {
  background: var(--primary);
  color: var(--light);
}

.post-share {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.post-share a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-muted);
  transition: var(--transition);
}

.post-share a:hover {
  background: var(--primary);
  color: var(--light);
  transform: translateY(-3px);
}

/* Sidebar Styles */
.sidebar-cta-card {
  background: var(--dark);
  color: var(--light);
  padding: 2.5rem;
  border-radius: 24px;
  text-align: center;
  margin-bottom: 3rem;
  position: sticky;
  top: 100px;
}

.cta-card-icon {
  width: 70px;
  height: 70px;
  background: rgba(227, 27, 35, 0.2);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.sidebar-cta-card h3 {
  color: var(--light);
  margin-bottom: 1rem;
}

.sidebar-cta-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.sidebar-recent-posts h4 {
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.sidebar-post-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.sidebar-post-thumb {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
}

.sidebar-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-post-info h5 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.sidebar-post-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Post Navigation */
.post-navigation-modern {
  display: flex;
  justify-content: space-between;
  padding: 3rem 0;
  border-top: 1px solid rgba(0,0,0,0.1);
  margin-top: 2rem;
}

.post-navigation-modern a {
  display: flex;
  flex-direction: column;
  max-width: 300px;
}

.nav-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.nav-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--dark);
  font-size: 1.1rem;
}

.nav-next-modern {
  text-align: right;
}

/* ================= Blog Page Styles ================= */
.blog-hero {
  background: var(--dark);
  color: var(--light);
  padding: 150px 0 100px;
  text-align: center;
}

.blog-hero h1 {
  color: var(--light) !important;
  margin-bottom: 1rem;
}

.blog-hero p {
  color: rgba(255,255,255,0.7);
  margin: 0 auto;
}

.blog-page-container {
  padding: 100px 0;
}

.modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 3rem;
}

/* ================= Modern Blog Card ================= */
.modern-blog-card {
  background: var(--light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.modern-blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.modern-blog-card .blog-image {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.modern-blog-card .blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.modern-blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.modern-blog-card .blog-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.modern-blog-card .blog-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
}

.modern-blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.modern-blog-card h3 a {
  color: var(--dark);
}

.modern-blog-card h3 a:hover {
  color: var(--primary);
}

.modern-blog-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.read-more-link i {
  transition: transform 0.3s ease;
}

.read-more-link:hover i {
  transform: translateX(5px);
}

.blog-pagination {
  margin-top: 5rem;
  text-align: center;
}

.blog-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.blog-pagination .page-numbers {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--surface);
  color: var(--dark);
  font-weight: 700;
  transition: var(--transition);
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: var(--primary);
  color: var(--light);
}

/* ================= Modal Enhancements ================= */
#serviceSelect {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.1);
  background: var(--surface);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-main);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.5rem center;
}

#serviceSelect:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

/* ================= Responsive Fixes ================= */
@media (max-width: 992px) {
  .post-body-wrapper {
    grid-template-columns: 1fr;
  }
  
  .post-sidebar {
    order: 2;
  }
  
  .post-main-content {
    order: 1;
  }
}

/* ================= Service Detail Modal Styles ================= */
.service-modal-content {
  max-width: 800px;
  width: 95%;
  border-radius: 32px;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,0.1);
  background: #fff;
}

.service-modal-inner {
  display: flex;
  flex-direction: column;
}

.service-modal-header {
  background: var(--dark);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--light);
  position: relative;
}

.service-modal-icon {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 16px rgba(var(--primary-rgb), 0.3);
}

.service-modal-header h2 {
  color: var(--light) !important;
  margin: 0;
  font-size: 2rem;
}

.service-modal-body {
  padding: 3rem;
  background: var(--light);
}

#modalServiceContent {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.service-modal-footer {
  padding: 2rem 3rem 3rem;
  background: var(--light);
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.05);
}

/* ================= Recent Work Meta Styles ================= */
.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin: 1.2rem 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
}

.work-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.work-meta span i {
  color: var(--primary);
  font-size: 0.9rem;
}

.work-card:hover .work-meta {
  color: #ffffff;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  transform: translateY(30px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.show .modal-content {
  transform: translateY(0);
}

.view-details-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
}

.modern-card:hover .view-details-btn {
  gap: 0.8rem;
}

/* ================= Revamped Footer Styles ================= */
.site-footer {
  background: var(--dark);
  color: var(--light);
  padding: 0;
  font-family: 'Inter', sans-serif;
}

.footer-main {
  padding: 8rem 0 5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 4rem;
}

.footer-logo img {
  height: 45px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 320px;
}

.footer-title {
  color: var(--light);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
  font-size: 0.95rem;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.contact-item .icon-box {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-item:hover .icon-box {
  background: var(--primary);
  color: var(--light);
}

.contact-item p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.contact-item p a {
  color: inherit;
}

.contact-item p a:hover {
  color: var(--primary);
}

.footer-socials-v2 {
  display: flex;
  gap: 1rem;
}

.footer-socials-v2 a {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  font-size: 1.1rem;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-socials-v2 a:hover {
  background: var(--primary);
  color: var(--light);
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

.footer-bottom {
  padding: 2.5rem 0;
  background: #0a0a0a;
}

.bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bottom-inner p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
}

.legal-links {
  display: flex;
  gap: 2rem;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  transition: var(--transition);
}

.legal-links a:hover {
  color: var(--light);
}

@media (max-width: 1200px) {
  .footer-grid {
    gap: 3rem;
  }
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
  
  .footer-main {
    padding: 6rem 0 4rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .bottom-inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .legal-links {
    justify-content: center;
  }
}

/* ================= Modern Single Post Styles ================= */
.single-post-modern {
  padding-bottom: 5rem;
  background: var(--light);
}

/* Inner wrapper for post header — always visible, no animation */
.post-wrapper-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  /* No opacity:0 — this is always visible content */
  opacity: 1 !important;
  transform: none !important;
}

/* Body wrap gives the post content area proper spacing */
.post-body-wrap {
  padding: 5rem 0 2rem;
  background: var(--light);
}

.post-hero-v2 {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  margin-bottom: 0;
  background: var(--dark);
  padding-top: 80px; /* Accounts for the fixed 80px header */
  padding-bottom: 4rem;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1; /* Made fully opaque */
}

.hero-overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.85) 100%);
}

.post-header-inner {
  position: relative;
  z-index: 10;
  max-width: 900px;
  color: var(--light);
}

.post-cat-list {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.post-cat-list a {
  background: var(--primary);
  color: var(--light);
  padding: 0.4rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.post-title-main {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--light) !important;
}

.post-meta-v2 {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: center;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}

.meta-item i {
  color: var(--primary);
}

.meta-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.single-post-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 5rem;
  align-items: start;
}

/* Guarantee post content is always visible */
.post-content-area {
  opacity: 1;
  visibility: visible;
  min-width: 0; /* prevent overflow in grid */
}

.entry-content-v2 {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text-main) !important;
  /* Ensure visibility is never overridden by animation classes */
  opacity: 1 !important;
  visibility: visible !important;
}

.entry-content-v2 p {
  margin-bottom: 1.75rem;
  color: #1F1F1F !important;
  max-width: none; /* Override global p max-width: 75ch */
  font-size: 1.1rem;
  line-height: 1.85;
}

.entry-content-v2 h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.entry-content-v2 h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  color: var(--dark);
}

.entry-content-v2 ul,
.entry-content-v2 ol {
  padding-left: 2rem;
  margin-bottom: 1.75rem;
}

.entry-content-v2 ul li,
.entry-content-v2 ol li {
  margin-bottom: 0.5rem;
  color: #1F1F1F;
  font-size: 1.05rem;
  line-height: 1.7;
}

.entry-content-v2 blockquote {
  border-left: 4px solid var(--primary);
  padding: 1.5rem 2rem;
  background: var(--surface);
  border-radius: 0 16px 16px 0;
  margin: 2.5rem 0;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.entry-content-v2 a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content-v2 a:hover {
  color: var(--dark);
}

.entry-content-v2 img {
  border-radius: 16px;
  margin: 2rem 0;
  box-shadow: var(--shadow-md);
  max-width: 100%;
  height: auto;
  display: block;
}

.entry-content-v2 h2, .entry-content-v2 h3 {
  margin: 3rem 0 1.5rem;
}

.entry-content-v2 img {
  border-radius: 16px;
  margin: 2rem 0;
  box-shadow: var(--shadow-md);
}

.post-footer-modern {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.post-tags-v2 {
  margin-bottom: 2.5rem;
}

.tags-label {
  font-weight: 700;
  margin-right: 1rem;
  color: var(--dark);
}

.post-tags-v2 a {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: var(--surface);
  border-radius: 99px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.post-tags-v2 a:hover {
  background: var(--primary);
  color: var(--light);
}

.post-share-v2 {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.share-text {
  font-weight: 700;
  color: var(--dark);
}

.share-links {
  display: flex;
  gap: 1rem;
}

.share-links a {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
  background: var(--surface);
  color: var(--text-muted);
}

.share-fb:hover { background: #3b5998; color: white !important; }
.share-tw:hover { background: #1da1f2; color: white !important; }
.share-wa:hover { background: #25d366; color: white !important; }

.post-nav-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 5rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 3rem;
}

.nav-btn a {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--surface);
  border-radius: 20px;
  transition: var(--transition);
}

.nav-btn a:hover {
  background: var(--primary);
  color: white !important;
}

.nav-dir {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  opacity: 0.6;
}

.nav-post-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.4;
}

.next { text-align: right; }

/* Sidebar V2 */
.sidebar-widget {
  background: var(--light);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 24px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-sm);
}

.quote-widget {
  background: var(--dark);
  color: var(--light);
  text-align: center;
}

.quote-widget h3 { color: var(--light) !important; margin-bottom: 1rem; }
.quote-widget p { color: rgba(255,255,255,0.7); font-size: 1rem; }

.widget-icon {
  width: 60px;
  height: 60px;
  background: rgba(227, 27, 35, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
}

.widget-title {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.widget-post-item {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 2rem;
  align-items: center;
}

.widget-thumb {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
}

.widget-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.widget-info h5 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.widget-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 1100px) {
  .single-post-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .post-sidebar-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .post-hero-v2 {
    min-height: 40vh;
  }
  
  .post-meta-v2 {
    gap: 1.5rem;
  }
  
  .post-nav-v2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .post-sidebar-v2 {
    grid-template-columns: 1fr;
  }
}

/* ================= Floating Action Bar ================= */
.floating-action-bar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
}

.fab-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.fab-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.fab-item span {
  position: absolute;
  right: 75px;
  background: var(--dark);
  color: white;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.fab-item span::before {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--dark);
}

.fab-item:hover span {
  opacity: 1;
  visibility: visible;
  right: 80px;
}

.fab-item:hover {
  transform: scale(1.1) translateY(-5px);
  color: white;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.fab-enquire { background-color: var(--primary); }
.fab-whatsapp { background-color: #25d366; }
.fab-call { background-color: #1F1F1F; }

@media (max-width: 768px) {
  .floating-action-bar {
    top: auto;
    bottom: 30px;
    right: 20px;
    transform: none;
    width: auto;
  }
  
  .fab-container {
    flex-direction: column;
    gap: 12px;
  }
  
  .fab-item {
    width: 50px;
    height: 50px;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  }

  .fab-item:hover {
    transform: scale(1.1) translateY(-3px);
  }
  
  .fab-item span {
    display: none; /* Hide tooltips on mobile since there is less space */
  }
}

/* ==========================================================
   FINAL OVERRIDE BLOCK — Stem Graphics Revamp Fixes
   All rules here take priority over legacy styles above
   ========================================================== */

/* ── Blog Listing Page (index.php) ─────────────────────── */
.blog-page-outer {
  background: var(--surface);
  padding: 80px 0 120px;
}

.blog-page-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  /* Always visible — not a scroll animation target */
  opacity: 1;
  transform: none;
}

.blog-page-inner .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 3rem;
  margin-bottom: 5rem;
}

/* No-posts state styling */
.no-posts {
  grid-column: 1 / -1;
  text-align: center;
  padding: 6rem 2rem;
  color: var(--text-muted);
}

.no-posts i {
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.3;
  display: block;
  margin-bottom: 2rem;
}

.no-posts p {
  font-size: 1.2rem;
  margin: 0 auto;
}

/* ── Blog Hero ──────────────────────────────────────────── */
.blog-hero {
  background: var(--dark);
  color: var(--light);
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 0%, rgba(227, 27, 35, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.blog-hero .section-container {
  position: relative;
  z-index: 2;
}

.blog-hero h1 {
  color: var(--light) !important;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.blog-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  margin: 0 auto;
  max-width: 600px;
}

/* ── About Section Improvements ─────────────────────────── */
.about-section .about-text {
  flex: 1 1 50%;
}

.about-section .about-image {
  flex: 1 1 45%;
}

/* Proper li spacing for the strategy list */
.modern-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.5;
}

.modern-list li i {
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ── Override global p max-width in content areas ────────── */
.entry-content-v2 p,
.post-content-area p,
.blog-content p,
.faq-item p,
.card-body p,
.sidebar-widget p {
  max-width: none;
}

/* ── Ensure about-section text content is always visible ─── */
.about-text,
.about-image,
.contact-left,
.contact-right,
.footer-col,
.faq-item,
.work-card,
.modern-blog-card,
.icon-service-card,
.sidebar-widget {
  opacity: 1;
  visibility: visible;
}

/* ── Single post responsive fixes ───────────────────────── */
@media (max-width: 1100px) {
  .single-post-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .post-sidebar-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .post-hero-v2 {
    min-height: 45vh;
    padding-top: 80px;
    padding-bottom: 3rem;
  }

  .post-title-main {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .post-meta-v2 {
    gap: 1.2rem;
    flex-wrap: wrap;
  }

  .post-nav-v2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .post-sidebar-v2 {
    grid-template-columns: 1fr;
  }

  .post-body-wrap {
    padding: 3rem 0 2rem;
  }

  .post-wrapper-inner {
    padding: 0 1.25rem;
  }

  .blog-page-inner {
    padding: 0 1.25rem;
  }

  .blog-page-outer {
    padding: 60px 0 80px;
  }

  .blog-page-inner .blog-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .post-hero-v2 {
    min-height: 35vh;
  }

  .single-post-grid {
    gap: 3rem;
  }
}

/* ── Contact section improvements ────────────────────────── */
.contact-section {
  padding: 100px 0;
  background: var(--surface);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 5rem;
  align-items: flex-start;
}

/* ── FAQ quick visibility fix ──────────────────────────────  */
.faq-grid {
  margin-top: 3rem;
}

.faq-item .faq-content {
  display: block !important;
  opacity: 1 !important;
}

/* ── Modal Popups Restricted bounds ──────────────────────────── */
.modal-content, .service-modal-content {
  max-width: 600px !important;
  max-height: 85vh !important;
  height: auto !important;
  overflow: visible !important;
  border-radius: 24px;
}

.service-modal-body {
  max-height: 50vh;
  overflow-y: auto;
  padding: 2rem;
}

#modalServiceContent {
  font-size: 1rem;
  line-height: 1.6;
}

/* ── Prevent Horizontal Scrolling / Global Fitting ───────── */
html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

img, video, canvas, svg {
  max-width: 100%;
  height: auto;
}

/* ── Print / accessibility: ensure all text is readable ───── */
@media print {
  .section-container {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── Mobile Menu Animation & Overlap Fix ─────────────────── */
.nav-list.active {
  box-shadow: -10vw 0 60px rgba(0,0,0,0.6);
  pointer-events: auto;
  z-index: 1050;
}

.nav-toggle {
  transition: all 0.3s ease;
}

.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
  transition: all 0.3s ease;
}

.nav-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
  transition: all 0.3s ease;
}

.hamburger::before, .hamburger::after {
  transition: all 0.3s ease;
}

/* ── Contact Form Premium Beautification ─────────────────── */
.contact-form {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.03);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 1.1rem 1.25rem;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  background: var(--surface, #f9f9fa);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-main, #333);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 5px rgba(237, 50, 55, 0.12);
  transform: translateY(-2px);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button[type="submit"] {
  width: 100%;
  padding: 1.1rem;
  background: linear-gradient(135deg, var(--primary), #d2262a);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 20px rgba(237, 50, 55, 0.25);
  margin-top: 0.5rem;
}

.contact-form button[type="submit"]:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 25px rgba(237, 50, 55, 0.4);
}

.contact-form button[type="submit"]:active {
  transform: translateY(0) scale(0.98);
}

