/*
Theme Name: Research Magazine
Theme URI: http://saifinsights.com/
Author: Mohammad Shahwaz
Author URI: http://saifinsights.com/
Description: Minimal, modern magazine-style theme with dark mode, search, category blocks, author bio and newsletter area.
Version: 1.0
License: GNU General Public License v2 or later
Tags: custom-background, custom-logo, custom-menu, featured-images, responsive-layout, two-columns
Text Domain: research-magazine
*/
:root{
 --bg: #fff;
  --text: #e6eef6;
  --muted: #9fb3c7;
  --accent: #f5c542;
  --accent-2: #ffd66b;
  --text-dark: #1a1a2e;
  --text-light: #4a4a6a;
  --bg-light: #fafafa;
  --bg-white: #ffffff;
  --max-width: 1200px;
  --content-width: 760px;
  --sidebar-width: 320px;
  --space: 28px;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  --font-heading: 'Playfair Display', Georgia, serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
*{box-sizing:border-box}
html,body{height:100%}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.65;
  position: relative;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("../../uploads/2025/12/luxury_hexagonal_dispersion_pattern_background.jpg");
  background-repeat: repeat;          
  background-size:contain;              
  opacity: 0.1;                       
  z-index: -1;
  pointer-events: none;
}

a{color:var(--accent); text-decoration:none}
.container{max-width:var(--max-width); margin:0 auto; padding:0 18px}
.site-header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-bottom:1px solid #e5e7eb}
body.dark .site-header{background:rgba(15,23,42,.96);border-bottom-color:#111827}
.header{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:24px}
.site-branding{display:flex;align-items:center;gap:14px;min-width:0}
.site-branding img{max-height:80px;height:auto;width:auto}
.site-text{display:flex;flex-direction:column;min-width:0}
.site-title{font-family:var(--font-heading);font-size:22px;margin:0;white-space:nowrap}
.site-tagline{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nav{display:flex;gap:18px;align-items:center}
.nav ul{display:flex;gap:16px;list-style:none;margin:0;padding:0}
.nav ul li{list-style:none;margin:0;padding:0}
.nav ul li a{
  font-size:14px;
  color:var(--text);
  padding:6px 0;
  position:relative;
  transition:color .2s ease, transform .2s ease;
}
.nav ul li a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:0;
  height:2px;
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
  transition:width .3s ease;
}
.nav ul li a:hover{
  color:var(--accent);
  transform:translateY(-1px);
}
.nav ul li a:hover::after{width:100%}
.nav ul li{position:relative}
.nav ul.sub-menu{
  position:absolute;
  top:100%;
  left:0;
  display:none;
  flex-direction:column;
  gap:0;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:6px;
  padding:8px 12px;
  min-width:220px;
  z-index:50;
}
body.dark .nav ul.sub-menu{background:#020617;border-color:#111827}
.nav ul.sub-menu li a{
  padding:6px 0;
  white-space:normal;
}
.nav ul > li:hover > .sub-menu{
  display:flex;
}
.dark-toggle{margin-left:4px}
.nav-toggle{display:none;border:0;background:none;padding:8px;cursor:pointer;flex-shrink:0;color:#0f172a}
body.dark .nav-toggle{color:#e5e7eb}
.nav-toggle span{display:block;width:22px;height:2px;background:currentColor;margin:4px 0;border-radius:999px;transition:transform .2s ease,opacity .2s ease}
.nav-toggle.is-open span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.nav-toggle.is-open span:nth-child(2){opacity:0}
.nav-toggle.is-open span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.search-toggle{margin-left:12px}
.hero{padding:var(--space) 0}
.grid{display:grid;grid-template-columns:1fr var(--sidebar-width);gap:28px}
.main{max-width:var(--content-width);width:100%}
.card{background:#fff;border:1px solid #eee;padding:18px;border-radius:10px;margin-bottom:18px;transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease}
.card:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(15,23,42,.08);border-color:rgba(15,23,42,.06)}
.post-thumbnail{margin-bottom:18px;border-radius:8px;overflow:hidden;line-height:0}
.post-thumbnail a{display:block;text-decoration:none}
.post-image{width:100%;height:auto;display:block;border-radius:8px;transition:transform .3s ease}
.post-thumbnail:hover .post-image{transform:scale(1.05)}
.post-title{font-family:var(--font-heading);font-size:20px;margin:0 0 8px}
.meta{color:var(--muted);font-size:13px;margin-bottom:8px}
.excerpt{color:var(--muted)}
.sidebar .widget{margin-bottom:18px;padding:14px;border-radius:8px;background:#fafafa;border:1px solid #f0f0f0}
.footer{padding:32px 0;border-top:1px solid #eee;margin-top:40px;color:var(--muted);background:#f9fafb}
body.dark .footer{background:#020617;border-top-color:#0b1220}
.footer-inner{display:flex;flex-direction:column;gap:20px}
.footer-top{display:grid;grid-template-columns:2fr 2fr 2fr;gap:24px;align-items:flex-start}
.footer-top h3,.footer-top h4{margin-top:0}
.footer-about .meta,.footer-meta .meta{max-width:360px}
.footer-newsletter .newsletter{display:flex;flex-wrap:wrap;gap:10px}
.footer-newsletter .newsletter input{flex:1;padding:10px;border-radius:8px;border:1px solid #d1d5db}
.footer-bottom{border-top:1px solid #e5e7eb;padding-top:12px;font-size:13px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}
body.dark .footer-bottom{border-top-color:#111827}
.magazine-row{display:flex;gap:18px;flex-wrap:wrap}
.magazine-block{flex:1 1 32%;min-width:220px}

/* Overview section */
.saif-insights {
  padding: 80px 20px;
  background: linear-gradient(to right, #f8f9fb, #ffffff);
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

.si-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

/* Image */
.si-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.18);
  transition: transform 0.5s ease;
}

.si-image img:hover {
  transform: scale(1.04);
}

/* Content */
.si-content h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111;
}

.si-content p {
  font-size: 16.5px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 18px;
}

.si-highlight {
  font-style: italic;
  border-left: 4px solid #111;
  padding-left: 18px;
  color: #222;
  background: #f4f6f9;
  border-radius: 6px;
}

/* Tag */
.si-tag {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 900px) {
  .si-container {
    grid-template-columns: 1fr;
  }

  .si-content h2 {
    font-size: 34px;
  }
}


/* Featured Insights (category blocks) */
.magazine-blocks{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-top:8px}
.mag-block{background:rgba(255,255,255,.62);border-radius:16px;border:1px solid rgba(255,255,255,.42);padding:16px 16px 14px;box-shadow:0 18px 50px rgba(15,23,42,.10);position:relative;overflow:hidden;transform:translateY(8px);opacity:0;animation:mag-fade-in .6s ease forwards, mag-float-x 7.2s ease-in-out infinite;animation-delay:0s,.6s;will-change:transform, backdrop-filter;-webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%)}
.mag-block::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(900px circle at 10% 10%, rgba(255,255,255,.55), transparent 45%),radial-gradient(700px circle at 90% 30%, rgba(56,189,248,.16), transparent 55%);opacity:.9}
.mag-block > *{position:relative;z-index:1}
.mag-block[data-mag-index="1"]{animation-delay:.05s}
.mag-block[data-mag-index="2"]{animation-delay:.1s}
.mag-block[data-mag-index="3"]{animation-delay:.15s}
.mag-block:nth-child(3n+1){animation-duration:6.8s,6.8s}
.mag-block:nth-child(3n+2){animation-duration:7.6s,7.6s}
.mag-block:nth-child(3n){animation-duration:8.4s,8.4s}
.mag-block:nth-child(even){animation-direction:normal,alternate}
.mag-block-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid rgba(148,163,184,.25)}
.mag-title{margin:0;font-family:var(--font-heading);font-size:18px;letter-spacing:.2px;font-weight:600}
.mag-posts{display:flex;flex-direction:column;gap:6px}
.mag-post{border-radius:10px;padding:8px 10px;transition:background .2s ease,transform .2s ease,box-shadow .2s ease}
.mag-post-link{text-decoration:none;color:var(--text);display:block}
.mag-post-image{margin-bottom:10px;border-radius:8px;overflow:hidden;line-height:0}
.mag-thumbnail{width:100%;height:auto;display:block;border-radius:8px;transition:transform .3s ease;max-height:150px;object-fit:cover}
.mag-post:hover .mag-thumbnail{transform:scale(1.05)}
.mag-post-title{margin:0;font-size:14px}
.mag-post-meta{margin:2px 0 0;font-size:12px;color:var(--muted)}
.mag-post:hover{background:rgba(15,23,42,.03);transform:translateY(-2px);box-shadow:0 10px 26px rgba(15,23,42,.08)}
.mag-empty{margin:4px 0 0;font-size:13px;color:var(--muted)}
@keyframes mag-fade-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes mag-float-x{0%{transform:translate3d(0,0,0)}50%{transform:translate3d(10px,0,0)}100%{transform:translate3d(0,0,0)}}

body.dark .mag-block{background:rgba(2,6,23,.55);border-color:rgba(148,163,184,.22);box-shadow:0 22px 64px rgba(0,0,0,.35)}
body.dark .mag-block::before{background:radial-gradient(900px circle at 10% 10%, rgba(148,163,184,.20), transparent 48%),radial-gradient(700px circle at 90% 30%, rgba(56,189,248,.14), transparent 55%)}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))){
  .mag-block{background:#fff;border:1px solid #e5e7eb}
  body.dark .mag-block{background:#0f172a;border-color:#111827}
  .mag-block::before{display:none}
}

@media (prefers-reduced-motion: reduce){
  .mag-block{animation:none !important;transform:none !important;opacity:1 !important}
}

/* Modern Card Design for Latest Articles */
.latest-articles-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
  gap:28px;
  margin-top:20px;
}

.modern-card{
  background:#fff;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 4px 20px rgba(0,0,0,.08);
  transition:transform .3s ease,box-shadow .3s ease;
  display:flex;
  flex-direction:column;
}

.modern-card:hover{
  transform:translateY(-8px);
  box-shadow:0 12px 40px rgba(0,0,0,.15);
}

.modern-card-link{
  text-decoration:none;
  color:inherit;
  display:flex;
  flex-direction:column;
  height:100%;
}

.modern-card-image{
  width:100%;
  height:220px;
  overflow:hidden;
  position:relative;
  background:#f3f4f6;
}

.modern-card-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .4s ease;
}

.modern-card:hover .modern-card-image img{
  transform:scale(1.08);
}

.placeholder-svg{
  width:100%;
  height:100%;
  display:block;
}

.modern-card-content{
  padding:20px 22px 22px;
  display:flex;
  flex-direction:column;
  flex-grow:1;
}

.modern-card-category{
  display:inline-block;
  padding:6px 14px;
  background:linear-gradient(135deg,#667eea,#764ba2);
  color:#fff;
  border-radius:20px;
  font-size:12px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.5px;
  margin-bottom:12px;
  align-self:flex-start;
}

.modern-card-title{
  font-family:var(--font-heading);
  font-size:20px;
  line-height:1.4;
  margin:0 0 12px;
  color:#1f2937;
  font-weight:600;
  transition:color .2s ease;
}

.modern-card:hover .modern-card-title{
  color:#667eea;
}

.modern-card-excerpt{
  color:#6b7280;
  font-size:14px;
  line-height:1.6;
  margin:0 0 16px;
  flex-grow:1;
}

.modern-card-footer{
  margin-top:auto;
  padding-top:16px;
  border-top:1px solid #e5e7eb;
}

.modern-card-author{
  display:flex;
  align-items:center;
  gap:12px;
}

.modern-card-author img{
  width:36px;
  height:36px;
  border-radius:50%;
  object-fit:cover;
}

.modern-card-author-info{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.modern-card-author-name{
  font-size:14px;
  font-weight:600;
  color:#1f2937;
}

.modern-card-date{
  font-size:12px;
  color:#9ca3af;
}

/* Dark mode styles for modern cards */
body.dark .modern-card{
  background:#0f172a;
  box-shadow:0 4px 20px rgba(0,0,0,.3);
}

body.dark .modern-card:hover{
  box-shadow:0 12px 40px rgba(0,0,0,.5);
}

body.dark .modern-card-title{
  color:#e5e7eb;
}

body.dark .modern-card:hover .modern-card-title{
  color:#818cf8;
}

body.dark .modern-card-excerpt{
  color:#9ca3af;
}

body.dark .modern-card-author-name{
  color:#e5e7eb;
}

body.dark .modern-card-footer{
  border-top-color:#1e293b;
}

body.dark .modern-card-image{
  background:#1e293b;
}

.author-bio{display:flex;gap:14px;align-items:flex-start;padding:14px;border-radius:8px;background:#fbfbfb;border:1px solid #eee}
.author-avatar{width:72px;height:72px;border-radius:50%;background:#ddd;flex-shrink:0}
.front-section{padding:40px 0 10px}
.front-section-alt{background:#f9fafb}
body.dark .front-section-alt{background:#020617}
.front-section-header{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:18px}
.front-section-header h2{margin:0;font-family:var(--font-heading);font-size:22px}
.front-link{font-size:14px;color:var(--accent)}
.front-link:hover{text-decoration:underline}
.front-events{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}
.front-event-card{height:100%}
.hero-wrap{
  position:relative;
  overflow:hidden;
  background-image:url('/wp-content/uploads/2026/02/books-1617327_1280-1024x576.jpg');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  color:#f5f7ff;
}
.hero-gradient{
  position:absolute;inset:0;background:
    radial-gradient(circle at 0% 0%, rgba(245,197,66,.45), transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(37,99,235,.25), transparent 55%),
    linear-gradient(135deg, #050814, #071424);
  opacity:0.7;
  pointer-events:none;
}
.hero-inner{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:48px;padding:60px 18px 72px}
.hero-copy{max-width:520px}
.hero-title{font-family:var(--font-heading);font-size:40px;line-height:1.15;margin:0 0 14px}
.hero-subtitle{margin:0 0 22px;color:#cbd5f5;max-width:440px}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px}
.btn-primary,.btn-ghost{display:inline-flex;align-items:center;justify-content:center;padding:10px 20px;border-radius:999px;font-weight:500;font-size:14px;border:1px solid transparent;cursor:pointer;transition:all .2s ease;text-decoration:none}
.btn-primary{background:linear-gradient(135deg,#2563eb,#0ea5e9);color:#fff;box-shadow:0 12px 30px rgba(37,99,235,.38)}
.btn-primary:hover{transform:translateY(-1px);box-shadow:0 18px 40px rgba(37,99,235,.5)}
.btn-ghost{background:transparent;color:#e5e7eb;border-color:rgba(148,163,184,.7)}
.btn-ghost:hover{background:rgba(15,23,42,.6);}
.hero-carousel{position:relative;flex:1 1 0;max-width:460px;background:rgba(15,23,42,.7);border-radius:24px;border:1px solid rgba(148,163,184,.4);padding:22px 22px 30px;backdrop-filter:blur(18px);box-shadow:0 22px 60px rgba(15,23,42,.6);overflow:hidden}
.hero-media{margin-bottom:14px;border-radius:18px;overflow:hidden}
.hero-media img{width:100%;height:auto;display:block;object-fit:cover;max-height:260px}
.hero-slide{display:none;opacity:0;transform:translateY(10px);transition:opacity .3s ease,transform .3s ease}
.hero-slide.is-active{display:block;opacity:1;transform:translateY(0)}
.hero-slide-title{font-size:18px;margin:0 0 8px;color:#e5e7ff}
.hero-slide-text{margin:0;color:#cbd5f5;font-size:14px}
.hero-dots{display:flex;gap:8px;position:absolute;left:22px;bottom:16px}
.hero-dots button{width:9px;height:9px;border-radius:999px;border:0;background:rgba(148,163,184,.6);padding:0;cursor:pointer;transition:all .2s ease}
.hero-dots button.is-active{width:22px;background:#38bdf8}

.page-builder-area{padding:28px 0}

.search-form{display:flex;gap:8px}
.search-form input{flex:1;padding:10px;border-radius:8px;border:1px solid #ddd}
.search-form button{padding:10px 14px;border-radius:8px;border:0;background:var(--accent);color:#fff}

/* Dark mode */
body.dark{ --bg:#0b0f13; --text:#e6eef6; --muted:#9fb3c7; --accent:#3ea0ff; --accent-2:#4cd6c7 }
body.dark .card, body.dark .sidebar .widget, body.dark .author-bio{background:#071018;border-color:#0f2130}

/* Responsive */
@media(max-width:900px){
  .grid{grid-template-columns:1fr}
  .magazine-block{flex:1 1 48%}
  .footer-top{grid-template-columns:1fr 1fr;gap:18px}
  .footer-meta{grid-column:1 / -1}
  .nav{position:absolute;right:0;top:100%;background:var(--bg);border-bottom:1px solid #e5e7eb;width:100%;max-height:0;overflow:hidden;flex-direction:column;align-items:flex-start;padding:0 18px;gap:14px;transition:max-height .25s ease}
  body.dark .nav{background:#020617;border-bottom-color:#020617}
  .nav ul{flex-direction:column;padding:12px 0}
  .nav.is-open{max-height:70vh;overflow:auto}
  .nav-toggle{display:inline-flex}
  .hero-inner{flex-direction:column;align-items:flex-start;padding-top:40px}
  .hero-carousel{width:100%;max-width:none}
  .latest-articles-grid{
    grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
    gap:20px;
  }
}
@media(max-width:560px){
  .magazine-block{flex:1 1 100%}
  .header{padding:10px 0}
  .site-title{font-size:18px}
  .site-tagline{display:none}
  .footer-top{grid-template-columns:1fr;gap:16px}
  .footer-bottom{justify-content:center;text-align:center}
  .footer-newsletter .newsletter{flex-direction:column;align-items:stretch}
  .footer-newsletter .newsletter input{width:100%}
  .footer-newsletter .newsletter button{width:100%}
  .latest-articles-grid{
    grid-template-columns:1fr;
    gap:18px;
  }
  .modern-card-image{
    height:200px;
  }
}
.mag-view-all-btn{
  margin-top: 12px;
  padding: 10px 16px;
  background: var(--accent);
  border: none;
  color: #fff !important;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: fit-content;
}
.mag-view-all-btn:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(15,23,42,.12)}
.mag-view-all-btn:active{transform:translateY(0);box-shadow:0 10px 22px rgba(15,23,42,.10)}

/* ============================================
   Contact Form Animations
   ============================================ */

/* Form States */
#contactForm.submitting,
#contactFormAPI.submitting {
  opacity: 0.7;
  pointer-events: none;
}

#contactForm.success-state,
#contactFormAPI.success-state {
  animation: successPulse 0.6s ease-out;
}

#contactForm.error-state,
#contactFormAPI.error-state {
  animation: errorShake 0.5s ease-out;
}

@keyframes successPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

@keyframes errorShake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Response Message Styles */
#responseMsg {
  min-height: 24px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  margin-top: 12px;
}

#responseMsg.loading {
  color: #666;
}

#responseMsg.success {
  color: #10b981;
  background: #d1fae5;
  animation: fadeInUp 0.5s ease-out;
}

#responseMsg.error {
  color: #ef4444;
  background: #fee2e2;
  animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading Dots Animation */
.loading-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.loading-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #666;
  animation: loadingDots 1.4s infinite ease-in-out;
}

.loading-dots span:nth-child(1) {
  animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes loadingDots {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Success Checkmark Animation */
.checkmark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: block;
  stroke-width: 3;
  stroke: #10b981;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #10b981;
  animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3;
  stroke-miterlimit: 10;
  stroke: #10b981;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes scale {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 30px #10b981;
  }
}

.success-text {
  font-weight: 600;
}

.error-icon {
  font-size: 18px;
  display: inline-block;
  animation: errorPulse 0.5s ease-out;
}

@keyframes errorPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Spinner for Submit Button */
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Form Input Focus States */
#contactFormAPI input:focus,
#contactFormAPI textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  transition: all 0.2s ease;
}

/* Button Loading State */
#contactFormAPI button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ============================================
   Contact Page Banner
   ============================================ */

.contact-page-banner {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  margin-bottom: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 50%, #1a1a2e 100%);
}

.contact-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(45, 45, 68, 0.80) 50%, rgba(26, 26, 46, 0.90) 100%);
  z-index: 1;
}

.contact-banner-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(45deg, transparent 30%, rgba(245, 197, 66, 0.05) 30%, rgba(245, 197, 66, 0.05) 70%, transparent 70%),
    linear-gradient(-45deg, transparent 30%, rgba(245, 197, 66, 0.05) 30%, rgba(245, 197, 66, 0.05) 70%, transparent 70%);
  background-size: 80px 80px;
  z-index: 1;
}

.contact-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 5rem 2rem;
  width: 100%;
}

.contact-banner-container {
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out;
}

.contact-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin: 0 0 1rem 0;
  text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
}

.contact-banner-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin: 0 auto 2rem;
  opacity: 0.95;
  max-width: 600px;
  font-weight: 300;
  text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.2);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
}

.contact-banner-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-banner-breadcrumb a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.contact-banner-breadcrumb a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.contact-banner-breadcrumb .separator {
  color: rgba(255, 255, 255, 0.7);
}

.contact-banner-breadcrumb .current {
  color: #fff;
  font-weight: 600;
}

.contact-banner-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.contact-banner-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 197, 66, 0.15) 0%, transparent 70%);
  animation: float 20s infinite ease-in-out;
}

.contact-banner-circle.circle-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.contact-banner-circle.circle-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  right: 10%;
  animation-delay: 5s;
}

.contact-banner-circle.circle-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  right: -50px;
  animation-delay: 10s;
}

/* ============================================
   Modern Contact Page Design
   ============================================ */

.modern-contact-page {
  min-height: auto;
  background: var(--bg);
  padding: calc(var(--space) * 2) 2rem;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

body.dark .modern-contact-page {
  background: var(--bg);
}

.contact-background-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(245, 197, 66, 0.08);
  filter: blur(60px);
}

.shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
  animation: float 20s infinite ease-in-out;
}

.shape-2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  right: -50px;
  animation: float 25s infinite ease-in-out reverse;
}

