.updates-hero h1,
.updates-hero p {
  color: #fff;
}
.about-hero {
  background: linear-gradient(120deg, #1a237e 0%, #1976d2 100%);
  color: #fff;
  padding: 70px 0 40px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 16px rgba(30,42,120,0.18);
}
.about-hero p {
  font-family: 'Inter', sans-serif;
  font-size: 1.35em;
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(30,42,120,0.18);
}
.about-hero .about-menu ul {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.about-hero .about-menu a {
  color: #fff;
  font-weight: 500;
  font-size: 1.08em;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 20px;
  transition: background 0.18s, color 0.18s;
}
.about-hero .about-menu a:hover {
  background: rgba(255,255,255,0.13);
  color: #e3eaff;
}
@media (max-width: 800px) {
  .about-hero {
    padding: 38px 0 24px 0;
  }
  .about-hero h1 {
    font-size: 1.5em;
  }
  .about-hero p {
    font-size: 1em;
  }
  .about-hero .about-menu ul {
    gap: 12px;
    flex-wrap: wrap;
  }
}
.about-story{
  --primary:#123b7d;
  --accent:#3b82f6;
  --bg:#f6f9ff;
  --text:#1f2937;
  --muted:#6b7280;
}
.about-story{
  padding:100px 20px;
  background:var(--bg);
  position:relative;
  overflow:hidden;
}

.story-content{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:70px;
  align-items:center;
}
.story-text-wrapper{
  position:relative;
}

.story-title{
  display:flex;
  flex-direction:column;
  margin-bottom:26px;
}

.title-main{
  font-size:0.9rem;
  letter-spacing:0.15em;
  text-transform:uppercase;
  color:var(--accent);
  font-weight:600;
}

.title-accent{
  font-size:2.6rem;
  font-family:'Playfair Display', serif;
  color:var(--primary);
}

.story-lead{
  font-size:1.15rem;
  font-weight:600;
  color:var(--text);
  margin-bottom:14px;
}

.story-body{
  color:var(--muted);
  margin-bottom:22px;
  line-height:1.8;
}
.story-highlight{
  background:#fff;
  border-left:5px solid var(--accent);
  padding:20px 24px;
  border-radius:14px;
  box-shadow:0 15px 40px rgba(0,0,0,0.08);
}

.story-highlight p{
  margin:0;
  font-style:italic;
  color:var(--text);
}
.story-visual{
  position:relative;
}

.image-container{
  position:relative;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 30px 60px rgba(0,0,0,0.18);
}

.image-container img{
  width:100%;
  display:block;
  transition:transform .6s ease;
}

.image-container:hover img{
  transform:scale(1.05);
}
.image-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    180deg,
    rgba(18,59,125,.15),
    rgba(18,59,125,.55)
  );
  pointer-events:none;
}
.decorative-elements{
  position:absolute;
  inset:0;
  pointer-events:none;
}

.floating-shape{
  position:absolute;
  border-radius:50%;
  opacity:.18;
  animation:float 10s ease-in-out infinite;
}

.shape-1{
  width:120px;
  height:120px;
  background:var(--accent);
  top:-40px;
  left:-40px;
}

.shape-2{
  width:90px;
  height:90px;
  background:var(--primary);
  bottom:-30px;
  right:40px;
  animation-delay:3s;
}

.shape-3{
  width:60px;
  height:60px;
  background:var(--accent);
  top:30%;
  right:-20px;
  animation-delay:6s;
}

@keyframes float{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-18px)}
}
@media(max-width:900px){
  .story-content{
    grid-template-columns:1fr;
    gap:50px;
  }

  .title-accent{
    font-size:2.1rem;
  }

  .story-visual{
    order:-1;
  }
}


/* Lightbox modal for book cover */
.cover-modal{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(2,6,23,0.7);z-index:4000;padding:24px}
.cover-modal.show{display:flex}
.cover-modal .cover-inner{max-width:1100px;width:100%;display:flex;align-items:center;justify-content:center}
.cover-modal img{max-width:100%;max-height:90vh;box-shadow:0 30px 80px rgba(2,6,23,0.6);border-radius:12px}
.cover-modal .close-btn{position:absolute;top:22px;right:22px;background:transparent;border:2px solid rgba(255,255,255,0.12);color:#fff;padding:8px 10px;border-radius:8px;cursor:pointer}

/* Founder bio styles */
.founder-bio {
  background: #ffffff;
  padding: 60px 0;
  border-top: 1px solid #eef2f7;
}

.founder-bio-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.founder-bio {
  background-size: cover;
  background-position: center center;
  position: relative;
}

.founder-bio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(2,6,23,0.45), rgba(2,6,23,0.45));
  z-index: 0;
}

.founder-bio-wrap {
  position: relative;
  z-index: 1;
  padding: 60px 24px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.founder-bio-image {
  flex: 0 0 260px;
}

.founder-bio-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
}

.founder-bio-content {
  flex: 1;
}

.founder-bio-content {
  background: rgba(255,255,255,0.94);
  padding: 28px 26px;
  border-radius: 12px;
}

.founder-portrait{
  flex: 0 0 110px;
  margin-right: 18px;
}
.founder-portrait img{
  width:110px;
  height:110px;
  border-radius:50%;
  object-fit:cover;
  box-shadow:0 10px 30px rgba(2,6,23,0.18);
  display:block;
}
.founder-bio-content{
  display:flex;
  align-items:center;
}
.founder-bio-text{flex:1}
@media (max-width:768px){
  .founder-portrait{margin:0 auto 18px auto}
  .founder-bio-content{flex-direction:column;align-items:center;text-align:center}
  .founder-bio-text{width:100%}
}

.founder-bio-content h2 {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 6px;
}

.founder-bio-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #4f46e5;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.founder-bio-content p {
  font-size: 15.5px;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .founder-bio-wrap {
    flex-direction: column;
  }

  .founder-bio-image {
    max-width: 220px;
    margin: 0 auto;
  }

  .founder-bio-content {
    text-align: center;
  }
}
.founder-bio-content {
  border-left: 4px solid #4f46e5;
  padding-left: 22px;
}
.founder-quote {
  margin: 12px 0 18px 0;
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  background: #f8fafc;
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 4px solid #4f46e5;
}


.about-hero p {
  color: #fff;
}
.books-hero p {
  color: #fff;
}
.team-social {
  margin-top: 18px;
  display: flex;
  gap: 14px;
}
.team-social .social-link {
  color: #3b3b3b;
  font-size: 1.3em;
  transition: color 0.2s;
}
.team-social .social-link:hover {
  color: #0077b5; /* LinkedIn blue as accent */
}
/* WeCare Club Global — responsive professional styles */
:root{
	--max-width:1100px;
	--primary:#1e3a8a; /* Professional Navy Blue */
	--secondary:#059669; /* Professional Green */
	--accent:#d97706; /* Professional Amber */
	--success:#10b981; /* Professional Green for success states */
	--warning:#f59e0b; /* Professional Amber for warning states */
	--text-dark:#1f2937; /* Dark Gray */
	--text:#374151; /* Medium Gray */
	--bg:#f8fafc; /* Light Gray Background */
	--card:#ffffff; /* White */
	--border:#e5e7eb; /* Light Border */
	--white:#ffffff;
	--radius:12px;
	--gap:20px;
	--shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* consistent box-sizing to avoid overflow issues */
html{box-sizing:border-box}
*,*::before,*::after{box-sizing:inherit}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}



@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.wrap{max-width:1200px;margin:0 auto;padding:32px 24px}
h1,h2,h3,h4{font-family:'Times New Roman', serif;color:var(--text-dark);margin:0 0 16px;font-weight:700;letter-spacing:-0.02em;line-height:1.2}
h1{font-size:clamp(2.5rem,5vw,4rem);line-height:1.1;letter-spacing:-0.03em;font-weight:800}
h2{font-size:clamp(2rem,4vw,2.5rem);line-height:1.2;letter-spacing:-0.02em;font-weight:700}
h3{font-size:clamp(1.5rem,3vw,1.8rem);line-height:1.3;letter-spacing:-0.01em;font-weight:600}
h4{font-size:1.25rem;line-height:1.4;letter-spacing:0;font-weight:600}
h5{font-size:1.1rem;line-height:1.5;font-weight:600;text-transform:uppercase;letter-spacing:0.1em;color:var(--primary)}
h6{font-size:1rem;line-height:1.6;font-weight:500}
.section-divider{width:80px;height:3px;background:linear-gradient(90deg, var(--primary), var(--secondary));margin:0 auto 24px;border-radius:2px;animation: slideInLeft 1s ease-out 0.3s both}
.section-description{text-align:center;color:var(--text);font-size:1.15rem;line-height:1.7;margin-bottom:40px;max-width:700px;margin-left:auto;margin-right:auto;font-style:italic;letter-spacing:0.01em;padding:20px;background:linear-gradient(135deg, rgba(255,255,255,0.8), rgba(248,250,252,0.9));border-radius:12px;border:1px solid rgba(255,255,255,0.3);animation: fadeInUp 1s ease-out 0.5s both}
body{font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;line-height:1.7;margin:0;color:var(--text);background:linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%), radial-gradient(circle at 20% 80%, rgba(30,58,138,0.05) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(5,150,105,0.05) 0%, transparent 50%), radial-gradient(circle at 50% 50%, rgba(217,119,6,0.02) 0%, transparent 70%);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;letter-spacing:0.01em;text-rendering:optimizeLegibility;font-feature-settings:"kern" 1,"liga" 1,"calt" 1,"pnum" 1,"tnum" 0,"onum" 1,"lnum" 0,"dlig" 0}

/* Typography System */
.display-font{font-family:'Times New Roman', serif}
.body-font{font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif}
.accent-font{font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif}

.text-xs{font-size:0.75rem;line-height:1.5}
.text-sm{font-size:0.875rem;line-height:1.6}
.text-base{font-size:1rem;line-height:1.7}
.text-lg{font-size:1.125rem;line-height:1.7}
.text-xl{font-size:1.25rem;line-height:1.6}
.text-2xl{font-size:1.5rem;line-height:1.5}
.text-3xl{font-size:1.875rem;line-height:1.4}
.text-4xl{font-size:2.25rem;line-height:1.3}
.text-5xl{font-size:3rem;line-height:1.2}
.text-6xl{font-size:3.75rem;line-height:1.1}

.font-light{font-weight:300}
.font-normal{font-weight:400}
.font-medium{font-weight:500}
.font-semibold{font-weight:600}
.font-bold{font-weight:700}
.font-extrabold{font-weight:800}
.font-black{font-weight:900}

.tracking-tight{letter-spacing:-0.025em}
.tracking-normal{letter-spacing:0}
.tracking-wide{letter-spacing:0.025em}
.tracking-wider{letter-spacing:0.05em}
.tracking-widest{letter-spacing:0.1em}

.leading-tight{line-height:1.25}
.leading-snug{line-height:1.375}
.leading-normal{line-height:1.5}
.leading-relaxed{line-height:1.625}
.leading-loose{line-height:2}

/* Enhanced Typography */
p{margin:0 0 1rem;font-size:1rem;line-height:1.7;color:var(--text);font-weight:400}

a{color:var(--primary);text-decoration:none;transition:color 0.3s ease}
a:hover{color:var(--secondary);text-decoration:underline}

strong,b{font-weight:600}
em,i{font-style:italic}

blockquote{border-left:4px solid var(--primary);padding-left:1rem;margin:1.5rem 0;font-style:italic;color:var(--text);background:rgba(30,58,138,0.05);padding:1rem;border-radius:0 8px 8px 0}

code{background:rgba(0,0,0,0.05);padding:0.125rem 0.25rem;border-radius:3px;font-family:'Monaco', 'Menlo', 'Ubuntu Mono', monospace;font-size:0.9em}
pre{background:#f8f9fa;padding:1rem;border-radius:8px;overflow-x:auto;border:1px solid #e9ecef}
pre code{background:none;padding:0}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0}
/* ===== ULTRA-LUXURY BRAND IDENTITY ===== */

.brand{display:flex;align-items:center;text-decoration:none;color:inherit;}
.logo{max-width:112px;max-height:112px;width:auto;height:auto;border-radius:12px;margin-right:1rem;position:relative;z-index:10;transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);box-shadow:0 4px 20px rgba(0,0,0,0.3)}
.logo-container {
    display: flex;
    align-items: center;
    position: relative;
    margin-left: 1rem;
}


/* ===== ULTRA-LUXURY NAVIGATION SYSTEM ===== */

