/* ===========================================
   SHRISH TRAVELS - TARIFF PAGE CSS
   Mobile-First Professional Design
   =========================================== */

/* --- CSS VARIABLES & ROOT SETTINGS --- */
:root {
  /* Primary Brand Colors */
  --primary-blue: #3B82F6;
  --primary-dark: #1E40AF;
  --secondary-teal: #14B8A6;
  --accent-orange: #F97316;
  --success-green: #10B981;
  --warning-amber: #F59E0B;
  --error-red: #EF4444;

  /* Neutral Palette */
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;

  /* Surface Colors */
  --white: #FFFFFF;
  --surface-light: #FEFEFE;
  --surface-card: #FDFDFD;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Spacing System (8px base) */
  --space-1: 0.25rem;
  /* 4px */
  --space-2: 0.5rem;
  /* 8px */
  --space-3: 0.75rem;
  /* 12px */
  --space-4: 1rem;
  /* 16px */
  --space-5: 1.25rem;
  /* 20px */
  --space-6: 1.5rem;
  /* 24px */
  --space-8: 2rem;
  /* 32px */
  --space-10: 2.5rem;
  /* 40px */
  --space-12: 3rem;
  /* 48px */
  --space-16: 4rem;
  /* 64px */
  --space-20: 5rem;
  /* 80px */

  /* Border Radius */
  --radius-sm: 0.375rem;
  /* 6px */
  --radius-md: 0.5rem;
  /* 8px */
  --radius-lg: 0.75rem;
  /* 12px */
  --radius-xl: 1rem;
  /* 16px */
  --radius-2xl: 1.5rem;
  /* 24px */

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition-fast: 0.15s ease-out;
  --transition-normal: 0.3s ease-out;
  --transition-slow: 0.5s ease-out;

  /* Z-Index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* --- RESET & BASE STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-weight: var(--font-weight-normal);
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  color: var(--gray-900);
}

h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
}

h5 {
  font-size: clamp(1rem, 2vw, 1.25rem);
}

h6 {
  font-size: clamp(0.875rem, 1.5vw, 1.125rem);
}

p {
  margin: 0 0 var(--space-4) 0;
  line-height: 1.5;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

/* --- UTILITY CLASSES --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-6);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-8);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- HEADER SECTION --- */
.header {
  background:
    linear-gradient(135deg, rgba(21, 94, 117, 0.95), rgba(22, 78, 99, 0.95)),
    url('https://www.transparenttextures.com/patterns/pw-maze-white.png');

  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  transition: all var(--transition-normal);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  min-height: 70px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-blue);
  transition: transform var(--transition-normal);
}

.logo:hover {
  transform: scale(1.05);
}

.brand-text h1 {
  font-size: 1.5rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--gray-900);
  margin: 0;
}

.brand-text p {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-style: italic;
  margin: 0;
}

.nav {
  display: none;
  align-items: center;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.nav-link {
  font-weight: var(--font-weight-medium);
  color: whitesmoke;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-blue);
  background-color: var(--gray-50);
}

.nav-link.active {
  color: var(--primary-blue);
  background-color: var(--primary-blue);
  background-image: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
  color: var(--white);
}

.cta-button {
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
  color: var(--white);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-lg);
  font-weight: var(--font-weight-semibold);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary-teal));
}

.btn-enquiry {
  background: linear-gradient(135deg, var(--accent-orange), var(--warning-amber));
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-enquiry:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #F97316, #FBBF24);
}

/* --- HERO SECTION --- */
.hero-new {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-teal) 100%),
    url("../images/bg.png") no-repeat center center/cover fixed;
  background-blend-mode: multiply;
  color: var(--white);
  padding: var(--space-16) 0 var(--space-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
  opacity: 0.3;
}

.hero-new-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.hero-new-title {
  font-family: 'Poppins', 'Montserrat', sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  /* bold, GenZ punch */
  margin-bottom: var(--space-6);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ff8a00, #e52e71);
  /* gradient text */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-new-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  margin-bottom: var(--space-10);
  opacity: 0.9;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.hero-new-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
  align-items: center;
}

@media (min-width: 640px) {
  .hero-new-actions {
    flex-direction: row;
    justify-content: center;
  }
}

.hero-new-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--space-6);
  max-width: 600px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--white);
  margin-bottom: var(--space-1);
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.8;
  font-weight: var(--font-weight-medium);
}
.stat-item a {
    text-decoration: none; /* Removes the default link underline */
    color: inherit; /* Makes the text color the same as the parent (white) */
    display: block; /* Ensures the link fills the entire item for easy clicking */
    padding: var(--space-4); /* Re-applies padding inside the link */
    margin: calc(-1 * var(--space-4)); /* Counteracts padding to fill the original space */
    border-radius: var(--radius-lg); /* Ensures hover effect has rounded corners */
    transition: all var(--transition-normal);
}

