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

:root {
  /* Brand Colors */
  --primary: #dc143c; /* Crimson */
  --primary-hover: #b01030;
  --secondary: #0b1a30; /* Navy Blue */
  --secondary-hover: #142a4a;
  --accent: #e8872a; /* Orange from brochure */
  --accent-hover: #cf7420;
  --brand-light-bg: #e8f0fa; /* Light blue from brochure */
  
  /* Neutral Colors */
  --bg-color: #f8fafc;
  --surface-color: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;

  /* Layout */
  --max-width: 1200px;
  --section-padding: 80px 20px;
  
  /* Effects */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: 1px solid rgba(255, 255, 255, 0.3);
  --radius-md: 12px;
  --radius-lg: 20px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-hover);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.2;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-padding);
}

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

.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Typography */
.heading-xl {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.heading-lg {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.text-lead {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--text-muted);
  font-weight: 400;
}

/* Components: Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-size: 1rem;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(220, 20, 60, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
}

.btn-secondary {
  background: var(--secondary);
  color: white;
  box-shadow: 0 4px 14px rgba(11, 26, 48, 0.2);
}

.btn-secondary:hover {
  background: var(--secondary-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 26, 48, 0.3);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* Glassmorphism Header */
header {
  position: sticky;
  top: -0.1px;
  width: 100%;
  padding: 1rem 0;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--glass-border);
  z-index: 1000;
  transition: all var(--transition-normal);
}

header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  object-fit: contain;
  transition: height var(--transition-normal);
}

header.scrolled .logo img {
  height: 40px;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--secondary);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--secondary);
  cursor: pointer;
}

/* Hero Section — Editorial Style */
.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 4rem;
  padding-bottom: 6rem;
  background: #f5f5f0;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  min-height: auto;
  position: relative;
}

/* Left Column */
.hero-content {
  max-width: 560px;
  position: relative;
  z-index: 5;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--secondary);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: slideDown 0.8s ease backwards;
}

.hero-badge i {
  color: var(--primary);
}

.hero-title {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: clamp(3rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--secondary);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  animation: slideUp 0.8s ease 0.2s backwards;
}

.hero-title span {
  color: var(--primary);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1.5rem;
  animation: slideUp 0.8s ease 0.35s backwards;
}

.hero-dot {
  width: 32px;
  height: 14px;
  border-radius: 50px;
  background: var(--secondary);
}

.hero-dot:nth-child(2) {
  background: var(--primary);
}

.hero-dot:nth-child(3) {
  background: var(--accent);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 380px;
  animation: slideUp 0.8s ease 0.4s backwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  animation: slideUp 0.8s ease 0.5s backwards;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--primary);
  color: white;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(220, 20, 60, 0.25);
}

.btn-hero:hover {
  background: transparent;
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--secondary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-hero-outline:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-2px);
}

/* Stats Row */
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  animation: slideUp 0.8s ease 0.7s backwards;
}

.hero-stat h3 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 0.25rem;
  font-family: 'Outfit', sans-serif;
}

.hero-stat p {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* Right Column — Image + Blobs */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
  animation: fadeIn 1.2s ease 0.3s backwards;
}

/* Organic blob shapes */
.blob-primary {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--primary);
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
  top: 52%;
  left: 52%;
  transform: translate(-50%, -50%);
  z-index: 1;
  animation: blobMorph 8s ease-in-out infinite;
}

.blob-accent {
  position: absolute;
  width: 380px;
  height: 380px;
  background: var(--accent);
  border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
  top: 40%;
  left: 42%;
  transform: translate(-50%, -50%);
  z-index: 0;
  animation: blobMorph2 10s ease-in-out infinite;
}

@keyframes blobMorph {
  0%, 100% { border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%; }
  25% { border-radius: 50% 50% 40% 60% / 60% 40% 50% 50%; }
  50% { border-radius: 40% 60% 60% 40% / 50% 50% 40% 60%; }
  75% { border-radius: 55% 45% 45% 55% / 45% 55% 55% 45%; }
}

