/*
Theme Name: SeaWorld CDC Custom
Theme URI: https://seaworld.gr/cdc/
Author: SeaWorld CDC
Description: Custom premium theme for SeaWorld CDC — modern, immersive, ocean-inspired design for PADI diving education.
Version: 1.1.0
License: GPL v2 or later
Text Domain: seaworld-cdc
*/

:root {
  --color-deep: #00111f;
  --color-ocean: #003a66;
  --color-azure: #0077b6;
  --color-aqua: #00b4d8;
  --color-foam: #caf0f8;
  --color-gold: #ffc857;
  --color-white: #ffffff;
  --color-text: #e6f0f7;
  --color-muted: #94b8cc;
  --font-heading: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --shadow-glow: 0 10px 40px rgba(0, 180, 216, 0.25);
  --gradient-hero: linear-gradient(135deg, #00111f 0%, #003a66 50%, #0077b6 100%);
  --gradient-cta: linear-gradient(90deg, #00b4d8 0%, #0077b6 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--color-deep);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-aqua); text-decoration: none; transition: color .3s; }
a:hover { color: var(--color-foam); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; line-height: 1.2; color: var(--color-white); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Top bar (above header) */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  background: #000810;
  border-bottom: 1px solid rgba(0, 180, 216, 0.15);
  padding: 8px 0;
  font-size: 14px;
  height: 44px;
  display: flex;
  align-items: center;
}
.topbar > .container { width: 100%; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--color-foam); font-weight: 500; transition: color .3s; }
.topbar-contact a:hover { color: var(--color-aqua); }
.topbar-contact svg { width: 16px; height: 16px; }
.topbar-socials { display: flex; gap: 8px; align-items: center; }
.topbar-socials .social-icon {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--color-foam);
  background: rgba(0, 180, 216, 0.08);
  transition: all .3s;
}
.topbar-socials .social-icon svg { width: 17px; height: 17px; }
.topbar-socials .social-icon:hover { color: #fff; background: var(--gradient-cta); transform: translateY(-2px); }
.topbar-socials .social-facebook:hover { background: #1877f2; }
.topbar-socials .social-instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.topbar-socials .social-youtube:hover { background: #ff0000; }
.topbar-socials .social-whatsapp:hover { background: #25d366; }

/* Header — light/white style */
.site-header {
  position: fixed; top: 44px; left: 0; right: 0; z-index: 100;
  height: 96px;
  padding: 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 26, 51, 0.08);
  box-shadow: 0 2px 16px rgba(0, 17, 31, 0.06);
  transition: all .3s;
  display: flex;
  align-items: center;
}
.site-header > .container { width: 100%; }
.site-header.scrolled { height: 76px; box-shadow: 0 4px 24px rgba(0, 17, 31, 0.12); }

/* WordPress admin bar fix — topbar 44px + header 96px = 140px below admin bar */
.admin-bar .topbar { top: 32px; }
.admin-bar .site-header { top: 76px; }
@media screen and (max-width: 782px) {
  .admin-bar .topbar { top: 46px; }
  .admin-bar .site-header { top: 90px; }
}
@media screen and (max-width: 600px) {
  .admin-bar .topbar { top: 0; }
  .admin-bar .site-header { top: 44px; }
}

/* Hero needs padding to clear fixed topbar+header (44+96=140) */
.hero { padding-top: 180px; }
.admin-bar .hero { padding-top: 215px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header > .container { max-width: 1320px; }
.site-logo { display: flex; align-items: center; flex-shrink: 0; margin-right: 24px; line-height: 0; }
.site-logo-img {
  height: 68px;
  width: auto;
  max-width: 320px;
  display: block;
  transition: all .3s;
}
.site-header.scrolled .site-logo-img { height: 54px; }
/* Footer keeps dark bg, so logo needs white container there */
.site-footer .site-logo-img {
  height: 80px;
  max-width: 280px;
  background: #ffffff;
  padding: 12px 18px;
  border-radius: 12px;
}
.main-nav ul { list-style: none; display: flex; gap: 22px; align-items: center; }
.main-nav a { color: #0f1e2c; font-weight: 600; font-size: 14px; position: relative; padding: 6px 0; text-transform: uppercase; letter-spacing: .4px; white-space: nowrap; }
.main-nav a:hover { color: var(--color-azure); }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--color-azure); transition: width .3s; }
.main-nav a:hover::after { width: 100%; }

.btn { display: inline-block; padding: 14px 32px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .3px; cursor: pointer; transition: all .3s; border: none; text-transform: uppercase; }
.btn-primary { background: var(--gradient-cta); color: var(--color-white); box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 50px rgba(0, 180, 216, .45); color: var(--color-white); }
.btn-outline { background: transparent; color: var(--color-foam); border: 2px solid rgba(202, 240, 248, .35); }
.btn-outline:hover { background: rgba(202, 240, 248, .1); border-color: var(--color-foam); color: var(--color-foam); }

/* Hero */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--gradient-hero); overflow: hidden; padding: 120px 0 80px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('https://seaworld.gr/cdc/wp-content/uploads/2026/03/Seaworld-CDC-scaled.jpeg');
  background-size: cover; background-position: center; opacity: .55; z-index: 0;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 17, 31, 0.7) 70%, var(--color-deep) 100%);
  z-index: 1;
}
.hero-inner { position: relative; z-index: 2; max-width: 850px; }
.hero-eyebrow {
  display: inline-block; padding: 8px 18px;
  background: rgba(0, 180, 216, 0.15); border: 1px solid rgba(0, 180, 216, 0.4);
  border-radius: 999px; color: var(--color-aqua);
  font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 76px); margin-bottom: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #caf0f8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: clamp(17px, 2vw, 22px); color: var(--color-foam); margin-bottom: 40px; max-width: 700px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* Sections */