.stat-item a:hover {
    transform: scale(1.05); /* Makes the item slightly larger on hover */
    background: rgba(255, 255, 255, 0.15); /* Adds a subtle background glow */
}
/* --- BUTTON STYLES --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border: none;
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  min-width: 120px;
  text-align: center;
  z-index: 1;
}

.btn-visible {
  overflow: visible;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary-teal));
}

.btn-secondary {
  background: var(--white);
  color: var(--gray-700);
  border: 2px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-large {
  padding: var(--space-4) var(--space-8);
  font-size: 1.125rem;
  min-width: 180px;
}

.btn-full-width {
  width: 100%;
}

.btn-icon-img-full,
.google-logo-img-full {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* --- TABS SYSTEM --- */
.tabs-container {
  display: flex;
  flex-wrap: wrap;
  /* Allow tabs to wrap on smaller screens */
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2);
  margin: var(--space-12) 0 var(--space-8);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.tab-button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  background: transparent;
  border: none;
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-weight: var(--font-weight-semibold);
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  z-index: 2;
}

.tab-button i {
  font-size: 1.25rem;
}

.tab-button span {
  font-size: 1rem;
}

@media (max-width: 480px) {
  .tab-button span {
    display: none;
  }

  .tab-button i {
    font-size: 1.5rem;
  }
}

.tab-button.active {
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
}

.tab-button:not(.active):hover {
  background: var(--gray-100);
  color: var(--primary-blue);
  transform: translateY(-1px);
}

/* --- TAB CONTENT --- */
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease-out;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- PACKAGES GRID --- */
.packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-16);
}

@media (min-width: 640px) {
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
}

/* --- PACKAGE CARDS --- */
.package-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.package-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--secondary-teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-blue);
}

.package-card:hover::before {
  transform: scaleX(1);
}

.package-card.popular {
  border: 2px solid var(--accent-orange);
  position: relative;
}

.package-card.popular::before {
  background: linear-gradient(90deg, var(--accent-orange), var(--primary-blue));
  height: 6px;
  transform: scaleX(1);
}

.popular-badge {
  position: absolute;
  top: -1px;
  right: var(--space-6);
  background: linear-gradient(135deg, var(--accent-orange), var(--error-red));
  color: var(--white);
  padding: var(--space-2) var(--space-4);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-md);
  z-index: 3;
}

.popular-badge i {
  margin-right: var(--space-1);
}

.card-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

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

.package-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-lg);
}

.card-title-section h3 {
  font-size: 1.375rem;
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-1);
}

.card-title-section p {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin: 0;
  font-weight: var(--font-weight-medium);
}

.card-price {
  text-align: center;
  margin-bottom: var(--space-6);
  padding: var(--space-4);
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.price {
  display: block;
  font-size: 2.5rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--primary-blue);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.price-unit {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: var(--font-weight-medium);
}

.card-features {
  margin-bottom: var(--space-8);
}

.feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--gray-100);
}

.feature:last-child {
  border-bottom: none;
}

.feature i {
  color: var(--primary-blue);
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.feature span {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: var(--font-weight-medium);
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

@media (max-width: 640px) {
  .card-actions {
    grid-template-columns: 1fr;
  }
}

.btn-estimate,
.btn-book {
  display: flex;
  /* Use flexbox for alignment */
  align-items: center;
  /* Center content vertically */
  justify-content: center;
  /* Center content horizontally */
  padding: var(--space-3) var(--space-4);
  border: none;
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-weight: var(--font-weight-semibold);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  /* overflow: hidden; */
  /* Removed to prevent content from being hidden */
}

.btn-estimate {
  background: var(--white);
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-estimate:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-book {
  background: linear-gradient(135deg, var(--success-green), var(--secondary-teal));
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-book:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #059669, var(--secondary-teal));
}

.btn-estimate i,
.btn-book i {
  margin-right: var(--space-1);
}

/* --- MODAL STYLES --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: var(--space-4);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: all var(--transition-normal);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: var(--space-6) var(--space-8);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
  color: var(--white);
}

.modal-title {
  font-size: 1.375rem;
  font-weight: var(--font-weight-bold);
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.modal-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.modal-body {
  padding: var(--space-8);
  max-height: 60vh;
  overflow-y: auto;
}

.modal-footer {
  padding: var(--space-6) var(--space-8);
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}

/* --- ESTIMATOR FORM --- */
.estimator-form {
  margin-bottom: var(--space-8);
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  margin-bottom: var(--space-3);
  font-weight: var(--font-weight-semibold);
  color: var(--gray-700);
  font-size: 0.875rem;
}

/* Add this new CSS class for the helper text */
.form-label-helper {
  display: block;
  font-size: 0.75rem;
  /* 12px */
  color: var(--gray-500);
  font-weight: var(--font-weight-normal);
  margin-top: var(--space-1);
}

.form-input {
  width: 100%;
  padding: var(--space-4);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition-fast);
  background: var(--white);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: var(--surface-light);
}

.form-input:hover {
  border-color: var(--gray-300);
}

.form-input::placeholder {
  color: var(--gray-400);
}

/* --- ESTIMATE RESULT --- */
.estimate-result {
  text-align: center;
  padding: var(--space-8);
  background: linear-gradient(135deg, var(--gray-50), var(--white));
  border-radius: var(--radius-2xl);
  border: 2px solid var(--gray-200);
  margin-bottom: var(--space-6);
}

.result-label {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: var(--space-3);
  font-weight: var(--font-weight-medium);
}

.result-value {
  font-size: 3rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--primary-blue);
  margin-bottom: var(--space-3);
  line-height: 1;
}

.result-breakdown {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: var(--font-weight-medium);
}
/* --- MODAL ACTIONS --- */
.estimator-actions,
.quotation-actions {
  display: flex;
  flex-wrap: wrap; /* Allows items to wrap on very small screens */
  justify-content: space-between; /* Pushes items to opposite ends */
  align-items: center;
  gap: var(--space-4); /* Provides space between items if they wrap */
}

.right-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3); /* Space between buttons in the group */
}


