/*
Theme Name: SertifikasiPro
Theme URI: https://sertifikasipro.com
Author: Antigravity
Author URI: https://google.com
Description: Custom WordPress theme converted from SertifikasiPro HTML template.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sertifikasipro
*/

:root {
  /* Colors */
  --primary-color: #0f172a; /* Dark Blue */
  --secondary-color: #334155; /* Slate */
  --accent-color: #d4af37; /* Gold */
  --accent-hover: #b5952f;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --white: #ffffff;
  --light-bg: #f8fafc;
  --dark-bg: #0f172a;
  --primary-dark: #020617; /* Darker shade for gradients */

  /* Typography */
  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing */
  --container-padding: 20px;
  --section-padding: 5rem 15px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
  scroll-behavior: smooth;
}

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

body:not(.front-page) {
  padding-top: 89px; /* Add padding to prevent header overlap on non-front pages */
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.text-gold {
  color: var(--accent-color);
}

.text-center {
  text-align: center;
}

.text-white {
  color: var(--white);
}

.bg-light {
  background-color: var(--light-bg);
}

.bg-dark {
  background-color: var(--dark-bg);
}

.section {
  padding: var(--section-padding);
}

.section-title {
  font-size: 3rem;
  margin-bottom: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.section-title.text-white {
  color: var(--white);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  outline: none; /* Remove browser default outline */
}

.btn:focus {
  outline: 2px solid rgba(251, 191, 36, 0.5);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  color: var(--white);
  box-shadow: none; /* Remove shadow completely */
  position: relative;
  overflow: hidden;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  border: none; /* Ensure no border */
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3); /* Subtle shadow only on hover */
  background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 50%, #f59e0b 100%);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.3);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  padding: 1rem 0 8px 0;
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.95rem;
}

.nav-link {
  font-weight: 500;
  color: var(--secondary-color);
  transition: var(--transition);
  position: relative;
}

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

.nav-link:hover::after {
  width: 100%;
}

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

.nav-link.btn {
  color: var(--white);
}

.nav-link.btn::after {
  display: none;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  background: linear-gradient(135deg, 
    #f8fafc 0%, 
    #e0e7ff 25%,
    #fef3c7 75%,
    #fde68a 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(251, 191, 36, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 0;
  animation: pulse 4s ease-in-out infinite;
}

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

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #0f172a 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 500px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid #cbd5e1;
  padding-top: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-color) 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.hero-shape {
  width: 100%;
  height: 450px;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morph 8s ease-in-out infinite, float 6s ease-in-out infinite;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.hero-shape::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  border-radius: inherit;
}

@keyframes morph {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  50% {
    border-radius: 30% 30% 70% 70% / 50% 30% 70% 50%;
  }
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Hero Glass Badge */
.hero-glass-badge {
  position: absolute;
  bottom: 10%;
  left: -10%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  z-index: 2;
  animation: float 6s ease-in-out infinite reverse;
}

.badge-icon {
  font-size: 2rem;
  background: var(--white);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

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

.badge-title {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1rem;
}

.badge-subtitle {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Hero Texture */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--primary-color) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.03;
  pointer-events: none;
  z-index: -1;
}

/* Responsive */
@media (max-width: 991px) {
  body:not(.front-page) {
    padding-top: 82px;
  }

  .header-container {
    padding: 0 1rem;
  }

  .hero {
    padding: 4rem 0;
    overflow: hidden; /* Ensure no overflow */
  }

  .hero-image {
    display: none; /* Hide image on mobile/tablet */
  }
  
  /* Fix negative positioning on mobile */
  .hero-glass-badge, 
  .shape-1, 
  .shape-2,
  .shape-3 {
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 100%; /* Prevent overflow */
  }
  
  /* Hide ALL decorative shapes and blur elements on mobile */
  .shape,
  .shape-1,
  .shape-2,
  .shape-3,
  .scroll-deco-shape,
  .abstract-illustration,
  .abstract-illustration .shape {
    display: none !important;
  }
  
  /* Hide decorative floating cards on mobile */
  .content-card,
  .floating-card-1,
  .floating-card-2 {
    display: none !important;
  }
  
  /* Hide decorative image containers */
  .why-us-image {
    display: none !important;
  }
  
  .mobile-menu-btn {
    display: block;
    z-index: 1001;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--white);
    padding: 5rem 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .nav-btn {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
  }

  /* Force 1 column for all main grids */
  .hero-container,
  .why-us-container {
    grid-template-columns: 1fr !important; /* Force 1 column for all main grids */
    text-align: center;
    gap: 3rem;
    padding: 0 1rem;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  /* Contact container with minimal padding for wider form */
  .contact-container {
    grid-template-columns: 1fr !important;
    gap: 3rem;
    padding: 0 !important; /* No horizontal padding for maximum width */
    max-width: 100%;
    overflow-x: hidden;
  }
  
  /* Override parent container padding for contact section */
  #contact .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
  }
  
  /* Contact section specific fixes */
  .contact-info {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 0.5rem !important;
  }
  
  .contact-form-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 1.5rem 2rem !important; /* Minimal horizontal padding */
    box-sizing: border-box;
  }
  

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-title {
    font-size: 2.5rem;
  }
  
  /* Ensure grids wrap correctly */
  .process-steps,
  .testimonials-grid,
  .services-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
  
  /* Disable Reveal Animations on Mobile */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  /* Increase horizontal padding inside form inputs on mobile */
  .form-control {
    padding: 1rem 1.5rem !important; /* Increased horizontal padding from 1rem */
  }
}

/* Services Section */
.section-header {
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-top: 1rem;
}

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

/* Service Section Full-Width Background */
#services {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.6) 0%, rgba(241, 245, 249, 0.9) 100%);
  position: relative;
  /* overflow: hidden removed - prevents sticky positioning */
}

