/*
Theme Name: Dr. Sanjay Om Education
Theme URI: https://drsanjayom.com
Author: Dr. Sanjay Om
Description: A premium, mobile-first education theme for Dr. Sanjay Om — PharmD. Features sticky header, news ticker, homepage sections, announcement popup, footer widgets, and full admin panel control.
Version: 1.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: Private
Text Domain: dso-theme
Tags: education, medical, pharmacy, mobile-first, sticky-header
*/

/* ═══════════════════════════════════
   BASE RESET
═══════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: #1a2332;
  background: #f0f4f8;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ═══════════════════════════════════
   CSS VARIABLES
═══════════════════════════════════ */
:root {
  --primary:       #0f4c75;
  --primary-dark:  #0a3154;
  --primary-light: #1a6a9e;
  --accent:        #1b7a5e;
  --accent2:       #16a085;
  --accent-light:  #e8f8f4;
  --highlight:     #2ecc9a;
  --text:          #1a2332;
  --text-muted:    #607080;
  --border:        #d0dce8;
  --bg:            #f0f4f8;
  --white:         #ffffff;
  --shadow:        0 2px 12px rgba(15,76,117,0.10);
  --shadow-md:     0 4px 24px rgba(15,76,117,0.14);
  --radius:        8px;
  --radius-lg:     12px;
  --header-h:      64px;
}

/* ═══════════════════════════════════
   LAYOUT WRAPPERS
═══════════════════════════════════ */
.dso-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex: 1; }
.page-content { padding: 40px 0; }

