/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1a3a5c;
  --primary-light: #2c5282;
  --accent: #c8a951;
  --text: #2d3748;
  --text-light: #718096;
  --bg: #ffffff;
  --bg-alt: #f7fafc;
  --border: #e2e8f0;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --max-w: 1140px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary-light); text-decoration: none; }
a:hover { color: var(--accent); }

.icon-svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.15em; }
.service-card .icon-svg { width: 2rem; height: 2rem; }
.hero-buttons .icon-svg { width: 1.15em; height: 1.15em; }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }

/* ===== Header ===== */
.header {
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.logo { font-size: 1.15rem; font-weight: 700; color: #fff; letter-spacing: 0.5px; display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.logo img { height: 36px; width: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); flex-shrink: 0; }
.logo span { color: var(--accent); }
.logo-text { white-space: nowrap; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

.nav { display: flex; gap: 1.5rem; align-items: center; }
.nav a { color: rgba(255,255,255,0.85); font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
.nav a:hover, .nav a.active { color: var(--accent); }

.nav-cta {
  background: var(--accent) !important;
  color: var(--primary) !important;
  padding: 0.45rem 1rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 4rem 0 3.5rem;
}

.hero .container { display: flex; align-items: center; gap: 3rem; }

.hero-text { flex: 1; }

.hero-text h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.hero-text .credential {
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-text p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary { background: var(--accent); color: var(--primary); }
.btn-primary:hover { background: #d4b55e; color: var(--primary); }

.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: #fff; color: #fff; }

.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #20bd5a; color: #fff; }

.hero-photo {
  flex-shrink: 0;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--accent);
  overflow: hidden;
}

.hero-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.hero-photo .placeholder-icon { font-size: 4rem; color: rgba(255,255,255,0.3); }

.footer-logo { height: 40px; width: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); margin-bottom: 0.75rem; }

/* ===== Sections ===== */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}
.section-subtitle {
  color: var(--text-light);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* ===== Services Grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.service-card .icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

.service-card a {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ===== About Snapshot ===== */
.about-snapshot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-snapshot .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.stat-card {
  text-align: center;
  padding: 1.25rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.stat-card .number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-card .label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

/* ===== Blog Feed ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}

.blog-card:hover { box-shadow: var(--shadow); }

.blog-card .date {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.blog-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ===== Contact Strip ===== */
.contact-strip {
  background: var(--primary);
  color: #fff;
  padding: 3rem 0;
}

.contact-strip .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

.contact-item .icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  height: 250px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== Page Hero ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}

.page-hero h1 { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.05rem; }

/* ===== About Page ===== */
.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.about-text h2:first-child { margin-top: 0; }

.about-text p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--text);
}

.about-sidebar {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: 5rem;
}

.about-sidebar h3 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
}

.credential-list { list-style: none; }
.credential-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
}
.credential-list li:last-child { border: none; }
.credential-list .label { color: var(--text-light); }
.credential-list .value { font-weight: 600; color: var(--text); }

/* ===== Service Detail Page ===== */
.service-detail { max-width: 800px; margin: 0 auto; }

.service-detail h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 2rem 0 1rem;
}

.service-detail p, .service-detail li {
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.service-detail ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.service-detail li { color: var(--text); }

.service-cta {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}

.service-cta p { margin-bottom: 1rem; color: var(--text-light); }

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.contact-details-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-details-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.detail-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.detail-row .icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.detail-row .text { line-height: 1.5; }
.detail-row .text strong { display: block; margin-bottom: 0.15rem; }

/* ===== Resources Page ===== */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.due-dates-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.due-dates-table th,
.due-dates-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.due-dates-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

.due-dates-table tr:nth-child(even) { background: var(--bg-alt); }

/* ===== Footer ===== */
.footer {
  background: #0f1923;
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer p { font-size: 0.9rem; line-height: 1.6; }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--accent); }

.disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  background: #25d366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 99;
  transition: transform 0.2s;
}

.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .logo { font-size: 0.95rem; gap: 0.4rem; }
  .logo img { height: 30px; width: 30px; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 1rem 1.25rem;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .nav.open { display: flex; }
  .nav a { padding: 0.65rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); width: 100%; }
  .nav-cta { text-align: center; margin-top: 0.5rem; }

  .hero .container { flex-direction: column-reverse; text-align: center; gap: 1.5rem; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-photo { width: 160px; height: 160px; }
  .hero-text h1 { font-size: 1.75rem; }

  .about-snapshot { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; }
  .contact-strip .container { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .section { padding: 2.5rem 0; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}