#services::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(251, 191, 36, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(15, 23, 42, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Sticky Split-Scroll Styles */
.split-scroll-container {
  display: flex;
  gap: 4rem;
  position: relative;
  padding: 4rem 0;
  z-index: 1;
}

/* Remove duplicate pattern overlay from container */

/* Decorative Shapes - Enhanced */
.scroll-deco-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  opacity: 0.5;
  animation: float 8s ease-in-out infinite;
}

.shape-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%);
  top: 5%;
  left: -15%;
  animation-delay: 0s;
}

.shape-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  bottom: 15%;
  right: -10%;
  animation-delay: 4s;
}

.service-sticky-nav {
  flex: 1;
  position: relative;
}

.sticky-wrapper {
  position: sticky;
  top: 120px;
  padding-right: 2rem;
}

.sticky-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--primary-color);
  line-height: 1.2;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 1.5rem;
}

.sticky-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

/* Optional subtitle - can be added in HTML */
.sticky-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  font-weight: 400;
  line-height: 1.6;
}

.service-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

/* Alive Indicator - Enhanced */
.nav-indicator {
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 0; /* Will be set by JS */
  background: linear-gradient(180deg, var(--accent-color) 0%, #f59e0b 100%);
  border-radius: 0 4px 4px 0;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.5);
}

.nav-item {
  margin-bottom: 0;
  position: relative;
}

.nav-link-scroll {
  display: flex;
  align-items: center;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: var(--text-light);
  font-weight: 600;
  transition: all 0.3s ease;
  border-left: 4px solid transparent; /* Placeholder for alignment */
  border-radius: 0 12px 12px 0;
}

.nav-link-scroll:hover {
  color: var(--primary-color);
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.08) 0%, rgba(255, 255, 255, 0.3) 100%);
  transform: translateX(5px);
}

.nav-link-scroll.active {
  color: var(--primary-color);
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.12) 0%, rgba(255, 255, 255, 0.5) 100%);
  font-weight: 700;
}

.nav-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  margin-right: 1.5rem;
  opacity: 0.4;
  transition: all 0.3s ease;
  font-weight: 700;
  color: var(--secondary-color);
}

