:root {
  --primary: #23A9DC;
  --primary-dark: #1B8AB5;
  --primary-light: #4fc3f7;
  --accent: #23A9DC;
  --dark: #080e1a;
  --dark-surface: #0c1529;
  --dark-card: #111d35;
  --text: #2d3748;
  --text-light: #718096;
  --text-muted: #a0aec0;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --border: #e2e8f0;
  --success: #25D366;
}

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

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background-color: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

section {
  padding: clamp(60px, 10vw, 120px) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.2;
}

.section-subtitle {
  max-width: 580px;
  margin: 16px auto 0;
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  border: none;
  letter-spacing: 0.02em;
}

.btn-primary, .btn-outline {
  background-color: var(--success);
  color: var(--white);
  border: none;
}

.btn-primary:hover, .btn-outline:hover {
  background-color: #1ebe57;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

/* Hero Section */
#hero {
  background-color: var(--dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  z-index: 0;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(100deg, rgba(8, 14, 26, 0.97) 0%, rgba(8, 14, 26, 0.85) 40%, rgba(8, 14, 26, 0.3) 70%, transparent 100%);
  z-index: 1;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(35, 169, 220, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-logo {
  max-width: 260px;
  margin-bottom: 32px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

.hero-title {
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 24px;
}

.text-accent {
  color: var(--primary);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-cta {
  margin-bottom: 48px;
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
}

.hero-feature {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.hero-feature:hover {
  background-color: rgba(35, 169, 220, 0.08);
  border-color: rgba(35, 169, 220, 0.25);
  transform: translateY(-2px);
}

.hero-feature svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--primary);
}

/* Services */
#services {
  background-color: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background-color: var(--white);
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(35, 169, 220, 0.1);
  color: var(--primary);
  border-radius: 12px;
  font-size: 1.5rem;
}

.service-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* Counters */
#counters {
  background: linear-gradient(135deg, #1a8fd1 0%, #23A9DC 35%, #4fc3f7 100%);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

#counters::before {
  content: '12';
  color: rgba(255, 255, 255, 0.06);
  font-size: 20rem;
  font-weight: 900;
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  pointer-events: none;
}

.counters-row {
  display: flex;
  justify-content: center;
  gap: clamp(32px, 8vw, 100px);
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

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

.counter-value {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  display: block;
}

.counter-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 6px;
  font-weight: 500;
  display: block;
}

.counters-caption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Testimonials */
#testimonials {
  background: linear-gradient(160deg, #080e1a 0%, #0c1a30 50%, #101f3d 100%);
  color: var(--white);
}

#testimonials .section-title {
  color: var(--white);
}

#testimonials .section-subtitle {
  color: rgba(255,255,255,0.7);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.testimonial-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  align-items: center;
}

.testimonial-img {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3/4;
}

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

.testimonial-quote {
  font-size: 0.92rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.75);
  font-style: italic;
}

.testimonial-quote p {
  margin-bottom: 14px;
}

.testimonial-quote p:last-child {
  margin-bottom: 0;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
  margin-top: 20px;
  font-style: normal;
  display: block;
}

/* Clients */
#clients {
  background-color: var(--white);
}

.client-group {
  margin-bottom: 32px;
  background: linear-gradient(135deg, #1a8fd1 0%, #23A9DC 50%, #4fc3f7 100%);
  border-radius: 20px;
  padding: 32px;
  color: var(--white);
}

.client-group-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.client-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.client-tag {
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--text);
  border-radius: 50px;
  padding: 9px 20px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.client-tag:hover {
  background-color: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

/* Partnerships */
#partnerships {
  background-color: var(--off-white);
  text-align: center;
}

.partners-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin: 48px 0;
}

.partners-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  padding-right: clamp(32px, 5vw, 64px);
}

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

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}

.partners-logo {
  height: 44px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.5);
  transition: all 0.4s ease;
}

.partners-logo:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.08);
}

/* About */
#about {
  background-color: var(--dark);
  color: var(--white);
}

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

.about-text h2 {
  color: var(--white);
  margin-bottom: 28px;
}

.about-text p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
  line-height: 1.8;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

/* Mission */
#mission {
  background-color: var(--off-white);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.mission-card {
  background-color: transparent;
  perspective: 1000px;
  min-height: 380px;
}

.mission-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.mission-card:hover .mission-card-inner {
  transform: rotateY(180deg);
}

.mission-card-front, .mission-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: var(--white);
  border-top: 3px solid var(--primary);
}

.mission-card-front i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.mission-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 0;
  display: block;
}

.mission-card-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #1a8fd1 0%, #23A9DC 100%);
  border-top: none;
}

.mission-body {
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.7;
}

