/* General Reset and Base Styles */
body,
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Navigation Bar Styles */
.nav-bar {
  background-color: #0a0a0a;
  padding: 5px 15px;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  gap: 20px;
}
.nav-links a {
  color: #fff;
  font-size: 14px; /* Decrease text size */
  padding: 5px 10px; /* Reduce padding */
}

.logo-img {
  border-radius: 8px;
  width: 150px; /* Adjust size */
  height: auto; /* Maintain aspect ratio */
}

.nav-links a:hover {
  color: #00bfa5;
  font-weight: bold;
  text-decoration: underline;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
/* Hide icons by default */
.nav-icon {
  display: none;
  margin-right: 10px;
  font-size: 18px;
}

/* Show icons when the menu is active */
.nav-links.active .nav-icon {
  display: inline-block;
}

.hamburger {
  width: 25px;
  height: 3px;
  background: #00bfa5;
  margin: 5px 0;
  transition: transform 0.3s ease-in-out;
  border-radius: 8px;
}

/* Responsive Navigation Menu */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #0a0a0a;
    position: absolute;
    top: 50px;
    right: 0;
    width: 100%;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  .logo-container {
    text-align: left; /* Ensures the container aligns left */
  }

  .logo-img {
    margin-left: -30px;
  }

  .nav-links.active {
    display: flex;
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }
}

/* Hero Section */
.hero {
  background: url("../images/simp6.jpg") no-repeat center center/cover;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  animation: fadeIn 2s ease-out;
}

.hero-text h1 {
  font-size: 3.5rem;
  opacity: 0;
  animation: fadeIn 2s ease-out forwards;
}

.hero-text p {
  font-size: 1.5rem;
  line-height: 1.8;
  opacity: 0;
  animation: fadeIn 3s ease-out forwards;
}
/* Responsive Adjustments */
@media (max-width: 480px) {
  .hero {
    height: 80vh; /* Reduce hero section height */
  }

  .card {
    padding: 10px; /* Reduce padding for smaller screens */
  }
}
@media (max-width: 768px) {
  .hero {
    height: 60vh; /* Adjust height for smaller screens */
  }

  .hero-text h1 {
    font-size: 2.5rem; /* Smaller heading */
  }

  .hero-text p {
    font-size: 1rem; /* Smaller paragraph */
  }
}

@media (max-width: 480px) {
  .hero {
    height: 70vh; /* Further adjust for very small screens */
    padding: 0 0.5rem; /* Reduce side padding */
  }

  .hero-text h1 {
    font-size: 2rem; /* Further reduce heading size */
  }

  .hero-text p {
    font-size: 0.9rem; /* Smaller text */
  }
}

.cta-buttons a {
  margin: 20px;
  padding: 12px 10px;
  background-color: #00bfa5;
  color: white;
  border-radius: 6px;
  font-size: 1.2rem;
  transition: background-color 0.3s;
  opacity: 0;
  animation: fadeIn 4s ease-out forwards;
}

.cta-buttons a:hover {
  background-color: #007f6d;
}
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .blog-posts {
    flex-direction: column;
  }

  .post {
    width: 90%;
    margin: 0 auto;
  }
}

/* Carousel Section */
.carousel {
  padding: 40px;
  background-color: #f9f9f9;
  text-align: center;
  margin-top: 30px;
}

.slick-carousel .carousel-item {
  position: relative;
  background-color: white;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.slick-carousel img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
}

.slick-carousel .carousel-item p {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10px 15px;
  border-radius: 4px;
}

/* Categories Section */
.categories {
  padding: 50px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.categories h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 30px;
  color: #333;
}

@media (max-width: 768px) {
  .carousel img {
    height: 300px; /* Reduce height for smaller screens */
  }

  .card img {
    max-height: 300px; /* Example for cards */
  }
}

@media (max-width: 480px) {
  .carousel img {
    height: 200px;
  }

  .card img,
  .post-image {
    max-height: 300px;
  }
}

/* Category Cards */
.category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  gap: 20px;
  justify-items: center;
}

.card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 1200px;
  transition: transform 0.3s ease-in-out;
  text-align: center;
  cursor: pointer; /* Shows pointer cursor on hover */
}

.card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.card h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 15px 0;
  color: #333;
}

.card p {
  font-size: 1rem;
  margin: 10px 20px;
  color: #555;
}

.card a.card-link {
  display: inline-block;
  margin-top: 15px;
  font-size: 1rem;
  font-weight: 600;
  background-color: #00bfa5;
  color: #fff;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-bottom: 10px;
}

.card a.card-link:hover {
  background-color: #004d40;
  color: #fff;
}

/* Hover Effect for Cards */
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .categories {
    padding: 40px 15px;
  }

  .categories h2 {
    font-size: 1.8rem;
  }

  .card h3 {
    font-size: 1.4rem;
  }

  .card p {
    font-size: 0.9rem;
  }

  .card a.card-link {
    font-size: 0.9rem;
    padding: 6px 15px;
  }
}
/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 60px;
  height: 60px;
}

.whatsapp-icon {
  width: 100%;
  height: 100%;
  border-radius: 30%;
  transition: transform 0.3s ease;
}

.whatsapp-icon:hover {
  transform: scale(1.1);
}
/* Scroll Up Button Styles */
#scrollUpBtn {
  position: fixed;
  bottom: 90px;
  right: 30px;
  background-color: #00bfa5; /* Button color */
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 30%;
  font-size: 24px;
  cursor: pointer;
  display: none; /* Initially hidden */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#scrollUpBtn:hover {
  background-color: #008c73; /* Darker color on hover */
}