section { padding: 70px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-eyebrow { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--color-aqua); font-weight: 700; margin-bottom: 14px; display: block; }
.section-head h2 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 16px; }
.section-head p { color: var(--color-muted); max-width: 640px; margin: 0 auto; font-size: 17px; }

/* About */
.about { background: linear-gradient(180deg, var(--color-deep), #001830); padding: 70px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-image { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-glow); }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(45deg, rgba(0, 119, 182, 0.4), transparent); }
.about-text h2 { margin-bottom: 24px; }
.about-text p { color: var(--color-muted); font-size: 17px; margin-bottom: 24px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.stat-card { background: rgba(0, 180, 216, 0.06); border: 1px solid rgba(0, 180, 216, 0.2); border-radius: 16px; padding: 24px; text-align: center; }
.stat-num { font-family: var(--font-heading); font-size: 38px; font-weight: 900; color: var(--color-aqua); display: block; margin-bottom: 4px; }
.stat-label { font-size: 13px; color: var(--color-muted); text-transform: uppercase; letter-spacing: 1px; }

/* Courses */
.courses { background: var(--color-deep); }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.course-card {
  background: linear-gradient(180deg, rgba(0, 119, 182, 0.08), rgba(0, 17, 31, 0.4));
  border: 1px solid rgba(0, 180, 216, 0.18);
  border-radius: 20px; padding: 36px 30px;
  transition: all .4s; position: relative; overflow: hidden;
}
.course-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gradient-cta); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.course-card:hover { transform: translateY(-8px); border-color: rgba(0, 180, 216, 0.5); box-shadow: var(--shadow-glow); }
.course-card:hover::before { transform: scaleX(1); }
.course-icon { width: 56px; height: 56px; border-radius: 14px; background: rgba(0, 180, 216, 0.1); border: 1px solid rgba(0, 180, 216, 0.3); color: var(--color-aqua); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.course-icon svg { width: 28px; height: 28px; }
.course-card h3 { font-size: 22px; margin-bottom: 12px; }
.course-card p { color: var(--color-muted); font-size: 15px; margin-bottom: 20px; }
.course-link { color: var(--color-aqua); font-weight: 600; font-size: 14px; }
.course-link::after { content: ' →'; transition: margin-left .3s; }
.course-link:hover::after { margin-left: 6px; }

/* Why Us */
.why { background: linear-gradient(180deg, var(--color-deep), #001a33); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-grid.why-grid-6 { grid-template-columns: repeat(3, 1fr); }
.why-card { text-align: center; padding: 32px 24px; border-radius: 16px; background: rgba(202, 240, 248, 0.03); border: 1px solid rgba(0, 180, 216, 0.12); transition: all .3s; }
.why-card:hover { background: rgba(0, 180, 216, 0.06); border-color: rgba(0, 180, 216, 0.35); transform: translateY(-4px); }
.why-icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 14px; background: rgba(0, 180, 216, 0.1); border: 1px solid rgba(0, 180, 216, 0.3); color: var(--color-aqua); display: flex; align-items: center; justify-content: center; }
.why-icon svg { width: 26px; height: 26px; }
.why-card h4 { font-size: 16px; margin-bottom: 10px; line-height: 1.35; color: var(--color-white); }
.why-card p { color: var(--color-muted); font-size: 14px; line-height: 1.55; }

/* Partners */
.partners {
  background: linear-gradient(180deg, var(--color-deep), #001a33);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.partners::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.partners > .container { position: relative; z-index: 1; }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: stretch;
}
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 20px;
  background: #ffffff;
  border-radius: 18px;
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  transition: all .4s cubic-bezier(.2, .8, .2, 1);
  box-shadow: 0 4px 20px rgba(0, 17, 31, 0.3);
}
.partner-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0) 0%, rgba(0, 180, 216, 0.15) 100%);
  opacity: 0;
  transition: opacity .4s;
}
.partner-logo:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 20px 50px rgba(0, 180, 216, 0.4);
}
.partner-logo:hover::before { opacity: 1; }
.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: saturate(1.05);
  transition: transform .4s;
}
.partner-logo:hover img { transform: scale(1.08); }

