* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #f6eee3;
  color: #333;
  overflow-x: hidden;
  scroll-behavior: smooth;

}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Libre Baskerville', serif;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: #f6eee3;
  z-index: 10;
  height: 12vh;
 
}
.navbar-shadow {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
  transition: box-shadow 0.3s ease;
}

.logo {
  width: 60px;
  height: 60px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #555;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #555;
}

.nav-buttons .btn {
  background-color: #d78d29;
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 1rem;
}

.nav-buttons .btn:focus,
.nav-buttons .btn:hover {
  background-color: white;
  color: #d78d29;
  border: 1px solid #d78d29;
}

.register-btn {
  background-color: #d78d29;
}

.login-btn {
  background-color: #fbbc05;
}

/* Offcanvas Menu Styles */
.offcanvas-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  background-color: white;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease;
  z-index: 1050;
  padding: 1rem 0;
}

.offcanvas-menu.open {
  right: 0;
}

.offcanvas-menu .close-btn {
  font-size: 2rem;
  color: #000;
  background: none;
  border: none;
  position: absolute;
  top: 0rem;
  left: 0.5rem;
  cursor: pointer;
}

.offcanvas-menu .nav-link {
  text-decoration: none;
  color: #555;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.offcanvas-menu .nav-link:hover {
  color: #d78d29;
  background-color: transparent;
}

.nav-links li a:hover,
.offcanvas-menu .nav-link:hover {
  color: #d78d29;
}


@media (max-width: 768px) {
   
  .logo {
    width: 45px;
    height: 45px;
  }
}

/* Hero Section ---------------------------------------------*/
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  position: relative;
  /* margin-top: -5%; */
  width: 100%;
  overflow: hidden;
  background-color: #f6eee3;
}

.title {
  font-size: 3rem;
  color: #1c1c1c;
  font-weight: bold;
}

.subtitle {
  font-size: 1.2rem;
  color: #555;
  margin: 0.5rem 0 2rem 0;
}

.background-pattern1 {
  position: absolute;
  background-image: url('assets/second.png');
}

.background-pattern2 {
  position: absolute;
  background-image: url('assets/first.png');
  top: 300px;
  left: -200px;
}

.background-pattern3 {
  position: absolute;
  background-image: url('assets/four.png');
  top: 300px;
  right: -200px;
}

/* Background Pattern */
.background-pattern {
  width: 500px;
  height: 500px;
  background-size: cover;
  opacity: 0.6;
  z-index: 10;
}

@media (prefers-reduced-motion: no-preference) {
  .background-pattern {
    animation: background-pattern-spin infinite 20s linear;
    will-change: transform;
  }
}

@keyframes background-pattern-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.hero-section h1,
.hero-section p {
  z-index: 10;
}

/* Search Bar */
.search-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
  flex-wrap: wrap;
}

.search-input {
  padding: 0.6rem 0.8rem;
  width: 200px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.search-btn {
  padding: 0.6rem 1.5rem;
  background-color: #d78d29;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  border: 1px solid transparent;
}

.search-btn:hover {
  background-color: white;
  color: #d78d29;
  border: 1px solid #d78d29;
}


/* Responsive Styles */
@media (max-width: 1024px) {    /* For tablets */

  .title {
    font-size: 3rem;
  }

  .subtitle {
    font-size: 1.5rem;
    margin: 0.5rem 0 1.5rem 0;
  }

  .background-pattern {
    width: 500px;
    height: 500px;

  }

  .background-pattern1 {
    width: 600px;
    height: 600px;
  }

  .background-pattern2 {
    top: 850px;
    left: -150px;
  }

  .background-pattern3 {
    top: 850px;
    right: -150px;
  }

  .search-bar {
    gap: 0.5rem;
  }

  .search-input {
    width: 250px;
    font-size: 1.1rem;
  }

  .search-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) { /* For phones */

  .title {
    font-size: 1.6rem;
  }

  .subtitle {
    font-size: 1rem;
    margin: 0.5rem 0 1rem 0;
  }

  .background-pattern {
    width: 300px;
    height: 300px;
  }

  .background-pattern1 {
    width: 400px;
    height: 400px;
  }

  .background-pattern2 {
    top: 600px;
    left: -150px;
  }

  .background-pattern3 {
    top: 600px;
    right: -130px;
  }

  .search-input {
    width: 160px;
    font-size: 0.9rem;
  }

  .search-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 380px){
  .background-pattern2 {
    top: 500px;
    left: -150px;
  }

  .background-pattern3 {
    top: 500px;
    right: -130px;
  }

}


/* Login page--------------------------------------------- */

.navbar2{
  background-color: transparent;
}

.background-pattern-login {
  width: 700px;
  height: 700px;
 
}

.background2-pattern-login {
  width: 500px;
  height: 500px;
}

.background3-pattern-login {
  width: 500px;
  height: 500px;
}

/* Form container styling */
.form-container {
  width: 100%;
  max-width: 400px;
  background: white;
  border-radius: 8px;
  padding: 20px 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  z-index: 10
}

.form-container h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: #333;
}

