/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  background-color: #f8f9fa;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
.header {
  background-color: #ffffff;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Logo Styles */
.logo {
  display: flex;
  align-items: center;
  gap: 1rem; /* Increased from 0.8rem */
}

.logo-image {
  height: 52px; /* 30% bigger: 40px → 52px */
  width: auto;
  object-fit: contain;
}

.logo-text {
  color: #2c3e50;
  font-size: 1.82rem; /* 30% bigger: 1.4rem → 1.82rem */
  font-weight: 700;
}

.info {
  display: flex;
  gap: 1.3rem; /* 30% bigger: 1rem → 1.3rem */
  align-items: center;
}

.phone-number {
  font-size: 1.69rem; /* 30% bigger: 1.3rem → 1.69rem */
  font-weight: 700;
  color: #3498db;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.phone-number:hover {
  color: #2980b9;
  transform: translateY(-2px);
  text-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
}

.btn-primary {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  background-color: #ffffff;
  color: #2c3e50;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-content {
  flex: 1;
  min-width: 300px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #2c3e50;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #555;
}

.hero-image-container {
  flex: 1;
  min-width: 300px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  height: 400px;
}

.image-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  transform: translateX(100%);
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
}

.slide.prev {
  transform: translateX(-100%);
}

/* Stats Section */
.stats {
  padding: 3rem 0;
  background-color: #f0f5ff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.stat-item {
  background-color: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.stat-item .number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #3498db;
  margin-bottom: 0.5rem;
}

.stat-item .label {
  font-size: 0.9rem;
  color: #666;
}

/* Features Section */
.features {
  padding: 4rem 0;
  background-color: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  background-color: #f0f5ff;
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.feature-card i {
  font-size: 2.5rem;
  color: #3498db;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.feature-card:hover i {
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.feature-card p {
  font-size: 0.9rem;
  color: #666;
}

/* Process Section */
.process {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.process-step {
  background-color: white;
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.step-number {
  font-size: 2rem;
  font-weight: bold;
  color: #3498db;
  margin-bottom: 0.5rem;
}

.step-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.process-step i {
  font-size: 1.8rem;
  color: #3498db;
  transition: transform 0.3s ease;
}

.process-step:hover i {
  transform: scale(1.1);
}

/* CTA Section */
.cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  flex-wrap: wrap;
}

.contact-info span {
  color: #fff;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    text-align: center;
  }

  .info {
    justify-content: center;
    flex-wrap: wrap;
  }

  .logo-image {
    height: 42px; /* Slightly smaller on mobile */
  }

  .logo-text {
    font-size: 1.56rem; /* 30% bigger: 1.2rem → 1.56rem */
  }

  .phone-number {
    font-size: 1.4rem; /* 30% bigger: 1.1rem → 1.4rem */
  }

  .hero .container {
    flex-direction: column;
  }

  .hero-image-container {
    height: 300px;
    margin-top: 2rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .contact-info {
    flex-direction: column;
    gap: 1rem;
  }

  .stats-grid,
  .features-grid,
  .process-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  backdrop-filter: blur(3px);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.close {
  color: #aaa;
  float: right;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 20px;
}

.close:hover {
  color: #000;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #2c3e50;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3498db;
}

/* Modal Animation */
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-content {
  animation: modalFadeIn 0.3s ease-out;
}
/* Location Button Styles */
.location-btn {
  background-color: #e74c3c; /* Red color for location */
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.location-btn:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.location-btn i {
  font-size: 1.2rem;
}
/* Social Buttons */
/* Social Buttons */
.social-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.social-btn:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.social-btn i {
  font-size: 1.2rem;
}

.language-switcher {
  display: flex;
  background-color: #f0f5ff;
  border-radius: 20px;
  padding: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.lang-btn {
  padding: 0.5rem 1rem;
  border: none;
  background: transparent;
  color: #3498db;
  font-weight: 600;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.lang-btn.active {
  background-color: #3498db;
  color: white;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.lang-btn:hover:not(.active) {
  background-color: #e1e8f0;
}
/* =========================================================
   RESPONSIVE ENHANCEMENTS — append at the very end of CSS
   ========================================================= */

/* Fluid typography for key elements */
.logo-text { font-size: clamp(1.1rem, 2.5vw, 1.82rem); }
.phone-number { font-size: clamp(1rem, 2.2vw, 1.69rem); }
.hero h1 { font-size: clamp(1.6rem, 4.2vw, 2.5rem); }
.hero p  { font-size: clamp(.95rem, 2.4vw, 1.1rem); }

/* Keep buttons readable and tap-friendly */
.btn-primary,
.social-btn,
.lang-btn {
  min-height: 42px;
}

/* Header: better wrapping + ordering on narrow screens */
@media (max-width: 768px) {
  .header .container {
    row-gap: .75rem;
  }
  .logo { order: 1; }
  .language-switcher { order: 2; }
  .info { order: 3; }
  .header .btn-primary { order: 4; width: 100%; }
}

/* Make phone numbers wrap nicely and not overflow */
.info { flex-wrap: wrap; }
.phone-number { white-space: nowrap; }

/* Hero layout: stack on mobile, split on tablet+ */
@media (min-width: 769px) {
  .hero .container {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 2rem;
  }
}

/* Hero image: adaptive height without cropping weirdly */
.hero-image-container {
  height: auto;                /* override fixed 400px */
  aspect-ratio: 16 / 10;       /* gives a nice default shape */
  max-height: 520px;           /* cap on large screens */
}
@media (max-width: 768px) {
  .hero-image-container {
    aspect-ratio: 16 / 11;     /* slightly taller on phones */
    max-height: 360px;
  }
}

/* Slider images should fully cover without stretching */
.slide { object-fit: cover; }

/* Grids: single column on small, expand progressively */
@media (max-width: 576px) {
  .stats-grid,
  .features-grid,
  .process-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
}

@media (min-width: 577px) and (max-width: 991px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid  { grid-template-columns: repeat(2, 1fr); }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid  { grid-template-columns: repeat(4, 1fr); }
  .stats-grid    { grid-template-columns: repeat(4, 1fr); }
}

/* Modal: full-height safe layout on tiny phones */
@media (max-width: 420px) {
  .modal-content {
    margin: 10vh auto;
    width: 94%;
    padding: 1.25rem;
    border-radius: 12px;
  }
}

/* Language switch: avoid squishing on small widths */
@media (max-width: 400px) {
  .language-switcher { width: 100%; justify-content: center; }
}

/* Make the CTA block breathe on very small screens */
@media (max-width: 576px) {
  .cta { padding: 2.5rem 0; }
  .cta h2 { font-size: clamp(1.4rem, 5.5vw, 2rem); }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* Optional: slightly bigger touch targets */
@media (hover: none) and (pointer: coarse) {
  .lang-btn { padding: .6rem 1.1rem; }
  .social-btn { padding: .7rem 1.25rem; }
}
@media (min-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
  }
}
