* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Merriweather', serif;
  background-color: #fff8e7;
  color: #3b2f2f;
  line-height: 1.6;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  box-sizing: border-box;
}

.container, .flash-note-wrapper {
  max-width: 100%;
}


.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 2rem;
}

.header {
  background-color: #fff;
  width: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}



/* Responsive (Tablet & Desktop) */
@media (min-width: 768px) {
  .nav.container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .nav_menu {
    display: flex !important;
    flex-direction: row;
    gap: 1.5rem;
    margin-top: 0;
  }

  .nav_toggle {
    display: none;
  }
}

/* JS-Enabled Toggle Class for Mobile */
.show-menu {
  display: flex !important;
}

.wrapper {
  padding-top: 120px;
  padding-bottom: 80px;
}

.grid-cols-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 2rem;
}

.main-heading {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.main-heading span {
  color: #b5651d;
}

.info-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn_wrapper {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn_wrapper a {
  text-decoration: none;
}

.btn {
  padding: 0.8rem 1.8rem;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.view_more_btn {
  background-color: #b5651d;
  color: #fff;
}

.view_more_btn:hover {
  background-color: #a0522d;
}

.documentation_btn {
  background-color: #f0f0f0;
  color: #333;
}

.documentation_btn:hover {
  background-color: #ddd;
}

.team_img_wrapper img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

footer {
  background-color: #fff;
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid #eee;
  font-size: 0.95rem;
  color: #3b2f2f;
}

footer h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  font-weight: bold;
}

footer p {
  margin: 4px 0;
}


.grid-cols-2 {
  grid-template-columns: 1fr;
  text-align: center;
}

.btn_wrapper {
  justify-content: center;
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  font-size: 1.8rem;
  padding: 0.7rem 1rem;
  border-radius: 50%;
  text-align: center;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;

  /* Continuous zoom animation */
  animation: zoomInOut 2s ease-in-out infinite;
}

.whatsapp-button i {
  font-size: 28px;
  color: white;
}

/* Zoom animation keyframes */
@keyframes zoomInOut {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}



.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  /* Reduced gap */
  padding: 1rem 0;
  /* Reduced padding */
  border-top: 1px solid #eee;
  font-size: 0.85rem;
  /* Slightly smaller font */
  color: #3b2f2f;
}

.footer-contact,
.footer-map {
  flex: 1;
  min-width: 260px;
}

.footer-contact {
  font-size: large;
}

.footer-map iframe {
  width: 100%;
  height: 180px;
  /* Reduced height */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.footer-map a.map-btn {
  display: inline-block;
  margin-top: 0.5rem;
  /* Smaller margin */
  background-color: #b5651d;
  color: #fff;
  padding: 0.4rem 0.9rem;
  /* Smaller button */
  border-radius: 20px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.footer-map a.map-btn:hover {
  background-color: #a0522d;
}

.image-gallery {
  padding: 3rem 1rem;
  background-color: #fffaf0;
  text-align: center;
}

.gallery-heading {
  font-size: 2rem;
  color: #b5651d;
  margin-bottom: 2rem;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.image-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  padding: 1rem;
  transition: transform 0.3s ease;
}

.image-item:hover {
  transform: translateY(-5px);
}

.image-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.image-item h4 {
  margin-top: 0.8rem;
  color: #333;
  font-size: 1rem;
}

.important-note.after-footer {
  background-color: #fff3cd;
  color: #856404;
  font-weight: 500;
  text-align: center;
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  border-top: 1px solid #ffeeba;
  border-bottom: 1px solid #ffeeba;
  box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.03);
}

@media (max-width: 768px) {
  .important-note.after-footer {
    font-size: 0.95rem;
    padding: 0.8rem;
  }
}

.view_more_btn {
  padding: 10px 20px;
  background-color: #b5651d;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
}

.view_more_btn:hover {
  background-color: #944f17;
}


.team_img_wrapper img {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  transition: transform 0.5s ease;
}

.team_img_wrapper:hover img {
  transform: scale(1.05);
  /* Zoom effect on hover */
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Popup container at bottom left */
.popup-message {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  animation: fadeInPop 1.2s ease;
}

/* Card-style popup */
.popup-card {
  position: relative;
  background: #fff;
  padding: 1rem 1.25rem;
  width: 300px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-left: 5px solid #ff6a00;
  font-family: sans-serif;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 6px;
  right: 10px;
  font-size: 1.3rem;
  color: #555;
  cursor: pointer;
  user-select: none;
}

/* Animation */
@keyframes fadeInPop {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header {
  background-color: #fff;
  width: 100%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}


/* Optional: Desktop nav layout */
@media (min-width: 768px) {
  .nav.container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* --------------------- */
/* FLASH NOTE */
/* --------------------- */

/* Container with gradient background */
/* Wrapper: hides overflow and gives background */
.flash-note-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: linear-gradient(90deg, #ff6a00, #ff9c33);
  padding: 0;
  height: 40px; /* fixed height for news bar feel */
  display: flex;
  align-items: center;
}

/* Scrolling message */
.flash-note {
  white-space: nowrap;
  display: inline-block;
  font-size: 1rem;
  font-weight: 400;
  color: #000000;
  padding-left: 100%; /* start off-screen */
  animation: scrollTicker 15s linear infinite;
  letter-spacing: 0.5px;
}

/* Pause animation on hover */
.flash-note:hover {
  animation-play-state: paused;
}

/* Scroll animation */
@keyframes scrollTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Mobile-friendly adjustments */
@media (max-width: 480px) {
  .flash-note {
    font-size: 0.9rem;
  }

  .flash-note-wrapper {
    height: 36px;
  }
}


/* Glass effect navbar */
.glass-nav {
  width: 100%;
  padding: 1rem 2rem;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Content wrapper (row layout) */
.nav_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Logo styling */
.logo a {
  font-size: 1.8rem;
  font-weight: bold;
  color: #b5651d;
  text-decoration: none;
  display: inline-block;
  animation: zoomInOut 2.5s ease-in-out infinite;
}

/* Nav links styling */
.nav_menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1rem;
  list-style: none;
}

.nav_menu.show-menu {
  display: flex;
}

/* Nav links appearance */
.nav_link {
  text-decoration: none;
  font-size: 1rem;
  color: #333;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav_link:hover {
  color: #ff6a00;
}

.nav_link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 2px;
  width: 0;
  background: #ff6a00;
  transition: width 0.3s;
}

.nav_link:hover::after {
  width: 100%;
}

/* Hamburger toggle */
.nav_toggle {
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
}

.nav_toggle .bar {
  height: 3px;
  width: 100%;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Toggle X animation */
.nav_toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.nav_toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.nav_toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* Desktop styles */
@media (min-width: 768px) {
  .nav_menu {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    margin-top: 0;
  }

  .nav_toggle {
    display: none;
  }
}

/* Back to Top Button - Bottom Left */
#backToTopBtn {
  position: fixed;
  bottom: 25px;
  left: 20px; /* ✅ left side */
  z-index: 999;
  background: #ff6a00;
  color: white;
  border: none;
  outline: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.3s ease;
}

/* Show the button when scrolling */
#backToTopBtn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Hover effect */
#backToTopBtn:hover {
  background: #e65c00;
}

/* Responsive spacing for smaller screens */
@media (max-width: 480px) {
  #backToTopBtn {
    left: 15px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

.footer-contact .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-contact .brand img {
  height: 40px;
  width: auto;
}

.footer-contact .brand h3 {
  color: #b5651d;
  margin: 0;
}
