/* ===================================
   GLOBAL STYLES & VARIABLES
   =================================== */

:root {
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-blue: #007BFF;
  --color-orange: #fd8000;
  --color-gray-light: #F8F9FA;
  --color-gray: #6C757D;
  --color-gray-dark: #343A40;

  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Inter', sans-serif;

  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);

  /* Single source of truth for header and logo sizing */
  --header-height: 120px;
  --logo-height: 140px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  /* Prevent horizontal scroll */
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-white);
  color: var(--color-black);
  line-height: 1.6;
  overflow-x: hidden;
  /* Prevent horizontal scroll */
}

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

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

ul {
  list-style: none;
}

/* ===================================
   TYPOGRAPHY
   =================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

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

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

p {
  font-family: var(--font-secondary);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-gray-dark);
}

/* ===================================
   CONTAINER & LAYOUT
   =================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  width: 100%;
}

.section-title h1 {
  font-size: clamp(2rem, 5vw, 3.375rem);
  /* 3.375rem = 54px */
  margin-bottom: 1rem;
}

.section-title h2 {
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-orange));
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--color-gray);
  max-width: 700px;
  margin: 0 auto 3rem;
  width: 100%;
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: width 0.4s ease;
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  background: var(--color-blue);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.btn-secondary {
  background: var(--color-orange);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.btn-secondary:hover {
  background: #e55f00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

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

.btn-outline:hover {
  background: var(--color-blue);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--color-white);
  z-index: 1000;
  transition: var(--transition-smooth);
  /* Fixed height - prevents logo scaling from expanding header */
  height: var(--header-height);
  overflow: visible;
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  /* Match header height exactly to constrain logo container */
  height: var(--header-height);
  overflow: visible;
}

.logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-blue);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

.logo span {
  color: var(--color-orange);
}

/* Single source of truth for logo sizing - consistent across all pages and breakpoints */
.logo-img {
  height: var(--logo-height) !important;
  width: auto !important;
  max-width: 400px !important;
  object-fit: contain !important;
  background: none !important;
  background-color: transparent !important;
  padding: 0 !important;
  margin: 0.5rem 0 !important;
  display: block !important;
}

/* Alternative: Logo with text */
.logo-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-text img {
  height: 80px;
  width: auto;
  max-width: 240px;
  background: transparent !important;
}

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

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

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-black);
  transition: var(--transition-smooth);
  border-radius: 2px;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--color-white);
  overflow: visible;
  /* Fixed header offset - single source of truth */
  padding-top: var(--header-height);
  padding-bottom: 4rem;
}

.hero .container {
  max-width: 1400px;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  max-width: 100%;
}

.hero-content {
  text-align: left;
  z-index: 2;
  position: relative;
  padding-right: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: var(--color-black);
  line-height: 1.1;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-gray-dark);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  z-index: 2;
}

.carousel-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  aspect-ratio: 4/3;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

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

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 2rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
  box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
  background: var(--color-blue);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 1rem;
}

.carousel-next {
  right: 1rem;
}

.carousel-indicators {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 2px solid white;
}

.indicator.active {
  background: white;
  transform: scale(1.2);
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Hero Image Box */
.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 123, 255, 0.2);
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(253, 128, 0, 0.05));
  padding: 1rem;
}

.hero-image-box img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

/* ===================================
   STATS SECTION
   =================================== */

.stats {
  background: var(--color-white);
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.stat-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--color-gray-light);
  border-radius: 12px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.125rem;
  color: var(--color-gray-dark);
  font-weight: 500;
}

/* ===================================
   WHY CHOOSE US SECTION
   =================================== */

.why-choose {
  background: var(--color-gray-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.feature-card {
  background: var(--color-white);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-blue);
}

.feature-card:nth-child(even):hover {
  border-color: var(--color-orange);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-blue), #0056b3);
  border-radius: 50%;
  font-size: 2.5rem;
  color: var(--color-white);
}

.feature-card:nth-child(even) .feature-icon {
  background: linear-gradient(135deg, var(--color-orange), #e55f00);
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: var(--color-black);
}

.feature-card p {
  color: var(--color-gray);
  font-size: 0.95rem;
}

/* ===================================
   SERVICES/SUBJECTS SECTION
   =================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.service-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-orange));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

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

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  width: 100%;
  text-align: center;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--color-black);
  text-align: center;
  width: 100%;
}

.service-card p {
  margin-bottom: 1.5rem;
  color: var(--color-gray);
  font-size: 0.95rem;
  text-align: center;
  flex-grow: 1;
}

.service-card .btn {
  align-self: center;
  margin-top: auto;
}

/* ===================================
   HOW IT WORKS SECTION
   =================================== */

.how-it-works {
  background: var(--color-gray-light);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  align-items: stretch;
}

.step-card {
  background: var(--color-white);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.step-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

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

.step-card h3 {
  margin-bottom: 1rem;
  color: var(--color-black);
}

.step-card p {
  color: var(--color-gray);
  font-size: 0.95rem;
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */

.testimonials {
  background: var(--color-white);
  overflow: hidden;
  padding: 5rem 0;
}

.testimonials-scroll-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 2rem;
}

.testimonials-scroll-wrapper::before,
.testimonials-scroll-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.testimonials-scroll-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--color-white), transparent);
}

