/* =========================================================
   Art of Living — Custom Stylesheet (Bootstrap 5)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --aol-blue:       #1565C0;
  --aol-blue-light: #1E88E5;
  --aol-orange:     #F57C00;
  --aol-orange-lt:  #FF9800;
  --aol-dark:       #0D1B2A;
  --aol-gray:       #F5F7FA;
  --aol-text:       #333D4B;
  --aol-muted:      #6B7280;
  --aol-white:      #FFFFFF;
  --topbar-bg:      #0D47A1;
  --navbar-bg:      #FFFFFF;
  --footer-bg:      #0D1B2A;
  --transition:     all 0.3s ease;
  --radius:         10px;
  --shadow:         0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover:   0 8px 32px rgba(21,101,192,0.18);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--aol-text);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--aol-blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--aol-orange); }
img { max-width: 100%; height: auto; }

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: var(--aol-dark); }

/* ── Topbar ─────────────────────────────────────────────── */
.topbar {
  background: var(--topbar-bg);
  color: #fff;
  font-size: 0.82rem;
  padding: 6px 0;
}
.topbar a { color: #cce0ff; }
.topbar a:hover { color: #fff; }
.topbar .top-contact span { margin-right: 18px; }
.topbar .top-contact i { margin-right: 5px; }

/* ── Navbar ─────────────────────────────────────────────── */
.main-navbar {
  background: var(--navbar-bg);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1050;
}
.main-navbar .navbar-brand img {
  height: 52px;
  width: auto;
}
.main-navbar .navbar-brand .brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--aol-blue);
  line-height: 1.2;
}
.main-navbar .navbar-brand .brand-sub {
  font-size: 0.65rem;
  color: var(--aol-orange);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.main-navbar .nav-link {
  color: var(--aol-text) !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 22px 14px !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
}
.main-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 3px;
  background: var(--aol-orange);
  border-radius: 2px 2px 0 0;
  transition: var(--transition);
}
.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after { left: 0; right: 0; }
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active { color: var(--aol-blue) !important; }
.main-navbar .dropdown-menu {
  border: none;
  border-top: 3px solid var(--aol-orange);
  box-shadow: var(--shadow);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 8px 0;
  min-width: 200px;
}
.main-navbar .dropdown-item {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 9px 20px;
  color: var(--aol-text);
}
.main-navbar .dropdown-item:hover {
  background: var(--aol-gray);
  color: var(--aol-blue);
  padding-left: 26px;
}

/* ── Page Hero / Banner ──────────────────────────────────── */
.hero-carousel .carousel-item img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
}
.hero-carousel .carousel-caption {
  background: linear-gradient(0deg, rgba(13,27,42,0.75) 0%, transparent 100%);
  bottom: 0; left: 0; right: 0;
  text-align: left;
  padding: 40px 60px;
  border-radius: 0;
}
.hero-carousel .carousel-caption h2 {
  color: #fff;
  font-size: 2.2rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero-carousel .carousel-caption p { color: #e0eaff; font-size: 1rem; }
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 48px; height: 48px;
  background: var(--aol-blue);
  border-radius: 50%;
  top: 50%; transform: translateY(-50%);
  opacity: 0.85;
}
.hero-carousel .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.6);
  opacity: 0.7;
  margin: 0 5px;
  transition: var(--transition);
}
.hero-carousel .carousel-indicators [data-bs-target].active,
.hero-carousel .carousel-indicators .active {
  background: var(--aol-orange);
  opacity: 1;
  transform: scale(1.2);
}

/* Page inner banner */
.page-banner {
  background: linear-gradient(135deg, var(--aol-blue) 0%, #1976D2 60%, var(--aol-orange) 100%);
  color: #fff;
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/banner/about.png') center/cover no-repeat;
  opacity: 0.12;
}
.page-banner .breadcrumb-item, .page-banner .breadcrumb-item a { color: #cce0ff; }
.page-banner .breadcrumb-item.active { color: #fff; }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: #8ab4d8; }
.page-banner h1 { font-size: 2.4rem; color: #fff; position: relative; }

/* ── Section Headings ───────────────────────────────────── */
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--aol-dark);
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  width: 50px; height: 4px;
  background: linear-gradient(90deg, var(--aol-orange), var(--aol-blue));
  border-radius: 2px;
  margin-top: 8px;
}
.section-sub { color: var(--aol-muted); font-size: 0.97rem; margin-bottom: 40px; }

/* ── About Section (Home) ───────────────────────────────── */
.about-section { padding: 70px 0; }
.about-section .about-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-section .about-img img { width: 100%; height: 320px; object-fit: cover; }
.video-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.video-card img { width: 100%; height: 240px; object-fit: cover; }
.video-card .play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--aol-blue);
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: var(--transition);
  cursor: pointer;
}
.video-card:hover .play-btn { background: var(--aol-orange); color: #fff; transform: translate(-50%,-50%) scale(1.1); }
.video-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(13,27,42,0.72);
  color: #fff; font-size: 0.82rem;
  padding: 8px 14px;
  font-weight: 500;
}

