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

:root {
  /* Color System - Professional Legal Theme */
  --primary: #d51919;
  --primary-light: #d4356d;
  --primary-dark: #930909;
  --accent: #FFFF00;
  --accent-light: #e6c866;

  /* Neutrals */
  --white: #ffffff;
  --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;

  /* Typography */
  --font-primary: "Inter", sans-serif;
  --font-display: "Playfair Display", serif;

  /* Spacing */
  --container-max: 1200px;
  --section-padding: 100px 0;
  --border-radius: 12px;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--gray-700);
  overflow-x: hidden;
}

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

/* Fixed Action Buttons */
.fixed-actions {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.action-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--white);
  font-size: 20px;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.action-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  transition: var(--transition);
  z-index: -1;
}

.call-btn::before {
  background: linear-gradient(135deg, #10b981, #059669);
}

.chatPopup::before {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.action-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.action-btn:hover::before {
  transform: scale(1.1);
}

.action-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 75px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gray-900);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  pointer-events: none;
}

.action-btn:hover::after {
  opacity: 1;
  visibility: visible;
  left: 80px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgb(255 255 255);
  backdrop-filter: blur(20px);
  z-index: 999;
  transition: var(--transition);
  border-bottom: 1px solid var(--gray-200);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-brand h2 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--primary);
  font-weight: 600;
}