.nav-link-scroll:hover .nav-number,
.nav-link-scroll.active .nav-number {
  opacity: 1;
  background: linear-gradient(135deg, var(--accent-color) 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: scale(1.15);
}

.nav-text {
  font-size: 1.1rem;
}

.service-scroll-content {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  gap: 0; /* Space between blocks */
  padding-bottom: 0;
}

/* Glassmorphism Cards */
/* Horizontal Minimalist Layout (Clean List) */
.service-block {
  min-height: auto; /* Remove fixed height */
  display: flex;
  flex-direction: row; /* Horizontal layout */
  align-items: flex-start; /* Align top */
  scroll-margin-top: 150px;
  
  /* Minimalist Styling */
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Subtle separator */
  border-radius: 0; /* Remove rounded corners */
  padding: 2.5rem 3rem; /* Vertical padding only */
  box-shadow: none; /* Remove shadow */
  
  /* Animation Initial State */
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  position: relative;
  overflow: visible; /* Allow content to flow */
}

.service-block:first-child {
  border-radius: 30px 30px 0 0;
}

.service-block:last-child {
  border-bottom: none; /* Remove border from last item */
  border-radius: 0 0 30px 30px;
}

/* Remove hover effects that are too heavy */
.service-block:hover {
  transform: none; /* Remove movement to prevent gaps */
  background: #fcfcfc; /* Very subtle grey for hover */
  box-shadow: inset 0 0 20px rgba(0,0,0,0.02); /* Inner shadow for depth */
  z-index: 1;
}

.service-block.active-block {
  opacity: 1;
  transform: translateY(0);
}

.block-visual {
  margin-bottom: 0;
  margin-right: 2rem; /* Space between icon and text */
  flex-shrink: 0; /* Prevent icon from shrinking */
}

.block-icon {
  width: 60px; /* Smaller icon */
  height: 60px;
  background: rgba(251, 191, 36, 0.1); /* Lighter background */
  border-radius: 12px; /* Softer corners */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none; /* Remove icon shadow */
  font-size: 1.8rem;
  color: var(--primary-color);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.block-icon img {
  width: 55%;
  height: 55%;
  object-fit: contain;
  filter: none; /* Remove drop shadow */
}

/* Remove complex icon hover effects */
.block-icon::before {
  display: none;
}

.service-block:hover .block-icon {
  transform: scale(1.05);
  background: var(--primary-color);
  color: var(--white);
}

.block-info {
  flex: 1; /* Take remaining space */
}

.block-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary-color);
}

.block-title {
  font-size: 1.5rem; /* Smaller title for list view */
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  line-height: 1.3;
  padding-bottom: 0;
}

/* Remove decorative underline for minimalist look */
.block-title::after {
  display: none;
}
/* End of block title styles */

.block-desc {
  font-size: 1.15rem;
  line-height: 134%;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  font-weight: 400;
  opacity: 0.95;
}

/* Active Marker (Gold Line) */
.service-block::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 0;
  background: var(--accent-color); /* Use Gold Accent Color */
  transition: height 0.3s ease;
  border-radius: 0 4px 4px 0;
}

.service-block:hover::after,
.service-block.active-block::after {
  height: 60%; /* Show line on hover/active */
}

.block-btn {
  align-self: flex-start;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 0.9rem 2rem;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.15);
  display: inline-flex; /* Changed from flex to inline-flex */
  align-items: center;
  gap: 0.5rem;
  width: fit-content; /* Ensure it fits content */
}

/* Interactive Button Arrow */
.block-btn::after {
  content: "\2192"; /* Right arrow */
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  font-size: 1.2em;
  line-height: 0;
  top: -3px;
  position: relative;
}

.block-btn:hover {
  padding-right: 2.5rem; /* Make space for arrow */
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.block-btn:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Subtle Icon Animation (Pulse) */
@keyframes iconPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.service-block:hover .block-icon {
  background: var(--primary-color);
  color: var(--white);
  animation: iconPulse 1.5s infinite ease-in-out; /* Pulse animation */
}
/* End of icon animation */

.block-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.25);
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.block-btn:hover::before {
  width: 300px;
  height: 300px;
}