/* Why Choose */
#why-choose {
  background: linear-gradient(160deg, #080e1a 0%, #0c1a30 50%, #101f3d 100%);
  color: var(--white);
}

#why-choose .section-title {
  color: var(--white);
}

#why-choose .section-subtitle {
  color: rgba(255,255,255,0.7);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-list {
  list-style: none;
  padding: 0;
  margin-top: 32px;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.why-item:hover {
  background-color: rgba(35, 169, 220, 0.08);
  border-color: rgba(35, 169, 220, 0.2);
}

.why-item i {
  color: var(--primary);
  font-size: 1.15rem;
  width: 24px;
  text-align: center;
}

.why-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
  display: block;
  margin: 0 auto;
}

/* Carousels */
#specialists { background-color: var(--white); }
#gallery { 
  background: linear-gradient(160deg, #080e1a 0%, #0c1a30 50%, #101f3d 100%); 
  color: var(--white);
  padding-top: 100px;
  padding-bottom: 100px;
}
#gallery .section-title {
  color: var(--white);
}
#gallery .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.carousel {
  position: relative;
  padding: 0 56px;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 calc(33.333% - 16px);
  margin-right: 24px;
  border-radius: 16px;
  overflow: hidden;
}

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

#gallery .carousel-slide img {
  height: 500px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  color: var(--text);
}

.carousel-btn:hover {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(35, 169, 220, 0.3);
}

.carousel-prev { left: 0; }
.carousel-next { right: 0; }

/* Media */
#media { background-color: var(--off-white); }

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.media-card {
  background-color: var(--white);
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.media-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  color: var(--primary);
}

.media-title {
  margin-bottom: 24px;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Contact Form */
#contact-form {
  background: linear-gradient(180deg, #022359 0%, #01112b 100%);
  padding: 80px 0;
  color: var(--white);
}

.contact-header {
  text-align: center;
  margin-bottom: 48px;
}

.contact-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--white);
}

.contact-subtitle {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

#whatsapp-form {
  max-width: 650px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#whatsapp-form input,
#whatsapp-form textarea {
  width: 100%;
  padding: 18px 20px;
  border-radius: 8px;
  border: none;
  background-color: var(--white);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

#whatsapp-form input::placeholder,
#whatsapp-form textarea::placeholder {
  color: #a0aec0;
}

#whatsapp-form input:focus,
#whatsapp-form textarea:focus {
  box-shadow: 0 0 0 3px rgba(35, 169, 220, 0.4);
}

.btn-submit {
  background-color: #25D366;
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.btn-submit:hover {
  background-color: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

/* Location & Footer */
#location-footer {
  background-color: var(--white);
}

.maps-container iframe {
  display: block;
}

.footer-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 60px 20px;
  text-align: left;
}

.footer-col-title {
  background-color: #e5f5fd;
  color: var(--primary-dark);
  display: inline-block;
  padding: 8px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.footer-col-content p,
.footer-col-content a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  margin-bottom: 16px;
  font-size: 0.95rem;
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.footer-col-content i {
  color: var(--primary);
  font-size: 1.15rem;
  width: 24px;
  text-align: center;
}

.footer-col-content a:hover {
  color: var(--primary);
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  text-decoration: none;
  display: none; /* Controlled by JS */
}

.whatsapp-float.visible {
  display: block;
}

.btn-whatsapp {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--success);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  font-size: 1.6rem;
  transition: all 0.3s ease;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--white);
  color: var(--text);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

@keyframes whatsapp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 16px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* Podcast Banner */
.podcast-banner-wrapper {
  padding-bottom: 80px;
  text-align: center;
}

.podcast-banner {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
  display: block;
  margin: 0 auto;
  transition: transform 0.4s ease;
}

.podcast-banner:hover {
  transform: translateY(-8px);
}

/* Animations Reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.custom-map-marker div {
  cursor: pointer;
}
.custom-map-marker div:hover {
  transform: scale(1.3) !important;
}
.leaflet-popup-content-wrapper {
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner, .why-grid, .about-grid {
    grid-template-columns: 1fr;
  }
  .carousel-slide {
    flex: 0 0 calc(50% - 12px);
  }
  .hero-content {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .services-grid, .mission-grid, .media-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .testimonial-img {
    max-width: 200px;
    margin: 0 auto;
  }
  .footer-info {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 20px;
  }
  .footer-col-content p,
  .footer-col-content a {
    justify-content: center;
  }
  .counters-row {
    flex-direction: column;
    gap: 32px;
  }
  .carousel-slide {
    flex: 0 0 100%;
    margin-right: 0;
  }
  .carousel {
    padding: 0 40px;
  }
}

@media (max-width: 480px) {
  .hero-features {
    grid-template-columns: 1fr;
  }
  .container {
    padding: 0 16px;
  }
}
