/* ============================================================
   PureEco Tech Solution – styles.css
   Deep Navy + Electric Blue palette, mobile-first
   ============================================================ */

:root {
  --navy-900: #0c1b3a;
  --navy-800: #0f2044;
  --navy-700: #162b5a;
  --blue:     #1a6faf;
  --blue-dk:  #1558a0;
  --green:    #3da53e;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { overflow-x: hidden; -webkit-font-smoothing: antialiased; }

img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07);
}
#navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.09);
}

.nav-link {
  color: var(--navy-800);
  transition: color 0.2s;
  position: relative;
  text-decoration: none;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width 0.3s ease;
}
.nav-link:hover { color: var(--blue); }
.nav-link:hover::after { width: 100%; }

.cta-nav-btn {
  background: var(--blue);
  color: #fff !important;
  border: 2px solid var(--blue);
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
}
.cta-nav-btn:hover {
  background: var(--blue-dk);
  border-color: var(--blue-dk);
}

.hamburger-line {
  background: var(--navy-800);
  display: block;
  border-radius: 2px;
}

#mobile-menu {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.mobile-nav-link {
  color: var(--navy-800);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: block;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav-link:hover { background: #f0f7ff; color: var(--blue); }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  background-color: var(--navy-900);
  background-image: url('images/hero-bg.webp');
  background-size: cover;
  background-position: center top;
  margin-top: 0;
}

.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(12, 27, 58, 0.93) 0%,
    rgba(22, 43, 90, 0.88) 60%,
    rgba(26, 111, 175, 0.30) 100%
  );
}

.text-gradient-blue {
  background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 40%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-badge {
  background: rgba(26, 111, 175, 0.18);
  border: 1px solid rgba(26, 111, 175, 0.40);
  color: #93c5fd;
  letter-spacing: 0.1em;
}

.hero-btn-primary {
  background: var(--blue);
  color: #fff;
  border: 2px solid var(--blue);
  box-shadow: 0 4px 20px rgba(26, 111, 175, 0.45);
  text-decoration: none;
  display: inline-block;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.hero-btn-primary:hover {
  background: var(--blue-dk);
  border-color: var(--blue-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26, 111, 175, 0.55);
}

.hero-btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.38);
  text-decoration: none;
  display: inline-block;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

.scroll-dot { animation: scrollBounce 2s ease-in-out infinite; }
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.8; }
  50%       { transform: translateY(8px); opacity: 0.25; }
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section-tag {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-block;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--navy-800);
  line-height: 1.2;
}

.section-subtitle {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.75;
  max-width: 42rem;
}

/* ============================================================
   ABOUT
   ============================================================ */
.skill-chip {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: #eff6ff;
  color: var(--blue);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid #bfdbfe;
}

.mv-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.mv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}
.mv-card:hover { box-shadow: 0 10px 36px rgba(0,0,0,0.09); transform: translateY(-4px); }

.mv-icon-wrap {
  width: 3rem; height: 3rem;
  background: #eff6ff;
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  margin-bottom: 1.25rem;
}

/* ============================================================
   SERVICES
   ============================================================ */
.service-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s, transform 0.3s;
}
.service-card:hover { box-shadow: 0 14px 44px rgba(0,0,0,0.12); transform: translateY(-6px); }

.service-icon-header {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.3s;
}
.service-card:hover .service-icon-header { filter: brightness(1.08); }

.service-body { padding: 1.5rem; }
.service-icon-wrap {
  width: 2.5rem; height: 2.5rem;
  background: #eff6ff; border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); margin-bottom: 1rem;
}
.service-title { font-size: 1.05rem; font-weight: 700; color: var(--navy-800); margin-bottom: 0.4rem; }
.service-desc  { font-size: 0.875rem; color: #64748b; line-height: 1.65; }

/* ============================================================
   TECHNOLOGIES
   ============================================================ */
.tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy-800);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: default;
}
.tech-chip:hover {
  border-color: var(--blue);
  box-shadow: 0 2px 12px rgba(26, 111, 175, 0.15);
  transform: translateY(-2px);
}
.tech-dot {
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  position: relative; overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.stat-item { position: relative; z-index: 1; }
.stat-icon-wrap {
  width: 4rem; height: 4rem;
  background: rgba(26, 111, 175, 0.14);
  border: 1px solid rgba(26, 111, 175, 0.25);
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  color: #60a5fa; margin-bottom: 1.25rem;
}
.stat-number-wrap { display: flex; align-items: flex-start; justify-content: center; gap: 1px; }
.stat-number {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 800; color: #fff; line-height: 1;
}
.stat-plus {
  font-size: 1.75rem; font-weight: 700;
  color: #60a5fa; margin-top: 3px;
}
.stat-label { font-size: 0.88rem; color: #94a3b8; margin-top: 0.5rem; letter-spacing: 0.02em; }

/* ============================================================
   TRAININGS
   ============================================================ */
.course-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.75rem;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.course-card:hover {
  box-shadow: 0 10px 34px rgba(0,0,0,0.08);
  transform: translateY(-4px);
  border-color: #bfdbfe;
}
.course-icon {
  width: 3rem; height: 3rem; border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.course-title { font-size: 1rem; font-weight: 700; color: var(--navy-800); margin-bottom: 0.45rem; }
.course-desc  { font-size: 0.875rem; color: #64748b; line-height: 1.65; margin-bottom: 1rem; }
.course-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  background: #f1f5f9; color: #475569;
  border-radius: 9999px; font-size: 0.75rem; font-weight: 500;
}

.training-cta {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--blue) 100%);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  box-shadow: 0 8px 36px rgba(15,32,68,0.22);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-info-card {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.5rem;
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 1rem;
  transition: box-shadow 0.3s;
}
.contact-info-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

.contact-icon-wrap {
  width: 2.75rem; height: 2.75rem;
  background: #eff6ff; border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); flex-shrink: 0;
}

.contact-cta-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 1.5rem;
  padding: 2.5rem; box-shadow: 0 4px 22px rgba(0,0,0,0.06);
}

.contact-email-btn {
  display: inline-flex; align-items: center; gap: 0.625rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--blue) 100%);
  color: #fff; border-radius: 9999px;
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 22px rgba(26,111,175,0.32);
  transition: transform 0.25s, box-shadow 0.25s;
}
.contact-email-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26,111,175,0.44);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-section { background: var(--navy-900); }

.footer-heading {
  color: #fff; font-weight: 700; font-size: 0.9rem;
  margin-bottom: 1.25rem; letter-spacing: 0.03em;
}
.footer-link {
  color: #94a3b8; font-size: 0.88rem;
  text-decoration: none; display: block;
  padding: 0.2rem 0; transition: color 0.2s;
}
.footer-link:hover { color: #fff; }


/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible    { 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; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
  .slider-btn-prev { left: 0; }
  .slider-btn-next { right: 0; }
}

@media (max-width: 480px) {
  .training-cta { padding: 2rem 1.25rem; }
  .contact-cta-card { padding: 1.75rem 1.25rem; }
}
