/* ===================================
   ISKCON MANIPUR HOMEPAGE STYLES
   ================================== */

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

:root {
  /* Brand Colors */
  --primary-color: #2aa79b;
  --header-bg: #bcc4dc;
  --footer-bg: #ffffff;
  --footer-text: #333333;
  --footer-border: #dddddd;

  /* Divine Palette */
  --saffron: #ff9933;
  --gold: #ffd700;
  --maroon: #8b0000;
  --holy-cream: #fff8dc;
  --wisdom-blue: #4682b4;
  --divine-purple: #9370db;
  --sacred-orange: #ff8c42;
  --peaceful-white: #fafafa;
  --deep-maroon: #5d1a1a;

  /* Gradients */
  --primary-gradient: linear-gradient(135deg, var(--primary-color), #1e8a7e);
  --divine-gradient: linear-gradient(135deg, var(--saffron), var(--gold));
  --sacred-gradient: linear-gradient(135deg, var(--maroon), var(--deep-maroon));
  --wisdom-gradient: linear-gradient(
    135deg,
    var(--wisdom-blue),
    var(--divine-purple)
  );

  /* Typography */
  --font-primary: "Merriweather", serif;
  --font-secondary: "Poppins", sans-serif;
  --font-script: "Dancing Script", cursive;
  --font-display: "Cinzel", serif;

  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 0 20px;
  --border-radius: 12px;
  --box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: var(--font-secondary);
  line-height: 1.6;
  color: #333;
  background: #f8f9fa;
  overflow-x: hidden;
}

.roll-container {
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  border: 2px solid #d4af37;
  background: #fff8e1;
  padding: 8px 0;
  font-family: sans-serif;
  font-size: 1rem;
  margin-top: 129px;
}

.roll-track {
  display: inline-block;
  padding-left: 100%;
  animation: roll-left 50s linear infinite;
}

@keyframes roll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .roll-track {
    animation: none;
    transform: none;
  }
}

.roll-item {
  display: inline-block;
  margin-right: 2rem;
  line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .roll-container {
    font-size: 0.9rem;
    padding: 6px 0;
  }
  .roll-item {
    margin-right: 1.5rem;
  }
}

@media (max-width: 480px) {
  .roll-container {
    font-size: 0.8rem;
    padding: 5px 0;
  }
  .roll-item {
    margin-right: 1rem;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--container-padding);
}

/* ===================================
   LOADING OVERLAY
   ================================== */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-gradient);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-spinner {
  text-align: center;
  color: white;
}

.spinner-ring {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.loading-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  animation: pulse 1.5s ease-in-out infinite;
}

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

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* ===================================
   HERO SECTION
   ================================== */
/* .img-hero {
    z-index: 100;
} */
/* .carous-div {
    width : 100px;
    height: 100px;
    padding-top: 40px;
} */

.hero-section {
  min-height: 100vh;
  /* justify-content: space-between; */
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: bgSlide 15s infinite ease-in-out;
}

