/* Reset */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
}

.help-button {
  position: fixed;
  bottom: 200px;
  right: 20px;
  background-color: #007bff;
  color: white;
  padding: 12px 16px;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.3s ease;
  animation: popIn 0.5s ease;
}
.help-button:hover {
  transform: scale(1.05);
}

.help-info-container {
  display: none;
  position: fixed;
  bottom: 140px;
  right: 20px;
  display: flex;
  gap: 10px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  padding: 15px;
  z-index: 999;
  animation: fadeIn 0.4s ease;
  flex-wrap: wrap;
  width: 320px;
}

.help-box {
  flex: 1 1 140px;
  background-color: #f9f9f9;
  border-radius: 6px;
  padding: 10px;
  font-size: 0.9rem;
}

.help-box h4 {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #007bff;
}

/* Animation */
@keyframes popIn {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes popIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  60% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  border-radius: 50%;
  padding: 12px;
  background-color: #25D366;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  animation: popIn 0.8s ease-out, pulse 2s 1s infinite;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 60px;
  height: 60px;
}


/* Header */
/* Navbar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  height: 90px;
  align-items: center;
  padding: 15px 30px;
  background-color: rgba(0, 0, 0, 0.7); /* semi-transparent black */
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
}


.logo-img {
  margin-left: 250px;
  width: 100px;
  height: 80px;
}

.nav-links a {
  color: #fff;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #facc15;
}

.demo-button {
  margin-right: 250px;
  background-color: #fbaf43;
  border: none;
  padding: 8px 16px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.demo-button:hover {
  background-color: #ffda8f;
}

/* Base styles */
.nav-links {
  display: flex;
  align-items: center;
}

/* Desktop-only button */
.desktop-demo-button {
  display: block;
  background-color: #fbaf43;
}

/* Mobile-only button */
.mobile-demo-button {
  display: none;
}

/* Hamburger Icon */
.menu-toggle {
  display: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
}

/* === Responsive === */
@media (max-width: 764px) {
  .menu-toggle {
    display: block;
  }
  .logo-img {
  margin-left: 2px;
}


  .nav-links {
    display: none;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    align-items: center;
    text-align: center;
    display: none;
    padding-top: 30px;
    padding-bottom: 30px;
    transition: all 0.3s ease-in-out;
  }


  .nav-links a {
    display: block;
    margin: 15px 0;
    font-size: 18px;
  }

  .desktop-demo-button {
    display: none;
  }

  .mobile-demo-button {
    display: block;
    width: 100%;
    margin-right: 30px;
  padding: 15px 0;
  font-size: 16px;
  border-radius: 0; 
  }

  .nav-links.show {
    display: flex;
  }
}

/* Hero Section */
/* Hero Section */
.hero {
  margin-top: -120px;
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slider {
  height: 100%;
  width: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Slide Content */
.slide-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 22%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 150px;
  width: 500px;
  padding: 25px 30px 30px 0;
  padding-left: 0;
  background-color: white;
  border-left: 8px solid #facc15; /* yellow side bar */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.slide-content h2 {
  margin: 0;
  font-size: 26px;
  color: #222;
  line-height: 1.4;
  margin-bottom: 20px;
}

.highlight-bar{
  background: #facc15;
  width: 10px;
}

.highlight {
  color: #84cc16; /* lime green */
  font-weight: 800;
}

.text-wrapper {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.highlight-text{
  min-height: 130px;
}

.hero-btn {
  position: absolute;
  margin-top: 180px;
  border-radius: 0 4px 4px 10;
  background: #222;
  color: #fff;
  content: center;
  padding: 10px 16px;
  width: 160px;
  border-radius: 4px;
  transition: background 0.3s ease;
  font-size: 20px;
  font-weight: bolder;
  z-index: 1000;
}

.hero-btn i {
  margin-left: 8px;
}

.highlight {
  color: #84cc16; /* lime green */
  font-weight: 900;
  font-size: 24px;
}
.hero-btn:hover {
  background: #facc15;
  color: #000;
}

/* Arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  border: 2px solid white;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
   z-index: 10;
}

.left-arrow {
  left: 30px;
}

.right-arrow {
  right: 30px;
}

.arrow:hover {
  border-color: #facc15;
  color: #facc15;
}

@media (max-width: 768px) {
  .slide-content {
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    width: 380px;
    height: auto;
    padding: 15px 20px;
    flex-direction: column;
    gap: 10px;

  }
  

  .text-wrapper {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
  

  .slide-content h2 {
    font-size: 22px;
    line-height: 1.3;
  }

  .hero-btn {
    padding: 15px 15px;
    font-size: 20px;
    margin-top: 120px;
    width: 160px;
  }

  .arrow {
    display: none;
  }
}

@media (max-width: 480px) {
  .slide-content {
    width: 90%;
    left: 5%;
    padding: 10px 15px;
  }
  .text-wrapper {
    padding: 0;
    height: 30px
  }

  .slide-content h2 {
    font-size: 18px;
    line-height: 1.2;
  }

  .hero-btn {
    padding: 6px 12px;
    font-size: 13px;
  }

  .arrow {
    display: none;
  }
  .hero {
  margin-top: -120px;
  min-height: 100vh;
}
.slide-content {
  box-sizing: border-box;
  max-width: 90%;
}
}


/* service section */

.services-section {
    padding: 60px 30px;
    
}

.services-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: auto;
}

.service-box {
  position: relative;
    background: #fff;
    overflow: hidden;
  transition: transform 0.3s ease;

}
.service-box:hover {
  transform: translateY(-8px);
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease;
    display: block;
    z-index: 0;
}

.image-wrapper {
  position: relative;
  display: block;
  overflow: hidden;
}

.overlay1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0); /* Start transparent */
  transition: background-color 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.service-box:hover .overlay1 {
  background-color: rgba(0, 0, 0, 0.5); /* Dark opacity on hover */
}


.service-box:hover .service-img {
  transform: scale(1.05); /* Optional zoom effect */
}

.service-box h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 16px;
    text-align: justify;
}