.form-container p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.form-container label {
  display: block;
  font-size: 14px;
  color: #333;
  margin: 10px 0 5px;
  text-align: left;
}

.form-container input {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
}

.form-container button {
  width: 100%;
  padding: 12px;
  background-color: #d78d29;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-container button:hover {
  background-color: #b57223;
}

.form-container .signup-text {
  margin-top: 15px;
  font-size: 14px;
  color: #666;
}

.form-container .signup-text a {
  color: #d78d29;
  text-decoration: none;
  font-weight: bold;
}

.form-container .signup-text a:hover {
  text-decoration: underline;
  color: #b57223;
}


@media (max-width: 1024px) { /* For tablets */

  .background-pattern-login {
    width: 600px;
    height: 600px;
  }

  .background2-pattern-login {
    bottom: 15%;
    left: -20%;
  }

  .background3-pattern3 {
    top: 15%;
    right: 20%;
  }

  .form-container {
    max-width: 350px;
    padding: 20px 20px;
  }

  .form-container h2 {
    font-size: 22px;
  }

  .form-container p {
    font-size: 14px;
  }

  .form-container label {
    font-size: 13px;
  }

  .form-container button {
    font-size: 14px;
  }

  .form-container .signup-text {
    font-size: 13px;
  }
}

@media (max-width: 768px) { /* For phones and smaller tablets */

  .background-pattern-login {
    width: 500px;
    height: 500px;
  }

  .background2-pattern-login {
    width: 350px;
    height: 350px;
  }

  .background3-pattern-login {
    width: 350px;
    height: 350px;

  }

  .form-container {
/*    max-width: 300px;*/
    padding: 15px;
  }

  .form-container h2 {
    font-size: 20px;
  }

  .form-container p {
    font-size: 12px;
  }

  .form-container label {
    font-size: 12px;
  }

  .form-container input {
    font-size: 13px;
    padding: 8px;
  }

  .form-container button {
    font-size: 13px;
    padding: 10px;
  }

  .form-container .signup-text {
    font-size: 12px;
  }
}

@media (max-width: 480px) { /* For small phones */

  .background2-pattern-login {
    left: -40%;
  }

  .background3-pattern-login {
    right: -40%
  }

  .form-container {
    max-width: 90%;
    padding: 10px;
  }

  .form-container h2 {
    font-size: 18px;
  }

  .form-container p {
    font-size: 12px;
  }

  .form-container label {
    font-size: 11px;
  }

  .form-container input {
    font-size: 12px;
    padding: 6px;
  }

  .form-container button {
    font-size: 12px;
    padding: 8px;
  }

  .form-container .signup-text {
    font-size: 11px;
  }
}

/* Register Form---------------------------------------- */

.register-form {
  width: 50%;
  /* max-width: 400px; */
  background: white;
  border-radius: 8px;
  padding: 20px 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}


/* Extra  pages--------------------------------------------- */
.main-hero{
  min-height: 100vh;
  background-color: #f6eee3;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
}

.content{
  margin-top:14vh;
  margin-bottom:3rem;
  border-radius:10px;
  width:80%;
  background-color: white;
  padding:2rem;
}

/* About Us Section --------------------------------------------------------*/

.about-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f6eee3;
  z-index: 10;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.background-pattern4 {
  position: absolute;
  background-image: url('assets/third.png');
  z-index: 10;
  height: 650px;
  width: 650px;
  overflow: hidden;
}

.card-cover {
  display: flex;
  justify-content: space-around;
  gap: 0px 40px;
  /* flex-wrap: wrap; */
  z-index: 15;
}

.about-section .card {
  width: 500px;
  background-color: rgba(255, 255, 255, 0.692);
  padding: 30px;
  border-radius: 10px;
  z-index: 15;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border: none;
}

.card h2 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-weight: 600;
  color: #1c1c1c;
}

.card p {
  font-size: 1em;
  margin-bottom: 10px;
  color: #555;
  line-height: 1.3rem;

}


/* Responsive Styles */
@media (max-width: 1024px) { /* For tablets */
  .about-section {
    overflow: hidden;
    height: 100vh;
  }

  .background-pattern4 {
    height: 700px;
    width: 700px;
    overflow: hidden;
  }

  .card-cover {
    gap: 20px;
  }

  .about-section .card {
    width: 350px;
    padding: 25px;
  }

  .card h2 {
    font-size: 20px;
  }

  .card p {
    font-size: 14px;
    line-height: 1.3rem;
  }

}