@keyframes blobMorph2 {
  0%, 100% { border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%; }
  33% { border-radius: 55% 45% 50% 50% / 45% 55% 50% 50%; }
  66% { border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%; }
}

.hero-mentor-img {
  position: relative;
  z-index: 3;
  width: 380px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.25rem;
  background: white;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  white-space: nowrap;
  z-index: 5;
  animation: floatUp 0.8s ease backwards;
}

.floating-badge i {
  color: var(--primary);
  font-size: 1rem;
}

.badge-top {
  top: 20%;
  right: -5%;
  animation-delay: 0.6s;
}

.badge-bottom {
  bottom: 25%;
  left: -5%;
  animation-delay: 0.9s;
}

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

/* Video preview pill */
.hero-video-pill {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 2rem;
  background: white;
  padding: 0.75rem 2rem 0.75rem 0.75rem;
  border-radius: 60px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  animation: slideUp 0.8s ease 1.2s backwards;
}

.hero-video-pill:hover {
  transform: translateX(-50%) translateY(-5px);
}

.youtube-thumb {
  width: 50px;
  height: 50px;
  background: rgba(255, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ff0000;
  font-size: 1.5rem;
}

.video-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.video-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Cards & Sections */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-inline: auto;
}

.section-tag {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.875rem;
  display: block;
  margin-bottom: 0.5rem;
}

.feature-card {
  background: var(--surface-color);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(220, 20, 60, 0.2);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(11, 26, 48, 0.05);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: white;
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Course Cards */
.course-card {
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-color);
}

.course-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.course-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.course-content {
  padding: 1.5rem;
}

.course-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  background: rgba(220, 20, 60, 0.1);
  color: var(--primary);
  margin-bottom: 1rem;
}

.course-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.course-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.course-footer .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Call to Action Section */
.cta-section {
  background: var(--secondary);
  color: white;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  transform: translate(30%, -30%);
}

.cta-section h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 1.125rem;
}

/* Footer Element */
footer {
  background: var(--surface-color);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: 0.95rem;
}

.footer-title {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Animations */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

/* Media Queries */
@media (max-width: 992px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
    min-height: auto;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-desc {
    max-width: 100%;
    margin-inline: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-visual {
    min-height: 400px;
  }
  
  .blob-primary {
    width: 320px;
    height: 320px;
  }
  
  .blob-accent {
    width: 280px;
    height: 280px;
  }
  
  .hero-mentor-img {
    width: 280px;
  }
  
  .floating-badge {
    display: none;
  }
  
  .hero-video-pill {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin: 2rem auto 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--surface-color);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border-color);
    gap: 1.5rem;
  }

  .nav-menu.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ===========================
   MENTORSHIP PAGE STYLES
   =========================== */

/* Page Hero */
.page-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--brand-light-bg) 0%, #f0f5ff 50%, #fff 100%);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(220, 20, 60, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(11, 26, 48, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero-wrapper {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.page-hero-content {
  flex: 1;
  position: relative;
  z-index: 2;
}

.page-hero-content .hero-badge {
  background: rgba(232, 135, 42, 0.15);
  color: var(--accent);
}

.page-hero-image {
  flex: 0 0 400px;
  position: relative;
  z-index: 2;
}

.page-hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px rgba(11, 26, 48, 0.15);
}

/* Accent button */
.btn-accent {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 14px rgba(232, 135, 42, 0.3);
}

.btn-accent:hover {
  background: var(--accent-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 135, 42, 0.4);
}

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

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--accent), var(--secondary));
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  padding-left: 80px;
  padding-bottom: 3rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: 14px;
  top: 4px;
  width: 34px;
  height: 34px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 0 0 6px rgba(220, 20, 60, 0.15);
  z-index: 2;
}

.timeline-item:nth-child(even) .timeline-marker {
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(232, 135, 42, 0.15);
}

.timeline-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.timeline-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
}

.timeline-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--secondary);
}

