/* Reset default margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Add styles for logo container */
.logo-container {
    display: flex;
    justify-content: space-around;
    margin-top: 20px; /* Adjust spacing as needed */
}

.logo {
    width: 50px; /* Adjust size as needed */
    height: auto; /* Maintain aspect ratio */
    cursor: pointer; /* Change cursor on hover */
}

body {
    padding-top: 80px;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
    overflow-x: hidden;
}

/* ===== COMPREHENSIVE MOBILE STYLES ===== */

/* General Mobile Styles */
@media (max-width: 768px) {
  /* Global improvements */
  body { font-size: 16px; line-height: 1.5; }

  /* Hero Section */
  .home-hero {
    position: relative;
    width: 95%;
    margin: 2rem auto;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(0,0,0,0.25);
    min-height: auto !important; /* ensure container follows image height on mobile */
    background: transparent !important; /* prevent dark corners showing */
  }
  .hero-bg { height: 280px; }
  .hero-title .explore-text { font-size: 1.8rem; }
  .hero-title h1 { font-size: 2.2rem; line-height: 1.2; }
  .hero-desc {
    font-size: 1rem;
    padding: 0 1rem;
    line-height: 1.4;
    margin-bottom: 2rem;
  }
  .hero-btn {
    font-size: 1rem;
    padding: 0.8rem 2rem;
    min-height: 48px; /* Touch target */
  }

  /* Carousel */
  .carousel-container {
    width: 95%;
    margin: 2rem auto;
    padding: 10px 5px;
  }
  .carousel-track { gap: 15px; padding: 0 5px; }
  .carousel-img { min-width: calc(85% - 10px); }

  /* Fun Facts */
  .fun-facts-section {
    width: 95%;
    margin: 2rem auto;
    padding: 3rem 1rem;
  }
  .fun-facts-grid { grid-template-columns: 1fr; gap: 1rem; }
  .fun-fact-card { padding: 1.5rem; }
  .fun-fact-header { gap: 0.8rem; }
  .fun-fact-icon { font-size: 2.5rem; }

  /* Activities */
  .activities-section {
    width: 95%;
    margin: 2rem auto;
    padding: 3rem 1rem;
  }
  .activities-grid { grid-template-columns: 1fr; gap: 20px; }
  .activity-card {
    padding: 20px;
    min-height: auto;
    max-width: 90%;
    margin: 0 -1rem;
  }
  .activity-image img { height: 180px; }
  .activity-content { padding: 18px 0; }
  .activity-content h3 { font-size: 1.3rem; }
  .activity-content p { font-size: 1rem; }

  /* Rules */
  .rules-section {
    width: 90%;
    margin: 2rem auto;
    padding: 3rem 1rem;
  }
  .rules-container {
    gap: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
        margin: 0 -1.8rem;
  }
  .rules-card {
    padding: 20px;
    min-height: auto;
    width: 100%;
    margin-left: 0.8rem;
    max-width: 280px;
  }
  .rules-title { font-size: 2.2rem; margin-bottom: 2rem; }

  /* Contact */
  .contact-section {
    width: 95%;
    margin: 2rem auto;
    padding: 3rem 1rem;
  }
  .contact-container { grid-template-columns: 1fr; gap: 25px; }
  .contact-info, .contact-form { padding: 25px 20px; }
  .contact-title { font-size: 2.2rem; }
  .contact-item { padding: 15px; min-height: 48px; }
  .form-group input, .form-group textarea {
    padding: 14px;
    font-size: 16px; /* Prevent zoom on iOS */
  }
  .submit-btn {
    padding: 14px 30px;
    font-size: 1rem;
    min-height: 48px;
  }
  .whatsapp-btn {
    padding: 16px 30px;
    font-size: 1.1rem;
    min-height: 48px;
  }

  /* Location */
  .location-section {
    width: 95%;
    margin: 2rem auto;
    padding: 3rem 1rem;
  }
  .location-container { gap: 25px; }
  .location-details { padding: 25px 20px; }
  .location-info { grid-template-columns: 1fr; gap: 15px; }
  .location-item { padding: 15px; min-height: 48px; }
  .map-container { padding: 5px; }
  .map-container iframe { height: 250px; }

  /* Footer */
  .footer { padding: 2rem 1rem; }
  .footer-container { gap: 2rem; }
  .footer-section { margin-bottom: 2rem; }
  .footer-content { grid-template-columns: 1fr; gap: 2rem; }
  .social-links { justify-content: center; gap: 1rem; }
  .footer-bottom { text-align: center; padding-top: 1rem; }

  /* Modal improvements */
  .fun-fact-modal { padding: 1rem; }
  .learn-more-card { max-width: 95vw; min-height: 400px; }
  .card-description { padding: 1.5rem; font-size: 1rem; }
}



/* Remove these if they exist */
.typing-cursor {
    display: none;
}

/* Animation keyframes for dropdown items */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-content a {
    animation: fadeIn 0.2s ease forwards;
    opacity: 0;
    z-index: 2;
}

.dropdown-content a:nth-child(1) { animation-delay: 0.05s; }
.dropdown-content a:nth-child(2) { animation-delay: 0.1s; }
.dropdown-content a:nth-child(3) { animation-delay: 0.15s; }
.dropdown-content a:nth-child(4) { animation-delay: 0.2s; }
.dropdown-content a:nth-child(5) { animation-delay: 0.25s; }
.dropdown-content a:nth-child(6) { animation-delay: 0.3s; }

.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    background-color: rgba(255, 255, 255, 0.7);
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

button {
    position: relative;
    overflow: hidden;
}

.home-hero {
    position: relative;
    width: 95%;
    margin: 2rem auto;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(0,0,0,0.25);
    min-height: 420px;
    background: #222;
}

.hero-bg {
    width: 100%;
    height: 100%;
    display: block;
    height: 460px;
    filter: brightness(0.85);
}
.hero-bg img{
    width: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,rgba(0,0,0,0.15) 60%,rgba(0,0,0,0.45) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
}