.shape-3 {
  width: 250px;
  height: 250px;
  top: 50%;
  right: 10%;
  animation: float 30s infinite ease-in-out;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: var(--bg);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

body.dark .contact-wrapper {
  background: var(--bg);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Left Section: Contact Form */
.contact-form-section {
  display: flex;
  flex-direction: column;
}

.contact-main-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

body.dark .contact-main-title {
  color: var(--text);
}

.contact-description {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 2.5rem 0;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

body.dark .form-label {
  color: var(--text);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

body.dark .form-input,
body.dark .form-textarea {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg);
  box-shadow: 0 0 0 4px rgba(245, 197, 66, 0.15);
}

body.dark .form-input:focus,
body.dark .form-textarea:focus {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(245, 197, 66, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.contact-submit-btn {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #1a1a1a;
  border: none;
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(245, 197, 66, 0.3);
  margin-top: 0.5rem;
  font-family: var(--font-body);
}

.contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 197, 66, 0.4);
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 100%);
}

.contact-submit-btn:active {
  transform: translateY(0);
}

.contact-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.contact-response {
  text-align: center;
  margin-top: 1rem;
  padding: 12px;
  border-radius: 8px;
  font-weight: 500;
  min-height: 24px;
}

.contact-response.loading {
  color: #64748b;
}

.contact-response.success {
  color: #10b981;
  background: #d1fae5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.contact-response.error {
  color: #ef4444;
  background: #fee2e2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Right Section: Illustration & Info */
.contact-info-section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.contact-illustration {
  position: relative;
  height: 300px;
  margin-bottom: 2rem;
}

.illustration-envelope {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 100px;
  z-index: 2;
}

.illustration-envelope svg,
.illustration-speech svg,
.illustration-plane svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 8px rgba(245, 197, 66, 0.3));
}

.illustration-envelope svg rect[fill],
.illustration-envelope svg path[stroke],
.illustration-speech svg path[fill],
.illustration-plane svg path[fill],
.illustration-plane svg path[stroke] {
  fill: var(--accent);
  stroke: var(--accent);
}

.illustration-bell svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 8px rgba(255, 214, 107, 0.3));
}