.timeline-card p,
.timeline-card ul {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.timeline-card ul {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
  list-style: none;
}

.timeline-card ul li {
  padding: 0.3rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.timeline-card ul li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.85rem;
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.pricing-card {
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary), var(--shadow-lg);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-duration {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.pricing-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.pricing-amount span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.pricing-card .btn {
  width: 100%;
}

/* Mentor Profile Card */
.mentor-profile {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  background: var(--surface-color);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.mentor-photo {
  flex: 0 0 200px;
}

.mentor-photo img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary);
  box-shadow: 0 0 0 8px rgba(220, 20, 60, 0.1);
}

.mentor-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.mentor-info .mentor-title {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.mentor-credentials {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.mentor-credentials li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
}

.mentor-credentials li::before {
  content: '\f19d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.85rem;
}

/* Eligibility / Feature List */
.eligibility-list {
  max-width: 800px;
  margin: 0 auto;
}

.eligibility-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--surface-color);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.eligibility-item:hover {
  border-color: rgba(220, 20, 60, 0.2);
  box-shadow: var(--shadow-md);
}

.eligibility-item i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.eligibility-item p {
  color: var(--text-main);
  font-size: 0.95rem;
}

/* Responsive for mentorship page */
@media (max-width: 992px) {
  .page-hero-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-hero-image {
    flex: 0 0 auto;
    max-width: 350px;
  }

  .mentor-profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .mentor-credentials li {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .timeline::before {
    left: 18px;
  }

  .timeline-marker {
    left: 2px;
    width: 34px;
    height: 34px;
  }

  .timeline-item {
    padding-left: 60px;
  }
}

/* Results Section Scroller */
.results-scroller {
  overflow: hidden;
  padding: 1rem 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.results-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 15s linear infinite;
}

.results-track:hover {
  animation-play-state: paused;
}

.results-group {
  display: flex;
  gap: 2rem;
}

.result-img {
  width: 150px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border: 2px solid rgba(255,255,255,0.2);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.result-img:hover {
  transform: scale(1.05);
}

/* Lightbox Modal Styles */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  padding: 2rem;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  cursor: zoom-out;
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90vh;
  border-radius: 4px;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
  animation: zoomIn 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

@keyframes zoomIn {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
  .t-prev { left: 0; }
  .t-next { right: 0; }
  .t-arrow {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.9);
  }
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 1rem)); }
}

/* =========================================================================
   CONTACT PAGE (Snappy UI Reference) 
   ========================================================================= */

/* =========================================================================
   TESTIMONIALS CAROUSEL
   ========================================================================= */
.testimonials-section {
  padding: var(--section-padding);
  background: var(--bg-color);
}

.testimonial-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-slides-wrapper {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(11,26,48,0.10);
}

.testimonial-slides {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial-slide {
  flex: 0 0 100%;
  width: 100%;
}

.testimonial-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  object-fit: contain;
}

/* Arrows */
.t-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: white;
  color: var(--secondary);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(11,26,48,0.14);
  transition: all var(--transition-normal);
  z-index: 10;
}

.t-arrow:hover {
  background: var(--primary);
  color: white;
  box-shadow: 0 6px 20px rgba(220,20,60,0.30);
  transform: translateY(-50%) scale(1.08);
}

.t-prev { left: -28px; }
.t-next { right: -28px; }

/* Dots */
.t-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.t-dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 10px;
}

.t-dot:hover {
  background: var(--primary-hover);
}

@media (max-width: 768px) {
  .t-prev { left: 0; }
  .t-next { right: 0; }
  .t-arrow {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.9);
  }
}


/* =========================================================================
   DIRECTOR'S DESK SECTION
   ========================================================================= */
.director-section {
  padding: var(--section-padding);
  background: white;
  position: relative;
  overflow: hidden;
}

.director-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: flex-start;
  margin-top: 2rem;
}

/* Left - Photo Area */
.director-left {
  position: relative;
}

.director-photo-wrap {
  position: relative;
  margin-bottom: 2rem;
}

.director-photo-bg {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  background: var(--brand-light-bg);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  z-index: 1;
  opacity: 0.5;
}

.director-photo {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 400px;
  filter: drop-shadow(0 20px 40px rgba(11, 26, 48, 0.1));
  display: block;
  margin: 0 auto;
}