.hero-title .explore-text {
    font-family: 'Raleway', cursive;
    font-size: 2.5rem;
    color: #88AFE6;
    font-style: italic;
    display: block;
    margin-bottom: 0.2em;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.hero-title h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 3rem;
    color: #e6e6e6;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0.2em 0 0.2em 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.hero-desc {
    font-family: 'Poppins', serif;
    font-size: 1.15rem;
    color: #fffbe7;
    margin-bottom: 2.2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.hero-btn {
    margin-top: 0.2rem;
    background: #88AFE6;  /* Restored to original blue */
    color: #222;
    border: none;
    border-radius: 50px;
    padding: 0.8em 3em;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(136, 175, 230, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-btn::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 100%
  );
  transform: translateX(-100%) rotate(25deg);
  animation: shine 5s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(25deg);
  }
  60% {
    transform: translateX(100%) rotate(25deg);
  }
  100% {
    transform: translateX(100%) rotate(25deg);
  }
}

.hero-btn:hover {
    background: #5c8fd6;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(136, 175, 230, 0.4);
}

/* Update dark mode button */
[data-theme="dark"] .hero-btn {
    background: #88AFE6;  /* Keep same blue in dark mode */
    color: #001220;
    border: none;
    box-shadow: 0 5px 15px rgba(136, 175, 230, 0.2);
}

[data-theme="dark"] .hero-btn:hover {
    background: #5c8fd6;
    color: #fff;
    box-shadow: 0 8px 25px rgba(136, 175, 230, 0.3);
}

@media (max-width: 700px) {
    .home-hero {
        min-height: 340px;
        border-radius: 18px;
    }
    .hero-title .explore-text {
        font-size: 1.5rem;
    }
    .hero-title h1 {
        font-size: 2rem;
    }
    .hero-desc {
        font-size: 1rem;
    }
    .hero-btn {
        font-size: 1rem;
        padding: 0.6em 1.5em;
    }
}

.carousel-container {
    width: 90%;
    max-width: 1200px;
    margin: 2rem auto;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    padding: 10px 0;
    background: rgba(0, 30, 60, 0.3);
    border: 1px solid rgba(0, 255, 136, 0.1);
}

.carousel-track {
    display: flex;
    gap: 20px; /* Space between images */
    height: 250px;
    padding: 0 10px;
}

.carousel-img {
    min-width: calc(33.333% - 14px); /* Show 3 images, accounting for gap */
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media (max-width: 992px) {
    .carousel-img {
        min-width: calc(50% - 10px); /* Show 2 images on medium screens */
    }
}

@media (max-width: 576px) {
    .carousel-img {
        min-width: 100%; /* Show 1 image on mobile */
    }
}

/* Add these animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add these classes for text animations */
.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

.about-section {
    background: #A9C8F0;
    border-radius: 32px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    margin: 4rem auto;
    max-width: 1100px;
    width: 90%; /* Add width control */
    padding: 3rem 2rem;
    padding-top: 4rem;
    min-height: 600px; /* Fixed height instead of viewport units */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    background: var(--about-bg);
    box-shadow: 0 0 20px var(--card-shadow);
    position: relative;
}

/* Responsive improvements for About Us section on mobile */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
    }

    .about-content {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0;
        max-width: 100%;
    }

    .about-images {
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
        align-items: center;
        width: 100%;
        overflow: hidden;
    }

    .about-img-wrapper {
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
        width: 100%;
        height: auto;
        overflow: hidden;
        transition: transform 0.3s ease;
        margin-bottom: 1rem;
    }

    .about-img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
        object-fit: cover;
        transition: transform 0.3s ease;
        display: block;
    }

    .about-text {
        padding: 1rem 1rem 0 1rem;
        font-size: 1rem;
        text-align: justify;
        line-height: 1.6;
        max-width: 600px;
        margin: 0 auto;
    }

    .about-title {
        font-size: 2rem;
        margin-bottom: 1rem;
        text-align: center;
    }
}

