:root {
  --primary: #1a5f7a;
  --secondary: #d4af37;
  --accent: #2d9d78;
  --background: #f8f6f2;
  --dark: #2c3e50;
  --light: #f9f9f9;
  --shadow: 0 4px 16px rgba(38, 50, 56, 0.08);
  --shadow-deep: 0 8px 32px rgba(19, 95, 122, 0.15);
  --border-light: 1px solid rgba(212, 175, 55, 0.2);
}

/* ==========================================================
  Styles from index.html - appended to apply across site
  Purpose: replicate index page styles on all pages in the site
  ==========================================================

/* =========================================
  1. CSS VARIABLES & RESET (index.html)
  ========================================= */
:root {
  --primary-color: #1a472a;
  --secondary-color: #2e8b57;
  --accent-color: #d4af37;
  --text-dark: #1a1a1a;
  --text-light: #f4f4f4;
  --text-gray: #666;
  --bg-light: #f9f9f9;
  --white: #ffffff;
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --transition: all 0.3s ease;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Basic reset rules */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--text-dark); background-color: var(--bg-light); line-height: 1.6; overflow-x: hidden; }
a { text-decoration:none; color:inherit; transition:var(--transition); }
ul { list-style:none; }
button { cursor:pointer; font-family:inherit; }

/* =========================================
  2. HEADER & NAVIGATION (index.html)
  ========================================= */
header { background-color: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); position:relative; width:100%; z-index:100; }
nav { display:flex; justify-content:space-between; align-items:center; padding:1rem 5%; height:80px; }
.nav-logo { font-family:var(--font-heading); font-size:1.8rem; font-weight:900; color:var(--primary-color); }
.nav-links { display:flex; gap:2rem; }
.nav-links a{ font-weight:500; font-size:1rem; color:var(--text-dark); position:relative; }
.nav-links a:hover{ color:var(--primary-color); }
.nav-links a::after{ content:''; position:absolute; bottom:-5px; left:0; width:0; height:2px; background:var(--accent-color); transition:var(--transition); }
.nav-links a:hover::after{ width:100%; }
.mobile-hamburger { display:none; }

/* =========================================
  3. HAMBURGER MENUS (index.html) - Shared
  ========================================= */
.desktop-menu, .mobile-menu { position:fixed; top:0; height:100vh; background:var(--white); box-shadow:-5px 0 30px rgba(248,248,248,0.945); z-index:1001; transition:transform 0.4s cubic-bezier(0.4,0,0.2,1); overflow-y:auto; padding:2rem; }
.desktop-hamburger { position:fixed; top:100px; left:30px; z-index:900; }
#desktop-menu-toggle, #mobile-menu-toggle { display:none; }
.desktop-menu-icon { background:white; color:var(--accent-color); width:50px; height:50px; border-radius: 50%; display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:var(--shadow); transition:var(--transition); font-size:1.2rem; }
.desktop-menu-icon:hover { transform: scale(1.1); }
.desktop-menu { left:0; width:320px; transform: translateX(-100%); }
#desktop-menu-toggle:checked ~ .desktop-menu { transform: translateX(0); }
.desktop-menu-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:2rem; border-bottom:1px solid #eee; padding-bottom:1rem; }
.desktop-menu-header h3{ font-family:var(--font-heading); color:var(--primary-color); }
.desktop-menu-close{ background:none; border:none; font-size:1.5rem; color:var(--text-gray); }
.desktop-menu-link{ display:flex; align-items:center; padding:1rem 0; font-weight:500; border-bottom:1px solid #f5f5f5; color:var(--text-dark); }
.desktop-menu-link i{ width:30px; color:var(--accent-color); }
.desktop-menu-link:hover{ padding-left:10px; color:var(--primary-color); }
.mobile-menu{ right:0; width:80%; max-width:300px; transform: translateX(100%); }
#mobile-menu-toggle:checked ~ .mobile-menu{ transform: translateX(0); }
.mobile-menu-icon{ display:flex; flex-direction:column; gap:5px; cursor:pointer; z-index:102;}
.mobile-menu-icon span{ display:block; width:25px; height:3px; background-color:var(--primary-color); border-radius:3px;}
.mobile-menu-close{ background:none; border:none; font-size:1.5rem; position:absolute; top:1.5rem; right:1.5rem; }

/* ... appended index page rules continue (hero, videos, books, gallery, contact, footer, modals, etc.) ... */


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--background);
  color: var(--dark);
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(26, 95, 122, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 40% 40%, rgba(45, 157, 120, 0.1) 0%, transparent 60%);
  z-index: -1;
  filter: blur(3px);
}