/* Testimonials */
.testimonials { background: linear-gradient(180deg, #001830, var(--color-deep)); }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.testimonial { background: rgba(0, 180, 216, 0.05); border: 1px solid rgba(0, 180, 216, 0.15); border-radius: 20px; padding: 36px; }
.testimonial p { font-style: italic; color: var(--color-foam); margin-bottom: 24px; font-size: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--gradient-cta); color: var(--color-white); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; }
.testimonial-name { font-weight: 700; color: var(--color-white); font-size: 15px; }
.testimonial-role { font-size: 13px; color: var(--color-muted); }

/* CTA Banner */
.cta-banner { background: var(--gradient-hero); padding: 60px 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background-image: url('https://images.unsplash.com/photo-1551244072-5d12893278ab?w=1920&q=80'); background-size: cover; background-position: center; opacity: .25; }
.cta-banner > .container { position: relative; z-index: 1; }
.cta-banner h2 { font-size: clamp(30px, 5vw, 48px); margin-bottom: 18px; }
.cta-banner p { color: var(--color-foam); font-size: 18px; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Footer */
.site-footer { background: #000810; padding: 70px 0 24px; border-top: 1px solid rgba(202, 240, 248, 0.06); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand p { color: var(--color-muted); font-size: 14px; margin-top: 14px; max-width: 320px; }
.footer-col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 2px; color: var(--color-aqua); margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--color-muted); font-size: 14px; }
.footer-col a:hover { color: var(--color-foam); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials .social-icon { width: 38px; height: 38px; border-radius: 50%; background: rgba(202, 240, 248, .06); display: inline-flex; align-items: center; justify-content: center; color: var(--color-foam); transition: all .3s; }
.socials .social-icon svg { width: 16px; height: 16px; }
.socials .social-icon:hover { color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.socials .social-facebook:hover { background: #1877f2; }
.socials .social-instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.socials .social-youtube:hover { background: #ff0000; }
.socials .social-whatsapp:hover { background: #25d366; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(202, 240, 248, 0.06); display: flex; justify-content: space-between; font-size: 13px; color: var(--color-muted); }

/* Mobile */
.menu-toggle { display: none; background: none; border: none; color: #0f1e2c; font-size: 28px; cursor: pointer; padding: 4px 8px; }
@media (max-width: 900px) {
  section { padding: 50px 0; }
  .content-section { padding: 45px 0; }
  .partners { padding: 50px 0; }
  .about { padding: 50px 0; }
  .cta-banner { padding: 50px 0; }
  .section-head { margin-bottom: 36px; }
  .topbar { height: 40px; padding: 7px 0; font-size: 13px; }
  .topbar-contact svg { width: 15px; height: 15px; }
  .topbar-socials .social-icon { width: 32px; height: 32px; }
  .topbar-socials .social-icon svg { width: 16px; height: 16px; }
  .site-header { top: 40px; height: 80px; }
  .admin-bar .topbar { top: 46px; }
  .admin-bar .site-header { top: 86px; }
  .site-header.scrolled { height: 68px; }
  .site-logo-img { height: 56px; }
  .site-header.scrolled .site-logo-img { height: 46px; }
  .hero { padding-top: 150px; }
  .admin-bar .hero { padding-top: 196px; }
  .page-hero { padding: 150px 0 50px; }
  .admin-bar .page-hero { padding-top: 196px; }

  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #ffffff; padding: 24px; box-shadow: 0 8px 24px rgba(0, 17, 31, 0.1); }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 18px; align-items: stretch; width: 100%; }
  .menu-toggle { display: block; }
  .about-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .course-grid, .why-grid, .why-grid.why-grid-6 { grid-template-columns: 1fr 1fr; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .course-grid, .why-grid, .why-grid.why-grid-6, .footer-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  section, .content-section, .partners, .about, .cta-banner { padding: 40px 0; }
  .topbar { height: 38px; padding: 6px 0; font-size: 12px; }
  .topbar-inner { gap: 8px; }
  .topbar-contact a { gap: 5px; }
  .topbar-contact a span { font-size: 12px; }
  .topbar-contact svg { width: 14px; height: 14px; }
  .topbar-socials { gap: 4px; }
  .topbar-socials .social-icon { width: 28px; height: 28px; }
  .topbar-socials .social-icon svg { width: 13px; height: 13px; }
  .site-header { top: 38px; }
  .admin-bar .site-header { top: 84px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* Animations */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity .8s, transform .8s; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== Blog Archive (home.php / index.php) ===== */
.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 50px;
}
.blog-card {
  background: linear-gradient(180deg, rgba(0, 119, 182, 0.08), rgba(0, 17, 31, 0.4));
  border: 1px solid rgba(0, 180, 216, 0.18);
  border-radius: 18px;
  overflow: hidden;
  transition: all .4s cubic-bezier(.2, .8, .2, 1);
  display: grid;
  grid-template-columns: 45% 55%;
  width: 100%;
}
.blog-card > * { min-width: 0; }
.blog-card-image-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 280px;
  aspect-ratio: auto;
}
.blog-card-image-wrap img,
.blog-card-image {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  display: block;
}
.blog-card-body {
  padding: 36px 44px;
  display: flex; flex-direction: column; justify-content: center;
  min-width: 0;
}
.blog-card-title { font-size: 26px; line-height: 1.3; }
.blog-card-excerpt { font-size: 16px; }
@media (max-width: 700px) {
  .blog-card { grid-template-columns: 1fr; }
  .blog-card-image-wrap { aspect-ratio: 16 / 9; min-height: 0; height: auto; }
  .blog-card-image-wrap img, .blog-card-image { position: relative; }
  .blog-card-body { padding: 24px 24px 28px; }
  .blog-card-title { font-size: 20px; }
}
.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 180, 216, 0.5);
  box-shadow: 0 20px 50px rgba(0, 180, 216, 0.18);
}

.blog-card-image-wrap {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gradient-hero);
}
.blog-card-image {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.blog-card:hover .blog-card-image { transform: scale(1.06); }

.blog-card-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(202, 240, 248, 0.4);
}
.blog-card-placeholder svg { width: 64px; height: 64px; }

.blog-card-cat {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 14px;
  background: rgba(0, 17, 31, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 180, 216, 0.4);
  border-radius: 99px;
  color: var(--color-aqua);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.blog-card-body {
  padding: 24px 26px 28px;
  flex: 1;
  display: flex; flex-direction: column;
}

.blog-card-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.blog-card-divider { opacity: .5; }

.blog-card-title { font-size: 18px; line-height: 1.35; margin-bottom: 12px; word-wrap: break-word; overflow-wrap: break-word; hyphens: auto; }
.blog-card-title a { color: var(--color-white); text-decoration: none; transition: color .3s; }
.blog-card-title a:hover { color: var(--color-aqua); }

.blog-card-excerpt {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.blog-card-link {
  color: var(--color-aqua);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  align-self: flex-start;
  transition: gap .3s, color .3s;
}
.blog-card-link:hover { color: var(--color-foam); }

/* Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 40px;
  padding: 20px 0;
}
.blog-pagination .page-numbers {
  min-width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 14px;
  background: rgba(0, 180, 216, 0.06);
  border: 1px solid rgba(0, 180, 216, 0.2);
  border-radius: 10px;
  color: var(--color-foam);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all .3s;
}
.blog-pagination .page-numbers:hover {
  background: rgba(0, 180, 216, 0.18);
  border-color: var(--color-aqua);
  color: #fff;
}
.blog-pagination .page-numbers.current {
  background: var(--gradient-cta);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.blog-pagination .page-numbers.dots { background: transparent; border: none; }

/* Empty state */
.blog-empty {
  text-align: center;
  padding: 80px 20px;
  max-width: 500px;
  margin: 0 auto;
}
.blog-empty-icon {
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  border-radius: 20px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.3);
  color: var(--color-aqua);
  display: flex; align-items: center; justify-content: center;
}
.blog-empty-icon svg { width: 36px; height: 36px; }
.blog-empty h2 { font-size: 26px; margin-bottom: 10px; }
.blog-empty p { color: var(--color-muted); }

@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; gap: 20px; }
  .blog-card-body { padding: 20px 22px 24px; }
  .blog-card-title { font-size: 17px; }
}

/* ===== Single Blog Post ===== */
.post-hero {
  position: relative;
  padding: 180px 0 50px;
  background: var(--gradient-hero);
  text-align: center;
  overflow: hidden;
}
.admin-bar .post-hero { padding-top: 215px; }
.post-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('https://seaworld.gr/cdc/wp-content/uploads/2026/03/Seaworld-CDC-scaled.jpeg');
  background-size: cover; background-position: center;
  opacity: .25;
}
.post-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,17,31,.4), rgba(0,17,31,.85));
}
.post-hero > .container { position: relative; z-index: 1; max-width: 850px; }

