/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --primary-color: #1B365D; /* Deep Navy */
  --secondary-color: #D4AF37; /* Gold */
  --accent-color: #9370DB; /* Purple */
  --text-dark: #333333;
  --text-light: #F9F9F9;
  --bg-light: #F9F9F9;
  --bg-white: #FFFFFF;
  --font-primary: 'Playfair Display', serif;
  --font-secondary: 'Lato', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  padding-top: 60px; /* For fixed top nav */
  padding-bottom: 80px; /* For fixed bottom nav */
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Fixed Top Navigation - Mobile App Style */
.fixed-top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: var(--primary-color);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
}

.nav-container {
  width: 100%;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 40px;
  width: auto;
  background: transparent !important;
  object-fit: contain;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--secondary-color);
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
}

.nav-menu {
  display: none;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  list-style: none;
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

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

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

.nav-menu a {
  color: white;
  font-family: var(--font-primary);
  font-size: 18px;
  display: block;
  padding: 10px 0;
}

.nav-menu a.active {
  color: var(--secondary-color);
}

/* Floating Fixed Bottom Navigation */
.fixed-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background-color: var(--secondary-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 10px;
  z-index: 1000;
  box-shadow: 0 -2px 15px rgba(0,0,0,0.15);
}

.nav-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 600;
  gap: 5px;
  min-width: 60px;
  min-height: 50px;
}

.nav-action-btn i {
  font-size: 20px;
  color: var(--primary-color);
}

.nav-action-btn:active {
  opacity: 0.7;
  transform: scale(0.95);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 80px 20px 120px;
}

.hero-title {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: 16px;
  font-family: var(--font-secondary);
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn-primary {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 14px 30px;
  border-radius: 30px;
  font-family: var(--font-primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  transition: transform 0.2s;
}

.btn-primary:active {
  transform: scale(0.95);
}

.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.shape-fill {
  fill: #F9F5F0;
}

/* Problem/Solution */
.narrative-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 30px;
}

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

.narrative-image-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
}

.illustration-overlay {
  position: absolute;
  top: -10px;
  right: -10px;
  background: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.narrative-title {
  color: var(--primary-color);
  font-size: 22px;
  margin-bottom: 10px;
}

.narrative-text {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* Courses */
.courses-scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 20px 0 40px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.courses-scroll-container::-webkit-scrollbar {
  display: none;
}

.course-card {
  min-width: 280px;
  height: 200px;
  border-radius: 15px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  color: white;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.2);
}

.badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-size: 10px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.btn-small-gold {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 11px;
  margin-top: 10px;
  align-self: flex-start;
  cursor: pointer;
}

/* Celestial Remedies */
.remedies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
}

.remedy-card {
  display: flex;
  align-items: center;
  border: 1px solid var(--secondary-color);
  border-radius: 15px;
  padding: 15px;
  background: rgba(255,255,255,0.05);
}

.remedy-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 2px solid rgba(255,255,255,0.2);
}

.remedy-info h4 {
  color: var(--secondary-color);
  font-size: 18px;
  margin-bottom: 5px;
}

.remedy-info p {
  color: white;
  font-size: 13px;
  opacity: 0.8;
}

.btn-tiny-gold {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--primary-color);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 10px;
  margin-top: 5px;
  font-weight: bold;
}

/* Trust Section */
.trust-icons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin: 30px 0;
  text-align: center;
}

.trust-item i {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.trust-item p {
  font-size: 11px;
  line-height: 1.3;
  color: #666;
}

.testimonial-snippet {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  background: #f5f5f5;
  border-radius: 10px;
}

.stars {
  color: var(--secondary-color);
  font-size: 14px;
  margin-bottom: 10px;
}

.quote {
  font-style: italic;
  font-family: var(--font-primary);
  font-size: 16px;
  margin-bottom: 10px;
}

.author {
  font-size: 12px;
  font-weight: bold;
  color: var(--primary-color);
}

/* Saagar Section */
.saagar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.saagar-img-wrapper {
  margin-bottom: 20px;
}

.saagar-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid var(--secondary-color);
  object-fit: cover;
}

.btn-white-pill {
  display: inline-block;
  background: white;
  color: var(--accent-color);
  padding: 12px 25px;
  border-radius: 25px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 12px;
  margin-top: 20px;
}

/* Media Queries for Tablet/Desktop */
@media (min-width: 768px) {
  .fixed-top-nav {
    height: 70px;
  }
  
  .nav-menu {
    display: flex;
    position: static;
    background: transparent;
    padding: 0;
    border: none;
    gap: 30px;
  }
  
  .nav-menu li {
    margin: 0;
  }
  
  .nav-menu a {
    font-size: 16px;
    padding: 0;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
  
  .hero-title {
    font-size: 48px;
  }
  
  .narrative-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
  
  .remedies-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .saagar-container {
    flex-direction: row;
    text-align: left;
    gap: 40px;
  }
  
  .saagar-img {
    width: 200px;
    height: 200px;
  }
}