/* --- RESPONSIVE STYLES for Mobile --- */
@media (max-width: 640px) {
  .estimator-actions,
  .quotation-actions {
    flex-direction: column-reverse; /* Stacks button groups vertically, with primary CTAs on top */
    align-items: stretch; /* Makes children fill the width */
    gap: var(--space-4);
  }

  .right-buttons {
    flex-direction: column; /* Stacks the primary buttons */
    align-items: stretch;
  }

  /* Make all buttons inside the actions full-width on mobile */
  .estimator-actions .btn,
  .quotation-actions .btn,
  .right-buttons .btn {
    width: 100%;
    justify-content: center; /* Ensures text & icon are centered */
    text-align: center;
  }
}

/* --- Optional: Add a subtle entrance animation --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Trigger animation when modal is active */
.modal-overlay.active .estimator-actions .btn,
.modal-overlay.active .quotation-actions .btn {
    animation: fadeInUp 0.5s ease-out forwards;
}

/* Stagger the animation for a polished effect */
.modal-overlay.active .right-buttons .btn:nth-child(1) { animation-delay: 0.1s; }
.modal-overlay.active .right-buttons .btn:nth-child(2) { animation-delay: 0.2s; }
.modal-overlay.active .right-buttons .btn:nth-child(3) { animation-delay: 0.3s; }
@media (max-width: 640px) {

/* Replace it with this: */

.estimator-actions,
.quotation-actions {
  flex-direction: column;
  align-items: center; /* This will center the buttons */
  gap: var(--space-3);
}

  .right-buttons {
    width: 100%;
    justify-content: center;
  }
}

/* --- QUOTATION CARD --- */
.quotation-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.quotation-container {
  padding: var(--space-8);
}

.quotation-header {
  text-align: center;
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 2px solid var(--gray-200);
}

.quotation-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto var(--space-4);
  border: 3px solid var(--primary-blue);
  object-fit: cover;
}

.quotation-title {
  font-size: 1.875rem;
  font-weight: var(--font-weight-extrabold);
  margin-bottom: var(--space-2);
  color: var(--primary-blue);
}

.quotation-subtitle {
  color: var(--gray-500);
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
}

.quotation-details {
  margin-bottom: var(--space-8);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--gray-100);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: var(--font-weight-medium);
  color: var(--gray-600);
  font-size: 0.875rem;
}

.detail-value {
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  font-size: 1rem;
}

.total-row {
  font-size: 1.25rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--primary-blue);
  border-top: 2px solid var(--gray-200);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
}

.quotation-footer {
  text-align: center;
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--gray-200);
  color: var(--gray-500);
  font-size: 0.875rem;
}

.quotation-footer a {
  color: var(--primary-blue);
  font-weight: var(--font-weight-semibold);
}

.disclaimer {
  font-style: italic;
  color: var(--error-red);
  margin-top: var(--space-4);
  font-size: 0.75rem;
}

/* --- REVIEWS MODAL --- */
.reviews-modal {
  max-width: 800px;
  max-height: 85vh;
}

.reviews-modal .modal-body {
  max-height: 60vh;
  overflow-y: auto;
  padding: var(--space-6);
}

.review-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-4);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
}

.review-card:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3);
}