.testimonials-scroll-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--color-white), transparent);
}

.testimonials-scroll-track {
  display: flex;
  gap: 2rem;
  animation: scroll-horizontal 40s linear infinite;
  width: fit-content;
}

.testimonials-scroll-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-horizontal {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  background: var(--color-gray-light);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  min-width: 400px;
  max-width: 400px;
  flex-shrink: 0;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

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

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--color-blue), var(--color-orange));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-white);
  font-weight: 600;
}

.testimonial-rating {
  margin-bottom: 1rem;
  color: var(--color-orange);
  font-size: 1.25rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--color-gray-dark);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 0.25rem;
}

.testimonial-country {
  color: var(--color-gray);
  font-size: 0.9rem;
}

/* ===================================
   GUARANTEES SECTION
   =================================== */

.guarantees {
  background: var(--color-gray-light);
  padding: 3rem 0;
}

.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.guarantee-badge {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.guarantee-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--color-blue);
}

.guarantee-badge:nth-child(even) .guarantee-icon {
  color: var(--color-orange);
}

.guarantee-badge h4 {
  color: var(--color-black);
  margin-bottom: 0.5rem;
}

.guarantee-badge p {
  color: var(--color-gray);
  font-size: 0.9rem;
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
  background: var(--color-white);
  color: var(--color-black);
  text-align: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cta-section h2 {
  color: var(--color-black);
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: #6b7280;
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn-white {
  background: var(--color-blue);
  color: var(--color-white);
  font-weight: 700;
}

.btn-white:hover {
  background: var(--color-orange);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
  background: var(--color-white);
  color: var(--color-black);
  padding: 4rem 0 2rem;
  border-top: 1px solid #e5e7eb;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: start;
}

.footer-section h3 {
  color: var(--color-black);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo span {
  color: var(--color-orange);
}

.footer-logo img,
.footer-logo-img {
  height: 120px;
  width: auto;
  max-width: 350px;
  object-fit: contain;
  background: transparent !important;
}

.footer-tagline {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #6b7280;
  transition: var(--transition-smooth);
}

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

.footer-contact p {
  color: #6b7280;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.social-link {
  width: 40px;
  height: 40px;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: var(--color-blue);
  color: var(--color-white);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding-top: 2rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.footer-bottom-links a {
  color: #6b7280;
}

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

/* ===================================
   WHATSAPP BUTTON
   =================================== */

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: var(--transition-smooth);
  z-index: 999;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  text-decoration: none;
}

.whatsapp-float:hover {
  background: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ===================================
   FORM STYLES
   =================================== */

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color-black);
}

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

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

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

.form-file {
  padding: 0.75rem;
}

/* ===================================
   ACCORDION (FAQ)
   =================================== */

.accordion {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--color-white);
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.accordion-item:hover {
  box-shadow: var(--shadow-md);
}

.accordion-header {
  padding: 1.5rem 2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-gray-light);
  transition: var(--transition-smooth);
}

.accordion-header:hover {
  background: #e9ecef;
}

.accordion-header.active {
  background: var(--color-blue);
  color: var(--color-white);
}

.accordion-title {
  font-weight: 600;
  font-size: 1.125rem;
}

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

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content.active {
  max-height: 500px;
}

.accordion-body {
  padding: 1.5rem 2rem;
  color: var(--color-gray-dark);
  line-height: 1.8;
}

/* ===================================
   CONTACT PAGE STYLES
   =================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.contact-method {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--color-gray-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  color: var(--color-blue);
}

.contact-method h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.contact-method p {
  color: var(--color-gray-dark);
  line-height: 1.6;
}

.contact-form-container {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Extra Large Screens - 1920px and above */
@media (min-width: 1920px) {
  .container {
    max-width: 1400px;
  }

  .hero .container {
    max-width: 1600px;
  }

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

  .hero-subtitle {
    font-size: 1.25rem;
  }
}

/* Large Laptops - 1200px to 1919px */
@media (min-width: 1200px) and (max-width: 1919px) {
  .container {
    max-width: 1140px;
  }

  .hero-grid {
    gap: 3rem;
  }
}

/* Medium screens and small laptops - 969px to 1199px */
@media (min-width: 969px) and (max-width: 1199px) {
  .container {
    max-width: 960px;
  }

  .hero-grid {
    gap: 2.5rem;
  }

  .nav-menu {
    gap: 1.5rem;
  }

  .btn {
    padding: 0.875rem 2rem;
  }
}

/* Tablets and below - 968px and below */
@media (max-width: 968px) {

  /* Moderately smaller header for tablets */
  :root {
    --header-height: 120px;
  }

  .header,
  .nav {
    height: var(--header-height);
  }

  /* Logo sizing - uses global variable for consistency */
  .logo-img {
    height: var(--logo-height) !important;
    max-width: 360px !important;
  }

  /* Hero grid stacks on tablet */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content {
    text-align: center;
    padding-right: 0;
    align-items: center;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .guarantees-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    /* Uses global header height variable */
    padding-top: var(--header-height);
  }

  /* Hero image stacks below content on tablet */
  .hero-image-box {
    max-width: 500px;
    margin: 0 auto;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .carousel-prev {
    left: 0.5rem;
  }

  .carousel-next {
    right: 0.5rem;
  }

  .nav-menu {
    position: fixed;
    /* Uses global header height variable */
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--color-white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem;
    gap: 1.5rem;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
  }

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

  .nav-toggle {
    display: flex;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    min-height: 48px;
    /* Ensure touch-friendly buttons */
    padding: 1rem 2rem;
  }

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

  .footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

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

  .footer-logo img,
  .footer-logo-img {
    height: 100px;
    max-width: 300px;
  }

  .footer-links {
    align-items: center;
  }

  .footer-contact p {
    justify-content: center;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    gap: 0.75rem;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 768px) {

  /* Contact page grid fix */
  .contact-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {

  /* Smaller header height for mobile devices */
  :root {
    --header-height: 100px;
  }

  .header,
  .nav {
    height: var(--header-height);
  }

  /* Logo sizing - uses global variable for consistency */
  .logo-img {
    height: var(--logo-height) !important;
    max-width: 320px !important;
  }

  /* Adjust header padding for mobile */
  .nav {
    padding: 0.5rem 0;
  }

  .container,
  .container-wide {
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .stats-grid,
  .features-grid,
  .services-grid,
  .steps-container,
  .guarantees-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card,
  .feature-card,
  .step-card,
  .stat-card,
  .guarantee-badge {
    text-align: center;
  }

  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    font-size: 1.75rem;
  }

  /* Better mobile padding for cards */
  .service-card,
  .feature-card,
  .step-card {
    padding: 1.5rem;
  }

  /* Mobile form improvements */
  .form-input,
  .form-textarea,
  .form-select {
    font-size: 16px;
    /* Prevents zoom on iOS */
  }

  /* Mobile testimonials */
  .testimonial-card {
    min-width: 300px;
    max-width: 300px;
    padding: 2rem 1.5rem;
  }

  /* Mobile hero image */
  .hero-image-box {
    max-width: 100%;
    padding: 0.5rem;
  }

  .testimonials-scroll-wrapper::before,
  .testimonials-scroll-wrapper::after {
    width: 50px;
  }
}

/* Extra Small Screens - Under 400px (iPhone SE, etc.) */
@media (max-width: 400px) {

  .container,
  .container-wide {
    padding: 0 0.75rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  /* Tighter spacing for small screens */
  .section {
    padding: 2.5rem 0;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  /* Logo sizing - uses global variable for consistency */
  .logo-img {
    height: var(--logo-height) !important;
    max-width: 280px !important;
  }

  .btn {
    font-size: 0.9rem;
    padding: 0.875rem 1.5rem;
  }

  /* Referral box responsive */
  .referral-box {
    padding: 1rem !important;
  }

  .referral-box h3 {
    font-size: 1rem !important;
  }

  .referral-box p {
    font-size: 0.875rem !important;
  }
}

/* ===================================
   UTILITY CLASSES
   =================================== */

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

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

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

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

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===================================
   HERO FORM & MODAL
   =================================== */

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

/* Thank You Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.modal-overlay[style*="display: flex"] {
  display: flex !important;
}

.modal-content {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.8);
  animation: scaleIn 0.3s forwards;
}

.modal-icon {
  font-size: 4rem;
  color: #28a745;
  margin-bottom: 1.5rem;
  animation: checkmark 0.5s ease-in-out 0.3s forwards;
  transform: scale(0);
}

.modal-content h2 {
  color: var(--color-dark);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.modal-content p {
  color: var(--color-gray-dark);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.modal-subtitle {
  font-size: 0.95rem !important;
  opacity: 0.8;
  margin-bottom: 2rem !important;
}

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

@keyframes scaleIn {
  to {
    transform: scale(1);
  }
}

@keyframes checkmark {
  0% {
    transform: scale(0) rotate(0deg);
  }

  50% {
    transform: scale(1.2) rotate(10deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

.modal-overlay.fade-out {
  animation: fadeOut 0.3s forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
  }
}

/* Form Styles Override for Hero */
.hero-form .form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color-gray-dark);
}

.hero-form .form-input,
.hero-form .form-select,
.hero-form .form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-secondary);
  font-size: 1rem;
  margin-bottom: 1rem;
  transition: border-color 0.3s;
}

.hero-form .form-input:focus,
.hero-form .form-select:focus,
.hero-form .form-textarea:focus {
  outline: none;
  border-color: var(--color-blue);
}

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

/* Accordion Styles */
.accordion-item {
  border-bottom: 1px solid #eee;
  margin-bottom: 1rem;
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 1rem;
  background: none;
  border: none;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-black);
}

.accordion-content {
  display: none;
  padding: 1rem;
  color: var(--color-gray-dark);
}

.accordion-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

.accordion-header.active .icon {
  transform: rotate(45deg);
}