[data-theme="dark"] .about-section {
    background: #001220;
    border: 1px solid rgba(136, 175, 230, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.about-content {
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    align-items: flex-start; /* Change from center to flex-start */
}

.about-images {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.about-text-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.about-img-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,0.22), 0 1.5px 8px rgba(0,0,0,0.10);
    transition: transform 0.4s cubic-bezier(.25,.8,.25,1), box-shadow 0.3s;
    background: #fff;
    position: relative;
}

.about-img {
    width: 480px; /* Reduced from 580px */
    height: 240px; /* Reduced from 270px */
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(.25,.8,.25,1);
}

.about-img-wrapper:hover {
    transform: scale(1.06) rotate(-1deg);
    box-shadow: 0 16px 40px rgba(0,0,0,0.28), 0 2px 12px rgba(0,0,0,0.13);
}

.about-img-wrapper:hover .about-img {
    transform: scale(1.08);
    filter: brightness(1.08) saturate(1.2);
}

.about-text {
    font-size: 1.1rem;
    font-family: 'Dosis', sans-serif;
    color: #222;
    line-height: 1.8; /* Increased line height for better readability */
    text-align: center; /* Changed from justify to left */
    padding: 1rem;
}

.about-title {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  color: var(--title-color);
  text-align: left;
  margin-bottom: 0;
  animation: slideInFromBottom 1s ease-out;
}

/* Animation keyframes for About Us title */
@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Update root variables */
:root {
    --bg-primary: #ffffff;
    --text-primary: #222222;
    --nav-bg: #88AFE6;
    --about-bg: #A9C8F0;
    --btn-bg: #88AFE6;
    --btn-color: #222;
    --title-color: #222;
    --desc-color: #444;
    --hero-title: #e6e6e6;
    --hero-desc: #fffbe7;
    --mobile-menu-bg: #4979ff;
}

[data-theme="dark"] {
    --bg-primary: #0a0a0a;
    --text-primary: #88AFE6;  /* Changed from green to blue */
    --nav-bg: rgba(0, 30, 60, 0.95);
    --about-bg: #001220;
    --btn-bg: #001220;
    --btn-color: #88AFE6;  /* Changed from green to blue */
    --title-color: #88AFE6;  /* Changed from green to blue */
    --desc-color: #ffffff;
    --hero-title: #88AFE6;  /* Changed from green to blue */
    --hero-desc: rgba(136, 175, 230, 0.9);  /* Changed from green to blue */
    --about-text: #ffffff;
    --about-title: #88AFE6;
    --mobile-menu-bg: #ff0000;
} 

/* Update dark mode specific styles */
[data-theme="dark"] .mobile-menu {
    background: #001220;
    border: 1px solid rgba(136, 175, 230, 0.1);  /* Changed from green to blue */
}

[data-theme="dark"] .mobile-menu button {
    color: #88AFE6;  /* Changed from green to blue */
}

[data-theme="dark"] .mobile-menu button:hover {
    background: rgba(136, 175, 230, 0.1);  /* Changed from green to blue */
    color: #ffffff;
}

[data-theme="dark"] .about-img-wrapper {
    background: #001830;
    border: 1px solid rgba(136, 175, 230, 0.1);  /* Changed from green to blue */
}

[data-theme="dark"] .menu-toggle span {
    background-color: #88AFE6;  /* Changed from green to blue */
}


[data-theme="dark"] .dropdown-content {
    background: #001220;
    border: 1px solid rgba(136, 175, 230, 0.1);  /* Changed from green to blue */
}

[data-theme="dark"] .hero-btn {
    background: #88AFE6;  /* Keep same blue in dark mode */
    color: #001220;
    border: none;
    box-shadow: 0 5px 15px rgba(136, 175, 230, 0.2);
}

[data-theme="dark"] .hero-btn:hover {
    background: #5c8fd6;
    color: #fff;
    box-shadow: 0 8px 25px rgba(136, 175, 230, 0.3);
}

[data-theme="dark"] .about-text {
    color: var(--about-text);
}

[data-theme="dark"] .about-title {
    color: var(--about-title);
    text-shadow: 0 0 10px rgba(136, 175, 230, 0.3);
}
[data-theme="dark"] .new-section-container h2 {
    color: var(--about-title);
    text-shadow: 0 0 10px rgba(136, 175, 230, 0.3);
}
[data-theme="dark"] .new-section-container p {
    color: var(--about-text);
}
[data-theme="dark"] .travel-card .title{
    color: var(--title-color);
    text-shadow: 0 0 10px rgba(136, 175, 230, 0.3);
}
[data-theme="dark"] .grid-item .caption {
    color: var(--desc-color);
    text-shadow: 0 0 8px rgba(136, 175, 230, 0.2);
}

/* Dark mode styles for Fun Facts Section */
[data-theme="dark"] .fun-facts-section {
    background: var(--bg-primary);
    color: var(--text-primary);
}

[data-theme="dark"] .fun-fact-card {
    background: var(--card-bg, rgba(0, 30, 60, 0.8));
    border: 1px solid rgba(136, 175, 230, 0.1);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .fun-fact-card:hover {
    background: rgba(0, 30, 60, 0.9);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .fun-fact-header h3 {
    color: var(--title-color);
}

[data-theme="dark"] .fun-fact-brief {
    color: var(--desc-color);
}

[data-theme="dark"] .tags span {
    background: rgba(136, 175, 230, 0.1);
    color: var(--text-primary);
}

[data-theme="dark"] .btn-outline {
    border-color: #88AFE6;
    color: #88AFE6;
    background: transparent;
}

[data-theme="dark"] .btn-outline:hover {
    background: #88AFE6;
    color: var(--bg-primary);
}

[data-theme="dark"] .badge {
    background: rgba(136, 175, 230, 0.2);
    color: #88AFE6;
}

[data-theme="dark"] .badge.danger {
    background: rgba(255, 136, 136, 0.2);
    color: #ff8888;
}

[data-theme="dark"] .badge.culture {
    background: rgba(240, 255, 232, 0.2);
    color: #b7ff4a;
}

[data-theme="dark"] .badge.info {
    background: rgba(232, 255, 249, 0.2);
    color: #4affd1;
}

/* Dark mode styles for Fun Facts Modal */
[data-theme="dark"] .fun-fact-modal {
    background: rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .modal-content {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid rgba(136, 175, 230, 0.1);
}

[data-theme="dark"] .modal-header h3 {
    color: var(--title-color);
}

[data-theme="dark"] .modal-meta {
    color: var(--desc-color);
}

[data-theme="dark"] .modal-desc {
    color: var(--text-primary);
}

[data-theme="dark"] .modal-close {
    color: var(--text-primary);
}

[data-theme="dark"] .meta-item {
    background: rgba(136, 175, 230, 0.1);
    color: var(--text-primary);
}

.new-section {
    min-height: 600px;
    width: 90%;
    max-width: 1100px;
    margin: 4rem auto;
    border-radius: 32px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.new-section-container {    
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

/* Dark mode styles */
/* Responsive styles */
@media (max-width: 768px) {
    .new-section {
        padding: 2rem 1rem;
        margin: 2rem auto;
    }
}

.new-section-container h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 2.8rem;
  color: var(--title-color);
  text-align: center;
  margin-bottom: 1.5rem;
}

.new-section-container p {
  font-family: 'Raleway', sans-serif;
    font-size: 0.8rem;
    color: var(--desc-color);
    text-align: center;
    margin-bottom: 3vw;
}
.gallery {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
  position: relative;
}

/* Each gallery item wraps the image and overlay */
.gallery-item {
  position: relative;
  display: inline-block;
  border-radius: 8px;
  transform: perspective(600px) rotateY(30deg);
  overflow: hidden; /* clip overlay corners */
  transition: transform 0.6s ease;
}

.gallery-item.active {
  transform: perspective(600px) rotateY(0deg);
  transition: transform 0.6s ease;
}

.gallery-item img {
  height: 350px;
  width: 60px; /* Flat/narrow by default */
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: width 0.6s ease, opacity 0.4s ease, filter 0.4s ease, transform 0.5s ease;
  opacity: 0.6;
  filter: brightness(0.8);
  transform-style: preserve-3d;
  
  transform-origin: center bottom
}

.gallery-item img:hover {
  opacity: 0.8;
  filter: brightness(1);
}

.gallery-item img.active {
  width: 550px; /* widen only */
  height: 350px;
  opacity: 1;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
  z-index: 10;
  filter: brightness(1);
  transform: perspective(600px) rotateX(0deg);
}

/* Overlay inside image */
.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 85%);
  color: #fff;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none; /* enable only when active */
}

.gallery-item.active .gallery-overlay {
  opacity: 1;
  pointer-events: auto;
}

.gallery-text {
  color: #fff;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.gallery-location {
  font-size: 0.9rem;
  color: #f0f0f0;
}

.gallery-learn-more {
  margin-top: 6px;
  align-self: flex-start;
  padding: 8px 14px;
  background: #88AFE6;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.gallery-learn-more:hover {
  background: #7298d6;
}

.gallery-learn-more:active {
  transform: translateY(1px);
}

/* Text animation containers */
.gallery-text-container {
  position: absolute;
  z-index: 15;
  opacity: 0;
  transition: all 0.8s ease;
  pointer-events: none;
}

.gallery-text {
  color: var(--desc-color);
  padding: 15px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
  max-width: 250px;
}

/* Animation directions */
.text-from-right {
  transform: translateX(100%) scale(0.8);
}

.text-from-left {
  transform: translateX(-100%) scale(0.8);
}

.text-from-bottom {
  transform: translateY(100%) scale(0.8);
}

.text-show {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1);
}

/* Specific animation positions */
.text-right-position {
  top: 20%;
  right: -50px;
  transform: translateX(50%);
}

.text-left-position {
  top: 20%;
  left: -50px;
  transform: translateX(-50%);
}

.text-bottom-position {
  bottom: -10px;
  transform: translateY(100%);
  left: 30%;
}


/* Description Card */
.description {
  max-width: 950px;
  margin: 30px auto;
  background: rgba(255,255,255,0.06);
  padding: 25px;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr; /* teks di kiri, gambar di kanan */
  gap: 25px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--desc-color);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.description.show {
  opacity: 1;
  transform: translateY(0);
}

.desc-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.desc-text p {
  margin-top: 10px;
  font-weight: 500;
}

.desc-img {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.desc-img img {
  width: 100%;
  max-width: 380px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  transition: transform 0.4s ease;
}

.desc-img img:hover {
  transform: scale(1.05);
}

.source {
  margin-top: 10px;
  font-size: 13px;
  opacity: 0.75;
  text-align: center; 
  font-style: italic;
}
.desc-text p{
    text-align: left;
}

/* Responsif: kalau layar kecil, teks di atas gambar */
@media (max-width: 768px) {
  .description {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .desc-text {
    text-align: center;
  }
}

/* ===== Travel Potential Section ===== */
        #travel-potential {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 2rem 1rem;
            min-height: 100vh;
        }

        .travel-card {
            width: 90vw;
            max-width: 1200px;
            background: var(--about-bg);
            box-shadow: 0 0 20px var(--card-shadow);
            border: 3px dashed #2E86C1;
            border-radius: 15px;
            padding: 20px;
            position: relative;
            overflow: hidden;
        }

        .travel-card::before,
        .travel-card::after {
            content: "✈";
            position: absolute;
            font-size: 1.5rem;
            color: #2E86C1;
        }

        .travel-card::before { top: 10px; right: 15px; }
        .travel-card::after { bottom: 10px; left: 15px; }

        .travel-card .title h2 {
            font-family: 'Raleway', sans-serif;
            font-size: 2.8rem;
            color: var(--title-color);
            text-align: center;
            margin-bottom: 1.5rem;
        }

        .moving-turtle {
            position: absolute;
            font-size: 2rem;
            z-index: 1;
            transition: top 4s ease-in-out, left 4s ease-in-out, transform 2s ease-in-out;
            opacity: 0.7;
            filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.3));
            will-change: top, left, transform;
        }

        .grid-container {
            display: grid;
            gap: 20px;
            z-index: 10;
            position: relative;
        }

        .grid-item {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            align-items: center;
            padding: 15px 0;
        }

        /* Layout order menggunakan grid-order */
        .grid-item:nth-child(1) .image-container { order: 1; }
        .grid-item:nth-child(1) .caption { order: 2; }

        .grid-item:nth-child(2) .image-container { order: 2; }
        .grid-item:nth-child(2) .caption { order: 1; text-align: right; }

        .grid-item:nth-child(3) .image-container { order: 1; }
        .grid-item:nth-child(3) .caption { order: 2; }

        .image-container {
            width: 100%;
            max-width: 400px;
            justify-self: center;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        .image-container img {
            width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
        }

        .caption {
            font-size: 1rem;
            line-height: 1.6;
            color: #333;
            padding: 0 15px;
        }

        .wave-decoration {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 10px;
            background: linear-gradient(45deg, #2E86C1 25%, transparent 25%);
            background-size: 10px 10px;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .travel-card .title h2 {
                font-size: 2rem;
            }

            .grid-item {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 15px;
            }

            /* Reset semua order untuk mobile - semua jadi img di atas, text di bawah */
            .grid-item:nth-child(1) .image-container,
            .grid-item:nth-child(2) .image-container,
            .grid-item:nth-child(3) .image-container { 
                order: 1; 
            }
            
            .grid-item:nth-child(1) .caption,
            .grid-item:nth-child(2) .caption,
            .grid-item:nth-child(3) .caption { 
                order: 2; 
                text-align: center; 
            }

            .caption {
                padding: 0 10px;
                font-size: 0.9rem;
            }

            .image-container {
                max-width: 100%;
            }
        }

        @media (max-width: 480px) {
            .travel-card {
                padding: 15px;
            }

            .travel-card .title h2 {
                font-size: 1.8rem;
                margin-bottom: 1rem;
            }

            .caption {
                font-size: 0.85rem;
            }
        }

/* === Activities Section === */
.activities-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #88AFE6, #fff);
  border-radius: 10px;
  text-align: center;
  width: 80%;
  margin: 4rem auto;
}

/* === Fun Facts Section === */
.fun-facts-section {
  width: 95%;
  margin: 2rem auto;
  padding: 60px 20px;
  background: var(--bg-primary);
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.fun-facts-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(136, 175, 230, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(136, 175, 230, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.fun-facts-section .section-title {
  text-align: center;
  font-family: 'Raleway', sans-serif;
  font-size: 2.2rem;
  margin-bottom: .25rem;
  position: relative;
  z-index: 1;
}

.fun-facts-section .section-subtitle {
  text-align: center;
  color: var(--text-secondary, #666);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.fun-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.fun-fact-card {
  background: linear-gradient(145deg, var(--card-bg, #ffffff) 0%, rgba(255,255,255,0.95) 100%);
  border: 2px solid rgba(136, 175, 230, 0.1);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.fun-fact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(136, 175, 230, 0.1), transparent);
  transition: left 0.6s ease;
}

.fun-fact-card:hover::before {
  left: 100%;
}

.fun-fact-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 8px 24px rgba(136, 175, 230, 0.2);
  border-color: rgba(136, 175, 230, 0.3);
}

.fun-fact-card.reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
}

.fun-fact-card.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fun-fact-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.badge {
  background: linear-gradient(135deg, #e8f1ff 0%, #d4e4ff 100%);
  color: #2E86C1;
  border-radius: 20px;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(46, 134, 193, 0.2);
  box-shadow: 0 2px 8px rgba(46, 134, 193, 0.15);
  transition: all 0.3s ease;
}

.badge:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(46, 134, 193, 0.25);
}

.badge.danger {
  background: linear-gradient(135deg, #ffe8e8 0%, #ffd4d4 100%);
  color: #d14;
  border-color: rgba(209, 68, 68, 0.2);
  box-shadow: 0 2px 8px rgba(209, 68, 68, 0.15);
}

.badge.culture {
  background: linear-gradient(135deg, #f0ffe8 0%, #e4ffd4 100%);
  color: #2b7a0b;
  border-color: rgba(43, 122, 11, 0.2);
  box-shadow: 0 2px 8px rgba(43, 122, 11, 0.15);
}

.badge.info {
  background: linear-gradient(135deg, #e8fff9 0%, #d4fff5 100%);
  color: #0b7a6d;
  border-color: rgba(11, 122, 109, 0.2);
  box-shadow: 0 2px 8px rgba(11, 122, 109, 0.15);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.8rem 0 1.2rem;
}

.tags span {
  background: linear-gradient(135deg, rgba(136, 175, 230, 0.1) 0%, rgba(136, 175, 230, 0.05) 100%);
  padding: 0.3rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(136, 175, 230, 0.2);
  transition: all 0.3s ease;
}

.tags span:hover {
  background: linear-gradient(135deg, rgba(136, 175, 230, 0.2) 0%, rgba(136, 175, 230, 0.1) 100%);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(136, 175, 230, 0.15);
}

.fun-fact-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.btn-outline {
  border: 2px solid #88AFE6;
  color: #2E86C1;
  background: transparent;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(136, 175, 230, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-outline:hover::before {
  left: 100%;
}

.btn-outline:hover {
  background: #88AFE6;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(136, 175, 230, 0.3);
}

.fun-fact-icon {
  font-size: 1.5rem;
  transition: all 0.4s ease;
  position: relative;
}

.fun-fact-card:hover .fun-fact-icon {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 4px 8px rgba(136, 175, 230, 0.3));
}

.fun-fact-card h3 {
  color: #254546;
  font-size: 1rem;
  margin: 0;
  font-weight: 600;
  transition: color 0.3s ease;
}

.fun-fact-card:hover h3 {
  color: #2E86C1;
}

.fun-fact-brief {
  line-height: 1.6;
  font-size: 0.95rem;
  color: var(--text-secondary, #555);
  margin-top: 0.5rem;
  transition: color 0.3s ease;
}

.fun-fact-card:hover .fun-fact-brief {
  color: var(--text-primary, #333);
}

/* Modal */
.fun-fact-modal { position: fixed; inset: 0; display: none; place-items: center; z-index: 1500; padding: 1rem; }
.fun-fact-modal.active { display: grid; }
.modal-content { background: var(--bg-primary); color: var(--text-primary); width: min(680px, 96vw); border-radius: 16px; padding: 1rem 1.25rem 1.25rem; box-shadow: 0 24px 64px rgba(0,0,0,.35); animation: pop .2s ease; }
.modal-header { display: flex; align-items: center; gap: .6rem; margin-bottom: .25rem; }
.modal-icon { font-size: 1.6rem; }
.modal-title { font-size: 1.25rem; margin: 0; }
.modal-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; color: var(--text-secondary, #666); }
.meta-item { background: rgba(0,0,0,.06); padding: .25rem .5rem; border-radius: 8px; font-size: .85rem; }
.modal-close { border: none; background: transparent; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--text-primary); float: right; }
.modal-desc { line-height: 1.6; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }

@media (max-width: 992px) { .fun-facts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .fun-facts-grid { grid-template-columns: 1fr; }
.fun-fact-modal.active { background-color: rgba(128, 128, 128, 0.295); }
    .modal-content { background: var(--bg-primary); color: var(--text-primary); width: min(620px, 86vw); border-radius: 16px; margin-left: 0rem ; box-shadow: 0 24px 64px rgba(0,0,0,.35); animation: pop .2s ease; }

}

.activities-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #2E86C1;
  position: relative;
  font-family: 'Raleway', sans-serif;
}

.activities-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #2E86C1;
  margin: 10px auto 0;
  border-radius: 4px;
}

.activities-subtitle {
  color: #5277a3;
  margin-bottom: 30px;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.activity-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(50px);
}

.activity-card.show {
  opacity: 1;
  transform: translateY(0);
}

.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.activity-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.activity-content {
  padding: 18px 18px 22px;
  text-align: left;
}

.activity-content h3 {
  color: #2E86C1;
  margin-bottom: 8px;
}

.activity-content p {
  color: #5277a3;
  margin-bottom: 10px;
}

.activity-content ul {
  padding-left: 18px;
  color: #335577;
}

.activities-note {
  margin-top: 20px;
  color: #335577;
}

/* === CSS untuk Rules Section === */
.rules-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #2E86C1, #fff);
  border-radius: 10px;
  text-align: center;
  width: 80%;
  margin: 4rem auto;
}

.rules-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #00796b;
  position: relative;
}

.rules-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #00796b;
  margin: 10px auto 0;
  border-radius: 4px;
}

.rules-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.rules-card {
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(50px);
}

.rules-card.show {
  opacity: 1;
  transform: translateY(0);
}

  .rules-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .rules-card.dos h3 {
    color: #2e7d32;
  }

  .rules-card.donts h3 {
    color: #c62828;
  }

  .rules-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .rules-content li {
    margin: 8px 0;
    padding: 12px 14px;
    background: #f9f9f9;
    border-radius: 12px;
    transition: background 0.3s ease, transform 0.3s ease;
    font-size: 1rem;
  }

  .rules-card.dos .rules-content li:hover {
    background: #e8f5e9;
    transform: translateX(5px);
  }

  .rules-card.donts .rules-content li:hover {
    background: #ffebee;
    transform: translateX(5px);
  }

  /* Efek hover pada card */
  .rules-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
  }

  /* Reveal animasi */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
  }

  .reveal.show {
    opacity: 1;
    transform: translateY(0);
  }

/* === CSS untuk Contact Section === */
.contact-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #88AFE6, #fff);
  border-radius: 10px;
  text-align: center;
  width: 80%;
  margin: 4rem auto;
}
.contact-form small{
  color:  #88AFE6;
}
.contact-form p{
  color:  #88AFE6; 
}

.contact-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #2E86C1;
  position: relative;
  font-family: 'Raleway', sans-serif;
}

.contact-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #2E86C1;
  margin: 10px auto 0;
  border-radius: 4px;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info, .contact-form {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info:hover, .contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.contact-info h3, .contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #2E86C1;
  font-family: 'Raleway', sans-serif;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: background 0.3s ease;
}

.contact-item:hover {
  background: #e9ecef;
}

.contact-item i {
  font-size: 1.5rem;
  color: #88AFE6;
  margin-top: 5px;
}

.contact-item div {
  text-align: left;
  line-height: 1.6;
}

.contact-item strong {
  color: #2E86C1;
}

/* Contact Form Styles */
.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #88AFE6;
  box-shadow: 0 0 0 3px rgba(136, 175, 230, 0.1);
}

.submit-btn {
  background: #88AFE6;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.submit-btn:hover {
  background: #5c8fd6;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(136, 175, 230, 0.3);
}

/* WhatsApp Button Styles */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25d366;
  color: #fff;
  border: none;
  padding: 18px 36px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  font-family: 'Poppins', sans-serif;
  justify-content: center; /* Center horizontally */
  margin: 25px auto 10px auto; /* Center horizontally with margin */
  display: block; /* Make button block for centering */
  cursor: pointer;
  user-select: none;
  text-align: center;
}