.review-author {
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  font-size: 1rem;
}

.review-rating {
  display: flex;
  gap: var(--space-1);
}

.review-text {
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: var(--space-4);
  font-style: italic;
}

.review-card-footer {
  text-align: right;
}

.review-link-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--primary-blue);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  transition: all var(--transition-fast);
}

.review-link-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* --- CIRCULAR MENU (Mobile Navigation) --- */
.circular-menu {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-modal);
}

@media (min-width: 768px) {
  .circular-menu {
    display: none;
  }
}

.menu-button {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-teal));
  border: none;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  position: relative;
}

.menu-button:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.menu-button i {
  position: absolute;
  transition: all var(--transition-normal);
}

.menu-button .fa-times {
  opacity: 0;
  transform: rotate(-90deg);
}

.circular-menu.open .menu-button .fa-plus {
  opacity: 0;
  transform: rotate(90deg);
}

.circular-menu.open .menu-button .fa-times {
  opacity: 1;
  transform: rotate(0deg);
}

.menu-item {
  position: absolute;
  width: 50px;
  height: 50px;
  background: var(--white);
  border: 2px solid var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  opacity: 0;
  transform: translate(0, 0) scale(0);
  z-index: 1051;
}

.menu-item:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translate(var(--x, 0), var(--y, 0)) scale(1.1);
}

.menu-item.active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: var(--white);
}

.circular-menu.open .menu-item {
  opacity: 1;
  transform: translate(var(--x, 0), var(--y, 0)) scale(1);
}

/* All straight up */
.circular-menu.open .menu-item:nth-child(2) {
  --x: -60px;
  --y: -50px;
  transition-delay: 0.1s;
}

.circular-menu.open .menu-item:nth-child(3) {
  --x: -120px;
  --y: -50px;
  transition-delay: 0.15s;
}

.circular-menu.open .menu-item:nth-child(4) {
  --x: -180px;
  --y: -50px;
  transition-delay: 0.2s;
}

.circular-menu.open .menu-item:nth-child(5) {
  --x: -240px;
  --y: -50px;
  transition-delay: 0.25s;
}

.circular-menu.open .menu-item:nth-child(6) {
  --x: -300px;
  --y: -50px;
  transition-delay: 0.3s;
}

/* --- FOOTER SECTION --- */
.footer {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%), url("../images/bg.png") no-repeat center center/cover fixed;
  background-blend-mode: multiply;
  color: var(--white);
  padding: var(--space-16) 0 var(--space-8);
  margin-top: var(--space-20);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-brand {
  max-width: 350px;
}

.footer-brand .logo {
  width: 60px;
  height: 60px;
  margin-bottom: var(--space-4);
}

.footer-brand p {
  color: var(--gray-300);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.footer-socials {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  justify-content: center;
}

.footer-socials a {
  color: var(--gray-300);
  transition: all var(--transition-normal);
  padding: var(--space-2);
  border-radius: var(--radius-md);
}

.footer-socials a:hover {
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.footer-links h3 {
  color: var(--white);
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-6);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: var(--space-3);
}

.footer-links a {
  color: var(--gray-300);
  transition: all var(--transition-fast);
  padding: var(--space-1) 0;
  display: block;
}

.footer-links a:hover {
  color: var(--primary-blue);
  padding-left: var(--space-2);
}

.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.footer-contact i {
  color: var(--primary-blue);
  font-size: 1.125rem;
  margin-top: var(--space-1);
  width: 20px;
}

.footer-contact div p {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: var(--space-1);
  font-weight: var(--font-weight-medium);
}

.footer-contact a {
  color: var(--white);
  font-weight: var(--font-weight-semibold);
}

.footer-contact address {
  font-style: normal;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: var(--space-6);
  text-align: center;
}

.footer-bottom p {
  color: var(--gray-400);
  font-size: 0.875rem;
  margin: 0;
}

/* --- HOVER EFFECTS & INTERACTIONS --- */
.insta-hover-container,
.youtube-hover-container,
.whatsapp-hover-container,
.developer-hover-container {
  position: relative;
}

.insta-preview,
.youtube-preview,
.whatsapp-tooltip,
.developer-preview {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: var(--z-tooltip);
  margin-bottom: var(--space-2);
}

.insta-hover-container:hover .insta-preview,
.youtube-hover-container:hover .youtube-preview,
.whatsapp-hover-container:hover .whatsapp-tooltip,
.developer-hover-container:hover .developer-preview {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-8px);
}

.whatsapp-tooltip {
  padding: var(--space-3) var(--space-4);
  background: var(--gray-900);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: var(--font-weight-medium);
  white-space: nowrap;
  border-radius: var(--radius-md);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--gray-900);
}