/* ── Feature Lessons ─────────────────────────────────────── */
.lessons-section { padding: 70px 0; background: var(--aol-gray); }
.lesson-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(0,0,0,0.05);
}
.lesson-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.lesson-card img {
  width: 100%; height: 180px; object-fit: cover;
}
.lesson-card .card-body { padding: 20px; }
.lesson-card .card-title {
  font-size: 1rem; font-weight: 700;
  color: var(--aol-dark);
  font-family: 'Inter', sans-serif;
  margin-bottom: 8px;
}
.lesson-card .card-text { font-size: 0.85rem; color: var(--aol-muted); }
.lesson-card .lesson-tag {
  display: inline-block;
  background: rgba(21,101,192,0.1);
  color: var(--aol-blue);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

/* ── Stats Counter ───────────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, var(--aol-blue) 0%, #0D47A1 100%);
  padding: 60px 0;
  color: #fff;
}
.stat-item { text-align: center; padding: 20px; }
.stat-item .stat-num {
  font-size: 3rem; font-weight: 800;
  font-family: 'Inter', sans-serif;
  color: #fff;
  line-height: 1;
}
.stat-item .stat-num span { color: var(--aol-orange-lt); }
.stat-item .stat-label {
  font-size: 0.9rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.75);
  margin-top: 6px;
}
.stat-item .stat-icon { font-size: 2.2rem; color: rgba(255,255,255,0.3); margin-bottom: 10px; }

/* ── Activities ─────────────────────────────────────────── */
.activities-section { padding: 70px 0; }
.activity-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}
.activity-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.activity-card img { width: 100%; height: 210px; object-fit: cover; }
.activity-card .card-body { padding: 18px; }
.activity-card .card-title { font-size: 0.95rem; font-weight: 700; font-family: 'Inter', sans-serif; }
.activity-card .card-text { font-size: 0.83rem; color: var(--aol-muted); }
.activity-card .btn-readmore {
  font-size: 0.8rem; font-weight: 600;
  color: var(--aol-blue); text-transform: uppercase;
  letter-spacing: 0.05em;
}
.activity-card .btn-readmore:hover { color: var(--aol-orange); }

/* ── Authors Page ───────────────────────────────────────── */
.author-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  margin-bottom: 28px;
}
.author-card:hover { box-shadow: var(--shadow-hover); }
.author-card img {
  width: 200px; height: 230px;
  object-fit: cover; object-position: top;
}
.author-card .author-body { padding: 24px 28px; }
.author-card .author-name { font-size: 1.25rem; font-weight: 700; color: var(--aol-blue); margin-bottom: 4px; }
.author-card .author-role { color: var(--aol-orange); font-size: 0.85rem; font-weight: 600; margin-bottom: 14px; }
.author-card .author-bio { font-size: 0.88rem; color: var(--aol-muted); line-height: 1.75; }

/* ── Lessons List Page ───────────────────────────────────── */
.lessons-list-table th {
  background: var(--aol-blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 14px 20px;
}
.lessons-list-table td {
  padding: 14px 20px;
  vertical-align: middle;
  font-size: 0.9rem;
  border-bottom: 1px solid #f0f0f0;
}
.lessons-list-table tr:hover td { background: var(--aol-gray); }
.lessons-list-table a { font-weight: 600; color: var(--aol-blue); }
.lessons-list-table a:hover { color: var(--aol-orange); }
.badge-hits {
  background: var(--aol-blue);
  color: #fff; font-size: 0.75rem;
  padding: 4px 10px; border-radius: 20px;
}

/* ── Lesson Detail ───────────────────────────────────────── */
.lesson-detail-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 40px;
}
.lesson-detail-card h1 { font-size: 2rem; color: var(--aol-blue); margin-bottom: 18px; }
.lesson-detail-card .lesson-meta { font-size: 0.82rem; color: var(--aol-muted); margin-bottom: 22px; }
.lesson-detail-card p { font-size: 0.95rem; line-height: 1.85; color: var(--aol-text); margin-bottom: 16px; }
.lesson-detail-img { width: 100%; border-radius: var(--radius); margin-bottom: 24px; max-height: 320px; object-fit: cover; }

