@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;600;700;800&display=swap');

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

:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #ccfbf1;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --dark: #1d1e20;
  --gray: #64748b;
  --gray-light: #f4f5ff;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'DM Sans', 'Roboto', sans-serif;
  line-height: 1.7;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ===== HEADER ===== */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

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

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.slides {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-content {
  max-width: 800px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
  animation: slideUp 0.8s ease forwards;
}

.slide.active .slide-content {
  animation: slideUp 0.8s ease forwards;
}

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

.slide-tag {
  display: inline-block;
  background: rgba(245, 158, 11, 0.9);
  color: #fff;
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.slide h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -1px;
  line-height: 1.1;
}

.slide p {
  font-size: 1.25rem;
  margin-bottom: 36px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
  font-weight: 300;
}

.slide-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: 30px;
}

.slider-next {
  right: 30px;
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.dot.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.5);
  border-color: #fff;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.6);
  box-shadow: none;
  margin-left: 16px;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
  transform: translateY(-3px);
}

/* ===== SECTIONS ===== */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 40px;
}

.section-title {
  text-align: center;
  margin-bottom: 70px;
}

.section-title h2 {
  font-size: 2.8rem;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-title p {
  color: var(--gray);
  font-size: 1.15rem;
  font-weight: 300;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
  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: transform 0.4s ease;
}

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

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

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

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  transform: scale(1.05);
}

.service-card h3 {
  color: var(--dark);
  margin-bottom: 14px;
  font-size: 1.25rem;
  font-weight: 600;
}

.service-card p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-card ul {
  text-align: left;
  color: var(--gray);
  padding-left: 0;
  list-style: none;
}

.service-card ul li {
  padding: 6px 0;
  font-size: 0.9rem;
  padding-left: 20px;
  position: relative;
}

.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  transform: translateY(-50%);
}

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

.about-text h2 {
  color: var(--dark);
  font-size: 2.5rem;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.about-text p {
  margin-bottom: 18px;
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--primary-light);
  border-radius: var(--radius);
  pointer-events: none;
}

.about-image div {
  border-radius: var(--radius) !important;
}

/* ===== FEATURES ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.feature {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.feature:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.feature h3 {
  color: var(--dark);
  margin-bottom: 12px;
  font-size: 1.2rem;
  font-weight: 600;
}

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

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 35px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
}

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

.testimonial-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.15;
  position: absolute;
  top: 15px;
  left: 25px;
  line-height: 1;
}

.stars {
  color: #f59e0b;
  font-size: 1.2rem;
  margin-bottom: 16px;
  letter-spacing: 3px;
}

.testimonial-text {
  font-style: italic;
  color: var(--gray);
  margin-bottom: 24px;
  padding-top: 20px;
  font-size: 1rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), #e0f7fa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.testimonial-author h4 {
  color: var(--dark);
  margin-bottom: 2px;
  font-size: 1rem;
  font-weight: 600;
}

.testimonial-author span {
  color: var(--gray);
  font-size: 0.85rem;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  color: var(--dark);
  margin-bottom: 30px;
  font-size: 1.6rem;
  font-weight: 600;
}

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

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-light), #e0f7fa);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-item:hover .contact-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  transform: scale(1.05);
}

.contact-item h4 {
  color: var(--dark);
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 600;
}

.contact-item p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-form {
  background: var(--white);
  padding: 50px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.04);
}

.contact-form h3 {
  color: var(--dark);
  margin-bottom: 30px;
  font-size: 1.6rem;
  font-weight: 600;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--dark);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: #fafbfc;
  color: var(--dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

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

/* ===== MAP ===== */
.map-placeholder {
  width: 100%;
  height: 350px;
  background: linear-gradient(135deg, var(--primary-light), #e0f7fa);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 500;
  border: 2px dashed rgba(13, 148, 136, 0.3);
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #94a3b8;
  padding: 80px 20px 30px;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-col h3 {
  color: #fff;
  margin-bottom: 24px;
  font-size: 1.15rem;
  font-weight: 600;
}

.footer-col p {
  color: #94a3b8;
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.8;
}

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

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-col ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
}

/* ===== STATS ===== */
.stats {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.stat-item p {
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 300;
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 50%, #115e59 100%);
  color: #fff;
  padding: 120px 20px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}

.page-hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  font-weight: 300;
  position: relative;
  z-index: 1;
}

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}

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