@keyframes bgSlide {
  0% {
    background: linear-gradient(
        135deg,
        rgba(55, 58, 58, 0.55) 0%,
        rgba(8, 8, 8, 0.45) 30%
      ),
      url("https://res.cloudinary.com/dlp1wsfmw/image/upload/q_auto:low,f_auto/v1755281338/Images/Assets/Homepage/HeroImage.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  33% {
    background: linear-gradient(
        135deg,
        rgba(55, 58, 58, 0.55) 0%,
        rgba(8, 8, 8, 0.45) 30%
      ),
      url("https://res.cloudinary.com/dlp1wsfmw/image/upload/q_auto:low,f_auto/v1755281349/Images/Assets/Homepage/HeroImage.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  66% {
    background: linear-gradient(
        135deg,
        rgba(55, 58, 58, 0.55) 0%,
        rgba(8, 8, 8, 0.45) 30%
      ),
      url("https://res.cloudinary.com/dlp1wsfmw/image/upload/q_auto:low,f_auto/v1755281338/Images/Assets/Homepage/HeroImage.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  100% {
    background: linear-gradient(
        135deg,
        rgba(55, 58, 58, 0.55) 0%,
        rgba(8, 8, 8, 0.45) 30%
      ),
      url("https://res.cloudinary.com/dlp1wsfmw/image/upload/q_auto:low,f_auto/v1755281349/Images/Assets/Homepage/HeroImage.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

.hero-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  /* align-items: start; */
  /* margin: 0 auto; */
  padding: 0 1rem;
  align-items: flex-start;
}

.hero-text {
  color: white;
}

.logo {
  transform: scale(1.7);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #ffd700, #fff8dc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  line-height: 1.6;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
  font-size: 1rem;
}

.cta-btn.primary {
  background: var(--divine-gradient);
  color: white;
  box-shadow: 0 4px 20px rgba(255, 153, 51, 0.3);
}

.cta-btn.secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn.primary:hover {
  box-shadow: 0 8px 30px rgba(255, 153, 51, 0.4);
}

.hero-image {
  position: relative;
  display: flex;
  flex-direction: column;
  color: white;
  font-weight: 500;
  align-items: center;
}

.hero-img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.hero-img:hover {
  transform: scale(1.02);
}

.divine-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="0.5" fill="rgba(255,215,0,0.3)"/><circle cx="90" cy="30" r="0.8" fill="rgba(255,153,51,0.4)"/><circle cx="30" cy="90" r="0.6" fill="rgba(255,215,0,0.2)"/><circle cx="80" cy="80" r="0.7" fill="rgba(255,153,51,0.3)"/><circle cx="50" cy="20" r="0.4" fill="rgba(255,215,0,0.5)"/></svg>')
    repeat;
  animation: float-particles 30s linear infinite;
  pointer-events: none;
}

.hero-section,
.hero-content {
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
}
.hero-content > * {
  max-width: 100%;
  box-sizing: border-box;
}

@keyframes float-particles {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
  }
}

/* ===================================
   QUOTES SECTION
   ================================== */
.quotes-section {
  padding: var(--section-padding);
  background: var(--holy-cream);
  position: relative;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  text-align: center;
  color: var(--maroon);
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--divine-gradient);
  border-radius: 2px;
}

.quotes-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  min-height: 200px;
}

.quote-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-in-out;
  text-align: center;
}

.quote-slide.active {
  opacity: 1;
  transform: translateY(0);
}

.quote-content blockquote {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--maroon);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  position: relative;
  padding: 0 2rem;
}

.quote-content blockquote::before,
.quote-content blockquote::after {
  content: '"';
  font-size: 3rem;
  color: var(--saffron);
  position: absolute;
  top: -10px;
}

.quote-content blockquote::before {
  left: 0;
}

.quote-content blockquote::after {
  right: 0;
}

.quote-content cite {
  font-family: var(--font-display);
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
}

.quote-indicators {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(42, 167, 155, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active,
.indicator:hover {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* ===================================
   SPIRITUAL MASTER SECTION
   ================================== */
.spiritual-master-section {
  padding: var(--section-padding);
  background: white;
}

.master-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}

.master-image {
  position: relative;
  text-align: center;
}

.saint-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}

.image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  background: radial-gradient(
    circle,
    rgba(255, 153, 51, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: divine-glow 3s ease-in-out infinite alternate;
}

@keyframes divine-glow {
  0% {
    box-shadow: 0 0 20px rgba(255, 153, 51, 0.3);
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.4);
    transform: translate(-50%, -50%) scale(1.05);
  }
}

.master-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--saffron);
  margin-bottom: 0.5rem;
}

.master-name {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--maroon);
  margin-bottom: 2rem;
  line-height: 1.2;
}

.master-quote {
  background: var(--holy-cream);
  padding: 2rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--saffron);
  margin-bottom: 2rem;
  position: relative;
}

.master-quote blockquote {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--maroon);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.master-quote cite {
  color: var(--saffron);
  font-weight: 600;
  font-size: 1rem;
}