@media (max-width: 991px) {
  .split-scroll-container {
    flex-direction: column;
    padding-top: 0;
    padding-bottom: 0;
    gap: 0;
  }
  
  .service-sticky-nav {
    position: relative;
    top: 0;
    margin-bottom: 1rem;
    height: auto;
    padding: 2rem 1rem 0;
  }

  .service-nav-list {
    display: none;
  }
  
  .service-block {
    flex-direction: column; /* Vertical Stack */
    align-items: flex-start;
    padding: 2rem;
    gap: 1.5rem;
  }

  .block-visual {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }

  .block-title {
    font-size: 1.35rem;
  }
  
  /* Adjust Active Marker for Mobile */
  .service-block::after {
    left: -1rem; /* Move marker slightly outside */
    width: 3px;
  }
}

/* Why Choose Us Section */
.why-us-container {
  display: grid;
  grid-template-columns: 1fr 0.8fr; /* Content wider than image */
  gap: 4rem;
  align-items: center;
  position: relative;
}

/* Background Pattern */
.why-us-container::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(var(--primary-color) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.1;
  z-index: -1;
}

.why-us-desc {
  color: var(--text-light);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

.benefits-list {
  display: flex;
  flex-direction: column; /* Vertical List */
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.benefit-item:hover {
  transform: translateX(10px); /* Slide right on hover */
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

/* Active Marker for Benefit Items */
.benefit-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 0;
  background: var(--accent-color);
  transition: height 0.3s ease;
  border-radius: 0 4px 4px 0;
}

.benefit-item:hover::after {
  height: 60%;
}

.benefit-icon {
  width: 50px;
  height: 50px;
  background: rgba(15, 23, 42, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
  background: var(--primary-color);
  color: var(--white);
  transform: scale(1.1);
}

.why-us-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.why-us-image:hover img {
  transform: translateY(-10px);
}

@media (max-width: 991px) {
  .why-us-container {
    grid-template-columns: 1fr; /* Stack on mobile */
    gap: 3rem;
  }
  
  .why-us-image {
    order: -1; /* Image on top on mobile */
    margin-bottom: 2rem;
  }
}
/* End of Why Choose Us styles */

/* Abstract Illustration */
.abstract-illustration {
  width: 100%;
  height: 500px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  z-index: 0;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--primary-color);
  top: 10%;
  right: 10%;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 250px;
  height: 250px;
  background: var(--accent-color);
  bottom: 10%;
  left: 10%;
  animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: #4f46e5;
  top: 40%;
  left: 40%;
  animation: pulse 6s ease-in-out infinite;
}

.shape-content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.content-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  animation: float 5s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.floating-card-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-card-2 {
  bottom: 20%;
  right: 10%;
  animation-delay: 2.5s;
}

.card-icon {
  font-size: 1.5rem;
}

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



/* Testimonials */
/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: var(--transition-smooth);
  transform-style: preserve-3d;
  cursor: pointer;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.quote-icon {
  font-size: 4rem;
  color: rgba(212, 175, 55, 0.2);
  position: absolute;
  top: 1rem;
  right: 2rem;
  font-family: serif;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-avatar {
  width: 50px;
  height: 50px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
}

.client-name {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  color: var(--primary-color);
}

.client-role {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

.faq-question:hover {
  background-color: #f8fafc;
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 2rem;
}

.faq-item.active .faq-answer {
  padding-bottom: 1.5rem;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.contact-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.2rem;
}

.contact-value {
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-form-wrapper {
  background: var(--white);
  padding: 3rem;
  border-radius: 1.5rem;
  color: var(--text-dark);
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  font-size: 0.95rem;
}

.footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

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

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  display: block;
}

.footer-desc {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent-color);
  color: var(--white);
}

.footer-heading {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

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

.footer-links a {
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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

.stagger-1 {
  transition-delay: 0.1s;
}
.stagger-2 {
  transition-delay: 0.2s;
}
.stagger-3 {
  transition-delay: 0.3s;
}
.stagger-4 {
  transition-delay: 0.4s;
}

/* Floating CTA */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-decoration: none;
  z-index: 999;
  transition: transform 0.3s ease;
}

.floating-cta:hover {
  transform: translateY(-5px);
}

.floating-cta svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Back to Top Button */
#backToTop {
  display: none;
  position: fixed;
  bottom: 90px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: var(--primary-color);
  color: white;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s, transform 0.3s;
  width: 40px;
  height: 40px;
}

#backToTop:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
}

#backToTop.show {
  display: block;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Toast Notification */
#toast-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

.toast {
  visibility: hidden;
  min-width: 250px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  bottom: 30px;
  font-size: 17px;
  opacity: 0;
  transition: opacity 0.5s, bottom 0.5s;
}

.toast.show {
  visibility: visible;
  opacity: 1;
  bottom: 50px;
}

.toast.success {
  background-color: #4caf50;
}

.toast.error {
  background-color: #f44336;
}
/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

/* Single Service Page Styles */

/* Service Hero */
.service-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  padding: 6rem 0 4rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
  margin-bottom: 4rem;
}

.service-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.3;
}