.team-image {
  height: 260px;
  background: linear-gradient(135deg, var(--primary-light), #e0f7fa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  color: var(--primary);
}

.team-card h3 {
  color: var(--dark);
  margin: 24px 24px 6px;
  font-size: 1.2rem;
  font-weight: 600;
}

.team-card .role {
  color: var(--accent);
  font-weight: 600;
  margin: 0 24px 16px;
  font-size: 0.9rem;
}

.team-card p {
  padding: 0 24px 28px;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.section[style*="background:#2a7d6f"],
.section[style*="background:#2a7d6f"] h2,
.section[style*="background:#2a7d6f"] p {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: var(--transition);
}

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

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

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

/* ===== SCROLL ANIMATION ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card,
.testimonial-card,
.team-card,
.feature {
  animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(2),
.testimonial-card:nth-child(2),
.team-card:nth-child(2),
.feature:nth-child(2) {
  animation-delay: 0.1s;
}

.service-card:nth-child(3),
.testimonial-card:nth-child(3),
.team-card:nth-child(3),
.feature:nth-child(3) {
  animation-delay: 0.2s;
}

.service-card:nth-child(4),
.testimonial-card:nth-child(4),
.team-card:nth-child(4),
.feature:nth-child(4) {
  animation-delay: 0.3s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .navbar {
    padding: 0 24px;
  }
  .section {
    padding: 80px 24px;
  }
  .about-content,
  .contact-grid {
    gap: 50px;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  /* Hamburger Menu */
  .hamburger {
    display: flex;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }

  .navbar {
    position: relative;
    flex-direction: row;
    height: 70px;
    padding: 0 20px;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 14px 20px;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  .nav-links a::after {
    display: none;
  }

  /* Hero Slider Mobile */
  .hero-slider {
    height: 500px;
  }

  .slide h1 {
    font-size: 2.2rem;
  }

  .slide p {
    font-size: 1.05rem;
  }

  .slide-tag {
    font-size: 0.75rem;
    padding: 6px 18px;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .slider-prev {
    left: 15px;
  }

  .slider-next {
    right: 15px;
  }

  .slider-dots {
    bottom: 20px;
    gap: 10px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  /* Layout */
  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section {
    padding: 60px 20px;
  }

  .section-title {
    margin-bottom: 50px;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .page-hero {
    padding: 100px 20px 80px;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }

  .btn-secondary {
    margin-left: 0;
    margin-top: 15px;
    display: inline-block;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-form {
    padding: 30px 24px;
  }

  .stat-item h3 {
    font-size: 2.2rem;
  }

  .about-text h2 {
    font-size: 2rem;
  }

  .team-image {
    height: 220px;
  }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 30px 24px;
  }

  .testimonial-card {
    padding: 30px 24px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 450px;
  }

  .slide h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .slide p {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .slide-tag {
    font-size: 0.7rem;
    margin-bottom: 16px;
  }

  .slide-buttons {
    flex-direction: column;
    align-items: center;
  }

  .slide-buttons .btn {
    width: 100%;
    max-width: 260px;
    text-align: center;
  }

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

  .section {
    padding: 50px 16px;
  }

  .page-hero h1 {
    font-size: 1.9rem;
  }

  .page-hero {
    padding: 90px 16px 70px;
  }

  .contact-form {
    padding: 24px 16px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 12px 14px;
    font-size: 16px; /* Prevents iOS zoom */
  }

  .btn {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .stat-item h3 {
    font-size: 1.8rem;
  }

  .about-text h2 {
    font-size: 1.7rem;
  }

  .team-card h3 {
    font-size: 1.1rem;
  }

  .map-placeholder {
    height: 250px;
    font-size: 0.9rem;
  }

  .footer-content {
    gap: 24px;
  }

  .slider-arrow {
    display: none;
  }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .slider-arrow {
    min-width: 44px;
    min-height: 44px;
  }

  .dot {
    min-width: 16px;
    min-height: 16px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px; /* Prevents iOS zoom */
    min-height: 44px;
  }
}

/* ===== GALLERY GRID ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Blog card image wrapper */
.service-card > div:first-child img {
  transition: transform 0.5s ease;
}

.service-card:hover > div:first-child img {
  transform: scale(1.05);
}