.post-cat {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(0, 180, 216, 0.15);
  border: 1px solid rgba(0, 180, 216, 0.4);
  border-radius: 99px;
  color: var(--color-aqua);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-decoration: none;
}
.post-hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  margin-bottom: 22px;
  background: linear-gradient(180deg, #ffffff, #caf0f8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1.2;
}
.post-meta {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px;
  color: var(--color-foam);
  font-size: 14px;
}
.post-meta .post-divider { opacity: .5; }

/* Featured image */
.post-featured-image { padding: 40px 0 0; background: var(--color-deep); }
.post-featured-image .container { max-width: 1040px; }
.post-featured-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 17, 31, .4);
}

/* Article body */
.post-article { padding: 50px 0 70px; background: var(--color-deep); }
.post-container { max-width: 1040px; }
.post-content {
  color: var(--color-text);
  font-size: 17px;
  line-height: 1.8;
}
.post-content p { margin-bottom: 22px; }
.post-content h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  margin: 50px 0 18px;
  color: var(--color-white);
  scroll-margin-top: 160px;
}
.post-content h3 {
  font-size: 22px;
  margin: 30px 0 14px;
  color: var(--color-foam);
  scroll-margin-top: 160px;
}
.post-content strong { color: var(--color-foam); }
.post-content a { color: var(--color-aqua); border-bottom: 1px solid rgba(0, 180, 216, 0.3); transition: all .3s; }
.post-content a:hover { color: var(--color-foam); border-bottom-color: var(--color-foam); }
.post-content ul, .post-content ol { margin: 0 0 22px 24px; }
.post-content li { margin-bottom: 8px; line-height: 1.7; }
.post-content blockquote {
  border-left: 4px solid var(--color-aqua);
  padding: 18px 24px;
  margin: 30px 0;
  background: rgba(0, 180, 216, 0.05);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--color-foam);
}
.post-content img { border-radius: 12px; margin: 24px 0; }

/* Summary card (excerpt at top of post) */
.post-summary {
  position: relative;
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.18), rgba(0, 180, 216, 0.06));
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-left: 4px solid var(--color-aqua);
  border-radius: 16px;
  padding: 24px 28px 24px 28px;
  margin: 0 0 36px;
  box-shadow: 0 8px 32px rgba(0, 17, 31, 0.2);
}
.post-summary-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.post-summary-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(0, 180, 216, 0.2);
  border: 1px solid rgba(0, 180, 216, 0.4);
  color: var(--color-aqua);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.post-summary-icon svg { width: 18px; height: 18px; }
.post-summary-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-aqua);
}
.post-summary p {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-foam);
  font-style: italic;
}

/* Auto Table of Contents */
.post-toc {
  background: linear-gradient(180deg, rgba(0, 119, 182, 0.1), rgba(0, 17, 31, 0.4));
  border: 1px solid rgba(0, 180, 216, 0.25);
  border-radius: 16px;
  padding: 24px 28px;
  margin: 0 0 40px;
}
.post-toc-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.post-toc-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(0, 180, 216, 0.15);
  border: 1px solid rgba(0, 180, 216, 0.4);
  color: var(--color-aqua);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.post-toc-icon svg { width: 20px; height: 20px; }
.post-toc-header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-aqua);
  flex: 1;
}
.post-toc-toggle {
  background: none; border: none;
  color: var(--color-aqua);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  transition: transform .3s;
}
.post-toc.collapsed .post-toc-toggle { transform: rotate(-90deg); }
.post-toc.collapsed .post-toc-list { display: none; }
.post-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}
.post-toc-list li {
  counter-increment: toc;
  margin: 0;
  border-top: 1px solid rgba(202, 240, 248, 0.06);
}
.post-toc-list li:first-child { border-top: none; }
.post-toc-list a {
  display: flex; align-items: baseline; gap: 12px;
  padding: 11px 4px;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: none;
  font-size: 15px;
  transition: all .25s;
}
.post-toc-list a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  color: var(--color-aqua);
  flex-shrink: 0;
  width: 28px;
}
.post-toc-list a:hover {
  color: var(--color-aqua);
  padding-left: 8px;
}

