/* 
  Last Journey Antim Sanskar - Premium Design System
  Solemn, dignified, and highly responsive vanilla CSS stylesheet
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --primary: #ffffff;          /* White for header & elements */
  --primary-light: #fffbf5;    /* Warm cream background */
  --primary-lightest: #ebe0d5; /* Soft tan border */
  --accent: #b8501b;           /* Terracotta / Rust Copper */
  --accent-hover: #9c4113;     /* Deep Terracotta */
  --accent-light: #fdf2e9;     /* Soft Terracotta Tint */
  --text-dark: #2c1810;        /* Deep warm dark brown */
  --text-light: #2c1810;       /* Dark brown text */
  --text-muted: #6e584e;       /* Muted warm brown */
  --bg-dark: #fffbf5;          /* Warm ivory cream background */
  --bg-card: #ffffff;          /* White cards */
  --border-color: #ebe0d5;     /* Warm tan border */
  --topbar-bg: #b8501b;        /* Terracotta top bar background */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 20px rgba(44, 24, 16, 0.06);
  --container-width: 1200px;
}

/* Reset & Global Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

/* Containers */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

/* Header & Navigation */
header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-dark);
}

.header-logo-img {
  height: 54px;
  max-height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: var(--transition);
}

.header-logo-img:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .header-logo-img {
    height: 42px;
  }
}

.logo-text h1 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.logo-text span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  display: block;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}

nav ul li a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

nav ul li a:hover, nav ul li a.active {
  color: var(--accent);
}

/* Dropdown Navigation Menu - Instant Opening & Multi-Level Submenus */
.dropdown {
  position: relative;
}

/* Hover bridge to prevent losing hover state when moving cursor downwards */
.dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px;
  display: block;
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-arrow {
  font-size: 0.75rem;
  transition: transform 0.15s ease;
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 260px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px 0;
  list-style: none;
  z-index: 1001;
  text-align: left;
}

.dropdown-menu li {
  margin: 0 !important;
  width: 100%;
  display: block;
}

.dropdown-menu li a {
  color: var(--text-dark) !important;
  padding: 10px 20px !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  display: block !important;
  text-decoration: none !important;
  transition: background-color 0.1s ease, color 0.1s ease !important;
}

.dropdown-menu li a:hover {
  background-color: var(--primary-light) !important;
  color: var(--accent) !important;
}

/* Instant Menu Display on Hover & Persistent Toggle for Mobile/Touch */
.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu,
.dropdown.open .dropdown-menu {
  display: block !important;
}

/* Mobile Hamburger & Slide-Out Drawer Navigation */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 1005;
}

.hamburger-bar {
  width: 26px;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-drawer-header {
  display: none;
}

.mobile-drawer-cta {
  display: none;
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1003;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  display: block;
  opacity: 1;
}

/* Multi-Level Sub-Menu Navigation */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > a {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.submenu-arrow {
  font-size: 0.75rem;
  transition: transform 0.15s ease;
  margin-left: 8px;
}

/* Desktop Sub-Menu Slide-out to the Right (Desktop & Laptop) */
@media (min-width: 769px) {
  .dropdown-submenu .submenu-list {
    display: none;
    position: absolute;
    top: -8px;
    left: 100%;
    background-color: #ffffff;
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 0;
    list-style: none;
    z-index: 1002;
  }

  .dropdown-submenu::after {
    content: '';
    position: absolute;
    top: 0;
    right: -10px;
    width: 10px;
    height: 100%;
  }

  .dropdown-submenu:hover > .submenu-list {
    display: block;
  }

  .dropdown-submenu:hover > a .submenu-arrow {
    transform: translateX(3px);
    color: var(--accent);
  }
}

/* Mobile & Tablet Responsive Accordion & Slide-Out Drawer (under 768px) */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  /* Slide-Out Drawer Layout */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 88%;
    max-width: 380px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.18);
    z-index: 1004;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 0 0 30px 0;
  }

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

  /* Drawer Top Header Bar */
  .mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background-color: var(--primary-light);
    border-bottom: 1px solid var(--border-color);
  }

  .mobile-drawer-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
  }

  .mobile-drawer-close {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--text-dark);
    cursor: pointer;
    line-height: 1;
    padding: 0 5px;
  }

  /* Main Navigation List in Drawer */
  .nav-menu > ul {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    width: 100%;
    padding: 10px 0;
  }

  .nav-menu > ul > li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-menu > ul > li > a {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100%;
    padding: 14px 20px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: var(--text-dark) !important;
  }

  /* Submenus & Accordions inside Drawer */
  .dropdown-menu {
    position: static !important;
    display: none !important;
    box-shadow: none !important;
    border: none !important;
    background-color: rgba(255, 251, 245, 0.7) !important;
    width: 100% !important;
    padding: 6px 0 !important;
    border-top: 1px solid var(--border-color) !important;
  }

  .dropdown.open > .dropdown-menu {
    display: block !important;
  }

  .dropdown-submenu .submenu-list {
    display: block !important;
    position: static !important;
    background: transparent !important;
    border-left: 2px solid var(--accent) !important;
    margin: 6px 0 6px 20px !important;
    padding: 2px 0 !important;
    box-shadow: none !important;
  }

  .dropdown-submenu > a {
    font-size: 0.93rem !important;
    font-weight: 600 !important;
    color: var(--accent) !important;
    padding: 10px 20px 6px 20px !important;
  }

  .submenu-list li a {
    font-size: 0.88rem !important;
    padding: 8px 15px !important;
    color: var(--text-muted) !important;
  }

  .testimonials-slider-container {
    overflow: hidden;
    width: 100%;
  }

  .testimonials-track {
    display: flex;
  }

  .testimonials-track .testimonial-card {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 28px 20px !important;
    box-sizing: border-box !important;
  }

  .testimonial-text {
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
    margin-bottom: 20px !important;
  }

  .mobile-drawer-cta {
    display: block;
    padding: 20px;
    margin-top: auto;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Call to Action Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent);
  color: #ffffff; /* White text on gold button for better contrast */
  padding: 10px 22px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
}