.service-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.service-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-breadcrumb {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.service-breadcrumb a {
  color: var(--white);
  text-decoration: none;
}

.service-breadcrumb a:hover {
  text-decoration: underline;
}

/* Service Layout */
.service-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 4rem;
  align-items: start;
}

/* Service Content */
.service-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--secondary-color); /* Darker for better readability */
}

.entry-content p {
  margin-bottom: 1.5rem;
}

.service-content h2 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.service-content h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.service-content ul, .service-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.service-content li {
  margin-bottom: 0.5rem;
}

/* Service Sidebar */
.service-sidebar {
  position: sticky;
  top: 135px;
}

.widget-box {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.widget-box:last-child {
  margin-bottom: 0;
}

.widget-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  padding-bottom: 0;
  border-bottom: 2px solid var(--bg-light);
}

/* Service List Widget */
/* Service List Widget */
.service-list-widget {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list-widget li {
  margin-bottom: 6px; /* Slightly larger gap */
  position: relative;
  list-style: none;
}

.service-list-widget a {
  display: block; /* Change to block for better text wrapping control */
  padding: 1.2rem 3rem 1.2rem 1.5rem; /* Right padding for arrow */
  background: #f8fafc;
  border-radius: 6px;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid transparent;
  position: relative;
  line-height: 1.4;
}

/* Absolute Arrow for perfect alignment */
.service-list-widget a::after {
  content: "→";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--text-light);
  transition: all 0.2s ease;
  opacity: 0.6;
}

/* Ensure no double icons from before */
.service-list-widget a::before {
  content: none !important;
  display: none !important;
}

.service-list-widget a:hover,
.service-list-widget a.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  padding-left: 1.8rem; /* Subtle slide */
}
/* Quick Contact Widget */
.quick-contact-widget {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* Consistent spacing */
}

/* Base style for both buttons */
.quick-contact-btn,
.quick-contact-email {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s ease;
  border: none;
  color: white; /* Always white text */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  margin-bottom: 0;
}

/* WhatsApp Specifics */
.quick-contact-btn {
  background: #25D366;
  margin-bottom: 1rem; /* Explicit spacing since wrapper is missing */
}

.quick-contact-btn:hover {
  background: #128C7E;
  transform: translateY(-2px);
  color: white;
  box-shadow: 0 6px 12px rgba(37, 211, 102, 0.3);
}

/* Email Specifics - Now Solid Blue */
.quick-contact-email {
  background: var(--primary-color);
}

.quick-contact-email:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  color: white;
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.3);
}



/* Mobile Responsiveness */
@media (max-width: 991px) {
  .service-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .service-sidebar {
    order: 2; /* Sidebar below content on mobile */
    position: static;
  }
}

/* Process Steps Section */
/* Process Steps Section (Redesign) */
.service-process {
  margin-top: 4rem;
  margin-bottom: 4rem;
  padding: 3rem 2rem;
  background: var(--light-bg);
  border-radius: 1.5rem;
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

.process-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
}

