/* =============================================
   Digitech Transformation — Global Styles
   ============================================= */

:root {
  --navy:    #0d1b2a;
  --blue:    #1565c0;
  --cyan:    #00b4d8;
  --gold:    #f0b429;
  --white:   #ffffff;
  --light:   #f4f7fb;
  --gray:    #6b7280;
  --dark-gray: #374151;
  --success: #10b981;
  --danger:  #ef4444;
  --radius:  8px;
  --shadow:  0 4px 24px rgba(0,0,0,0.10);
  --transition: 0.3s ease;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--dark-gray);
  background: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a  { color: var(--cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(1.8rem, 5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 4vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p  { margin-bottom: 1rem; }
.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--navy);
}
.section-subtitle {
  text-align: center;
  color: var(--gray);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}
.divider {
  width: 60px;
  height: 4px;
  background: var(--cyan);
  border-radius: 2px;
  margin: 0.75rem auto 1.5rem;
}

/* ── Layout ── */
.container    { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.section      { padding: 5rem 0; }
.section.alt  { background: var(--light); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.flex   { display: flex; align-items: center; gap: 1rem; }
.flex-center { justify-content: center; }
.flex-between { justify-content: space-between; }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary  { background: var(--cyan); color: var(--navy); border-color: var(--cyan); }
.btn-primary:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn-outline  { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-gold     { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: var(--cyan); border-color: var(--cyan); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.9rem; }

/* ── Card ── */
.card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.14); }
.card-body { padding: 1.75rem; }
.card-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem;
}

/* ── Badge ── */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}
.badge-cyan  { background: rgba(0,180,216,0.15); color: var(--cyan); }
.badge-gold  { background: rgba(240,180,41,0.15); color: #b8860b; }
.badge-green { background: rgba(16,185,129,0.15); color: var(--success); }

/* ── Navigation ── */
nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 70px;
  max-width: 1140px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-logo img { width: 42px; height: 42px; border-radius: 8px; }
.nav-logo-text { color: var(--white); font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.nav-logo-text span { color: var(--cyan); display: block; font-size: 0.75rem; font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-links a {
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--cyan);
  background: rgba(0,180,216,0.1);
}
.nav-cta {
  background: var(--cyan) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  border-radius: var(--radius) !important;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--navy) !important; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 50%, #0d2744 100%);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,180,216,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-content { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,180,216,0.15);
  border: 1px solid rgba(0,180,216,0.3);
  color: var(--cyan);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 span { color: var(--cyan); }
.hero p { color: rgba(255,255,255,0.8); font-size: 1.15rem; max-width: 580px; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}
.hero-stat span { font-size: 2rem; font-weight: 800; color: var(--cyan); display: block; }
.hero-stat p    { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin: 0; }

/* ── Page Banner ── */
.page-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
  padding: 4rem 0;
  text-align: center;
  color: var(--white);
}
.page-banner h1 { color: var(--white); }
.page-banner h1 span { color: var(--cyan); }
.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}
.breadcrumb a { color: var(--cyan); }

/* ── Stats Section ── */
.stats-section { background: var(--blue); padding: 3rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2rem; }
.stat-item { text-align: center; color: var(--white); }
.stat-item .num { font-size: 2.5rem; font-weight: 800; color: var(--gold); }
.stat-item p    { color: rgba(255,255,255,0.85); font-size: 0.95rem; margin: 0; }

/* ── About ── */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-img-wrapper img { width: 100%; border-radius: 16px; }
.about-badge-float {
  position: absolute;
  bottom: 1.5rem; right: -1.5rem;
  background: var(--gold);
  color: var(--navy);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.values-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--light);
  border-radius: var(--radius);
  border-left: 3px solid var(--cyan);
}
.value-item .icon { font-size: 1.4rem; flex-shrink: 0; }
.value-item h4 { font-size: 0.95rem; color: var(--navy); }
.value-item p  { font-size: 0.85rem; color: var(--gray); margin: 0; }

/* ── Programs ── */
.program-card .card-header {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  padding: 2rem 1.75rem 1.5rem;
  color: var(--white);
}
.program-card .price { font-size: 1.5rem; font-weight: 800; color: var(--gold); }
.program-features { list-style: none; margin: 1rem 0; }
.program-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  font-size: 0.92rem;
  color: var(--dark-gray);
  border-bottom: 1px solid #f0f0f0;
}
.program-features li .check { color: var(--success); }