.illustration-bell svg path[fill],
.illustration-bell svg path[stroke] {
  fill: var(--accent-2);
  stroke: var(--accent-2);
}

.illustration-speech {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 50px;
  height: 50px;
  animation: float 6s infinite ease-in-out;
}

.illustration-speech svg {
  width: 100%;
  height: 100%;
}

.illustration-bell {
  position: absolute;
  top: 15%;
  right: 15%;
  width: 40px;
  height: 40px;
  animation: float 8s infinite ease-in-out;
}

.illustration-bell svg {
  width: 100%;
  height: 100%;
}

.illustration-plane {
  position: absolute;
  bottom: 25%;
  right: 10%;
  width: 50px;
  height: 50px;
  animation: float 7s infinite ease-in-out;
}

.illustration-plane svg {
  width: 100%;
  height: 100%;
}

.illustration-dots {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

.dot-1 {
  top: 10%;
  left: 20%;
  background: var(--accent);
  animation: float 5s infinite ease-in-out;
}

.dot-2 {
  top: 30%;
  right: 25%;
  background: var(--accent-2);
  animation: float 6s infinite ease-in-out;
}

.dot-3 {
  bottom: 20%;
  left: 15%;
  background: var(--accent);
  animation: float 7s infinite ease-in-out;
}

.dot-4 {
  top: 50%;
  right: 5%;
  background: var(--accent-2);
  animation: float 8s infinite ease-in-out;
}

.dot-5 {
  bottom: 10%;
  right: 30%;
  background: var(--accent);
  animation: float 9s infinite ease-in-out;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  stroke: var(--accent);
  stroke-width: 2;
}

.contact-social {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.social-facebook {
  background: #1877f2;
}

.social-facebook:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.social-twitter {
  background: #1da1f2;
}

.social-twitter:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4);
}