/* FAQ accordion (auto-generated from H3 in FAQ section) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 30px;
}
.faq-item {
  background: linear-gradient(180deg, rgba(0, 119, 182, 0.06), rgba(0, 17, 31, 0.4));
  border: 1px solid rgba(0, 180, 216, 0.18);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .3s, background .3s;
}
.faq-item[open] {
  background: linear-gradient(180deg, rgba(0, 180, 216, 0.1), rgba(0, 17, 31, 0.5));
  border-color: rgba(0, 180, 216, 0.45);
}
.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  color: var(--color-white);
  user-select: none;
  transition: color .3s;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; }
.faq-question:hover { color: var(--color-aqua); }
.faq-q-text { flex: 1; }
.faq-toggle {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.15);
  border: 1px solid rgba(0, 180, 216, 0.4);
  color: var(--color-aqua);
  position: relative;
  transition: all .3s;
}
.faq-toggle::before, .faq-toggle::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .3s;
}
.faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-toggle {
  background: var(--gradient-cta);
  border-color: transparent;
  color: #fff;
}
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(0); }
.faq-answer {
  padding: 0 24px 22px;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.75;
  border-top: 1px solid rgba(0, 180, 216, 0.12);
  padding-top: 18px;
  margin-top: 0;
}
.faq-answer p:first-child { margin-top: 0; }
.faq-answer p:last-child { margin-bottom: 0; }

/* Tags & share */
.post-tags { margin: 40px 0 24px; padding-top: 24px; border-top: 1px solid rgba(202, 240, 248, 0.08); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.post-tags-label { color: var(--color-muted); font-size: 13px; text-transform: uppercase; letter-spacing: 2px; margin-right: 8px; }
.post-tag {
  padding: 6px 14px;
  background: rgba(0, 180, 216, 0.08);
  border: 1px solid rgba(0, 180, 216, 0.25);
  border-radius: 99px;
  color: var(--color-foam);
  font-size: 13px;
  text-decoration: none;
  border-bottom: none;
  transition: all .3s;
}
.post-tag:hover { background: var(--gradient-cta); color: #fff; border-color: transparent; }

.post-share { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.post-share-label { color: var(--color-muted); font-size: 13px; text-transform: uppercase; letter-spacing: 2px; margin-right: 4px; }
.post-share-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(202, 240, 248, 0.06);
  border: 1px solid rgba(0, 180, 216, 0.2);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--color-foam);
  text-decoration: none;
  border-bottom: none;
  transition: all .3s;
}
.post-share-btn svg { width: 16px; height: 16px; }
.post-share-btn:hover { transform: translateY(-3px); color: #fff; border-color: transparent; }
.post-share-btn.social-facebook:hover { background: #1877f2; }
.post-share-btn.social-linkedin:hover { background: #0a66c2; }
.post-share-btn.social-whatsapp:hover { background: #25d366; }

/* Post navigation */
.post-nav { padding: 30px 0 60px; background: var(--color-deep); border-top: 1px solid rgba(202, 240, 248, 0.06); }
.post-nav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.post-nav-link {
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px 24px;
  background: rgba(0, 180, 216, 0.05);
  border: 1px solid rgba(0, 180, 216, 0.15);
  border-radius: 14px;
  text-decoration: none;
  border-bottom: none;
  transition: all .3s;
}
.post-nav-link:hover { background: rgba(0, 180, 216, 0.12); border-color: var(--color-aqua); transform: translateY(-3px); }
.post-nav-link.next { text-align: right; }
.post-nav-label { font-size: 12px; color: var(--color-aqua); text-transform: uppercase; letter-spacing: 2px; font-weight: 700; }
.post-nav-title { color: var(--color-foam); font-size: 16px; font-weight: 600; line-height: 1.4; }

@media (max-width: 700px) {
  .post-nav-grid { grid-template-columns: 1fr; }
  .post-nav-link.next { text-align: left; }
  .post-toc { padding: 20px 22px; }
  .post-content h2 { font-size: 24px; }
}

/* ===== 404 Page ===== */
.error-404 {
  position: relative;
  min-height: 100vh;
  padding: 200px 0 80px;
  background: var(--gradient-hero);
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.admin-bar .error-404 { padding-top: 240px; }
.error-404::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('https://seaworld.gr/cdc/wp-content/uploads/2026/03/Seaworld-CDC-scaled.jpeg');
  background-size: cover; background-position: center;
  opacity: .25;
  z-index: 0;
}
.error-404::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,17,31,.3) 0%, rgba(0,17,31,.85) 100%);
  z-index: 1;
}
.error-inner { position: relative; z-index: 2; max-width: 800px; }

/* Floating bubbles animation */
.error-bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.error-bubbles .bubble {
  position: absolute;
  bottom: -60px;
  border-radius: 50%;
  background: rgba(202, 240, 248, 0.15);
  border: 1px solid rgba(0, 180, 216, 0.3);
  animation: bubbleRise 12s linear infinite;
}
.error-bubbles .bubble:nth-child(1) { left: 8%;  width: 24px; height: 24px; animation-duration: 14s; animation-delay: 0s; }
.error-bubbles .bubble:nth-child(2) { left: 18%; width: 16px; height: 16px; animation-duration: 11s; animation-delay: 2s; }
.error-bubbles .bubble:nth-child(3) { left: 30%; width: 32px; height: 32px; animation-duration: 16s; animation-delay: 4s; }
.error-bubbles .bubble:nth-child(4) { left: 45%; width: 12px; height: 12px; animation-duration: 9s;  animation-delay: 1s; }
.error-bubbles .bubble:nth-child(5) { left: 58%; width: 28px; height: 28px; animation-duration: 13s; animation-delay: 3s; }
.error-bubbles .bubble:nth-child(6) { left: 72%; width: 20px; height: 20px; animation-duration: 15s; animation-delay: 5s; }
.error-bubbles .bubble:nth-child(7) { left: 85%; width: 36px; height: 36px; animation-duration: 17s; animation-delay: 0s; }
.error-bubbles .bubble:nth-child(8) { left: 92%; width: 14px; height: 14px; animation-duration: 10s; animation-delay: 6s; }
@keyframes bubbleRise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translateY(-50vh) translateX(20px); }
  90% { opacity: 1; }
  100% { transform: translateY(-110vh) translateX(0); opacity: 0; }
}

