/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fefefe;
  color: #333;
  scroll-behavior: smooth;
}

 /* Navbar */
    .navbar {
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(10px);
      color: #333;
      padding: 12px 30px;
      position: sticky;
      top: 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      z-index: 100;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      border-radius: 0 0 15px 15px;
      flex-wrap: wrap;
    }

    .navbar img {
      height: 60px;
    }

    .menu-toggle {
      display: none;
      cursor: pointer;
    }

    .menu-toggle svg {
      width: 30px;
      height: 30px;
      fill: #333;
    }

    .navbar-links {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    .navbar-links a {
      color: #333;
      text-decoration: none;
      font-weight: 500;
      transition: color 0.3s ease;
    }

    .navbar-links a:hover {
      color: #b30000;
    }

    /* Responsive styles */
    @media (max-width: 768px) {
      .menu-toggle {
        display: block;
      }

      .navbar-links {
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        background-color: #fff;
        padding: 10px 0;
      }

      .navbar-links.active {
        display: flex;
      }

      .navbar-links a {
        padding: 10px 20px;
        width: 100%;
        border-top: 1px solid #ddd;
      }
    }
/* Sections */
.section {
  padding: 60px 30px;
  max-width: 1200px;
  margin: auto;
}

.section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 32px;
  color: #c00;
}

/* Slider */
.slider-container {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  text-align: center;
}

.slider-container .slide {
  display: none;
  width: 100%;
  height: 100vh;
  max-height: 80vh;
  object-fit: cover;
  transition: opacity 0.6s ease-in-out;
}

.slider-container .slide.active {
  display: block;
}

/* Slider Dots */
.dots {
  text-align: center;
  margin-top: 16px;
}

.dot {
  height: 8px;
  width: 18px;
  margin: 0 4px;
  background-color: #ccc;
  border-radius: 20px;
  display: inline-block;
  transition: background-color 0.4s ease, transform 0.2s ease;
  cursor: pointer;
}

.dot.active {
  background-color: #c00;
  transform: scale(1.1);
}

/* Founder Section */
.founder-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.founder-info {
  flex: 1;
}

.founder-img img {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Topper Cards */
.topper-card {
  width: 220px;
  margin: 15px;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  background-color: #fff;
}

.topper-card:hover {
  transform: translateY(-5px);
}

.topper-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.topper-card h3 {
  margin: 10px 0 5px;
  color: #c00;
}

/* Gallery */
.gallery {
  padding: 40px 20px;
  background: #f5f5f5;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
}

.masonry-gallery {
  column-count: 3;
  column-gap: 15px;
  max-width: 1200px;
  margin: auto;
}

.gallery-img {
  width: 100%; /* auto-adjust to column */
  height: auto;
  margin-bottom: 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
  display: block;
  break-inside: avoid;
}

.gallery-img:hover {
  transform: scale(1.03);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

/* Responsive: Adjust number of columns */
@media screen and (max-width: 768px) {
  .masonry-gallery {
    column-count: 2;
  }

  .founder-layout,
  .contact-section {
    flex-direction: column;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .masonry-gallery {
    column-count: 1;
  }
}

.reviews-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.reviews-section h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.review {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.review-header {
  display: flex;
  align-items: center;
}

.reviewer-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

.review-date {
  font-size: 0.9em;
  color: #777;
}

.review-rating {
  font-size: 1.2em;
  margin-top: 5px;
}

.review-text {
  margin-top: 10px;
  font-style: italic;
}



/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background-color: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 10px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
  height: 100px;
}

.contact-form button {
  padding: 12px;
  background-color: #c00;
  color: #fff;
  border: none;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #900;
}

/* Footer */
.footer {
  background-color: #c00;
  color: white;
  text-align: center;
  padding: 20px 10px;
  margin-top: 40px;
  font-size: 14px;
}