.btn:hover {
  background-color: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background-color: var(--accent);
  color: #ffffff;
}

/* Hero Section */
.hero {
  padding: 160px 0 140px;
  text-align: center;
  position: relative;
  background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)), url('../images/hero_bg.png') no-repeat center center/cover;
  border-bottom: 1px solid var(--border-color);
  color: #ffffff;
}

.hero h2 {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero p.tagline {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--accent);
  font-style: italic;
  margin-bottom: 30px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p.description {
  max-width: 800px;
  margin: 0 auto 40px;
  color: #e2e8f0;
  font-size: 1.15rem;
  line-height: 1.8;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* Services Grid & Section Styling */
.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-color);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background-color: var(--accent);
}

.section-title p {
  color: var(--text-muted);
  margin-top: 15px;
  font-size: 1.1rem;
}

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

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: 8px;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-light);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* Locations Section */
.location-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.location-badge {
  background-color: var(--primary-light);
  border: 1px solid var(--border-color);
  padding: 12px 25px;
  border-radius: 50px;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.location-badge:hover {
  border-color: var(--accent);
  background-color: var(--accent);
  color: var(--primary);
}

/* FAQ Details/Summary (Crawlable & Pure CSS Accordion) */
.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  margin-bottom: 15px;
  border-radius: 6px;
  overflow: hidden;
}

.faq-item summary {
  padding: 20px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  outline: none;
  list-style: none;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
  transition: var(--transition);
}

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

.faq-content {
  padding: 0 20px 20px 20px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

/* Breadcrumbs styling */
.breadcrumbs {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumbs span {
  margin: 0 10px;
}

/* Contact Info / Banner */
.contact-banner {
  background-color: var(--primary-light);
  border: 1px solid var(--border-color);
  padding: 50px;
  border-radius: 8px;
  text-align: center;
  margin-top: 40px;
}

.contact-banner h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 15px;
}

.contact-banner p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.contact-numbers {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-phone-btn {
  display: inline-flex;
  align-items: center;
  background-color: #25d366; /* WhatsApp Green */
  color: white;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
}

.contact-phone-btn.call-btn {
  background-color: var(--accent);
  color: var(--primary);
}

/* Footer Section */
footer {
  background-color: #0f172a; /* Explicit dark slate for contrast */
  border-top: 2px solid var(--accent);
  padding: 80px 0 30px;
  color: #94a3b8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-about h4 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #ffffff; /* Explicit light text */
}

.footer-about p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-bottom a {
  color: #94a3b8;
  text-decoration: none;
  margin-left: 15px;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* Detail view Layout (e.g. Services, Locations, Blogs) */
.detail-layout {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 40px;
  padding: 60px 0;
}

.sidebar {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: 8px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.sidebar h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.sidebar-menu {
  list-style: none;
}

.sidebar-menu li {
  margin-bottom: 15px;
}

.sidebar-menu li a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  display: block;
  transition: var(--transition);
}

.sidebar-menu li a:hover, .sidebar-menu li a.active {
  color: var(--accent);
}

/* Text Content Styling (SEO Semantic Blocks) */
.content-area h1 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  margin-bottom: 25px;
  color: var(--text-light);
}

.content-area h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: var(--text-light);
}

.content-area h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin: 30px 0 15px;
  color: var(--accent);
}