.developer-link {
  color: var(--gray-400);
  font-size: 0.75rem;
  transition: all var(--transition-fast);
}

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

/* --- LOADING STATES --- */
.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.fa-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* --- RESPONSIVE ADJUSTMENTS --- */

/* Mobile Portrait (up to 480px) */
@media (max-width: 480px) {
  .hero-new {
    padding: var(--space-12) 0 var(--space-10);
  }

  .hero-new-title {
    font-size: 2rem;
    line-height: 1.1;
  }

  .hero-new-subtitle {
    font-size: 1rem;
    margin-bottom: var(--space-8);
  }

  .package-card {
    padding: var(--space-6);
  }

  .card-icon {
    width: 50px;
    height: 50px;
  }

  .card-icon i {
    font-size: 1.25rem;
  }

  .price {
    font-size: 2rem;
  }

  .modal-container {
    margin: var(--space-4);
    max-height: 95vh;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding: var(--space-4) var(--space-6);
  }

  .result-value {
    font-size: 2.5rem;
  }
}

/* Mobile Landscape (481px to 640px) */
@media (min-width: 481px) and (max-width: 640px) {
  .packages-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .hero-new-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Tablet (641px to 1024px) */
@media (min-width: 641px) and (max-width: 1024px) {
  .header-content {
    padding: var(--space-5) 0;
  }

  .logo {
    width: 55px;
    height: 55px;
  }

  .brand-text h1 {
    font-size: 1.625rem;
  }

  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .package-card {
    padding: var(--space-7);
  }
}

/* Desktop (1025px and up) */
@media (min-width: 1025px) {
  .header-content {
    padding: var(--space-6) 0;
  }

  .logo {
    width: 60px;
    height: 60px;
  }

  .brand-text h1 {
    font-size: 1.75rem;
  }

  .packages-grid {
    gap: var(--space-8);
  }

  .package-card {
    padding: var(--space-8);
  }

  .package-card:hover {
    transform: translateY(-12px);
  }
}

/* --- ACCESSIBILITY IMPROVEMENTS --- */
@media (prefers-reduced-motion: reduce) {

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

/* Focus States */
.btn:focus,
.tab-button:focus,
.nav-link:focus,
.form-input:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

.modal-close:focus {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* --- PRINT STYLES --- */
@media print {

  .header,
  .footer,
  .circular-menu,
  .modal-overlay {
    display: none !important;
  }

  .quotation-card {
    box-shadow: none;
    border: 1px solid var(--gray-300);
  }

  body {
    background: var(--white);
    color: var(--gray-900);
    font-size: 12pt;
  }

  .quotation-container {
    padding: 20pt;
  }

  .quotation-title {
    color: var(--gray-900) !important;
  }

  .detail-value {
    color: var(--gray-900) !important;
  }

  .total-row {
    color: var(--gray-900) !important;
    border-top: 2pt solid var(--gray-300) !important;
  }
}

/* --- PERFORMANCE OPTIMIZATIONS --- */
.package-card,
.btn,
.modal-container {
  will-change: transform;
}

.hero-new::before {
  will-change: opacity;
}

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
  border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* --- HIGH CONTRAST MODE SUPPORT --- */
@media (prefers-contrast: high) {
  :root {
    --gray-600: #000000;
    --gray-700: #000000;
    --gray-900: #000000;
  }

  .package-card {
    border: 2px solid var(--gray-900);
  }

  .btn-primary {
    background: var(--gray-900);
    border: 2px solid var(--gray-900);
  }
}

/* --- LOADING ANIMATIONS --- */
@keyframes shimmer {
  0% {
    background-position: -468px 0;
  }

  100% {
    background-position: 468px 0;
  }
}

.loading-shimmer {
  animation: shimmer 1.2s ease-in-out infinite;
  background: linear-gradient(90deg,
      var(--gray-200) 25%,
      var(--gray-100) 37%,
      var(--gray-200) 63%);
  background-size: 400px 100%;
}

/* --- FORM VALIDATION STATES --- */
.form-input:invalid {
  border-color: var(--error-red);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-input:valid {
  border-color: var(--success-green);
}

/* --- MICRO-INTERACTIONS --- */
.package-card .card-actions {
  transform: translateY(8px);
  opacity: 0.8;
  transition: all var(--transition-normal);
}

.package-card:hover .card-actions {
  transform: translateY(0);
  opacity: 1;
}

.feature {
  transform: translateX(-4px);
  opacity: 0.9;
  transition: all var(--transition-normal);
}

.package-card:hover .feature {
  transform: translateX(0);
  opacity: 1;
}

/* Stagger the feature animations */
.package-card:hover .feature:nth-child(1) {
  transition-delay: 0.05s;
}

.package-card:hover .feature:nth-child(2) {
  transition-delay: 0.1s;
}

.package-card:hover .feature:nth-child(3) {
  transition-delay: 0.15s;
}

/* --- TRUST INDICATORS --- */
.package-card::after {
  content: '✓ Verified Service';
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: var(--success-green);
  color: var(--white);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
  opacity: 0;
  transform: translateY(-10px);
  transition: all var(--transition-normal);
}

.package-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* --- PROGRESSIVE ENHANCEMENT --- */
@supports (backdrop-filter: blur(10px)) {
  .modal-overlay {
    backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.6);
  }

  .stat-item {
    backdrop-filter: blur(15px);
  }
}

@supports (clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%)) {
  .popular-badge {
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    padding-right: var(--space-6);
  }
}

/* --- DARK MODE SUPPORT (Future Enhancement) --- */
@media (prefers-color-scheme: dark) {
  /* Uncomment when implementing dark mode */
  /*
  :root {
    --white: #0F172A;
    --gray-50: #1E293B;
    --gray-100: #334155;
    --gray-900: #F8FAFC;
  }
  */
}

/* --- ANIMATION KEYFRAMES --- */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

@keyframes bounce {

  0%,
  20%,
  53%,
  80%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  40%,
  43% {
    transform: translate3d(0, -10px, 0);
  }

  70% {
    transform: translate3d(0, -5px, 0);
  }

  90% {
    transform: translate3d(0, -2px, 0);
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Apply animations to elements */
.package-card {
  animation: slideInUp 0.6s ease-out;
}

.package-card:nth-child(2) {
  animation-delay: 0.1s;
}

.package-card:nth-child(3) {
  animation-delay: 0.2s;
}

.package-card:nth-child(4) {
  animation-delay: 0.3s;
}

/* --- BUSINESS TRUST ELEMENTS --- */
.trust-indicator {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--success-green);
  color: var(--white);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-guarantee {
  text-align: center;
  margin-top: var(--space-4);
  padding: var(--space-3);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--success-green);
}

.price-guarantee::before {
  content: '💯';
  margin-right: var(--space-2);
}

/* --- ENHANCED MOBILE EXPERIENCE --- */
@media (max-width: 640px) {
  .hero-new {
    padding: var(--space-10) 0 var(--space-8);
  }

  /* ... other rules inside @media (max-width: 640px) ... */


  /* --- FIX: Modal Layout on Small Screens --- */
  .modal-body {
    padding: var(--space-5);
    /* Makes the modal's inner spacing smaller */
  }

  .form-group {
    margin-bottom: var(--space-4);
    /* Reduces space between form items */
  }

  .estimate-result {
    padding: var(--space-5);
    /* Makes the result box more compact */
    margin-bottom: var(--space-4);
  }

  .result-value {
    font-size: 2.5rem;
    /* Reduces the large price font size slightly */
  }

  .modal-footer {
    padding: var(--space-4);
    /* Reduces footer padding */
  }

  /* 1. Make ALL buttons slightly more compact on mobile */
  .btn {
    padding: var(--space-3) var(--space-4);
    /* Reduces horizontal padding */
    font-size: 0.9rem;
    /* Slightly reduces font size */
  }

/* Replace it with this: */

/* 2. Make buttons in stacking containers fill the width neatly */
.hero-new-actions .btn {
  width: 100%;
  max-width: 400px; /* Prevents buttons from getting too wide on larger phones */
  min-width: unset; /* Removes desktop minimum width rules */
  margin-left: auto;
  margin-right: auto;
}

  /* 3. Ensure the group of buttons in the quotation footer also stack vertically */
  .quotation-actions .right-buttons {
    display: flex;
    flex-direction: column;
    /* This stacks the "Call", "Share", "Download" buttons */
    width: 100%;
    gap: var(--space-3);
  }

  .tabs-container {
    margin: var(--space-8) 0 var(--space-6);
    padding: var(--space-1);
  }

  .tab-button {
    padding: var(--space-3) var(--space-4);
  }

  .packages-grid {
    gap: var(--space-5);
  }

  .package-card {
    padding: var(--space-6);
    border-radius: var(--radius-xl);
  }

  .card-actions {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .btn-estimate,
  .btn-book {
    padding: var(--space-4);
    font-size: 1rem;
  }

  /* Improved touch targets for mobile */
  .btn,
  .tab-button,
  .nav-link {
    min-height: 44px;
    min-width: 44px;
  }

  /* Better spacing on mobile */
  .modal-body {
    padding: var(--space-6);
  }

  .estimator-form {
    margin-bottom: var(--space-6);
  }
}

/* --- PROFESSIONAL POLISH --- */
.main {
  min-height: calc(100vh - 300px);
  padding-bottom: var(--space-16);
}

/* Smooth transitions for all interactive elements */
button,
a,
input,
.package-card,
.tab-button {
  transition: all var(--transition-normal);
}

/* Enhanced focus indicators for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Professional spacing consistency */
section+section {
  margin-top: var(--space-16);
}

/* Enhanced visual hierarchy */
.modal-title {
  position: relative;
}

.modal-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--white);
  border-radius: var(--radius-sm);
}

/* --- FINAL RESPONSIVE BREAKPOINTS --- */
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }

  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-10);
  }

  .hero-new {
    padding: var(--space-20) 0 var(--space-16);
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1400px;
  }

  .hero-new-content {
    max-width: 1000px;
  }
}