/* Header & Navigation */
header {
  background: linear-gradient(135deg, var(--primary) 0%, #144a61 100%);
  color: #fff;
  box-shadow: var(--shadow-deep);
  position: relative;
  overflow: hidden;
}

header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent), var(--secondary));
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 95, 122, 0.2);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.125);
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  padding: 16px 32px;
  transition: all 0.3s ease;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
.nav-logo::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--secondary);
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links a:hover {
  color: var(--secondary);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px 40px;
  background: linear-gradient(135deg, var(--primary) 0%, #144a61 100%);
  color: #fff;
  border-radius: 0 0 40px 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.05);
  transform: rotate(20deg);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.profile-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--secondary);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.3);
  margin-bottom: 24px;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.profile-img:hover {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.5);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.hero-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-role {
  background: rgba(212, 175, 55, 0.9);
  color: var(--primary);
  padding: 8px 24px;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: var(--shadow);
  font-size: 1.05rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-role::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.hero-role:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.hero-role:hover::before {
  left: 100%;
}

.cta-btn {
  background: var(--secondary);
  color: var(--primary);
  padding: 14px 36px;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 20px;
  box-shadow: var(--shadow-deep);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.cta-btn:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(45, 157, 120, 0.4);
}

.cta-btn:hover::before {
  left: 100%;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 24px;
  position: relative;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 60px 0 30px 0;
  text-align: center;
  color: var(--primary);
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border-radius: 3px;
}

/* Desktop Hamburger Menu */
.desktop-hamburger {
  position: fixed;
  top: 120px;
  right: 30px;
  z-index: 1000;
}

/* Top-left variant: pin icon to very top-left and make its menu fullscreen overlay */
.desktop-hamburger.top-left {
  top: 8px;
  left: 8px;
  right: auto;
}

.desktop-hamburger.top-left .desktop-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, rgba(26,95,122,0.98) 0%, rgba(20,74,97,0.98) 100%);
  backdrop-filter: blur(18px);
  border-radius: 0;
  padding: 40px 24px;
  transform: translateY(-100%);
  overflow-y: auto;
  border: none;
}

.desktop-hamburger.top-left input[type="checkbox"]:checked ~ .desktop-menu {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Overlay color adjustments for top-left full-screen menu */
.desktop-hamburger.top-left .desktop-menu-header h3 {
  color: #fff;
}

.desktop-hamburger.top-left .desktop-menu-link {
  background: transparent;
  color: #fff;
  padding: 18px 20px;
  font-size: 1.2rem;
}

.desktop-hamburger.top-left .desktop-menu-link:hover {
  background: rgba(255,255,255,0.06);
  color: var(--secondary);
}

.desktop-hamburger.top-left .desktop-menu-close {
  background: var(--secondary);
  color: var(--primary);
}

.desktop-hamburger input[type="checkbox"] {
  display: none;
}

.desktop-menu-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(26, 95, 122, 0.9);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 25px;
  color: var(--secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-weight: 600;
}

.desktop-menu-icon:hover {
  background: rgba(26, 95, 122, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.desktop-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 300px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.desktop-hamburger input[type="checkbox"]:checked ~ .desktop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.desktop-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--secondary);
}

.desktop-menu-header h3 {
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  margin: 0;
}

.desktop-menu-close {
  background: var(--secondary);
  color: var(--primary);
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.desktop-menu-close:hover {
  background: var(--accent);
  color: white;
  transform: rotate(90deg);
}

.desktop-menu-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.desktop-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  color: var(--dark);
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.5);
}

.desktop-menu-link:hover {
  background: var(--primary);
  color: white;
  transform: translateX(5px);
}

.desktop-menu-link i {
  width: 20px;
  text-align: center;
  color: var(--secondary);
}

