/* ==================== css/style.css ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    sans-serif;
  line-height: 1.5;
  color: #1f2937;
  background: #ffffff;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
header {
  background: #0a2b3e;
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.logo {
  font-size: 1.3rem;
  font-weight: 700;
}
.logo span {
  color: #facc15;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.lang-btn {
  background: #facc15;
  border: none;
  color: #0a2b3e;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}
.lang-btn:hover {
  background: #eab308;
}
nav a {
  color: #e2e8f0;
  text-decoration: none;
  margin-left: 1.5rem;
  transition: color 0.2s;
}
nav a:hover {
  color: #facc15;
}
.section {
  padding: 4rem 0;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #0a2b3e;
  border-bottom: 3px solid #facc15;
  display: inline-block;
  padding-bottom: 0.5rem;
}
.title-wrapper {
  text-align: center;
  margin: 2rem 0 1.5rem;
}
.about-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  text-align: center;
  color: #2d3e50;
}
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}
.service-card {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 1rem;
  flex: 1 1 200px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.service-card h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.service-card p {
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.carousel-section {
  background: #fefce8;
}
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.carousel-container {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  border-radius: 1.5rem;
  flex: 1;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.carousel-track {
  display: flex;
  gap: 1.2rem;
  padding: 0.5rem 0.2rem;
}
.carousel-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s;
}
.carousel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}
.carousel-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #e2e8f0;
}
.carousel-caption {
  padding: 0.8rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  background: white;
  border-top: 1px solid #eef2ff;
}
.showmore-card {
  background: linear-gradient(135deg, #0a2b3e 0%, #1e4a62 100%);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.showmore-card:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, #1e4a62 0%, #0a2b3e 100%);
}
.showmore-card .showmore-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.showmore-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.showmore-card p {
  font-size: 0.9rem;
  opacity: 0.9;
}
.carousel-btn {
  background: #0a2b3e;
  border: none;
  color: white;
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  border-radius: 60px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.carousel-btn:hover {
  background: #facc15;
  color: #0a2b3e;
  transform: scale(1.02);
}
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}
.indicator {
  width: 8px;
  height: 8px;
  background: #cbd5e1;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
}
.indicator.active {
  background: #facc15;
  width: 24px;
  border-radius: 12px;
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  background: #f1f5f9;
  border-radius: 1.5rem;
  padding: 2rem;
  word-break: break-word;
}
.contact-details {
  flex: 1;
  min-width: 220px;
}
.contact-details p {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  /* flex-wrap: wrap; */
}
.contact-details p > span:last-child, 
.contact-details p > a {
  flex: 1;
}

.contact-details a {
  color: #0a2b3e;
  text-decoration: none;
  border-bottom: 1px dotted #facc15;
}
.map-placeholder {
  flex: 1;
  background: #e2e8f0;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #334155;
  text-align: center;
  min-height: 160px;
  padding: 1rem;
}
footer {
  background: #0a2b3e;
  color: #cbd5e1;
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 2rem;
  font-size: 0.85rem;
}

/* Mobile layout */
@media (max-width: 800px) {
    
  .header-flex {
    flex-direction: column; /* Stack logo and header-right vertically */
    align-items: stretch; /* Make children take full width */
    gap: 0.75rem;
  }

  .logo {
    text-align: center; /* Center the logo text */
    white-space: nowrap; /* Prevent logo text from wrapping */
    font-size: 1rem; /* Slightly smaller for mobile */
  }

  .header-right {
    display: flex;
    flex-direction: column; /* Stack button and nav vertically */
    align-items: center; /* Center them horizontally */
    gap: 0.75rem;
    width: 100%;
  }

  .lang-btn {
    width: auto;
  }

  nav {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
  }

  nav a {
    margin-left: 0; /* remove desktop margin */
    margin-right: 0; /* ensure no extra margins */
    font-size: 0.9rem;
  }

  /* .carousel-card {
    flex: 0 0 200px;
  } */

  .carousel-container {
    /* Helps align the snapping to the container's padding */
    scroll-padding: 0 1.5rem; 
  }

  .carousel-card {
    /* Use 85% of the width so the next card is slightly visible */
    /* This prevents the card from being wider than the viewport */
    flex: 0 0 95%; 
    scroll-snap-align: center; /* Better UX for mobile than 'start' */
  }

  .carousel-track {
    gap: 1rem; /* Slightly tighter gap for mobile */
    padding: 1rem 0;
  }
}