@media (max-width: 768px) { /* For phones */
  .about-section {
    height: 140vh;
    overflow: hidden;
  }

  .background-pattern4 {
    height: 250px;
    width: 250px;
    overflow: hidden;
    border: 2px solid red;
    display: none;
  }

  .card-cover {
    flex-direction: column;
    align-items: center;
  }

  .about-section .card {
    width: 300px;
    padding: 20px;
    height: auto;
  }

  .card h2 {
    font-size: 16px;
  }

  .card p {
    font-size: 12px;
    line-height: 1.2rem;
  }
}

@media (max-width: 480px) {
  .about-section {
    height: 130vh;
    overflow: hidden;
  }
}


/* Media Gallery Container --------------------------------------------------------*/
.media-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f6eee3;
  padding-bottom: 60px;
}

/* Section 1: Header Section */
.header-section {
  text-align: center;
  padding: 2rem 1rem;
}

.header-section h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1c1c1c;
  margin-bottom: 0.5rem;
}

.header-section p {
  font-size: 1.2rem;
  color: #666;
}

/* Section 2: Gallery Section */
.gallery-section {
  position: relative;
  width: 80%;
  background-color: #fff;
  padding: 2rem 1rem;
  z-index: 0;
  border-radius: 8px;
}

.mandala-overlay {
  position: absolute;
  top: -30%;
  left: 20%;
  transform: translateX(-50%);
  background: url('assets/four.png') no-repeat center;
  background-size: contain;
  height: 750px;
  width: 750px;
  z-index: 20;
  opacity: 0.3;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  /* Auto-adjust columns */
  gap: 1rem;
  position: relative;
  z-index: 22;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  background-size: cover;
  margin: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) { /* For tablets */
  .gallery-section {
    width: 90%;
    padding: 1.5rem 1rem;
  }

  .mandala-overlay {
    height: 500px;
    width: 500px;
    top: -10%;
    left: 20%;
  }

  .gallery-grid {
    gap: 0.8rem;
    /* Reduce gap between items */
  }

  .gallery-item {
    border-radius: 6px;
  }

  .header-section h2 {
    font-size: 20px;
  }

  .header-section p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) { /* For phones and smaller tablets */
  .gallery-section {
    width: 95%;
    padding: 1rem 0.5rem;
  }

  .mandala-overlay {
    height: 600px;
    width: 600px;
    top: -30%;
    left: 50%;
  }

  .gallery-grid {
    gap: 0.5rem;
    /* Further reduce gap */
  }

  .gallery-item {
    border-radius: 5px;
  }

  .header-section h2 {
    font-size: 16;
  }

  .header-section p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) { /* For mobile phones */
  .gallery-section {
    width: 95%;
    padding: 0.8rem 0.4rem;
  }

  .mandala-overlay {
    height: 300px;
    width: 300px;
    top: -3%;
  }

  .gallery-grid {
    gap: 0.3rem;
    /* Minimal gap for small screens */
  }

  .gallery-item {
    border-radius: 4px;
    /* Smallest border radius */
  }

  .header-section p {
    font-size: 0.8rem;
  }
}



/* -- Profile Section ---------------------------------------------------------------------------------------------- */

.profile-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
/*  height: 100vh;*/
  padding: 20px;
  background-color: #f6eee3;
  gap: 20px 0;
  overflow: hidden;
}

.profile-section-heading {
  text-align: center;
}

.profile-section-heading h2{
  font-size: 1.3rem;
  font-weight: 600;
}

.profile-card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.profile-card {
  display: flex;
  flex-direction: column;
  width: 400px;
  background-color: #f4f0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-5px);
}

.profile-header {
  background: linear-gradient(90deg, #c88b22, #a07427);
  padding: 10px 10px 0px 10px;
}

.profile-header h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
}

.profile-content {
  background-color: #f4f0e0;
  padding: 15px;
}