.desktop-menu-link:hover i {
  color: var(--accent);
}

/* Mobile Hamburger Menu */
.mobile-hamburger {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  display: none;
}

.mobile-hamburger input[type="checkbox"] {
  display: none;
}

.mobile-menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 35px;
  height: 30px;
  cursor: pointer;
  padding: 5px;
  background: rgba(26, 95, 122, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.mobile-menu-icon:hover {
  background: rgba(26, 95, 122, 0.9);
  border-color: rgba(212, 175, 55, 0.6);
  transform: scale(1.05);
}

.mobile-menu-icon span {
  display: block;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-hamburger input[type="checkbox"]:checked ~ .mobile-menu-icon span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background: var(--secondary);
}

.mobile-hamburger input[type="checkbox"]:checked ~ .mobile-menu-icon span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.mobile-hamburger input[type="checkbox"]:checked ~ .mobile-menu-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background: var(--secondary);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 95, 122, 0.98) 0%, rgba(20, 74, 97, 0.98) 100%);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 999;
  padding: 20px;
  overflow-y: auto;
}

.mobile-hamburger input[type="checkbox"]:checked ~ .mobile-menu {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: 25px;
  right: 25px;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  z-index: 1001;
}

.mobile-menu-close:hover {
  background: var(--accent);
  color: white;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 6px 20px rgba(45, 157, 120, 0.4);
}

.mobile-menu-header {
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.mobile-menu-header .nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--secondary);
  margin: 0;
}

.menu-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-top: 5px;
  font-weight: 400;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 15px 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.mobile-menu-link:hover {
  color: var(--secondary);
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(10px);
  border-color: rgba(212, 175, 55, 0.4);
}

.mobile-menu-link i {
  width: 20px;
  text-align: center;
  color: var(--secondary);
}

.menu-divider {
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: 20px 0;
  border-radius: 1px;
}

/* Unified hamburger menu styles (visible on desktop & mobile) */
.hamburger-menu {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1200;
  /* Hidden on desktop by default. Visible on mobile via media query below. */
  display: none;
}

.hamburger-menu input[type="checkbox"] { display: none; }

.hamburger-menu .menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 44px;
  height: 36px;
  padding: 6px;
  cursor: pointer;
  background: rgba(26, 95, 122, 0.92);
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.hamburger-menu .menu-icon span { height: 4px; background: var(--secondary); border-radius: 3px; }

.hamburger-menu input[type="checkbox"]:checked ~ .menu-icon span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger-menu input[type="checkbox"]:checked ~ .menu-icon span:nth-child(2) { opacity: 0; transform: scale(0); }
.hamburger-menu input[type="checkbox"]:checked ~ .menu-icon span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

.hamburger-menu .menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, rgba(26,95,122,0.98) 0%, rgba(20,74,97,0.98) 100%);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 24px;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.22,0.9,0.3,1);
  z-index: 1199;
  overflow-y: auto;
}

.hamburger-menu input[type="checkbox"]:checked ~ .menu { transform: translateY(0); }

.hamburger-menu .menu ul { list-style: none; padding: 0; margin: 0; text-align: center; width: 100%; max-width: 720px; }
.hamburger-menu .menu ul li { margin: 10px 0; opacity: 0; transform: translateY(16px); transition: all 0.35s ease; }
.hamburger-menu input[type="checkbox"]:checked ~ .menu ul li { opacity: 1; transform: translateY(0); }
.hamburger-menu .menu ul li a { color: #fff; text-decoration: none; font-size: 1.25rem; font-weight: 700; padding: 14px 18px; display: inline-block; border-radius: 12px; }
.hamburger-menu .menu .menu-close { position: absolute; top: 14px; right: 14px; background: var(--secondary); color: var(--primary); width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: none; }

/* NAV/TOGGLE visibility: mobile only defaults for site-wide consistency */
.nav-toggle,
.mobile-hamburger,
.hamburger-menu {
  display: none;
}

@media (max-width: 992px) {
  .mobile-hamburger,
  .hamburger-menu {
    display: block;
  }

  /* For pages using a simple `nav-toggle` button, show on smaller widths */
  .nav-toggle {
    display: inline-flex;
  }
}


/* Stats Section */
.stats-counters {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 50px auto;
  text-align: center;
  flex-wrap: wrap;
}

.counter-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(8px) saturate(180%);
  -webkit-backdrop-filter: blur(8px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 25px 30px;
  width: 180px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.counter-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.counter-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: var(--shadow-deep);
}

.counter-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
  animation: counterAnim 2s;
  display: block;
}