.social-instagram {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}

.social-instagram:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(131, 58, 180, 0.4);
}

/* Responsive Design */
@media (max-width: 968px) {
  .contact-page-banner {
    min-height: 350px;
  }
  
  .contact-banner-content {
    padding: 3rem 1.5rem;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2rem;
  }
  
  .contact-main-title {
    font-size: 2.5rem;
  }
  
  .contact-illustration {
    height: 250px;
  }
  
  .contact-social {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .contact-page-banner {
    min-height: 300px;
  }
  
  .contact-banner-content {
    padding: 2.5rem 1rem;
  }
  
  .contact-banner-title {
    font-size: 2rem;
  }
  
  .contact-banner-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  .contact-banner-breadcrumb {
    font-size: 0.8rem;
    padding: 0.6rem 1.2rem;
  }
  
  .modern-contact-page {
    padding: 2rem 1rem;
  }
  
  .contact-wrapper {
    padding: 1.5rem;
    border-radius: 16px;
  }
  
  .contact-main-title {
    font-size: 2rem;
  }
  
  .contact-description {
    font-size: 0.9rem;
  }
  
  .contact-illustration {
    height: 200px;
  }
}

/* ============================================
   Comments Section
   ============================================ */

.comments-area {
  margin-top: calc(var(--space) * 2);
  padding-top: calc(var(--space) * 2);
  border-top: 2px solid rgba(0, 0, 0, 0.06);
}

body.dark .comments-area {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.comments-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: calc(var(--space) * 2);
  color: #1a202c;
}

body.dark .comments-title {
  color: #f7fafc;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 calc(var(--space) * 1.5) 0;
}

.comment-list .comment-list {
  margin-left: 60px;
  margin-top: var(--space);
}

.comment-item {
  margin-bottom: calc(var(--space) * 1.5);
  padding-bottom: calc(var(--space) * 1.5);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.dark .comment-item {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.comment-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.comment-body {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.comment-avatar {
  flex-shrink: 0;
}

.comment-avatar img {
  border-radius: 50%;
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.comment-content {
  flex: 1;
  min-width: 0;
}

.comment-meta {
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.comment-author {
  font-weight: 600;
  font-style: normal;
  color: var(--accent);
}

.comment-author a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.comment-author a:hover {
  color: var(--accent-2);
}

.comment-time {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
}

.comment-time:hover {
  color: var(--text);
}

.comment-awaiting-moderation {
  color: var(--accent);
  font-size: 0.875rem;
  font-style: italic;
  display: block;
  width: 100%;
  margin-top: 8px;
}

.comment-text {
  color: #2d3748;
  line-height: 1.8;
  margin-bottom: 12px;
  font-size: 1rem;
}

body.dark .comment-text {
  color: #e2e8f0;
}

.comment-text p {
  margin: 0 0 12px 0;
}

.comment-text p:last-child {
  margin-bottom: 0;
}

.comment-reply {
  margin-top: 12px;
}

.comment-reply a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  transition: all 0.2s ease;
  display: inline-block;
}

.comment-reply a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(245, 197, 66, 0.1);
}

/* Comment Form */
.comment-respond {
  margin-top: calc(var(--space) * 2);
  padding: calc(var(--space) * 2);
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.dark .comment-respond {
  background: #071018;
  border-color: #0f2130;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.comment-reply-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 calc(var(--space) * 1.5) 0;
  color: #1a202c;
}

body.dark .comment-reply-title {
  color: #f7fafc;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.comment-form p {
  margin: 0;
}

.comment-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #2d3748;
  font-size: 0.95rem;
}

body.dark .comment-form label {
  color: #e2e8f0;
}

.comment-form .required {
  color: #ef4444;
  margin-left: 2px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #1a202c;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

body.dark .comment-form input[type="text"],
body.dark .comment-form input[type="email"],
body.dark .comment-form input[type="url"],
body.dark .comment-form textarea {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(245, 197, 66, 0.15);
}

body.dark .comment-form input[type="text"]:focus,
body.dark .comment-form input[type="email"]:focus,
body.dark .comment-form input[type="url"]:focus,
body.dark .comment-form textarea:focus {
  background: #1a202c;
  box-shadow: 0 0 0 4px rgba(245, 197, 66, 0.2);
}

.comment-form textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
  display: flex;
  flex-direction: column;
}

.comment-form-comment {
  display: flex;
  flex-direction: column;
}

.comment-form .form-submit {
  margin-top: 0.5rem;
}

.comment-form #submit {
  background: var(--accent);
  color: #1a1a1a;
  border: none;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  display: inline-block;
  width: auto;
  min-width: 160px;
}

.comment-form #submit:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 197, 66, 0.4);
}

.comment-form #submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(245, 197, 66, 0.3);
}

.comment-notes {
  font-size: 0.875rem;
  color: #718096;
  margin-bottom: 1.5rem;
  padding: 12px 16px;
  background: rgba(245, 197, 66, 0.08);
  border-radius: 8px;
  border-left: 3px solid var(--accent);
}

body.dark .comment-notes {
  color: #a0aec0;
  background: rgba(245, 197, 66, 0.1);
}

.must-log-in,
.logged-in-as {
  font-size: 0.9rem;
  color: #4a5568;
  margin-bottom: 1.5rem;
  padding: 14px 18px;
  background: #f7fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

body.dark .must-log-in,
body.dark .logged-in-as {
  color: #cbd5e0;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.comment-notes a,
.must-log-in a,
.logged-in-as a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.comment-notes a:hover,
.must-log-in a:hover,
.logged-in-as a:hover {
  color: var(--accent-2);
  text-decoration: underline;
}

/* Comments Pagination */
.comments-pagination {
  margin: calc(var(--space) * 1.5) 0;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.comments-pagination .page-numbers {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.comments-pagination .page-numbers:hover,
.comments-pagination .page-numbers.current {
  background: var(--accent);
  color: #1a1a1a;
  border-color: var(--accent);
}

.no-comments {
  color: var(--muted);
  font-style: italic;
  text-align: center;
  padding: var(--space);
}

/* Responsive Comments */
@media (max-width: 768px) {
  .comment-body {
    flex-direction: column;
    gap: 12px;
  }
  
  .comment-avatar {
    align-self: flex-start;
  }
  
  .comment-list .comment-list {
    margin-left: 30px;
  }
  
  .comment-form {
    gap: 16px;
  }
  
  .comments-title,
  .comment-reply-title {
    font-size: 1.5rem;
  }
}

/* ============================================
   Post Banner Section (Single Post)
   ============================================ */

.post-banner {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  margin-bottom: calc(var(--space) * 2);
  background-color: #1a1a2e;
}

.post-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(30, 30, 60, 0.80) 50%, rgba(20, 20, 40, 0.90) 100%);
  z-index: 1;
}

.post-banner-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(45deg, transparent 30%, rgba(245, 197, 66, 0.05) 30%, rgba(245, 197, 66, 0.05) 70%, transparent 70%),
    linear-gradient(-45deg, transparent 30%, rgba(245, 197, 66, 0.05) 30%, rgba(245, 197, 66, 0.05) 70%, transparent 70%);
  background-size: 80px 80px;
  z-index: 1;
}

.post-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 5rem 2rem;
  width: 100%;
}

.post-banner-container {
  max-width: var(--max-width);
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out;
}

.post-banner-categories {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.post-banner-categories a {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(245, 197, 66, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 197, 66, 0.3);
  border-radius: 50px;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.post-banner-categories a:hover {
  background: rgba(245, 197, 66, 0.3);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 197, 66, 0.2);
}

.post-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
}

.post-banner-excerpt {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin: 0 auto 2rem;
  opacity: 0.95;
  max-width: 800px;
  font-weight: 300;
  text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.4);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.post-banner-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.post-banner-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.post-banner-author img {
  border-radius: 50%;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 2px solid rgba(245, 197, 66, 0.3);
}

.post-banner-author-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.post-banner-author-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.post-banner-author-name a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-banner-author-name a:hover {
  color: var(--accent);
}

.post-banner-date {
  font-size: 0.875rem;
  opacity: 0.8;
  color: rgba(255, 255, 255, 0.9);
}

.post-banner-reading-time {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.post-banner-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.post-decoration-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 197, 66, 0.15) 0%, transparent 70%);
  animation: float 20s infinite ease-in-out;
}