/* Big 404 number with diving mask */
.error-code {
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(120px, 20vw, 220px);
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, #00b4d8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 30px;
  text-shadow: 0 8px 40px rgba(0, 180, 216, 0.4);
}
.error-bubble-circle {
  width: clamp(100px, 16vw, 180px);
  height: clamp(100px, 16vw, 180px);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-aqua), var(--color-azure));
  border: 4px solid rgba(202, 240, 248, 0.3);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 20px 60px rgba(0, 180, 216, 0.4), inset 0 4px 16px rgba(255,255,255,0.2);
  animation: float404 4s ease-in-out infinite;
  -webkit-text-fill-color: initial;
}
.error-bubble-circle svg { width: 50%; height: 50%; }
@keyframes float404 {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-12px) rotate(5deg); }
}

.error-404 h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  margin-bottom: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #caf0f8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.error-lead {
  color: var(--color-foam);
  font-size: clamp(15px, 2vw, 19px);
  margin-bottom: 36px;
  line-height: 1.6;
}
.error-ctas { justify-content: center; margin-bottom: 60px; }

.error-suggestions { margin-top: 40px; }
.error-suggestions h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-aqua);
  margin-bottom: 22px;
}
.error-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 700px;
  margin: 0 auto;
}
.error-link {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 22px 14px;
  background: rgba(202, 240, 248, 0.05);
  border: 1px solid rgba(0, 180, 216, 0.2);
  border-radius: 14px;
  color: var(--color-foam);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s;
}
.error-link:hover {
  background: rgba(0, 180, 216, 0.12);
  border-color: var(--color-aqua);
  transform: translateY(-4px);
  color: #fff;
}
.error-link svg { width: 26px; height: 26px; color: var(--color-aqua); transition: color .3s; }
.error-link:hover svg { color: #fff; }

@media (max-width: 700px) {
  .error-links { grid-template-columns: repeat(2, 1fr); }
  .error-code { gap: 6px; }
}


/* ===== Inner Pages ===== */
.page-hero {
  position: relative;
  padding: 180px 0 60px;
  background: var(--gradient-hero);
  text-align: center;
  overflow: hidden;
}
.admin-bar .page-hero { padding-top: 215px; }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('https://seaworld.gr/cdc/wp-content/uploads/2026/03/Seaworld-CDC-scaled.jpeg');
  background-size: cover; background-position: center;
  opacity: .35; z-index: 0;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,17,31,.5) 0%, rgba(0,17,31,.85) 100%);
  z-index: 1;
}
.page-hero > .container { position: relative; z-index: 2; max-width: 900px; }
.page-hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #caf0f8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero .lead { color: var(--color-foam); font-size: clamp(16px, 2vw, 20px); max-width: 700px; margin: 0 auto; }
.page-hero .hero-eyebrow {
  display: inline-block; padding: 8px 18px;
  background: rgba(0, 180, 216, 0.15); border: 1px solid rgba(0, 180, 216, 0.4);
  border-radius: 999px; color: var(--color-aqua);
  font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 20px;
}

/* Content sections */
.content-section { padding: 50px 0; background: var(--color-deep); }
.content-section.alt-bg { background: linear-gradient(180deg, #001830, var(--color-deep)); }
.content-narrow { max-width: 820px; margin: 0 auto; }
.content-section p { color: var(--color-text); font-size: 16.5px; margin-bottom: 18px; line-height: 1.75; }
.content-section h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 24px; }
.content-section h3 { font-size: 22px; margin-bottom: 18px; color: var(--color-foam); }
.content-section strong { color: var(--color-foam); }
.lead-text { font-size: 19px !important; color: var(--color-foam) !important; line-height: 1.7 !important; }

/* Feature list (icon + text rows) */
.feature-list { display: flex; flex-direction: column; gap: 24px; margin: 30px 0; }
.feature-item {
  display: flex; gap: 22px;
  background: rgba(0, 180, 216, 0.05);
  border: 1px solid rgba(0, 180, 216, 0.15);
  border-radius: 16px;
  padding: 24px;
  transition: all .3s;
}
.feature-item:hover { border-color: rgba(0, 180, 216, 0.4); transform: translateX(6px); }
.feature-icon {
  flex-shrink: 0;
  width: 50px; height: 50px;
  border-radius: 12px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.3);
  color: var(--color-aqua);
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-item h4 { font-size: 18px; margin-bottom: 6px; color: var(--color-white); }
.feature-item p { color: var(--color-muted); font-size: 15px; margin: 0; line-height: 1.6; }

/* Callout box */
.callout-box {
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.18), rgba(0, 180, 216, 0.08));
  border-left: 4px solid var(--color-aqua);
  border-radius: 14px;
  padding: 30px 32px;
  margin: 40px 0;
}
.callout-box h3 { color: var(--color-aqua); margin-bottom: 12px; }
.callout-box p { margin-bottom: 0; }

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 18px; margin: 40px 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 50px; top: 10px; bottom: 10px; width: 2px; background: rgba(0, 180, 216, 0.3); }
.timeline-item { display: flex; gap: 24px; align-items: center; position: relative; }
.timeline-year {
  flex-shrink: 0;
  width: 100px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 24px;
  color: var(--color-aqua);
  text-align: center;
  background: var(--color-deep);
  padding: 8px 0;
  border: 2px solid var(--color-aqua);
  border-radius: 50px;
  position: relative;
  z-index: 1;
}
.timeline-text { color: var(--color-text); font-size: 16px; }

/* Check-list */
.check-list { list-style: none; padding: 0; margin: 20px 0; }
.check-list li {
  position: relative;
  padding: 12px 0 12px 36px;
  color: var(--color-text);
  font-size: 16px;
  border-bottom: 1px solid rgba(202, 240, 248, 0.08);
  line-height: 1.6;
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: '\2714';
  position: absolute;
  left: 0;
  top: 12px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow);
}