.whatsapp-btn:hover,
.whatsapp-btn:focus {
  background: #128c7e;
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
  outline: none;
}

.whatsapp-btn i {
  font-size: 1.4rem;
}

.contact-note {
  margin-top: 20px;
  font-size: 1.05rem; /* Slightly larger font */
  color: #88AFE6; /* Changed to match the heading color */
  font-style: italic;
  line-height: 1.5; /* Improved line height */
  text-align: center; /* Center text */
  max-width: 340px; /* Limit width for readability */
  margin-left: auto;
  margin-right: auto;
  font-family: 'Poppins', sans-serif;
}

/* Hubungi Kami container improvements */
.contact-form {
  padding: 35px 30px 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background: #fefefe;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease;
}

.contact-form:hover {
  box-shadow: 0 14px 40px rgba(0,0,0,0.12);
}

.contact-form h3 {
  font-size: 2rem;
  color: #2E86C1;
  font-family: 'Raleway', sans-serif;
  margin-bottom: 10px;
  text-align: center;
}

.contact-form p {
  font-size: 1.15rem;
  color: #2E86C1; /* Changed to match the heading color */
  max-width: 420px;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Hubungi Kami container improvements */
.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  text-align: center;
  padding: 40px 30px;
}

/* Paragraph inside Hubungi Kami */
.contact-info p {
  font-size: 1.1rem;
  line-height: 1.6;
  color:  #88AFE6;
  max-width: 400px;
  margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-info {
    padding: 30px 20px;
  }

  .contact-info p {
    font-size: 1rem;
    max-width: 100%;
  }

  .whatsapp-btn {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

/* === CSS untuk Location Section === */
.location-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #A9C8F0, #fff);
  border-radius: 10px;
  text-align: center;
  width: 80%;
  margin: 4rem auto;
}

.location-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #2E86C1;
  position: relative;
  font-family: 'Raleway', sans-serif;
}

