/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background-color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.3s ease;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  height: 100px;
}

.navbar {
  display: flex;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #007bff;
}

/* Hero Section Styles */
.hero-section {
  height: calc(
    100vh - 130px
  ); /* Subtract header height to ensure full visibility */
  min-height: 500px; /* Reduced from 600px */
  margin-top: 130px;
  position: relative;
  overflow: hidden;
}

.hero-section .container {
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content {
  z-index: 1;
  position: absolute;
  bottom: 30%; /* Increased from 5% to move content higher up */
  left: 0;
  right: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.hero-content h1 {
  font-size: 2.5rem;
  animation: heroTextColorChange 8s infinite;
  margin-bottom: 40px;
  font-weight: 600;
}

@keyframes heroTextColorChange {
  0% {
    color: #99ccff;
  }
  25% {
    color: #ff9999;
  }
  50% {
    color: #99ff99;
  }
  75% {
    color: #ffff99;
  }
  100% {
    color: #99ccff;
  }
}

.hero-content p {
  font-size: 2.5rem;
  animation: heroTextColorChange 8s infinite;
  margin-bottom: 40px;
  font-weight: 600;
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #0056b3;
}

.hero-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(65%);
  transform: none; /* Remove any scaling that might cause overflow */
}

/* About Section Styles */
.about-section {
  background-color: #f8f9fa;
  padding: 60px 0;
  text-align: center;
}

.about-section h2 {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 30px;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

.hidden-text {
  display: none;
}

.read-more-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.read-more-button:hover {
  background-color: #0056b3;
}

/* Tourist Sites Section */
.sites-section {
  padding: 80px 0;
  background-color: #fff;
}

.sites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.site-card {
  background: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.image-carousel {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.image-carousel img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.1s ease-in-out;
}

.image-carousel img.active {
  opacity: 1;
}

.site-card h3 {
  padding: 15px;
  font-size: 1.5rem;
  color: #007bff;
}

.site-description {
  padding: 0 15px;
  font-size: 1rem;
  line-height: 1.6;
}

.site-description.hidden-text {
  display: none;
}

.site-read-more {
  margin: 15px;
  padding: 8px 16px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.site-read-more:hover {
  background-color: #0056b3;
}

/* Separator */
.separator {
  height: 2px;
  background: linear-gradient(to right, transparent, #007bff, transparent);
  margin: 40px 0;
}

/* Map Section */
.map-section {
  padding: 60px 0;
  background-color: #fff;
}

.map-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 40px;
}

.map-container {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.services-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 30px;
}

.services-intro {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  color: #007bff;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.service-list {
  list-style: none;
  margin-bottom: 20px;
}

.service-list li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.service-list li::before {
  content: "•";
  color: #007bff;
  position: absolute;
  left: 0;
}

.service-description {
  display: none;
  margin-top: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
}

.service-read-more {
  display: inline-block;
  padding: 8px 16px;
  margin-top: 15px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.service-read-more:hover {
  background-color: #0056b3;
}

/* Add these styles after the existing service card styles */
.service-card.horizontal {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: center;
}

.service-card.horizontal .support-content {
  text-align: center;
}

.service-card.horizontal .support-content h3 {
  margin-bottom: 20px;
}

.service-card.horizontal .service-description {
  display: block;
  margin: 0;
  color: #666;
}

.service-card.horizontal .service-list {
  margin: 0;
}

.service-card.horizontal .service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}

.service-card.horizontal h3 {
  grid-column: 1 / -1;
  margin-bottom: 25px;
}

.service-card.horizontal .service-description {
  margin-top: 0;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background-color: #fff;
}

.contact-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 50px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.contact-info {
  padding: 30px;
  background: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
  color: #007bff;
  font-size: 1.8rem;
  margin-bottom: 25px;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #333;
}

.contact-list li i {
  color: #007bff;
  margin-right: 15px;
  width: 20px;
}

.contact-form {
  padding: 30px;
  background: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
  color: #007bff;
  font-size: 1.8rem;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
}

.form-group textarea {
  height: 150px;
  resize: none;
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #0056b3;
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  overflow: hidden;
}

.testimonials-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 50px;
}

.testimonials-carousel {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.testimonials-track {
  display: flex;
  gap: 30px;
  animation: scroll 60s linear infinite;
  width: max-content;
}

.testimonial {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 400px;
  flex-shrink: 0;
}

.client-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.client-name {
  font-weight: 600;
  color: #007bff;
}

.rating {
  color: #ffd700;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% / 2));
  }
}

/* Clone testimonials for smooth infinite scroll */
.testimonials-track {
  display: flex;
  animation: scroll 60s linear infinite;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

/* Footer Styles */
.footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-tagline h3 {
  color: #007bff;
  font-size: 2rem;
  margin-bottom: 20px;
}

.footer-tagline p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 10px;
  color: #f8f9fa;
}

.footer-nav .footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #007bff;
}

.social-links {
  display: flex;
  gap: 20px;
  font-size: 1.8rem;
}

.social-links a {
  color: #fff;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #007bff;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 0.9rem;
  color: #999;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
  .container {
    max-width: 95%;
  }
}

@media screen and (max-width: 992px) {
  .sites-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-wrapper,
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .testimonial {
    width: 350px;
  }
}

@media screen and (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 20px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links li {
    margin: 5px 15px;
  }

  .hero-content {
    margin-top: 50px;
    padding: 20px;
    bottom: 35%; /* Adjusted for tablets */
  }

  .hero-content h1 {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .sites-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card.horizontal {
    grid-template-columns: 1fr;
  }

  .service-card.horizontal .service-list {
    margin-bottom: 20px;
  }

  .testimonial {
    width: 300px;
  }

  .footer-tagline h3 {
    text-align: center;
  }

  .footer-nav .footer-links {
    align-items: center;
  }

  .social-links {
    justify-content: center;
  }

  /* Header adjustments */
  .header {
    padding: 10px 0;
    position: fixed;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .header .container {
    flex-direction: column;
    gap: 10px;
  }

  .logo {
    height: 60px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .nav-links li {
    margin: 0 10px;
  }

  /* Hero section adjustments */
  .hero-section {
    height: calc(100vh - 90px);
    margin-top: 90px;
    min-height: 500px;
  }

  .hero-content {
    bottom: 20%;
  }

  .main-image {
    height: 100%;
    object-position: center;
    transform: scale(1.1);
  }

  .hero-content p {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .cta-button {
    padding: 12px 25px;
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 480px) {
  .logo {
    height: 80px;
  }

  .hero-content p {
    font-size: 1.5rem;
  }

  .about-section h2,
  .services-section h2,
  .testimonials-section h2 {
    font-size: 2rem;
  }

  .contact-form,
  .contact-info {
    padding: 20px;
  }

  .testimonial {
    width: 280px;
    padding: 20px;
  }

  .header {
    padding: 5px 0;
  }

  .logo {
    height: 50px;
  }

  .nav-links {
    gap: 5px;
  }

  .nav-links li a {
    font-size: 0.9rem;
    padding: 8px;
  }

  .hero-section {
    margin-top: 85px;
    min-height: 450px;
  }

  .hero-content {
    bottom: 25%; /* Adjusted for mobile */
    padding: 15px;
  }

  .main-image {
    transform: scale(1.2);
  }

  .hero-content h1 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 1rem;
  }
}

/* Fix for smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Improve touch targets on mobile */
@media (hover: none) {
  .nav-links li a,
  .service-read-more,
  .site-read-more,
  .social-links a {
    padding: 10px;
  }
}

/* Mobile-First Header Styles */
@media screen and (max-width: 768px) {
  .header {
    padding: 5px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .header .container {
    flex-direction: column;
    gap: 5px;
    padding: 10px;
  }

  .logo {
    height: 60px;
    margin-bottom: 5px;
  }

  .nav-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  .nav-links li {
    margin: 0;
  }

  .nav-links li a {
    font-size: 0.9rem;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 4px;
  }

  /* Hero Section Mobile Styles */
  .hero-section {
    height: calc(100vh - 90px);
    min-height: 450px;
    margin-top: 90px;
  }

  .hero-content {
    margin-top: 0;
    padding: 20px;
  }

  .hero-content p {
    font-size: 2rem;
    margin-bottom: 25px;
  }

  .cta-button {
    padding: 12px 24px;
    font-size: 1.1rem;
    min-width: 160px;
  }
}

@media screen and (max-width: 480px) {
  .header {
    padding: 3px 0;
  }

  .logo {
    height: 50px;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-links li a {
    font-size: 0.85rem;
    padding: 6px 10px;
  }

  .hero-section {
    margin-top: 85px;
    min-height: 400px;
  }

  .hero-content {
    padding: 15px;
  }

  .hero-content p {
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 20px;
    /* Removed text-shadow */
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 1rem;
    min-width: 140px;
  }

  .main-image {
    object-position: center;
  }
}

/* Touch Device Optimizations */
@media (hover: none) {
  .nav-links li a,
  .cta-button {
    padding: 12px 16px;
  }
}
