:root {
  /* Premium Blue Palette */
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6; /* Main */
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a; /* Dark background */
  
  --bg-color: #ffffff;
  --bg-alt: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-blue: 0 20px 25px -5px rgba(37, 99, 235, 0.25);
  
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--bg-alt); }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge {
  display: inline-block;
  background-color: var(--blue-50);
  color: var(--blue-700);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid var(--blue-100);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--blue-600);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.btn-primary:hover {
  background-color: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

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

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

.btn-lg {
  padding: 16px 32px;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

/* --- Navbar --- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: all var(--transition-normal);
}

nav.scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
}

nav.scrolled .nav-links a {
  color: var(--text-main);
}
nav.scrolled .nav-links a:hover {
  color: var(--blue-600);
}
nav.scrolled .logo-text {
  color: var(--text-main);
}
nav.scrolled .mobile-menu-btn {
  color: var(--text-main);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 40px;
  width: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.logo-text {
  font-weight: 800;
  font-size: 1.25rem;
  color: white;
  transition: color var(--transition-normal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a:not(.whatsapp-btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--blue-500);
  transition: width var(--transition-normal);
}

.nav-links a:not(.whatsapp-btn):hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: white;
}

.whatsapp-btn {
  background-color: #25D366;
  color: white !important;
  padding: 8px 16px;
  border-radius: 100px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-normal);
}

.whatsapp-btn:hover {
  background-color: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  background-color: white;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 20px;
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--border-color);
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  color: var(--text-main);
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid var(--bg-alt);
}

.whatsapp-btn-mobile {
  background-color: #25D366;
  color: white !important;
  padding: 12px;
  border-radius: var(--radius-md);
  text-align: center;
  margin-top: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(135deg, rgba(15,23,42,0.9) 0%, rgba(30,58,138,0.8) 100%),
    url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
  z-index: -1;
  animation: bgScale 20s ease-in-out infinite alternate;
}

@keyframes bgScale {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.hero-text {
  max-width: 650px;
}

.hero-text .badge {
  background-color: rgba(255,255,255,0.1);
  color: white;
  border-color: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: 4.5rem;
  color: white;
  margin-bottom: 24px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #60a5fa, #bfdbfe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-slider-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.slider-arrow {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  background-color: var(--blue-600);
  border-color: var(--blue-600);
  transform: translateX(5px);
}

.slider-counter {
  width: 40px;
  height: 60px;
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  position: relative;
}

.slider-counter::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 25%;
  background-color: var(--blue-500);
}

/* --- Services Section --- */
.services {
  padding: 120px 0;
}

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

.service-card {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-400), var(--blue-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

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

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

.service-card.featured {
  background-color: var(--blue-900);
  color: white;
  border: none;
  transform: scale(1.05);
  box-shadow: var(--shadow-blue);
}

.service-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.service-card.featured::before {
  display: none;
}

.service-card.featured .service-features li {
  color: rgba(255, 255, 255, 0.8);
}

.service-card.featured .service-features i {
  color: var(--blue-300);
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background-color: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
  transition: all var(--transition-normal);
}

.service-card.featured .service-icon {
  background-color: rgba(255,255,255,0.1);
  color: white;
}

.service-card:hover .service-icon {
  background-color: var(--blue-600);
  color: white;
  border-radius: 50%;
  transform: rotateY(360deg);
}

.service-card.featured:hover .service-icon {
  background-color: white;
  color: var(--blue-600);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service-features i {
  color: var(--blue-500);
  margin-top: 4px;
}

/* --- Intro & Video Section --- */
.intro-video {
  padding: 100px 0;
  background-color: var(--bg-alt);
}

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

.intro-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.intro-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.video-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.video-placeholder {
  position: relative;
  aspect-ratio: 16/9;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.video-placeholder:hover .video-thumb {
  transform: scale(1.05);
}

.video-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.3);
  transition: background-color var(--transition-normal);
}

.video-placeholder:hover::after {
  background-color: rgba(0,0,0,0.1);
}

.play-video-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.9);
  color: var(--blue-600);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
  animation: pulseWhite 2s infinite;
  transition: all var(--transition-normal);
}

.play-video-btn:hover {
  background-color: var(--blue-600);
  color: white;
  transform: translate(-50%, -50%) scale(1.1);
  animation: none;
}

@keyframes pulseWhite {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
  70% { box-shadow: 0 0 0 20px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* --- News Section --- */
.news {
  padding: 120px 0;
}

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

.news-card {
  background-color: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

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

.news-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  transition: transform var(--transition-slow);
}

.news-card:hover .news-img {
  transform: scale(1.05);
}

.news-content {
  padding: 24px;
  background-color: white;
  position: relative;
  z-index: 1;
}

.news-date {
  font-size: 0.85rem;
  color: var(--blue-600);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.news-card h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  line-height: 1.4;
}

.read-more {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.read-more:hover {
  gap: 10px;
}

/* --- Best Practices Section --- */
.practices {
  padding: 120px 0;
}

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

.practice-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/5;
  cursor: pointer;
}

.practice-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.practice-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0) 60%);
}

.practice-card:hover img {
  transform: scale(1.1);
}

.practice-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  z-index: 1;
  color: white;
  transform: translateY(10px);
  opacity: 0.9;
  transition: all var(--transition-normal);
}

.practice-card:hover .practice-info {
  transform: translateY(0);
  opacity: 1;
}

.practice-info h4 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.practice-info p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

/* --- Contact Section --- */
.contact {
  padding: 120px 0;
  position: relative;
  background-color: var(--blue-900);
  color: white;
  overflow: hidden;
}

.contact-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--blue-700) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.2;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.contact-info h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 1.1rem;
  color: var(--blue-100);
  margin-bottom: 40px;
  max-width: 400px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.detail-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--blue-300);
  border: 1px solid rgba(255,255,255,0.2);
}

.detail-item h5 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.detail-item p {
  margin: 0;
  font-size: 1rem;
}

.contact-form-wrapper {
  background-color: white;
  padding: 50px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  color: var(--text-main);
}

.contact-form h3 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.contact-form p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition-fast);
  background-color: var(--bg-alt);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  background-color: white;
}

textarea {
  resize: vertical;
}

.form-success {
  margin-top: 20px;
  padding: 16px;
  background-color: #dcfce7;
  color: #166534;
  border-radius: var(--radius-md);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --- Final CTA --- */
.final-cta {
  padding: 100px 0;
  background-color: var(--blue-50);
  border-top: 1px solid var(--blue-100);
}

.final-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--blue-900);
}

/* --- Footer --- */
footer {
  background-color: var(--text-main);
  color: white;
  padding: 80px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  margin-bottom: 60px;
}

.logo-img-small {
  height: 30px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 20px;
  margin-bottom: 30px;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.social-links a:hover {
  background-color: var(--blue-500);
  transform: translateY(-3px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.link-col h4 {
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.link-col a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.link-col a:hover {
  color: white;
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .hero-title { font-size: 3.5rem; }
  .services-grid, .news-grid, .practices-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-container { grid-template-columns: 1fr; }
  .intro-video-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  nav.scrolled .mobile-menu-btn { color: var(--text-main); }
  
  .hero-content { flex-direction: column; text-align: center; gap: 40px; }
  .hero-text { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-slider-indicator { flex-direction: row; }
  .slider-counter { width: 60px; height: 40px; }
  .slider-counter::after { width: 25%; height: 100%; }
  
  .services-grid, .news-grid, .practices-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  
  .footer-content { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}
