/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f9f6f1;
  color: #333;
}

/* Header */
header {
  background: #7b1113; /* Dark maroon */
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid #d4af37; /* golden underline */
}

/* Logo + Brand */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logoWrapper{
    width: 60%;
    margin: 0 auto;
}
.logo-img {
  width: 100%;
}

.brand-name {
  font-size: 1rem;
  font-weight: 600;
  color: #d4af37;
  letter-spacing: 1px;
}

/* Menu */
nav {
  display: none; /* hidden initially */
  position: absolute;   /* 👈 take out from flex flow */
  top: 70px;
  right: 20px;
  background: #7b1113;
  border: 1px solid #d4af37;
  border-radius: 8px;
  z-index: 999;
}

nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 15px;
}

nav ul li a {
  color: #d4af37;
  font-weight: 500;
  transition: color 0.3s;
  text-decoration: none;
}

nav ul li a:hover {
  color: #ffd700;
}
nav ul li a:hover {
  color: #ffd700;
}

/* Hamburger */
.menu-toggle {
  font-size: 1.8rem;
  color: #d4af37;
  cursor: pointer;
}

/* Larger screens */
@media (min-width: 768px) {
  nav {
    display: block;
    position: static;
  }
  nav ul {
    flex-direction: row;
    background: none;
    position: static;
    border: none;
    padding: 0;
    gap: 25px;
  }
  .menu-toggle {
    display: none;
  }
}
.about {
  background: #faf9f6;
  color: #3e2723;
  padding: 64px 20px 0;
  font-family: "Georgia", serif;
  line-height: 1.7;
}

.about .container {
  max-width: 1000px;
  margin: auto;
}

.section-title {
  font-size: 24px;
  font-weight: 600;
  margin: 10px 0 20px;
  text-align: center;
  color: #7b1113;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background: #d4af37;
  margin: 0 auto;
}

.legacy-list,
.mission-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.legacy-list li,
.mission-list li {
  margin: 15px 0;
  font-size: 1rem;
  line-height: 1.6;
}

.closing-line {
  margin-top: 40px;
  text-align: center;
  font-weight: 600;
  font-style: italic;
  color: #7b1113;
}

/* Footer */
.site-footer {
  background: #3e2723;
  color: white;
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }
}
/* Carousel */
/* Carousel Section */
.carousel {
  background: #faf9f6; /* same as shloka section */
  color: #7b1113;
  text-align: center;
  padding: 10px;
  position: relative;
}

.carousel-text {
  font-family: "Georgia", serif; /* formal serif font */
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.6;
  max-width: 800px;
  margin: auto;
  min-height: 80px; /* fixed height for smoothness */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #7b1113;
  transition: opacity 0.6s ease-in-out;
}


/* Responsive */
@media (max-width: 768px) {
  .carousel-text {
    font-size: 1rem;
    min-height: 60px;
    padding: 0 10px;
  }
}


/* Hero Section */
.hero {
  width: 100%;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-bottom: 2px solid #d4af37;
}

/* Shloka */
.shloka {
  background: #faf9f6;
  text-align: center;
  padding: 40px 20px 0;
  font-family: "Georgia", serif;
}

.shloka h2 {
  color: #7b1113;
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.shloka .meaning {
  font-size: 1rem;
  color: #444;
  max-width: 700px;
  margin: auto;
  font-style: italic;
}



.contact {
  background: #faf9f6;
  color: #3e2723;
  padding: 64px 20px 20px;
  font-family: "Georgia", serif;

  .contact .container {
  max-width: 1000px;
  margin: auto;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  color: #7b1113;
  margin-bottom: 10px;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background: #d4af37;
  margin: 10px auto;
}

.intro-text {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1rem;
  color: #5a4633;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-info h3,
.contact-form h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #7b1113;
}

.contact-info p {
  margin: 8px 0;
  font-size: 1rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: "Georgia", serif;
  font-size: 1rem;
}

.btn-submit {
  background: #7b1113;
  color: #fff;
  padding: 12px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-submit:hover {
  background: #5a0c0e;
}

/* Responsive */
@media (min-width: 768px) {
  .contact-grid {
    flex-direction: row;
    justify-content: space-between;
  }
  .contact-info,
  .contact-form {
    flex: 1;
  }
}

}