@keyframes counterAnim {
  0% { opacity: 0; transform: scale(0.7);}
  100% {opacity: 1; transform: scale(1);}
}

.counter-label {
  font-size: 1.1rem;
  color: var(--dark);
  font-weight: 600;
}

/* Videos Section */
.videos-row {
  margin-bottom: 50px;
}

.videos-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
  padding: 15px 0 25px 0;
  margin-bottom: 40px;
}

.video-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.125);
  padding: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.video-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 95, 122, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.video-card:hover {
  transform: translateY(-10px) rotateY(5deg);
  box-shadow: var(--shadow-deep);
}

.video-card:hover::before {
  opacity: 1;
}

.video-thumb-container {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.video-thumb { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: all 0.4s ease;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(212, 175, 55, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  transition: all 0.3s ease;
  opacity: 0;
}

.video-card:hover .video-play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.video-card:hover .video-thumb {
  transform: scale(1.05);
}

.video-title { 
  font-weight: 600; 
  margin: 15px 15px 10px 15px; 
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.4;

  /* Standard property (new, optional) */
  line-clamp: 2;

  /* WebKit fallback (actual working one) */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;

  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  z-index: 2;
}



.video-meta {
  font-size: 0.9rem; 
  color: #666;
  margin: 0 15px 15px 15px;
  font-weight: 400;
  position: relative;
  z-index: 2;
}

/* YouTube Video Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 95, 122, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.video-modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.video-modal-close:hover {
  background: var(--accent);
  color: white;
  transform: rotate(90deg);
}

.video-modal-iframe {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 12px;
}

/* Books Section */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  margin-bottom: 50px;
  perspective: 1000px;
}

.book-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 25px 20px;
  text-align: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
  cursor: pointer;
  transform-style: preserve-3d;
  overflow: hidden;
}

.book-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(26, 95, 122, 0.08) 0%, 
    rgba(45, 157, 120, 0.08) 50%, 
    rgba(212, 175, 55, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.book-card:hover {
  transform: translateY(-12px) rotateX(8deg) rotateY(8deg) scale(1.05);
  box-shadow: 
    0 25px 50px rgba(26, 95, 122, 0.2),
    0 20px 40px rgba(45, 157, 120, 0.15),
    0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: rgba(26, 95, 122, 0.3);
}

.book-card:hover::before {
  opacity: 1;
}

.book-cover {
  width: 140px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 
    0 8px 25px rgba(212, 175, 55, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.book-card:hover .book-cover {
  transform: scale(1.08) rotateY(5deg);
  box-shadow: 
    0 12px 30px rgba(212, 175, 55, 0.4),
    0 6px 15px rgba(0, 0, 0, 0.2);
}

.book-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.book-card:hover .book-title {
  color: var(--accent);
}

.book-meta {
  color: var(--primary);
  font-size: 1rem;
  margin: 10px 0;
  font-weight: 600;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
  line-height: 1.4;
}

.book-card:hover .book-meta {
  color: var(--accent);
}

.book-download {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  color: #fff;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 25px;
  margin-top: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(45, 157, 120, 0.3);
}

.book-download:hover { 
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Gallery Section */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.gallery-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(19, 121, 123, 0.15);
  cursor: pointer;
  transition: all 0.4s ease;
  aspect-ratio: 4/3;
  object-fit: cover;
  position: relative;
}

.gallery-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 95, 122, 0.2) 0%, rgba(212, 175, 55, 0.2) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 16px;
}

.gallery-img:hover { 
  transform: scale(1.08) rotate(1deg);
  box-shadow: 0 8px 25px rgba(19, 121, 123, 0.3);
}

.gallery-img:hover::before {
  opacity: 1;
}

/* Contact Section */
.contact-form {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 40px 32px;
  max-width: 500px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--dark);
  font-size: 1.05rem;
  margin-bottom: 8px;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 1.5px solid var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.1);
}