.location-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #2E86C1;
  margin: 10px auto 0;
  border-radius: 4px;
}

.location-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  background: #fff;
  padding: 10px;
}

.map-container iframe {
  border-radius: 10px;
  width: 100%;
  height: 400px;
}

.location-details {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-details:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.location-details h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #2E86C1;
  font-family: 'Raleway', sans-serif;
}

.location-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: background 0.3s ease;
}

.location-item:hover {
  background: #e9ecef;
}

.location-item i {
  font-size: 1.5rem;
  color: #88AFE6;
  margin-top: 5px;
}

.location-item div {
  text-align: left;
  line-height: 1.6;
}

.location-item strong {
  color: #2E86C1;
}

/* Dark mode styles for contact and location sections */
[data-theme="dark"] .contact-section,
[data-theme="dark"] .location-section {
  background: linear-gradient(135deg, #001220, rgba(136, 175, 230, 0.1));
  border: 1px solid rgba(136, 175, 230, 0.1);
}

[data-theme="dark"] .contact-info,
[data-theme="dark"] .contact-form,
[data-theme="dark"] .location-details,
[data-theme="dark"] .map-container {
  background: #001830;
  border: 1px solid rgba(136, 175, 230, 0.1);
}

[data-theme="dark"] .contact-item,
[data-theme="dark"] .location-item {
  background: #002040;
  border: 1px solid rgba(136, 175, 230, 0.1);
}

[data-theme="dark"] .contact-item:hover,
[data-theme="dark"] .location-item:hover {
  background: #003060;
}

[data-theme="dark"] .contact-title,
[data-theme="dark"] .location-title,
[data-theme="dark"] .contact-info h3,
[data-theme="dark"] .contact-form h3,
[data-theme="dark"] .location-details h3 {
  color: #88AFE6;
}

[data-theme="dark"] .contact-item strong,
[data-theme="dark"] .location-item strong {
  color: #88AFE6;
}

[data-theme="dark"] .form-group label {
  color: #ffffff;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
  background: #002040;
  border-color: rgba(136, 175, 230, 0.3);
  color: #ffffff;
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
  border-color: #88AFE6;
  box-shadow: 0 0 0 3px rgba(136, 175, 230, 0.2);
}

/* Responsive styles for contact and location sections */
@media (max-width: 768px) {
  .contact-section,
  .location-section {
    width: 95%;
    padding: 40px 15px;
    margin: 2rem auto;
  }

  .contact-container,
  .location-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-title,
  .location-title {
    font-size: 2rem;
  }

  .contact-info,
  .contact-form,
  .location-details {
    padding: 20px;
  }

  .location-info {
    grid-template-columns: 1fr;
  }

  .map-container iframe {
    height: 300px;
  }
}

/* Wave animation di footer bottom */


/* Learn More Card Styles - Enhanced Design */
.learn-more-card-overlay {
  display: none;
  position: fixed;
  z-index: 1500;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  padding: 1rem;
  animation: fadeInOverlay 0.3s ease-out;
}

@keyframes fadeInOverlay {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.learn-more-card-overlay.active {
  display: flex;
}

.learn-more-card {
  background: linear-gradient(145deg, var(--about-bg) 0%, rgba(255,255,255,0.95) 100%);
  border-radius: 24px;
  max-width: 700px; /* Increased from 550px */
  width: 100%;
  min-height: 500px; /* Added to make card longer */
  box-shadow:
    0 20px 60px rgba(0,0,0,0.4),
    0 8px 32px rgba(136,175,230,0.2),
    inset 0 1px 0 rgba(255,255,255,0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 2px solid rgba(136,175,230,0.1);
  animation: slideInCard 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

@keyframes slideInCard {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.learn-more-card:hover {
  transform: scale(1.02);
}

.close-card-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255,255,255,0.9);
  border: 2px solid rgba(136,175,230,0.3);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.close-card-btn:hover {
  background: #88AFE6;
  color: white;
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 6px 20px rgba(136,175,230,0.4);
}

.close-card-btn::before {
  content: "×";
  font-weight: bold;
  line-height: 1;
  pointer-events: none;
}

.card-image-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.card-image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(136,175,230,0.1) 0%, transparent 50%);
  z-index: 1;
}

.card-image {
  width: 100%;
  height: 200px; /* Reduced size for smaller image inside card */
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-image:hover {
  transform: scale(1.05);
}

.card-description {
  padding: 2rem 2rem 2.5rem;
  font-size: 1.1rem;
  color: var(--desc-color);
  line-height: 1.6;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  position: relative;
}

.card-description::before {
  content: "";
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(136,175,230,0.3) 50%, transparent 100%);
}

/* Enhanced dark mode styles */
[data-theme="dark"] .learn-more-card {
  background: linear-gradient(145deg, var(--about-bg) 0%, rgba(0,30,60,0.9) 100%);
  border: 2px solid rgba(136,175,230,0.2);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.6),
    0 8px 32px rgba(136,175,230,0.1),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

[data-theme="dark"] .close-card-btn {
  background: rgba(0,30,60,0.9);
  border: 2px solid rgba(136,175,230,0.4);
  color: #88AFE6;
}

[data-theme="dark"] .close-card-btn:hover {
  background: #88AFE6;
  color: #001220;
}

/* Responsive design */
@media (max-width: 768px) {
  .learn-more-card {
    max-width: 90vw;
    margin: 1rem;
  }

  .card-image {
    height: 200px;
  }

  .card-description {
    padding: 1.5rem 1.5rem 2rem;
    font-size: 1rem;
  }
}

/* ===== Section Scroll Reveal Animations ===== */
.section-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-reveal.section-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== EmailJS Contact Form Styles ===== */

/* Form message styles */
.form-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(-10px);
}

.form-message.success {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  color: #155724;
  border: 1px solid #c3e6cb;
  opacity: 1;
  transform: translateY(0);
}

.form-message.error {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  color: #721c24;
  border: 1px solid #f5c6cb;
  opacity: 1;
  transform: translateY(0);
}

.success-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
}