.service-box p {
    font-size: 0.95rem;
    margin-top: 8px;
    color: #555;
    text-align: justify;
}

.info-box {
    border: 3px solid #f4cd00;
    padding: 25px;
    background-color: #fffefc;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-box h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #111;
}

.info-box p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #222;
    text-align: justify;
}

.view-profile {
    font-weight: 700;
    color: #000000;
    padding: 20px 10px;
    background-color: #fbaf43;
    width: 120px;
}

.view-profile:hover {
    background-color: #f4cd00;
}



/* Responsive Styles */
@media (max-width: 1024px) {
    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive: Mobile devices */
@media (max-width: 640px) {
    .services-container {
        grid-template-columns: 1fr;
        padding: 0 0px;
        width: 100%;
        margin-right: 0px;
        margin-left: 0px;
    }

    .service-img {
        height: 180px;
    }

    .info-box {
        padding: 10px;
    }

    .info-box h2 {
        font-size: 1.25rem;
    }
}

/* animate.css */
.service-box,
.info-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
}

/* Optional: Add hover effect */
.service-box:hover,
.info-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(255, 255, 255, 0.12);
}


/* about us */
.about-section {
  padding: 80px 30px;
  background-color: #4b4a4a;
}

.section-title1 {
  text-align: center;
  font-size: 45px;
  color: #fbaf43;
  margin-bottom: 50px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  display: block;
}

.about-content {
  display: flex;
  flex-direction: column;
}

.content-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 0;
}

.about-content p {
  font-size: 22px;
  line-height: 2;
  color: #ffffff;
  margin-bottom: 20px;
  text-align: justify;
}

.read-more-btn {
  align-self: flex-start;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  background-color: #fbaf43;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease;
  margin-top: auto;
}

.read-more-btn i {
  margin-left: 10px;
}

.read-more-btn:hover {
  background-color: #eab308;
  color: #000;
}

/* Responsive Layout */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image img {
    height: auto;
    max-height: 450px;
  }

  .read-more-btn {
    align-self: center;
  }
}


/* FEATURES SECTION */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
  transition: all 0.5s ease;
}

.gallery-item {
  position: relative;
  height: 220px;
  background-color: #a09f9f;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.gallery-item img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 1;
}


.overlay {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  color: #fff;
  padding: 10px;
  transition: all 0.3s ease;
  transform: translateY(100%);
}

.gallery-item:hover .overlay {
  transform: translateY(0);
}

.gallery-item .title {
  font-size: 14px;
  font-weight: 600;
}