.nav-container{position:relative}
.nav-toggle{display:none;background:linear-gradient(135deg, rgba(30,58,138,0.9) 0%, rgba(59,130,246,0.8) 100%);border:none;width:60px;height:60px;border-radius:50%;cursor:pointer;position:relative;overflow:hidden;transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);box-shadow:0 8px 25px rgba(30,58,138,0.3), inset 0 1px 0 rgba(255,255,255,0.2)}
.nav-toggle::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at center, rgba(255,255,255,0.2) 0%, transparent 70%);opacity:0;transition:opacity 0.3s ease}
.nav-toggle:hover::before{opacity:1}
.nav-toggle:hover{transform:scale(1.05) rotate(5deg);box-shadow:0 12px 35px rgba(30,58,138,0.4), inset 0 1px 0 rgba(255,255,255,0.3)}
.nav-toggle-line{display:block;width:24px;height:2px;background:#ffffff;margin:6px auto;border-radius:1px;transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);position:relative}
.nav-toggle.active .nav-toggle-line:nth-child(1){transform:rotate(45deg) translate(6px, 6px)}
.nav-toggle.active .nav-toggle-line:nth-child(2){opacity:0}
.nav-toggle.active .nav-toggle-line:nth-child(3){transform:rotate(-45deg) translate(6px, -6px)}
.nav-toggle-glow{position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle, rgba(59,130,246,0.3) 0%, transparent 70%);opacity:0;transition:opacity 0.4s ease;pointer-events:none}
.nav-toggle:hover .nav-toggle-glow{opacity:1}
.nav-close{display:none;background:linear-gradient(135deg, rgba(30,58,138,0.9) 0%, rgba(59,130,246,0.8) 100%);border:none;width:44px;height:44px;border-radius:50%;cursor:pointer;position:relative;overflow:hidden;transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);box-shadow:0 6px 20px rgba(30,58,138,0.3), inset 0 1px 0 rgba(255,255,255,0.2)}
.nav-close-line{position:absolute;top:50%;left:50%;width:20px;height:2px;background:#ffffff;border-radius:1px;transition:all 0.3s ease}
.nav-close-line:first-child{transform:translate(-50%, -50%) rotate(45deg)}
.nav-close-line:last-child{transform:translate(-50%, -50%) rotate(-45deg)}
.nav-close:hover{transform:scale(1.1) rotate(90deg);box-shadow:0 8px 25px rgba(30,58,138,0.4), inset 0 1px 0 rgba(255,255,255,0.3)}
/* ===== ENHANCED HEADER STYLES ===== */

.site-header {
    background: #1e3a8a;
    position: sticky;
    top: 0;
    z-index: 60;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(30,58,138,0.3);
    margin: 0 auto;
    gap: 2rem;
}

.header-newsletter {
    display: flex;
    align-items: center;
}

.header-newsletter .newsletter-form {
    display: flex;
    gap: 8px;
    max-width: 300px;
}

.founder-feature {
  background: #f9fafb;
}

.founder-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(16, 24, 40, 0.06);
}

.founder-avatar {
  flex: 0 0 80px;
}

.founder-avatar .avatar {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #e0e7ff;
  transition: transform 0.22s ease;
}

.founder-avatar .avatar:hover {
  transform: scale(1.04);
}

.founder-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.founder-text h4 {
  margin: 0 0 4px 0;
  font-size: 17px;
  font-weight: 700;
  color: #111827;
}

.founder-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #4b5563;
}

.about-btn {
  display: inline-block;
  padding: 10px 16px;
  background: #4f46e5;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  box-shadow: 0 6px 18px rgba(18,59,125,0.12);
  line-height:1;
}

.about-btn:hover {
  background: #4338ca;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(18,59,125,0.14);
}
.about-btn:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(59,130,246,0.12);
}
@media (max-width: 768px) {
  .founder-wrap {
    flex-direction: column;
    text-align: center;
  }

  .founder-content {
    flex-direction: column;
  }

  .about-btn {
    margin-top: 6px;
  }
}
.founder-feature {
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.founder-wrap {
  border-left: 3px solid #6366f1;
}

/* Founder-specific button: outline style */
.founder-feature .about-btn {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.18s ease;
}

.founder-feature .about-btn:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(99,102,241,0.12);
}

.header-newsletter .newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    color: #ffffff;
    font-family: sans-serif;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header-newsletter .newsletter-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.header-newsletter .newsletter-form input:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
}

.header-newsletter .newsletter-form button {
    padding: 10px 20px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #ffffff;
    border: none;
    border-radius: 20px;
    font-family: sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59,130,246,0.3);
}

.header-newsletter .newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59,130,246,0.4);
}

.header-main {
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 32px rgba(30,58,138,0.3);
    z-index: 1010;
}

.header-main .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
}

.header-account {
    background: var(--primary);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.account-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
}

