/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {  
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* HEADER */
header {
    position: fixed;
    width: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 5px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
    color: #111;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    color: #2563eb;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link:hover::after {
    width: 100%;
}

/* MOBILE MENU */

.mobile-toggle{ 
display:none;
background:none;
border:none;
cursor:pointer;
}

/* MOBILE STYLE */
@media (max-width:768px){

.nav-links{
position:absolute;
top:70px;
left:0;
width:100%;
background:white;
flex-direction:column;
align-items:center;
gap:25px;
padding:30px 0;

transform:translateY(-200%);
transition:0.4s ease;

box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

.nav-links.active{
transform:translateY(0);
}

.mobile-toggle{
display:block;
}

}
/* HERO */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 60px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 3;
    font-size: 32px;
}

/* BUTTONS */
.btn-primary {
    background: #2563eb;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    border: 2px solid white;
    padding: 12px 30px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
    transform: translateY(-3px);
}

/* SECTIONS */
section {
    padding: 80px 0;
}

#tours {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #e0f2fe 0%, #bae6fd 50%, #f0f9ff 100%);
}

/* ANIMATED BACKGROUND ELEMENTS */
.tours-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* Real Birds Flying Videos */
.birds-video {
    position: absolute;
    width: 300px;
    height: 200px;
    object-fit: cover;
    opacity: 0.3;
    border-radius: 20px;
    mix-blend-mode: multiply;
}

.birds-video-1 {
    top: 5%;
    left: -300px;
    animation: flyAcrossRight 20s linear infinite;
}

.birds-video-2 {
    top: 30%;
    right: -300px;
    animation: flyAcrossLeft 25s linear infinite;
    animation-delay: 10s;
}

@keyframes flyAcrossRight {
    0% {
        left: -300px;
        transform: scaleX(1);
    }
    100% {
        left: calc(100% + 300px);
        transform: scaleX(1);
    }
}

@keyframes flyAcrossLeft {
    0% {
        right: -300px;
        transform: scaleX(-1);
    }
    100% {
        right: calc(100% + 300px);
        transform: scaleX(-1);
    }
}

/* Realistic Clouds with SVG */
.cloud {
    position: absolute;
    width: 150px;
    height: 60px;
    animation: floatCloud 40s linear infinite;
}

.cloud-1 {
    top: 8%;
    animation-duration: 50s;
}

.cloud-2 {
    top: 20%;
    animation-duration: 60s;
    animation-delay: 15s;
}

.cloud-3 {
    top: 45%;
    animation-duration: 55s;
    animation-delay: 30s;
}

@keyframes floatCloud {
    0% {
        left: -200px;
    }
    100% {
        left: calc(100% + 200px);
    }
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 10px;
    color: #111;
}

.section-header p {
    font-size: 18px;
    color: #666;
}

/* TOURS */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tour-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.tour-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.tour-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tour-card:hover .tour-image-wrapper img {
    transform: scale(1.1);
}

.tour-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 99, 235, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tour-overlay i {
    font-size: 48px;
    color: white;
}

.tour-card:hover .tour-overlay {
    opacity: 1;
}

.tour-content {
    padding: 25px;
    text-align: center;
}

.tour-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #111;
}

.tour-content p {
    color: #666;
    margin-bottom: 15px;
}

.tour-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #888;
}

.tour-features span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tour-features i {
    width: 16px;
    height: 16px;
}

/* WHY CHOOSE US */
.why-choose-section {
    background: linear-gradient(135deg, #0f766e 0%, #14532d 50%, #15803d 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.3;
}

.why-choose-section .section-header h2,
.why-choose-section .section-header p {
    color: white;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.why-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.why-card:hover .why-icon {
    transform: rotateY(360deg);
    background: rgba(255, 255, 255, 0.3);
}

.why-icon i {
    width: 40px;
    height: 40px;
    color: white;
}

.why-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.why-card p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
}

/* STATS */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* GALLERY */
#gallery {
    background: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    background: #2563eb;
    color: white;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: #2563eb;
    color: white;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

#lightboxImage {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #111;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #f8f9fa;
    transform: translateX(10px);
}

.contact-item i {
    width: 24px;
    height: 24px;
    color: #2563eb;
    margin-top: 3px;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #1d4ed8;
    transform: translateY(-5px);
}

.social-icon i {
    width: 20px;
    height: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* FOOTER */
footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 30px 0;
}

.footer-tagline {
    margin-top: 10px;
    opacity: 0.7;
    font-size: 14px;
}

/* WHATSAPP */
.whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp i {
    width: 24px;
    height: 24px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

   .nav-links {
    display: flex;
}

    .mobile-toggle {
        display: block;
    }

    .tours-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .whatsapp span {
        display: none;
    }

    .whatsapp {
        padding: 15px;
        border-radius: 50%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
/* SRI LANKA INFO */

.srilanka-info{
background:#ffffff;
padding:80px 0;
text-align:center;
}

.srilanka-info h2{
font-size:36px;
margin-bottom:20px;
color:#111;
}

.srilanka-info p{
max-width:800px;
margin:auto;
margin-bottom:20px;
font-size:18px;
color:#555;
line-height:1.7;
}

#moreText{
display:none;
}/* REVIEWS SECTION */
#reviews {
    background: #ffffff;
    padding: 60px 20px;
}

/* REVIEW FORM */
.review-form {
    max-width: 600px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-form input,
.review-form textarea {
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 16px;
}

/* STAR RATING */
.star-rating {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 30px;
    cursor: pointer;
}

.star-rating span {
    color: #ccc;
}

.star-rating span.active {
    color: #fbbf24;
}

/* REVIEWS SLIDER */
.reviews-wrapper {
    transition: max-height 0.5s ease, opacity 0.5s ease;
    max-height: 0;   /* start hidden */
    opacity: 0;      /* start hidden */
    overflow: hidden;
}

.reviews-wrapper.visible {
    max-height: 1000px; /* adjust for your content */
    opacity: 1;
}

.reviews-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px;
}

/* Hide scrollbar */
.reviews-slider::-webkit-scrollbar {
    display: none;
}

/* REVIEW CARD */
/* Review Card Delete Button */
.review-card {
    flex: 0 0 300px; /* Fixed width */
    background: #f8f9fa;
    padding: 20px 20px 40px 20px; /* extra bottom padding for button */
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    word-wrap: break-word;
    white-space: normal;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative; /* for absolute positioning of button */
}

.review-card .btn-delete {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #f87171; /* red */
    color: white;
    border: none;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.review-card .btn-delete:hover {
    background-color: #ef4444;
}

/* Optional: Reviewer name & stars */
.review-card .reviewer-name {
    font-weight: bold;
    color: #111;
    font-size: 16px;
}

.review-card .review-text {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}


/* SCROLL BUTTONS */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #0ea5e9;
    color: #fff;
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
}

.scroll-btn.left {
    left: 10px;
}

.scroll-btn.right {
    right: 10px;
}

.scroll-btn:hover {
    background: #0284c7;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .review-card {
        flex: 0 0 250px;
    }

    .scroll-btn {
        font-size: 20px;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .review-card {
        flex: 0 0 200px;
    }
}