.content-area p {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.content-area ul, .content-area ol {
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.content-area li {
  margin-bottom: 8px;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 2.3rem;
  }
  .hero p.tagline {
    font-size: 1.2rem;
  }
  .nav-wrapper {
    flex-direction: column;
    gap: 15px;
  }
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* Animated Success Modal Overlay */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: 12px;
  max-width: 450px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
  transform: translateY(30px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-card h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text-dark);
  margin-top: 15px;
  margin-bottom: 10px;
}

.modal-message {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.modal-icon {
  animation: float 2s ease-in-out infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

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

/* Redesigned Stats Section */
.stats-section {
  background-color: var(--bg-card);
  padding: 50px 0;
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Featured In Section */
.featured-section {
  background-color: var(--primary-light);
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.featured-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
}

.featured-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 1px;
}

/* Redesigned Services Cards (Top Image, Bottom Title) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
}

.service-card-img {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 30px 6px 30px 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
}

.service-card-img:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.service-card-img .img-container {
  height: 150px;
  background: linear-gradient(135deg, #f1f5f9 0%, #dfe2f7 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}

.service-card-img .img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card-img:hover .img-container img {
  transform: scale(1.08);
}

.service-card-img .info {
  padding: 15px;
  text-align: center;
  flex-grow: 1;
}

.service-card-img h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--text-dark);
}

/* Packages Card Grid */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.package-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.package-card.featured {
  border: 2px solid var(--accent);
  transform: scale(1.03);
}

.package-card.featured:hover {
  transform: translateY(-5px) scale(1.03);
}

.package-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1);
}

.package-header {
  padding: 30px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.package-card.featured .package-header {
  background-color: var(--accent-light);
}

.package-header h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.package-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.package-features {
  padding: 30px;
  list-style: none;
  flex-grow: 1;
}

.package-features li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.package-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
}

.package-footer {
  padding: 30px;
  border-top: 1px solid var(--border-color);
}

/* Testimonials Grid & Slider styling */
.testimonials-slider-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 10px 0;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 30px;
}

.testimonials-track .testimonial-card {
  box-sizing: border-box;
}

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

.testimonial-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 35px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.quote-icon {
  font-size: 3rem;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 5px;
}

.testimonial-stars {
  color: #f59e0b; /* Golden Amber */
  font-size: 1.1rem;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 25px;
  line-height: 1.7;
}

.testimonial-author {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
}

.testimonial-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Two-Column Help Section */
.help-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.help-form-wrapper {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.help-image-wrapper {
  height: 100%;
  min-height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.help-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Global Repatriation Shifting flags */
.global-repatriation {
  text-align: center;
  background-color: var(--primary-light);
}

.flag-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

.flag-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.flag-item span.emoji {
  font-size: 3rem;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}

.flag-item span.name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Floating WhatsApp Quick Link */
.whatsapp-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  text-decoration: none;
  transition: var(--transition);
}

.whatsapp-floating:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
  color: white;
}

/* Responsive adjustment for new items */
@media (max-width: 991px) {
  .help-section {
    grid-template-columns: 1fr;
  }
  .help-image-wrapper {
    min-height: 300px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Custom Interactive Cursor Follower styles */
@media (pointer: fine) {
  body {
    cursor: none; /* Hide default cursor on desktop */
  }
  a, button, select, input, textarea, [role="button"], details summary, .service-card-img, .testimonial-card, .location-badge, .card {
    cursor: none !important;
  }
  .custom-cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 99999;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
  }
  .custom-cursor-circle {
    width: 32px;
    height: 32px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 99998;
    transition: transform 0.1s ease-out, width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
  }
  
  /* Hover state */
  body.cursor-hovering .custom-cursor-circle {
    width: 52px;
    height: 52px;
    background-color: rgba(217, 119, 6, 0.08);
    border-color: var(--accent);
    transform: translate(-50%, -50%) scale(1.1);
  }
  body.cursor-hovering .custom-cursor-dot {
    width: 4px;
    height: 4px;
    background-color: var(--accent);
  }
}
@media (pointer: coarse) {
  .custom-cursor-dot, .custom-cursor-circle {
    display: none !important;
  }
}

/* Infinite Scrolling Marquee Ticker styles */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background-color: var(--accent);
  color: #ffffff;
  padding: 12px 0;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: ticker-slide 35s linear infinite;
}