.success-message i {
  color: #28a745;
  font-size: 1.2rem;
}

.error-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
}

.error-message i {
  color: #dc3545;
  font-size: 1.2rem;
}

/* Form input validation styles */
.form-group input.error,
.form-group textarea.error {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
  background-color: #fff5f5;
}

.form-group input.error:focus,
.form-group textarea.error:focus {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2) !important;
}

/* Submit button loading state */
.submit-btn.loading {
  pointer-events: none;
  position: relative;
}

.submit-btn .fa-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Dark mode styles for form messages */
[data-theme="dark"] .form-message.success {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.2) 0%, rgba(40, 167, 69, 0.1) 100%);
  color: #90ee90;
  border: 1px solid rgba(40, 167, 69, 0.3);
}

[data-theme="dark"] .form-message.error {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.2) 0%, rgba(220, 53, 69, 0.1) 100%);
  color: #ffb3ba;
  border: 1px solid rgba(220, 53, 69, 0.3);
}

[data-theme="dark"] .form-group input.error,
[data-theme="dark"] .form-group textarea.error {
  background-color: rgba(220, 53, 69, 0.1);
  border-color: #ffb3ba !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2) !important;
}

[data-theme="dark"] .form-group input.error:focus,
[data-theme="dark"] .form-group textarea.error:focus {
  border-color: #ffb3ba !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.3) !important;
}