.contact-form button {
  background: linear-gradient(135deg, var(--primary), #144a61);
  color: #fff;
  border: none;
  padding: 15px 32px;
  border-radius: 14px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-form button::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.5s ease;
}

.contact-form button:hover { 
  background: linear-gradient(135deg, var(--accent), var(--primary));
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(45, 157, 120, 0.4);
}

.contact-form button:hover::before {
  left: 100%;
}

/* Personal Details Section */
.personal-details {
  margin: 60px 0;
}

.detail-content {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 30px;
  margin-bottom: 40px;
  transition: all 0.3s ease;
}

.detail-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(31, 38, 135, 0.2);
}

.detail-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--dark);
  margin-bottom: 0;
}

.detail-content ul {
  list-style: none;
  padding: 0;
}

.detail-content ul li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(26, 95, 122, 0.1);
  font-size: 1.1rem;
  position: relative;
  padding-left: 30px;
}

.detail-content ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
}

.detail-content ul li:last-child {
  border-bottom: none;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--primary) 0%, #144a61 100%);
  color: #fff;
  text-align: center;
  padding: 40px 0 30px;
  margin-top: 50px;
  border-radius: 40px 40px 0 0;
  position: relative;
  overflow: hidden;
}

footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent), var(--secondary));
}

.footer-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-socials {
  display: flex;
  gap: 25px;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-socials a {
  color: var(--secondary);
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
}

.footer-socials a:hover { 
  color: #fff;
  background: var(--accent);
  transform: translateY(-5px) rotate(10deg);
}

.footer-text {
  font-size: 1rem;
  opacity: 0.9;
  margin-top: 15px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background: #128c7e;
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
  font-size: 30px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
}

/* Page Specific Styles */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #144a61 100%);
  color: #fff;
  padding: 100px 20px 60px;
  text-align: center;
  border-radius: 0 0 40px 40px;
  margin-bottom: 50px;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page-hero p {
  font-size: 1.3rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 50px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.content-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 30px;
  transition: all 0.3s ease;
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(31, 38, 135, 0.2);
}

.content-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.content-card p {
  line-height: 1.6;
  color: var(--dark);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--secondary), var(--accent));
}

.timeline-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 25px;
  margin: 30px 0;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-item:nth-child(odd) {
  margin-left: 50%;
}

.timeline-item:nth-child(even) {
  margin-right: 50%;
}

.timeline-date {
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 10px;
  display: block;
}

/* Responsive Design */
@media (min-width: 1025px) {
  .desktop-hamburger {
    display: block;
  }
  .mobile-hamburger {
    display: none;
  }
}