.profile-image {
    border-radius: 10px;
    margin-bottom: 15px;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.profile-description {
  font-size: 1em;
  line-height: 1.2rem;
  margin-bottom: 20px;
  color: #949494;
}

.btn-container {
  text-align: center;
}

.read-more-btn {
  background-color: #c88b22;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.read-more-btn:hover {
  background-color: #a6741a;
}

/* Responsive Design ------------------------------------------*/

@media (max-width: 1024px) { /* For tablets */
  .profile-section {
    overflow: hidden;
/*    height: 100vh;*/
  }

  .profile-card-container {
    gap: 25px;
  }

  .profile-card {
    width: 350px;
  }

  .profile-card img {
    width: 100%;
  }

  .profile-header h3 {
    font-size: 1rem;
  }

  .profile-description {
    font-size: 14px;
    line-height: 1.2rem;
  }
  .profile-section-heading h2{
    font-size: 20px;
    
  }
}



@media (max-width: 768px) { /* For small tablets and large phones */
  .profile-section {
    overflow: hidden;
/*    height: 100vh;*/
  }

  .profile-section {
    height: auto;
    padding: 15px;
  }

  .profile-card-container {
    gap: 25px;
  }

  .profile-card {
    width: 90%;
    max-width: 400px;
  }

  .read-more-btn {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
  .profile-section-heading h2{
    font-size: 16px;
  }
  .profile-description {
    font-size: 12px;
    line-height: 1.1rem;
  }

}

@media (max-width: 480px) { /* For mobile phones */
  .profile-header h3 {
    font-size: 0.9rem;
  }

  .profile-description {
    font-size: 12px;
    line-height: 1.1rem;
  }

  .profile-card {
    width: 95%;
  }

  .read-more-btn {
    padding: 6px 10px;
    font-size: 0.85rem;
  }
}



/* FAQ Section---------------------------------------------------------------------- */
.faq-section {
  padding: 50px 100px;
  background-color:white;
  color: #c88b22;
}

.faq-section h2 {
  text-align: start;
  margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
  color: #333;
}

.faq-item {
  border-bottom: 1px solid #cccccc;
  padding: 10px 0;
  cursor: pointer;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1em;
}

.faq-answer {
  display: none;
  font-size: .8em;
  padding-top: 10px;
  color: #333;
}

/* Responsive Design */
@media (max-width: 1024px) { /* For tablets */
  .faq-section {
    padding: 40px 50px;
  }

  .faq-section h2 {
    font-size: 20px;
  }

  .faq-question {
    font-size: 0.95em;
  }

  .faq-answer {
    font-size: 0.95em;
  }
}

@media (max-width: 768px) { /* For small tablets and large phones */
  .faq-section {
    padding: 30px 20px;
  }

  .faq-section h2 {
    font-size: 16px;
    text-align: center;
  }

  .faq-question {
    font-size: 0.9em;
  }

  .faq-answer {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) { /* For mobile phones */
  .faq-section {
    padding: 20px 15px;
  }

  .faq-section h2 {
    font-size: 1.4rem;
    text-align: center;
  }

  .faq-question {
    font-size: 0.85em;
  }

  .faq-answer {
    font-size: 0.85em;
  }
}



/* footer------------------------------------------------------------------------ */

.footer {
  padding: 40px 100px 10px 100px;
  background-color: #c88b22;
  color: #000000;
}


/* Middle Footer */
.middle-footer {
  display: flex;
  justify-content: space-around;
}

.middle-footer p {
  font-weight: 600;
  font-size: 16px;
  color: #000000;
  margin-bottom: 15px;
}

.middle-footer li {
  list-style-type: none;
  font-size: 14px;
  margin-bottom: 10px;
}

.quick-links a{
  color: #000000;
  text-decoration: none;
}
.Contact-us a{
  color: #000000;
  text-decoration: none;
}

/* Bottom Footer */
.bottom-footer {
  text-align: center;
  /* margin-top: 30px; */
}

.bottom-footer p {
  color: #000000;
  font-size: 14px;
}
.bottom-footer a {
  color: #000000;
  text-decoration: none;
}

.footer hr {
  background-color: rgb(255, 255, 255);
  height: 1px;
  border: none;
}



/* Responsive Design ---------------------------------------- */
@media (max-width: 1024px) { /* Tablets */
  .footer {
    padding: 30px 50px 10px 50px;
  }

  .middle-footer {
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .middle-footer p {
    font-size: 14px;
  }

  .middle-footer li {
    font-size: 13px;
  }
  .bottom-footer p {
    font-size: 13px;
  }

}

@media (max-width: 768px) { /* Phones and small tablets */
  .footer {
    padding: 20px 20px 5px 20px;
  }

  .middle-footer {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
  }

  .middle-footer p {
    font-size: 13px;
  }

  .middle-footer li {
    font-size: 12px;
  }

  .bottom-footer {
    gap: 10px;
  }

  .bottom-footer p {
    font-size: 12px;
  }
}

@media (max-width: 480px) { /* Phones */
 
  .middle-footer {
    gap: 20px;
  }

  .middle-footer li {
    font-size: 11px;
  }

  .bottom-footer {
    gap: 8px;
  }

  .bottom-footer p {
    font-size: 11px;
  }
}

/* Scroll-to-Top Button  */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background-color: #d78d29;
  color: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-to-top i {
  font-size: 25px;
}

.scroll-to-top:hover {
  background-color: #b57223;
}

.scroll-to-top.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.scroll-to-top.hide {
  opacity: 0;
  transform: translateY(20px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .scroll-to-top {
    width: 50px;
    height: 50px;
  }

  .scroll-to-top i {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .scroll-to-top {
    width: 40px;
    height: 40px;
  }

  .scroll-to-top i {
    font-size: 20px;
  }
}

.hero-login{
  height: auto;
  padding:8rem 0
}