.account-nav {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.account-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.account-nav a:hover {
    background: rgba(255,255,255,0.1);
}

/* Enhanced Brand Section */
.brand {
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.brand:hover {
    transform: scale(1.02);
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
}

.brand:hover .logo {
    transform: rotate(5deg) scale(1.05);
}

/* Enhanced Mobile Toggle */
.nav-toggle {
    display: none;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-toggle:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: scale(1.05);
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 3px;
    background: #ffffff;
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Enhanced Navigation */
.site-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px; /* tighter gap for compact menu */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  justify-content: center;
}

.site-nav a {
  margin: 0;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  padding: 8px 12px; /* further reduced padding */
  border-radius: 14px; /* smaller radius to match compact size */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  background: transparent;
  font-family: sans-serif;
  font-size: 0.85rem; /* adjusted for better visibility */
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 2px solid transparent;
}

.site-nav a:hover {
    background: rgba(255,255,255,0.1);
    color: #ffffff;
}

.nav-menu {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    align-items: center;
}

.nav-menu a i {
    display: inline-block;
    margin-right: 8px;
    width: 1em;
    text-align: center;
    vertical-align: middle;
    font-size: 0.95em;
}

@media (min-width: 769px) {
    .header-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .nav-menu {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .nav-links {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .nav-links a {
        white-space: nowrap;
        color: #ffffff;
        text-decoration: none;
        transition: color 0.3s ease;
        font-weight: 500;
        font-size: 0.95rem;
    }
    .nav-links a:hover {
        color: var(--accent);
    }

    /* Laptop / Desktop: change nav font and add spacing between menu items */
    @media (min-width: 769px) {
      .nav-links {
        gap: 26px; /* more breathing room */
      }
      .nav-links a, .nav-menu .login-link {
        font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
        font-size: 1rem;
        letter-spacing: 0.02em;
        padding: 6px 4px;
      }
      .nav-menu .login-link { padding: 8px 14px; }
    }
    .nav-menu a i {
        display: none;
    }
    .nav-menu .login-link i {
        display: inline-block;
    }
    .nav-menu .login-link {
        background: rgba(255,255,255,0.1);
        padding: 8px 12px;
        border-radius: 6px;
        transition: background 0.3s ease;
    }
    .nav-menu .login-link:hover {
        background: rgba(255,255,255,0.2);
    }
    .nav-social {
        display: flex;
        gap: 10px;
    }
    .nav-social a {
        color: #ffffff;
        text-decoration: none;
        font-size: 1.1em;
        transition: color 0.3s ease, transform 0.3s ease;
    }
    .nav-social a:hover {
        color: var(--accent);
        transform: scale(1.1);
    }
    .site-nav {
        display: none;
    }
    .nav-toggle {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-wrap {
        padding: 12px 0;
    }

    .logo {
        max-width: 100px;
        max-height: 100px;
    }
}

.nav-header {
    display: none;
}

.nav-search {
    display: none;
}

.nav-account {
    display: none;
}

.nav-social {
    display: none;
    gap: 15px;
}

.nav-social i {
    font-size: 1.2em;
}

/* Nav Toggle */
.nav-toggle {
    display: none;
}

/* Header User */
.header-user {
    position: relative;
    margin-left: 1rem;
}

.user-toggle {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.user-toggle:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
}

.user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--primary);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background 0.3s ease;
}

.user-menu a:hover {
    background: rgba(255,255,255,0.1);
}

.user-menu a:last-child {
    border-bottom: none;
}

/* Social Navigation in Header */
.social-nav {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-right: 1rem;
}

.social-nav .social-link {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.social-nav .social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.social-nav .social-link:hover::before {
    left: 100%;
}

.social-nav .social-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(30,58,138,0.4), 0 4px 12px rgba(30,58,138,0.2);
    border-color: rgba(255,255,255,0.4);
}

/* Individual social platform colors */
.social-nav .social-link[href*="facebook"] { color: #1877f2; }
.social-nav .social-link[href*="twitter"] { color: #1da1f2; }
.social-nav .social-link[href*="instagram"] { color: #e4405f; }
.social-nav .social-link[href*="linkedin"] { color: #0077b5; }

/* Header Background Effects */
.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.header-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59,130,246,0.1) 0%, rgba(30,58,138,0.1) 100%);
}

.header-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background-image: radial-gradient(circle at 20% 80%, #ffffff 1px, transparent 1px), radial-gradient(circle at 80% 20%, #ffffff 1px, transparent 1px);
    background-size: 40px 40px;
    animation: float 20s ease-in-out infinite;
}

.hero{position:relative;overflow:hidden}
.hero-slider{height:auto;background-size:cover;background-repeat:no-repeat;background-position:center}
.slide{display:flex;align-items:center;justify-content:flex-start;position:relative}
.slide::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.5);z-index:0}
.slide-content{color:#ffffff;padding:4rem 10%;z-index:1;position:relative;text-align:left}
.slide-content h2{font-family:sans-serif;font-size:clamp(3rem,7vw,5rem);margin:0 0 1.5rem;color:#ffffff;line-height:1.1;font-weight:700;letter-spacing:-0.02em;text-shadow:2px 2px 4px rgba(0,0,0,0.7);animation:fadeInUp 1.5s ease-out}
.slide-content .lead{color:#ffffff;font-size:1.3rem;margin-bottom:2.5rem;line-height:1.7;letter-spacing:0.01em;text-shadow:2px 2px 4px rgba(0,0,0,0.7);animation:fadeInUp 1.5s ease-out 0.3s both;font-family:sans-serif;font-weight:300}
.hero-ctas{margin-top:2rem;display:flex;justify-content:flex-start;gap:1rem;flex-wrap:wrap}
#about.panel{padding:56px 0;margin-bottom:40px}
.slider-prev, .slider-next{position:absolute;bottom:20px;width:50px;height:50px;background:rgba(0,0,0,0.7);border:1px solid rgba(255,255,255,0.5);color:#ffffff;font-size:24px;border-radius:50%;cursor:pointer;transition:background 0.3s ease;z-index:20;backdrop-filter:blur(5px)}
.slider-next{right:20px}
.slider-prev{right:80px}
.slider-prev:hover, .slider-next:hover{background:rgba(0,0,0,0.9)}
.alert-error{background:#fdecea;color:#842029;border:1px solid #f5c2c7}
.alert-success{background:#e6f6ec;color:#166534;border:1px solid #bbf7d0}

.btn{transition:transform .08s ease,box-shadow .12s ease}
.btn:active{transform:translateY(1px)}

input:focus,textarea:focus{outline:none;box-shadow:0 6px 18px rgba(0,119,182,0.08);border-color:var(--accent)}

/* ===== ULTRA-LUXURY MOBILE NAVIGATION ===== */

@media (max-width:768px){
	.nav-toggle{display:block}
  .site-nav{position:absolute;top:100%;left:5%;width:90%;background:rgba(3,7,18,0.95);z-index:1002;padding:0;opacity:0;visibility:hidden;transform:translateY(-20px);transition:opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;max-height:80vh;overflow-y:auto;border-radius:0 0 12px 12px}
	.site-nav.open{opacity:1;visibility:visible;transform:translateY(0)}
	.nav-menu{display: none;}
	.nav-social{display: none;}
  .site-nav.open .nav-menu-mobile{display:flex;flex-direction:column;padding:14px 0}
  .site-nav.open .nav-menu-mobile a{color:#ffffff;text-decoration:none;padding:10px 14px;transition:background 0.22s ease;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;font-weight:500;font-size:0.92rem;letter-spacing:0.02em}

  /* tighter spacing, clearer icons for mobile menu */
  .site-nav.open .nav-menu-mobile a{display:flex;align-items:center;gap:10px;padding:12px 18px;font-size:0.95rem;line-height:1.25}
  .site-nav.open .nav-menu-mobile a i{font-size:1rem;width:26px;text-align:center;color:rgba(255,255,255,0.95)}
  .site-nav.open .nav-menu-mobile a span{flex:1}
/* Slightly smaller mobile menu text on very small viewports */
@media (max-width:420px) {
  .site-nav.open .nav-menu-mobile a { font-size:0.9rem; padding:10px 16px; }
  .site-nav.open .nav-menu-mobile a { display:flex; align-items:center; gap:10px; }

  /* make close button easier to reach */
  .site-nav.open .nav-header{padding:12px 16px}
  .nav-close{width:44px;height:44px}
}
	.site-nav.open .nav-menu-mobile a:hover{background:rgba(255,255,255,0.1)}

  /* mobile menu search (inside opened nav) */
  .site-nav.open .nav-menu-mobile .nav-search{margin:12px 16px;padding:8px 0;border-bottom:1px solid rgba(255,255,255,0.06)}
  .site-nav.open .nav-menu-mobile .nav-search form{display:flex;align-items:center;background:rgba(255,255,255,0.04);border-radius:8px;overflow:hidden;padding:6px}
  .site-nav.open .nav-menu-mobile .nav-search input{flex:1;border:none;background:transparent;padding:8px 10px;color:#ffffff;font-size:0.95rem;outline:none}
  .site-nav.open .nav-menu-mobile .nav-search input::placeholder{color:rgba(255,255,255,0.65)}
  .site-nav.open .nav-menu-mobile .nav-search button{border:none;background:var(--accent);color:#ffffff;padding:8px 10px;border-radius:6px;cursor:pointer}

  /* mobile menu social row (distinct class so header socials remain hidden) */
  .site-nav.open .nav-menu-mobile .nav-social-mobile{display:flex;justify-content:center;gap:12px;margin:14px 0 6px;padding-top:12px;border-top:1px solid rgba(255,255,255,0.06)}
  .site-nav.open .nav-menu-mobile .nav-social-mobile a{color:#ffffff;font-size:1.05rem;transition:transform 0.18s ease;margin:0 6px;text-decoration:none;padding:8px;border-radius:50%;background:rgba(255,255,255,0.03);width:40px;height:40px;display:flex;align-items:center;justify-content:center}
  .site-nav.open .nav-menu-mobile .nav-social-mobile a:hover{transform:translateY(-3px);background:rgba(255,255,255,0.12)}

/* Responsive viewport height adjustments */
@media (max-width: 480px) {
  .hero-slider {
    height: 70vh !important;
    min-height: 350px;
  }

  .slides h1 {
    font-size: 2rem;
  }

  .slides p {
    font-size: 1rem;
  }

  .about-home {
    padding: 40px 5%;
  }

  .projects-section {
    padding: 40px 5%;
  }

  .slider-container {
    padding: 0 30px;
  }

  .project-card {
    min-width: 220px;
  }
}

@media (max-width: 360px) {
	.site-nav{max-height:90vh}
}

@media (max-height: 600px) {
	.site-nav{max-height:95vh}
	.site-nav.open .nav-menu{padding:15px 0}
	.site-nav.open .nav-menu a{padding:14px 20px;font-size:0.9rem}
	.site-nav.open .nav-menu .nav-account a{padding:12px 16px;font-size:0.85rem}
}

/* Custom scrollbar for mobile nav */
.site-nav::-webkit-scrollbar {
	width: 4px;
}

.site-nav::-webkit-scrollbar-track {
	background: rgba(255,255,255,0.1);
	border-radius: 2px;
}

.site-nav::-webkit-scrollbar-thumb {
	background: rgba(255,255,255,0.3);
	border-radius: 2px;
}

.site-nav::-webkit-scrollbar-thumb:hover {
	background: rgba(255,255,255,0.5);
}
	.site-nav.open .nav-menu .nav-search{margin:15px 20px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,0.1)}
	.site-nav.open .nav-menu .nav-search form{display:flex;align-items:center;background:rgba(255,255,255,0.1);border-radius:8px;overflow:hidden}
	.site-nav.open .nav-menu .nav-search input{flex:1;border:none;background:transparent;padding:8px 12px;color:#ffffff;font-size:0.9rem;outline:none}
	.site-nav.open .nav-menu .nav-search input::placeholder{color:rgba(255,255,255,0.7)}
	.site-nav.open .nav-menu .nav-search button{border:none;background:var(--accent);color:#ffffff;padding:8px 12px;cursor:pointer}
	.site-nav.open .nav-menu .nav-account{margin:15px 20px 0;padding:10px 0;border-top:1px solid rgba(255,255,255,0.1)}
	.site-nav.open .nav-menu .nav-account a{display:block;color:#ffffff;padding:14px 20px;text-decoration:none;font-weight:500;margin:0 4px;border-bottom:1px solid rgba(255,255,255,0.1);border-radius:8px;margin-bottom:8px;transition:color 0.2s ease}
	.site-nav.open .nav-menu .nav-account a i{margin-right:10px;width:16px;text-align:center}
	.site-nav.open .nav-menu .nav-account a:hover{color:var(--accent)}
	.site-nav.open .nav-menu a{display:block;color:#ffffff;padding:18px 24px;text-decoration:none;font-weight:500;margin:0 4px;border-bottom:1px solid rgba(255,255,255,0.1);border-radius:8px;margin-bottom:6px;transition:color 0.2s ease}
	.site-nav.open .nav-menu a i{margin-right:10px;width:16px;text-align:center}
	.site-nav.open .nav-menu a:hover{color:var(--accent)}
	.site-nav.open .nav-menu a:hover{background:rgba(255,255,255,0.1)}
	.nav-social{display:flex;justify-content:center;gap:15px;margin-top:10px;padding:20px 0;border-top:2px solid rgba(255,255,255,0.2);background:linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);border-radius:0 0 12px 12px}
	.nav-social a{color:#ffffff;font-size:1.2rem;transition:all 0.3s ease;margin:0 5px;text-decoration:none;opacity:0.8;padding:12px;border-radius:50%;background:rgba(255,255,255,0.05);width:44px;height:44px;display:flex;align-items:center;justify-content:center}
	.nav-social a:hover{transform:scale(1.1);color:#ffffff;opacity:1;background:rgba(255,255,255,0.15);box-shadow:0 4px 12px rgba(0,0,0,0.2)}
	.account-nav{flex-direction:column;gap:12px}
	.account-nav a{display:block;text-align:center}

	.nav-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.6);z-index:1001;animation:fadeIn 0.3s ease;display:none;pointer-events:none}
	.nav-header{display:none}
	.site-nav.open .nav-header{display:flex;align-items:center;justify-content:flex-end;padding:2rem;border-bottom:1px solid rgba(255,255,255,0.2);margin-bottom:2rem}
	.nav-brand-mobile{display:flex;align-items:center;font-family:sans-serif;font-weight:700;font-size:1.1rem;color:#ffffff}
	.nav-mobile-logo{max-width:80px;max-height:80px;width:auto;height:auto;border-radius:8px;margin-right:0.8rem}
	.nav-brand-text{display:flex;flex-direction:column;line-height:1.1}
	.nav-brand-main{font-family:sans-serif;font-weight:700;font-size:1.1rem;color:#ffffff;letter-spacing:0.02em;display:block;line-height:1.2;text-shadow:0 1px 2px rgba(0,0,0,0.1)}
	.nav-brand-sub{font-family:sans-serif;font-weight:500;font-size:0.9rem;color:rgba(255,255,255,0.8);letter-spacing:0.02em;display:block;line-height:1.2;text-shadow:0 1px 2px rgba(0,0,0,0.1)}
	.nav-close{display:block;background:linear-gradient(135deg, rgba(30,58,138,0.9) 0%, rgba(59,130,246,0.8) 100%);border:none;width:44px;height:44px;border-radius:50%;cursor:pointer;position:relative;overflow:hidden;transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);box-shadow:0 6px 20px rgba(30,58,138,0.3), inset 0 1px 0 rgba(255,255,255,0.2)}
	.nav-close-line{position:absolute;top:50%;left:50%;width:20px;height:2px;background:#ffffff;border-radius:1px;transition:all 0.3s ease}
	.nav-close-line:first-child{transform:translate(-50%, -50%) rotate(45deg)}
	.nav-close-line:last-child{transform:translate(-50%, -50%) rotate(-45deg)}
	.nav-close:hover{transform:scale(1.1) rotate(90deg);box-shadow:0 8px 25px rgba(30,58,138,0.4), inset 0 1px 0 rgba(255,255,255,0.3)}
	.nav-menu{padding:0 2rem}
	.brand-text{display:none}
  .header-search{display:none}
  .header-account{display:none}
  /* show user icon on mobile between logo and menu toggle */
  .header-user{display:flex;align-items:center;margin-left:8px}
  .user-toggle{width:40px;height:40px;padding:6px;border-radius:999px;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.12)}
  .user-toggle i{color:#ffffff;font-size:1rem}
}

/* Social media in mobile nav */
.nav-social{display:flex;justify-content:center;gap:8px;margin-top:10px;padding:5px 0}
.nav-social a{color:#ffffff;font-size:1rem;transition:transform 0.2s ease;margin:0 3px;text-decoration:none;opacity:0.8}
.nav-social a:hover{transform:scale(1.05);color:#ffffff;opacity:1}

/* avatar styling */
.user-avatar{width:36px;height:36px;border-radius:999px;object-fit:cover;border:2px solid rgba(255,255,255,0.12);display:block}

/* Temporary test: Mobile nav open styles outside media query */
/* ===== JAVASCRIPT ENHANCED ANIMATIONS ===== */

.nav-link.animate-in {
	animation: slideInFromLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
	opacity: 0;
	transform: translateX(-30px);
}

@keyframes slideInFromLeft {
	from {
		opacity: 0;
		transform: translateX(-30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
	transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
	opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -6px);
}

.hero-icon{text-align:center;margin-bottom:2rem}
.hero-icon img{max-width:150px;max-height:150px;border-radius:10px;filter:drop-shadow(0 4px 8px rgba(0,0,0,0.3))}
.btn{display:inline-block;padding:14px 32px;border-radius:8px;text-decoration:none;background:linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);color:#ffffff;font-weight:600;border:none;box-shadow:0 4px 15px rgba(18,59,125,0.3);transition:transform .3s ease, box-shadow .3s ease, background .3s ease;font-size:0.95rem;font-family:'Poppins', sans-serif;letter-spacing:0.025em;text-transform:uppercase;font-weight:600;text-align:center}
.btn.secondary{background:linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);border:none}
.btn:hover{transform:translateY(-3px);box-shadow:0 8px 25px rgba(18,59,125,0.4);background:linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%)}

.panel{padding:56px 0;margin-bottom:40px;animation: fadeInUp 1s ease-out 0.2s both}
.panel.alt{background:linear-gradient(180deg,#fff, #fbfdff)}

#updates {
  /* Use the site panel background instead of an image for consistency */
  background: linear-gradient(180deg,#fff, #fbfdff);
  color: inherit;
}

#updates h3, #updates h4, #updates p {
  color: inherit;
  text-shadow: none;
}

/* Hero Slider */
.hero-slider {
  height: 90vh;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-slider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.8));
  z-index: 1;
}

.slides {
  position: absolute;
  text-align: center;
  max-width: 700px;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 2;
}

.slides.active {
  opacity: 1;
}

.slides h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.slides p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #f1f5f9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.btn {
  padding: 16px 36px;
  background: linear-gradient(135deg, #2d7df6, #1e5fd6);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(45, 125, 246, 0.4);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: inline-block;
}

.btn:hover {
  background: linear-gradient(135deg, #1e5fd6, #0f4bb8);
  box-shadow: 0 6px 20px rgba(45, 125, 246, 0.6);
  transform: translateY(-2px);
  border-color: #ffffff;
}

/* About Section */
.about-home {
  padding: 80px 10%;
  background-color: #f9fafc;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h5 {
  color: #2d7df6;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 10px;
}

.about-text h2 {
  font-size: 36px;
  color: #0f172a;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
}

/* Mission / Vision — premium two-column split */
.about-mission-vision {
  background: linear-gradient(180deg, rgba(245,248,255,0.6), rgba(248,250,252,0.6));
  padding: 8px 0 24px 0;
}

.about-mission-vision .wrap { max-width: none; margin: 0; padding: 0; }

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* explicit 50/50 split */
  gap: 48px;
  align-items: stretch;
  padding: 72px 6%;
  position: relative;
  width: 100%;
}

/* subtle vertical divider between the two cards */
.mv-grid::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 48px;
  bottom: 48px;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(15,23,42,0.06), rgba(15,23,42,0.02));
  z-index: 1;
}

.mv-grid > .mv-card {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2; /* above the divider */
}

.mv-card {
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  border-radius: 16px;
  padding: 44px 40px;
  border: 1px solid rgba(15,23,42,0.05);
  box-shadow: 0 22px 48px rgba(15,23,42,0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.mv-card:hover { transform: translateY(-8px); box-shadow: 0 36px 70px rgba(15,23,42,0.12); }

.mv-card .mv-decor {
  position: absolute;
  top: -20px;
  left: 28px;
  width: 84px;
  height: 8px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--primary,#1e3a8a), var(--secondary,#059669));
  box-shadow: 0 10px 30px rgba(30,58,138,0.08);
}

.mv-card-inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 16px; height: 100%; }

.mv-icon { display: inline-flex; align-items: center; justify-content: center; width:72px; height:72px; border-radius:14px; background: linear-gradient(180deg,#eef6ff,#ffffff); color: var(--primary,#1e3a8a); font-size:26px; margin-bottom:8px; box-shadow: 0 12px 30px rgba(30,58,138,0.06); }

.mv-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin: 0;
  color: #071028;
  letter-spacing: -0.4px;
}

.mv-card .lead {
  color: #263248;
  font-size: 1.05rem;
  line-height: 1.9;
  margin: 0;
  font-weight: 500;
}

.mv-card p { margin: 0; }

@media (max-width: 1100px) {
  .mv-grid { grid-template-columns: 1fr; padding: 40px 6%; }
  .mv-grid::before { display: none; }
  .mv-card { padding: 28px; border-radius: 12px; }
  .mv-icon { width:56px; height:56px; font-size:20px; }
}

/* Core values */
.about-values .wrap {
  padding: 36px 10%;
  background: linear-gradient(180deg, #fbfdff, #ffffff);
}

.about-values h2 { margin-bottom: 12px; }

.about-values ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px 18px;
  margin: 18px 0 20px 0;
  padding: 0;
  list-style: none;
}

.about-values li {
  background: #f8fafc;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(15,23,42,0.03);
  color: #0f172a;
  font-weight: 600;
}

/* Clubs, projects, team cards */
.club-cards, .project-cards, .team-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 28px 10%;
}

.club-card, .project-card, .team-card {
  background: #fff;
  padding: 22px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(15,23,42,0.04);
  text-align: center;
  border: 1px solid rgba(15,23,42,0.03);
}

.club-card i, .project-card i {
  font-size: 28px;
  color: var(--primary, #2d7df6);
  margin-bottom: 10px;
}

.club-card h4, .project-card h4 {
  margin: 8px 0 6px 0;
  color: #0f172a;
}

.team-card img {
  max-width: 90px;
  border-radius: 50%;
  display: block;
  margin: 0 auto 12px auto;
}

.team-card h4 { margin: 6px 0 4px; }

/* Impact stats */
.impact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  padding: 30px 10%;
}

.impact-box {
  background: linear-gradient(180deg,#ffffff,#fbfdff);
  padding: 18px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(15,23,42,0.04);
  border: 1px solid rgba(15,23,42,0.03);
}

.impact-box h3 { margin: 8px 0; font-size: 1.4rem; color: var(--primary, #2d7df6); }
.impact-box p { margin: 0; color: #374151; }

/* Call to action */
.about-cta { text-align: center; padding: 48px 10%; }
.about-cta .cta-btn { display: inline-block; padding: 12px 24px; background: var(--primary, #2d7df6); color: #fff; border-radius: 8px; text-decoration: none; box-shadow: 0 8px 18px rgba(45,125,246,0.18); }

@media (max-width: 880px) {
  .mv-grid { grid-template-columns: 1fr; padding: 30px 6%; }
  .about-who { grid-template-columns: 1fr; padding: 30px 6%; gap: 20px; }
  .club-cards, .project-cards, .team-cards { padding: 20px 6%; }
  .about-values .wrap { padding: 20px 6%; }
  .impact-container { padding: 20px 6%; }
}


.about-btn {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(18,59,125,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.about-btn:hover {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18,59,125,0.4);
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Responsive */
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .about-text h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .about-home {
    padding: 60px 5%;
  }

  .impact-section {
    padding: 40px 5%;
  }

  .projects-section {
    padding: 60px 5%;
  }

  .sponsors-section {
    padding: 40px 5%;
  }

  .slider-container {
    padding: 0 40px;
  }

  .project-card {
    min-width: 250px;
  }
}

/* Impact Section */
.impact-section {
  padding: 24px 6%;
  background: #ffffff;
}

.impact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  padding: 12px 0;
}

.impact-box i {
  font-size: 24px;
  color: #2d7df6;
  margin-bottom: 8px;
}

.impact-box h3 {
  font-size: 20px;
  color: #0f172a;
  margin-bottom: 2px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.impact-box p {
  font-size: 12px;
  color: #475569;
}

.impact-box {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.impact-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(45, 125, 246, 0.2);
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.impact-box:nth-child(1) {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.impact-box:nth-child(2) {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.impact-box:nth-child(3) {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}

.impact-box:nth-child(4) {
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
}

/* Responsive for Impact Section */
@media (max-width: 768px) {
  .impact-section {
    padding: 40px 5%;
  }

  .impact-box {
    background: linear-gradient(180deg,#ffffff,#fbfdff);
    padding: 12px 10px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(15,23,42,0.03);
    border: 1px solid rgba(15,23,42,0.03);
  }
  .impact-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15,23,42,0.06);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  }
  .impact-box:nth-child(1) {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  }
  .impact-box:nth-child(2) {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  }
  .impact-box:nth-child(3) {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  }
  .impact-box:nth-child(4) {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
  }
}

.books-filter {
  text-align: center;
  margin-bottom: 40px;
}

.category-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.category-btn {
  padding: 8px 16px;
  background: #f1f5f9;
  color: #475569;
  border: 2px solid #e2e8f0;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-btn:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

.category-btn.active {
  background: #2d7df6;
  color: #fff;
  border-color: #2d7df6;
}

.search-input {
  width: 100%;
  max-width: 400px;
  padding: 12px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-input:focus {
  border-color: #2d7df6;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}


.author {
  font-size: 14px;
  color: #64748b;
}

.price {
  font-size: 16px;
  font-weight: 600;
  margin: 10px 0;
  color: #2d7df6;
}


.load-more-container {
  text-align: center;
}

.load-more-btn {
  padding: 12px 32px;
  background: #059669;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.load-more-btn:hover {
  background: #047857;
}

.load-more-btn.hidden {
  display: none;
}

/* Book Detail Page */
.book-detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

.book-header {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.book-image {
  flex: 0 0 300px;
}

.book-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.book-info {
  flex: 1;
}

.book-info h2 {
  font-size: 32px;
  color: #0f172a;
  margin-bottom: 15px;
  font-weight: 700;
}

/* Book page styles moved to public/css/book.css */

/* Book Reader */
.book-reader-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.reader-header {
  text-align: center;
  margin-bottom: 40px;

  /* Suggested books — refined premium cards */
  .suggested-books{margin-top:44px;padding:22px;border-radius:14px;background:linear-gradient(180deg, rgba(255,255,255,0.7), rgba(248,250,252,0.7));border:1px solid rgba(2,6,23,0.04);box-shadow:0 18px 40px rgba(2,6,23,0.04)}
  .suggested-books h3{font-size:1.15rem;margin:0 0 14px;color:var(--text-dark);font-weight:700}
  .suggested-list{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
  .suggested-card{display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:12px;background:var(--card);border:1px solid rgba(2,6,23,0.04);text-decoration:none;color:inherit;transition:transform .22s cubic-bezier(.2,.9,.2,1),box-shadow .22s}
  .suggested-card:hover{transform:translateY(-8px);box-shadow:0 24px 50px rgba(2,6,23,0.08)}
  .suggested-cover{width:100%;height:180px;object-fit:cover;border-radius:10px;background:#f8fafc}
  .suggested-meta{display:flex;flex-direction:column;gap:6px;padding:6px 2px;flex:1}
  .suggested-title{font-weight:700;color:var(--text-dark);font-size:1rem;line-height:1.2}
  .suggested-author{color:var(--text);font-size:0.88rem}
  .suggested-foot{margin-top:auto;display:flex;align-items:center;gap:8px}
  .price{color:var(--primary);font-weight:700;background:linear-gradient(90deg,#fff,#fbfdff);padding:6px 8px;border-radius:8px;border:1px solid rgba(0,0,0,0.03)}

  /* small utilities for this view */
  .star-filled{color:#fbbf24}
  .star-empty{color:#e5e7eb}
  .clickable{cursor:pointer}

  /* slightly larger cover on wide screens for better balance */
  .book-visual img{width:300px;height:420px}

  @media (max-width: 980px){
    .suggested-list{grid-template-columns:repeat(2,1fr)}
    .book-visual img{width:220px;height:320px}
  }

  @media (max-width: 600px){
    .suggested-list{grid-template-columns:1fr}
    .book-detail-page{grid-template-columns:1fr}
    .book-visual img{width:180px;height:260px}
  }
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.reader-actions .btn.secondary {
  background: #f1f5f9;
  color: #475569;
  border: 2px solid #e2e8f0;
}

.reader-actions .btn.secondary:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

.book-content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  overflow: hidden;
}

.content-wrapper {
  padding: 40px;
  max-height: 70vh;
  overflow-y: auto;
  line-height: 1.7;
}

.content-wrapper h2 {
  font-size: 24px;
  color: #0f172a;
  margin: 30px 0 20px 0;
  font-weight: 600;
}

.content-wrapper h3 {
  font-size: 20px;
  color: #0f172a;
  margin: 25px 0 15px 0;
  font-weight: 600;
}

.content-wrapper p {
  margin-bottom: 15px;
  color: #475569;
}

.content-wrapper ul {
  margin: 15px 0;
  padding-left: 20px;
}

.content-wrapper li {
  margin-bottom: 8px;
  color: #475569;
}

.book-end {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
}

.access-denied {
  text-align: center;
  padding: 60px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.access-denied h2 {
  font-size: 28px;
  color: #0f172a;
  margin-bottom: 20px;
}

.access-denied p {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 30px;
}

.access-options {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.access-options .btn {
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
}

.access-options .btn.primary {
  background: #2d7df6;
  color: #fff;
}

.access-options .btn.primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.access-options .btn.secondary {
  background: #f1f5f9;
  color: #475569;
  border: 2px solid #e2e8f0;
}

.access-options .btn.secondary:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

/* Fullscreen styles */
.book-content:fullscreen {
  background: #fff;
  border-radius: 0;
}

.book-content:fullscreen .content-wrapper {
  max-height: 100vh;
  padding: 60px;
}

/* Projects Section */
.projects-section {
  padding: 80px 10%;
  background: #ffffff;
}

.projects-slider {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.projects-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari, and Opera */
}

.project-card {
  min-width: 280px;
  background: #f9fafc;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  scroll-snap-align: start;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.project-card h4 {
  font-size: 20px;
  color: #0f172a;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 14px;
  color: #475569;
  margin-bottom: 15px;
}

.project-btn {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(5,150,105,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.project-btn:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5,150,105,0.4);
}

/* Slider Styles */
.slider-container {
  position: relative;
  overflow: hidden;
  padding: 0 60px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1;
  font-size: 18px;
  transition: background 0.3s;
}

.slider-btn:hover {
  background: var(--secondary);
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

.books-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 0;
  scrollbar-width: none;
}

.books-slider::-webkit-scrollbar {
  display: none;
}

.book-card {
  min-width: 200px;
  background: #f9fafc;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.book-card:hover {
  transform: translateY(-5px);
}

.book-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.book-card h4 {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.author {
  font-size: 12px;
  color: var(--text);
  margin-bottom: 10px;
}

.price {
  font-size: 14px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 10px;
}

.book-btn {
  display: inline-block;
  padding: 8px 16px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 12px;
  transition: background 0.3s;
}

.book-btn:hover {
  background: var(--secondary);
}

.slider-dots {
  text-align: center;
  margin-top: 20px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: var(--primary);
}

/* Login Styles */
.login-section {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(30,58,138,0.05) 0%, rgba(5,150,105,0.05) 50%, rgba(217,119,6,0.05) 100%), url('../images/wecareclub1.jpg') center/cover no-repeat;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.login-container {
  max-width: 450px;
  margin: 0 auto;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.2);
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.login-header h1 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.login-header p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}

.login-form {
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,58,138,0.1);
}

.btn.full-width {
  width: 100%;
  padding: 14px;
  font-size: 1.1rem;
  font-weight: 600;
}

.login-links {
  text-align: center;
}

.login-links a {
  display: inline-block;
  margin: 0 10px 10px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.login-links a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

.developer-credit {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.developer-credit p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
}

.developer-credit a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.developer-credit a:hover {
  text-decoration: underline;
}

/* Updates/Blog Styles */
.updates-hero {
  background: linear-gradient(135deg, rgba(30,58,138,0.9) 0%, rgba(5,150,105,0.9) 100%), url('../images/wecareclub1.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.updates-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.updates-hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

.updates-content {
  padding: 80px 0;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.update-post {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.update-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.update-post.featured {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
}

.update-post.featured .post-image img {
  height: 350px;
}

.update-post.featured .post-content {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-image {
  position: relative;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.post-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.update-post:hover .post-image img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.post-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30,58,138,0.15) 0%, rgba(5,150,105,0.15) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.update-post:hover .post-image::after {
  opacity: 1;
}

.post-content {
  padding: 25px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: var(--text);
}

.post-date, .post-time, .post-author, .post-views, .post-reading-time, .post-category {
  display: flex;
  align-items: center;
  gap: 5px;
}

.post-date i, .post-time i, .post-author i, .post-views i, .post-reading-time i, .post-category i {
  color: var(--primary);
  font-size: 0.8rem;
}

.post-views, .post-reading-time {
  opacity: 0.8;
}

.update-post h2 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  line-height: 1.3;
}

.update-post h3 {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  line-height: 1.3;
}

.update-post p {
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 20px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.read-more:hover {
  color: var(--secondary);
}

.load-more-container {
  text-align: center;
}

.load-more-btn {
  padding: 15px 30px;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .updates-hero h1 {
    font-size: 2rem;
  }

  .updates-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .update-post.featured {
    flex-direction: column;
  }

  .update-post.featured .post-content {
    padding: 25px;
  }

  .post-meta {
    flex-direction: column;
    gap: 10px;
    font-size: 0.8rem;
  }
}

/* Filters Styles */
.filters-section {
  text-align: center;
  margin-bottom: 50px;
}

.filters-section h2 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.filter-btn {
  padding: 10px 20px;
  background: #f8fafc;
  border: 2px solid #e5e7eb;
  border-radius: 25px;
  color: var(--text);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.filter-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

@media (max-width: 768px) {
  .filter-buttons {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}

/* Single Post Styles */
.single-post-hero {
  background: linear-gradient(135deg, rgba(30,58,138,0.9) 0%, rgba(5,150,105,0.9) 100%), url('../images/wecareclub1.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 120px 20px;
}

.post-meta-single {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.post-category-single, .post-date-single, .post-time-single, .post-views-single, .post-reading-time-single {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.2);
  padding: 8px 16px;
  border-radius: 20px;
}

.single-post-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.single-post-hero h1 {
  color: #ffffff;
  font-weight: 800;
  text-shadow: 0 8px 30px rgba(2,6,23,0.45);
}

.post-author {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 0;
}

.post-author-single {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.post-author-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: white;
}

.single-post-content {
  padding: 80px 0;
}

.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
}

.post-article {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.post-featured-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-body {
  padding: 40px;
  line-height: 1.8;
  font-size: 1.1rem;
}

.post-share {
  padding: 0 40px 40px;
  border-top: 1px solid #e5e7eb;
  margin-top: 40px;
}

.post-share h3 {
  margin-bottom: 20px;
  color: var(--text-dark);
}

.share-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.share-btn.facebook {
  background: #1877f2;
  color: white;
}

.share-btn.twitter {
  background: #1da1f2;
  color: white;
}

.share-btn.linkedin {
  background: #0077b5;
  color: white;
}

.share-btn.whatsapp {
  background: #25d366;
  color: white;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.sidebar-widget h3 {
  margin-bottom: 20px;
  color: var(--text-dark);
  font-size: 1.2rem;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  margin-bottom: 10px;
}

.category-list a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}

.category-list a:hover {
  color: var(--primary);
}

.recent-posts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-posts li {
  margin-bottom: 20px;
}

.recent-posts a {
  display: flex;
  gap: 15px;
  text-decoration: none;
  color: inherit;
}

.recent-posts img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

.recent-posts h4 {
  margin: 0 0 5px;
  font-size: 0.9rem;
  line-height: 1.3;
}

.recent-posts span {
  font-size: 0.8rem;
  color: var(--text);
}

.cta-widget {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  text-align: center;
}

.cta-widget h3 {
  color: white;
}

.cta-widget p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}

.post-navigation {
  margin-top: 50px;
  text-align: center;
}

.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.back-to-blog:hover {
  color: var(--secondary);
}

@media (max-width: 1024px) {
  .post-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .post-sidebar {
    order: -1;
  }
}

@media (max-width: 768px) {
  .single-post-hero h1 {
    font-size: 2rem;
  }

  .post-meta-single {
    flex-direction: column;
    gap: 15px;
  }

  .post-author-single {
    margin-bottom: 15px;
  }

  .post-author-badge {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .post-body {
    padding: 25px;
    font-size: 1rem;
  }

  .post-share {
    padding: 0 25px 25px;
  }

  .share-buttons {
    justify-content: center;
  }

  .sidebar-widget {
    padding: 20px;
  }
}

/* About Page Styles */
.about-hero {
  text-align: center;
  padding: 80px 10%;
  background: linear-gradient(to right, rgba(45, 125, 246, 0.8), rgba(30, 95, 214, 0.8)), url('../images/wecareclub1.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.about-hero h1 {
  position: relative;
  z-index: 2;
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.9);
  color: #fff;
}

.about-hero p {
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.about-menu {
  position: relative;
  z-index: 2;
  margin-top: 20px;
}

.about-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.about-menu li {
  display: inline;
}

.about-menu a {
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 5px;
  transition: background 0.3s;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.about-menu a:hover {
  background: rgba(255,255,255,0.2);
}

.about-who{
  --primary:#123b7d;
  --accent:#3b82f6;
  --bg:#ffffff;
  --soft:#f6f9ff;
  --text:#1f2937;
  --muted:#6b7280;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  padding:70px 10%;
  align-items:center;
}
.about-who .about-text h2{
  font-family:'Playfair Display', serif;
  font-size:2.4rem;
  color:var(--primary);
  margin-bottom:18px;
  position:relative;
}

.about-who .about-text h2::after{
  content:"";
  display:block;
  width:70px;
  height:4px;
  background:var(--accent);
  margin-top:12px;
  border-radius:3px;
}

.about-who .about-text p{
  font-size:1.05rem;
  color:var(--muted);
  line-height:1.8;
  margin-bottom:24px;
}
.about-who .about-text ul{
  list-style:none;
  padding:0;
  margin:0;
}

.about-who .about-text li{
  position:relative;
  padding-left:36px;
  margin-bottom:16px;
  color:var(--text);
  font-size:1rem;
  line-height:1.6;
}

.about-who .about-text li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  width:24px;
  height:24px;
  background:var(--accent);
  color:#fff;
  font-size:0.85rem;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.about-who .about-image{
  position:relative;
}

.about-who .about-image img{
  width:100%;
  border-radius:22px;
  box-shadow:0 30px 60px rgba(0,0,0,0.18);
  display:block;
}
.about-who .about-image::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:22px;
  background:linear-gradient(
    180deg,
    rgba(18,59,125,.15),
    rgba(18,59,125,.45)
  );
  pointer-events:none;
}
@media(max-width:900px){
  .about-who{
    grid-template-columns:1fr;
    gap:50px;
  }

  .about-who .about-text h2{
    font-size:2rem;
  }

  .about-who .about-image{
    order:-1;
  }
}

.about-mission-vision{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:28px;
  padding:56px 10%;
  align-items:stretch;
}
.about-mission-vision .card{
  background:var(--card);
  padding:24px;
  border-radius:12px;
  box-shadow:var(--shadow);
  border:1px solid rgba(10,30,45,0.03);
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}
.about-mission-vision .card h2{margin-top:0;margin-bottom:12px;color:var(--text-dark)}
.about-mission-vision .card p{color:var(--text);line-height:1.7}
.about-mission-vision .icon{font-size:36px;color:var(--primary);margin-bottom:12px}

.about-values{padding:48px 10%;background:transparent}
.about-values .wrap{max-width:1100px;margin:0 auto}
.about-values h2{margin-bottom:18px;color:var(--text-dark)}
.about-values .values-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:18px}
.about-values .value-item{background:var(--card);padding:16px;border-radius:10px;box-shadow:var(--shadow);border:1px solid rgba(10,30,45,0.03)}
.about-values .value-item strong{display:block;color:var(--primary);margin-bottom:8px}
.about-values p{color:var(--text);margin-top:12px}

@media (max-width:900px){
  .about-mission-vision{grid-template-columns:1fr;padding:36px 6%}
  .about-values .values-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:480px){
  .about-values .values-grid{grid-template-columns:1fr}
}

.about-programs .program-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 50px 10%;
}

.about-programs h2, .about-impact h2, .about-cta h2 {
  text-align: center;
  margin-bottom: 40px;
}

.about-cta{
  padding:110px 20px;
  background:linear-gradient(135deg,#123b7d,#0f1f50);
  text-align:center;
  position:relative;
  overflow:hidden;
}
.about-cta::before,
.about-cta::after{
  content:"";
  position:absolute;
  width:380px;
  height:380px;
  background:rgba(59,130,246,0.15);
  border-radius:50%;
  filter:blur(120px);
}

.about-cta::before{
  top:-120px;
  left:-120px;
}

.about-cta::after{
  bottom:-120px;
  right:-120px;
}

.program-card {
  text-align: center;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.program-card i {
  font-size: 36px;
  color: #2d7df6;
  margin-bottom: 15px;
}

.about-impact{
  padding:100px 20px;
  background:#f8fafc;
  text-align:center;
}
.about-impact h2{
  font-family:'Playfair Display', serif;
  font-size:2.6rem;
  color:#0f1f50;
  margin-bottom:60px;
}
.impact-container{
  max-width:1100px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:30px;
}
.impact-box{
  background:#ffffff;
  padding:45px 20px;
  border-radius:18px;
  box-shadow:0 18px 45px rgba(15,31,80,0.08);
  transition:.35s ease;
}
.impact-box:hover{
  transform:translateY(-8px);
  box-shadow:0 30px 65px rgba(15,31,80,0.12);
}
.impact-box i{
  font-size:2.4rem;
  color:#3b82f6;
  margin-bottom:18px;
}
.impact-box h3{
  font-size:2.1rem;
  font-weight:700;
  color:#0f1f50;
  margin-bottom:8px;
}
.impact-box p{
  font-size:1rem;
  color:#475569;
}

.about-cta h2{
  font-family:'Playfair Display', serif;
  font-size:2.8rem;
  color:#ffffff;
  margin-bottom:18px;
  position:relative;
  z-index:1;
}
.about-cta p{
  max-width:650px;
  margin:0 auto 38px;
  font-size:1.1rem;
  color:rgba(255,255,255,0.85);
  line-height:1.7;
  position:relative;
  z-index:1;
}

.cta-btn{
  display:inline-block;
  padding:16px 44px;
  background:#3b82f6;
  color:#ffffff;
  font-size:1.05rem;
  font-weight:600;
  border-radius:999px;
  text-decoration:none;
  transition:.35s ease;
  position:relative;
  z-index:1;
  box-shadow:0 18px 40px rgba(59,130,246,.45);
}
.cta-btn:hover{
  background:#2563eb;
  transform:translateY(-4px);
  box-shadow:0 28px 60px rgba(59,130,246,.55);
}

/* Responsive for About Page */
@media (max-width: 768px) {
  .about-who {
    grid-template-columns: 1fr;
  }

  .about-mission-vision {
    flex-direction: column;
    gap: 30px;
  }

  .about-hero {
    padding: 60px 5%;
  }

  .about-who, .about-mission-vision, .about-programs .program-cards, .about-impact, .about-cta, .about-clubs, .about-projects {
    padding-left: 5%;
    padding-right: 5%;
  }

  .club-cards, .project-cards {
    grid-template-columns: 1fr;
  }
}
.grid-2{display:grid;grid-template-columns:1fr 380px;gap:28px;align-items:start}

.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:28px;margin-top:20px;align-items:start}
.card{background:linear-gradient(180deg, #ffffff, #fbfdff);padding:22px;border-radius:12px;box-shadow:var(--shadow);border:1px solid rgba(10,30,45,0.03)}
.card h4{margin-top:0;margin-bottom:8px}
.card p{color:var(--text);margin:0}

/* About Clubs and Projects */
.about-team {
  padding: 70px 10%;
  text-align: center;
  background: linear-gradient(135deg, rgba(248,250,252,0.5) 0%, rgba(241,245,249,0.5) 100%);
}

.about-clubs {
  padding: 70px 10%;
  text-align: center;
  background: linear-gradient(rgba(30,58,138,0.3), rgba(30,58,138,0.1)), url('../images/wecareclub2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.about-clubs h2 {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.about-team, .about-projects {
  padding: 70px 10%;
  text-align: center;
  background: #fff;
}

.team-cards, .project-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.team-card, .project-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 30px 20px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255,255,255,0.2);
  text-align: center;
}

.team-card:hover, .project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid var(--primary);
}

.team-card h4, .project-card h4 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin: 0 0 10px;
  font-weight: 600;
}

.team-card p, .project-card p {
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

/* Programs */
.programs .program-card{padding:24px;border-radius:16px;background:linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);border:1px solid rgba(255,255,255,0.2);transition:transform .3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow .3s ease, opacity .3s ease; animation: fadeInUp 0.8s ease-out both; box-shadow: 0 4px 20px rgba(0,0,0,0.05)}
.program-card:nth-child(1){animation-delay: 0.1s}
.program-card:nth-child(2){animation-delay: 0.2s}
.program-card:nth-child(3){animation-delay: 0.3s}
.program-card:nth-child(4){animation-delay: 0.4s}
.program-card:nth-child(5){animation-delay: 0.5s}
.program-card:nth-child(6){animation-delay: 0.6s}
.program-card h4{margin:0 0 12px;font-size:1.2rem;line-height:1.3;letter-spacing:-0.01em}
.program-card p{color:var(--text);margin:0 0 16px;line-height:1.6;letter-spacing:0.01em}
.program-tags{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.program-tag{font-size:11px;padding:8px 12px;background:linear-gradient(135deg, #f1fbff 0%, #e0f2fe 100%);border-radius:20px;color:var(--secondary);border:1px solid rgba(5,150,105,0.2);font-weight:500;letter-spacing:0.02em}
.program-image{width:100%;height:220px;object-fit:cover;border-radius:12px;margin-bottom:20px;transition:transform .3s ease}
.program-image:hover{transform:scale(1.02)}

.program-link{
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.01em;
  text-transform: none;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(18,59,125,0.06);
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
  display: inline-block;
}

/* Programs CTA with background image + overlay */
.programs-cta{
  position:relative;
  background-image: url('../images/wecareclub1.jpg');
  background-size: cover;
  background-position: center center;
  padding: 72px 18px;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.programs-cta::before{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,6,23,0.6), rgba(2,6,23,0.36));
  z-index: 0;
}
.programs-cta > *{
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
}
.programs-cta h2{
  font-size: 2rem;
  line-height: 1.05;
  margin-bottom: 8px;
  color: #ffffff;
  text-shadow: 0 8px 30px rgba(2,6,23,0.45);
  font-weight: 800;
}
.programs-cta p{
  font-size: 1.05rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 20px;
}
.cta-btn{
  display:inline-block;
  padding:12px 26px;
  border-radius:10px;
  background: linear-gradient(90deg,var(--secondary),var(--primary));
  color:#fff;
  text-decoration:none;
  font-weight:700;
  box-shadow: 0 12px 34px rgba(2,6,23,0.26);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.cta-btn:hover{transform:translateY(-3px);box-shadow:0 18px 44px rgba(2,6,23,0.32);filter:brightness(1.03)}

@media (max-width: 768px){
  .programs-cta{padding:40px 14px}
  .programs-cta h2{font-size:1.45rem}
  .programs-cta p{font-size:0.98rem}
}

.program-link:hover{
  color: var(--secondary);
  background: rgba(59,130,246,0.14);
  transform: translateY(-3px);
}
.program-link:focus{outline:none;box-shadow:0 0 0 4px rgba(59,130,246,0.12)}

/* Clubs grid */
.clubs-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:18px}
.club{background:var(--card);padding:18px;border-radius:12px;border:1px solid rgba(10,30,45,0.03)}
.club h4{margin:0 0 8px}
.club p{color:var(--text);margin:0}

/* Updates (harmonized) */
.updates-grid{
  display:grid;
  grid-template-columns: 1fr 320px;
  gap:24px;
  align-items:start;
  margin-top:20px;
}
.featured-update{
  background:var(--card);
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(10,30,45,0.03);
  box-shadow: 0 8px 20px rgba(13,38,59,0.04);
}
.featured-update img{width:100%;height:320px;object-fit:cover;display:block}
.featured-content{padding:20px}
.featured-content h4{margin:0 0 12px;color:var(--text-dark);font-size:clamp(1.1rem,2.2vw,1.4rem);line-height:1.25}
.featured-content p{margin:0 0 12px;color:var(--text);font-size:1rem;line-height:1.65}
.featured-content .btn.primary{padding:10px 18px;border-radius:10px;background:linear-gradient(90deg,var(--primary),var(--secondary));color:#fff;border:none}
.recent-updates{display:flex;flex-direction:column;gap:14px}
.update-card{display:flex;gap:12px;align-items:center;background:var(--card);padding:12px;border-radius:10px;border:1px solid rgba(10,30,45,0.02)}
.update-card .thumb{width:72px;height:72px;object-fit:cover;border-radius:8px;flex-shrink:0}
.update-card h5{margin:0;font-size:1rem}
.meta{font-size:0.85rem;color:rgba(0,0,0,0.55);margin-top:6px}
.stats-card{margin-top:8px;padding:16px;border-radius:10px;background:var(--card);text-align:center;border:1px solid rgba(10,30,45,0.02)}
.stats-card h3{margin:0;font-size:1.9rem;color:var(--accent)}

@media (max-width:1000px){
  .updates-grid{grid-template-columns:1fr}
  .featured-update img{height:220px}
  .recent-updates{flex-direction:row;overflow-x:auto;padding-bottom:6px}
  .update-card{min-width:220px;flex:0 0 auto}
}

/* Footer sitemap */
.sitemap{display:flex;gap:18px;flex-wrap:wrap}
.sitemap a{color:var(--text);text-decoration:none;padding:6px 0}

@media (max-width:900px){
	.cards{grid-template-columns:1fr 1fr}
	.clubs-grid{grid-template-columns:1fr 1fr}
	.club-cards, .project-cards{grid-template-columns:1fr 1fr}
}
/* Center programs cards on wide screens, keep full-width on small */
@media (min-width:901px) {
  #programs .cards {
    max-width: 1100px;
    margin: 0 auto;
    gap:32px;
  }
}
@media (max-width:900px) {
  #programs .cards {
    max-width: none;
  }
}
@media (max-width:640px){
  .cards{grid-template-columns:1fr}
	.clubs-grid{grid-template-columns:1fr}
	.club-cards, .project-cards{grid-template-columns:1fr}
	.programs .program-card{padding:16px}
	.program-image{height:150px}
  .update-section{flex-direction:column;align-items:stretch}
  .update-stats{min-width:auto;margin-top:12px}
}

.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form-grid .full{grid-column:1 / -1}
input,textarea{width:100%;padding:12px;border-radius:10px;border:1px solid #e8f0f6;background:#fff}
label{display:block;font-weight:600;color:var(--text);margin-bottom:8px}
.muted{color:var(--text)}

.contact-grid{align-items:center}
.socials a{color:var(--primary);text-decoration:none}

.site-footer{border-top:1px solid rgba(239,246,251,0.5);padding:32px 0;background:linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);backdrop-filter:blur(10px);animation: fadeInUp 1s ease-out 0.4s both}
.footer-inner{display:grid;grid-template-columns:repeat(4,1fr);gap:28px}
.footer-section h4{margin:0 0 14px;font-size:1.1rem;color:var(--primary);font-weight:600}
.footer-section p{margin:0 0 10px;color:var(--text);line-height:1.5}
.socials{display:flex;gap:12px;margin-top:12px}
.socials a{font-size:1.5rem;text-decoration:none;transition:transform 0.3s ease, filter 0.3s ease}
.socials a:hover{transform:scale(1.2);filter:brightness(1.2)}
.newsletter{display:flex;gap:8px;margin-top:12px}
.newsletter input{flex:1;padding:8px 12px;border:1px solid var(--border);border-radius:6px;font-size:0.9rem}
.newsletter .btn{padding:8px 16px;font-size:0.9rem}
.footer-bottom{grid-column:1/-1;border-top:1px solid var(--border);padding-top:18px;margin-top:24px;text-align:center}
.footer-bottom .muted{font-size:0.95rem;color:#6b7280}
.footer-nav a{margin-left:12px;color:var(--text);text-decoration:none}

.sponsors-section{background:linear-gradient(135deg, rgba(248,250,252,0.8), rgba(255,255,255,0.9));padding:40px 0;border-radius:16px;margin:20px 0;animation: fadeInUp 1s ease-out 0.6s both}
.sponsors-section h3{font-size:1.8rem;margin-bottom:30px;text-align:center;color:var(--primary)}
.sponsors-grid{display:grid;grid-template-columns:repeat(6, 1fr);gap:20px;max-width:1200px;margin:0 auto}
.sponsor-item{text-align:center;padding:20px;background:linear-gradient(135deg, rgba(255,255,255,0.9), rgba(248,250,252,0.8));border-radius:12px;transition:transform 0.3s ease, box-shadow 0.3s ease}
.sponsor-item:hover{transform:translateY(-5px);box-shadow:0 8px 25px rgba(0,0,0,0.1)}
.sponsor-item a{text-decoration:none;color:inherit;display:flex;flex-direction:column;align-items:center;gap:10px}
.sponsor-item img{max-width:100px;max-height:60px;object-fit:contain;border-radius:8px}
.sponsor-item span{font-size:0.9rem;font-weight:600;color:var(--text);margin-top:8px}

/* Responsive */
@media (max-width:900px){
	.wrap{padding:24px 20px}
	.grid-2{grid-template-columns:1fr}
	.cards{grid-template-columns:1fr 1fr}
	.sponsors-grid{grid-template-columns:repeat(3, 1fr);gap:15px}
}
@media (max-width:640px){
	.nav-toggle{display:block;font-size:1.2rem}
	.site-nav a{display:block;margin:6px 0;padding:10px 8px;border-radius:8px}
	.brand-text{display:none}
	.cards{grid-template-columns:1fr}
	.footer-grid{grid-template-columns:1fr;gap:20px}
	.footer-inner{grid-template-columns:1fr;gap:20px}
	.footer-section{text-align:center}
	.social-links{justify-content:center}
	.newsletter-form{flex-direction:column}
	.wrap{padding:20px 16px}
	.sponsors-grid{grid-template-columns:repeat(2, 1fr);gap:10px}
	.form-grid{grid-template-columns:1fr}
}

/* ===== ULTRA-LUXURY ANIMATIONS ===== */

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes slideIn {
	from {
		transform: translateX(-100%);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes float {
	0%, 100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-10px);
	}
}

/* cleaned malformed block previously starting with .about-btn */

@keyframes glow {
	0%, 100% {
		box-shadow: 0 0 20px rgba(30,58,138,0.3);
	}
	50% {
		box-shadow: 0 0 30px rgba(30,58,138,0.5), 0 0 40px rgba(59,130,246,0.3);
	}
}

/* ===== JAVASCRIPT ENHANCED ANIMATIONS ===== */

.nav-link.animate-in {
	animation: slideInFromLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
	opacity: 0;
	transform: translateX(-30px);
}

@keyframes slideInFromLeft {
	from {
		opacity: 0;
		transform: translateX(-30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
	transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
	opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -6px);
}


/* Hero slider mobile adjustments */
@media (max-width:768px){
	.hero-slider{height:80vh !important;min-height:400px}
	.slides h1{font-size:2.5rem}
	.slides p{font-size:1.1rem}
	.slide-content h2{font-size:2rem}
	.slide-content .lead{font-size:1rem}
}

main {
  margin-top: 0;
}
.contact-hero {
  text-align: center;
  padding: 80px 10%;
  background: linear-gradient(to right, rgba(45, 125, 246, 0.8), rgba(30, 95, 214, 0.8)), url('../images/wecareclub1.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.contact-hero h1, .contact-hero p {
  position: relative;
  z-index: 2;
}

.contact-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.9);
}

.contact-hero p {
  color: rgba(255,255,255,0.97);
  font-size: 1.15rem;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.6;
  text-shadow: 0 6px 18px rgba(0,0,0,0.45);
}

.contact-info {
  padding: 70px 10%;
  text-align: center;
  background: var(--bg);
  margin-top: 0;
}

.contact-info h2 {
  margin-bottom: 50px;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.contact-item {
  background: var(--card);
  padding: 30px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.contact-item i {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 20px;
}

.contact-item h3 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.contact-item p {
  color: var(--text);
  line-height: 1.6;
}

.contact-item a {
  color: var(--primary);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-form-section {
  padding: 70px 10%;
  background: #fff;
}

.contact-form-section h2 {
  text-align: center;
  margin-bottom: 50px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.submit-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: var(--secondary);
}

.contact-map {
  padding: 70px 10%;
  text-align: center;
  background: var(--bg);
}

.contact-map h2 {
  margin-bottom: 30px;
}

.map-container {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Responsive for Contact Page */
@media (max-width: 768px) {
  .contact-hero {
    padding: 60px 5%;
  }

  .contact-info, .contact-form-section, .contact-map {
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
/* Programs Page */
.programs-hero {
  text-align: center;
  padding: 80px 10%;
  background: linear-gradient(to right, rgba(45, 125, 246, 0.8), rgba(30, 95, 214, 0.8)), url('../images/wecareclub1.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
}

.programs-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.programs-hero h1, .programs-hero p {
  position: relative;
  z-index: 2;
}

.programs-hero h1 {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.programs-hero p {
  color: rgba(255,255,255,0.95);
  font-size: 1.05rem;
  margin-top: 12px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 4px 18px rgba(0,0,0,0.35);
}

.programs-flagship {
  padding: 70px 10%;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
  border-top: 1px solid rgba(15,23,42,0.04);
}

.programs-clubs {
  padding: 70px 10%;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf3 100%);
  border-top: 1px solid rgba(15,23,42,0.04);
}

.programs-flagship {
  background: linear-gradient(135deg, rgba(248,250,252,0.5) 0%, rgba(241,245,249,0.5) 100%);
}

.programs-clubs {
  background: #fff;
}

.program-cards, .club-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.program-card, .club-card {
  background: var(--card);
  padding: 30px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255,255,255,0.2);
  text-align: center;
}

.program-card:hover, .club-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.program-card i, .club-card i {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 20px;
}

.program-card img, .club-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.program-card h4, .club-card h4 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin: 0 0 10px;
  font-weight: 600;
}

.program-card p, .club-card p {
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

.programs-cta {
  text-align: center;
  padding: 70px 10%;
  background: var(--primary);
  color: #fff;
}

/* Programs section header */
#programs .programs-header {
  max-width: 760px;
  margin: 0 auto 26px;
  text-align: center;
}

#programs .programs-header h3 {
  font-size: 26px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 6px;
}

#programs .programs-header .section-divider {
  width: 60px;
  height: 4px;
  margin: 10px auto;
  background: #4f46e5;
  border-radius: 999px;
}

#programs .programs-header .section-description {
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
}

/* Center the programs cards container on larger screens */
#programs .cards {
  justify-content: center; /* center the grid within its container */
}

@media (max-width: 900px) {
  /* keep cards centered on smaller viewports */
  #programs .cards {
    justify-content: center;
  }
}

.programs-cta h2 {
  margin-bottom: 20px;
}

.programs-cta p {
  margin-bottom: 30px;
}

.cta-btn {
  display: inline-block;
  padding: 14px 32px;
  background: #fff;
  color: var(--primary);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.cta-btn:hover {
  background: var(--secondary);
  color: #fff;
}

/* Responsive for Programs Page */
@media (max-width: 768px) {
  .programs-hero {
    padding: 60px 5%;
  }

  .programs-flagship, .programs-clubs, .programs-cta {
    padding-left: 5%;
    padding-right: 5%;
  }

  .program-cards, .club-cards {
    grid-template-columns: 1fr;
  }
}
/* Courses Page */
.courses-hero {
  text-align: center;
  padding: 80px 10%;
  background: linear-gradient(to right, rgba(45, 125, 246, 0.8), rgba(30, 95, 214, 0.8)), url('../images/wecareclub1.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
}

.courses-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.courses-hero .wrap {
  position: relative;
  z-index: 2;
}

.courses-hero h1 {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  margin-bottom: 15px;
}

.courses-hero p {
  color: rgba(255,255,255,0.95);
  font-size: 1.05rem;
  margin: 0 auto 32px;
  max-width: 920px;
  line-height: 1.6;
  opacity: 0.98;
  text-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

@media (max-width: 900px) {
  .courses-hero { padding: 48px 6%; }
  .hero-stats { flex-direction: column; gap: 18px; align-items: center; }
  .hero-stats .stat { text-align: center; }
  .hero-stats .stat .stat-number { font-size: 1.4rem; }
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 5px;
}

/* Courses Explore Section */
.courses-explore {
  padding: 80px 0;
  background: var(--bg);
}

.explore-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.explore-header h2 {
  margin: 0;
  color: var(--text-dark);
}

.explore-controls {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.impact-box i {
  font-size: 20px;
  color: #2d7df6;
  margin-bottom: 8px;
}

.impact-box h3 {
  font-size: 1.4rem;
  color: #0f172a;
  margin-bottom: 4px;
}

.impact-box p {
  font-size: 0.95rem;
  color: #475569;
}

/* Small screens: force 2 columns (2x2 layout) for impact boxes */
@media (max-width: 480px) {
  .impact-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 8px 0;
  }

  .impact-box {
    padding: 10px 8px;
  }

  .impact-box h3 {
    font-size: 1.2rem;
  }

  .impact-box i {
    font-size: 18px;
  }
}
.search-box input:focus {
  outline: none;
  border-color: var(--primary);
}

.filter-dropdown select {
  padding: 10px 15px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.9rem;
  background: white;
  cursor: pointer;
  transition: border-color 0.3s;
}

.filter-dropdown select:focus {
  outline: none;
  border-color: var(--primary);
}

/* Course Cards */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 50px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  align-items: stretch;
}

.course-card {
  background: linear-gradient(135deg, #fff 80%, #f8fafc 100%);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(30, 42, 120, 0.10);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  padding: 32px 28px 24px 28px;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.course-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.course-card:hover .course-image img {
  transform: scale(1.05);
}

.course-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 2;
}

.course-badge.free {
  background: var(--success);
}

.course-badge.paid {
  background: var(--warning);
}

.course-content {
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.course-content-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  overflow: hidden; /* Ensure content doesn't overflow */
}

.course-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.course-category, .course-level {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 15px;
  font-weight: 500;
}

.course-category {
  background: rgba(30,58,138,0.1);
  color: var(--primary);
}

.course-level {
  background: rgba(5,150,105,0.1);
  color: var(--secondary);
}

.course-content h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-content p {
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: var(--text);
}

.course-instructor, .course-duration, .course-students {
  display: flex;
  align-items: center;
  gap: 6px;
}

.course-instructor i, .course-duration i, .course-students i {
  color: var(--primary);
  width: 14px;
}

.course-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.stars {
  color: #fbbf24;
  display: flex;
  gap: 2px;
}

.stars i {
  font-size: 0.9rem;
}

.rating-text {
  font-size: 0.85rem;
  color: var(--text);
}

.course-price {
  margin-bottom: 0;
  margin-top: 15px;
}

.price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.original-price {
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: line-through;
  margin-left: 10px;
}

.course-btn {
  width: 100%;
  text-align: center;
  padding: 14px 0;
  font-weight: 600;
  margin-top: 28px;
  align-self: stretch;
  border-radius: 0 0 12px 12px;
  font-size: 1.08em;
  letter-spacing: 0.02em;
}

/* Responsive course cards */
@media (max-width: 768px) {
  .courses-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .course-card {
    max-height: none; /* Allow natural height on mobile */
  }

  .course-content {
    padding: 20px;
  }

  .course-content h3 {
    font-size: 1.2rem;
  }

  .course-meta {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

@media (max-width: 1100px) {
  .mv-grid { grid-template-columns: 1fr; padding: 40px 6%; }
  .course-card { padding: 15px; }

  .course-content h3 { font-size: 1.1rem; }

  .course-details { flex-direction: column; gap: 6px; }
}

/* Desktop course layout kept as default (no horizontal override) */

.courses-categories {
  padding: 70px 10%;
  text-align: center;
  background: var(--bg);
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.category-card {
  background: var(--card);
  padding: 30px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255,255,255,0.2);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.category-card i {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 20px;
}

.category-card h4 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin: 0 0 10px;
  font-weight: 600;
}

.category-card p {
  color: var(--text);
  margin: 0 0 20px;
  line-height: 1.6;
}

.category-link {
  display: inline-block;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.category-link:hover {
  color: var(--secondary);
}

.courses-cta {
  text-align: center;
  padding: 70px 10%;
  background: var(--primary);
  color: #fff;
}

.courses-cta h2 {
  margin-bottom: 20px;
}

.courses-cta p {
  margin-bottom: 30px;
}

/* Responsive for Courses Page */
@media (max-width: 768px) {
  .courses-hero {
    padding: 60px 5%;
  }

  .courses-categories, .courses-cta {
    padding-left: 5%;
    padding-right: 5%;
  }

  .category-cards {
    grid-template-columns: 1fr;
  }
}
/* Books Page */
.books-hero {
  text-align: center;
  padding: 80px 10%;
  background: linear-gradient(to right, rgba(45, 125, 246, 0.8), rgba(30, 95, 214, 0.8)), url('../images/wecareclub1.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
}

.books-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.books-hero h1, .books-hero p {
  position: relative;
  z-index: 2;
}

.books-hero h1 {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.books-section {
  padding: 70px 10%;
  text-align: center;
  background: var(--bg);
}

.book-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.book-card {
  background: var(--card);
  padding: 30px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255,255,255,0.2);
}

.book-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.book-card i {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 20px;
}

.book-card h4 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin: 0 0 10px;
  font-weight: 600;
}

.book-card p {
  color: var(--text);
  margin: 0 0 15px;
  line-height: 1.6;
}

.book-card .price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 20px;
}

.book-link {
  display: inline-block;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.book-link:hover {
  color: var(--secondary);
}

.books-cta {
  text-align: center;
  padding: 70px 10%;
  background: var(--primary);
  color: #fff;
}

.books-cta h2 {
  margin-bottom: 20px;
}

.books-cta p {
  margin-bottom: 30px;
}

/* Responsive for Books Page */
@media (max-width: 768px) {
  .books-hero {
    padding: 60px 5%;
  }

  .books-section, .books-cta {
    padding-left: 5%;
    padding-right: 5%;
  }

  .book-cards {
    grid-template-columns: 1fr;
  }
}
/* Responsive for Books Grid */
@media (max-width: 768px) {
  .books-section {
    padding: 60px 5%;
  }
  
  .books-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .search-input {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .books-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 28px;
  }
}
/* Responsive for Category Filters */
@media (max-width: 768px) {
  .category-filters {
    gap: 8px;
  }
  
  .category-btn {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .books-section {
    padding: 60px 5%;
  }
  
  .books-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .search-input {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .books-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .category-filters {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  
  .category-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Courses Explore Mobile Styles */
  .courses-hero {
    padding: 60px 5%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .explore-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .explore-controls {
    width: 100%;
    justify-content: space-between;
  }

  .search-box input {
    width: 100%;
    max-width: 200px;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .course-content {
    padding: 20px;
  }

  .course-meta {
    flex-direction: column;
    gap: 8px;
  }

  .course-details {
    font-size: 0.8rem;
  }

  .course-rating {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}

/* Course Detail Page Styles */
.course-hero {
  background: linear-gradient(135deg, rgba(30,58,138,0.9) 0%, rgba(5,150,105,0.9) 100%), url('../images/wecareclub1.jpg') center/cover no-repeat;
  color: white;
  padding: 80px 0;
  position: relative;
}

.course-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.course-hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.course-breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.course-breadcrumb a {
  color: white;
  text-decoration: none;
}

.course-breadcrumb a:hover {
  text-decoration: underline;
}

.course-hero h1 {
  color: #ffffff;
  font-size: 2.8rem;
  margin-bottom: 12px;
  line-height: 1.12;
  font-weight: 800;
  text-shadow: 0 10px 30px rgba(2,6,23,0.45);
}

@media (max-width: 900px) {
  .course-hero .wrap { grid-template-columns: 1fr; }
  .course-hero h1 { font-size: 1.6rem; text-align: center; }
  .course-subtitle { text-align: center; }
}

.course-subtitle {
  color: rgba(255,255,255,0.95);
  font-size: 1.05rem;
  margin-bottom: 30px;
  line-height: 1.5;
}

.course-meta-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.course-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.price-section {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.current-price {
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

.original-price {
  font-size: 1.2rem;
  opacity: 0.7;
  text-decoration: line-through;
}

.enroll-btn, .wishlist-btn {
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s;
}

.wishlist-btn {
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.3);
  color: white;
}

.wishlist-btn:hover {
  background: rgba(255,255,255,0.3);
}

.wishlist-btn.active {
  background: #e74c3c;
  border-color: #e74c3c;
}

.course-hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-hero-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  object-fit: cover;
}

.certificate-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--primary);
  color: white;
  padding: 10px 15px;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Course Content Tabs */
.course-content {
  padding: 80px 0;
  background: var(--bg);
}

.course-content .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.course-tabs {
  display: flex;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 40px;
  overflow-x: auto;
}

.tab-btn {
  padding: 15px 30px;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}

.tab-btn:hover {
  color: var(--primary);
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-content {
  min-height: 400px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Overview Tab */
.overview-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}
.overview-sidebar {
  min-width: 260px;
  max-width: 340px;
}

.overview-main h3 {
  color: var(--text-dark);
  margin-bottom: 20px;
}

.course-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: var(--text);
}

.learning-objectives, .requirements {
  margin-bottom: 30px;
}

.learning-objectives li, .requirements li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.learning-objectives i {
  color: var(--success);
  margin-top: 2px;
}

.overview-sidebar .course-features {
  background: var(--card);
  padding: 28px 22px 22px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 18px;
  min-width: 220px;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1100px) {
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .overview-sidebar {
    max-width: 100%;
    min-width: 0;
    margin-top: 32px;
  }
}

.overview-sidebar h4 {
  color: var(--text-dark);
  margin-bottom: 20px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--text-dark);
  padding: 6px 0;
  border-bottom: 1px solid #f0f2f7;
}
.feature-item:last-child {
  border-bottom: none;
}

.feature-item i {
  color: var(--primary);
  width: 20px;
  min-width: 20px;
  font-size: 1.1em;
  text-align: center;
}

/* Curriculum Tab */
.curriculum-accordion {
  max-width: 800px;
}

.curriculum-module {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.module-toggle {
  width: 100%;
  padding: 20px;
  background: var(--card);
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.module-toggle:hover {
  background: #f8f9fa;
}

.module-title {
  font-weight: 600;
  color: var(--text-dark);
}

.module-count {
  color: var(--text);
  font-size: 0.9rem;
}

.toggle-icon {
  transition: transform 0.3s;
}

.toggle-icon.rotated {
  transform: rotate(180deg);
}

.module-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.module-content.active {
  max-height: 500px;
}

.lesson-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lesson-item {
  padding: 15px 20px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--text);
}

.lesson-item i {
  color: var(--primary);
}

.lesson-duration {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--text);
  opacity: 0.7;
}

/* Instructor Tab */
.instructor-profile {
  max-width: 800px;
}

.instructor-header {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.instructor-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.instructor-info h3 {
  color: var(--text-dark);
  margin-bottom: 5px;
}

.instructor-title {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 15px;
}

.instructor-stats {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--text);
}

.instructor-stats span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.instructor-bio {
  line-height: 1.6;
  color: var(--text);
}

/* Reviews Tab */
.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.overall-rating {
  display: flex;
  align-items: center;
  gap: 20px;
}

.rating-display {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rating-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.total-reviews {
  color: var(--text);
  font-size: 0.9rem;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.review-item {
  padding: 25px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: var(--card);
}

.review-header {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.review-author {
  font-weight: 600;
  color: var(--text-dark);
  display: block;
  margin-bottom: 5px;
}

.review-stars {
  color: #fbbf24;
  margin-bottom: 5px;
}

.review-date {
  font-size: 0.8rem;
  color: var(--text);
  opacity: 0.7;
}

.review-text {
  line-height: 1.6;
  color: var(--text);
}

/* Book detail & reviews enhancements */
.book-detail-page{max-width:1100px;margin:36px auto;padding:28px;display:grid;grid-template-columns:1fr 360px;gap:32px;align-items:start}
.book-meta{background:transparent}
.book-meta h1{font-size:1.8rem;margin-bottom:8px}
.book-meta .meta-row{display:flex;gap:12px;align-items:center;color:var(--text);margin-bottom:10px}
.book-meta .meta-row .badge{background:rgba(30,58,138,0.06);color:var(--text-dark);padding:6px 10px;border-radius:999px;font-weight:600;font-size:0.9rem}
.book-price{font-size:1.2rem;font-weight:700;color:var(--secondary)}
.book-actions{display:flex;gap:12px;margin-top:14px}
.btn-secondary{background:transparent;border:1px solid var(--border);color:var(--text);padding:10px 14px;border-radius:10px;cursor:pointer}
.btn-primary{background:linear-gradient(90deg,var(--primary),var(--secondary));color:var(--white);padding:10px 14px;border-radius:10px;border:none;cursor:pointer;box-shadow:0 8px 20px rgba(30,58,138,0.12)}

/* Teal variant used on book read actions */
.book-description{margin-top:18px;padding:16px;background:linear-gradient(180deg, rgba(255,255,255,0.6), rgba(248,250,252,0.6));border-radius:12px;border:1px solid var(--border)}

.reviews-panel{background:var(--card);border:1px solid var(--border);padding:18px;border-radius:12px;box-shadow:var(--shadow)}
.reviews-panel .review-summary{display:flex;gap:18px;align-items:center;margin-bottom:16px}
.reviews-panel .stars-large{font-size:1.6rem;color:#fbbf24}
.reviews-empty{color:var(--text);opacity:0.8;padding:18px;border-radius:8px;background:linear-gradient(90deg, rgba(250,250,250,0.6), rgba(248,250,252,0.6));text-align:center}

.review-form{margin-top:18px;display:flex;flex-direction:column;gap:10px}
.review-form textarea{min-height:110px;padding:12px;border:1px solid var(--border);border-radius:8px}
.review-form .form-row{display:flex;gap:10px;align-items:center}
.review-form .rating-select{display:flex;gap:6px;align-items:center}

/* Star picker visual (clickable labels will be added by JS) */
.star-picker{display:inline-flex;gap:6px}
.star-picker input{display:none}
.star-picker label{font-size:1.25rem;color:#e5e7eb;cursor:pointer;transition:transform .08s ease}
.star-picker label:hover{transform:scale(1.08)}
.star-picker label.active,.star-picker label.selected{color:#f59e0b}

/* Reviews list compact */
.reviews-list .review-item{display:flex;gap:14px}
.reviews-list .review-body{flex:1}
.reviews-list .review-author{font-size:0.98rem}
.reviews-list .review-meta{font-size:0.85rem;color:var(--text);opacity:0.8}

@media(max-width:960px){
  .book-detail-page{grid-template-columns:1fr;padding:18px}
  /* book visual order handled in public/css/book.css */
}

/* Accessibility focus for buttons & inputs */
.btn-primary:focus,.btn-secondary:focus,textarea:focus,input:focus{outline:3px solid rgba(59,130,246,0.18);outline-offset:2px}


/* Related Courses */
.related-courses {
  padding: 80px 0;
  background: var(--bg);
}

.related-courses h3 {
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-dark);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.related-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.related-card:hover {
  transform: translateY(-5px);
}

.related-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.related-card h4 {
  padding: 20px 20px 10px;
  color: var(--text-dark);
  font-size: 1.1rem;
}

.related-meta {
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.related-meta .price {
  font-weight: 700;
  color: var(--primary);
}

.related-meta .rating {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fbbf24;
  font-size: 0.9rem;
}

.related-card .btn {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

/* Course Not Found */
.course-not-found {
  padding: 120px 0;
  text-align: center;
}

.course-not-found h1 {
  color: var(--text-dark);
  margin-bottom: 20px;
}

.course-not-found p {
  color: var(--text);
  margin-bottom: 30px;
}

/* Responsive Design for Course Detail Page */
@media (max-width: 1024px) {
  .course-hero .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 15px;
  }

  .overview-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .reviews-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .course-hero {
    padding: 60px 0;
  }

  .course-hero h1 {
    font-size: 2rem;
  }

  .course-meta-hero {
    flex-direction: column;
    gap: 15px;
  }

  .course-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tab-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .instructor-header {
    flex-direction: column;
    text-align: center;
  }

  .instructor-stats {
    justify-content: center;
    flex-wrap: wrap;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .curriculum-module {
    margin-bottom: 10px;
  }

  .module-toggle {
    padding: 15px;
  }

  .lesson-item {
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .course-content {
    padding: 20px;
  }
}

/* ===== ENHANCED FOOTER STYLES ===== */

.site-footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(59,130,246,0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(147,51,234,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 2;
    padding: 60px 24px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .footer-content {
        padding: 55px 25px;
    }

    .footer-section h3 {
        font-size: 1.3rem;
    }

    .footer-bottom-links {
        gap: 25px;
    }

    .footer-bottom a {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        padding: 50px 20px 30px;
    }

    .footer-grid {
        gap: 35px;
    }

    .footer-section:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .footer-section h3 {
        font-size: 1.3rem;
        margin-bottom: 18px;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
        width: 45px;
        height: 3px;
    }

    .footer-section p {
        text-align: center;
        margin-bottom: 20px;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .social-links {
        justify-content: center;
        gap: 15px;
        margin-top: 25px;
        flex-wrap: wrap;
    }

    .social-links a {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        border: 2px solid rgba(255,255,255,0.2);
        position: relative;
        overflow: hidden;
    }

    .social-links a::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(147,51,234,0.1));
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .social-links a:hover {
        transform: translateY(-3px) scale(1.05);
        border-color: rgba(255,255,255,0.4);
        box-shadow: 0 8px 25px rgba(59,130,246,0.3);
    }

    .social-links a:hover::before {
        opacity: 1;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links li {
        margin-bottom: 12px;
        position: relative;
    }

    .footer-links a {
        font-size: 0.95rem;
        padding: 8px 0;
        display: block;
        transition: all 0.3s ease;
        position: relative;
    }

    .footer-links a:hover {
        transform: translateX(0);
        color: #ffffff;
    }

    .newsletter-form {
        display: flex;
        flex-direction: column;
        gap: 15px;
        max-width: 100%;
    }

    .newsletter-form input {
        padding: 15px 20px;
        border-radius: 25px;
        font-size: 1rem;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
        transition: all 0.3s ease;
    }

    .newsletter-form input:focus {
        transform: scale(1.02);
        box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
    }

    .newsletter-form button {
        padding: 15px 30px;
        border-radius: 25px;
        font-size: 1rem;
        font-weight: 600;
        align-self: center;
        min-width: 140px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .newsletter-form button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s ease;
    }

    .newsletter-form button:hover::before {
        left: 100%;
    }

    .newsletter-form button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(59,130,246,0.4);
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 40px 15px 25px;
    }

    .footer-grid {
        gap: 25px;
    }

    .footer-section {
        padding: 15px 0;
    }

    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .footer-section h3::after {
        width: 40px;
        height: 2px;
    }

    .footer-section p {
        font-size: 0.9rem;
        margin-bottom: 18px;
    }

    .social-links {
        gap: 12px;
        margin-top: 20px;
    }

    .social-links a {
        width: 44px;
        height: 44px;
    }

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        font-size: 0.9rem;
        padding: 6px 0;
    }

    .newsletter-form input {
        padding: 14px 18px;
        font-size: 0.95rem;
    }

    .newsletter-form button {
        padding: 14px 28px;
        font-size: 0.95rem;
        min-width: 130px;
    }

    .footer-bottom {
        padding-top: 30px;
        text-align: center;
        position: relative;
        margin-top: 20px;
    }

    .footer-bottom::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    }

    .footer-bottom p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 20px;
        color: rgba(255,255,255,0.7);
    }

    .footer-bottom-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer-bottom a {
        font-size: 0.9rem;
        color: rgba(255,255,255,0.8);
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
        padding: 5px 0;
    }

    .footer-bottom a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 1px;
        background: linear-gradient(90deg, #3b82f6, #8b5cf6);
        transition: width 0.3s ease;
    }

    .footer-bottom a:hover {
        color: #ffffff;
    }

    .footer-bottom a:hover::after {
        width: 100%;
    }
}

.footer-section h3 {
    color: #ffffff;
    font-family: sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: sans-serif;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-family: sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    box-shadow: 0 8px 25px rgba(59,130,246,0.3);
}

.header-social {
    display: flex;
    gap: 12px;
    align-items: center;
}

.header-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.header-social a:hover {
    transform: translateY(-2px) scale(1.05);
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    box-shadow: 0 6px 20px rgba(59,130,246,0.3);
}

/* Responsive Header */
@media (max-width: 768px) {
    .header-social {
        display: none;
    }
}

.newsletter-section {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 30px;
}

.newsletter-section h3 {
    color: #ffffff;
    font-family: sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.newsletter-section p {
    color: rgba(255,255,255,0.8);
    text-align: center;
    margin-bottom: 25px;
    font-family: sans-serif;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 25px;
    background: rgba(255,255,255,0.05);
    color: #ffffff;
    font-family: sans-serif;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-form input:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
}

.newsletter-form button {
    padding: 14px 30px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #ffffff;
    border: none;
    border-radius: 25px;
    font-family: sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59,130,246,0.3);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59,130,246,0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-family: sans-serif;
    font-size: 0.9rem;
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-bottom a:hover {
    color: #3b82f6;
}

/* Footer Animation */
.footer-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image: radial-gradient(circle at 25% 25%, #ffffff 2px, transparent 2px),
                      radial-gradient(circle at 75% 75%, #ffffff 2px, transparent 2px);
    background-size: 60px 60px;
    animation: float 25s ease-in-out infinite;
}

/* Extra responsive footer tweaks */
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr !important; gap: 18px !important; }
  .footer-section { padding: 10px 0; text-align: center; }
  .newsletter-form { flex-direction: column; align-items: stretch; }
  .newsletter-form input, .newsletter-form button { width: 100%; box-sizing: border-box; }
  .newsletter-form input { padding: 12px 14px; }
  .newsletter-form button { padding: 12px 16px; min-width: auto; }
  .social-links { justify-content: center; gap: 10px; flex-wrap: wrap; }
  .social-links a { width: 40px; height: 40px; }
  .footer-bottom-links { flex-direction: column; gap: 10px; align-items: center; }
  .footer-bottom p { font-size: 0.85rem; padding: 0 8px; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr !important; gap: 20px; }
  .footer-content { padding-left: 16px; padding-right: 16px; }
  .footer-section h3 { text-align: center; }
}

/* Hide header social icons on small screens so only logo + menu remain */
@media (max-width: 768px) {
  .nav-social, .header-social, .social-nav {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* ensure menu toggle and logo remain visible */
  .nav-toggle { display: block !important; }
  .logo-container { display: flex; align-items: center; }
}

/* New Mission / Vision / Values / Team styles (compact premium layout) */
.mission-vision {
  background: #f9fafb; /* subtle light background for contrast */
  padding: 80px 20px;
}

.mission-vision h2{
  font-family:'Playfair Display', serif;
  font-size:2.5rem;
  color:#0f1f50;
  text-align:center;
  margin-bottom:60px;
}

.mv-grid {
  display: flex;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap; /* allows mobile responsiveness */
  justify-content: center;
}

.mv-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 25px;
  flex: 1 1 400px; /* flexible width, min 400px */
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  color: #0f1f50; /* deep blue for authority */
  margin-bottom: 15px;
}

.mv-card p {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #475569;
}

.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

/* Mobile Responsive */
@media(max-width:768px){
  .mv-grid {
    flex-direction: column;
    gap: 25px;
  }

  .mv-card {
    padding: 25px 20px;
  }

  .mv-card h2 {
    font-size: 1.6rem;
  }

  .mv-card p {
    font-size: 1rem;
  }
}

.core-values{
  --primary:#123b7d;
  --accent:#3b82f6;
  --bg:#f6f9ff;
  --card:#ffffff;
  --text:#1f2937;
  --muted:#6b7280;
}
.core-values{
  padding:100px 20px;
  background:var(--bg);
}

.core-values .wrap{
  max-width:1200px;
  margin:auto;
  text-align:center;
}
.core-values h2{
  font-family:'Playfair Display', serif;
  font-size:2.4rem;
  color:var(--primary);
  margin-bottom:60px;
  position:relative;
}

.core-values h2::after{
  content:"";
  display:block;
  width:80px;
  height:4px;
  background:var(--accent);
  margin:16px auto 0;
  border-radius:3px;
}
.values-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px,1fr));
  gap:35px;
}
.value-item{
  background:var(--card);
  padding:40px 30px;
  border-radius:22px;
  box-shadow:0 25px 50px rgba(0,0,0,0.08);
  transition:all .35s ease;
  position:relative;
  overflow:hidden;
}
.value-item::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:5px;
  background:var(--accent);
  transform:scaleX(0);
  transform-origin:left;
  transition:.35s ease;
}

.value-item:hover::before{
  transform:scaleX(1);
}

.value-item:hover{
  transform:translateY(-10px);
  box-shadow:0 35px 70px rgba(0,0,0,0.12);
}
.value-item i{
  font-size:2.4rem;
  color:var(--accent);
  margin-bottom:18px;
  display:inline-block;
}
.value-item h3{
  font-size:1.25rem;
  color:var(--primary);
  margin-bottom:12px;
}

.value-item p{
  font-size:0.95rem;
  color:var(--muted);
  line-height:1.7;
}
@media(max-width:768px){
  .core-values h2{
    font-size:2rem;
  }

  .value-item{
    padding:32px 24px;
  }
}

.team{
  --primary:#123b7d;
  --accent:#3b82f6;
  --bg:#ffffff;
  --card:#f9fbff;
  --text:#1f2937;
  --muted:#6b7280;
}
.team{
  padding:100px 20px;
  background:var(--bg);
}

.team .wrap{
  max-width:1200px;
  margin:auto;
  text-align:center;
}
.team h2{
  font-family:'Playfair Display', serif;
  font-size:2.4rem;
  color:var(--primary);
  margin-bottom:20px;
}

.team-intro{
  max-width:720px;
  margin:0 auto 70px;
  font-size:1.05rem;
  color:var(--muted);
  line-height:1.7;
}
.team-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px,1fr));
  gap:40px;
}
.team-card{
  background:var(--card);
  border-radius:24px;
  padding:40px 28px;
  box-shadow:0 25px 55px rgba(0,0,0,.08);
  transition:.35s ease;
  position:relative;
  overflow:hidden;
}
.team-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:5px;
  background:var(--accent);
  transform:scaleX(0);
  transform-origin:left;
  transition:.35s ease;
}

.team-card:hover::before{
  transform:scaleX(1);
}

.team-card:hover{
  transform:translateY(-12px);
  box-shadow:0 40px 80px rgba(0,0,0,.12);
}
.team-card img{
  width:130px;
  height:130px;
  object-fit:cover;
  border-radius:50%;
  margin-bottom:20px;
  border:4px solid var(--accent);
}
.team-card h4{
  font-size:1.25rem;
  color:var(--primary);
  margin-bottom:6px;
}

.team-card span{
  display:block;
  font-size:.9rem;
  color:var(--accent);
  margin-bottom:14px;
  font-weight:600;
}

.team-card p{
  font-size:.95rem;
  color:var(--muted);
  line-height:1.6;
  margin-bottom:22px;
}
.team-social{
  display:flex;
  justify-content:center;
  gap:14px;
}

.social-link{
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#eaf1ff;
  color:var(--accent);
  font-size:1.1rem;
  transition:.3s ease;
}

.social-link:hover{
  background:var(--accent);
  color:#fff;
  transform:translateY(-3px);
}
@media(max-width:768px){
  .team h2{
    font-size:2rem;
  }

  .team-card{
    padding:34px 22px;
  }

  .team-card img{
    width:110px;
    height:110px;
  }
}
@media(max-width:768px){
  .about-cta{
    padding:90px 18px;
  }

  .about-cta h2{
    font-size:2.1rem;
  }

  .about-cta p{
    font-size:1rem;
  }
}
@media(max-width:992px){
  .impact-container{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:500px){
  .impact-container{
    grid-template-columns:1fr;
  }

  .about-impact h2{
    font-size:2.1rem;
  }
}

@media (max-width: 800px) {
  .team {
    padding-left: 6%;
    padding-right: 6%;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-card {
    padding: 24px 10px 20px 10px;
  }
  .team-card img {
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 800px) {
  .mission-vision, .core-values, .team { padding-left: 6%; padding-right: 6%; }
  .mission-vision .mv-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .about-who { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}


/* Suggested books section */
.suggested-books{margin-top:36px;padding:18px 24px;background:transparent}
.suggested-books h3{font-size:1.25rem;margin:0 0 12px;color:var(--text-dark)}
.suggested-list{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.suggested-card{display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:12px;background:var(--card);border:1px solid var(--border);text-decoration:none;color:inherit;transition:transform .18s,box-shadow .18s}
.suggested-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.suggested-cover{width:100%;height:160px;object-fit:cover;border-radius:8px}
.suggested-meta{display:flex;flex-direction:column;gap:6px}
.suggested-title{font-weight:700;color:var(--text-dark);font-size:0.98rem}
.suggested-author{color:var(--text);font-size:0.9rem}
.suggested-foot{display:flex;justify-content:flex-start;gap:8px;align-items:center;margin-top:6px}
.price{color:var(--text-dark);font-weight:700}

/* small utilities for this view */
.star-filled{color:#fbbf24}
.star-empty{color:#e5e7eb}
.clickable{cursor:pointer}

@media (max-width: 980px){
  .suggested-list{grid-template-columns:repeat(2,1fr)}
}

@media (max-width: 600px){
  .suggested-list{grid-template-columns:1fr}
  .book-detail-page{grid-template-columns:1fr}
}