/* --- PERFORMANCE OPTIMIZATIONS --- */
.package-card,
.btn,
.tab-button {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* --- COPYRIGHT YEAR SCRIPT HELPER --- */
#copyright-year::before {
  content: '2025';
}

/* --- Animation Keyframes for the Tab Pulse --- */
@keyframes pulse-glow {

  0%,
  100% {
    /* Starts and ends with no shadow */
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
  }

  50% {
    /* Middle of animation has a blue glow */
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
  }
}

/* --- Apply the animation to the initially inactive tab --- */
.tab-button:not(.active) {
  /*
    animation: name duration timing-function delay iteration-count
    This will wait 2 seconds after the page loads, then pulse 3 times.
  */
  animation: pulse-glow 2s ease-out 2s 3;
}

/* --- Animation for Dropdown Recommendation --- */
@keyframes pulse-background {
  0% {
    background-color: transparent;
    transform: scale(1);
  }

  50% {
    background-color: rgba(249, 115, 22, 0.1);
    /* A light, warm glow */
    transform: scale(1.02);
  }

  100% {
    background-color: transparent;
    transform: scale(1);
  }
}

.highlight-recommendation {
  /* This class will trigger the animation */
  animation: pulse-background 1.2s ease-out;
  border-radius: var(--radius-md);
  padding: var(--space-1);
  display: inline-block;
  /* Required for transform and padding to work well */
}