/* Pricing card */
.pricing-card {
  background: linear-gradient(180deg, rgba(0, 119, 182, 0.12), rgba(0, 17, 31, 0.5));
  border: 2px solid rgba(0, 180, 216, 0.3);
  border-radius: 24px;
  padding: 50px 40px;
  margin: 30px 0;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 180, 216, 0.15);
}
.pricing-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 99px;
  margin-bottom: 16px;
}
.pricing-amount {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 900;
  background: linear-gradient(180deg, #fff 0%, var(--color-aqua) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.pricing-note { color: var(--color-muted); font-size: 14px; }

/* Fee list */
.fee-list { list-style: none; padding: 0; margin: 0; }
.fee-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(202, 240, 248, 0.08);
  font-size: 15px;
}
.fee-list li:last-child { border-bottom: none; }
.fee-list strong { color: var(--color-aqua); }

/* Months grid */
.months-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 30px 0; }
.month-card {
  text-align: center;
  padding: 24px 12px;
  background: rgba(0, 180, 216, 0.08);
  border: 1px solid rgba(0, 180, 216, 0.25);
  border-radius: 14px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--color-foam);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all .3s;
}
.month-card:hover { transform: translateY(-4px); background: rgba(0, 180, 216, 0.18); border-color: var(--color-aqua); }

/* Course detail blocks (Professional Courses page) */
.course-detail {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(0, 119, 182, 0.06), rgba(0, 17, 31, 0.3));
  border: 1px solid rgba(0, 180, 216, 0.18);
  border-radius: 24px;
  padding: 50px;
}
.course-detail-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.3);
  color: var(--color-aqua);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.course-detail-icon svg { width: 30px; height: 30px; }
.course-detail h2 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 18px; }
.course-detail h3 { color: var(--color-aqua); font-size: 17px; text-transform: uppercase; letter-spacing: 1.5px; margin-top: 30px; margin-bottom: 14px; }

/* Specialty pills */
.specialties-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.specialty-pill {
  padding: 10px 20px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 99px;
  font-size: 14px;
  color: var(--color-foam);
  font-weight: 600;
  transition: all .3s;
}
.specialty-pill:hover { background: var(--gradient-cta); color: #fff; border-color: transparent; transform: translateY(-2px); }

/* Director cards */
.director-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}
.director-card.reverse { grid-template-columns: 1fr 280px; }
.director-card.reverse .director-photo { order: 2; }
.director-card.reverse .director-info { order: 1; }
.director-photo {
  aspect-ratio: 1;
  border-radius: 24px;
  background: var(--gradient-hero);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.director-photo::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1551244072-5d12893278ab?w=600&q=80');
  background-size: cover; background-position: center;
  opacity: .35;
}
.director-initials {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 80px;
  color: #fff;
  letter-spacing: 4px;
  text-shadow: 0 4px 20px rgba(0, 180, 216, 0.6);
}
.director-info { padding: 10px 0; }
.director-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 180, 216, 0.15);
  border: 1px solid rgba(0, 180, 216, 0.4);
  border-radius: 99px;
  color: var(--color-aqua);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.director-info h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 6px; }
.director-role { color: var(--color-aqua); font-size: 15px; font-weight: 600; margin-bottom: 24px !important; }

/* Director image (when uploaded) */
.director-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  border-radius: inherit;
}

/* Mini director cards on About CDC page */
.director-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 380px));
  justify-content: center;
  gap: 32px;
  margin-top: 30px;
}
.director-mini-card {
  background: linear-gradient(180deg, rgba(0, 119, 182, 0.08), rgba(0, 17, 31, 0.4));
  border: 1px solid rgba(0, 180, 216, 0.18);
  border-radius: 24px;
  padding: 36px 32px;
  text-align: center;
  transition: all .4s;
}
.director-mini-card:hover {
  border-color: rgba(0, 180, 216, 0.5);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}
.director-mini-photo {
  width: 140px; height: 140px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gradient-hero);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.director-mini-photo .director-initials {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 48px;
  color: #fff;
  letter-spacing: 3px;
}
.director-mini-card h3 { font-size: 22px; margin-bottom: 6px; }
.director-mini-role {
  display: block;
  color: var(--color-aqua);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.director-mini-card p { color: var(--color-muted); font-size: 14.5px; margin-bottom: 18px; line-height: 1.6; }

/* ===== Testimonials Page ===== */
.testimonials-stats-section { padding-bottom: 30px; }
.testimonials-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}
.t-stat {
  text-align: center;
  padding: 28px 18px;
  background: linear-gradient(180deg, rgba(0, 119, 182, 0.1), rgba(0, 17, 31, 0.4));
  border: 1px solid rgba(0, 180, 216, 0.25);
  border-radius: 18px;
  transition: all .3s;
}
.t-stat:hover { transform: translateY(-4px); border-color: var(--color-aqua); }
.t-stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  background: linear-gradient(180deg, #fff, var(--color-aqua));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.t-stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-muted);
  font-weight: 600;
}

.testimonials-grid {
  column-count: 3;
  column-gap: 26px;
}
.testimonial-card {
  position: relative;
  background: linear-gradient(180deg, rgba(0, 119, 182, 0.08), rgba(0, 17, 31, 0.4));
  border: 1px solid rgba(0, 180, 216, 0.18);
  border-radius: 20px;
  padding: 36px 30px 28px;
  display: flex;
  flex-direction: column;
  transition: all .4s cubic-bezier(.2, .8, .2, 1);
  overflow: hidden;
  break-inside: avoid;
  margin: 0 0 26px;
  width: 100%;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-cta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 180, 216, 0.5);
  box-shadow: 0 20px 50px rgba(0, 180, 216, 0.18);
}
.testimonial-card:hover::before { transform: scaleX(1); }