@media (max-width: 1024px) {
  .desktop-hamburger {
    display: none;
  }
  .mobile-hamburger {
    display: block;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .stats-counters {
    gap: 30px;
  }
  .counter-card {
    width: 160px;
    padding: 20px 25px;
  }
  .page-hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 900px) {
  .stats-counters { 
    gap: 25px;
  }
  .books-grid, .gallery-masonry { 
    gap: 25px;
  }
  nav, main { 
    padding: 20px;
  }
  .videos-carousel {
    gap: 20px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .section-title {
    font-size: 1.9rem;
  }
  .counter-card {
    width: 150px;
    padding: 18px 22px;
  }
  .counter-num {
    font-size: 2.4rem;
  }
  .video-modal-iframe {
    height: 400px;
  }
  .page-hero h1 {
    font-size: 2.2rem;
  }
  .page-hero p {
    font-size: 1.1rem;
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
  .timeline::before {
    left: 30px;
  }
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    margin-left: 60px;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 50px 20px 35px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .profile-img {
    width: 140px;
    height: 140px;
  }
  .section-title {
    font-size: 1.8rem;
    margin: 50px 0 25px 0;
  }
  .stats-counters {
    gap: 20px;
  }
  .counter-card {
    width: 140px;
    padding: 15px 20px;
  }
  .counter-num {
    font-size: 2.2rem;
  }
  .video-card {
    min-width: 280px;
    max-width: 280px;
  }
  .book-card {
    padding: 20px 18px;
  }
  .book-cover {
    width: 120px;
    height: 160px;
  }
  .contact-form {
    padding: 30px 25px;
    margin: 30px auto;
  }
  .detail-content {
    padding: 20px;
  }
  .page-hero {
    padding: 80px 20px 40px;
  }
  .page-hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  nav { 
    flex-direction: column; 
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
  }
  .nav-logo {
    font-size: 1.8rem;
  }
  .nav-links { 
    display: flex; 
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }
  .nav-links a {
    font-size: 0.95rem;
    padding: 6px 0;
  }
  .hero { 
    padding: 40px 15px 30px;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .profile-img {
    width: 120px;
    height: 120px;
  }
  .hero-roles {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .hero-role {
    padding: 6px 20px;
    font-size: 0.95rem;
  }
  .cta-btn {
    padding: 12px 28px;
    font-size: 1rem;
  }
  .stats-counters { 
    flex-direction: column; 
    gap: 20px;
    align-items: center;
  }
  .counter-card {
    width: 200px;
    padding: 20px 25px;
  }
  .counter-num {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 1.6rem;
    margin: 40px 0 20px 0;
  }
  .videos-carousel { 
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 10px 0 20px 0;
  }
  .video-card {
    min-width: 250px;
    max-width: 250px;
    margin: 0 auto;
  }
  .video-thumb {
    height: 150px;
  }
  .books-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .book-card {
    padding: 20px 15px;
  }
  .book-cover {
    width: 100px;
    height: 140px;
  }
  .book-title {
    font-size: 1.2rem;
  }
  .book-meta {
    font-size: 0.9rem;
  }
  .gallery-masonry {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }
  main { 
    padding: 20px 15px;
  }
  .contact-form {
    padding: 25px 20px;
    margin: 25px auto;
  }
  .contact-form input,
  .contact-form textarea {
    padding: 12px;
    font-size: 1rem;
  }
  .contact-form button {
    padding: 12px 28px;
    font-size: 1rem;
  }
  .footer-socials {
    gap: 15px;
    flex-wrap: wrap;
  }
  .footer-socials a {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
  .footer-text {
    font-size: 0.9rem;
  }
  .footer-text p {
    margin: 5px 0;
  }
  .detail-content ul li {
    font-size: 1rem;
    padding-left: 25px;
  }
  .mobile-menu-link {
    font-size: 1.1rem;
    padding: 12px 15px;
  }
  .mobile-menu-icon {
    width: 32px;
    height: 28px;
  }
  .menu-header .nav-logo {
    font-size: 1.5rem;
  }
  .mobile-menu-close {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  .video-modal-iframe {
    height: 250px;
  }
  .page-hero {
    padding: 60px 15px 30px;
  }
  .page-hero h1 {
    font-size: 1.8rem;
  }
  .page-hero p {
    font-size: 1rem;
  }
  .content-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 30px 10px 25px;
  }
  .hero-title {
    font-size: 1.6rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
  }
  .profile-img {
    width: 100px;
    height: 100px;
  }
  .section-title {
    font-size: 1.4rem;
  }
  .video-card {
    min-width: 220px;
    max-width: 220px;
  }
  .video-thumb {
    height: 130px;
  }
  .book-card {
    padding: 15px 12px;
  }
  .book-cover {
    width: 80px;
    height: 120px;
  }
  .counter-card {
    width: 180px;
    padding: 18px 22px;
  }
  .counter-num {
    font-size: 2.2rem;
  }
  .contact-form {
    padding: 20px 15px;
  }
  .footer-socials a {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .footer-text {
    font-size: 0.85rem;
  }
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
    font-size: 24px;
  }
  .whatsapp-float i {
    font-size: 24px;
  }
  .page-hero h1 {
    font-size: 1.6rem;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 1.4rem;
  }
  .section-title {
    font-size: 1.2rem;
  }
  .video-card {
    min-width: 200px;
    max-width: 200px;
  }
  .book-card {
    padding: 12px 10px;
  }
  .book-cover {
    width: 70px;
    height: 100px;
  }
  .counter-card {
    width: 160px;
    padding: 15px 18px;
  }
  .counter-num {
    font-size: 2rem;
  }
  .page-hero h1 {
    font-size: 1.4rem;
  }
}
/* Path Struggle Page Styles */
.struggle-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 40px 0;
}

.timeline-path {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--secondary), var(--accent));
  border-radius: 2px;
}

.struggle-item {
  display: flex;
  align-items: center;
  margin: 60px 0;
  position: relative;
}

.struggle-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.struggle-icon {
  width: 80px;
  height: 80px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.8rem;
  z-index: 2;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.struggle-content {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  margin: 0 40px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s ease;
}

.struggle-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(31, 38, 135, 0.2);
}

.struggle-content h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

.struggle-date {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.struggle-lesson {
  background: rgba(45, 157, 120, 0.1);
  border-left: 4px solid var(--accent);
  padding: 15px;
  border-radius: 0 8px 8px 0;
  margin-top: 20px;
}

/* Quranic Guidance Styles */
.quranic-guidance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.guidance-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s ease;
}

.guidance-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(31, 38, 135, 0.2);
}

.ayah-arabic {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.6;
  font-family: system-ui, -apple-system, sans-serif;
}

.ayah-translation {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 15px;
  line-height: 1.6;
  font-style: italic;
}

.ayah-reference {
  color: var(--secondary);
  font-weight: 600;
}

/* Wisdom Grid Styles */
.wisdom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.wisdom-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s ease;
}

.wisdom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(31, 38, 135, 0.2);
}