/* --- Premium Custom Dropdown --- */
.custom-select-container {
  position: relative;
  font-family: var(--font-family);
}

.select-selected {
  background-color: var(--white);
  padding: var(--space-4);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-fast);
  position: relative;
}

.select-selected:hover {
  border-color: var(--gray-300);
}

.select-selected.select-arrow-active {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Custom Chevron Arrow */
.select-selected::after {
  content: "";
  position: absolute;
  top: 50%;
  right: var(--space-4);
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748B'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform var(--transition-normal);
}

.select-selected.select-arrow-active::after {
  transform: translateY(-50%) rotate(180deg);
}

.select-items {
  position: absolute;
  background-color: var(--white);
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: var(--z-dropdown);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: slideDown 0.3s ease-out forwards;
  transform-origin: top center;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: scaleY(0.9);
  }

  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

.select-hide {
  display: none;
}

.select-items div {
  padding: var(--space-4);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.select-items div:hover {
  background-color: var(--gray-100);
  color: var(--primary-blue);
}
/* Add this to the end of your CSS file */

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

/* --- ATTRACTIVE INFO & INTERACTIVE ELEMENTS (NEW) --- */

/* Keyframe animation for the "AOS" effect */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Keyframe for the pulsing CTA button effect */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(249, 115, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

/* Apply pulsing animation to enquiry buttons */
.btn-enquiry {
    animation: pulse 2s infinite 3s; /* Start after 3 seconds */
}

/* Styling for the top "Intro Note" (No changes needed here) */
.intro-note {
    background: linear-gradient(135deg, var(--gray-50), var(--white));
    border-left: 5px solid var(--primary-blue);
    border-radius: var(--radius-lg);
    padding: var(--space-6) var(--space-8);
    margin: var(--space-8) 0;
    box-shadow: var(--shadow-md);
    animation: fadeSlideUp 0.6s ease-out forwards;
}
.intro-note h4 { display: flex; align-items: center; gap: var(--space-3); font-size: 1.5rem; color: var(--primary-dark); margin-bottom: var(--space-4); }
.intro-note h4 i { color: var(--primary-blue); }
.intro-note p { color: var(--gray-600); margin-bottom: var(--space-4); line-height: 1.6; }
.intro-note p.recommendation { background: var(--gray-100); padding: var(--space-3); border-radius: var(--radius-md); font-style: italic; font-weight: var(--font-weight-medium); }
.intro-note .btn { margin-top: var(--space-2); }

/* --- NEW ACCORDION STYLES --- */
.details-note {
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--space-6) var(--space-8);
    margin-top: var(--space-8);
    animation: fadeSlideUp 0.8s ease-out forwards;
    box-shadow: var(--shadow-lg);
}
.details-note h5 {
    font-size: 1.375rem;
    margin-bottom: var(--space-5);
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}
.accordion-item {
    border-bottom: 1px solid var(--gray-200);
}
.accordion-item:last-child {
    border-bottom: none;
}
.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: var(--space-5) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--gray-700);
    transition: color 0.3s ease;
}
.accordion-header:hover {
    color: var(--primary-blue);
}
.accordion-header span {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}
.accordion-header span i {
    color: var(--secondary-teal);
    font-size: 1.125rem;
}
.accordion-header .fa-chevron-down {
    transition: transform 0.4s ease;
}
.accordion-item.active .accordion-header .fa-chevron-down {
    transform: rotate(180deg);
    color: var(--primary-blue);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}