.brand-accent {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

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

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

.nav-cta {
  background: var(--primary);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  transition: var(--transition);
}/* Keep spacing and alignment consistent at larger screens */
@media (min-width: 768px) {
  .brand-logo { height: 36px; }
}
@media (min-width: 1024px) {
  .brand-logo { height: 40px; }
}

/* Optional: if your navbar has limited height, make the logo fit it exactly */
:root {
  --nav-h: 72px; /* adjust to your navbar height if fixed */
}

.brand-logo {
  max-height: calc(var(--nav-h) - 24px); /* keeps some vertical padding */
  width: auto;
}

/* Hero Section */
/* ============================================
   HERO CAROUSEL CSS - ADD THIS TO YOUR CSS FILE
   ============================================ */

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Carousel Background */
.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.indicator.active {
  background: rgba(255, 255, 255, 1);
  width: 30px;
  border-radius: 6px;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  color: white;
  width: 100%;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 24px;
  margin-bottom: 40px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.stat-box {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 20px 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: white;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 8px;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.carousel-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Adjust opacity (0.4 = 40% dark) */
  z-index: 2;
}
.btn {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: white;
  color: #667eea;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

/*.btn-secondary:hover {*/
/*  background: white;*/
/*  color: var(--primary);*/
/*}*/
.btn-secondary {
  background: white;
  color: var(--primary);
}


/* Responsive */
@media (max-width: 768px) {
  .call-now-box{
        margin-top: 20px;
    text-align: left;
    display: flex
;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  .footer-contact {
  
    align-items: center;
}
  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-box {
    padding: 15px 20px;
  }

  .stat-number {
    font-size: 28px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

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

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

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

.btn-outline:hover {
  background:green;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Sections */
.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 600;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* Services Section */
.services {
  padding: var(--section-padding);
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}
.services-carousel {
  padding-bottom: 40px;
  padding-top: 40px;
}

.swiper-pagination-bullet {
  background: var(--primary);
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

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

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--white);
  font-size: 2rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 600;
}

.service-card p {
  color: var(--gray-600);
  margin-bottom: 24px;
  line-height: 1.6;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features span {
  color: var(--gray-500);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Process Section */
.process {
  padding: var(--section-padding);
  background: var(--gray-50);
}

.process-steps {
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
}

.process-step:nth-child(even) {
  flex-direction: row-reverse;
}

.process-step::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -30px;
  width: 2px;
  height: 60px;
  background: var(--gray-300);
  transform: translateX(-50%);
}

.process-step:last-child::after {
  display: none;
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 600;
}

.step-content p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* About Section */
.about {
  padding: var(--section-padding);
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-description {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.7;
}

.about-features {
  margin-bottom: 32px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  color: var(--gray-700);
}

.feature-item i {
  color: var(--accent);
  font-size: 1.2rem;
  width: 20px;
}

.about-visual {
  position: relative;
  height: 400px;
}

.visual-element {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  border-radius: var(--border-radius);
  overflow: hidden;
}

.floating-card {
  position: absolute;
  background: var(--white);
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatCard 6s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.floating-card:nth-child(1) {
  top: 20%;
  left: 10%;
  --delay: 0s;
}

.floating-card:nth-child(2) {
  top: 41%;
  right: 10%;
  --delay: 2s;
}

.floating-card:nth-child(3) {
  bottom: 20%;
  left: 20%;
  --delay: 4s;
}

.floating-card i {
  color: var(--primary);
  font-size: 1.5rem;
}

.floating-card span {
  font-weight: 600;
  color: var(--gray-700);
  white-space: nowrap;
}

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

/* Regions Section */
.regions {
  padding: var(--section-padding);
  background: var(--gray-50);
}

.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.region-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.region-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.region-card h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.3rem;
  font-weight: 600;
}

.region-card ul {
  list-style: none;
}

.region-card li {
  padding: 8px 0;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.region-card li:last-child {
  border-bottom: none;
}

.region-card li:hover {
  color: var(--primary);
  padding-left: 10px;
}

.coverage-note {
  text-align: center;
  font-size: 1.1rem;
  color: var(--gray-600);
}

.coverage-note a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.coverage-note a:hover {
  color: var(--accent);
}

/* Contact Section */
.contact {
  padding: var(--section-padding);
  background: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-details h3 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1.3rem;
  font-weight: 600;
}

.contact-details p {
  color: var(--gray-700);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-details span {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* Contact Form */
.contact-form {
  background: var(--gray-50);
  padding: 40px;
  border-radius: var(--border-radius);
  border: 1px solid var(--gray-200);
}

.form-group {
  position: relative;
  margin-bottom: 30px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 2px solid var(--gray-300);
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
  font-family: var(--font-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.form-group label {
  position: absolute;
  top: 16px;
  left: 16px;
  color: var(--gray-500);
  transition: var(--transition);
  pointer-events: none;
  background: var(--white);
  padding: 0 4px;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group select:focus + label,
.form-group select:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
  top: -8px;
  left: 12px;
  font-size: 0.8rem;
  color: var(--primary);
}

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

/* Footer */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 80px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 600;
  color: var(--accent);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.footer-contact-item:hover {
  color: var(--accent);
}

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

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

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--accent);
}

.footer-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.footer-actions > .btn-outline {
  color: rgba(255, 255, 255, 0.8);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
  .fixed-actions {
    left: 15px;
  }

  .action-btn {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 40px;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }

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

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero-stats {
    gap: 30px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .process-step {
    flex-direction: column !important;
    text-align: center;
    gap: 20px;
  }

  .process-step::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .regions-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 20px;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll Animations */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}
/* Added styles for new sections */
/* What is Rental Agreement Section */
.what-is-rental {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.rental-info-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}

.rental-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.rental-importance h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.rental-importance p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.importance-list {
  list-style: none;
  padding: 0;
}

.importance-list li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.importance-list li i {
  color: var(--accent-color);
  margin-right: 15px;
  font-size: 1.1rem;
}

.info-cards {
  display: grid;
  gap: 20px;
}

.info-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.info-card h4 {
  color: var(--text-primary);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.info-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Book Appointment Section */
.book-appointment {
  padding: 100px 0;
  background: var(--primary-color);
  /* color: white; */
}

.appointment-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 60px;
}

.appointment-info h3 {
  color: var(--accent-color);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.appointment-info p {
  /* color: rgba(255, 255, 255, 0.9); */
  line-height: 1.6;
  margin-bottom: 30px;
}

.appointment-features {
  display: grid;
  gap: 15px;
}

.appointment-features .feature-item {
  display: flex;
  align-items: center;
  /* color: rgba(255, 255, 255, 0.9); */
}

.appointment-features .feature-item i {
  color: var(--accent-color);
  margin-right: 15px;
  font-size: 1.1rem;
  width: 20px;
}

.appointment-form {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background: white;
}

.faq-content {
  max-width: 800px;
  margin: 60px auto 0;
}

.faq-item {
  background: #f8fafc;
  border-radius: 15px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(37, 99, 235, 0.05);
}

.faq-question h3 {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.faq-question i {
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 30px 25px;
  max-height: 1000px; /* increase this */
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 15px;
}

.faq-answer ul {
  color: var(--text-secondary);
  padding-left: 20px;
}

.faq-answer ul li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
  .rental-info-content,
  .appointment-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .info-cards {
    grid-template-columns: 1fr;
  }

  .faq-question {
    padding: 20px;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 20px;
  }
}
/* 1) Kill horizontal overflow from animations and sliders */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip; /* modern, prevents layout shift from transforms */
}
body {
  /* keep the original behavior but ensure no layout jump on scrollbar */
  scrollbar-gutter: stable both-edges; /* helps avoid header/hamburger shift */
}

/* 2) Extra safety: ensure carousels/animated wrappers never create horizontal scroll */
.services-carousel,
.swiper,
.swiper-wrapper {
  overflow: hidden;
}

/* 3) Fixed navbar safety: ensure sections don't scroll under it */
[id] {
  scroll-margin-top: 100px; /* navbar is ~80px; give a bit more room */
}

/* 4) Hero: reduce size and add top padding on small screens so it doesn't sit under navbar */
@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    padding-top: calc(80px + 24px); /* account for fixed navbar + breathing room */
    padding-bottom: 48px;
  }
  .hero-content { padding: 0 8px; }
  .hero-subtitle { font-size: 1rem; margin-bottom: 24px; }

  .hero-stats { gap: 16px; margin-bottom: 24px; }
  .stat-number { font-size: 2rem; }
  .stat-label { font-size: 0.8rem; }

  /* Optional: hide heavy floating elements on small screens to save space and avoid overflow risk */
  .floating-elements { display: none; }
}

/* 5) When mobile menu is open, lock page scroll to prevent side-drift on iOS */
body.nav-open {
  overflow: hidden;         /* lock background scroll */
  touch-action: none;       /* avoid iOS pull causing horizontal wiggle */
}
/* AFTER */
.services-carousel,
.swiper {
  overflow: hidden; /* keep clipping on container */
}
.swiper-wrapper {
  overflow: visible; /* let wrapper translate without hiding slides */
}

/* Ensure slide height and alignment are stable */
.services-carousel .swiper-wrapper {
  align-items: stretch;
  will-change: transform;
}
.services-carousel .swiper-slide {
  height: auto;          /* let cards define height */
  display: flex;         /* stretch card within */
}
.services-carousel .service-card {
  width: 100%;           /* fill the slide width */
}



/* Popup Form */
.popup-form {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.popup-form.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: var(--white);
  max-width: 500px;
  width: 90%;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(50px);
  transition: var(--transition);
}

.popup-form.active .popup-content {
  transform: translateY(0);
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}

.popup-close:hover {
  color: var(--primary);
}

.popup-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 10px;
  text-align: center;
}

.popup-subtitle {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 20px;
  text-align: center;
}

.chat-form .form-group {
  margin-bottom: 20px;
}

.chat-form .form-group input,
.chat-form .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--gray-300);
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
  font-family: var(--font-primary);
}

.chat-form .form-group input:focus,
.chat-form .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.chat-form .form-group label {
  position: absolute;
  top: 12px;
  left: 12px;
  color: var(--gray-500);
  transition: var(--transition);
  background: var(--white);
  padding: 0 4px;
  font-size: 1rem;
}

.chat-form .form-group input:focus + label,
.chat-form .form-group input:valid + label,
.chat-form .form-group textarea:focus + label,
.chat-form .form-group textarea:valid + label {
  top: -8px;
  left: 10px;
  font-size: 0.8rem;
  color: var(--primary);
}

.chat-form .form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.chat-form .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Responsive Design for Popup */
@media (max-width: 768px) {
  .popup-content {
    padding: 20px;
    width: 95%;
  }

  .popup-title {
    font-size: 1.5rem;
  }

  .popup-subtitle {
    font-size: 0.9rem;
  }
}
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.success-content {
  background: var(--white);
  max-width: 400px;
  width: 90%;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  transform: translateY(50px);
  transition: var(--transition);
}

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

.success-icon {
  font-size: 3rem;
  color: #10b981;
  margin-bottom: 20px;
}

.success-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.success-message {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.success-content .btn {
  max-width: 200px;
  margin: 0 auto;
}

/* Responsive Design for Success Modal */
@media (max-width: 768px) {
  .success-content {
    padding: 20px;
  }

  .success-icon {
    font-size: 2.5rem;
  }

  .success-title {
    font-size: 1.3rem;
  }

  .success-message {
    font-size: 0.9rem;
  }
}