.wisdom-icon {
  width: 70px;
  height: 70px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  margin: 0 auto 20px;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.wisdom-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
}

/* Social Projects Page Styles */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(31, 38, 135, 0.25);
}

.project-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 95, 122, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-stats {
  text-align: center;
  color: white;
}

.project-stats span {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.project-content {
  padding: 25px;
}

.project-content h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.project-category {
  background: var(--accent);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
}

.project-location {
  color: var(--dark);
}

.project-impact {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
  padding: 15px 0;
  border-top: 1px solid rgba(26, 95, 122, 0.1);
  border-bottom: 1px solid rgba(26, 95, 122, 0.1);
}

.impact-item {
  text-align: center;
}

.impact-item strong {
  display: block;
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.impact-item span {
  color: var(--dark);
  font-size: 0.9rem;
}

.project-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  color: white;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.project-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(45, 157, 120, 0.4);
}

/* Upcoming Projects Styles */
.upcoming-projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.upcoming-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  transition: all 0.3s ease;
}

.upcoming-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(31, 38, 135, 0.2);
}

.upcoming-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--secondary);
  color: var(--primary);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.8rem;
}

.upcoming-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
}

.upcoming-progress {
  margin: 20px 0;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(26, 95, 122, 0.2);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  border-radius: 4px;
  transition: width 0.5s ease;
}

.upcoming-btn {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upcoming-btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* Involvement Options Styles */
.involvement-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.involvement-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s ease;
}

.involvement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(31, 38, 135, 0.2);
}

.involvement-icon {
  width: 70px;
  height: 70px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  margin: 0 auto 20px;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.involvement-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
}

.involvement-btn {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.involvement-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(45, 157, 120, 0.4);
}

/* Connect Page Styles */
.connect-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  align-items: center;
}

.intro-content h2 {
  color: var(--primary);
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
}

.intro-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.connection-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.connection-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s ease;
}

.connection-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(31, 38, 135, 0.2);
}

.connection-icon {
  width: 70px;
  height: 70px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 20px;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.connection-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
}

.connection-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.connection-features li {
  padding: 8px 0;
  color: var(--dark);
}

.connection-features i {
  color: var(--accent);
  margin-right: 10px;
}

.connection-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  color: white;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.connection-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(45, 157, 120, 0.4);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border: 1px solid rgba(26, 95, 122, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.newsletter-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  background: var(--accent);
}

/* Speaking Engagement Styles */
.speaking-engagement {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 60px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.topic-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid var(--secondary);
}