.director-name-badge {
  position: absolute;
  bottom: 20px;
  right: -10px;
  background: var(--secondary);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(11, 26, 48, 0.2);
  z-index: 3;
  display: flex;
  flex-direction: column;
}

.director-badge-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.director-badge-title {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
}

/* Stat pills row */
.director-stats-row {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.dir-stat-pill {
  flex: 1;
  min-width: 110px;
  background: #f8fafc;
  padding: 0.85rem;
  border-radius: 14px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.dir-stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.dir-stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Right - Content Area */
.director-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.director-quote {
  position: relative;
  padding: 2.5rem 0 0 3.5rem;
  margin-bottom: 1rem;
}

.director-quote-icon {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.15;
}

.director-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.director-quote cite {
  font-family: 'Outfit', sans-serif;
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.director-bio {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-main);
}

.director-credentials {
  margin-top: 1rem;
}

.credentials-label {
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.credentials-label i {
  color: var(--primary);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.75rem;
}

.cred-pill {
  background: var(--brand-light-bg);
  padding: 0.6rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(11, 26, 48, 0.05);
}

.cred-pill i {
  color: #2563eb;
  font-size: 0.9rem;
}

.director-cta-row {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* LinkedIn Card - Innovative Component */
.linkedin-card {
  display: block;
  position: relative;
  background: #0077B5; /* LinkedIn Brand Color */
  border-radius: 16px;
  color: white;
  text-decoration: none;
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 25px rgba(0, 119, 181, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.linkedin-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 119, 181, 0.35);
}

.linkedin-card-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.2) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  transition: none;
}

.linkedin-card:hover .linkedin-card-shimmer {
  left: 150%;
  transition: left 0.75s ease-in-out;
}

.linkedin-card-inner {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}

.linkedin-icon-wrap {
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0077B5;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.linkedin-card:hover .linkedin-icon-wrap {
  transform: rotate(-10deg) scale(1.1);
}

.linkedin-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.linkedin-label {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.linkedin-handle {
  font-size: 1.15rem;
  font-weight: 700;
}

.linkedin-ext {
  font-size: 0.9rem;
  opacity: 0.6;
  transition: transform 0.3s ease;
}

.linkedin-card:hover .linkedin-ext {
  transform: translate(3px, -3px);
  opacity: 1;
}

/* Responsive fixes for Director */
@media (max-width: 992px) {
  .director-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .director-photo {
    max-width: 320px;
  }
  
  .director-right {
    text-align: left;
  }

  .director-stats-row {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .director-cta-row {
    flex-direction: column;
  }
  
  .director-cta-row .btn {
    width: 100%;
  }

  .director-quote p {
    font-size: 1.25rem;
  }
}


body.contact-page-bg {
  background-color: #f2f7fb;
}

/* Contact Hero Section */
.contact-hero-section {
  padding: 140px 0 80px 0;
}

.contact-split-container {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  justify-content: space-between;
}

/* Left Area */
.contact-info-block {
  flex: 1;
  max-width: 650px;
}

.contact-main-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.contact-main-desc {
  font-size: 1.15rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 450px;
}

.contact-direct-link {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 3.5rem;
}

.contact-direct-link a {
  color: #475569;
  font-size: 1.1rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.contact-direct-link a:hover {
  color: var(--primary);
}

.contact-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mini-column h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.mini-column p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
}

/* Right Area: Form Card */
.contact-form-wrapper {
  flex: 0 0 500px;
}

.snappy-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 25px 60px -15px rgba(0,0,0,0.05), 0 10px 30px -10px rgba(0,0,0,0.03);
}

.form-card-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.form-card-subtitle {
  color: #64748b;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.snappy-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-row-full {
  width: 100%;
}

.snappy-input, .snappy-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #1e293b;
  background: #fff;
  transition: all 0.2s ease;
}

.snappy-input:focus, .snappy-textarea:focus {
  outline: none;
  border-color: #3b82f6; 
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.snappy-input::placeholder, .snappy-textarea::placeholder {
  color: #94a3b8;
}

.snappy-textarea {
  resize: vertical;
  min-height: 120px;
}

.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

.pl-icon {
  padding-left: 3rem;
}

.phone-row {
  grid-template-columns: 80px 1fr;
}

.country-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  font-size: 0.95rem;
  color: #475569;
  cursor: pointer;
}

.country-code i {
  font-size: 0.75rem;
  color: #94a3b8;
}

.textarea-counter {
  text-align: right;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.5rem;
}

.snappy-submit-btn {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 1rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  margin-top: 0.5rem;
}

.snappy-submit-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.snappy-terms {
  text-align: center;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.5rem;
  line-height: 1.5;
}

.snappy-terms strong {
  color: #475569;
  cursor: pointer;
}

/* Location Section */
.location-section {
  padding: 6rem 0 8rem;
  background: white; 
  border-top: 1px solid #f1f5f9;
}

.location-split-container {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.location-text {
  flex: 0 0 350px;
}

.location-title {
  font-size: 2.5rem;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 3rem;
  margin-top: 0.5rem;
}

.hq-title {
  font-size: 1.1rem;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.hq-address {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
}

.location-map {
  flex: 1;
}

.map-card-container {
  position: relative;
  background: #f8fafc;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
  height: 400px;
}

.map-card-container iframe {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  pointer-events: none; 
}

.map-card-container:hover iframe {
  pointer-events: auto;
}

.map-floating-card {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: white;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 15px 35px -5px rgba(0,0,0,0.15);
  min-width: 260px;
  z-index: 10;
}

.map-logo-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.map-icon-bg {
  width: 40px;
  height: 40px;
  background: #eff6ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.map-logo-row h5 {
  margin: 0;
  font-size: 1rem;
  color: #0f172a;
}

.map-logo-row span {
  font-size: 0.75rem;
  color: #64748b;
}

.map-address-snip {
  font-size: 0.85rem;
  color: #475569;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.open-maps-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f172a;
}

.open-maps-link i {
  font-size: 0.7rem;
}

@media (max-width: 1024px) {
  .contact-split-container {
    flex-direction: column;
    gap: 3rem;
  }
  .contact-info-block {
    max-width: 100%;
  }
  .contact-form-wrapper {
    width: 100%;
    flex: 0 0 auto;
  }
  .location-split-container {
    flex-direction: column;
  }
  .location-text {
    flex: 0 0 auto;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .contact-mini-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Page Transitions */
body {
  animation: fadeInPage 0.4s ease forwards;
}

body.page-exit {
  animation: fadeOutPage 0.3s ease forwards;
}

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

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

/* Announcement Marquee Bar */
.announcement-bar {
  background-color: var(--primary);
  color: #fff;
  padding: 8px 0;
  overflow: hidden;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.marquee-wrapper {
  display: flex;
  white-space: nowrap;
  animation: scrollMarquee 25s linear infinite;
  width: max-content;
}

.marquee-wrapper:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-right: 50px; /* Spacing between items */
}

.marquee-item i {
  color: #ffd700;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Make sure header stays underneath the announcement bar */
header#header {
  z-index: 999;
}

/* === Inspiration in Media Gallery === */
.media-gallery-section {
  padding: 5rem 0 7rem 0;
  background-color: var(--surface-color); /* Updated to match site default white/gray surface */
  position: relative;
  overflow: hidden;
}

.gallery-container {
  max-width: 1400px;
  position: relative;
}

.masonry-gallery {
  column-count: 4;
  column-gap: 24px;
  width: 100%;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 8px;
  background: #eaeaea; /* Placeholder color before load */
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.masonry-item img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.masonry-item:hover img {
  transform: scale(1.04);
}

@media (max-width: 1200px) {
  .masonry-gallery { column-count: 3; column-gap: 16px; }
  .masonry-item { margin-bottom: 16px; }
}
@media (max-width: 768px) {
  .masonry-gallery { column-count: 2; }
}
@media (max-width: 480px) {
  .masonry-gallery { column-count: 1; }
}

/* Lightbox Styling */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999999; /* Make sure it's on top of everything */
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Avoid scrolling inside lightbox */
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {transform: scale(0.8); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