.post-decoration-circle.circle-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.post-decoration-circle.circle-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  right: 10%;
  animation-delay: 5s;
}

.post-decoration-circle.circle-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  right: -50px;
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(30px, -30px) scale(1.1);
    opacity: 0.5;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Post Banner */
@media (max-width: 768px) {
  .post-banner {
    min-height: 400px;
  }
  
  .post-banner-content {
    padding: 3rem 1.5rem;
  }
  
  .post-banner-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .post-banner-excerpt {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .post-banner-meta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .post-banner-categories {
    gap: 0.5rem;
  }
  
  .post-banner-categories a {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }
}

/* ============================================
   Modern Single Post Styling
   ============================================ */

.modern-post-article {
  background: #fff;
  border-radius: 16px;
  padding: 0;
  margin-bottom: calc(var(--space) * 2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

body.dark .modern-post-article {
  background: #071018;
  border-color: #0f2130;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Post Tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: calc(var(--space) * 1.5);
  padding-bottom: var(--space);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.dark .post-tags {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.post-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(245, 197, 66, 0.1);
  color: var(--accent);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(245, 197, 66, 0.2);
}

.post-tag:hover {
  background: rgba(245, 197, 66, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 197, 66, 0.2);
}

/* Post Content Wrapper */
.post-content-wrapper {
  padding: calc(var(--space) * 2);
}

.modern-content {
  font-size: 1.125rem;
  line-height: 1.9;
  color: #2d3748;
  max-width: 100%;
}

body.dark .modern-content {
  color: #e2e8f0;
}

.modern-content p {
  margin-bottom: 1.5rem;
}

.modern-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin: 2.5rem 0 1.5rem 0;
  line-height: 1.3;
  color: #1a202c;
}

body.dark .modern-content h2 {
  color: #f7fafc;
}

.modern-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
  line-height: 1.4;
  color: #2d3748;
}

body.dark .modern-content h3 {
  color: #e2e8f0;
}

.modern-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem 0;
  color: #4a5568;
}

body.dark .modern-content h4 {
  color: #cbd5e0;
}

.modern-content ul,
.modern-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.modern-content li {
  margin-bottom: 0.75rem;
}

.modern-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: rgba(245, 197, 66, 0.05);
  border-radius: 8px;
  font-style: italic;
  font-size: 1.25rem;
  color: #4a5568;
}

