/* Google Fonts are now loaded via <link rel="preconnect"> + <link rel="stylesheet">
   in the HTML <head> instead of @import here. @import is render-blocking: the
   browser had to fully fetch and parse this file before it could even discover
   the font request, adding a serial round-trip before any text could render.
   Loading fonts from the HTML lets the browser fetch them in parallel with
   everything else, which improves First Contentful Paint / LCP.
   The requested weights were also trimmed to only what this file actually
   uses (see the weight audit below), cutting the font payload roughly in half:
     Outfit:            700, 800, 900        (was 400,500,600,700,800,900)
     Playfair Display:  800 normal + 800 italic (was 6 weight/style variants;
                         the italic 800 is kept because the hero heading's
                         "Placement Services" text uses font-style: italic)
     Plus Jakarta Sans: 400, 600, 700, 800, 900  (was 300,400,500,600,700,800)
*/

/* 
   SHYAM RAM PLACEMENT SERVICES - MODERN STYLESHEET
   Vanilla CSS3 - Production-Ready, Responsive, and Lightweight
*/

/* ==========================================================================
   1. DESIGN TOKENS & VARIABLES
   ========================================================================== */
:root {
  /* Palette sampled directly from sr-logo.png: the "S" is near-black
     (rgb 30,28,28) and the "R" is a deep red (rgb 209,19,35). */
  --color-primary: #d11323;       /* Logo Red (the "R") */
  --color-primary-hover: #a80f1c; /* Darker Red for hover */
  --color-secondary: #ffffff;     /* Pure White Background */
  --color-secondary-light: #fbe9eb; /* Light Red tint */
  --color-bg-white: #ffffff;
  --color-bg-light: #fff8f8;       /* Airy warm-white backdrop */
  --color-bg-accent: #fce9ea;      /* Accent Red section */
  
  --color-text-dark: #1a1717;      /* Logo Black text (the "S") */
  --color-text-muted: #6b6360;     /* Warm muted text, matched to the black */
  --color-text-light: #ffffff;
  
  --border-color: rgba(209, 19, 35, 0.15);
  --color-accent-amber: #fbbf24;   /* Amber Gold for ratings/icons */
  
  --shadow-sm: 0 2px 8px rgba(26, 23, 23, 0.06);
  --shadow-md: 0 12px 24px -10px rgba(26, 23, 23, 0.12);
  --shadow-lg: 0 20px 40px -15px rgba(26, 23, 23, 0.18);
  
  --gradient-primary: linear-gradient(135deg, #d11323 0%, #8a0d17 100%);
  --gradient-hero: radial-gradient(circle at 80% 20%, #fbe4e6 0%, transparent 45%), radial-gradient(circle at 10% 80%, #f7f0f0 0%, transparent 35%), #fff8f8;
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
  
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  --container-max-width: 1200px;
  --border-radius: 16px;
  --border-radius-sm: 8px;
  --border-radius-lg: 24px;
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--color-text-dark);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-bg-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius);
}

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

button, input, select, textarea {
  font: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  color: var(--color-text-dark);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1.25rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   3. REUSABLE UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-alt {
  background-color: var(--color-bg-accent);
}

.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 12px;
  font-weight: 700;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 2px solid transparent;
  gap: 0.5rem;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-text-light);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -10px rgba(209, 19, 35, 0.4);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-secondary-light);
  color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -10px rgba(209, 19, 35, 0.2);
}

.btn-outline {
  background-color: transparent;
  border-color: rgba(15, 23, 42, 0.15);
  color: var(--color-text-dark);
}

.btn-outline:hover {
  background-color: rgba(15, 23, 42, 0.03);
  border-color: var(--color-text-dark);
  transform: translateY(-3px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: white;
  border: none;
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -10px rgba(37, 211, 102, 0.4);
}

.btn-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ==========================================================================
   4. GLOBAL HEADER & NAVIGATION
   ========================================================================== */
.global-header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--color-text-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
  border-bottom: 1px solid rgba(209, 19, 35, 0.08);
}

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