.topic-item h4 {
  color: var(--primary);
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

.engagement-form {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(26, 95, 122, 0.1);
}

.engagement-form h4 {
  color: var(--primary);
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

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

.form-group label {
  margin-bottom: 8px;
  color: var(--dark);
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px;
  border: 1px solid rgba(26, 95, 122, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-family: 'Inter', sans-serif;
}

.engagement-submit {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.engagement-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(45, 157, 120, 0.4);
}

/* Social Presence Styles */
.social-presence {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.social-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s ease;
}

.social-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(31, 38, 135, 0.2);
}

.social-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.social-header i {
  font-size: 2rem;
  color: var(--secondary);
}

.social-header h3 {
  color: var(--primary);
  font-family: 'Playfair Display', serif;
}

.social-stats {
  margin: 20px 0;
}

.social-stats span {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 5px;
}

.social-stats small {
  color: var(--dark);
}

.social-link {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* Direct Contact Styles */
.direct-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-details h4 {
  color: var(--primary);
  margin-bottom: 5px;
  font-family: 'Playfair Display', serif;
}

.contact-details p {
  color: var(--dark);
  margin-bottom: 5px;
}

.contact-details small {
  color: #666;
}

.contact-form-container {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-form-detailed .form-group {
  margin-bottom: 20px;
}

.contact-form-detailed label {
  display: block;
  margin-bottom: 8px;
  color: var(--dark);
  font-weight: 600;
}

.contact-form-detailed input,
.contact-form-detailed select,
.contact-form-detailed textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(26, 95, 122, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-family: 'Inter', sans-serif;
}

.contact-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  color: white;
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(45, 157, 120, 0.4);
}

/* Books Page Styles */
.books-categories {
  margin-bottom: 40px;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.category-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  color: var(--dark);
}

.category-tab.active,
.category-tab:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.books-grid-expanded {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.book-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s ease;
}

.book-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(31, 38, 135, 0.2);
}

.book-cover-large {
  position: relative;
}

.book-cover-large img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.book-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--secondary);
  color: var(--primary);
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.8rem;
}

.book-details h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
}

.book-author {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.book-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.book-rating i {
  color: #ffc107;
}

.book-description {
  line-height: 1.6;
  color: var(--dark);
  margin-bottom: 20px;
}

.book-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  color: var(--dark);
}

.book-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.book-actions {
  display: flex;
  gap: 15px;
}

.book-action-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.book-action-btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  color: white;
}

.book-action-btn.secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.book-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(45, 157, 120, 0.3);
}

/* Reading Lists Styles */
.reading-lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.reading-level {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.reading-level h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 10px;
}

.level-books {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.level-book h4 {
  color: var(--primary);
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.level-book p {
  color: var(--dark);
  font-size: 0.9rem;
}

/* Recommendation Form Styles */
.recommendation-form {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: 60px;
}

.recommendation-form h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

.recommendation-form-details .form-group {
  margin-bottom: 20px;
}

.recommendation-form-details label {
  display: block;
  margin-bottom: 8px;
  color: var(--dark);
  font-weight: 600;
}

.recommendation-form-details input,
.recommendation-form-details select,
.recommendation-form-details textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(26, 95, 122, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-family: 'Inter', sans-serif;
}

.recommendation-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  color: white;
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.recommendation-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(45, 157, 120, 0.4);
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
  .struggle-item {
    flex-direction: column !important;
    text-align: center;
  }
  
  .struggle-content {
    margin: 20px 0;
  }
  
  .timeline-path {
    left: 30px;
  }
  
  .connect-intro {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .direct-contact {
    grid-template-columns: 1fr;
  }
  
  .book-item {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .book-actions {
    justify-content: center;
  }
  
  .books-categories {
    overflow-x: auto;
  }
  
  .category-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .upcoming-projects {
    grid-template-columns: 1fr;
  }
  
  .involvement-options {
    grid-template-columns: 1fr;
  }
  
  .connection-options {
    grid-template-columns: 1fr;
  }
  
  .social-presence {
    grid-template-columns: 1fr;
  }
  
  .reading-lists {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}

/* Prevent header logo overlapping the fixed top-left hamburger icon on wider screens */
@media (min-width: 769px) {
  nav { padding-left: 96px; }
  .nav-logo { margin-left: 0; }
}
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background-color: #25D366;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
}