body.dark .modern-content blockquote {
  background: rgba(245, 197, 66, 0.1);
  color: #cbd5e0;
}

.modern-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.modern-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.modern-content a:hover {
  color: var(--accent-2);
}

.modern-content code {
  background: rgba(0, 0, 0, 0.05);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: 'Courier New', monospace;
}

body.dark .modern-content code {
  background: rgba(255, 255, 255, 0.1);
}

.modern-content pre {
  background: #1a202c;
  color: #e2e8f0;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 2rem 0;
}

body.dark .modern-content pre {
  background: #0a0e14;
}

/* Social Share Buttons */
.post-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: calc(var(--space) * 1.5);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(245, 197, 66, 0.02);
}

body.dark .post-share {
  border-top-color: rgba(255, 255, 255, 0.1);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: rgba(245, 197, 66, 0.05);
}

.share-label {
  font-weight: 600;
  color: #4a5568;
  font-size: 0.95rem;
}

body.dark .share-label {
  color: #cbd5e0;
}

.share-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  cursor: pointer;
  background: #fff;
  color: #4a5568;
}

body.dark .share-btn {
  background: #0f172a;
  color: #cbd5e0;
  border-color: rgba(255, 255, 255, 0.1);
}

.share-btn svg {
  flex-shrink: 0;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-twitter:hover {
  background: #1da1f2;
  color: #fff;
  border-color: #1da1f2;
}

.share-facebook:hover {
  background: #1877f2;
  color: #fff;
  border-color: #1877f2;
}

.share-linkedin:hover {
  background: #0a66c2;
  color: #fff;
  border-color: #0a66c2;
}

.share-copy:hover {
  background: var(--accent);
  color: #1a1a1a;
  border-color: var(--accent);
}

/* Enhanced Author Bio */
.modern-author-bio {
  padding: calc(var(--space) * 2);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(245, 197, 66, 0.02);
}

body.dark .modern-author-bio {
  border-top-color: rgba(255, 255, 255, 0.1);
  background: rgba(245, 197, 66, 0.05);
}

.author-bio-content {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.author-avatar-large img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  object-fit: cover;
}

.author-info {
  flex: 1;
}

.author-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.author-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: #1a202c;
}

