body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color:white!important;
  padding-bottom: 70px;
}

html {
  scroll-behavior: smooth;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  background-color: red;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
}

.nav-links a{
  color: white;
}

.logo {
  font-size: 24px;
  font-weight: bolder;
  color: #ffc400;
}

/* HERO SECTION */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    padding-bottom: 80px;
}

/* FADE EFFECT */
.carousel.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: 1s;
    transition-property: opacity;
}
.carousel.carousel-fade .carousel-item.active {
    opacity: 1;
}

/* IMAGE STYLE + ZOOM ANIMATION */
.carousel-item img {
    height: 100vh;
    width: 100%;
    object-fit: cover;
    animation: zoom 10s ease-in-out infinite;
    filter: brightness(60%); /* Helps text become readable */
}

/* ZOOM KEYFRAMES */
@keyframes zoom {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* DARK OVERLAY */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1; /* put overlay BELOW text */
}

/* HERO TEXT */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 10;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-content h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 500;
}

/* BUTTON */
.hero-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #ffcc00;
    color: #000;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s ease;
}

.hero-btn:hover {
    background: #e6b800;
    transform: scale(1.05);
}

/* Allow clicks through the carousel overlay */
.carousel-item img,
.hero::after {
    pointer-events: none;
}

/* Keep hero content clickable */
.hero-content {
    pointer-events: auto;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .carousel-item img {
        height: 80vh;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content h2 {
        font-size: 1.2rem;
    }
    .hero-btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}
.hero-content {
    position: absolute;
    z-index: 10; /* stays above overlay */
}

.carousel-item {
  position: relative;
}

/* Grid Container for Cards */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
  gap: 20px;
  padding: 40px 20px;
}

/* Individual Cards */
.card {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 3px 8px rgba(0,0,0,0.2);
  background-color: #ffc400;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Hover Animation */
.card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 25px rgba(0,0,0,0.3);
}

/* Card Image */
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* Slight Zoom on Image Hover */
.card:hover img {
  transform: scale(1.05);
}

/* Card Body */
.card-body {
  padding: 15px;
}

.card-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.card-text {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 12px;
}

/* Card Link / Button */
.card-link {
  display: inline-block;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 5px;
  background-color: #007bff;
  color: #fff;
  transition: 0.3s;
}

.card-link:hover {
  background-color: #0056b3;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .card img {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .card img {
    height: 120px;
  }

  .card-title {
    font-size: 1rem;
  }

  .card-text {
    font-size: 0.85rem;
  }

  .card-link {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
}

/* abt stn */
.about-section {
  padding: 60px 20px;
  background-color: white; /* matches body color */
  color: #000; /* black text */
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap; /* allows stacking on smaller screens */
}

.about-text {
  flex: 1 1 500px;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #000; /* heading black */
}

.about-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #000; /* text black */
}

.about-image {
  flex: 1 1 400px;
  overflow: hidden; /* for smooth image zoom */
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.5s ease;
  display: block;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Subtle zoom on hover */
.about-image:hover img {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column-reverse; /* image below text on smaller screens */
    text-align: center;
  }

  .about-text, .about-image {
    flex: 1 1 100%;
  }

  .about-image img {
    max-width: 80%;
    margin: 0 auto;
  }
}

/* Slide In from Left */
.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
}

/* Slide In from Right */
.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease-out;
}

/* Active state: visible in place */
.slide-in-left.active,
.slide-in-right.active {
  opacity: 1;
  transform: translateX(0);
}

.services-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap; /* stacks on smaller screens */
}

/* Text takes more space */
.services-text {
  flex: 2 1 600px; /* bigger portion for text */
}

/* Image smaller on the right */
.services-image {
  flex: 1 1 300px; /* smaller portion for image */
  overflow: hidden;
}

.services-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: transform 0.5s ease;
}

/* Subtle zoom on hover */
.services-image:hover img {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {
  .services-container {
    flex-direction: column-reverse; /* image below text */
    text-align: center;
  }

  .services-text, .services-image {
    flex: 1 1 100%;
  }

  .services-image img {
    max-width: 60%; /* smaller on small screens */
    margin: 0 auto;
  }
}

/* WHATSAPP BUTTON */
.whatsapp-btn {
  display: inline-block;
  margin-left: 10px;
  background-color: #25D366;
  padding: 5px 10px;
  border-radius: 5px;
  transition: transform 0.2s;
}

.whatsapp-btn img {
  vertical-align: middle;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

/* Footer Styling */
footer.footer {
  width: 100%;
  background-color: red!important;
  color: white;
  margin-top: 50px;
  position: relative;
  bottom: 0;
  min-height: 200px; /* ensures footer covers bottom part */
  display: flex;
  align-items: center;
}

.footer-container {
  width: 100%;
  text-align: center;
  padding: 20px 30px;
}

/* Footer images layout */
.footer-images {
  width: 100%;
  display: flex;
  justify-content: center;   /* center images */
  align-items: center;
  gap: 30px;
  margin-bottom: 15px;
}

.footer-img {
  width: 60px;
  height: auto;
}

/* Footer button */
footer .btn-primary {
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 5px;
}

/* Copyright text */
footer p {
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-images {
    flex-direction: column;
    gap: 15px;
  }

  footer .btn-primary {
    margin-top: 10px;
  }
}

@media (max-width: 600px) { #snow-canvas { display:block; } }