/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0c2d4e 0%, #074b7a 30%, #075985 55%, #0e7490 80%, #0d9488 100%);
}
/* Particle canvas layer */
#heroCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}
.hero-content { position: relative; z-index: 10; text-align: center; padding: 0 1rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 9999px;
  margin-bottom: 2rem;
}
.hero-badge-dot { width: 8px; height: 8px; background: #34d399; border-radius: 50%; animation: pulse-glow 2s infinite; }
.hero-badge-text { color: rgba(255,255,255,0.9); font-size: 0.875rem; font-weight: 500; }

.hero-title { font-size: 2.25rem; font-weight: 700; color: white; line-height: 1.2; margin-bottom: 1.5rem; }
@media (min-width: 640px)  { .hero-title { font-size: 3rem; } }
@media (min-width: 768px)  { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }
.hero-title-gradient {
  background: linear-gradient(90deg, #7dd3fc, white, #bae6fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc { font-size: 1.125rem; color: rgba(255,255,255,0.75); max-width: 42rem; margin: 0 auto 2.5rem; line-height: 1.75; }

.hero-buttons { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .hero-buttons { flex-direction: row; justify-content: center; } }

.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  z-index: 10;
}
.scroll-text  { color: rgba(255,255,255,0.5); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.scroll-arrow { color: rgba(255,255,255,0.5); animation: bounce 2s infinite; }

/* ===== About Section ===== */
.about { background: #f8fafc; position: relative; overflow: hidden; }

.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-bottom: 5rem; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-card {
  text-align: center; padding: 1.5rem;
  background: white; border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: 1px solid rgba(243,244,246,0.8);
  transition: all 0.3s;
}
.stat-card:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.stat-number {
  font-size: 1.875rem; font-weight: 700;
  background: linear-gradient(135deg, #0369a1, #0891b2);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}
@media (min-width: 640px) { .stat-number { font-size: 2.25rem; } }
.stat-label { font-size: 0.875rem; color: #6b7280; font-weight: 500; }

.values-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }

.value-card {
  display: flex; gap: 1.25rem; padding: 2rem;
  background: white; border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: 1px solid rgba(243,244,246,0.8);
  transition: all 0.3s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.value-icon {
  flex-shrink: 0; width: 3rem; height: 3rem; border-radius: 0.75rem;
  background: linear-gradient(135deg, #eff6ff, #e0f2fe);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.value-card:hover .value-icon { background: linear-gradient(135deg, #0369a1, #0891b2); }
.value-icon svg { width: 1.375rem; height: 1.375rem; color: #0369a1; transition: color 0.3s; }
.value-card:hover .value-icon svg { color: white; }
.value-title { font-size: 1.125rem; font-weight: 600; color: #111827; margin-bottom: 0.5rem; }
.value-desc  { font-size: 0.875rem; color: #6b7280; line-height: 1.625; }

/* ===== Services Section ===== */
.services { position: relative; overflow: hidden; }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }

.service-card {
  position: relative; padding: 2rem;
  background: white; border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: 1px solid rgba(243,244,246,0.8);
  transition: all 0.5s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.service-glow { position: absolute; inset: 0; border-radius: 1rem; opacity: 0; transition: opacity 0.5s; }
.service-card:hover .service-glow { opacity: 1; }
.service-content { position: relative; z-index: 10; }

.service-icon {
  width: 3.5rem; height: 3.5rem; border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.service-card:hover .service-icon { transform: scale(1.1); }
.service-icon-1 { background: linear-gradient(135deg, #14b8a6, #059669); }
.service-icon-2 { background: linear-gradient(135deg, #06b6d4, #2563eb); }
.service-icon-3 { background: linear-gradient(135deg, #3b82f6, #4f46e5); }
.service-icon-4 { background: linear-gradient(135deg, #6366f1, #0d9488); }
.service-icon svg { width: 1.625rem; height: 1.625rem; color: white; }

.service-title { font-size: 1.25rem; font-weight: 700; color: #111827; margin-bottom: 0.75rem; }
.service-desc  { color: #6b7280; line-height: 1.625; margin-bottom: 1.5rem; font-size: 0.875rem; }
.service-features { margin-bottom: 1.5rem; }
.service-feature { display: flex; align-items: center; gap: 0.625rem; font-size: 0.875rem; color: #4b5563; margin-bottom: 0.625rem; }
.service-feature-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.service-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 600; color: #0d9488;
  cursor: pointer; transition: color 0.3s;
}
.service-cta:hover { color: #0f766e; }

/* ===== Advantages Section ===== */
.advantages {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #071e38 0%, #0a2a4a 50%, #0b3558 100%);
}
.advantages .section-title { color: white; }
.advantages .section-desc  { color: #9ca3af; }

.advantages-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px)  { .advantages-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .advantages-grid { grid-template-columns: repeat(4, 1fr); } }

.advantage-card {
  position: relative; padding: 1.5rem; border-radius: 1rem;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.5s;
}
.advantage-card:hover {
  border-color: rgba(45,212,191,0.3);
  background: rgba(255,255,255,0.1);
  transform: translateY(-8px);
}
.advantage-icon {
  width: 3rem; height: 3rem; border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(3,105,161,0.25), rgba(8,145,178,0.25));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; transition: all 0.3s;
}
.advantage-card:hover .advantage-icon { background: linear-gradient(135deg, #0369a1, #0891b2); }
.advantage-icon svg { width: 1.375rem; height: 1.375rem; color: #7dd3fc; transition: color 0.3s; }
.advantage-card:hover .advantage-icon svg { color: white; }
.advantage-title { font-size: 1.125rem; font-weight: 600; color: white; margin-bottom: 0.75rem; }
.advantage-desc  { font-size: 0.875rem; color: #9ca3af; line-height: 1.625; }
.advantage-line {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px;
  background: linear-gradient(90deg, #38bdf8, #22d3ee);
  border-radius: 9999px; transition: width 0.5s;
}
.advantage-card:hover .advantage-line { width: 66%; }

.advantages-cta { margin-top: 4rem; text-align: center; }
.advantages-cta-inner {
  display: inline-flex; flex-direction: column; align-items: center; gap: 1rem;
  padding: 1.5rem 2rem;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
}
@media (min-width: 640px) { .advantages-cta-inner { flex-direction: row; padding: 2rem; } }
.advantages-cta-text { text-align: center; }
@media (min-width: 640px) { .advantages-cta-text { text-align: left; } }
.advantages-cta-title    { color: white; font-weight: 600; font-size: 1.125rem; margin-bottom: 0.25rem; }
.advantages-cta-subtitle { color: #9ca3af; font-size: 0.875rem; }

/* ===== News Section (homepage) ===== */
.news { background: #f9fafb; position: relative; overflow: hidden; }
.news-header { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3rem; }
@media (min-width: 640px) { .news-header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }

.news-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px)  { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }

.news-card {
  background: white; border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: 1px solid #f3f4f6; overflow: hidden;
  transition: all 0.3s; text-decoration: none; color: inherit; display: block;
}
.news-card:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); transform: translateY(-4px); }
.news-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  position: relative;
  overflow: hidden;
}
.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-image-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #9ca3af;
  font-size: 0.875rem;
}
.news-content { padding: 1.25rem; }
.news-meta    { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.news-category {
  padding: 0.25rem 0.625rem; border-radius: 9999px;
  font-size: 0.75rem; font-weight: 500; border: 1px solid;
}
.news-category-news { background: #dbeafe; color: #1d4ed8; border-color: #bfdbfe; }
.news-date { display: flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; color: #9ca3af; }
.news-title {
  font-size: 1.125rem; font-weight: 600; color: #111827;
  margin-bottom: 0.5rem; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card:hover .news-title { color: #0369a1; }
.news-summary {
  font-size: 0.875rem; color: #6b7280; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-footer { margin-top: 1rem; display: flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; font-weight: 500; color: #0369a1; }
.news-link { display: inline-flex; align-items: center; gap: 0.5rem; color: #0369a1; font-weight: 500; transition: color 0.3s; }
.news-link:hover { color: #075985; }

/* ===== Contact Section ===== */
.contact { background: #f8fafc; position: relative; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 3fr; } }

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {
  display: flex; gap: 1rem; padding: 1.25rem;
  background: white; border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: 1px solid rgba(243,244,246,0.8);
  transition: all 0.3s;
}
.contact-item:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.contact-icon {
  flex-shrink: 0; width: 2.75rem; height: 2.75rem; border-radius: 0.5rem;
  background: linear-gradient(135deg, #eff6ff, #e0f2fe);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.contact-item:hover .contact-icon { background: linear-gradient(135deg, #0369a1, #0891b2); }
.contact-icon svg { width: 1.25rem; height: 1.25rem; color: #0369a1; transition: color 0.3s; }
.contact-item:hover .contact-icon svg { color: white; }
.contact-title   { font-size: 0.875rem; font-weight: 600; color: #111827; margin-bottom: 0.25rem; }
.contact-content { font-size: 0.875rem; color: #4b5563; }
.contact-subcontent { font-size: 0.75rem; color: #9ca3af; margin-top: 0.125rem; }

.contact-map {
  position: relative; width: 100%; height: 12rem;
  background: white; border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: 1px solid rgba(243,244,246,0.8); overflow: hidden;
}
.contact-map-inner {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #f0fdfa, #ecfeff);
  display: flex; align-items: center; justify-content: center;
}

.contact-form {
  padding: 2rem; background: white; border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: 1px solid rgba(243,244,246,0.8);
}
.form-title { font-size: 1.25rem; font-weight: 700; color: #111827; margin-bottom: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; color: #374151; margin-bottom: 0.5rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb; border-radius: 0.75rem;
  font-size: 0.875rem; transition: all 0.3s; font-family: inherit;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: #14b8a6; box-shadow: 0 0 0 3px rgba(20,184,166,0.1);
}
.form-input::placeholder, .form-textarea::placeholder { color: #d1d5db; }
.form-textarea { resize: none; min-height: 6rem; }

.form-submit {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(90deg, #0369a1, #0891b2);
  color: white; font-weight: 600; font-size: 0.875rem;
  border: none; border-radius: 0.75rem; cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(3,105,161,0.2);
  transition: all 0.3s;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 20px 25px -5px rgba(3,105,161,0.3); }
.form-submit.success { background: #10b981; }