.ticker-item {
  display: inline-block;
  padding: 0 3rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
}

@keyframes ticker-slide {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

/* --- Dynamic Testimonials & Reviews Styles --- */
.testimonials-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
}

.trust-badge-container {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--primary-light);
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
}

.trust-badge-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.trust-badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.reviews-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.btn-review-write {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-review-write.primary {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.2);
}

.btn-review-write.primary:hover {
  background-color: #b45309;
  transform: translateY(-2px);
}

.btn-review-write.secondary {
  background-color: #ffffff;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}

.btn-review-write.secondary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

/* Stars Hover Select System */
.stars-select-wrapper {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  gap: 8px;
  margin: 15px 0;
}

.stars-select-wrapper input {
  display: none;
}

.stars-select-wrapper label {
  font-size: 2.2rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: color 0.15s ease;
}

.stars-select-wrapper label:hover,
.stars-select-wrapper label:hover ~ label,
.stars-select-wrapper input:checked ~ label {
  color: #f59e0b;
}

/* General Modal overlay */
.review-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(5px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10001;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.review-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.review-modal-content {
  background-color: #ffffff;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  padding: 30px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.review-modal-overlay.active .review-modal-content {
  transform: scale(1);
}

.review-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.review-modal-close:hover {
  background-color: var(--primary-light);
  color: var(--text-dark);
}

.review-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.review-form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.review-form-group input[type="text"],
.review-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.review-form-group input[type="text"]:focus,
.review-form-group textarea:focus {
  border-color: var(--accent);
}

.review-form-group input[type="file"] {
  font-size: 0.85rem;
}

/* Custom Success/Thanks Modal Overlay */
.thanks-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10002;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.thanks-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.thanks-modal-content {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 40px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.thanks-modal-overlay.active .thanks-modal-content {
  transform: translateY(0);
}

/* SVG Checkmark drawing animation */
.success-checkmark-svg {
  width: 80px;
  height: 80px;
  display: block;
  margin: 0 auto 20px;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #10b981; /* Emerald green */
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-width: 3;
  stroke: #10b981;
  fill: none;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

/* Confetti canvas */
#confetti-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* --- Top Announcement Helpline Bar --- */
.top-announcement-bar {
  background-color: var(--topbar-bg);
  color: #ffffff;
  padding: 8px 0;
  font-size: 0.85rem;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.top-announcement-bar a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

/* --- What We Offer - Complete Antim Sanskaar Services Section --- */
.offer-section {
  background-color: var(--primary-light);
  padding: 80px 0;
  border-bottom: 1px solid var(--border-color);
}

.offer-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 30px;
}

.offer-tag {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.offer-header h2 {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.2;
}

.offer-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.offer-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 0 40px;
}

.offer-divider svg {
  color: var(--accent);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.offer-item {
  padding: 35px 40px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  transition: var(--transition);
}

.offer-item:nth-child(2n) {
  border-right: none;
}

.offer-item:nth-last-child(1),
.offer-item:nth-last-child(2) {
  border-bottom: none;
}

.offer-item:hover {
  background-color: var(--accent-light);
}

.offer-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.offer-item:hover .offer-icon-badge {
  background-color: var(--accent);
  color: #ffffff;
  transform: scale(1.05);
}

.offer-content h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-weight: 600;
}

.offer-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.btn-offer-view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent);
  color: #ffffff;
  padding: 13px 34px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(184, 80, 27, 0.25);
  border: none;
}

.btn-offer-view:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 80, 27, 0.35);
  color: #ffffff;
}

/* Call Now Oval Pill Button for Header */
.call-now-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 3px 12px rgba(184, 80, 27, 0.2);
}

.call-now-pill:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  color: #ffffff;
}

@media (max-width: 991px) {
  .offer-grid {
    grid-template-columns: 1fr;
  }
  .offer-item {
    border-right: none !important;
  }
  .offer-item:nth-last-child(2) {
    border-bottom: 1px solid var(--border-color);
  }
}