body.dark .author-name {
  color: #f7fafc;
}

.author-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.author-link:hover {
  color: var(--accent-2);
  text-decoration: underline;
}

.author-description {
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1rem;
}

body.dark .author-description {
  color: #cbd5e0;
}

.author-stats {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #718096;
  font-weight: 500;
}

body.dark .author-stats {
  color: #a0aec0;
}

/* Related Posts */
.related-posts {
  padding: calc(var(--space) * 2);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

body.dark .related-posts {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.related-posts-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 calc(var(--space) * 1.5) 0;
  color: #1a202c;
}

body.dark .related-posts-title {
  color: #f7fafc;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.related-post-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

body.dark .related-post-card {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.1);
}

.related-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.related-post-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.related-post-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #f3f4f6;
}

.related-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-post-card:hover .related-thumbnail {
  transform: scale(1.1);
}

.related-post-content {
  padding: 1.25rem;
}

.related-post-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
  color: #1a202c;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.dark .related-post-title {
  color: #f7fafc;
}

.related-post-date {
  font-size: 0.875rem;
  color: #718096;
}

body.dark .related-post-date {
  color: #a0aec0;
}

/* Responsive Modern Post */
@media (max-width: 768px) {
  .post-content-wrapper {
    padding: var(--space);
  }
  
  .modern-content {
    font-size: 1rem;
  }
  
  .modern-content h2 {
    font-size: 1.75rem;
  }
  
  .modern-content h3 {
    font-size: 1.25rem;
  }
  
  .post-share {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .share-buttons {
    width: 100%;
  }
  
  .share-btn {
    flex: 1;
    justify-content: center;
  }
  
  .author-bio-content {
    flex-direction: column;
    text-align: center;
  }
  
  .author-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
}





/* ===================================
   ABOUT PAGE BANNER
   =================================== */

.about-page-banner {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2c3e50;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  margin-bottom: 0;
}

.about-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 62, 80, 0.85);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.about-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 60px 20px;
}

.about-banner-container {
  max-width: 800px;
  margin: 0 auto;
}

.about-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  color: white;
  animation: fadeInUp 0.8s ease-out;
}

.about-banner-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  margin-bottom: 30px;
  opacity: 0.95;
  color: white;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
  display: none; /* Hidden as per design */
}

.about-banner-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.about-banner-breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: var(--transition);
}

.about-banner-breadcrumb a:hover {
  color: var(--accent);
}

.about-banner-breadcrumb .separator {
  opacity: 0.5;
  color: rgba(255, 255, 255, 0.7);
}

.about-banner-breadcrumb .current {
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.9);
}

.about-banner-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.about-banner-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-banner-circle.circle-1 {
  width: 400px;
  height: 400px;
  top: -150px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.about-banner-circle.circle-2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: 5%;
  animation: float 10s ease-in-out infinite reverse;
}

.about-banner-circle.circle-3 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: -80px;
  animation: float 12s ease-in-out infinite;
}

/* ===================================
   MAIN ABOUT PAGE
   =================================== */

.modern-about-page {
  position: relative;
  background: var(--bg-light);
  padding: 80px 0;
  overflow: hidden;
}

.about-background-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.about-background-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.03;
}

.about-background-shapes .shape-1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: 10%;
  right: -200px;
  animation: float 20s ease-in-out infinite;
}

.about-background-shapes .shape-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-2);
  top: 50%;
  left: -150px;
  animation: float 15s ease-in-out infinite reverse;
}

.about-background-shapes .shape-3 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  bottom: 20%;
  right: 10%;
  animation: float 18s ease-in-out infinite;
}

.about-background-shapes .shape-4 {
  width: 500px;
  height: 500px;
  background: var(--accent-2);
  bottom: -100px;
  left: 20%;
  animation: float 22s ease-in-out infinite reverse;
}

