.quote-light {
  font-weight: 300 !important;
}

.quote-bold {
  font-weight: 700 !important;
  letter-spacing: 0.2px;
}
/* Import Montserrat font first */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap");

/* Universal font declaration */
* {
  font-family: 'Montserrat', sans-serif;
}

/* Ensure all text elements use Montserrat */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video, input, textarea, select, button {
  font-family: 'Montserrat', sans-serif;
}

/* Additional elements that might need explicit font declaration */
::placeholder,
::selection,
::-webkit-input-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
  font-family: 'Montserrat', sans-serif;
}

.connect-direct-section {
  background: #000 !important;
  padding: 48px 0 32px 0;
  text-align: center;
}

.connect-direct-section h2 {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 32px;
}
/* Connect Directly Section Styling */
.connect-direct-section {
  background: #101217; /* Match top section background */
  padding: 48px 0 32px 0;
  text-align: center;
}

.connect-direct-cards {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 32px;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.connect-direct-card {
  background: #181a1b;
  color: #fff;
  border-radius: 12px;
  padding: 28px 56px;
  min-width: auto;
  max-width: 540px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.1rem;
  flex: 1;
}

.connect-direct-card i, .connect-direct-card svg {
  font-size: 1.5rem;
  margin-right: 12px;
}
/* Match label background to form blanks */
label[for="expedition"] {
  background: #f8f9fa;
  padding: 0 8px;
  border-radius: 8px;
  box-shadow: 0 0 0 2px #e9ecef;
  display: inline-block;
}

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

body {
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Carousel Styles */
.ganga-hero {
    height: 60vh;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding-top: 0;
    overflow: hidden;
}

.carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: opacity 0.6s ease-in-out, visibility 0s 0.6s;
    visibility: hidden;
    z-index: 0;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    transition: opacity 0.6s ease-in-out, visibility 0s 0s;
    pointer-events: auto;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 16px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s;
    z-index: 2;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background: white;
}

/* Header Styles */
.header {
  position: fixed;
  top: 35px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease,
    backdrop-filter 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    background 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    top 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    padding 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateY(0);
  opacity: 1;
  /* Safari-specific fixes */
  backface-visibility: hidden;
  perspective: 1000px;
  transform-style: preserve-3d;
  -webkit-transform: translateY(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000px;
  -webkit-transform-style: preserve-3d;
}

.header.header-blurred {
  top: 0;
  padding: 35px 40px;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  /* Safari-specific fixes */
  transform: translateY(0);
  backface-visibility: hidden;
  -webkit-transform: translateY(0);
  -webkit-backface-visibility: hidden;
}

.header.header-blurred::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: -1;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header.header-blurred .logo-wrapper {
  pointer-events: none;
}

.header.header-blurred .logo-wrapper img {
  transition: none !important;
}

.header.header-hidden {
  transform: translateY(-100%);
  opacity: 0;
  /* Safari-specific fixes */
  backface-visibility: hidden;
  -webkit-transform: translateY(-100%);
  -webkit-backface-visibility: hidden;
}

.header.header-visible {
  transform: translateY(0);
  opacity: 1;
  /* Safari-specific fixes */
  backface-visibility: hidden;
  -webkit-transform: translateY(0);
  -webkit-backface-visibility: hidden;
}

.hamburger-menu {
  position: absolute;
  left: 40px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
  transition: transform 0.3s ease;
}

.hamburger-menu:hover span {
  transform: scaleX(1.2);
}

.hamburger-menu span {
  width: 25px;
  height: 2px;
  background: white;
  margin: 3px 0;
  transition: 0.3s;
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.logo-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  cursor: pointer;
}

.logo-wrapper img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  top: 0;
  left: 0;
  transform-origin: center;
  transition: transform 0.11111s ease, opacity 0.11111s ease;
}

.logotype {
  z-index: 2;
  opacity: 1;
  transform: scaleX(1) scaleY(1);
}

.monogram {
  z-index: 1;
  opacity: 0;
  transform: scaleX(2.5) scale(0.6);
}

/* Ganga Page Header Styles */
.ganga-page .header,
.upcoming-page .header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 15px 40px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.3s ease, 
              backdrop-filter 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              background 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ganga-page .header.header-blurred,
.upcoming-page .header.header-blurred {
  top: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.ganga-page .header::before,
.upcoming-page .header::before {
  display: none;
}

.ganga-page .header.header-blurred,
.upcoming-page .header.header-blurred {
  background: rgba(0, 0, 0, 0.7); /* Slightly more transparent black to show blur */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  /* top and padding should remain as set by .ganga-page .header */
}

.ganga-page .header.header-blurred::before,
.upcoming-page .header.header-blurred::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: -1;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ganga-page .logo-wrapper,
.upcoming-page .logo-wrapper {
  width: 180px;
  height: 180px;
}

.ganga-page .hamburger-menu,
.upcoming-page .hamburger-menu {
  left: 40px;
}

.ganga-page .hamburger-menu span,
.upcoming-page .hamburger-menu span {
  background: white;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  max-width: 550px;
  height: 100vh;
  background: #f8f8f8;
  z-index: 1002;
  transition: left 0.3s ease;
  padding: 40px 30px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.sidebar.open {
  left: 0;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.close-btn {
  position: absolute;
  top: 30px;
  left: 30px;
  background: none;
  border: none;
  font-size: 45px;
  cursor: pointer;
  color: #333;
  transition: transform 0.3s ease;
  margin-bottom: 50px;
}

.close-btn:hover {
  transform: rotate(180deg);
}

.sidebar-logo {
  margin-bottom: 50px;
  margin-top: 80px;
}

.sidebar-logo h2 {
  color: #add72f;
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 1px;
}

.sidebar-nav ul {
  list-style: none;
  margin-bottom: 60px;
}

.sidebar-nav li {
  margin-bottom: 30px;
}

.sidebar-nav a {
  text-decoration: none;
  color: #333;
  font-size: 28px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.sidebar-nav a:hover {
  color: #add72f;
}

.social-icons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #000;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.3s ease;
}

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

.social-icon:hover {
  background: #333;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  background: url("images/NewHero.png") center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Smooth minor background shifts on resize */
  transition: background-position 200ms ease, background-size 200ms ease;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.05);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: left;
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center; /* Center across all breakpoints */
  transition: justify-content 200ms ease;
}

/* Quote Container */
.quote-container {
  display: flex;
  justify-content: center; /* Center the quote box */
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  transition: justify-content 200ms ease;
}

.quote-box {
  background: rgba(255, 255, 255, 0.7); /* Light translucent */
  padding: 40px 60px;
  border-radius: 0;
  max-width: 560px; /* Slightly narrower for a tighter look */
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s ease-out 0.5s forwards;
  text-align: center; /* Center align text */
  height: 272px; /* +1px more per request */
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto; /* Robust centering across breakpoints */
  transition: margin 200ms ease, transform 200ms ease;
}

.quote-text {
  margin-bottom: 15px;
  height: 160px; /* +1px more per request */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.quote-text p {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(22px, 3.5vw, 32px);
  line-height: 1.25;
  margin-bottom: 8px;
  font-weight: 100;
  letter-spacing: 0.2px;
  color: #222; /* Dark text for light background */
}

.quote-text p strong {
  font-weight: 700;
}

.quote-author {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(14px, 2.2vw, 18px);
  font-style: normal;
  opacity: 1;
  font-weight: 100;
  color: #222; /* Dark text for light background */
  margin-top: 12px;
  height: 36px; /* Slightly increased to avoid reflow */
  display: block; /* Avoid flex so pseudo-element doesn't affect layout */
  line-height: 1.2;
  overflow: visible; /* Ensure text is not clipped */
  white-space: nowrap; /* Keep author on one line */
  position: relative; /* For z-index stacking */
}

.quote-author .author-text { display: inline-block; position: relative; z-index: 1; }

/* Stronger override so the author cursor is a small blinking bar, scoped to the span */
.quote-author .author-text.typing-line::after {
  content: "|" !important;
  color: white !important;
  animation: blink 1s infinite !important;
  margin-left: 2px !important;
  display: inline !important;
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  background: none !important;
}

/* Typewriter cursor animation */
@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

/* Show cursor only on the actively typing element */
.typing-line::after {
  content: "|";
  color: white;
  animation: blink 1s infinite;
  margin-left: 2px;
}

/* Hide cursor when typing is complete */
.typing-complete .typing-line::after {
  /* Keep the pseudo-element so width doesn't change, but make it invisible */
  color: transparent !important;
  animation: none !important;
}

/* Courses Section */
.courses-section {
  background-color: #000000;
  background-image: url("images/courses-bg-4.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  padding: 0 0 20px 0;
  margin-top: 0;
}

.courses-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

/* Section Title */
.section-title-container {
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 0 auto;
  max-width: 1200px;
  padding: 80px 20px 60px 20px;
}

.section-title {
  font-size: clamp(32px, 7vw, 48px);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin: 0;
  padding: 0;
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: translateX(-50%);
  transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.section-title:hover::after {
  width: 100%;
}

.section-title:hover {
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.section-title-image {
  height: clamp(130px, 25vw, 180px);
  width: auto;
  margin: 80px 0;
  padding: 0;
  position: relative;
  display: inline-block;
  cursor: default; /* Not interactive */
  pointer-events: none; /* Ignore hover/click */
  transition: all 0.3s ease;
  filter: brightness(1.1);
}

.section-title-image::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: translateX(-50%);
  transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

/* Disable hover effects for the tagline image */
.section-title-image:hover::after { width: 0; }
.section-title-image:hover { filter: brightness(1.1); }

.courses-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.course-card {
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-size: cover;
  background-position: center;
  background-color: #000; /* Prevent any underlying seam */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  min-height: 280px;
}

/* Only bottom gradient - initially hidden */
.course-card::after {
  content: "";
  position: absolute;
  bottom: -1px; /* Slightly overdraw to avoid subpixel gap */
  left: 0;
  right: 0;
  height: calc(50% + 2px); /* Overdraw to cover rounding */
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 40%, transparent 100%);
  z-index: 1;
  transform: translate3d(0, 100%, 0);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: inherit; /* Match parent rounding */
  backface-visibility: hidden;
  will-change: transform;
}

/* Animated state - bottom gradient slides in */
.course-card.animate-gradients::after {
  transform: translate3d(0, 0, 0);
}

/* Hover effects */
.course-card.animate-gradients:hover::after {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 40%, transparent 100%);
}

.course-card[data-bg="frames"] {
  background-image: url("images/newbanarascard.jpg");
}

.course-card[data-bg="canvas"] {
  background-image: url("https://hebbkx1anhila5yf.public.blob.vercel-storage.com/canvas-of-desert-FS4KiLjQrHli1fmJ8YUdfZfcHvcpuL.png");
}

.course-card[data-bg="healing"] {
  background-image: url("https://hebbkx1anhila5yf.public.blob.vercel-storage.com/healing-brushstrokes.jpg-0OjuFg5b3DxDohL5iDOeqE8M3fFfns.jpeg");
}

.course-card[data-bg="majuli"] {
  background: url("images/majuli/unmask.jpeg") center/cover no-repeat;
  position: relative;
}

.course-card[data-bg="majuli"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(163, 230, 53, 0.1), transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(56, 189, 248, 0.1), transparent 50%);
  pointer-events: none;
}

.course-card[data-bg="coming-soon"] {
  background: url("https://hebbkx1anhila5yf.public.blob.vercel-storage.com/healing-brushstrokes.jpg-0OjuFg5b3DxDohL5iDOeqE8M3fFfns.jpeg") center/cover no-repeat;
  position: relative;
}

.course-card[data-bg="coming-soon"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  filter: blur(12px);
  z-index: 1;
}

.course-card[data-bg="coming-soon"]::after {
  display: none;
}

.course-card[data-bg="coming-soon"] .course-info {
  z-index: 3;
}

.course-card[data-bg="coming-soon"] .course-bottom-info {
  z-index: 3;
}

.course-card[data-bg="coming-soon"] .course-duration {
  font-size: clamp(11px, 2.5vw, 13px);
  letter-spacing: 4px;
  opacity: 0.9;
  font-weight: 600;
  display: none;
}

.course-card[data-bg="coming-soon"] .course-location {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  display: none;
}

/* Remove custom styling for coming-soon title and subtitle to use default */

@keyframes glassShimmer {
  0%, 100% { 
    opacity: 0.6;
    transform: scale(1);
  }
  50% { 
    opacity: 0.8;
    transform: scale(1.05);
  }
}

@keyframes glassRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes glassTextGlow {
  0%, 100% { 
    filter: brightness(1);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  }
  50% { 
    filter: brightness(1.2);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 0 20px rgba(163, 230, 53, 0.4);
  }
}

@keyframes glassQuestionPulse {
  0%, 100% { 
    transform: scale(1);
    opacity: 0.8;
  }
  50% { 
    transform: scale(1.1);
    opacity: 1;
  }
}

@keyframes glassGradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.course-card[data-bg="coming-soon"]:hover {
  transform: scale(1.03);
  border-color: rgba(163, 230, 53, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
              0 0 40px rgba(163, 230, 53, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.course-card:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.course-info {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  color: white;
  text-align: right;
  z-index: 2;
}

.course-duration {
  font-size: clamp(10px, 2vw, 12px);
  letter-spacing: 1.5px;
  margin-bottom: 2px;
  opacity: 1;
  font-weight: 500;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.course-location {
  font-size: clamp(10px, 2vw, 12px);
  letter-spacing: 1.5px;
  margin-bottom: 0;
  opacity: 1;
  font-weight: 600;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.course-date {
  font-size: clamp(10px, 2vw, 12px);
  letter-spacing: 1.5px;
  margin-bottom: 2px;
  opacity: 1;
  font-weight: 500;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.course-bottom-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: rgb(255, 255, 255);
  z-index: 2;
}

.course-title {
  font-size: clamp(20px, 4vw, 27px);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  line-height: 1.0;
  text-transform: uppercase;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9);
}

.course-subtitle {
  font-size: clamp(9px, 1.5vw, 11px);
  opacity: 1;
  letter-spacing: 1.2px;
  font-weight: 500;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* Upcoming Expeditions Section */
.upcoming-expeditions-section {
  background: #000 url("images/courses-bg-3.png") center / cover no-repeat;
  padding: 120px 0 80px 0;
  position: relative;
}

.upcoming-expeditions-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 0;
}

.upcoming-expeditions-container {
  max-width: 1122px; /* Increased from 1020px by 10% (1020 * 1.1 = 1122) */
  margin: 0 auto;
  padding: 0 34px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 51px;
}

.expedition-card {
  display: grid;
  grid-template-columns: 280px 1fr; /* Image | Content */
  column-gap: 28px; /* Clear spacing between image and text */
  background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url("https://images2.imgbox.com/8d/8b/CTPtHQ1S_o.jpg") center/cover no-repeat;
  border-radius: 8px; /* Reduced from 16px to 8px for less curved corners */
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.upcoming-pill-expedition {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 16px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
  animation: pillPulse 2s ease-in-out infinite;
  z-index: 10;
}

/* Specific background for Canvas of the Desert card */
.expedition-card[data-expedition="canvas"] {
  background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url("https://images2.imgbox.com/68/d2/XM49ZUV6_o.jpg") center/cover no-repeat;
}

/* Specific background for Healing Brushstrokes card */
.expedition-card[data-expedition="healing"] {
  background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url("https://images2.imgbox.com/74/6f/ryPqTGFP_o.jpg") center/cover no-repeat;
}

.expedition-image img {
  border-radius: 8px; /* Reduced from 16px to 8px for less curved corners */
}

.expedition-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.expedition-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 8px; /* Reduced from 16px to 8px for less curved corners */
  margin: 24px 0 24px 24px; /* Top/Bottom space + left inset; right relies on column-gap */
}

.expedition-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 8px; /* Reduced from 16px to 8px for less curved corners */
}

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

.expedition-content {
  padding: 34px 43px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
}

.expedition-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.expedition-description {
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  font-weight: 300;
}

.expedition-details {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.expedition-category {
  font-size: clamp(12px, 1.5vw, 14px);
  color: #add72f;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.expedition-info {
  text-align: right;
}

.expedition-duration {
  font-size: clamp(11px, 1.3vw, 13px);
  color: #add72f;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.expedition-location {
  font-size: clamp(11px, 1.3vw, 13px);
  color: #add72f;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.expedition-date {
  font-size: clamp(11px, 1.3vw, 13px);
  color: #add72f;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

/* Responsive Design for Upcoming Expeditions */
@media (max-width: 1024px) {
  .expedition-card {
    grid-template-columns: 1fr;
  }

  .expedition-image {
    height: 250px;
    margin: 13px auto; /* Center the image with equal left/right margins */
  }

  .expedition-content {
    padding: 30px 40px;
  }

  .upcoming-expeditions-container {
    padding: 0 30px;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .upcoming-expeditions-section {
    padding: 100px 0 40px 0;
  }

  .upcoming-expeditions-container {
    padding: 0 20px;
    gap: 30px;
  }

  .expedition-image {
    margin: 13px auto; /* Center the image with equal left/right margins */
  }

  .expedition-content {
    padding: 25px 30px;
  }

  .expedition-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .expedition-info {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .expedition-image {
    height: 200px;
    margin: 13px auto; /* Center the image with equal left/right margins */
  }

  .expedition-content {
    padding: 20px 25px;
  }
}

/* Contact Section */
.contact-section {
  position: relative;
  z-index: 1;
  padding: 80px 20px;
}

.contact-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.contact-title {
  font-size: clamp(42px, 9vw, 68px);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 1cm;
  opacity: 0;
  transform: translateY(-30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-title.animate-contact {
  opacity: 1;
  transform: translateY(0);
}

.contact-form {
  background: #f8f8f8;
  padding: 25px 35px;
  border-radius: 10px;
  box-shadow: none;
  max-width: 875px;
  margin: 0 auto;
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-form.animate-contact {
  opacity: 1;
  transform: translateY(0);
}

.contact-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form.animate-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group {
  position: relative;
  margin-bottom: 25px;
}

.form-label {
  position: absolute;
  left: 0;
  top: 12px;
  color: #666;
  font-size: 16px;
  font-weight: 400;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: left top;
  background: transparent;
  padding: 0;
  z-index: 1;
}

.form-label.active {
  top: -8px;
  font-size: 12px;
  color: #333;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transform: scale(1);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  /* Anchor text close to the underline */
  padding: 10px 0 2px;
  border: none;
  border-bottom: 2px solid #ddd;
  font-size: 16px;
  background: transparent;
  transition: all 0.3s ease;
  outline: none;
  color: #333;
  position: relative;
  z-index: 2;
}

/* Tighter baseline for single-line inputs */
.form-input {
  line-height: 1.2;
  padding-bottom: 4px; /* +2px below for First, Last, Email */
}

/* Comfortable reading for multi-line; keep baseline close to the line */
.form-textarea {
  line-height: 1.5;
  padding-bottom: 2px;
}

.form-input:focus,
.form-textarea:focus {
  border-bottom-color: #333;
}

.form-input:focus + .form-label,
.form-textarea:focus + .form-label {
  top: -8px;
  font-size: 12px;
  color: #333;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
  border-bottom: 2px solid #ddd;
  padding-top: 25px;
}

/* Keep the message label raised without white background */
#message.form-textarea + .form-label {
  top: -10px;
  background: transparent;
  padding: 0;
  z-index: 1;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Auto-expanding container for the message box (no scrollbar) */
#message.form-textarea {
  min-height: 120px;            /* comfortable starting size */
  resize: none;                 /* we autosize instead of manual resize */
  overflow-y: hidden;           /* no scrollbars; height grows instead */
  box-sizing: border-box;       /* height respects padding/border */
  padding-top: 10px;            /* keep text near the line */
  padding-bottom: 2px;
  line-height: 1.5;
}

.submit-btn {
  background: #000;
  color: white;
  padding: 14px 40px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: none;
  letter-spacing: 0;
  width: 100%;
  max-width: 200px;
  display: block;
  margin: 10px auto 0;
}

.submit-btn:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


/* Footer Styles */
.footer {
  position: relative;
  background: linear-gradient(135deg, #000000 0%, #111111 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 0 25px 0;
  width: 100%;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(173, 215, 47, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(173, 215, 47, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

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

.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: footerSlideIn 1s ease-out 0.3s forwards;
}

.footer-logo-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-brand {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: white;
  margin: 0;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-logo {
  max-width: 300px;
  width: 100%;
  height: auto;
  margin: 0;
  filter: brightness(1.1);
}

.footer-tagline {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(12px, 2vw, 15px);
  color: #add72f;
  margin: 0;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-nav-group h4 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(14px, 2.2vw, 17px);
  font-weight: 600;
  color: white;
  margin: 0 0 25px 0;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  position: relative;
}

.footer-nav-group h4::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #add72f, transparent);
  border-radius: 1px;
}

.footer-nav-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav-group li {
  margin-bottom: 15px;
}

.footer-nav-group a {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(12px, 2vw, 14px);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-nav-group a:hover {
  color: #add72f;
  transform: translateX(5px);
}

.footer-nav-group a::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1px;
  background: #add72f;
  transition: width 0.3s ease;
}

.footer-nav-group a:hover::before {
  width: 12px;
}

/* Footer Contact Info Styles */
.footer-contact-info {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.email-link {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(12px, 2vw, 14px);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: inline-block;
  margin-bottom: 10px;
}

.email-link:hover {
  color: #add72f;
  transform: translateY(-2px);
}

/* Social Media Icons */
.social-icons-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav-group:last-child ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: -10px;
}

.footer-nav-group:last-child li {
  margin: 0;
}

.social-icon-svg {
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link span {
  display: none;  /* Hide the text */
}

.social-link:hover .social-icon-svg {
  opacity: 1;
  transform: scale(1.1);
  color: #add72f;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  margin: 35px 0 20px 0;
  opacity: 0;
  animation: footerSlideIn 1s ease-out 0.6s forwards;
  position: relative;
}

.footer-divider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: #add72f;
  opacity: 0.6;
}

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

.footer-copyright {
  opacity: 0;
  transform: translateY(10px);
  animation: footerSlideIn 1s ease-out 0.9s forwards;
}

.footer-copyright p {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(11px, 2vw, 13px);
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.footer-copyright:hover p {
  color: white;
  letter-spacing: 1.2px;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

.footer-copyright #current-year {
  color: #add72f;
  font-weight: 600;
  position: relative;
  display: inline;
  transition: all 0.3s ease;
}

.footer-copyright #current-year::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -2px;
  right: -2px;
  bottom: -1px;
  background: rgba(173, 215, 47, 0.1);
  border-radius: 2px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.footer-copyright:hover #current-year::before {
  opacity: 1;
  transform: scale(1);
}

.footer-copyright:hover #current-year {
  color: white;
  font-weight: 700;
}

/* Enhanced Footer Animations */
@keyframes footerSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating animation for subtle movement */
@keyframes footerFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-1px);
  }
}

.footer-copyright p {
  animation: footerFloat 6s ease-in-out infinite;
  animation-delay: 1.5s;
}

/* Responsive footer adjustments */
@media (max-width: 1024px) {
  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }
  
  .footer-nav-group:last-child {
    grid-column: 1 / -1;
    text-align: center;
  }
  
  .footer-nav-group:last-child ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .footer-nav-group:last-child li {
    margin-bottom: 0;
  }
  
  .footer-contact-info {
    margin-bottom: 20px;
  }
  
  .social-icons-list {
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 50px 0 20px 0;
  }

  .footer-content {
    padding: 0 25px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-logo-section {
    align-items: center;
    gap: 12px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    text-align: left;
  }
  
  .footer-nav-group {
    text-align: center;
  }
  
  .footer-nav-group h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-nav-group a:hover {
    transform: translateX(0);
  }

  .footer-nav-group a::before {
    display: none;
  }

  .footer-copyright p {
    font-size: clamp(10px, 2.2vw, 12px);
    letter-spacing: 0.8px;
    line-height: 1.3;
  }

  .footer-copyright:hover p {
    letter-spacing: 1px;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 40px 0 15px 0;
  }

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

  .footer-main {
    gap: 35px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-nav-group {
    padding: 0 20px;
  }

  .footer-brand {
    font-size: clamp(18px, 4.5vw, 22px);
  }

  .footer-tagline {
    font-size: clamp(11px, 3vw, 13px);
    letter-spacing: 2px;
  }

  .footer-nav-group h4 {
    font-size: clamp(13px, 3.5vw, 15px);
    margin-bottom: 20px;
  }

  .footer-nav-group a {
    font-size: clamp(11px, 3vw, 13px);
    justify-content: center;
  }
  
  .social-icon-svg {
    width: 18px;
    height: 18px;
  }

  .footer-divider {
    margin: 35px 0 25px 0;
  }
  
  .footer-contact-info {
    margin-bottom: 18px;
  }
  
  .email-link {
    font-size: clamp(11px, 3vw, 13px);
  }
  
  .social-icons-list {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 35px 0 12px 0;
  }

  .footer-content {
    padding: 0 15px;
  }

  .footer-main {
    gap: 30px;
  }

  .footer-nav {
    gap: 25px;
  }
  
  .footer-nav-group {
    padding: 0 10px;
  }

  .footer-brand {
    font-size: clamp(16px, 5vw, 20px);
    letter-spacing: 1px;
  }

  .footer-tagline {
    font-size: clamp(10px, 3.5vw, 12px);
    letter-spacing: 1.5px;
  }

  .footer-nav-group h4 {
    font-size: clamp(12px, 4vw, 14px);
    margin-bottom: 18px;
  }

  .footer-nav-group a {
    font-size: clamp(10px, 3.5vw, 12px);
    gap: 6px;
  }
  
  .social-icon-svg {
    width: 16px;
    height: 16px;
  }

  .footer-copyright p {
    font-size: clamp(9px, 3vw, 11px);
    letter-spacing: 0.5px;
  }

  .footer-copyright:hover p {
    letter-spacing: 0.8px;
  }

  .footer-divider {
    margin: 30px 0 20px 0;
  }
  
  .footer-contact-info {
    margin-bottom: 15px;
  }
  
  .email-link {
    font-size: clamp(10px, 3.5vw, 12px);
  }
  
  .social-icons-list {
    gap: 14px;
  }
}

@media (max-width: 375px) {
  .footer {
    padding: 30px 0 10px 0;
  }

  .footer-content {
    padding: 0 12px;
  }

  .footer-main {
    gap: 25px;
  }

  .footer-nav {
    gap: 20px;
  }
  
  .footer-nav-group {
    padding: 0 5px;
  }

  .footer-nav-group li {
    margin-bottom: 12px;
  }

  .footer-divider {
    margin: 25px 0 18px 0;
  }
  
  .footer-divider::before {
    width: 40px;
  }
  
  .footer-contact-info {
    margin-bottom: 12px;
  }
  
  .social-icons-list {
    gap: 12px;
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* Remove focus bump animation to keep caret near underline */
/* Intentionally no transform on focus */

/* Responsive Design */

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
  .courses-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 1000px;
  }

  .contact-content {
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: end;
  }

  .contact-title {
    text-align: left;
    margin-bottom: 0;
    margin-top: 0;
    display: flex;
    align-items: flex-end;
    align-self: end;
    padding-bottom: 40px;
  }

  .contact-title.animate-contact {
    opacity: 1;
    transform: translateX(0);
  }

  .contact-form {
    background: #f8f8f8;
    padding: 40px 60px;
    border-radius: 10px;
    box-shadow: none;
    max-width: 950px;
    margin-right: 0;
    width: 100%;
  }

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

  .form-group {
    margin-bottom: 30px;
  }

  .submit-btn {
    width: auto;
    margin: 15px 0 0;
  }

  .hero-content {
    justify-content: center;
  }

  .quote-container {
    justify-content: center;
  }
}

/* Desktop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .courses-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .contact-form {
    padding: 30px 35px;
  }

  .hero-content {
    justify-content: center;
  }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .header {
    padding: 20px 30px;
  }

  .hamburger-menu {
    left: 30px;
  }
}

/* Ganga Page Styles */

/* Ganga Hero Section */
.ganga-hero {
  height: calc(60vh + 70px); /* Increased height by another 5% (approx 69px) */
  min-height: 549px; /* Updated min-height */
  background: none;
  position: relative;
  display: flex;
  align-items: center; /* Center content vertically within the hero */
  justify-content: center; /* Center content horizontally within the hero */
  margin-top: 0;
  padding-top: 80px; /* Add padding to push content down below fixed header */
}

.ganga-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
}

.ganga-hero-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center; /* Center the text block */
  max-width: 1200px;
  width: 100%;
  padding: 0 60px;
  margin-left: 0;
  display: flex;
  flex-direction: column; /* Stack text vertically */
  align-items: center; /* Center text horizontally */
  justify-content: center; /* Center text vertically */
}

.ganga-hero-text {
  max-width: 800px;
  text-align: center;
}

.ganga-subtitle {
  font-size: clamp(14px, 2.5vw, 20px);
  font-weight: 400;
  letter-spacing: 3px;
  margin-top: -230px; /* Removed problematic negative margin */
  margin-bottom: 6px; /* Tighter spacing to bring subtitle closer to title */
  opacity: 0.9;
  text-transform: uppercase;
  color: black;
}

.ganga-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: black;
}

/* Course Overview Section */
.course-overview {
  background: url("https://images2.imgbox.com/8d/8b/CTPtHQ1S_o.jpg") center / cover no-repeat;
  padding: 60px 0; /* Reduced from 100px to remove extra black space */
  color: white;
  position: relative;
}

.course-overview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75); /* Moderately dark overlay to dim the background */
}

.course-overview-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.overview-points {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.overview-point {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.bullet {
  color: white;
  font-size: 20px;
  font-weight: bold;
  margin-top: 2px;
  flex-shrink: 0;
}

.overview-point p {
  font-size: 18px;
  line-height: 1.8;
  margin: 0;
  font-weight: 400;
}

.overview-point strong {
  font-weight: 700;
}

/* Itinerary Section */
.itinerary-section {
  background: #ffffff;
  padding: 0;
  contain: layout;
}

.itinerary-container {
  max-width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.day-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 280px; /* Reduced to 70% of 400px */
  align-items: stretch; /* Ensure both columns have equal height */
}

.day-image-section {
  position: relative;
  overflow: hidden;
  display: flex; /* Add flex for better alignment */
  align-items: center; /* Center the image vertically */
  height: 100%; /* Ensure it takes exactly the height of the row */
}

.day-image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  flex-shrink: 0; /* Prevent image from shrinking */
  max-height: 280px; /* Reduced to match new row height */
  background-color: #f0f0f0; /* Placeholder while loading */
}

.day-text-section {
  background: #f8f8f8;
  padding: 20px 40px; /* Reduced top/bottom padding for better centering */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center content vertically */
  align-items: flex-start; /* Align content to the left */
  height: 100%; /* Ensure it takes exactly the height of the row */
  box-sizing: border-box; /* Include padding in height calculation */
}

.day-number {
  font-size: 42px; /* Reduced proportionally from 48px */
  font-weight: 900;
  color: #000000;
  margin: 0 0 12px 0; /* Reduced and balanced margin */
  text-transform: uppercase;
  letter-spacing: -1px;
  line-height: 1;
  position: relative;
  display: inline-block;
  opacity: 0;               /* hidden by default to sync with points */
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.day-date {
  font-size: 16px;
  font-weight: 500;
  color: #666;
  margin-left: 12px;
  text-transform: none;
  letter-spacing: 0.5px;
  vertical-align: baseline;
}

/* Wave animation for day numbers */
.wave-text span {
  display: inline-block;
}

.wave-text.animate span { /* Disable previous wave effect for cleaner feel */
  animation: none;
}

.wave-text span:nth-child(1) {
  animation-delay: 0s;
}
.wave-text span:nth-child(2) {
  animation-delay: 0.2s;
}
.wave-text span:nth-child(3) {
  animation-delay: 0.4s;
}
.wave-text span:nth-child(4) {
  animation-delay: 0.6s;
  margin-right: 12px; /* Add space between "DAY" and the number */
}
.wave-text span:nth-child(5) {
  animation-delay: 0.8s;
}

@keyframes wave {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
    
  

.day-content-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  flex: 0; /* Remove flex-grow to prevent expansion */
  justify-content: flex-start;
}

/* Content wrapper for perfect vertical centering */
.day-content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: 100%;
}

.day-item {
  font-size: 16px;
  line-height: 1.5;
  color: #333333;
  margin: 0;
  font-weight: 400;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  /* Hanging indent so wrap aligns under text after the dash */
  padding-left: 18px;
  text-indent: -18px;
}

/* Animation active state */
.day-row.animate-in .day-item {
  opacity: 1;
  transform: translateY(0);
}

/* Animate day heading in the same style as points */
.day-row.animate-in .day-number {
  opacity: 1;
  transform: translateY(0);
}

/* Underline pointer grows in when row animates */
/* Underline pointer removed per request */
.day-number::after { display: none; }

/* Staggered animation delays for each day item */
.day-row.animate-in .day-item:nth-child(1) {
    transition-delay: 0.1s;
}

.day-row.animate-in .day-item:nth-child(2) {
    transition-delay: 0.2s;
}

.day-row.animate-in .day-item:nth-child(3) {
    transition-delay: 0.3s;
}

.day-row.animate-in .day-item:nth-child(4) {
    transition-delay: 0.4s;
}

.day-row.animate-in .day-item:nth-child(5) {
    transition-delay: 0.5s;
}

.day-row.animate-in .day-item:nth-child(6) {
    transition-delay: 0.6s;
}

.day-row.animate-in .day-item:nth-child(7) {
    transition-delay: 0.7s;
}

/* Animation keyframes for slide in and fade effect */
@keyframes slideInFade {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    50% {
        opacity: 0.7;
        transform: translateY(10px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Enhanced hover effect for day items */
.day-item:hover {
    transform: translateX(5px);
    color: #2d5a3d;
    transition: all 0.3s ease;
}

/* Special animation for module text */
.day-item.module-text {
    position: relative;
}

/* Special animation for assignment text */
.day-item.assignment-text {
    position: relative;
}



.day-item.module-text {
  color: #000000;
  font-weight: 400;
  margin: 8px 0 4px 0;
  position: relative;
  overflow: hidden;
}

.day-item.module-text strong {
  font-weight: 700;
}

.day-item.assignment-text {
  color: #8bc34a;
  font-weight: 400;
  position: relative;
}

.day-item-small {
  font-size: 15px;
  line-height: 1.5;
  color: #8bc34a;
  margin: -2px 0 0 0;
  font-weight: 400;
}

/* Day 5 special styling for photo strip */
.day-5-image {
  position: relative;
  display: flex; /* Ensure consistent alignment with other day images */
  align-items: center; /* Center the content vertically */
  height: 100%; /* Maintain same height as other day sections */
}

.day-5-image .main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-height: 280px; /* Reduced to match new row height */
}

.photo-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 8px;
  overflow-x: auto;
}

.photo-strip img {
  height: 60px;
  width: 60px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

/* Responsive Design for Itinerary */
@media (max-width: 768px) {
  .day-row {
    grid-template-columns: 1fr;
    height: auto; /* Allow natural height on mobile but maintain structure */
  }

  /* Ensure image always comes first, text always comes second on mobile */
  .day-image-section {
    order: 1;
    height: 175px; /* Reduced to 70% of original 250px */
  }

  .day-text-section {
    order: 2;
    padding: 25px 15px; /* Reduced padding proportionally */
    height: auto; /* Allow content to determine height on mobile */
    min-height: 140px; /* Reduced to 70% of original 200px */
  }

  .day-number {
    font-size: 36px;
    margin-bottom: 15px;
  }

  .day-item {
    font-size: 13px;
  }

  .photo-strip {
    height: 60px;
    padding: 0 8px;
    gap: 6px;
  }

  .photo-strip img {
    height: 45px;
    width: 45px;
  }
}

@media (max-width: 480px) {
  .day-text-section {
    padding: 20px 15px;
  }

  .day-number {
    font-size: 28px;
  }

  .day-item {
    font-size: 12px;
  }
}

/* Itinerary Download Section */
.download-details {
  background: #f5f1eb;
  text-align: center;
  padding: 16px;
}

.download-details__content {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.download-details__content p {
  margin: 0;
  font-size: 18px;
  color: #222222;
  font-weight: 500;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: #000000;
  color: #ffffff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.download-btn:hover {
  background: #111111;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.download-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Majuli Mentors Wrapper - Common Background */
.majuli-mentors-wrapper {
  background: #000000 url("images/majuli/mentor_bg.png") bottom center / cover no-repeat;
  position: relative;
}

.majuli-mentors-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

/* Instructor Section - Matching Reference Image Exactly */
.instructor-section {
  background: #000000 url("images/courses-bg.png") bottom center / contain no-repeat;
  padding: 40px 0;
  color: #333;
  position: relative;
}

/* Remove individual background for Majuli mentor sections */
.instructor-section.majuli-mentor {
  background: none;
}

.instructor-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent black overlay for dimming */
  z-index: 0; /* Ensure it's above the background image but below content */
}

.instructor-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* Instructor Content Layout */
.instructor-content {
  display: grid;
  grid-template-columns: 4.5fr 1.5fr; /* Adjusted for wider image and narrower text container */
  gap: 80px;
  align-items: center;
  min-height: 350px;
}

/* Reverse layout for second mentor */
.instructor-section.reverse-layout .instructor-content {
  grid-template-columns: 1.5fr 4.5fr; /* Swap columns for reverse layout */
}

.instructor-section.reverse-layout .instructor-info {
  margin-left: 0; /* Reset left margin */
  margin-right: -450px; /* Apply negative margin to the right instead */
}

/* Left Side - Rectangular Image (wider, shorter) */
.instructor-image-section {
  position: relative;
  width: 100%;
  height: 420px; /* Reduced height */
  overflow: hidden;
  border-radius: 10px; /* Rounded corners matching text container */
}

.instructor-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right Side - Text Content (matching reference exactly) */
.instructor-info {
  background-color: white; /* White background for the text container */
  padding: 32px 36px; /* Consistent padding on all sides */
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  height: 420px; /* Reduced to match image height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Align content to the top */
  margin-left: -450px; /* Negative margin for more overlap */
  margin-top: 144px; /* Shifted down by 1.8x */
  position: relative; /* Needed for z-index if content needs to be above image */
  z-index: 1; /* Ensure it overlaps the image */
}

.instructor-subtitle {
  font-size: 12px;
  font-weight: 700;
  color: #999999;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 8px;
  font-family: "Montserrat", sans-serif;
}

.instructor-name {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  color: #000000;
  margin: 0 0 6px 0;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: "Montserrat", sans-serif;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.instructor-specialty {
  font-style: italic;
  color: #888;
  margin-bottom: 12px;
  font-size: 15px;
  font-family: "Montserrat", sans-serif;
}

.instructor-bio {
  font-size: 13px;
  line-height: 1.7;
  color: #666666;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 0;
  flex: 1;
}

.instructor-achievements {
  list-style: none;
  padding: 0;
  margin: 0;
}

.achievement-item {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.7;
  color: #666666;
  font-weight: 400;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.achievement-item:last-child {
  margin-bottom: 0;
}

.achievement-item::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #000000;
  font-weight: bold;
  font-size: 16px; /* Adjusted to match new text size */
}

.achievement-item strong {
  font-weight: 700;
  color: #666666;
}

.travelure-link {
  color: #add72f; /* Theme green color */
  text-decoration: none; /* Remove underline */
  font-weight: 700; /* Keep bold as it was */
  transition: color 0.3s ease;
}

.travelure-link:hover {
  color: #8fb534; /* Slightly darker green on hover */
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .instructor-content {
    grid-template-columns: 1fr; /* Stack columns on smaller screens */
    gap: 40px;
    display: flex;
    flex-direction: column;
  }

  .instructor-section.reverse-layout .instructor-content {
    grid-template-columns: 1fr; /* Stack on mobile */
  }

  /* Image first for reverse layout on mobile */
  .instructor-section.reverse-layout .instructor-image-section {
    order: -1; /* Move image above text */
  }

  .instructor-image-section {
    height: 300px; /* Keep existing responsive height */
  }

  .instructor-info {
    height: auto; /* Allow height to adjust on smaller screens */
    margin-left: 0 !important; /* Remove negative margin on single column layout */
    margin-right: 0 !important; /* Remove negative margin on reverse layout */
    margin-top: 0; /* Reset margin-top for stacked layout */
    padding: 30px; /* Adjust padding for smaller screens */
    width: 100%; /* Ensure it doesn't overflow container */
    box-sizing: border-box; /* Include padding in width calculation */
  }

  .instructor-name {
    font-size: clamp(28px, 6vw, 36px);
    margin-bottom: 30px;
  }

  .instructor-bio {
    font-size: 13px; /* Further reduced for smaller screens */
  }

  .achievement-item {
    margin-bottom: 12px; /* Further reduced for smaller screens */
    font-size: 13px; /* Further reduced for smaller screens */
  }
}

@media (max-width: 768px) {
  .instructor-section {
    padding: 80px 0;
  }

  .instructor-container {
    padding: 0 15px; /* Reduce horizontal padding on smaller screens */
  }

  .instructor-content {
    gap: 30px;
  }

  .instructor-image-section {
    height: 250px;
  }

  .instructor-info {
    padding: 24px; /* Reduce padding further on smaller screens */
  }

  .instructor-name {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 20px;
  }

  .instructor-bio {
    font-size: 13px; /* Further reduced for smaller screens */
  }

  .achievement-item {
    margin-bottom: 12px; /* Further reduced for smaller screens */
    font-size: 13px; /* Further reduced for smaller screens */
  }
}

@media (max-width: 480px) {
  .instructor-container {
    padding: 0 10px; /* Further reduce padding on very small screens */
  }

  .instructor-image-section {
    height: 200px;
  }

  .instructor-info {
    padding: 20px; /* Even less padding on very small screens */
  }

  .instructor-subtitle {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .instructor-name {
    font-size: clamp(20px, 5vw, 28px);
    margin-bottom: 15px;
  }

  .instructor-specialty {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .instructor-bio {
    font-size: 12px; /* Further reduced for very small screens */
    line-height: 1.6;
  }

  .achievement-item {
    margin-bottom: 10px; /* Further reduced for very small screens */
    font-size: 12px; /* Further reduced for very small screens */
    padding-left: 16px; /* Reduce left padding for bullet */
  }

  .achievement-item::before {
    font-size: 14px; /* Slightly smaller bullet */
  }
}

/* Enhanced Why Choose Section */
.why-choose-enhanced-section {
  background: #000000 url("images/courses-birds-bg.png") bottom center / contain no-repeat;
  padding: 20px 0 56px 0;
  color: #333;
  position: relative;
  overflow: hidden;
  color: white;
}

.why-choose-enhanced-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay to ensure text readability */
  z-index: 1;
}

.why-choose-enhanced-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Remove floating shapes - no longer needed */
.floating-shapes {
  display: none;
}

/* Section Header */
.why-choose-header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}

.why-choose-enhanced-title {
  font-size: clamp(27px, 6vw, 48px);
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff, #add72f, #ffffff);
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease-in-out infinite;
  margin: 0;
  line-height: 1.2;
  position: relative;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.title-underline {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #add72f, #8bc34a);
  margin: 30px auto 0;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.title-underline::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: underlineShimmer 2s infinite;
}

@keyframes underlineShimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* New wrapper for centering the grid */
.enhanced-benefits-grid-wrapper {
  display: flex;
  justify-content: center; /* Center the grid horizontally */
  align-items: center; /* Center vertically if needed */
  width: 100%;
  padding: 0 20px; /* Add some horizontal padding for smaller screens */
}

/* Enhanced Benefits Grid */
.enhanced-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 254px); /* Increased by 10% from 231px to 254px */
  column-gap: 70px; /* More horizontal spacing between cards */
  row-gap: 30px; /* Increased vertical spacing between rows */
  position: relative;
  max-width: calc(3 * 254px + 2 * 70px); /* Max width for 3 cards + 2 horizontal gaps (70px each) */
  width: 100%; /* Allow it to shrink if needed */
}

.enhanced-benefit-card {
  /* Glassmorphism Effect */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16.8px;
  padding: 27px 19px; /* Increased by 10% from 24.5px 17.5px */
  text-align: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  cursor: default;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform-origin: center center;
  aspect-ratio: 1; /* Ensures height matches width */
  width: 100%; /* Ensure it takes full width of its grid cell */
  /* Removed max-width and margin: 0 auto; from here as grid handles sizing */
}

.enhanced-benefit-card:hover {
  transform: translateY(-8px) scale(1.02);
  border: 1px solid #add72f;
  animation: borderGlow 2s ease-in-out infinite;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.25) 0%, 
    rgba(255, 255, 255, 0.1) 50%, 
    rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  box-shadow: 
    0 16px 48px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.enhanced-benefit-card:hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.2) 0%, 
    transparent 40%, 
    transparent 60%, 
    rgba(255, 255, 255, 0.1) 100%);
  border-radius: 16.8px;
  opacity: 1;
  pointer-events: none;
}

@keyframes borderGlow {
  0%, 100% {
    border-color: #add72f;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 20px rgba(173, 215, 47, 0.4);
  }
  50% {
    border-color: #8bc34a;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 30px rgba(173, 215, 47, 0.6);
  }
}

.enhanced-benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(173, 215, 47, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 24px;
}

/* Hover effects removed */

/* Icon Wrapper */
.benefit-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 19.3px; /* Increased by 10% from 17.5px */
}

.icon-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 61.6px; /* Increased by 10% from 56px */
  height: 61.6px; /* Increased by 10% from 56px */
  background: radial-gradient(circle, rgba(173, 215, 47, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Icon glow hover effect removed */

@keyframes gentlePulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.2;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 0.4;
  }
}

.benefit-icon-enhanced {
  width: 49.3px; /* Increased by 10% from 44.8px */
  height: 49.3px; /* Increased by 10% from 44.8px */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 13.9px; /* Increased by 10% from 12.6px */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Skill Development - Gray */
.enhanced-benefit-card:nth-child(1) .benefit-icon-enhanced {
  background: linear-gradient(135deg, #ffffff, #f5f5f0);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.enhanced-benefit-card:nth-child(1) .benefit-icon-enhanced svg {
  width: 21.6px; /* Increased by 10% from 19.6px */
  height: 21.6px; /* Increased by 10% from 19.6px */
  color: #ffffff;
  transition: all 0.3s ease;
}

/* Travel - Gray */
.enhanced-benefit-card:nth-child(2) .benefit-icon-enhanced {
  background: linear-gradient(135deg, #ffffff, #f5f5f0);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.enhanced-benefit-card:nth-child(2) .benefit-icon-enhanced svg {
  width: 21.6px; /* Increased by 10% from 19.6px */
  height: 21.6px; /* Increased by 10% from 19.6px */
  color: #ffffff;
  transition: all 0.3s ease;
}

/* Community - Gray */
.enhanced-benefit-card:nth-child(3) .benefit-icon-enhanced {
  background: linear-gradient(135deg, #ffffff, #f5f5f0);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.enhanced-benefit-card:nth-child(3) .benefit-icon-enhanced svg {
  width: 21.6px; /* Increased by 10% from 19.6px */
  height: 21.6px; /* Increased by 10% from 19.6px */
  color: #ffffff;
  transition: all 0.3s ease;
}

/* Small Group - Gray */
.enhanced-benefit-card:nth-child(4) .benefit-icon-enhanced {
  background: linear-gradient(135deg, #ffffff, #f5f5f0);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.enhanced-benefit-card:nth-child(4) .benefit-icon-enhanced svg {
  width: 21.6px; /* Increased by 10% from 19.6px */
  height: 21.6px; /* Increased by 10% from 19.6px */
  color: #ffffff;
  transition: all 0.3s ease;
}

/* Career Advice - Gray */
.enhanced-benefit-card:nth-child(5) .benefit-icon-enhanced {
  background: linear-gradient(135deg, #ffffff, #f5f5f0);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.enhanced-benefit-card:nth-child(5) .benefit-icon-enhanced svg {
  width: 21.6px; /* Increased by 10% from 19.6px */
  height: 21.6px; /* Increased by 10% from 19.6px */
  color: #ffffff;
  transition: all 0.3s ease;
}

/* Photobook - Gray */
.enhanced-benefit-card:nth-child(6) .benefit-icon-enhanced {
  background: linear-gradient(135deg, #ffffff, #f5f5f0);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.enhanced-benefit-card:nth-child(6) .benefit-icon-enhanced svg {
  width: 21.6px; /* Increased by 10% from 19.6px */
  height: 21.6px; /* Increased by 10% from 19.6px */
  color: #ffffff;
  transition: all 0.3s ease;
}

/* Individual icon hover effects removed */

/* SVG icon hover scaling removed */

/* Typography */
.benefit-title {
  font-size: clamp(12.3px, 1.73vw, 16.2px); /* Increased by 10% from 11.2px, 1.575vw, 14.7px */
  font-weight: 700;
  margin-bottom: 13.9px; /* Increased by 10% from 12.6px */
  color: #ffffff;
  position: relative;
  transition: color 0.3s ease;
  letter-spacing: 0.5px;
}

/* Title hover color change removed */

.benefit-description {
  font-size: clamp(9.9px, 1.43vw, 13.2px); /* Increased by 10% from 9px, 1.3vw, 12px */
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  transition: color 0.3s ease;
  font-weight: 400;
}

/* Description hover color change removed */

/* Card Highlight Effect */
.card-highlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(173, 215, 47, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 16.8px 16.8px 0 0;
}

/* Card highlight hover effect removed */

@keyframes highlight-slide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Enhanced Benefits Grid Responsive Design */
@media (max-width: 1024px) {
  .enhanced-benefits-grid {
    grid-template-columns: repeat(2, 308px); /* Increased by 10% from 280px */
    column-gap: 40px;
    row-gap: 30px;
    max-width: calc(2 * 308px + 40px); /* Max width for 2 cards + 1 gap */
  }
}

@media (max-width: 768px) {
  .enhanced-benefits-grid-wrapper {
    padding: 0 20px;
  }
  
  .enhanced-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 25px;
    max-width: 100%;
  }
  
  .enhanced-benefit-card {
    padding: 22px 16.5px; /* Increased by 10% from 20px 15px */
  }
  
  .benefit-title {
    font-size: clamp(13.2px, 3.3vw, 17.6px); /* Increased by 10% from 12px, 3vw, 16px */
    margin-bottom: 11px; /* Increased by 10% from 10px */
  }
  
  .benefit-description {
    font-size: clamp(9.9px, 2.75vw, 12.1px); /* Increased by 10% from 9px, 2.5vw, 11px */
  }
}

@media (max-width: 480px) {
  .enhanced-benefits-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 20px;
    max-width: 320px;
    margin: 0 auto;
  }
  
  .enhanced-benefit-card {
    aspect-ratio: auto;
    padding: 27.5px 22px; /* Increased by 10% from 25px 20px */
  }
  
  .benefit-title {
    font-size: 16px;
    margin-bottom: 12px;
  }
  
  .benefit-description {
    font-size: 12px;
    line-height: 1.6;
  }
}

/* Section Wave */
.section-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  z-index: 1;
}

.section-wave svg {
  width: 100%;
  height: 60px;
  display: block;
}









/* What's Included Section */
.whats-included-section {
  background: #000;
  padding: 80px 0;
  color: white;
}

.whats-included-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: transparent;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* What's Included (left side) - Cool light background */
.included-content {
  background: #f5f7fa;
  padding: 40px;
  border-right: 2px solid #e0e0e0;
  border-radius: 16px 0 0 16px;
}

/* What's Not Included (right side) - Gray background */
.not-included-content {
  background: #2a2a2a;
  padding: 40px;
  border-radius: 0 16px 16px 0;
}

/* Responsive design for What's Included section */
@media (max-width: 768px) {
  .whats-included-container {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .included-content {
    border-right: none;
    border-bottom: 2px solid #e0e0e0;
    border-radius: 16px 16px 0 0;
    padding: 30px 20px;
  }
  
  .not-included-content {
    border-radius: 0 0 16px 16px;
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .whats-included-container {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .included-content {
    border-right: none;
    border-bottom: 2px solid #e0e0e0;
    border-radius: 16px 16px 0 0;
    padding: 25px 15px;
  }
  
  .not-included-content {
    border-radius: 0 0 16px 16px;
    padding: 25px 15px;
  }

  .whats-included-section {
    padding: 60px 0;
  }
}

.included-title,
.not-included-title {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 700;
  margin-bottom: 40px;
  color: #96bc21;
  line-height: 1.2;
}

.included-list,
.not-included-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Included section text (black on white) */
.included-item h3 {
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 600;
  margin-bottom: 10px;
  color: #000;
}

.included-item p {
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.6;
  color: #333;
  font-weight: 300;
}

/* Not included section text (white on black) */
.not-included-item h3 {
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 600;
  margin-bottom: 10px;
  color: white;
}

.not-included-item p {
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
}

/* Join Us Section */

/* Section background and layout */
.join-us-section {
  background: url("images/join-us-bg.avif") center / cover no-repeat;
  padding: 24px 16px; /* reduced vertical space */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 140px; /* reduced height */
}

/* Form container */
.join-us-form-container {
  background: white;
  padding: 20px;
  font-size: 1rem;
  font-weight: 600;
  gap: 8px;
  margin-top: 14px;
  letter-spacing: 0.3px;
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Form title */
.join-us-title {
  font-size: 28px;
  font-weight: 900;
  color: #000;
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

/* Completed expedition card */
.join-us-complete-card {
  text-align: center;
  padding: 48px 32px;
}

.join-us-complete-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.join-us-complete-badge {
  display: inline-block;
  background: #1a1a1a;
  color: #add72f;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 5px 14px;
  border-radius: 999px;
  text-transform: uppercase;
}

.join-us-complete-title {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 900;
  color: #000;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.join-us-complete-subtitle {
  font-size: 0.88rem;
  font-weight: 500;
  color: #555;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.join-us-complete-body {
  font-size: 0.95rem;
  color: #444;
  max-width: 520px;
  line-height: 1.7;
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

.join-us-complete-btn {
  display: inline-block;
  margin-top: 6px;
  background: #000;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.join-us-complete-btn:hover {
  background: #add72f;
  color: #000;
}

/* Form layout */
.join-us-form-row {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

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

/* Input wrapper with floating label */
.join-us-input-wrapper {
  position: relative;
  width: 100%;
}

/* Input field */
.join-us-input {
  width: 100%;
  border: none;
  border-bottom: 2px solid #000;
  background: transparent;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  color: #000;
  padding: 8px 0;
  outline: none;
  border-radius: 4px 4px 0 0;
}

/* Floating label styles */
.floating-label {
  position: absolute;
  top: 8px;
  left: 0;
  font-size: 14px;
  color: #999;
  pointer-events: none;
  transition: all 0.2s ease;
  font-family: "Montserrat", sans-serif;
}

/* Label moves up on focus or if input has content */
.join-us-input:focus + .floating-label,
.join-us-input:not(:placeholder-shown) + .floating-label {
  top: -16px;
  font-size: 12px;
  color: #000;
}

/* Button styling */
.join-us-btn {
  background: transparent;
  color: #000;
  border: 2px solid #000;
  font-size: 14px;
  padding: 8px 20px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  transition: all 0.3s ease;
  border-radius: 999px; /* pill shape */
  height: 38px;
}

.join-us-btn:hover,
.join-us-btn:focus {
  background: #000;
  color: #fff;
}

.form-status-message,
.join-us-status {
  flex-basis: 100%;
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  min-height: 1.2rem;
  color: #444;
}

.form-status-message.success,
.join-us-status.success {
  color: #38761d;
}

.form-status-message.error,
.join-us-status.error {
  color: #b3261e;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 8, 20, 0.74);
  backdrop-filter: blur(8px);
  z-index: 999;
}

.modal-backdrop.is-visible {
  display: flex;
}

.modal-content {
  position: relative;
  width: min(100%, 420px);
  padding: 32px 28px;
  border-radius: 28px;
  background: #ffffff;
  text-align: center;
  color: #0f0f0f;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.modal-title {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  margin-bottom: 12px;
  font-weight: 800;
  color: #000;
}

.modal-body {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 24px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: #676767;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover,
.modal-close:focus {
  color: #000;
}

.modal-dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  border: 2px solid #96BC21;
  background: #96BC21;
  color: #0f0f0f;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.modal-dismiss:hover,
.modal-dismiss:focus {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(150, 188, 33, 0.38);
  filter: brightness(1.05);
}

.modal-confetti {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .modal-content {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .modal-title {
    font-size: 1.5rem;
  }

  .modal-body {
    font-size: 0.95rem;
  }

  .modal-dismiss {
    width: 100%;
  }
}

/* Responsive adjustments */
@media (max-width: 700px) {
  .join-us-form-row {
    flex-direction: column;
    align-items: stretch;
  }

  .join-us-btn {
    width: 100%;
  }
}

/* Optional: box-sizing reset */
* {
  box-sizing: border-box;
}

/* styles for whoweare page */

/* Who We Are Page Styles */
.who-we-are-page {
  background: #000;
  color: white;
}

.who-we-are-page .header {
  position: fixed;
  top: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 15px 40px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease,
    padding 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Safari-specific fixes */
  transform: translateY(0);
  backface-visibility: hidden;
  perspective: 1000px;
  transform-style: preserve-3d;
  -webkit-transform: translateY(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000px;
  -webkit-transform-style: preserve-3d;
}

.who-we-are-page .header::before {
  display: none;
}

.who-we-are-page .header.header-blurred {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 15px 40px;
}

.who-we-are-page .logo-wrapper {
  width: 180px;
  height: 180px;
}

.who-we-are-page .hamburger-menu {
  left: 40px;
}

.who-we-are-page .hamburger-menu span {
  background: white;
}

.who-we-are-page .header.header-hidden {
  transform: translateY(-100%);
  opacity: 0;
  /* Safari-specific fixes */
  backface-visibility: hidden;
  -webkit-transform: translateY(-100%);
  -webkit-backface-visibility: hidden;
}

.who-we-are-page .header.header-visible {
  transform: translateY(0);
  opacity: 1;
  /* Safari-specific fixes */
  backface-visibility: hidden;
  -webkit-transform: translateY(0);
  -webkit-backface-visibility: hidden;
}

/* Who We Are Hero Section */
.who-we-are-hero {
  min-height: 100vh;
  background-color: black; /* Ensure transparent parts are black */
  background-image: url("images/courses birds.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  position: relative;
}

.who-we-are-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* Dimming overlay */
  z-index: 0; /* Ensure it's above the background image but below content */
}

.who-we-are-hero-content {
  max-width: 1200px;
  width: 100%;
  text-align: center;
  display: flex; /* Add flexbox */
  flex-direction: column; /* Stack children vertically */
  align-items: center; /* Center children horizontally */
  gap: 40px; /* Add gap between video and poetry */
  position: relative; /* Ensure content is above the overlay */
  z-index: 1;
}

/* ----- */
/* ----- */
/* ----- */
/* ----- */
/*whoweare video  */
/* Base setup */

/* Center the section vertically */
/* Removed .video-section as it's now part of .who-we-are-hero */

/* Video container - relative for button positioning */
.video-container {
  width: 90%; /* Make it more responsive */
  max-width: 800px; /* Set a max-width */
  position: relative;
  overflow: hidden;
  border: none;
  /* Removed existing margins, gap will handle spacing */
  background: rgba(0, 0, 0, 0);
  margin-top: 5px; /* Added 5px top margin */
}

/* Video fills the container */
.video-container video {
  width: 100%;
  height: auto;
  display: block;
}

/* =======================
Modern Reset Button
======================= */
.reset-button {
  position: absolute;
  bottom: 0px;
  right: 20px;
  padding: 10px; /* Reduced padding for smaller circle */
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  background: rgba(30, 30, 30, 0.7); /* Add back subtle background */
  border: 1px solid rgba(255, 255, 255, 0.15); /* Add back subtle border */
  border-radius: 50%; /* Make it circular */
  cursor: pointer;
  backdrop-filter: blur(10px); /* Add back blur effect */
  overflow: hidden;
  z-index: 2;
  width: 40px; /* Reduced width for smaller circle */
  height: 40px; /* Reduced height for smaller circle */
  display: flex; /* Center the icon */
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.4s ease;
  box-shadow: 0 0 0 rgba(0, 200, 255, 0.3);
  animation: pulse-border 2s infinite;
}

/* Pulse border animation */
@keyframes pulse-border {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 200, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 200, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 200, 255, 0);
  }
}

/* Ripple effect */
.reset-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 10%, transparent 60%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s ease;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.reset-button:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

/* Shine animation */
.reset-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: skewX(-25deg);
  transition: left 0.5s ease-in-out;
  z-index: 1;
}

.reset-button:hover::after {
  left: 130%;
}

/* Text stays above effects */
.reset-button span {
  position: relative;
  z-index: 2;
}

/* Click shrink effect */
.reset-button:active {
  transform: scale(0.97);
  box-shadow: 0 0 0 4px rgba(0, 200, 255, 0.3);
}

.reset-button i {
  font-size: 18px;
  z-index: 2;
  position: relative;
}

/* Hide reset button in portrait mode */
@media (orientation: portrait) {
  .reset-button {
    display: none;
  }
}

/* Remove blue overlay/pulse on reset button for who-we-are page */
.who-we-are-page .reset-button {
  box-shadow: none !important;
  animation: none !important; /* stop pulse-border */
}
.who-we-are-page .reset-button::before,
.who-we-are-page .reset-button::after {
  content: none !important; /* remove ripple/shine overlays */
}
.who-we-are-page .reset-button:active {
  box-shadow: none !important;
}

/* ----- */
/* ----- */
/* ----- */
/* ----- */

/* Hero Poetry */
.hero-poetry {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.1; /* base */
}

.poetry-line {
  font-size: clamp(18px, 2.8vw, 22px);
  margin-bottom: 0; /* Removed margin between lines */
  font-weight: 300;
  color: white;
}

.poetry-line.highlight {
  color: #add72f;
  font-weight: 400;
  position: relative;
  cursor: pointer; /* No change needed, keeping for clarity */
  transition: all 0.3s ease;
  display: inline-block;
}

.poetry-line.highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #add72f, #8bc34a);
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.poetry-line.highlight:hover {
  color: #c8e654;
  text-shadow: 0 2px 8px rgba(173, 215, 47, 0.3);
}

.poetry-line.highlight:hover::after {
  width: 100%;
}

.poetry-break {
  height: 30px;
}

/* Who-we-are page: improve poem readability and remove link-like behavior */
.who-we-are-page .hero-poetry {
  line-height: 1.4; /* add a little space between lines */
}
.who-we-are-page .poetry-line {
  margin: 3px 0; /* subtle extra spacing between lines */
}
.who-we-are-page .poetry-line.highlight {
  cursor: default;        /* show arrow cursor, not hand */
  pointer-events: auto;   /* allow hover to animate underline */
}
/* Do not override ::after or :hover so the base underline animation works */

/* Philosophy Section */
.philosophy-section {
  background: #1a1a1a;
  padding: 60px 20px;
}

.philosophy-content {
  max-width: 800px;
  margin: 0 auto;
}


.philosophy-text {
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.7;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}


.highlight-text {
  color: #add72f;
  font-weight: 400;
}

/* Founders Section */
.founders-section {
  background: #000 url("images/courses-bg-3.png") center / cover no-repeat;
  padding: 150px 20px 20px 20px; /* Further increased top padding for more spacing */
  position: relative; /* Needed for overlay */
  color: white; /* Ensure text is visible */
  font-family: "Montserrat", sans-serif; /* Ensure all text in founders section uses Montserrat */
}

.founders-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for readability */
  z-index: 0;
}

.founders-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative; /* Ensure content is above overlay */
  z-index: 1;
}

.founders-title {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 700; /* Made bold */
  font-family: "Montserrat", sans-serif; /* Ensure Montserrat font */
  color: white;
  margin-bottom: 60px;
  text-align: right; /* Align text to the right */
  position: absolute; /* Make it absolutely positioned */
  top: -30px; /* Moved above the container with negative value */
  right: 60px; /* Moved left by changing from 0 to 60px */
  left: auto; /* Remove left positioning */
  margin-left: 0; /* Reset margin-left */
  padding-right: 40px; /* Add some padding from the edge */
  max-width: calc(100% - 40px); /* Ensure it doesn't exceed container width minus padding */
  width: auto; /* Allow natural width */
  box-sizing: border-box; /* Include padding in width calculation */
  overflow: hidden; /* Prevent text overflow */
  z-index: 5; /* Ensure it's visible */
  line-height: 1.2; /* Better line height for alignment */
  cursor: pointer; /* Show it's interactive */
  background: linear-gradient(to bottom, white 50%, #add72f 50%);
  background-size: 100% 200%;
  background-position: 0% 0%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.founders-title:hover {
  background-position: 0% 100%; /* Fill from bottom to top inside text */
}

.founder-story-block {
  margin-bottom: -40px; /* Strong negative margin to create clear overlap */
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative; /* Add relative positioning for absolute children */
  padding-top: 60px; /* Reduced from 180px to 60px */
  z-index: 1; /* Base z-index for first block */
}

.founder-story-block:nth-child(2) {
  z-index: 2; /* Second block appears above first */
}

.founder-story-block:nth-child(3) {
  z-index: 3; /* Third block appears above second */
}

.founder-story-block:nth-child(4) {
  z-index: 4; /* Fourth block appears above third */
}

.founder-story-block:last-child {
  margin-bottom: 0;
}

.founder-main-bio {
  display: grid;
  grid-template-columns: 1fr auto; /* Text | Right Images - removed left column for image */
  grid-template-rows: auto auto; /* For top/bottom right images */
  gap: 30px;
  align-items: start; /* Align items to the top of their cells */
  max-width: 1000px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08); /* Glassmorphism background */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  margin-top: 0; /* Ensure no top margin since image is positioned above */
  position: relative; /* Add relative positioning for absolute children */
}

.founder-main-bio:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.founder-main-image {
  position: absolute;
  top: 0;
  left: 50%; /* Center horizontally relative to the story block */
  transform: translateX(-50%) translateY(-100%); /* Center horizontally and move up by full height so bottom touches top */
  margin-left: -360px; /* Adjusted to move image right and align with paragraph start */
  width: 180px; /* Reduced back to original size */
  height: 180px; /* Reduced back to original size */
  object-fit: cover;
  border-radius: 0; /* Remove circular shape */
  border: none; /* Remove the green border */
  background: transparent; /* Transparent container */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 10; /* Ensure it's above the container */
}

.founder-main-image:hover {
  transform: translateX(-50%) translateY(-100%) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Portrait mode adjustments for founder image */
@media (orientation: portrait) {
  .founder-main-image {
    left: 0; /* Align to left edge */
    transform: translateY(-100%); /* Remove horizontal centering */
    margin-left: 20px; /* Add left margin for spacing from edge */
  }

  .founder-main-image:hover {
    transform: translateY(-100%) scale(1.05); /* Remove horizontal centering on hover */
  }

  .founders-title {
    right: 20px; /* Reduce right padding for smaller screens */
    padding-right: 20px;
    max-width: calc(100% - 40px);
  }
}

/* Additional responsive adjustments for smaller portrait screens */
@media (orientation: portrait) and (max-width: 480px) {
  .founder-main-image {
    width: 140px;
    height: 140px;
    margin-left: 15px;
  }

  .founder-story-block {
    padding-top: 160px; /* Adjust for smaller image */
  }

  .founders-title {
    font-size: clamp(28px, 8vw, 36px);
    right: 15px;
    padding-right: 15px;
    top: 60px;
  }

  /* Adjust overlapping images for smaller portrait screens */
  .founder-secondary-image-right-top,
  .founder-secondary-image-right-bottom {
    width: 154px; /* Increased by 10% (140px * 1.1) */
    height: 154px; /* Increased by 10% (140px * 1.1) */
  }

  .founder-secondary-image-right-bottom {
    width: 80px; /* Made a bit bigger for small screens (66px * 1.2) */
    height: 80px;
    bottom: -8px; /* Adjust position for smaller screens */
    right: -8px; /* Adjust position for smaller screens */
  }
}

.founder-bio-paragraph {
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400; /* Changed back to normal weight for readability */
  font-family: "Montserrat", sans-serif; /* Ensure Montserrat font */
  margin: 0; /* Reset default paragraph margin */
}

/* Specific grid placement for the main bio paragraph */
.founder-main-bio .founder-bio-paragraph {
  grid-column: 1 / 2; /* Now takes the first column since image is positioned absolutely */
  grid-row: 1 / span 2; /* Spans both rows */
}

.founder-secondary-image-right-top {
  grid-column: 2 / 3; /* Moved from 3/4 to 2/3 since we removed the left column */
  grid-row: 1 / 2;
  width: 198px; /* Increased by 10% (180px * 1.1) */
  height: 198px; /* Increased by 10% (180px * 1.1) */
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1; /* Lower z-index for background image */
}

.founder-secondary-image-right-bottom {
  grid-column: 2 / 3; /* Same grid position */
  grid-row: 1 / 2; /* Same grid position */
  width: 120px; /* Increased size for better visual impact */
  height: 120px; /* Increased size for better visual impact */
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: absolute; /* Position absolutely within the grid cell */
  bottom: -40px; /* Shifted further down for better positioning */
  right: -25px; /* Shifted further right */
  z-index: 3; /* Higher z-index to stay on top */
}

.founder-secondary-image-right-top:hover,
.founder-secondary-image-right-bottom:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* New layout for subsequent founder story blocks */
.founder-secondary-layout {
  display: grid;
  grid-template-columns: 1fr 2fr; /* Image (1 part) | Text (2 parts) */
  gap: 20px; /* Reduced gap between image and text */
  align-items: center; /* Vertically align items in the grid */
  max-width: 1000px;
  width: 100%;
  margin: 0 auto; /* Center the layout */
  background: rgba(255, 255, 255, 0.08); /* Glassmorphism background */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  padding: 20px; /* Reduced padding */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.founder-secondary-layout:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Remove background/shadow from inner text container when inside this layout */
.founder-secondary-layout .founder-bio-text-container {
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  padding: 0;
  text-align: left; /* Align text to left within its grid cell */
  font-family: "Montserrat", sans-serif; /* Ensure Montserrat font */
  font-weight: 400; /* Changed back to normal weight for readability */
}

.founder-secondary-layout .founder-bio-text-container:hover {
  background: none;
  border-color: none;
  box-shadow: none;
}

.founder-secondary-layout .founder-image-inline {
  width: 198px; /* Same size as founder-secondary-image-right-top (image 5) */
  height: 198px; /* Same size as founder-secondary-image-right-top (image 5) */
  object-fit: cover;
  border-radius: 10px;
  margin: 0 auto; /* Center horizontally within its grid cell */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-secondary-layout .founder-image-inline:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Specific order for image-left and image-right layouts */
.founder-secondary-layout.image-left {
  grid-template-areas: "image text";
}

.founder-secondary-layout.image-right {
  grid-template-areas: "text image";
}

.founder-secondary-layout.image-left .founder-image-inline {
  grid-area: image;
}

.founder-secondary-layout.image-left .founder-bio-text-container {
  grid-area: text;
}

.founder-secondary-layout.image-right .founder-image-inline {
  grid-area: image;
}

.founder-secondary-layout.image-right .founder-bio-text-container {
  grid-area: text;
}

/* Responsive adjustments for Founders Section */
@media (max-width: 1024px) {
  .founder-main-bio {
    grid-template-columns: 1fr; /* Stack all items on smaller screens */
    grid-template-rows: auto;
    gap: 20px;
    padding: 30px;
  }

  .founder-main-image {
    grid-column: auto;
    grid-row: auto;
    width: 150px;
    height: 150px;
    margin: 0 auto; /* Center the image when stacked */
  }

  .founder-main-bio .founder-bio-paragraph {
    grid-column: auto;
    grid-row: auto;
    text-align: center;
  }

  .founder-secondary-image-right-top,
  .founder-secondary-image-right-bottom {
    grid-column: auto;
    grid-row: auto;
    margin: 0 auto; /* Center the container */
    position: relative; /* Establish positioning context */
  }

  .founder-secondary-image-right-top {
    width: 160px; /* Slightly smaller on medium screens */
    height: 160px;
    display: block;
    margin: 20px auto; /* Center and add spacing */
    z-index: 1;
  }

  .founder-secondary-image-right-bottom {
    width: 85px; /* Proportionally smaller */
    height: 85px;
    position: absolute; /* Keep absolute positioning relative to top image */
    bottom: -8px; /* Adjust for medium screens */
    right: -8px;
    z-index: 3; /* Stay on top */
  }

  .founder-secondary-layout {
    grid-template-columns: 1fr; /* Stack on smaller screens */
    grid-template-areas:
      "image"
      "text"; /* Image always on top when stacked */
    gap: 15px; /* Reduced gap for medium screens */
    padding: 20px; /* Reduced padding for medium screens */
  }

  /* Removed specific height/max-width overrides for .founder-image-inline */
}

@media (max-width: 768px) {
  .founders-title {
    text-align: center;
    padding-right: 0;
    margin-bottom: 40px;
  }

  .founder-story-block {
    margin-bottom: -30px; /* Clear overlap for tablet screens */
  }

  .founder-main-bio {
    padding: 25px;
    gap: 15px;
  }

  .founder-main-image {
    width: 120px;
    height: 120px;
  }

  .founder-bio-paragraph {
    font-size: clamp(13px, 2vw, 15px);
  }

  .founder-secondary-image-right-top,
  .founder-secondary-image-right-bottom {
    position: relative; /* Maintain positioning context */
  }

  .founder-secondary-image-right-top {
    width: 140px; /* Smaller for tablet screens */
    height: 140px;
    margin: 15px auto;
    z-index: 1;
  }

  .founder-secondary-image-right-bottom {
    width: 75px; /* Proportionally smaller */
    height: 75px;
    position: absolute;
    bottom: -6px; /* Adjust for tablet screens */
    right: -6px;
    z-index: 3;
  }

  .founder-secondary-layout {
    padding: 15px; /* Further reduced padding for tablet */
    gap: 10px; /* Further reduced gap for tablet */
  }

  /* Removed specific height/max-width overrides for .founder-image-inline */
}

@media (max-width: 480px) {
  .founders-section {
    padding: 15px 15px; /* Reduced padding for mobile */
  }

  .founders-title {
    font-size: clamp(32px, 8vw, 48px);
  }

  .founder-story-block {
    margin-bottom: -20px; /* Clear overlap for mobile screens */
  }

  .founder-main-bio {
    padding: 20px;
    gap: 10px;
  }

  .founder-main-image {
    width: 100px;
    height: 100px;
  }

  .founder-bio-paragraph {
    font-size: clamp(12px, 2.5vw, 14px);
  }

  .founder-secondary-image-right-top,
  .founder-secondary-image-right-bottom {
    position: relative; /* Maintain positioning context */
  }

  .founder-secondary-image-right-top {
    width: 120px; /* Smaller for mobile screens */
    height: 120px;
    margin: 10px auto;
    z-index: 1;
  }

  .founder-secondary-image-right-bottom {
    width: 65px; /* Proportionally smaller */
    height: 65px;
    position: absolute;
    bottom: -5px; /* Adjust for mobile screens */
    right: -5px;
    z-index: 3;
  }

  .founder-secondary-layout {
    padding: 10px; /* Minimal padding for mobile */
    gap: 8px; /* Minimal gap for mobile */
  }

  /* Removed specific height/max-width overrides for .founder-image-inline */
}

/* Portrait mode specific styles for founder images */
@media (orientation: portrait) {
  .founder-main-bio {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* Container for side-by-side images in portrait mode */
  .founder-images-container {
    display: flex !important;
    justify-content: center;
    gap: 15px;
    align-items: center;
    width: 100%;
    position: relative;
  }

  .founder-secondary-image-right-top,
  .founder-secondary-image-right-bottom {
    position: relative !important; /* Override absolute positioning */
    width: 100px !important; /* Same size for both images */
    height: 100px !important; /* Same size for both images */
    margin: 0 !important; /* Reset margins */
    bottom: auto !important; /* Reset positioning */
    right: auto !important; /* Reset positioning */
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1 !important; /* Same z-index for both */
  }

  /* Ensure images are treated as flex items */
  .founder-secondary-image-right-top {
    flex: 0 0 auto;
  }

  .founder-secondary-image-right-bottom {
    flex: 0 0 auto;
  }
}

/* Hide container in landscape mode to prevent interference */
@media (orientation: landscape) {
  .founder-images-container {
    display: contents; /* This makes the container "disappear" and children behave as if container doesn't exist */
  }
}



/* styles for connect page */



.connect-page {
  background: #f8f9fa;
  min-height: 100vh;
  font-family: "Montserrat", sans-serif;
}

.connect-main-section {
  min-height: 100vh;
}

/* Split Hero Section */
.connect-split-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 100px);
  position: relative;
  background: black;
  overflow: hidden;
}

.connect-split-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('images/courses-bg-3.png') center/cover;
  opacity: 0.15;
  z-index: 1;
}

.connect-left-panel {
  color: white;
  padding: 80px 60px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.connect-branding {
  position: relative;
  z-index: 2;
}

.connect-main-title {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

.connect-tagline {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.9;
}

.connect-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border-left: 4px solid #add72f;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(8px);
}

.feature-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: white;
}

.feature-text p {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.4;
}

/* Right Panel - Form */
.connect-right-panel {
  color: white;
  padding: 80px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.connect-form-wrapper {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-title {
  font-size: 32px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 12px;
}

.form-subtitle {
  font-size: 16px;
  color: #7f8c8d;
  line-height: 1.5;
}

/* Modern Form Styles */
.modern-contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.input-group {
  position: relative;
  margin-bottom: 8px;
}

.modern-input,
.modern-select,
.modern-textarea {
  width: 100%;
  padding: 16px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.modern-input:focus,
.modern-select:focus,
.modern-textarea:focus {
  outline: none;
  border-color: #add72f;
  background: white;
  box-shadow: 0 0 0 4px rgba(173, 215, 47, 0.1);
}

.modern-label {
  position: absolute;
  left: 16px;
  top: 16px;
  font-size: 16px;
  color: #7f8c8d;
  pointer-events: none;
  transition: all 0.3s ease;
  background: transparent;
  padding: 0 4px;
}

.modern-input:focus + .modern-label,
.modern-input:not(:placeholder-shown) + .modern-label,
.modern-select:focus + .modern-label,
.modern-select:not([value=""]) + .modern-label,
.modern-textarea:focus + .modern-label,
.modern-textarea:not(:placeholder-shown) + .modern-label {
  top: -8px;
  left: 12px;
  font-size: 12px;
  color: #add72f;
  background: white;
  font-weight: 600;
}

.modern-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%237f8c8d' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
}

  .modern-textarea {
    resize: vertical;
    min-height: 120px;
    /* Smaller min-height so first line renders nearer the bottom border */
    min-height: 56px;
  }

  .modern-submit-btn {
  background: #000;
  color: #fff;
  padding: 2px 8px;
  border: none;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  box-shadow: none;
  outline: none;
  letter-spacing: 0.2px;
  min-width: 0;
  min-height: 18px;
  text-align: center;
}

/* Keep the textarea label always in the active (raised) position */
.form-textarea + .form-label {
  top: -8px;
  font-size: 12px;
  color: #333;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modern-submit-btn:hover {
  background: #222;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.btn-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.modern-submit-btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Quick Contact Section */
.quick-contact-section {
  background: #2c3e50;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

.quick-contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('images/courses-bg-3.png') center/cover;
  opacity: 0.15;
  z-index: 1;
}

.quick-contact-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.quick-contact-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.quick-contact-title {
  color: white;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 40px;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-option:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  color: white;
}

.contact-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.contact-details {
  flex-grow: 1;
  text-align: left;
}

.contact-label {
  display: block;
  font-size: 14px;
  color: #bdc3c7;
  margin-bottom: 4px;
}

.contact-value {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: white;
}

.social-quick-links {
  display: flex;
  gap: 12px;
}

.social-quick-link {
  color: #add72f;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.social-quick-link:hover {
  color: #8fb534;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .connect-left-panel,
  .connect-right-panel {
    padding: 60px 40px;
  }
  
  .connect-main-title {
    font-size: clamp(28px, 4.5vw, 42px);
  }
  
  .connect-tagline {
    font-size: 16px;
  }
  
  .form-title {
    font-size: 28px;
  }
}

@media (max-width: 1024px) {
  .connect-split-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .connect-left-panel {
    min-height: 70vh;
    padding: 50px 40px;
  }
  
  .connect-right-panel {
    padding: 50px 40px;
  }

  .connect-form-wrapper {
    max-width: 100%;
  }
  
  .input-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .connect-features {
    gap: 20px;
  }
  
  .feature-item {
    padding: 16px;
  }
  
  .feature-icon {
    font-size: 20px;
  }
  
  .feature-text h4 {
    font-size: 15px;
  }
  
  .feature-text p {
    font-size: 13px;
  }

  .connect-direct-cards {
    flex-wrap: wrap;
  }

  .connect-direct-card {
    flex: 1;
    min-width: 250px;
  }
}

@media (max-width: 768px) {
  .connect-main-section {
    padding-top: 80px;
  }
  
  .connect-left-panel,
  .connect-right-panel {
    padding: 40px 25px;
  }

  .connect-direct-cards {
    gap: 24px;
    padding: 0 20px;
  }

  .connect-direct-card {
    padding: 20px 24px;
    font-size: 1rem;
    flex-direction: column;
    text-align: center;
  }
  
  .connect-left-panel {
    min-height: 60vh;
  }
  
  .connect-main-title {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 20px;
  }
  
  .connect-tagline {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  .connect-features {
    gap: 16px;
  }
  
  .feature-item {
    padding: 14px;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 12px;
  }
  
  .feature-icon {
    font-size: 24px;
  }
  
  .feature-text h4 {
    font-size: 14px;
    margin-bottom: 6px;
  }
  
  .feature-text p {
    font-size: 12px;
  }
  
  .form-title {
    font-size: 24px;
  }
  
  .form-subtitle {
    font-size: 14px;
  }
  
  .modern-contact-form {
    gap: 20px;
  }
  
  .quick-contact-section {
    padding: 40px 20px;
  }
  
  .quick-contact-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .connect-main-section {
    padding-top: 70px;
  }
  
  .connect-left-panel,
  .connect-right-panel {
    padding: 25px 15px;
  }
  
  .connect-left-panel {
    min-height: 50vh;
  }
  
  .connect-main-title {
    font-size: clamp(20px, 7vw, 28px);
    margin-bottom: 16px;
  }
  
  .connect-tagline {
    font-size: 14px;
    margin-bottom: 25px;
  }
  
  .connect-features {
    gap: 12px;
  }
  
  .feature-item {
    padding: 12px;
    gap: 10px;
  }
  
  .feature-icon {
    font-size: 20px;
  }
  
  .feature-text h4 {
    font-size: 13px;
    margin-bottom: 4px;
  }
  
  .feature-text p {
    font-size: 11px;
  }
  
  .connect-form-wrapper {
    padding: 25px;
    border-radius: 16px;
  }

  .form-header {
    margin-bottom: 25px;
  }
  
  .form-title {
    font-size: 20px;
    margin-bottom: 8px;
  }
  
  .form-subtitle {
    font-size: 12px;
  }
  
  .modern-contact-form {
    gap: 16px;
  }

  .connect-direct-cards {
    flex-direction: column;
    gap: 16px;
    padding: 0 15px;
  }

  .connect-direct-card {
    padding: 16px 20px;
    font-size: 0.95rem;
  }
  
  .quick-contact-section {
    padding: 30px 15px;
  }
  
  .quick-contact-title {
    font-size: 20px;
    margin-bottom: 25px;
  }
  
  .contact-option {
    padding: 16px;
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .contact-icon {
    font-size: 28px;
  }
  
  .contact-details {
    text-align: center;
  }
  
  .contact-label {
    font-size: 12px;
  }
  
  .contact-value {
    font-size: 14px;
  }
  
  .social-quick-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .social-quick-link {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .connect-left-panel,
  .connect-right-panel {
    padding: 20px 12px;
  }
  
  .connect-main-title {
    font-size: 18px;
  }
  
  .connect-tagline {
    font-size: 13px;
  }
  
  .form-title {
    font-size: 20px;
  }
  
  .modern-input,
  .modern-select,
  .modern-textarea {
    padding: 10px;
    font-size: 13px;
  }
  
  /* .modern-submit-btn override removed to fix button styling */
}

/* Connect Page Header Styles - Match Ganga Page */
.connect-page .header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 15px 40px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.3s ease, 
              backdrop-filter 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              background 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.connect-page .header::before {
  display: none;
}

.connect-page .header.header-blurred {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.connect-page .header.header-blurred::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: -1;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.connect-page .header .logo-wrapper {
  width: 180px; /* Increased logo size for connect page */
  height: 65px;
}

/* Disable hover effects on connect page */
.connect-page .header .logo-wrapper:hover .logotype {
  transform: scaleX(1) scaleY(1) !important;
  opacity: 1 !important;
}

.connect-page .header .logo-wrapper:hover .monogram {
  transform: scaleX(2.5) scale(0.6) !important;
  opacity: 0 !important;
}

.connect-page .header .logo-wrapper .logotype {
  transition: none !important;
}

.connect-page .header .logo-wrapper .monogram {
  transition: none !important;
}

/* Safari-specific fixes for header visibility issues */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  /* Target Safari specifically */
  .header {
    /* Force hardware acceleration for Safari */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
    -webkit-perspective: 1000px;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    /* Ensure proper stacking in Safari */
    isolation: isolate;
    -webkit-isolation: isolate;
  }
  
  .header.header-hidden {
    transform: translateY(-100%) translateZ(0);
    -webkit-transform: translateY(-100%) translateZ(0);
  }
  
  .header.header-visible {
    transform: translateY(0) translateZ(0);
    -webkit-transform: translateY(0) translateZ(0);
  }
  
  /* Fix for Safari backdrop-filter issues */
  .header.header-blurred {
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  
  /* Ensure logo visibility in Safari */
  .logo-wrapper img {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }
}

/* ================================ */
/* Join TEC Tribe CTA Section */
/* ================================ */
.join-tribe-cta {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  padding: 24px 32px;
  position: relative;
  overflow: hidden;
}

.join-tribe-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(163, 230, 53, 0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.join-tribe-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.join-tribe-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px 0;
  letter-spacing: 0.5px;
}

.join-tribe-text p {
  font-size: 0.95rem;
  color: #a3e635;
  margin: 0;
  font-weight: 500;
}

.join-now-btn {
  background: linear-gradient(135deg, #a3e635 0%, #84cc16 100%);
  color: #1a1a2e;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px 42px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(163, 230, 53, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.join-now-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(163, 230, 53, 0.4);
  background: linear-gradient(135deg, #bef264 0%, #a3e635 100%);
}

.join-now-btn:active {
  transform: translateY(0);
}

/* ================================ */
/* Join Tribe Popup Modal */
/* ================================ */
.tribe-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.tribe-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.tribe-popup-container {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  border-radius: 24px;
  max-width: 700px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.tribe-popup-overlay.active .tribe-popup-container {
  transform: scale(1);
}

.tribe-popup-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #a3e635, #38bdf8, #818cf8, #f472b6);
  background-size: 300% 300%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.tribe-popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 28px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  line-height: 1;
  padding: 0;
}

.tribe-popup-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.tribe-popup-content {
  padding: 40px 40px 36px 40px;
}

.tribe-popup-header {
  margin-bottom: 24px;
}

.tribe-popup-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
  position: relative;
}

.tribe-seats-badge {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: #fff;
  background: transparent;
  padding: 0;
  border: none;
  text-transform: lowercase;
  letter-spacing: 0;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
}

.tribe-seats-badge.typing {
  animation: typewriter 2s steps(13) forwards;
}

@keyframes typewriter {
  from {
    width: 0;
  }
  to {
    width: 100px;
  }
}

.tribe-popup-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}

.tribe-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tribe-form-group.full-width {
  grid-column: 1 / -1;
}

.tribe-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e5e7eb;
  letter-spacing: 0.3px;
}

.tribe-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: #fff;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.tribe-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.tribe-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: #a3e635;
  box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.1);
}

.tribe-submit-btn {
  background: transparent;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 14px 32px;
  border: 2px solid #a3e635;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  grid-column: 1 / -1;
}

.tribe-submit-btn:hover {
  background: rgba(163, 230, 53, 0.1);
  border-color: #bef264;
  color: #bef264;
  box-shadow: 0 0 20px rgba(163, 230, 53, 0.3);
}

.tribe-submit-btn:active {
  transform: scale(0.98);
  background: rgba(163, 230, 53, 0.15);
}

.tribe-form-disclaimer {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin: 0;
  line-height: 1.4;
  grid-column: 1 / -1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .join-tribe-cta {
    padding: 20px 20px;
  }

  .join-tribe-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .join-tribe-text h2 {
    font-size: 1.5rem;
  }

  .join-tribe-text p {
    font-size: 0.85rem;
  }

  .join-now-btn {
    padding: 12px 36px;
    font-size: 1rem;
    width: 100%;
    max-width: 280px;
  }

  .tribe-popup-overlay {
    align-items: flex-start;
    padding: 10px;
  }

  .tribe-popup-container {
    max-width: 95%;
    max-height: 95vh;
    overflow-y: auto;
    margin: 10px auto;
  }

  .tribe-popup-content {
    padding: 36px 24px 28px 24px;
  }

  .tribe-popup-form {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tribe-popup-title {
    font-size: 2rem;
  }

  .tribe-seats-badge {
    font-size: 0.8rem;
    padding: 4px 10px;
  }

  .tribe-input {
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .tribe-submit-btn {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .join-tribe-text h2 {
    font-size: 1.3rem;
  }

  .tribe-popup-title {
    font-size: 1.7rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .tribe-seats-badge {
    margin-left: 0;
  }

  .tribe-popup-close {
    width: 36px;
    height: 36px;
    font-size: 24px;
    top: 16px;
    right: 16px;
  }

  .tribe-popup-content {
    padding: 36px 20px 24px 20px;
  }
}

/* ===================================
   FAQ PAGE STYLES - STUNNING DESIGN
   =================================== */

/* FAQ Hero Section */
.faq-hero {
    background: #000000;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px 20px;
}

/* Animated Background */
.faq-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.stars-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.4), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 160px 120px, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 200px 50px, rgba(255,255,255,0.15), transparent),
        radial-gradient(1px 1px at 250px 160px, rgba(255,255,255,0.25), transparent),
        radial-gradient(2px 2px at 300px 90px, rgba(255,255,255,0.2), transparent);
    background-size: 300px 200px;
    animation: twinkle 8s ease-in-out infinite;
}

.moving-gradient {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255,255,255,0.02) 0%, transparent 50%);
    animation: moveGradient 20s ease-in-out infinite;
}

/* Travel Elements */
.travel-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
}

.travel-path {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.path-svg {
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

.flight-path {
    stroke-dashoffset: 1000;
    animation: drawPath 4s ease-out forwards, dashMove 20s linear infinite 4s;
}

/* Location Pins */
.location-pin {
    position: absolute;
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.25);
    animation: pinFloat 3s ease-in-out infinite;
}

.pin-1 {
    top: 25%;
    left: 15%;
    animation-delay: 0s;
}

.pin-2 {
    top: 40%;
    right: 20%;
    animation-delay: 1s;
}

.pin-3 {
    bottom: 35%;
    left: 25%;
    animation-delay: 2s;
}

/* Glowing Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.15;
    animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.orb-3 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

/* Hero Content */
.faq-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* FAQ Icon */
.faq-icon-container {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto 20px auto;
}

.faq-icon-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    animation: ringPulse 3s ease-in-out infinite;
}

.faq-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    color: #ffffff;
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.3));
}

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

/* Typography */
.faq-main-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.faq-main-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto 40px auto;
    max-width: 700px;
    line-height: 1.6;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* Stats */
.faq-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    animation: countUp 2s ease-out;
}

.stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.25);
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: fadeIn 2s ease-out 1.5s both;
}

.scroll-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.scroll-hint span {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

/* Animations */
@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes moveGradient {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(5%, 5%) rotate(5deg); }
}

@keyframes drawPath {
    to { stroke-dashoffset: 0; }
}

@keyframes dashMove {
    to { stroke-dashoffset: -100; }
}

@keyframes pinFloat {
    0%, 100% { transform: translateY(0); opacity: 0.25; }
    50% { transform: translateY(-10px); opacity: 0.4; }
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.1); }
}

@keyframes cardGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

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

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.1; }
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); opacity: 0.4; }
    50% { transform: scaleY(0.5); opacity: 0.8; }
}

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

/* FAQ Section */
.faq-section {
    background: #000000 !important;
    padding: 100px 20px 120px 20px;
    position: relative;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.faq-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
    z-index: 2;
}

.faq-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
    position: relative;
    z-index: 2;
}

.faq-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.faq-section-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #666666;
    margin: 0;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* FAQ Item */
.faq-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    position: relative;
    opacity: 0;
    animation: fadeInUpStagger 0.6s ease-out forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.4s; }
.faq-item:nth-child(2) { animation-delay: 0.5s; }
.faq-item:nth-child(3) { animation-delay: 0.6s; }

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #000000, #333333);
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: bottom;
}

.faq-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.faq-item.active {
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
}

.faq-item.active::before {
    transform: scaleY(1);
    transform-origin: top;
}

/* FAQ Question Button */
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 18px 30px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.faq-question:hover {
    background: rgba(0, 0, 0, 0.02);
}

.faq-item.active .faq-question {
    background: rgba(0, 0, 0, 0.03);
    padding-bottom: 24px;
}

.faq-question-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.faq-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 32px;
}

.faq-item.active .faq-number {
    color: #000000;
    transform: scale(1.1);
}

.faq-question-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.5;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-question-text {
    color: #000000;
}

.faq-icon {
    width: 32px;
    height: 32px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
}

.faq-item.active .faq-icon {
    background: #000000;
    transform: rotate(135deg);
}

.faq-icon-svg {
    width: 16px;
    height: 16px;
    color: #333333;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-icon-svg {
    color: #ffffff;
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.01) 0%, transparent 100%);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer-content {
    padding: 0 36px 32px 88px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    line-height: 1.9;
    color: #444444;
    animation: fadeInContent 0.6s ease-out 0.2s backwards;
}

.faq-answer-content p {
    margin: 0;
}

.faq-answer-content strong {
    font-weight: 600;
    color: #000000;
}

/* Animations */
@keyframes heroGlow {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(-5%, -5%) rotate(1deg);
    }
    66% {
        transform: translate(5%, 5%) rotate(-1deg);
    }
}

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

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

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .faq-main-title {
        font-size: 2.6rem;
    }
    
    .faq-section-title {
        font-size: 2.2rem;
    }
    
    .glow-orb {
        opacity: 0.1;
    }
    
    .orb-1 { width: 150px; height: 150px; }
    .orb-2 { width: 120px; height: 120px; }
    .orb-3 { width: 140px; height: 140px; }
}

@media (max-width: 768px) {
    .faq-hero {
        min-height: 80vh;
        padding: 100px 20px 50px 20px;
    }
    
    .card-inner {
        padding: 40px 28px;
    }
    
    .faq-main-title {
        font-size: 2.2rem;
        letter-spacing: -0.5px;
    }
    
    .faq-main-subtitle {
        font-size: 1rem;
    }
    
    .faq-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .location-pin {
        width: 18px;
        height: 18px;
    }
    
    .glow-orb {
        opacity: 0.08;
    }
    
    .faq-icon-container {
        width: 70px;
        height: 70px;
        margin-bottom: 24px;
    }
    
    .faq-icon {
        width: 35px;
        height: 35px;
    }
    
    .faq-section {
        padding: 80px 15px 100px 15px;
    }
    
    .faq-section-title {
        font-size: 2rem;
    }
    
    .faq-section-subtitle {
        font-size: 1rem;
    }
    
    .faq-question {
        padding: 24px 24px;
    }
    
    .faq-item.active .faq-question {
        padding-bottom: 20px;
    }
    
    .faq-question-wrapper {
        gap: 16px;
    }
    
    .faq-number {
        font-size: 0.9rem;
        min-width: 28px;
    }
    
    .faq-question-text {
        font-size: 1.05rem;
    }
    
    .faq-answer-content {
        padding: 0 24px 24px 68px;
        font-size: 1rem;
        line-height: 1.8;
    }
    
    .faq-item {
        margin-bottom: 16px;
    }
}

@media (max-width: 480px) {
    .faq-hero {
        min-height: 70vh;
        padding: 90px 15px 40px 15px;
    }
    
    .card-inner {
        padding: 32px 20px;
    }
    
    .faq-main-title {
        font-size: 1.8rem;
        letter-spacing: -0.5px;
        margin-bottom: 16px;
    }
    
    .faq-main-subtitle {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .faq-icon-container {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .faq-icon {
        width: 30px;
        height: 30px;
    }
    
    .faq-stats {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-item {
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .scroll-hint {
        bottom: 20px;
    }
    
    .scroll-text {
        font-size: 0.65rem;
    }
    
    .location-pin, .glow-orb, .travel-path-svg {
        display: none;
    }
    
    .stars-layer span {
        width: 1px !important;
        height: 1px !important;
    }
    
    .faq-section {
        padding: 60px 15px 80px 15px;
    }
    
    .faq-section-title {
        font-size: 1.75rem;
    }
    
    .faq-section-subtitle {
        font-size: 0.95rem;
    }
    
    .faq-question {
        padding: 20px 20px;
    }
    
    .faq-item.active .faq-question {
        padding-bottom: 16px;
    }
    
    .faq-question-wrapper {
        gap: 12px;
    }
    
    .faq-number {
        font-size: 0.85rem;
        min-width: 24px;
    }
    
    .faq-question-text {
        font-size: 0.95rem;
    }

    .faq-answer-content {
        padding: 0 20px 20px 56px;
        font-size: 0.9rem;
        line-height: 1.7;
    }
}

/* Table of Contents Section */
.toc-section {
    background: linear-gradient(135deg, #000 0%, #0a0a0a 50%, #000 100%);
    background-size: 200% 200%;
    padding: 32px 20px;
    border-bottom: 1px solid rgba(165, 230, 59, 0.2);
    position: relative;
    overflow: hidden;
    animation: gradientShift 8s ease infinite;
}

.toc-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(165, 230, 59, 0.3), transparent);
    animation: borderGlow 4s ease-in-out infinite;
}

.toc-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(165, 230, 59, 0.05), transparent 50%);
    animation: slideGlow 12s linear infinite;
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.3;
        box-shadow: inset 0 0 0 0 transparent;
    }
    50% {
        opacity: 0.6;
        box-shadow: inset 0 0 20px 0 rgba(165, 230, 59, 0.1);
    }
}

@keyframes slideGlow {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

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

.toc-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    text-align: center;
}

.toc-label {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #a5e63b;
    margin: 0;
    white-space: nowrap;
    font-weight: 600;
    animation: fadeInLeft 0.6s ease-out;
}

.toc-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.toc-link {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                text-shadow 0.3s ease;
    position: relative;
    padding: 8px 0;
    display: inline-block;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.toc-link:nth-child(1) { animation-delay: 0.1s; }
.toc-link:nth-child(2) { animation-delay: 0.2s; }
.toc-link:nth-child(3) { animation-delay: 0.3s; }
.toc-link:nth-child(4) { animation-delay: 0.4s; }
.toc-link:nth-child(5) { animation-delay: 0.5s; }
.toc-link:nth-child(6) { animation-delay: 0.6s; }

.toc-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -12px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #a5e63b;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity 0.3s ease;
}

.toc-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #a5e63b, transparent);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.toc-link:hover {
    color: #a5e63b;
    transform: translateY(-2px);
    text-shadow: 0 0 16px rgba(165, 230, 59, 0.3);
}

.toc-link:hover::before {
    opacity: 1;
}

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

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

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

html {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    .toc-section {
        padding: 28px 20px;
    }

    .toc-content {
        gap: 24px;
        flex-direction: column;
    }

    .toc-label {
        font-size: 10px;
        letter-spacing: 2.5px;
        width: 100%;
        margin-bottom: 4px;
    }

    .toc-links {
        width: 100%;
        gap: 8px 20px;
        justify-content: center;
        align-items: center;
    }

    .toc-link {
        font-size: 13.5px;
        padding: 6px 0;
        white-space: nowrap;
    }

    .toc-link::before {
        left: -8px;
        width: 3px;
        height: 3px;
    }
}

@media (max-width: 480px) {
    .toc-section {
        padding: 24px 15px;
    }

    .toc-content {
        gap: 20px;
    }

    .toc-label {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .toc-links {
        gap: 6px 16px;
    }

    .toc-link {
        font-size: 12.5px;
        padding: 5px 0;
    }
}