/* ── Parents Pages ───────────────────────────────────────── */
.parents-links .plink-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
  border-top: 4px solid var(--aol-blue);
  height: 100%;
}
.parents-links .plink-card:hover {
  transform: translateY(-5px);
  border-top-color: var(--aol-orange);
  box-shadow: var(--shadow-hover);
}
.parents-links .plink-card i { font-size: 2.2rem; color: var(--aol-blue); margin-bottom: 14px; display: block; }
.parents-links .plink-card h6 { font-size: 0.9rem; font-weight: 700; color: var(--aol-dark); margin: 0; font-family: 'Inter', sans-serif; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.site-footer h5 {
  color: #fff; font-size: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--aol-orange);
  display: inline-block;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: var(--transition);
}
.site-footer ul li a:hover { color: var(--aol-orange-lt); padding-left: 6px; }
.site-footer .footer-address { font-size: 0.87rem; line-height: 1.8; }
.site-footer .footer-address i { color: var(--aol-orange); margin-right: 8px; }
.footer-bottom {
  background: rgba(0,0,0,0.3);
  text-align: center;
  padding: 16px 0;
  margin-top: 48px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--aol-orange-lt); }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  margin-right: 8px;
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--aol-orange); color: #fff; }

/* ── Btn Styles ─────────────────────────────────────────── */
.btn-aol {
  background: var(--aol-blue);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 26px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  transition: var(--transition);
}
.btn-aol:hover { background: var(--aol-orange); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(245,124,0,0.35); }
.btn-aol-outline {
  border: 2px solid var(--aol-blue);
  color: var(--aol-blue);
  border-radius: 6px;
  padding: 9px 24px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
  background: transparent;
}
.btn-aol-outline:hover { background: var(--aol-blue); color: #fff; }

/* ── Sidebar Widgets ─────────────────────────────────────── */
.widget-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-bottom: 24px;
}
.widget-box .widget-title {
  font-size: 1rem; font-weight: 700;
  color: var(--aol-dark);
  font-family: 'Inter', sans-serif;
  border-left: 4px solid var(--aol-orange);
  padding-left: 12px;
  margin-bottom: 16px;
}
.widget-box ul { list-style: none; padding: 0; margin: 0; }
.widget-box ul li a {
  color: var(--aol-muted); font-size: 0.87rem;
  display: flex; justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid #f3f4f6;
}
.widget-box ul li a:hover { color: var(--aol-blue); }

/* ── Responsive Tweaks ────────────────────────────────────── */
@media (max-width: 991px) {
  .main-navbar .nav-link { padding: 12px 10px !important; }
  .hero-carousel .carousel-item img { height: 300px; }
  .hero-carousel .carousel-caption { padding: 20px 24px; }
  .hero-carousel .carousel-caption h2 { font-size: 1.4rem; }
  .page-banner h1 { font-size: 1.7rem; }
}
@media (max-width: 767px) {
  .topbar { display: none; }
  .lesson-detail-card { padding: 22px 18px; }
  .author-card img { width: 100%; height: 220px; }
  .stat-item .stat-num { font-size: 2.2rem; }
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease both; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }
.fade-up-4 { animation-delay: 0.4s; }

/* ── Lesson Content (detail body) ────────────────────────── */
.lesson-content h5 {
  font-size: 1.1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--aol-dark);
  margin: 28px 0 12px;
}
.lesson-content ul {
  padding-left: 1.3rem;
  margin-bottom: 18px;
}
.lesson-content ul li {
  font-size: 0.93rem;
  color: var(--aol-text);
  margin-bottom: 7px;
  line-height: 1.7;
}
.lesson-content p { font-size: 0.95rem; line-height: 1.85; color: var(--aol-text); margin-bottom: 16px; }

/* ── Standalone lesson-tag (outside .lesson-card) ────────── */
.lesson-tag {
  display: inline-block;
  background: rgba(21,101,192,0.1);
  color: var(--aol-blue);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Navbar scrolled state ───────────────────────────────── */
.main-navbar.scrolled {
  padding: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
}

/* ── Form controls ───────────────────────────────────────── */
.form-control {
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 0.9rem;
  transition: var(--transition);
}
.form-control:focus {
  border-color: var(--aol-blue);
  box-shadow: 0 0 0 3px rgba(21,101,192,0.12);
}
.form-label { font-weight: 600; font-size: 0.87rem; color: var(--aol-dark); margin-bottom: 6px; }

/* ── Page banner with real bg image ─────────────────────── */
.page-banner::before {
  background-image: url('../images/banner/slide_we.jpg');
  background-size: cover;
  background-position: center;
}

/* ── Coaches card hover ─────────────────────────────────── */
.coach-card img {
  border: 4px solid var(--aol-blue);
  transition: var(--transition);
}
.coach-card:hover img { border-color: var(--aol-orange); }

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--aol-blue); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--aol-orange); }

/* ── Selection color ─────────────────────────────────────── */
::selection { background: var(--aol-blue); color: #fff; }