.gallery-item .category {
  font-size: 12px;
  opacity: 0.8;
}

.featured-header {
  text-align: center;
  font-size: 36px;
  margin-bottom: 30px;
}

.filter-bar-wrapper {
  margin-bottom: 20px;
  width: 100%;
}

.filter-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-bar button {
  padding: 10px 14px;
  background-color: transparent;
  color: #000;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bolder;
  transition: 0.3s;
}

.filter-bar button.active,
.filter-bar button:hover {
  background-color: #fbaf43;
  border-color: #fbaf43;
}

.expand-toggle {
  font-size: 20px;
  padding: 8px 12px;
  border: 2px solid #000;
  background: #000000;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.expand-toggle:hover {
  background-color: #fbaf43;
}

.gallery.full-width {
  max-width: 100%;
  margin: 0;
  padding: 0 40px; /* optional: side padding */
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
  grid-template-rows: repeat(4, auto);    /* 3 rows */
  }
  /* Hide items beyond the 4th */
  .gallery-item:nth-child(n+5) {
    display: none;
  }
   .filter-bar{
    display: flex;
    align-items: center;
    text-align: center;
    padding-left: 30px;
   }
   .expand-toggle{
    display: none; 
   }
}

/* events section css */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-left: 200px;
  margin-right: 200px;
  gap: 20px;
  background: #fff;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
  color: #000000;
  font-weight: bolder;
}

.event-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 15px;
  position: relative; /* needed for overlay */
}

.event-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 12px;
  transition: opacity 0.3s ease;
}


/* Dark overlay using ::after on the card */
.event-card::after {
  content: "";
  position: absolute;
  top: 15px; /* adjust if you want exact cover of image */
  left: 15px;
  width: calc(100% - 30px);
  height: 180px;
  background: rgba(0, 0, 0, 0); /* transparent by default */
  border-radius: 6px;
  transition: background 0.3s ease;
  z-index: 1;
}

.event-card:hover::after {
  background: rgba(0, 0, 0, 0.4); /* darken on hover */
  cursor: pointer;
  transform: translateY(-5px);
}

/* Optional: ensure text appears above overlay */
.event-card h3,
.event-card .event-date {
  position: relative;
  z-index: 2;
}

.event-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 0px;
  min-height: 48px; /* force space for 2 lines */
  line-height: 1.4;
  color: #000000;
}

.event-date {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 16px;
  color: #666;
  margin-top: auto;
  padding-top: none;
  border-top: 0.5px solid #eee;
}

.event-card:hover img {
  opacity: 0.7;
}

@media screen and (max-width: 768px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-left: 20px;
    margin-right: 20px;
  }
  .event-card {
    padding: 12px;
  }

  .event-card h3 {
    font-size: 18px;
    min-height: auto;
  }

  .event-date {
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  .event-card h3 {
    font-size: 16px;
    line-height: 1.2;
  }

  .event-date {
    font-size: 13px;
    gap: 3px;
  }
}

/* contact us section */


.contact-section {
  text-align: center;
  padding: 60px 20px;
  background: #000000;
  color: white;
  margin-top: 100px; /* or whatever space you want */
  position: relative;
  overflow: hidden;
  z-index: 1;
}


.contact-section h2 {
  font-size: 42px;
  font-weight: bold;
  color: white;
}

.contact-section h2 span {
  color: #fcb900;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
}

.contact-item {
  max-width: 250px;
  text-align: center;
}

.contact-item i {
  font-size: 24px;
  color: #fcb900;
  margin-bottom: 10px;
}

.contact-item p {
  font-size: 16px;
  color: #ffffff;
  line-height: 1.6;
}

.form-container {
  background: white;
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-columns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-left {
  flex: 1 1 50%;
}

.form-right {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

textarea,
input {
  width: 100%;
  padding: 15px;
  border: none;
  background-color: #d3d3d3;
  font-size: 14px;
  border-radius: 5px;
  box-sizing: border-box;
}

textarea {
  height: 180px;
  resize: vertical;
}

.form-button {
  text-align: center;
}

button {
  background: #2a202c;
  color: white;
  font-weight: bold;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

button:hover {
  background: black;
  color: #fcb900;
}

/* Responsive stacking */
@media (max-width: 768px) {
  .form-columns {
    flex-direction: column;
  }
}
