:root {
    --primary: #f8f8f8;
    --primary-light: #a5c5d9;
    --accent-brown: #03153a;
    --light-brown: #1D418C;
    --small-yellow: #F9CD05;
    --text-color: #F15C19;
    --section-padding: 5rem 0;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Arial', sans-serif;
    background-color: var(--light-brown);
    color: var(--text-color);
    line-height: 1.6;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    color:white;
    opacity: 90%;
    padding: 0 20px;
  }
  
  .header {
    background: linear-gradient(150deg, var(--accent-brown), var(--accent-brown));
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  .logo {
    font-size: 3rem;
    color: var(--text-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  }
  
  .header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
  }
  
  .nav-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .nav-link:hover {
    color: var(--light-brown);
  }
  .btn-primary {
    background-color: var(--accent-brown);
    color: var(--text-color);
  }
  
  .btn-secondary {
    background-color: transparent;
    border: 2px solid var(--text-color);
    color: var(--primary);
  }
  
  .btn-primary:hover, .btn-secondary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  }
  
  .hamburger {
    display: none;
    cursor: pointer;
  }
  
  .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: 0.4s;
  }
  
  @media (max-width: 768px) {
    .hamburger {
      display: block;
    }
  
    .nav-links {
      position: fixed;
      top: 66px;
      right: -100%;
      flex-direction: column;
      background-color: var(--primary);
      width: 100%;
      text-align: center;
      transition: 0.3s;
      padding: 2rem 0;
    }
  
    .nav-links.active {
      right: 0;
    }
  
    .hamburger.active .bar:nth-child(1) {
      transform: rotate(-45deg) translate(-5px, 6px);
    }
  
    .hamburger.active .bar:nth-child(2) {
      opacity: 0;
    }
  
    .hamburger.active .bar:nth-child(3) {
      transform: rotate(45deg) translate(-5px, -6px);
    }
  }
  
  .marketplace {
    padding: var(--section-padding);
    background: var(--light-brown);
  }

  .filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 2rem 0;
  }

  .filter-btn {
    padding: 0.8rem 2rem;
    border: 2px solid var(--accent-brown);
    border-radius: 30px;
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .filter-btn.active,
  .filter-btn:hover {
  background: var(--accent-brown);
  color: var(--text-color);
  transform: translateY(-2px);
  }

  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }

  .product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  .product-card.visible {
    transform: translateY(0);
    opacity: 1;
  }

  .product-img {
    position: relative;
    height: 300px;
    overflow: hidden;
  }

  .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(62, 39, 35, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .product-card:hover .product-overlay {
    opacity: 1;
  }
  
  .product-card:hover img {
    transform: scale(1.05);
  }
  
  .product-info {
    padding: 1.5rem;
    text-align: center;
  }

  .product-price {
    color: var(--primary-light);
    font-size: 1.5rem;
    margin: 1rem 0;
    font-weight: bold;
  }
  
  .add-to-cart {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
    transition: all 0.3s ease;
  }

  .add-to-cart:hover {
    gap: 1rem;
    transform: scale(1.05);
  }
  
  .load-more {
    text-align: center;
    margin-top: 3rem;
  }

  /* Shimmer Animation */
  @keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
  }
  
  .product-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
      to right,
      transparent 0%,
      rgba(255,255,255,0.2) 50%,
      transparent 100%
    );
    animation: shimmer 1.5s infinite;
  }

  @media (max-width: 768px) {
    .product-grid {
      grid-template-columns: 1fr;
    }
    
    .filter-btn {
      padding: 0.6rem 1.2rem;
      font-size: 0.9rem;
    }
  }

  
  .marketplace-btn {
    margin-top: 2rem;
    display: inline-block;
    animation: pulse 2s infinite;
  }

  .section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
  }


  .animate-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-brown);
    transition: width 0.5s ease;
  }

  .animate-title:hover::after {
    width: 100%;
  }


  /* .hero {
    height: 100vh;
    background: linear-gradient(rgba(62, 39, 35, 0.8), rgba(62, 39, 35, 0.8)),
                url('Pink\ Sakura\ Tree\ Sunset\ Blossom\ Landscape.jpeg.jpg') center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 66px;
    animation: fadeIn 1.5s ease-in;
  } */
/* replacing with venta.js    */
  .hero {
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 66px;
    animation: fadeIn 1.5s ease-in;
    position: relative; /* Important for Vanta.js */
  }
  
  .feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .card {
    background: var(--primary-light);
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
  }
  