/* Logo styling */
.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img-wrap {
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(209, 19, 35, 0.1);
  border: 1.5px solid rgba(209, 19, 35, 0.1);
}

.logo-img-wrap img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  border-radius: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  line-height: 1.1;
  color: var(--color-text-dark);
}

.logo-subtitle {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-muted);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-cta .btn {
  border-radius: 100px;
  font-size: 0.85rem;
  padding: 0.6rem 1.4rem;
  font-weight: 700;
  border: none;
}

/* Mobile Hamburger Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-text-dark);
  transition: var(--transition-normal);
}

/* Hamburger Transformations */
.toggle-active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.toggle-active span:nth-child(2) {
  opacity: 0;
}
.toggle-active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  background: var(--gradient-hero);
  color: var(--color-text-dark);
  padding: 8rem 0 7rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(209, 19, 35, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(209, 19, 35, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.hero * {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.hero-content {
  max-width: 550px;
}

.hero-tagline {
  color: var(--color-primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(209, 19, 35, 0.1);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(209, 19, 35, 0.2);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 3.6rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-text-dark);
}

.hero p {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 2.25rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.hero-actions .btn {
  border-radius: 100px;
  padding: 0.8rem 2.2rem;
  background-color: transparent;
  font-weight: 700;
  border-width: 2px;
}

.hero-actions .btn-primary {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.hero-actions .btn-primary:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -10px rgba(209, 19, 35, 0.4);
}

.hero-actions .btn-whatsapp {
  border-color: #25D366;
  color: #25D366;
  background: transparent;
}

.hero-actions .btn-whatsapp:hover {
  background-color: #25D366;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -10px rgba(37, 211, 102, 0.4);
}

.hero-phone-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

.hero-phone-cta a {
  transition: color var(--transition-fast);
}

.hero-phone-cta a:hover {
  color: var(--color-primary);
}

.hero-image-wrapper {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  width: 90%;
  height: 90%;
  background-color: rgba(209, 19, 35, 0.12);
  border-radius: 50% 60% 40% 50% / 40% 50% 60% 50%;
  animation: blob-bounce 8s ease-in-out infinite;
  z-index: 1;
}

@keyframes blob-bounce {
  0% { transform: scale(1) translate(0px, 0px) rotate(0deg); }
  33% { transform: scale(1.05) translate(5px, -10px) rotate(5deg); border-radius: 40% 50% 60% 50% / 50% 60% 40% 50%; }
  66% { transform: scale(0.95) translate(-5px, 5px) rotate(-5deg); border-radius: 60% 40% 50% 60% / 40% 50% 60% 40%; }
  100% { transform: scale(1) translate(0px, 0px) rotate(0deg); }
}

.hero-img {
  width: 100%;
  max-width: 440px;
  height: 440px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 20px 40px rgba(209, 19, 35, 0.15);
  border: 6px solid #ffffff;
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(0.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* ==========================================================================
   6. INTRO / TRUST INTRO SECTION
   ========================================================================== */
.intro-text-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 2.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--color-primary);
}

.section-title.text-left-title::after {
  left: 0;
  transform: none;
}

/* ==========================================================================
   7. SERVICES GRID PREVIEW & CARDS
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.service-card {
  background: var(--gradient-card);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(209, 19, 35, 0.25);
}

.service-card-img-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.service-card-img-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 60%, rgba(15, 23, 42, 0.25) 100%);
  z-index: 1;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover img {
  transform: scale(1.06);
}

.service-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-text-dark);
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.6;
}

.service-card-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  transition: all var(--transition-fast);
}

.service-card-link svg {
  transition: transform var(--transition-fast);
}

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

.service-card-link:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   8. WHY CHOOSE US
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
}

.why-card {
  background: var(--gradient-card);
  padding: 2.25rem 2rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(209, 19, 35, 0.25);
}

.why-icon {
  background-color: rgba(209, 19, 35, 0.08);
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  transition: all var(--transition-fast);
}

.why-card:hover .why-icon {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  transform: scale(1.05) rotate(5deg);
}

.why-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.why-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text-dark);
}

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

/* ==========================================================================
   9. HOW IT WORKS
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}

.process-step {
  position: relative;
  text-align: center;
  padding: 1rem;
}

.process-num {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(209, 19, 35, 0.15);
  margin-bottom: 0.5rem;
}

.process-step-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   10. LOCAL SEO SECTION & AREAS
   ========================================================================== */
.local-seo-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.local-seo-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.local-seo-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.local-seo-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  fill: currentColor;
}

.local-map-preview {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  height: 300px;
}

.map-placeholder-bg {
  background: linear-gradient(135deg, #f3ecec 0%, #f8f1f1 100%);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.map-marker-icon {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.map-marker-icon svg {
  width: 45px;
  height: 45px;
  fill: currentColor;
}

/* ==========================================================================
   11. FAQ ACCORDION SECTION
   ========================================================================== */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-bg-light);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: all var(--transition-fast);
  overflow: hidden;
}

.faq-item:first-child {
  border-top: 1px solid var(--border-color);
}

.faq-item:hover {
  border-color: rgba(209, 19, 35, 0.2);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-dark);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon-toggle {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform var(--transition-normal);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-question[aria-expanded="true"] {
  color: var(--color-primary);
  border-left: 4px solid var(--color-primary);
  padding-left: 1.25rem;
}

.faq-question[aria-expanded="true"] .faq-icon-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
}

.faq-answer-content {
  padding: 0 1.5rem 1.25rem 1.5rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   12. FINAL CALL-TO-ACTION (CTA) SECTION
   ========================================================================== */
.final-cta {
  background-color: #8a0d17;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.25) 0%, transparent 50%),
    linear-gradient(135deg, var(--color-primary) 0%, #8a0d17 100%),
    radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 24px 24px;
  color: var(--color-text-light);
  padding: 6.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.final-cta::before {
  content: '';
  position: absolute;
  top: -150px;
  left: -150px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(20px);
}

.final-cta::after {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(209, 19, 35, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(30px);
  animation: pulse-glow 8s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% { transform: scale(1) translate(0px, 0px); opacity: 0.6; }
  100% { transform: scale(1.15) translate(-10px, -20px); opacity: 0.9; }
}

.final-cta-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 3.5rem 2.5rem;
  background: rgba(26, 23, 23, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.final-cta h2 {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--color-text-light);
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.final-cta h2::before {
  content: 'GET IN TOUCH';
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
  text-shadow: none;
}

.final-cta p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.final-cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* Redesigned buttons specifically inside final-cta to make them pop */
.final-cta-buttons .btn-primary {
  background: #ffffff;
  color: #d11323; /* Logo Red */
  border: 2px solid #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.final-cta-buttons .btn-primary:hover {
  background: #fbe9eb; /* Very light red tint */
  color: #a80f1c; /* Darker red */
  border-color: #fbe9eb;
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(209, 19, 35, 0.35);
}

.final-cta-buttons .btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  border: 2px solid #25D366;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.2);
}

.final-cta-buttons .btn-whatsapp:hover {
  background: #1ebe57;
  border-color: #1ebe57;
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   13. SERVICE DETAIL PAGE STYLING
   ========================================================================== */
.page-intro-header {
  background-color: var(--color-bg-accent);
  border-bottom: 1px solid var(--border-color);
  padding: 4rem 0;
  text-align: center;
}

.page-intro-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-intro-header p {
  max-width: 750px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.service-detail-section {
  padding: 4rem 0;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-detail-section:nth-child(even) .service-detail-grid {
  direction: rtl;
}

.service-detail-section:nth-child(even) .service-detail-content {
  direction: ltr; /* Reset text direction */
}

.service-detail-section:nth-child(even) .service-detail-img-wrap {
  direction: ltr;
}

.service-detail-content {
  max-width: 500px;
}

.service-detail-img-wrap {
  box-shadow: var(--shadow-md);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.service-detail-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.bullet-list {
  list-style: none;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

/* ==========================================================================
   14. ABOUT & CONTACT PAGE STYLING
   ========================================================================== */
.about-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-card-info {
  background-color: var(--color-bg-accent);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.contact-info-text h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-info-text p {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: var(--color-text-muted);
}

/* Enquiry Form Styling */
.form-card {
  background-color: var(--color-bg-white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-secondary);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  outline: none;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  transition: all var(--transition-fast);
  background-color: var(--color-bg-white);
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(209, 19, 35, 0.1);
}

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

.form-submit-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
  display: block;
}

/* ==========================================================================
   15. 404 ERROR PAGE STYLING
   ========================================================================== */
.error-page-wrap {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  text-align: center;
}

.error-card {
  max-width: 500px;
}

.error-code {
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* ==========================================================================
   16. GLOBAL FOOTER
   ========================================================================== */
.global-footer {
  background-color: #171313;
  color: #ffffff;
  padding: 4rem 0 2rem 0;
  margin-top: auto;
  border-top: 4px solid var(--color-primary);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col-about {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-logo-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.footer-logo img {
  background-color: #ffffff;
  border-radius: 50%;
  padding: 1.5px;
  object-fit: contain;
}

.footer-about-text {
  color: #cbd5e1;
  line-height: 1.6;
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-primary);
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 0.75rem;
}

.footer-links-list a {
  color: #cbd5e1;
  transition: all var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

.footer-contact-info {
  list-style: none;
}

.footer-contact-info li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #cbd5e1;
}

.footer-contact-info svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: #888888;
  font-size: 0.8rem;
}

/* ==========================================================================
   17. MOBILE BOTTOM QUICK CONTACT BAR
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: var(--color-secondary);
  border-top: 2px solid var(--color-primary);
  z-index: 999;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.15);
  grid-template-columns: 1fr 1fr;
}

.mobile-bottom-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-light);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-bottom-item:last-child {
  border-right: none;
}

.mobile-bottom-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.mobile-bottom-item.item-whatsapp {
  background-color: #25D366;
}

.mobile-bottom-item.item-call {
  /* Was var(--color-secondary) (#ffffff) with white text/icon above (color:
     var(--color-text-light)) — the button was invisible, a real bug since this
     is the primary mobile call-to-action. Now uses the brand primary color so
     it reads clearly and pairs visually with the green WhatsApp button. */
  background-color: var(--color-primary);
}

/* Adds padding to body so fixed bottom menu doesn't hide text */
body.has-bottom-bar {
  padding-bottom: 60px;
}

/* ==========================================================================
   18. RESPONSIVE MEDIA QUERIES (MOBILE-FIRST)
   ========================================================================== */

/* Up to Tablet size (1024px) */
@media (max-width: 1024px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-phone-cta {
    justify-content: center;
  }
  
  .hero-img {
    height: 320px;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .service-detail-section:nth-child(even) .service-detail-grid {
    direction: ltr; /* Undo RTL for stacking */
  }
  
  .service-detail-content {
    max-width: 100%;
  }

  .service-detail-img-wrap img {
    height: 300px;
  }

  .about-contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Tablet / Large Mobile (768px) */
@media (max-width: 768px) {
  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  /* Hamburger Menu Toggle */
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--color-secondary-light);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    box-shadow: var(--shadow-md);
  }

  .nav-menu.nav-active {
    max-height: 300px;
    border-bottom: 3px solid var(--color-primary);
  }

  .nav-link {
    width: 100%;
    padding: 1.25rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: block;
  }

  .nav-link.active::after {
    display: none; /* Hide border line on mobile link */
  }

  .nav-link.active {
    background-color: rgba(209, 19, 35, 0.08);
    color: var(--color-primary);
    border-left: 4px solid var(--color-primary);
  }

  .header-cta .btn {
    display: none; /* Hide header CTA button on mobile */
  }

  .local-seo-wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .local-seo-list {
    grid-template-columns: 1fr;
  }

  /* Show mobile quick bar */
  .mobile-bottom-bar {
    display: grid;
  }

  body {
    padding-bottom: 60px; /* space for bar */
  }
}

/* ==========================================================================
   19. REDUCED MOTION SUPPORT
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Tiny Mobile Viewports (480px and below) */
@media (max-width: 480px) {
  .hero {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .form-card, .contact-card-info {
    padding: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}