/* ═══════════════════════════════════
   STICKY HEADER
═══════════════════════════════════ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary-dark);
  box-shadow: var(--shadow-md);
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s;
}
#site-header.scrolled { background: rgba(10,49,84,0.97); backdrop-filter: blur(8px); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* LOGO */
.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-circle {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0;
  transition: transform 0.2s;
}
.site-logo:hover .logo-circle { transform: scale(1.08); }
.logo-img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.logo-text-wrap {}
.logo-name { font-size: 16px; font-weight: 700; color: #fff; line-height: 1.2; }
.logo-tagline { font-size: 10px; color: #9ab7d0; }

/* NAV */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: #cde; font-size: 13px; font-weight: 500;
  padding: 7px 13px; border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,0.12); color: #fff; }
.main-nav .nav-cta {
  background: var(--accent); color: #fff !important;
  padding: 7px 16px; border-radius: 6px; font-weight: 700;
}
.main-nav .nav-cta:hover { background: var(--accent2); }

/* HAMBURGER */
.hamburger {
  display: none; background: none; border: none;
  color: #fff; font-size: 26px; padding: 4px; line-height: 1;
}

/* MOBILE NAV DRAWER */
.mobile-nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 1100;
}
.mobile-nav-drawer {
  position: fixed; top: 0; left: -280px; width: 280px; height: 100%;
  background: var(--primary-dark); z-index: 1200;
  transition: left 0.3s ease; overflow-y: auto;
  box-shadow: 4px 0 20px rgba(0,0,0,0.3);
}
.mobile-nav-drawer.open { left: 0; }
.mobile-nav-overlay.open { display: block; }
.drawer-header {
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: space-between;
}
.drawer-close { background: none; border: none; color: #fff; font-size: 22px; }
.drawer-nav { padding: 12px 0; }
.drawer-nav a {
  display: flex; align-items: center; gap: 10px;
  color: #cde; font-size: 14px; padding: 13px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.15s;
}
.drawer-nav a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.drawer-nav a i { font-size: 18px; color: var(--highlight); }

/* ═══════════════════════════════════
   NEWS TICKER
═══════════════════════════════════ */
#dso-ticker {
  background: var(--primary);
  display: flex; align-items: center;
  overflow: hidden; height: 34px; width: 100%;
}
.ticker-label {
  background: var(--accent); color: #fff;
  padding: 0 14px; font-size: 11px; font-weight: 700;
  height: 100%; display: flex; align-items: center; gap: 5px;
  flex-shrink: 0; white-space: nowrap; letter-spacing: 0.4px;
}
.ticker-outer { overflow: hidden; flex: 1; }
.ticker-track {
  display: flex; gap: 80px; white-space: nowrap;
  animation: dso-tick 30s linear infinite; padding: 0 24px;
}
.ticker-track span { font-size: 12px; color: #e0f0ff; }
.ticker-track a { font-size: 12px; color: #e0f0ff; text-decoration: none; }
.ticker-track a:hover { color: var(--highlight); }
@keyframes dso-tick { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
#dso-ticker:hover .ticker-track { animation-play-state: paused; }

/* ═══════════════════════════════════
   HERO SECTION
═══════════════════════════════════ */
#dso-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0a2540 50%, var(--accent) 100%);
  padding: 60px 0 48px; color: #fff; position: relative; overflow: hidden;
}
#dso-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; position: relative; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.hero-badge {
  font-size: 10px; font-weight: 700; padding: 4px 11px;
  border-radius: 20px; letter-spacing: 0.3px;
}
.hb-1{background:#1b7a5e;color:#e0fff5;}
.hb-2{background:#0f4c75;color:#cce8ff;border:1px solid rgba(255,255,255,0.2);}
.hb-3{background:#16a085;color:#e0fff5;}
.hb-4{background:#0a3154;color:#b0d4f0;border:1px solid rgba(255,255,255,0.15);}
.hero-title { font-size: 36px; font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.hero-desc { font-size: 15px; color: #b0d0e8; line-height: 1.75; margin-bottom: 24px; max-width: 480px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.btn-primary {
  background: var(--accent); color: #fff;
  padding: 12px 28px; border-radius: var(--radius); font-size: 14px;
  font-weight: 700; border: none; display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--accent2); color: #fff; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  padding: 12px 28px; border-radius: var(--radius); font-size: 14px;
  font-weight: 600; display: inline-block; transition: all 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.stat-num { font-size: 26px; font-weight: 800; color: var(--highlight); line-height: 1; }
.stat-lbl { font-size: 11px; color: #9ab7d0; margin-top: 3px; }
.hero-photo {
  width: 160px; height: 200px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.2);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; flex-shrink: 0; overflow: hidden;
  backdrop-filter: blur(4px);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-placeholder { text-align: center; color: #9ab7d0; }
.hero-photo-placeholder i { font-size: 60px; display: block; margin-bottom: 8px; }
.hero-photo-placeholder span { font-size: 12px; line-height: 1.4; }

/* SUBJECT STRIP */
#dso-strip {
  background: var(--primary);
  border-top: 1px solid rgba(255,255,255,0.08);
  overflow-x: auto; white-space: nowrap;
  scrollbar-width: none;
}
#dso-strip::-webkit-scrollbar { display: none; }
.strip-inner { display: flex; }
.strip-item {
  color: #cce8ff; font-size: 12px; font-weight: 600;
  padding: 10px 20px; display: inline-flex; align-items: center; gap: 7px;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background 0.15s; cursor: default; white-space: nowrap;
}
.strip-item:hover { background: rgba(255,255,255,0.07); }
.strip-item i { font-size: 15px; color: var(--highlight); }

/* ═══════════════════════════════════
   MAIN HOMEPAGE GRID
═══════════════════════════════════ */
#dso-main { padding: 32px 0; }
.dso-grid { display: grid; grid-template-columns: 1fr 310px; gap: 28px; }
.dso-left { display: flex; flex-direction: column; gap: 32px; }
.dso-sidebar { display: flex; flex-direction: column; gap: 24px; }

/* SECTION CARD */
.dso-section-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.dso-section-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px 0;
}
.dso-section-title {
  font-size: 16px; font-weight: 700; color: var(--primary);
  display: flex; align-items: center; gap: 10px;
}
.dso-section-title::before {
  content: ''; width: 4px; height: 20px;
  background: var(--accent); border-radius: 2px; display: inline-block;
}
.dso-see-all {
  font-size: 12px; color: var(--accent); font-weight: 700;
  border: 1.5px solid var(--accent); padding: 5px 12px;
  border-radius: 5px; transition: all 0.15s;
}
.dso-see-all:hover { background: var(--accent); color: #fff; }
.dso-section-body { padding: 16px 20px 20px; }

/* ═══════════════════════════════════
   POST CARDS
═══════════════════════════════════ */
.post-card-list { display: flex; flex-direction: column; gap: 14px; }
.post-card {
  display: grid; grid-template-columns: 76px 1fr; gap: 14px;
  align-items: start; padding: 14px; border-radius: var(--radius);
  border: 1px solid var(--border); background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  text-decoration: none; color: inherit;
}
.post-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-1px); }
.post-thumb {
  width: 76px; height: 76px; border-radius: var(--radius);
  background: var(--accent-light); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; overflow: hidden;
}
.post-thumb i { font-size: 28px; color: var(--accent); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.post-cat {
  background: var(--accent-light); color: var(--accent);
  padding: 2px 9px; border-radius: 12px; font-size: 10px; font-weight: 700;
}
.post-date { font-size: 11px; color: var(--text-muted); }
.post-title { font-size: 13px; font-weight: 700; line-height: 1.45; margin-bottom: 5px; color: var(--text); }
.post-excerpt { font-size: 12px; color: var(--text-muted); line-height: 1.55; }

/* ═══════════════════════════════════
   VIDEO CARDS
═══════════════════════════════════ */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.video-card {
  border-radius: var(--radius); border: 1px solid var(--border);
  overflow: hidden; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  text-decoration: none; color: inherit; display: block;
}
.video-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-1px); }
.video-thumb {
  height: 110px; display: flex; align-items: center;
  justify-content: center; position: relative; overflow: hidden;
}
.video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.play-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.9); display: flex; align-items: center;
  justify-content: center; position: relative; z-index: 1;
  transition: transform 0.15s;
}
.video-card:hover .play-btn { transform: scale(1.12); }
.play-btn i { font-size: 20px; color: var(--primary); margin-left: 2px; }
.video-duration {
  position: absolute; bottom: 7px; right: 9px;
  background: rgba(0,0,0,0.75); color: #fff;
  font-size: 10px; padding: 2px 6px; border-radius: 4px; z-index: 1;
}
.video-info { padding: 10px 12px; background: #fff; }
.video-title { font-size: 12px; font-weight: 700; line-height: 1.4; margin-bottom: 4px; }
.video-views { font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }

/* ═══════════════════════════════════
   COURSE CARDS
═══════════════════════════════════ */
.course-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.course-card {
  border-radius: var(--radius); border: 2px solid;
  padding: 18px; transition: transform 0.15s, box-shadow 0.15s;
}
.course-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.course-card.free { background: #e8f8f4; border-color: var(--accent); }
.course-card.paid { background: #eaf2fb; border-color: var(--primary); }
.course-badge {
  display: inline-block; font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px; margin-bottom: 12px; letter-spacing: 1px;
}
.free .course-badge { background: #b2edd8; color: #0d5c3a; }
.paid .course-badge { background: #b8d8f0; color: #0a3154; }
.course-title { font-size: 14px; font-weight: 700; margin-bottom: 7px; line-height: 1.4; }
.course-meta { font-size: 11px; color: var(--text-muted); margin-bottom: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.course-meta span { display: flex; align-items: center; gap: 3px; }
.course-price { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.free .course-price { color: var(--accent); }
.paid .course-price { color: var(--primary); }
.course-btn {
  display: block; width: 100%; padding: 10px; border: none;
  border-radius: var(--radius); font-size: 13px; font-weight: 700;
  text-align: center; text-decoration: none; transition: opacity 0.2s;
}
.free .course-btn { background: var(--accent); color: #fff; }
.paid .course-btn { background: var(--primary); color: #fff; }
.course-btn:hover { opacity: 0.88; color: #fff; }

/* ═══════════════════════════════════
   SIDEBAR WIDGETS
═══════════════════════════════════ */
.sidebar-widget {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.widget-head {
  background: var(--primary); color: #fff;
  padding: 12px 16px; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.widget-body { padding: 4px 0; }

/* ADMISSION LIST */
.adm-item {
  padding: 11px 16px; border-bottom: 1px solid #f0f4f8;
  display: flex; gap: 10px; align-items: flex-start;
  text-decoration: none; color: inherit; transition: background 0.15s;
}
.adm-item:hover { background: #f8fbff; }
.adm-item:last-child { border-bottom: none; }
.adm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 5px; }
.adm-text { font-size: 12px; font-weight: 600; line-height: 1.4; }
.adm-date { font-size: 11px; color: var(--text-muted); margin-top: 3px; }
.badge-new {
  font-size: 9px; font-weight: 700; background: var(--accent);
  color: #fff; padding: 2px 6px; border-radius: 3px;
  margin-left: 5px; vertical-align: middle;
}

/* QUICK LINKS */
.ql-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; }
.ql-item {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 8px 10px;
  display: flex; flex-direction: column; align-items: center;
  gap: 5px; font-size: 11px; font-weight: 600; color: var(--text-muted);
  text-decoration: none; transition: all 0.15s;
}
.ql-item:hover { border-color: var(--accent); background: var(--accent-light); color: var(--accent); }
.ql-item i { font-size: 22px; color: var(--primary); }

/* CONTACT WIDGET */
.contact-list { padding: 8px 0; }
.contact-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px; font-size: 13px; color: #444;
  border-bottom: 1px solid #f0f4f8; text-decoration: none;
}
.contact-row:last-child { border-bottom: none; }
.contact-row i { font-size: 16px; color: var(--primary); flex-shrink: 0; }
.social-btns { display: flex; gap: 8px; padding: 12px 16px; }
.soc-btn {
  flex: 1; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 8px 6px;
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; font-size: 10px; font-weight: 600; color: #444;
  text-decoration: none; transition: all 0.15s;
}
.soc-btn:hover { border-color: var(--accent); color: var(--accent); }
.soc-btn i { font-size: 18px; color: var(--primary); }

/* ADMISSION APPLY BTN */
.adm-apply-wrap { padding: 12px 16px; }
.adm-apply-wrap .btn-primary { display: block; text-align: center; width: 100%; }

/* ═══════════════════════════════════
   ANNOUNCEMENT POPUP
═══════════════════════════════════ */
#dso-popup-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.6); z-index: 9000;
  align-items: center; justify-content: center;
  backdrop-filter: blur(3px);
}
#dso-popup-overlay.active { display: flex; }
.popup-box {
  background: #fff; border-radius: var(--radius-lg);
  max-width: 500px; width: 90%; position: relative;
  overflow: hidden; animation: popIn 0.3s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
@keyframes popIn { from{transform:scale(0.85);opacity:0} to{transform:scale(1);opacity:1} }
.popup-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  padding: 24px 24px 20px; color: #fff;
}
.popup-close {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,0.15); border: none; color: #fff;
  width: 30px; height: 30px; border-radius: 50%;
  font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.popup-close:hover { background: rgba(255,255,255,0.3); }
.popup-badge {
  background: var(--highlight); color: var(--primary-dark);
  font-size: 10px; font-weight: 700; padding: 3px 10px;
  border-radius: 20px; display: inline-block; margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.popup-title { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.popup-subtitle { font-size: 13px; color: #b0d0e8; }
.popup-body { padding: 20px 24px 24px; }
.popup-body p { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }
.popup-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.popup-actions .btn-primary, .popup-actions .btn-outline-dark {
  padding: 10px 22px; font-size: 13px; border-radius: var(--radius);
}
.btn-outline-dark {
  background: transparent; border: 2px solid var(--border);
  color: var(--text-muted); padding: 10px 22px; border-radius: var(--radius);
  font-size: 13px; font-weight: 600; display: inline-block; transition: all 0.15s;
}
.btn-outline-dark:hover { border-color: var(--primary); color: var(--primary); }
.popup-dont-show { display: flex; align-items: center; gap: 7px; margin-top: 14px; font-size: 12px; color: var(--text-muted); cursor: pointer; }
.popup-dont-show input { cursor: pointer; }

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
#dso-footer { margin-top: auto; }
.footer-top { background: #0a2540; padding: 52px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand {}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-circle {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); display: flex; align-items: center;
  justify-content: center; font-size: 16px; font-weight: 700; color: #fff;
}
.footer-logo-name { font-size: 17px; font-weight: 700; color: #fff; line-height: 1.2; }
.footer-logo-sub { font-size: 10px; color: #7a9ab8; }
.footer-desc { font-size: 12px; color: #7a9ab8; line-height: 1.75; margin-bottom: 18px; }
.footer-contacts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.footer-ci { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #9ab8cc; text-decoration: none; }
.footer-ci i { font-size: 15px; color: var(--highlight); flex-shrink: 0; }
.footer-ci:hover { color: #fff; }
.footer-social { display: flex; gap: 9px; }
.fsoc {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  color: #9ab8cc; text-decoration: none; transition: all 0.2s;
}
.fsoc:hover { background: var(--accent); color: #fff; }
.fsoc i { font-size: 17px; }
.footer-col-title {
  font-size: 12px; font-weight: 700; color: #fff;
  margin-bottom: 16px; padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  text-transform: uppercase; letter-spacing: 0.7px;
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  font-size: 12px; color: #7a9ab8; display: flex;
  align-items: center; gap: 6px; transition: color 0.15s;
  text-decoration: none;
}
.footer-links a:hover { color: var(--highlight); }
.footer-links i { font-size: 11px; }
/* Footer widget area */
.footer-widget-col .widget { margin-bottom: 16px; }
.footer-widget-col .widget-title {
  font-size: 12px; font-weight: 700; color: #fff;
  margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  text-transform: uppercase; letter-spacing: 0.7px;
}
.footer-widget-col ul li { margin-bottom: 8px; }
.footer-widget-col ul li a { font-size: 12px; color: #7a9ab8; text-decoration: none; }
.footer-widget-col ul li a:hover { color: var(--highlight); }
.footer-widget-col p { font-size: 12px; color: #7a9ab8; line-height: 1.7; }
.footer-bottom {
  background: #061520; padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: #4a6a80;
}
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: #4a6a80; text-decoration: none; transition: color 0.15s; }
.footer-bottom-links a:hover { color: var(--highlight); }

/* ═══════════════════════════════════
   SCROLL TO TOP
═══════════════════════════════════ */
#scroll-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff; border: none;
  font-size: 20px; display: none; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); z-index: 800; transition: all 0.2s;
}
#scroll-top.visible { display: flex; }
#scroll-top:hover { background: var(--accent2); transform: translateY(-2px); }

/* ═══════════════════════════════════
   WHATSAPP FLOAT
═══════════════════════════════════ */
#wa-float {
  position: fixed; bottom: 78px; right: 24px;
  width: 50px; height: 50px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4); z-index: 800;
  text-decoration: none; transition: transform 0.2s;
}
#wa-float:hover { transform: scale(1.1); }
#wa-float i { font-size: 26px; }

/* ═══════════════════════════════════
   SINGLE PAGE / BLOG CONTENT
═══════════════════════════════════ */
.entry-header { margin-bottom: 24px; }
.entry-title { font-size: 28px; font-weight: 800; color: var(--primary); line-height: 1.3; margin-bottom: 10px; }
.entry-meta { font-size: 12px; color: var(--text-muted); display: flex; gap: 14px; flex-wrap: wrap; }
.entry-content { font-size: 15px; line-height: 1.8; color: var(--text); }
.entry-content h2, .entry-content h3 { color: var(--primary); margin: 24px 0 12px; }
.entry-content p { margin-bottom: 16px; }
.entry-content ul, .entry-content ol { padding-left: 20px; margin-bottom: 16px; }
.entry-content img { border-radius: var(--radius); margin: 16px 0; }

/* ═══════════════════════════════════
   UTILITY
═══════════════════════════════════ */
.dso-empty { font-size: 13px; color: var(--text-muted); padding: 16px 0; text-align: center; }
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }

/* ═══════════════════════════════════
   MOBILE RESPONSIVE
═══════════════════════════════════ */
@media (max-width: 900px) {
  .dso-grid { grid-template-columns: 1fr; }
  .dso-sidebar { order: -1; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .course-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { display: none; }
  .hero-title { font-size: 26px; }
}
@media (max-width: 600px) {
  :root { --header-h: 56px; }
  .main-nav { display: none; }
  .hamburger { display: flex; align-items: center; }
  .hero-title { font-size: 22px; }
  .hero-stats { gap: 18px; }
  .stat-num { font-size: 20px; }
  .video-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
  .dso-container { padding: 0 14px; }
}