.testimonial-quote-mark {
  position: absolute;
  top: 6px;
  right: 22px;
  font-family: 'Georgia', serif;
  font-size: 88px;
  line-height: 1;
  color: rgba(0, 180, 216, 0.18);
  pointer-events: none;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.testimonial-stars .star {
  font-size: 18px;
  color: rgba(202, 240, 248, 0.2);
  line-height: 1;
}
.testimonial-stars .star.filled { color: var(--color-gold); }

.testimonial-text {
  color: var(--color-foam);
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0 0 24px;
  flex: 1;
  font-style: italic;
}

.testimonial-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(202, 240, 248, 0.08);
  position: relative;
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 1px;
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}
.testimonial-person { min-width: 0; }
.testimonial-name {
  font-weight: 700;
  color: var(--color-white);
  font-size: 15px;
  line-height: 1.3;
}
.testimonial-role {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 2px;
}
.testimonial-course-badge {
  grid-column: 1 / -1;
  display: inline-block;
  padding: 5px 12px;
  margin-top: 10px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 99px;
  color: var(--color-aqua);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  justify-self: start;
}

@media (max-width: 900px) {
  .testimonials-stats { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { column-count: 2; }
}
@media (max-width: 600px) {
  .testimonials-grid { column-count: 1; }
  .testimonial-card { padding: 28px 24px 22px; }
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info {
  background: linear-gradient(180deg, rgba(0, 119, 182, 0.08), rgba(0, 17, 31, 0.4));
  border: 1px solid rgba(0, 180, 216, 0.2);
  border-radius: 24px;
  padding: 44px 38px;
  position: sticky;
  top: 140px;
}
.contact-info h2 { font-size: 28px; margin-bottom: 14px; }
.contact-info > p { color: var(--color-muted); font-size: 15px; margin-bottom: 30px; }
.contact-info h3 { font-size: 16px; text-transform: uppercase; letter-spacing: 2px; color: var(--color-aqua); margin-bottom: 14px; }

.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px;
  background: rgba(202, 240, 248, 0.04);
  border: 1px solid rgba(0, 180, 216, 0.12);
  border-radius: 14px;
  text-decoration: none;
  transition: all .3s;
}
.contact-item:not(.static):hover {
  background: rgba(0, 180, 216, 0.1);
  border-color: rgba(0, 180, 216, 0.4);
  transform: translateX(4px);
}
.contact-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gradient-cta);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.contact-icon svg { width: 18px; height: 18px; }
.contact-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-aqua);
  font-weight: 700;
  margin-bottom: 2px;
}
.contact-value {
  display: block;
  font-size: 15px;
  color: var(--color-foam);
  font-weight: 600;
  line-height: 1.4;
}

/* Form */
.contact-form-wrap {
  background: linear-gradient(180deg, rgba(0, 119, 182, 0.06), rgba(0, 17, 31, 0.4));
  border: 1px solid rgba(0, 180, 216, 0.18);
  border-radius: 24px;
  padding: 50px 44px;
}
.contact-form-wrap h2 { font-size: 32px; margin-bottom: 10px; }
.contact-form-wrap > p { color: var(--color-muted); margin-bottom: 30px; }

.form-alert {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.5;
}
.form-alert.success {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #6ce39d;
}
.form-alert.error {
  background: rgba(255, 86, 86, 0.12);
  border: 1px solid rgba(255, 86, 86, 0.4);
  color: #ff8a8a;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-foam);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.form-group .req { color: var(--color-aqua); }
.form-group .opt { color: var(--color-muted); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 11px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0, 17, 31, 0.5);
  border: 1.5px solid rgba(0, 180, 216, 0.2);
  border-radius: 12px;
  color: var(--color-foam);
  font-family: var(--font-body);
  font-size: 15px;
  transition: all .25s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-aqua);
  background: rgba(0, 17, 31, 0.8);
  box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(148, 184, 204, 0.5); }
.form-group textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300b4d8'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
}

.form-submit { align-self: flex-start; margin-top: 8px; }
.form-note { color: var(--color-muted); font-size: 13px; margin-top: 8px; }
.form-note a { color: var(--color-aqua); font-weight: 600; }

.form-turnstile {
  margin-top: 4px;
  display: flex;
  justify-content: flex-start;
}
.form-turnstile .cf-turnstile { min-height: 65px; }
.form-turnstile { margin-top: 4px; min-height: 65px; }
.form-turnstile .cf-turnstile iframe { border-radius: 8px; }

/* Map */
.map-section { padding: 0; }
.map-wrap {
  position: relative;
  border-top: 1px solid rgba(0, 180, 216, 0.2);
  border-bottom: 1px solid rgba(0, 180, 216, 0.2);
  filter: saturate(1.2) brightness(0.95);
}
.map-wrap iframe { display: block; }

/* Mobile */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-info { position: static; padding: 32px 24px; }
  .contact-form-wrap { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
}

/* Inner page mobile */
@media (max-width: 900px) {
  .director-mini-grid { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; }
  .director-card, .director-card.reverse { grid-template-columns: 1fr; gap: 30px; }
  .director-card.reverse .director-photo, .director-card.reverse .director-info { order: 0; }
  .director-photo { max-width: 280px; margin: 0 auto; width: 100%; }
  .timeline::before { left: 20px; }
  .timeline-year { width: 80px; font-size: 18px; }
  .feature-item { flex-direction: column; }
  .course-detail { padding: 30px 24px; }
  .pricing-card { padding: 36px 24px; }
  .pricing-amount { font-size: 48px; }
}
@media (max-width: 600px) {
  .months-grid { grid-template-columns: repeat(2, 1fr); }
  .fee-list li { flex-direction: column; align-items: flex-start; gap: 4px; }
}