.accordion-content p {
    padding: 0 0 var(--space-5) var(--space-8); /* Indent text */
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}
/* .accordion-item.active .accordion-content {
    max-height will be set by JS
} */

@media (max-width: 640px) {
    .intro-note, .details-note { padding: var(--space-5); }
}

/* --- NEW QUOTATION MODAL PREVIEW UI --- */

/* Style the modal title to match the screenshot */
.modal-title {
    position: relative;
    padding-bottom: var(--space-2);
}
.modal-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--white);
    border-radius: var(--radius-sm);
}

/* Main card inside the modal body */
.quotation-preview-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
}

.preview-section {
    display: flex;
    justify-content: space-between;
    padding-bottom: var(--space-4);
    border-bottom: 1px dashed var(--gray-300);
}
.preview-section .info-block h4 {
    color: var(--gray-500);
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-3);
    text-transform: uppercase;
}
.preview-section .info-block p {
    font-weight: var(--font-weight-semibold);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin: var(--space-2) 0;
}
.preview-section .info-block.details {
    text-align: right;
}

.preview-line-items {
    margin: var(--space-6) 0;
}
.preview-header {
    display: flex;
    justify-content: space-between;
    font-weight: var(--font-weight-bold);
    color: var(--gray-700);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--gray-200);
}
.preview-item {
    display: flex;
    justify-content: space-between;
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-600);
}
.preview-item:last-child {
    border-bottom: none;
}
.preview-item i {
    margin-right: var(--space-2);
    color: var(--secondary-teal);
}
.amount {
    font-weight: var(--font-weight-semibold);
    color: var(--gray-800);
    min-width: 80px;
    text-align: right;
}

.preview-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    margin-top: var(--space-4);
    font-weight: var(--font-weight-bold);
}
.total-amount {
    font-size: 1.5rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--primary-blue);
}

.preview-disclaimer {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-top: var(--space-6);
}
.preview-disclaimer i {
    margin-right: var(--space-1);
}

/* Mobile responsive adjustments */
@media (max-width: 480px) {
    .preview-section {
        flex-direction: column;
        gap: var(--space-4);
    }
    .preview-section .info-block.details {
        text-align: left;
    }
}

/* --- NEW QUOTATION MODAL FOOTER UI --- */

/* This new container ensures correct layout */
.quotation-footer-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

/* The big, primary orange call button */
.btn-call-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: var(--space-4);
    font-size: 1.125rem;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    background: linear-gradient(135deg, #F97316, #FBBF24);
    border: none;
    border-radius: var(--radius-xl); /* More rounded corners */
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}
.btn-call-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Container for the smaller secondary buttons */
.secondary-actions {
    display: flex;
    justify-content: space-around; /* Spreads them out evenly */
    align-items: center;
    padding: 0 var(--space-4);
}

/* The smaller Share/Download buttons */
.btn-secondary-action {
    background: none;
    border: none;
    color: var(--gray-500);
    font-weight: var(--font-weight-semibold);
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}
.btn-secondary-action:hover {
    color: var(--primary-blue);
    background-color: var(--gray-100);
}

/* --- NEW CONTENT SECTIONS (LOCAL & FAQ) --- */

/* Hyper-Local Coverage Section */
.local-coverage-section {
    background: var(--gray-50);
    padding: var(--space-12) 0;
    text-align: center;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.local-coverage-section h3 {
    margin-bottom: var(--space-4);
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
}

.local-coverage-section p {
    max-width: 700px;
    margin: 0 auto var(--space-8);
    color: var(--gray-600);
}

.location-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
}

.location-tags span {
    background: var(--white);
    color: var(--gray-700);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-lg);
    font-weight: var(--font-weight-semibold);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    transition: all var(--transition-normal);
}

.location-tags span:hover {
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.location-tags i {
    color: var(--secondary-teal);
}

/* FAQ Section */
.faq-section {
    padding: var(--space-16) 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: var(--space-10);
}