/* Responsive form styles */
@media (max-width: 768px) {
  .form-message {
    margin-top: 15px;
    padding: 12px;
    font-size: 0.9rem;
  }

  .success-message,
  .error-message {
    font-size: 0.9rem;
  }

  .success-message i,
  .error-message i {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  #travel-potential {
    min-height: 60vh;
    padding: 1rem 0.5rem;
  }
  .travel-card {
    width: 95%;
    padding: 15px 10px;
  }
  .travel-card .title h2 {
    font-size: 1.8rem;
  }
  .image-container {
    width: 60vw;
    margin-bottom: 0.75rem;
  }
  .caption {
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    margin-top: 0.5rem;
  }
  .grid-item {
    align-items: center;
    text-align: center;
  }
  .travel-card {
    border-width: 2px;
  }
}

/* Source attribution style */
.source-attribution {
  position: absolute;
  bottom: 10px;
  right: 10px;
  color: white;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 12px;
  z-index: 2;
}

.carousel-item {
  position: relative;
  display: inline-block;
}

.carousel-item .source-attribution {
  position: absolute;
  bottom: 10px;
  right: 10px;
  color: white;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 12px;
  z-index: 2;
}

.activity-image {
    position: relative;
}

.activity-image .source-attribution {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
    z-index: 2;
}

