* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: #fafafa;
  color: #333;
}

/*  */

/* Hero Section */
.hero {
  position: relative;
  background: url('/tp207-blogbanner-03-257.jpg') no-repeat center/cover;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero .overlay {
  background: rgba(0,0,0,0.5);
  color: white;
  text-align: center;
  padding: 40px;
  border-radius: 15px;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.hero button {
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  background: #ffd93d;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.hero button:hover {
  background: #ffbb00;
}

/* Container Section */
.container {
  max-width: 1100px;
  margin: 50px auto;
  text-align: center;
}
.container h1 {
  color: #362f6d;
  font-weight: 700;
}
.container hr {
  width: 60px;
  height: 4px;
  margin: 15px auto;
  background: #ffbb00;
  border: none;
}
.grid_container {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}
.box {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 15px;
  transition: transform 0.3s ease;
}
.box:hover {
  transform: translateY(-10px);
}
.box img {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  object-fit: cover;
}
.box h1 {
  margin: 15px 0 10px;
  color: #444;
}
.box p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
}

/* Third Section */
.third {
  padding: 40px 20px;
}
/* === More Activities Button Styling === */
.more-activities {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 50px 0;
  opacity: 0;
  transform: translateY(-30px);
  animation: slideDown 1s ease-out forwards;
}

.more-activities button {
  background: linear-gradient(135deg, #0C2B4E, #0056D2);
  color: white;
  border: none;
  padding: 14px 40px;
  font-size: 1.1rem;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.more-activities button:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #0056D2, #003C99);
  box-shadow: 0 6px 20px rgba(0, 86, 210, 0.4);
}

.more-activities .arrow {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.more-activities button:hover .arrow {
  transform: translateX(6px);
}

/* Smooth top-to-bottom animation when triggered */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.third h1 {
  text-align: center;
  color: #362f6d;
  margin-bottom: 20px;
}
.text_img {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
}
.text_img .text, .text_img .img {
  flex: 1 1 300px;
  max-width: 550px;
}
.text_img .text {
  line-height: 1.8;
}
.text_img .img img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* Fourth Section */
.fourth h1 {
  color: #362f6d;
  text-align: center;
  font-size: 2.6rem;
  margin-top: 10px;
}
.fourth_box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 20px auto;
  max-width: 1100px;
  background-color: #FED16A;
  padding: 20px;
  gap: 20px;
}
.fourth_box .first {
  flex: 1 1 230px;
  color: #113F67;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.fourth_box .first h3 {
  color: whitesmoke;
  font-size: 1rem;
}
.fourth_box .second {
  flex: 1 1 610px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.fourth_box .second .f_img,
.fourth_box .second .s_img {
  flex: 1 1 300px;
  text-align: center;
}
.fourth_box img {
  width: 100%;
  height: auto;
  border-radius: 15px;
}
.fourth_box p {
  margin-top: 10px;
  line-height: 1.3;
  color: #362f6d;
  font-weight: 600;
}
/* === Interactive Rating Section === */
.rating-section {
  text-align: center;
  background: linear-gradient(135deg, #f9fbff, #eef5ff);
  padding: 60px 20px;
  margin-top: 60px;
  border-top: 2px solid rgba(244, 246, 248, 0.1);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.1);

}

.rating-section h2 {
  font-size: 2rem;
  color: #003c99;
  margin-bottom: 10px;
  font-weight: 700;
}

.rating-section p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
}

.star-rating {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 2rem;
  cursor: pointer;
}

.star {
  color: #d3d3d3;
  transition: color 0.3s, transform 0.2s;
}

.star:hover,
.star.hovered {
  color: #007bff;
  transform: scale(1.2);
}

.star.selected {
  color: #007bff;
}

.rating-message {
  margin-top: 15px;
  font-size: 1.1rem;
  color: #003c99;
  font-weight: 500;
}


/* Footer */


/* Responsive Queries */
/* Mobile */
@media (max-width: 480px) {
    .navbar { flex-direction: column; align-items: flex-start; padding: 15px 20px; }
    .first h1 { font-size: 1.2rem; }
    .navlist ul { flex-direction: column; gap: 10px; }
    .hero { height: 300px; }
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 1rem; }
    .grid_container { grid-template-columns: 1fr; }
    .box img { height: 180px; }
}

/* Tablet */
@media (min-width: 481px) and (max-width: 768px) {
    .hero { height: 350px; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.1rem; }
    .grid_container { grid-template-columns: repeat(2, 1fr); }
    .box img { height: 190px; }
}
