/* ===============================
   Global Styles
================================= */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #fdfdfd;
  color: #333;
  scroll-behavior: smooth;
  text-align: justify;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: #222;
}

h1, h2, h3, h4, h5, h6 {
  text-align: center;
}

/* ===============================
   Navbar
================================= */
.navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
  color: #FF8C00 !important;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-link {
  color: #444 !important;
  font-weight: 500;
  transition: 0.3s ease;
}

.nav-link:hover {
  color: #FF8C00 !important;
}

/* ===============================
   Hero Section
================================= */
.hero {
  background: linear-gradient(120deg, #fff6e5 0%, #fff 50%, #ffecd2 100%);
  text-align: center;
  padding: 120px 20px 90px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: -60px;
  left: -60px;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 198, 107, 0.2), transparent 70%);
  z-index: 0;
}

.hero img {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 35px rgba(255, 165, 0, 0.3);
  transition: 0.5s ease;
  z-index: 1;
  position: relative;
}

.hero img:hover {
  transform: scale(1.06);
}

.hero h1 {
  margin-top: 25px;
  font-weight: 700;
  color: #1a1a1a;
  font-size: 2.5rem;
}

.hero p {
  color: #666;
  font-size: 1.1rem;
  margin-top: 10px;
}

/* Quote Box */
.quote {
  margin-top: 35px;
  font-style: italic;
  color: #333;
  font-size: 1.1rem;
  border-left: 5px solid #FF8C00;
  background: rgba(255, 235, 200, 0.4);
  border-radius: 8px;
  padding: 14px 20px;
  display: inline-block;
  max-width: 600px;
}

/* ===============================
   Modern Section Card Styles
================================= */
.modern-card {
  border: 0;
  border-radius: 20px;
  padding: 40px;
  background: #ffffff;
  box-shadow: 0px 8px 20px rgba(0,0,0,0.08);
  transition: 0.4s ease;
}

.modern-card:hover {
  transform: translateY(-6px);
  box-shadow: 0px 12px 28px rgba(0,0,0,0.12);
}

.section-title {
  font-weight: 700;
  font-size: 2rem;
  background: linear-gradient(90deg, #d78b2a, #8a4b14);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-img {
  border-radius: 18px;
  box-shadow: 0px 10px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.section-img:hover {
  transform: scale(1.03);
}

ul li {
  margin-bottom: 10px;
  line-height: 1.7;
}

section {
  scroll-margin-top: 80px;
}

/* ===============================
   Legacy Bootstrap Card Override
   (for consistency)
================================= */
.card {
  border: none;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ===============================
   Footer
================================= */
footer {
  background: linear-gradient(135deg, #FF8C00, #FFB347);
  color: #fff;
  text-align: center;
  padding: 35px 0;
  box-shadow: 0 -3px 15px rgba(255, 165, 0, 0.3);
}

footer a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

footer a:hover {
  text-decoration: underline;
}

/* ===============================
   Fade-in Animations
================================= */
.fade-in {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeInUp 1.1s ease forwards;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(25px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Custom delays for sections */
.hero.fade-in { animation-delay: 0.2s; }
#life.fade-in { animation-delay: 0.3s; }
#divine-role.fade-in { animation-delay: 0.45s; }
#teachings.fade-in { animation-delay: 0.6s; }
#legacy.fade-in { animation-delay: 0.75s; }
footer.fade-in { animation-delay: 0.9s; }