.process-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  position: relative;
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Connecting Arrows */
.process-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 25px;
  right: -50%; /* Position halfway to next item */
  transform: translateX(-50%);
  font-size: 2rem;
  color: var(--accent-color);
  opacity: 0.3;
  font-weight: 300;
  z-index: 0;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--white);
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 2;
}

.process-step:hover .step-number {
  background: var(--accent-color);
  color: var(--white);
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.process-step:hover .step-title {
  color: var(--accent-color);
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0;
  max-width: 250px; /* Limit width for readability */
}

/* Remove old arrow class if present in HTML */
.process-arrow {
  display: none;
}

@media (max-width: 768px) {
  .process-steps {
    flex-direction: column;
    gap: 2rem;
  }
  
  .process-arrow {
    transform: rotate(90deg);
  }
}

/* FAQ Section */
.service-faq {
  display: none;
  margin-bottom: 3rem;
}

.faq-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item[open] {
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border-color: var(--accent-color);
}

.faq-question {
  padding: 1rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  list-style: none;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.95rem;
  border-top: 1px solid rgba(0,0,0,0.03);
  margin-top: 0.5rem;
  padding-top: 1rem;
}

/* Testimonials Section */
.service-testimonials {
  display: none;
  margin-bottom: 3rem;
  text-align: center;
}

.testimonial-title {
  margin-bottom: 2rem;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.testimonial-card {
  background: var(--primary-color);
  color: var(--white);
  padding: 3rem;
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-size: 8rem;
  color: rgba(255,255,255,0.1);
  font-family: serif;
  line-height: 1;
}

.testimonial-quote {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.author-info {
  text-align: left;
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: var(--white);
}

.author-info p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0;
}

/* Bottom CTA Section */
.service-bottom-cta {
  margin-top: 4rem;
  padding: 3rem;
  background: var(--light-bg);
  border-radius: 1rem;
  text-align: center;
  border: 2px dashed var(--accent-color);
}

.service-bottom-cta h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-bottom-cta p {
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.service-bottom-cta .cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--accent-color);
  color: var(--white);
  border-radius: 2rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.service-bottom-cta .cta-button:hover {
  background: var(--accent-hover);
  color: var(--text-light);
  opacity: 0.5;
}

@media (max-width: 768px) {
  .process-steps {
    flex-direction: column;
    gap: 3rem;
    align-items: center; /* Fix centering */
  }
  
  .process-step:not(:last-child)::after {
    display: none;
  }
  
  .process-arrow {
    display: none;
  }
}

/* FAQ Section */
/* FAQ Section (Redesign) */
.service-faq {
  display: none;
  margin-bottom: 3rem;
}

.faq-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.faq-item.active {
  border-color: var(--accent-color);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

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

.faq-item.active .faq-question {
  background-color: rgba(251, 191, 36, 0.05);
  color: var(--accent-color);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--text-light);
  transition: transform 0.3s ease, color 0.3s ease;
  font-weight: 400;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
  color: var(--accent-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease 0.1s;
  padding: 0 2rem;
  opacity: 0;
  border-top: none; /* Override old styles */
  margin-top: 0;    /* Override old styles */
}

.faq-item.active .faq-answer {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  opacity: 1;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.4s ease 0.1s;
}

.faq-answer p {
  color: var(--text-light);
  line-height: 0;
  margin: 0;
}

/* Testimonials Section */
.service-testimonials {
  display: none;
  margin-bottom: 3rem;
  text-align: center;
}

.testimonial-title {
  margin-bottom: 2rem;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.testimonial-card {
  background: var(--primary-color);
  color: var(--white);
  padding: 3rem;
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-size: 8rem;
  color: rgba(255,255,255,0.1);
  font-family: serif;
  line-height: 1;
}

.testimonial-quote {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.author-info {
  text-align: left;
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: var(--white);
}

.author-info p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0;
}

/* Bottom CTA Section (Redesign) */
.service-bottom-cta {
  margin-top: 3rem;
  padding: 4rem 3rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e293b 100%);
  border-radius: 1.5rem;
  text-align: center;
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
  color: var(--white);
}

/* Decorative Background Shapes */
.service-bottom-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.service-bottom-cta::after {
  content: "";
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.service-bottom-cta h3 {
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.service-bottom-cta p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.service-bottom-cta .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 3rem;
  background: var(--white);
  color: var(--primary-color);
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
}

.service-bottom-cta a.cta-button:hover,
.service-bottom-cta a.cta-button:focus,
.service-bottom-cta a.cta-button:active {
  background-image: linear-gradient(135deg, #d4af37 0%, #f59e0b 100%) !important;
  background-color: #d4af37 !important;
  color: #ffffff !important;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4) !important;
  border: none !important;
  text-decoration: none !important;
  opacity: 1 !important;
}

/* Table of Contents Widget */
.toc-widget .service-list-widget a {
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
}

.toc-widget .service-list-widget a.active {
  background: var(--primary-color);
  color: var(--white);
  padding-left: 1.5rem;
}

/* Google Maps Section */
.contact-map-container {
    margin-top: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    line-height: 0;
}

.contact-map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .contact-map-container iframe {
        height: 300px;
    }
}
/* Testimonials Section (Redesign) */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  padding: 2.5rem !important;
  border-radius: 1.5rem !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.4s ease !important;
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  color: var(--text-dark) !important;
}

.testimonial-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: var(--accent-color) !important;
}

.testimonial-quote {
  font-size: 4rem !important;
  line-height: 1 !important;
  color: var(--accent-color) !important;
  opacity: 0.2 !important;
  position: absolute !important;
  top: 1.5rem !important;
  right: 2rem !important;
  font-family: serif !important;
}

.testimonial-text {
  font-size: 1.05rem !important;
  color: var(--text-dark) !important;
  line-height: 1.7 !important;
  margin-bottom: 2rem !important;
  position: relative !important;
  z-index: 1 !important;
  font-style: italic !important;
}

.testimonial-author {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-top: auto !important;
  border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
  padding-top: 1.5rem !important;
  justify-content: flex-start !important;
}

.author-avatar {
  width: 50px !important;
  height: 50px !important;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
  color: var(--white) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
}

.author-info h4 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--primary-color) !important;
  margin-bottom: 0.2rem !important;
}