.image-container {
    position: relative;
}

.image-source {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
}

/* Additional responsive styles for 1920x1080 and larger screens */
@media (min-width: 1920px) {
  /* Global adjustments for large screens */
  body {
    font-size: 18px;
  }

  /* Hero Section */
  .home-hero {
    width: 95%;
    max-width: 1920px;
    margin: 3rem auto;
    min-height: 500px;
  }

  .hero-bg {
    height: 500px;
  }

  .hero-title .explore-text {
    font-size: 3.5rem;
  }

  .hero-title h1 {
    font-size: 4rem;
  }

  .hero-desc {
    font-size: 1.4rem;
  }

  .hero-btn {
    font-size: 1.2rem;
    padding: 1rem 4rem;
  }

  /* Carousel */
  .carousel-container {
    width: 95%;
    max-width: 1920px;
    margin: 3rem auto;
    padding: 15px 0;
  }

  .carousel-track {
    height: 300px;
    gap: 25px;
    padding: 0 15px;
  }

  .carousel-img {
    min-width: calc(25% - 19px);
  }

  /* About Section */
  .about-section {
    width: 95%;
    max-width: 1920px;
    margin: 5rem auto;
    padding: 4rem 3rem;
    min-height: 700px;
  }

  .about-title {
    font-size: 3rem;
  }

  .about-img {
    width: 550px;
    height: 275px;
  }

  .about-text {
    font-size: 2rem;
    text-align: left;
    margin-top: 10rem;
    line-height: 1.8;
  }

  /* Travel Potential */
  #travel-potential {
    padding: 3rem 2rem;
  }

  .travel-card {
    width: 95%;
    max-width: 1800px;
    padding: 30px;
  }

  .travel-card .title h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
  }

  .grid-container {
    gap: 30px;
  }

  .grid-item {
    gap: 30px;
    padding: 20px 0;
  }

  .image-container {
    max-width: 500px;
  }

  .caption {
    font-size: 1.6rem;
    padding: 0 20px;
  }

  .moving-turtle {
    font-size: 2.5rem;
  }

  /* Fun Facts */
  .fun-facts-section {
    width: 95%;
    max-width: 1920px;
    margin: 5rem auto;
    padding: 4rem 3rem;
  }

  .section-title {
    font-size: 3rem;
  }

  .section-subtitle {
    font-size: 1.3rem;
  }

  .fun-facts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .fun-fact-card {
    padding: 2rem;
  }

  .fun-fact-header {
    gap: 1rem;
  }

  .fun-fact-icon {
    font-size: 3rem;
  }

  .fun-fact-header h3 {
    font-size: 1.5rem;
  }

  .fun-fact-brief {
    font-size: 1.1rem;
  }

  .tags span {
    font-size: 0.9rem;
  }

  /* Activities */
  .activities-section {
    width: 95%;
    max-width: 1920px;
    margin: 5rem auto;
    padding: 4rem 3rem;
  }

  .activities-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .activity-card {
    padding: 2rem;
  }

  .activity-image img {
    height: 200px;
  }

  .activity-content h3 {
    font-size: 1.5rem;
  }

  .activity-content p {
    font-size: 1.1rem;
  }

  /* Rules */
  .rules-section{
    height: 800px;
    width: 95%;
    margin: 5rem auto;
  }
  .rules-card h3{
    font-size: 1.6rem;
  }
  .rules-card li{
    font-size: 1.4rem;
  }
  .rules-title {
    font-size: 3rem;
  }
  .rules-card{
    width: 90%;
    margin: 5rem auto;
  }

  /* Contact */
  .contact-section {
    width: 95%;
    max-width: 1920px;
    margin: 5rem auto;
    padding: 4rem 3rem;
  }


  .contact-info{
    width: 60%;
  }
.contact-container{
  margin-left: 30rem;
}
  .contact-title {
    font-size: 3rem;
  }

  .contact-item {
    padding: 20px;
    font-size: 1.4rem;
  }

  .form-group input, .form-group textarea {
    padding: 18px;
    font-size: 1.1rem;
  }

  .submit-btn {
    padding: 18px 40px;
    font-size: 1.2rem;
  }

  .whatsapp-btn {
    padding: 20px 40px;
    font-size: 1.2rem;
  }

  /* Location */
  .location-section {
    width: 95%;
    max-width: 1920px;
    margin: 5rem auto;
    padding: 4rem 3rem;
  }

  .location-container {
    gap: 3rem;
  }

  .location-details {
    padding: 3rem;
  }

  .location-info {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .location-item {
    padding: 20px;
    font-size: 1.1rem;
  }

  .map-container iframe {
    height: 400px;
  }

  /* Footer */
  .footer {
    padding: 3rem 2rem;
  }

  .footer-container {
    gap: 3rem;
  }

  .footer-section {
    margin-bottom: 2rem;
  }

  .footer-content {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .social-links {
    gap: 1.5rem;
  }

  .footer-bottom {
    padding-top: 2rem;
    font-size: 1.1rem;
  }

  /* Gallery */
  .gallery {
    gap: 15px;
  }

  .gallery-item img {
    height: 400px;
  }

  .gallery-item img.active {
    width: 650px;
    height: 400px;
  }

  .gallery-overlay {
    padding: 18px;
  }

  .gallery-text {
    font-size: 1rem;
  }

  .gallery-location {
    font-size: 1rem;
  }

  .gallery-learn-more {
    padding: 10px 16px;
    font-size: 1rem;
  }
}