/* ===================================
   SECTION STYLES
   =================================== */

.about-section {
  position: relative;
  z-index: 1;
  padding: 60px 0;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-container.reverse {
  direction: ltr;
}

.about-container.reverse .section-illustration {
  order: -1;
}

.section-content {
  padding: 20px 0;
}

.section-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeIn 0.6s ease-out forwards;
}

.section-icon svg {
  width: 100%;
  height: 100%;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.section-text {
  font-family: var(--font-body);
  color: var(--text-light);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.8;
}

.section-text p {
  margin-bottom: 20px;
}

.section-text p:last-child {
  margin-bottom: 0;
}

/* ===================================
   SLIDE ANIMATIONS
   =================================== */

.slide-in-left {
  opacity: 0;
  transform: translateX(-60px);
  animation: slideInLeft 0.8s ease-out 0.3s forwards;
}

.slide-in-right {
  opacity: 0;
  transform: translateX(60px);
  animation: slideInRight 0.8s ease-out 0.3s forwards;
}

.slide-in-up {
  opacity: 0;
  transform: translateY(40px);
  animation: slideInUp 0.8s ease-out 0.3s forwards;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* ===================================
   ILLUSTRATION STYLES
   =================================== */

.section-illustration {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Overview Illustration */
.illustration-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
}

.floating-element {
  position: absolute;
  width: 120px;
  height: 120px;
  animation: float 6s ease-in-out infinite;
}

.floating-element.element-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.floating-element.element-2 {
  top: 50%;
  right: 15%;
  animation-delay: 1s;
}

.floating-element.element-3 {
  bottom: 15%;
  left: 30%;
  animation-delay: 2s;
}

.floating-element svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

/* Mission Illustration */
.mission-visual {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
}

.mission-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.15;
}

.mission-circle.circle-outer {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  animation: pulse 3s ease-in-out infinite;
}

.mission-circle.circle-middle {
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  animation: pulse 3s ease-in-out infinite 0.5s;
}

.mission-circle.circle-inner {
  width: 40%;
  height: 40%;
  top: 30%;
  left: 30%;
  animation: pulse 3s ease-in-out infinite 1s;
}

.mission-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
}

.mission-icon svg {
  width: 100%;
  height: 100%;
  animation: rotate 20s linear infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.15;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.25;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Purpose Illustration */
.purpose-visual {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.purpose-book {
  animation: float 8s ease-in-out infinite;
}

.purpose-book svg {
  width: 200px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.12));
}

/* Vision Illustration */
.vision-visual {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vision-lighthouse svg {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.12));
  animation: float 10s ease-in-out infinite;
}

.vision-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.4;
  animation: particleFloat 4s ease-in-out infinite;
}

.particle.p-1 {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.particle.p-2 {
  top: 30%;
  right: 25%;
  animation-delay: 0.5s;
}

.particle.p-3 {
  top: 50%;
  left: 15%;
  animation-delay: 1s;
}

.particle.p-4 {
  bottom: 30%;
  right: 20%;
  animation-delay: 1.5s;
}

.particle.p-5 {
  bottom: 20%;
  left: 30%;
  animation-delay: 2s;
}

.particle.p-6 {
  top: 40%;
  right: 35%;
  animation-delay: 2.5s;
}

@keyframes particleFloat {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-20px);
    opacity: 0.8;
  }
}

/* ===================================
   CALL TO ACTION SECTION
   =================================== */

.about-cta-section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  margin-top: 60px;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.cta-text {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.cta-btn.primary-btn {
  background: var(--accent);
  color: var(--text-dark);
  box-shadow: 0 4px 16px rgba(245, 197, 66, 0.3);
}

.cta-btn.primary-btn:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 197, 66, 0.4);
}

.cta-btn.secondary-btn {
  background: white;
  color: var(--text-dark);
  border-color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.cta-btn.secondary-btn:hover {
  background: var(--text-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
  .about-container {
    gap: 60px;
  }
  
  .section-illustration {
    min-height: 350px;
  }
}

@media (max-width: 768px) {
  .about-page-banner {
    min-height: 300px;
  }

  .about-banner-content {
    padding: 40px 20px;
  }

  .modern-about-page {
    padding: 60px 0;
  }

  .about-section {
    padding: 40px 0;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-container.reverse .section-illustration {
    order: 0;
  }

  .section-illustration {
    min-height: 300px;
  }

  .illustration-wrapper,
  .mission-visual,
  .purpose-visual,
  .vision-visual {
    height: 300px;
  }

  .mission-visual {
    width: 250px;
  }

  .vision-lighthouse svg,
  .purpose-book svg {
    width: 160px;
  }

  .about-cta-section {
    padding: 60px 0;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-btn {
    width: 100%;
  }

  /* Adjust animations for mobile */
  .slide-in-left,
  .slide-in-right {
    animation: slideInUp 0.8s ease-out 0.3s forwards;
  }
}

@media (max-width: 480px) {
  .about-page-banner {
    min-height: 280px;
  }

  .about-banner-breadcrumb {
    font-size: 0.9rem;
  }

  .modern-about-page {
    padding: 40px 0;
  }

  .about-section {
    padding: 30px 0;
  }

  .section-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }

  .section-illustration {
    min-height: 250px;
  }

  .illustration-wrapper,
  .mission-visual,
  .purpose-visual,
  .vision-visual {
    height: 250px;
  }

  .mission-visual {
    width: 200px;
  }

  .floating-element {
    width: 80px;
    height: 80px;
  }

  .vision-lighthouse svg,
  .purpose-book svg {
    width: 140px;
  }

  .about-cta-section {
    padding: 50px 0;
  }

  .cta-btn {
    padding: 14px 32px;
    font-size: 1rem;
  }
}

/* ===================================
   ACCESSIBILITY
   =================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
.cta-btn:focus-visible,
.about-banner-breadcrumb a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .section-title,
  .cta-title {
    color: #000;
  }
  
  .section-text,
  .cta-text {
    color: #333;
  }
  
  .cta-btn.primary-btn {
    border: 2px solid currentColor;
  }
}