/* ── Volunteers ── */
.volunteer-card { text-align: center; }
.vol-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--cyan);
}
.vol-avatar-placeholder {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem; color: var(--white);
  border: 3px solid rgba(0,180,216,0.3);
}
.volunteer-card .name   { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.volunteer-card .role   { color: var(--cyan); font-size: 0.88rem; font-weight: 600; margin: 0.25rem 0 0.5rem; }
.volunteer-card .region { font-size: 0.85rem; color: var(--gray); }
.social-links { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1rem; }
.social-links a {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  color: var(--blue);
  transition: all var(--transition);
}
.social-links a:hover { background: var(--cyan); color: var(--white); }

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex; align-items: flex-end; padding: 1.25rem;
  color: var(--white);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption { font-size: 0.95rem; font-weight: 600; }

/* ── CEO Message ── */
.ceo-section {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
  padding: 5rem 0;
  color: var(--white);
}
.ceo-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start; }
.ceo-profile { text-align: center; }
.ceo-photo {
  width: 220px; height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--cyan);
  box-shadow: 0 0 40px rgba(0,180,216,0.3);
  margin: 0 auto 1.5rem;
}
.ceo-photo-placeholder {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  border: 5px solid var(--cyan);
  box-shadow: 0 0 40px rgba(0,180,216,0.3);
  margin: 0 auto 1.5rem;
}
.ceo-name  { font-size: 1.3rem; font-weight: 800; color: var(--white); }
.ceo-title { color: var(--cyan); font-size: 0.95rem; margin-top: 0.25rem; }
.ceo-body h2 { color: var(--white); margin-bottom: 1.5rem; }
.ceo-body p  { color: rgba(255,255,255,0.85); line-height: 1.8; }
.ceo-signature { color: var(--gold); font-size: 1.1rem; font-weight: 700; margin-top: 1.5rem; }
blockquote {
  border-left: 4px solid var(--cyan);
  padding: 1rem 1.5rem;
  background: rgba(0,180,216,0.08);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  margin: 1.5rem 0;
  color: rgba(255,255,255,0.9);
}

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.contact-info .info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--light);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  border-left: 3px solid var(--cyan);
}
.info-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.info-text h4 { color: var(--navy); font-size: 0.95rem; }
.info-text p, .info-text a { color: var(--gray); font-size: 0.9rem; margin: 0; }
.info-text a:hover { color: var(--cyan); }
.contact-form-card { background: var(--white); border-radius: 16px; box-shadow: var(--shadow); padding: 2.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--navy); margin-bottom: 0.4rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--dark-gray);
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--cyan);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.whatsapp-contact {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.wa-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.25rem;
  background: #25d366;
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.wa-btn:hover { background: #128c7e; color: var(--white); transform: translateY(-2px); }
.wa-btn .wa-icon { font-size: 1.2rem; }

/* ── WhatsApp Floating Button ── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
}
.whatsapp-float .wa-toggle {
  width: 60px; height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  border: none;
  color: var(--white);
  transition: all var(--transition);
  position: relative;
}
.whatsapp-float .wa-toggle:hover { transform: scale(1.1); background: #128c7e; }
.wa-pulse {
  position: absolute;
  top: 0; right: 0;
  width: 18px; height: 18px;
  background: var(--danger);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--white);
}
.wa-popup {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  padding: 1.25rem;
  width: 260px;
  display: none;
  animation: slideUp 0.3s ease;
}
.wa-popup.open { display: block; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.wa-popup-header {
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 10px 10px 0 0;
  margin: -1.25rem -1.25rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
}
.wa-number {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem;
  border-radius: var(--radius);
  background: var(--light);
  margin-bottom: 0.6rem;
  text-decoration: none;
  color: var(--dark-gray);
  transition: all var(--transition);
  font-size: 0.9rem;
}
.wa-number:hover { background: #e9fef1; color: #128c7e; }
.wa-number strong { display: block; font-size: 0.75rem; color: var(--gray); }
.wa-number .wa-num { color: #25d366; font-weight: 700; }

/* ── Footer ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 0;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand p { font-size: 0.92rem; margin: 1rem 0 1.25rem; max-width: 280px; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8);
  transition: all var(--transition);
  font-size: 0.9rem;
}
.footer-social a:hover { background: var(--cyan); color: var(--white); }
.footer-logo { color: var(--white); font-weight: 800; font-size: 1.2rem; margin-bottom: 0.5rem; }
.footer-logo span { color: var(--cyan); }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 1.25rem; position: relative; padding-bottom: 0.75rem; }
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--cyan);
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--cyan); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.75rem;
}
.footer-contact-item .icon { color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--cyan); }

/* ── Alert / Toast ── */
.toast {
  position: fixed;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--success);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  z-index: 9998;
  transition: transform 0.4s ease, opacity 0.4s;
  opacity: 0;
  box-shadow: 0 4px 24px rgba(16,185,129,0.4);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-links { display: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; padding: 1rem; gap: 0.25rem; box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .about-content, .ceo-layout, .contact-grid { grid-template-columns: 1fr; }
  .about-badge-float { right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 3rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 4rem 0 3rem; }
  .hero-btns { flex-direction: column; }
  .btn { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .values-list { grid-template-columns: 1fr; }
  .hero-stat span { font-size: 1.5rem; }
}