/* Blog Section */
/* Local Insights & Travel Tips Section */
.local-insights {
  background: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

.local-insights .section-title {
  font-size: 2rem;
  color: #333;
  font-weight: bold;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.local-insights .section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background: #0a0a0a;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Blog Posts Grid */
.blog-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

/* Blog Post Styling */
.post {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.post-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.post h3 {
  font-size: 1.4rem;
  color: #222;
  margin: 15px 15px 10px;
  font-weight: bold;
}

.post p {
  font-size: 1rem;
  color: #555;
  margin: 0 15px 15px;
  line-height: 1.5;
}

/* Read More Button */
.read-more {
  display: inline-block;
  background: #00bfa5;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  padding: 10px 15px;
  margin: 15px auto;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.read-more:hover {
  background: #008c73;
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-posts {
    grid-template-columns: 1fr;
  }
}

/* Footer Styles */
footer {
  background-color: #0a0a0a;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

footer a {
  color: #00bfa5;
  text-decoration: underline;
}

footer a:hover {
  color: #fff;
  text-decoration: none;
}
.social-media {
  text-align: center;
  margin-top: 20px;
}

.social-media a {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  margin: 0 10px;
  text-align: center;
  border-radius: 50%;
  background-color: #f1f1f1;
  color: #333;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-media a:hover {
  background-color: #00bfa5; /* Change to your brand color */
  color: #fff;
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .social-media a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 1.2rem;
    margin: 0 5px;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .card h3 {
    font-size: 1.2rem;
  }

  .post p {
    font-size: 0.9rem;
  }
}
@media (max-width: 768px) {
  .blog-posts {
    flex-direction: column;
    gap: 20px;
  }

  .post {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .category-cards {
    grid-template-columns: 1fr; /* Single column on smaller screens */
  }

  .carousel img {
    height: 200px; /* Scale carousel images */
  }
}

.trending-section {
  width: 90%;
  margin: auto;
  text-align: center;
  padding: 40px 0;
  margin-top: 20px;
}

.trending-slider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.trending-item {
  text-align: center;
  transition: transform 0.3s ease-in-out;
  padding: 10px;
}

.trending-item img {
  width: 100%;
  max-height: 270px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
}

.trending-item:hover {
  transform: scale(1.05);
}

.trending-category {
  font-size: 14px;
  font-weight: bold;
  color: #00bfa5;
  margin-top: 5px;
}

.trending-title {
  font-size: 16px;
  font-weight: bold;
  margin-top: 5px;
}
/* 🔽 Responsive Design for Different Screen Sizes */

/* Large Tablets (Max Width: 1024px) */
@media (max-width: 1024px) {
  .trending-item {
    width: calc(33.33% - 20px); /* 3 items per row */
  }
}

/* Tablets & Small Laptops (Max Width: 768px) */
@media (max-width: 768px) {
  .trending-item {
    width: calc(50% - 20px); /* 2 items per row */
  }
}

/* Mobile Phones (Max Width: 480px) */
@media (max-width: 480px) {
  .trending-item {
    width: 100%; /* 1 item per row */
  }
}

html {
  scroll-behavior: smooth;
}
/* Chat Icon */
/* Chat Icon */
#chat-icon {
  position: fixed;
  bottom: 20px;
  left: 20px; /* Keep it on the left */
  z-index: 9999; /* Ensure it stays on top of other elements */
  background-color: #00bfa5;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease-in-out;
}

#chat-icon:hover {
  background-color: #00796b;
}

/* Chat Window */
#chat-window {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  z-index: 9999; /* Ensures it stays above everything */
  font-family: Arial, sans-serif;
}

/* Chat Header */
#chat-header {
  background: #00bfa5;
  color: #fff;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Chat Body */
#chat-body {
  max-height: 350px;
  overflow-y: auto;
  padding: 15px;
}

/* Chat Input */
#chat-input-container {
  display: flex;
  padding: 10px;
  border-top: 1px solid #ddd;
}

#chat-input {
  flex: 1;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

#chat-input-container button {
  background: #00bfa5;
  color: #fff;
  border: none;
  padding: 15px 10px;
  margin-left: 5px;
  cursor: pointer;
  border-radius: 8px;
}
#chat-input-container button:hover {
  background: #00796b; /* Darker green on hover */
}

#chat-input-container button:active {
  transform: scale(0.95); /* Slightly shrink on click */
}

/* Chat Messages */
.chat-message {
  padding: 8px 12px;
  border-radius: 10px;
  margin-bottom: 5px;
  max-width: 80%;
}

.bot {
  background: #f1f1f1;
  align-self: flex-start;
}

.user {
  background: #00bfa5;
  color: white;
  align-self: flex-end;
}
.chat-btn {
  background-color: #00bfa5;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  display: inline-block;
  margin-top: 5px;
  transition: background 0.3s ease-in-out;
}

.chat-btn:hover {
  background-color: #00796b;
}
/* Close Chat Button */
#close-chat {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: color 0.3s ease-in-out;
}

#close-chat:hover {
  color: #ff6666; /* Light red on hover */
}

/* WhatsApp Chat Link */
.chat-body a {
  display: inline-block;
  text-decoration: underline; /* Underline the link */
  background-color: #25d366; /* WhatsApp green */
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease-in-out;
  text-align: center;
  margin-top: 5px;
  display: block;
}

.chat-body a:hover {
  background-color: #1eb056; /* Darker green on hover */
  text-decoration: underline; /* Ensure it remains underlined */
}
/* WhatsApp Chat Link Styling */
.whatsapp-link {
  text-decoration: underline !important; /* Ensures underline */
  color: #25d366 !important; /* WhatsApp green */
  font-weight: bold;
  font-size: 14px;
  display: inline-block;
  margin-top: 5px;
}

.whatsapp-link:hover {
  color: #1eb056; /* Darker green on hover */
  text-decoration: underline;
}