.author-info p {
  font-size: 0.85rem !important;
  color: var(--text-light) !important;
  margin: 0 !important;
}

/* =========================================
   Single Service Page Specific Styles
   ========================================= */

/* --- Process Section: Modern Card Timeline --- */
.single-service .service-process {
  background: transparent;
  padding: 0;
  border: none;
  margin-top: 3rem;
  overflow: visible; /* Allow shadows to show */
  margin-bottom: 0;
}

.single-service .process-title {
  text-align: left;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 4px solid var(--accent-color);
}

.single-service .process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  padding-left: 0;
}

/* Remove the old continuous line */
.single-service .process-steps::before {
  display: none;
}

.single-service .process-step {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  width: 100%;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.single-service .process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  border-color: rgba(212, 175, 55, 0.3);
}

/* Dashed Connector Line */
.single-service .process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 2.4rem; /* Center of the icon (1.5rem padding + 25px half-width) */
  bottom: -1.6rem; /* Extend into the gap */
  width: 2px;
  height: 1.6rem;
  background-image: linear-gradient(to bottom, var(--accent-color) 33%, rgba(255,255,255,0) 0%);
  background-position: bottom;
  background-size: 2px 6px;
  background-repeat: repeat-y;
  z-index: 0;
  display: block !important; /* Force display */
}

.single-service .step-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  margin-right: 1.5rem;
  margin-bottom: 0;
  background: linear-gradient(135deg, var(--accent-color), #f59e0b);
  color: var(--white);
  border: none;
  font-size: 1.2rem;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.single-service .step-info {
  flex: 1;
}

.step-info h4 {
  margin-bottom: 0; 
}

.single-service .step-title {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--primary-color);
  font-weight: 700;
}