.master-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 2rem;
}

.learn-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--primary-gradient);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(42, 167, 155, 0.3);
}

.learn-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(42, 167, 155, 0.4);
}

/* ===================================
   EVENTS SECTION
   ================================== */
.events-section {
  padding: var(--section-padding);
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.events-timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
}

.events-timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

.event-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: var(--transition);
}

.event-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.event-item::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 30px;
  width: 16px;
  height: 16px;
  background: var(--primary-color);
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--primary-color);
}

.event-date {
  background: var(--primary-gradient);
  color: white;
  padding: 2rem 1.5rem;
  text-align: center;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-date .day {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.9;
}

.event-date .date {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

.event-content {
  padding: 2rem;
  flex: 1;
}

.event-content h3 {
  color: var(--maroon);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.event-content p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.event-tag {
  display: inline-block;
  background: rgba(42, 167, 155, 0.1);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 75vh;
  overflow: hidden;
}

/* Slides */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transition: opacity 1s ease-in-out;
}

.slide img {
  width: 100%; /* extra width for smooth horizontal panning */
  height: 100%;
  object-fit: cover;
  /* animation: panImage 10s linear infinite alternate; */
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Horizontal auto-panning effect */
/* @keyframes panImage {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-10%);
  }
} */

/* Flower shower */
.slideshow-container .flower {
  position: absolute;
  top: -50px;
  width: 30px;
  height: 30px;
  background-size: cover;
  pointer-events: none;
  animation: fall linear infinite;
  z-index: 2;
}

@keyframes fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .slideshow-container {
    height: 50vh;
  }
  .slide img {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .slideshow-container {
    height: 50vh;
  }
  .slideshow-container .flower {
    width: 20px;
    height: 20px;
  }
}

/* ===================================
   SERVICES SECTION
   ================================== */
.services-section {
  padding: var(--section-padding);
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--holy-cream);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
  border-top: 4px solid var(--primary-color);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.service-icon {
  margin-bottom: 1.5rem;
}

.service-icon i {
  font-size: 3rem;
  color: var(--primary-color);
  background: rgba(42, 167, 155, 0.1);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: var(--transition);
}

.service-card:hover .service-icon i {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.service-card h3 {
  color: var(--maroon);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-card p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-link:hover {
  color: var(--maroon);
  transform: translateX(5px);
}

.service-link::after {
  content: "→";
  transition: var(--transition);
}

.service-link:hover::after {
  transform: translateX(3px);
}

/* ===================================
   WHY KRISHNA CONSCIOUSNESS SECTION
   ================================== */
.why-krishna-section {
  padding: var(--section-padding);
  background: var(--sacred-gradient);
  color: white;
}

.why-krishna-section .section-title {
  color: white;
}

.why-krishna-section .section-title::after {
  background: var(--divine-gradient);
}

.why-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.benefits-list {
  display: grid;
  gap: 2rem;
}

.benefit-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(10px);
}

.benefit-icon {
  background: var(--divine-gradient);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon i {
  font-size: 1.5rem;
  color: white;
}

.benefit-content h3 {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.benefit-content p {
  opacity: 0.9;
  line-height: 1.6;
}

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

.meditation-circle {
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(255, 215, 0, 0.2) 0%,
    rgba(255, 153, 51, 0.1) 50%,
    transparent 100%
  );
  border: 3px solid rgba(255, 215, 0, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  animation: meditation-pulse 4s ease-in-out infinite;
}

.meditation-circle i {
  font-size: 4rem;
  color: var(--gold);
}

@keyframes meditation-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 20px rgba(255, 215, 0, 0);
  }
}

/* ===================================
   LOCATION SECTION
   ================================== */
.location-section {
  padding: var(--section-padding);
  background: var(--holy-cream);
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.address-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border-top: 4px solid var(--primary-color);
}

.address-card h3 {
  color: var(--maroon);
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

.address-details {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.detail-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.detail-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-top: 0.2rem;
  width: 20px;
}

.detail-item strong {
  color: var(--maroon);
}

.timing-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--primary-gradient);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(42, 167, 155, 0.3);
}

.timing-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(42, 167, 155, 0.4);
}

.map-container {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  height: 400px;
}

.map {
  width: 100%;
  height: 100%;
}

.founder-section {
  display: flex;
  padding: var(--section-padding);
  background: var(--holy-cream);
  text-align: center;
  font-size: 40px;
  align-items: center;
}

.founder-section img {
  width: 500px;
  height: 300px;
  margin-top: 20px;
}

.founder-section button {
  background: var(--primary-gradient);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.founder-section button a {
  text-decoration: none;
  color: white;
}

.founder-section button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 167, 155, 0.3);
}

/* ===================================
   RESPONSIVE DESIGN
   ================================== */
@media (max-width: 1024px) {
  .navbar {
    padding: 0.5rem 15px;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-link {
    font-size: 0.85rem;
  }

  .logo {
    width: 55px;
    height: 55px;
  }

  .brand-name {
    font-size: 1.4rem;
  }

  .logo-text {
    font-size: 0.9rem;
  }

  .master-content,
  .why-content,
  .location-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-content {
    text-align: left;
    padding: 0 1rem;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0.5rem 10px;
  }

  .logo {
    width: 50px;
    height: 50px;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .logo-text {
    font-size: 0.8rem;
  }

  .hero-content {
    padding-top: 10px;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
  }

  .nav-links {
    position: fixed;
    top: 85px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 85px);
    background: var(--header-bg);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 2rem 1rem;
    transition: var(--transition);
    z-index: 999;
    gap: 0;
    overflow-y: auto;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.5rem;
  }

  .nav-link {
    padding: 1rem;
    width: 100%;
    justify-content: center;
    font-size: 1rem;
  }

  .dropdown-menu {
    position: static;
    opacity: 0;
    visibility: hidden;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 0;
    border-radius: 0;
    min-width: auto;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .dropdown-menu a {
    padding: 0.75rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .dropdown.active .dropdown-menu,
  .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 300px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .header {
    padding: 0;
  }

  .hero-section {
    padding-top: 140px;
  }

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

  .cta-btn {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }

  .events-timeline {
    padding-left: 1rem;
  }

  .events-timeline::before {
    left: 8px;
  }

  .event-item::before {
    left: -15px;
  }

  .event-item {
    flex-direction: column;
    gap: 0;
  }

  .event-date {
    flex-direction: row;
    justify-content: center;
    padding: 1rem;
    min-width: auto;
  }

  .event-date .day {
    margin-right: 0.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .benefits-list {
    gap: 1.5rem;
  }

  .benefit-item {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

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

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-title,
  .hero-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
  }

  .hero-marg {
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.5rem 8px;
  }

  .nav-brand {
    gap: 8px;
  }

  .logo {
    width: 45px;
    height: 45px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .logo-text {
    font-size: 0.7rem;
    margin-top: 1px;
  }

  .nav-links {
    top: 75px;
    height: calc(100vh - 75px);
    padding: 1.5rem 0.5rem;
  }

  .nav-link {
    font-size: 0.9rem;
    padding: 0.8rem;
  }

  .dropdown-menu a {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
  }

  .hero-section {
    padding-top: 85px;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 2.5rem;
  }

  .quote-content blockquote {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .master-name {
    font-size: 1.5rem;
  }

  .event-content {
    padding: 1.5rem;
  }

  .service-card {
    padding: 2rem;
  }

  .address-card {
    padding: 2rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

/* ===================================
   ACCESSIBILITY ENHANCEMENTS
   ================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .divine-particles,
  .meditation-circle {
    animation: none;
  }
}

/* Focus styles for accessibility */
.nav-link:focus,
.cta-btn:focus,
.service-link:focus,
.social-link:focus,
.submit-btn:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  }

  .service-card,
  .event-item,
  .address-card {
    border: 2px solid var(--primary-color);
  }
}