/* Card Shine Animation */
.card::before {
  content: '';
  position: absolute;
  top: calc(var(--y, 0) - 50%);
  left: calc(var(--x, 0) - 50%);
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255,255,255,0.1) 50%,
    transparent 100%
  );
  pointer-events: none;
  transition: opacity 0.3s;
  opacity: 0;
}

  .card:hover::before {
    animation: shine 1.5s;
    opacity: 1;
  }

  .card.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .card:hover {
    transform: translateY(-5px);
  }
  
  .btn-primary, .btn-secondary {
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }

  .stats {
    padding: var(--section-padding);
    background: var(--primary-light);
  }
  
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    color:var(--accent-brown);
    text-align: center;
  }

  .stat-card {
    background: var(--primary);
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
  }
  
  .stat-card:hover {
    transform: translateY(-10px);
  }


  .courses {
    padding: var(--section-padding);
    background: var(--light-brown);
  }

  .course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
  }

  .course-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transform: translateX(-50px);
    opacity: 0;
    transition: all 0.5s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  .course-card.visible {
    transform: translateX(0);
    opacity: 1;
  }
  
  .course-thumbnail {
    position: relative;
    height: 250px;
    overflow: hidden;
  }

  .course-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .course-thumbnail:hover img {
    transform: scale(1.1);
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 60%, rgba(62, 39, 35, 0.8));
  }

  .course-content {
    padding: 1.5rem;
  }
  
  .course-title {
    color: var(--primary);
    margin-bottom: 0.5rem;
    margin-left: 15%;
    
  }
  
  .course-desc {
    color: var(--primary-light);
    margin-bottom: 1rem;
    margin-left: 15%;
  }

  .course-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-left: 28%;
    margin-bottom: 5%;
  }
  
  .course-btn:hover {
    gap: 1rem;
    transform: translateX(5px);
  }

  @keyframes rollIn {
    from {
      transform: translateX(-50px) rotate(-30deg);
      opacity: 0;
    }
    to {
      transform: translateX(0) rotate(0);
      opacity: 1;
    }
  }

  .newsletter {
    background: var(--primary);
    padding: var(--section-padding);
    text-align: center;
  }
  
  .newsletter {
    background: var(--primary-light);
    padding: 4rem 0;
    position: relative;
    z-index: 1;
  }
  
  .newsletter .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .form-container {
    background: rgb(234,171,160);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease;
  }
  
  .form-container.visible {
    transform: translateY(0);
    opacity: 1;
  }
  
  .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.5rem;
  }
  
  .newsletter-form input,
  .newsletter-form textarea {
    padding: 0.8rem 1.2rem;
    border: 2px solid var(--accent-brown);
    border-radius: 30px;
    background: #D7CCC8;
    color: var(--text-color);
    transition: all 0.3s ease;
  }
  
  .newsletter-form textarea {
    border-radius: 20px;
    resize: vertical;
    min-height: 100px;
  }
  
  .newsletter-form input:focus,
  .newsletter-form textarea:focus {
    outline: none;
    border-color: var(--light-brown);
    box-shadow: 0 0 10px #3E2723;
  }
  
  @media (max-width: 768px) {
    .newsletter {
      padding: 2rem 0;
    }
    
    .newsletter .container {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    
    .form-container {
      padding: 1.5rem;
    }
  }

/* footer part of the index page */
.footer {
  background-color: var(--primary);
  color: var(--light-brown);
  padding: 3rem 0 1rem;
  /* margin-top: 4rem; */
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
  padding-left: 6rem;
  padding-right: 2rem;
  border-bottom: 1px solid var(--accent-brown);
}

.footer-section h4 {
  color: var(--text-color);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-brown);
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
  transition: transform 0.3s ease;
}

.footer-section ul li:hover {
  transform: translateX(5px);
}

.footer-section a {
  color: var(--light-brown);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--text-color);
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.social-links a {
  font-size: 1.5rem;
  color: var(--light-brown);
  transition: all 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  color: var(--text-color);
}

.footer .container {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .footer-content {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  .footer-section h4::after {
    width: 40px;
  }
  
  .social-links {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .footer-section h4::after {
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
  }

  .social-links {
    justify-content: center;
    gap: 1rem;
  }

  .footer-section ul li {
    margin-bottom: 1rem;
  }

  .footer .container {
    padding-top: 1rem;
    margin-top: 1rem;
  }
}
@media (max-width: 480px) {
  .footer-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .footer-section h4::after {
    width: 30px;
  }

  .social-links {
    gap: 0.8rem;
  }

  .footer .container {
    padding-top: 0.5rem;
    margin-top: 0.5rem;
  }
}  
/* Profile Dropdown Styles */
.profile-dropdown {
  position: relative;
  display: inline-block;
}

.profile-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s;
}

.profile-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 50px;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border-radius: 8px;
  z-index: 1;
}

.dropdown-content.show {
  display: block;
}

.dropdown-item {
  padding: 12px 16px;
  color: var(--light-brown);
  text-decoration: none;
  display: block;
  transition: background 0.3s;
}

.dropdown-item:hover {
  background: var(--primary-light);
}

.dropdown-divider {
  border-top: 1px solid var(--accent-brown);
  margin: 4px 0;
}
.profile-dropdown {
  position: relative;
  margin-left: 15px;
}

.dropdown-content {
  right: 0;
  top: 100%;
}

/* Card Shine Animation */
.card::before {
  content: '';
  position: absolute;
  top: calc(var(--y, 0) - 50%);
  left: calc(var(--x, 0) - 50%);
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255,255,255,0.1) 50%,
    transparent 100%
  );
  pointer-events: none;
  transition: opacity 0.3s;
  opacity: 0;
}

.card:hover::before {
  opacity: 1;
}

/* Pulse Animation */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.marketplace-btn {
  animation: pulse 2s infinite;
}

/* Form Animations */
.form-container {
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.5s ease;
}

.form-container.visible {
  transform: translateY(0);
  opacity: 1;
}


/* video embedding for the youtube on our site */
/* Video Modal Styles */
/* .video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
}

.close-modal {
  position: absolute;
  top: -30px;
  right: -30px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 10000;
}

.close-modal:hover {
  transform: scale(1.2);
}

/* Ensure video responsiveness */
/* iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 8px;
} */ 
 /* Modal Styling */
.modal {
  display: none; 
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  width: 60%;
  max-width: 800px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

/* Larger Close Button with White Background */
.close {
  position: absolute;
  top: -20px;
  right: -20px;
  background: white;
  color: black;
  font-size: 40px; /* Increased size */
  font-weight: bold;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  cursor: pointer;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

iframe {
  width: 100%;
  height: 400px;
  border-radius: 8px;
}