.single-service .step-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
  line-height: 1.5;
}

/* --- FAQ Section: Clean Document Style --- */
.single-service .service-faq {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.single-service .faq-title {
  text-align: left;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid var(--primary-color);
}

.single-service .faq-container {
  max-width: 100%;
  gap: 0.5rem;
}

.single-service .faq-item {
  background: transparent;
  box-shadow: none;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  border-radius: 0;
  margin-bottom: 0;
}

.single-service .faq-item:hover {
  transform: none;
  background: rgba(0,0,0,0.02);
}

.single-service .faq-item.active {
  box-shadow: none;
  border-color: rgba(0,0,0,0.1);
  background: rgba(0,0,0,0.02);
}

.single-service .faq-question {
  padding: 1rem 0;
  font-size: 1rem;
  font-weight: 700;
}

.single-service .faq-question::after {
  content: "↓"; /* Simple arrow */
  font-size: 1.2rem;
  transform: rotate(0);
  background: none;
  width: auto;
  height: auto;
}

.single-service .faq-item.active .faq-question::after {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.single-service .faq-answer {
  padding-left: 0;
  padding-right: 0;
  border-top: none;
}

.single-service .faq-item.active .faq-answer {
  padding-top: 0.5rem;
  padding-bottom: 1.5rem;
}

/* Google Maps Section */
.contact-map-container {
  margin-top: 3rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  background: var(--white);
  line-height: 0; /* Remove bottom gap */
}

.contact-map-container iframe {
  width: 100%;
  height: 400px; /* Default height */
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .contact-map-container iframe {
    height: 300px;
  }
}

/* =========================================
   CMS Content Styles (Entry Content)
   ========================================= */

.entry-content,
.post-content,
.page-content {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Headings */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1.3;
}

.entry-content h1 { font-size: 2.5rem; }
.entry-content h2 { font-size: 2rem; }
.entry-content h3 { font-size: 1.75rem; }
.entry-content h4 { font-size: 1.5rem; }
.entry-content h5 { font-size: 1.25rem; }
.entry-content h6 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* Paragraphs */
.entry-content p {
  margin-bottom: 1.5rem;
}

/* Links */
.entry-content a {
  color: var(--accent-color);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.entry-content a:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
}

/* Lists */
.entry-content ul,
.entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.entry-content ul {
  list-style-type: disc;
}

.entry-content ol {
  list-style-type: decimal;
}

.entry-content li {
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Tables */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  border: 1px solid #e2e8f0;
  font-size: 0.95rem;
}

.entry-content th,
.entry-content td {
  padding: 1rem;
  border: 1px solid #e2e8f0;
  text-align: left;
}

.entry-content th {
  background-color: var(--light-bg);
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.entry-content tr:nth-child(even) {
  background-color: #f8fafc;
}

.entry-content tr:hover {
  background-color: #f1f5f9;
}

/* Blockquotes */
.entry-content blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--accent-color);
  background-color: var(--light-bg);
  font-style: italic;
  color: var(--secondary-color);
  border-radius: 0 0.5rem 0.5rem 0;
}

.entry-content blockquote p:last-child {
  margin-bottom: 0;
}

.entry-content blockquote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 600;
  color: var(--primary-color);
}

/* Images */
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.entry-content .alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1.5rem;
}

.entry-content .alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.entry-content .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

/* Pre & Code */
.entry-content pre {
  background-color: #1e293b;
  color: #f8fafc;
  padding: 1.5rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
  font-family: 'Fira Code', 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  line-height: 1.6;
}

.entry-content code {
  font-family: 'Fira Code', 'Courier New', Courier, monospace;
  background-color: #f1f5f9;
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.9em;
  color: #ef4444;
}

.entry-content pre code {
  background-color: transparent;
  color: inherit;
  padding: 0;
  font-size: inherit;
}

/* Horizontal Rule */
.entry-content hr {
  border: 0;
  height: 1px;
  background-color: #e2e8f0;
  margin: 3rem 0;
}

/* Responsive Tables */
@media (max-width: 768px) {
  .entry-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}