@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #1e3a8a; /* Deep Blue matching the image */
    --primary-light: #3b82f6;
    --primary-dark: #172554;
    --secondary-color: #3b82f6; /* Lighter Blue for buttons/accents */
    --accent-yellow: #fca510; /* Gold/Orange accent */
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --light-bg: #f9fafb;
    --white: #ffffff;
    --gradient-hero: linear-gradient(90deg, #1e3a8a 0%, #115e59 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.d-flex { display: flex; align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 1rem; }
.btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: #2563eb;
    color: white;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(37, 99, 235, 0.4); }
.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    color: white;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-size: 2rem; color: var(--text-dark); margin-bottom: 0.5rem; font-weight: 700; }
.section-title p { color: var(--secondary-color); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; }

/* Package Grid Utility for category pages */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}


/* Header */
header {
    background-color: #ffffff !important;
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 9999;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 800; color: var(--primary-color); }
.logo img { height: 40px; }
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
    z-index: 10000;
}
.nav-links { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.nav-links a { 
    text-decoration: none; 
    font-weight: 500; 
    font-size: 0.95rem; 
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.4s ease;
}
.nav-links a:not(.btn):hover,
.nav-links a.active { 
    background-color: var(--secondary-color); 
    color: var(--white);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* Hero Section */
.hero {
    background: radial-gradient(circle at 30% 50%, #1e3a8a 0%, #115e59 100%);
    color: white;
    padding: 40px 0 150px;
    position: relative;
    overflow: hidden;
}
.hero-wrapper { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.hero-text { flex: 1; max-width: 600px; z-index: 2; }
.hero-tag {
    background: rgba(255,255,255,0.15);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}
.hero-title { 
    font-size: 3.5rem; 
    line-height: 1.2; 
    font-weight: 800; 
    margin-bottom: 20px; 
    color: #ffffff !important; 
    text-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.hero-desc { 
    font-size: 1.1rem; 
    opacity: 0.95; 
    margin-bottom: 30px; 
    color: #ffffff !important;
}
.hero-image { flex: 1; text-align: right; position: relative; z-index: 2; }
.hero-image img { 
    max-width: 100%; 
    border-radius: 20px; 
    /* box-shadow: 0 20px 40px rgba(0,0,0,0.3); */
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Wave Shape Divider */
/* Wave Shape Divider & Animation */
.custom-shape-divider-bottom-1678 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 5;
}

.waves {
    position: relative;
    width: 100%;
    height: 120px;
    margin-bottom: -7px; /* Fix for safari gap */
    min-height: 100px;
    max-height: 150px;
}

/* Animation */
.parallax > use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% { transform: translate3d(-90px, 0, 0); }
    100% { transform: translate3d(85px, 0, 0); }
}

@media (max-width: 768px) {
    .waves {
        height: 80px;
        min-height: 80px;
    }
}


/* Search Bar/Filter */
.search-container {
    margin-top: -40px;
    position: relative;
    z-index: 10;
    margin-bottom: 80px;
}
/* Search/Filter Bar */
.search-container {
    background: linear-gradient(90deg, #3b82f6 0%, #15803d 100%);
    border-radius: 50px;
    padding: 0;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}
.search-item { 
    display: flex; 
    align-items: center; 
    justify-content: center;
    gap: 15px; 
    cursor: pointer; 
    transition: 0.3s; 
    font-weight: 700; 
    color: white;
    flex: 1;
    padding: 20px;
    font-size: 1.1rem;
    position: relative;
}
.search-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(255,255,255,0.3);
}
.search-item:hover, .search-item.active { 
    background: rgba(255,255,255,0.2); 
}
.search-item i { font-size: 1.5rem; }

/* About Section */
.about-section { padding: 50px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-img img { width: 100%; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* Promo Special - Blue Grid */
.promo-section { padding: 80px 0; background: #f8fafc; }
.promo-grid { 
    display: grid; 
    grid-template-columns: 30% 1fr; 
    gap: 20px; 
    align-items: stretch;
}
.promo-card-main {
    background: linear-gradient(135deg, #2563eb 0%, #115e59 100%);
    border-radius: 20px;
    padding: 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.promo-card-main h2, 
.promo-card-main p { 
    color: white !important; 
    position: relative; 
    z-index: 2; 
}
.promo-card-main::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.promo-card-main::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.promo-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.package-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border: 1px solid #eee;
}
.package-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.package-img { height: 180px; background-size: cover; background-position: center; position: relative; }
.package-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffaa00;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}
.package-content { padding: 20px; }
.package-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 5px; color: var(--primary-color); }
.package-price { font-size: 1.3rem; color: #2563eb; font-weight: 800; margin: 10px 0; }
.package-meta { display: flex; gap: 15px; font-size: 0.85rem; color: #666; margin-bottom: 15px; }
.package-meta i { color: #2563eb; }

/* Testimonials */
.testimonials { padding: 80px 0; text-align: center; background: #fff; }
.testi-badge {
    background: linear-gradient(90deg, #2563eb, #115e59);
    color: white;
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}
.testi-subtitle {
    color: #666;
    margin-bottom: 50px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: left;
    border: 1px solid #f3f4f6;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    z-index: 5;
}
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
}
.testimonial-card:nth-child(1)::before { background: linear-gradient(90deg, #a855f7, #d8b4fe); }
.testimonial-card:nth-child(2)::before { background: linear-gradient(90deg, #115e59, #2563eb); }
.testimonial-card:nth-child(3)::before { background: linear-gradient(90deg, #a855f7, #d8b4fe); }

/* Removed static scale for 2nd child to let hover be the interaction model, or keep it but handle hover on top */
.testimonial-card:nth-child(2) {
    /* transform: scale(1.05); remove static scale if we want dynamic hover for all, or keep it but ensure hover works */
    border-color: #e5e7eb;
}
.testi-quote {
    color: #4b5563;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1rem;
}
.user-profile { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    padding-top: 20px; 
    border-top: 1px solid #f3f4f6; 
}
.user-img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }

/* FAQ */
.faq-section { 
    padding: 80px 0; 
    background: #f9fafb; 
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 20px 20px;
}
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { 
    background: white; 
    border-radius: 12px; 
    margin-bottom: 20px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid #f3f4f6;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item:hover { transform: translateY(-2px); box-shadow: 0 10px 15px rgba(0,0,0,0.05); }
.faq-item.active { border-color: #bfdbfe; box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1); }
.faq-question { 
    padding: 25px 30px; 
    cursor: pointer; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    font-weight: 600; 
    color: var(--text-dark);
    font-size: 1.1rem;
}
.faq-question i.fa-chevron-down { transition: transform 0.3s; color: #9ca3af; }
.faq-item.active .faq-question i.fa-chevron-down { transform: rotate(180deg); color: var(--primary-color); }
.faq-question .q-icon { color: #2563eb; margin-right: 15px; font-size: 1.2rem; }
.faq-answer { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.3s ease-out; 
    padding: 0 30px;
    color: #4b5563;
    line-height: 1.6;
}
.faq-item.active .faq-answer { 
    max-height: 500px; /* Approximate max height */
    padding-bottom: 30px; 
    transition: max-height 0.3s ease-in;
}
.faq-answer ul { padding-left: 20px; margin-top: 10px; }
.faq-answer li { margin-bottom: 8px; }

/* CTA Footer */
.cta-footer {
    background: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%);
    padding: 100px 0;
    color: white;
    position: relative;
    overflow: hidden;
}
.cta-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}
.cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 2;
}
.cta-glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 50px;
    max-width: 600px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
}
.cta-desc {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}
.cta-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.cta-image img {
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
}
.btn-cta-white {
    background: white;
    color: #4f46e5;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}
.btn-cta-white:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.btn-cta-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}
.btn-cta-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }

@media (max-width: 900px) {
    .cta-wrapper { flex-direction: column; text-align: center; }
    .cta-glass-card { margin: 0 auto; text-align: left; }
    .cta-image img { max-height: 300px; margin-top: 30px; }
}

/* Main Footer */
footer { 
    background: #1f2022; 
    color: #9ca3af; 
    padding: 70px 0 0; 
    font-size: 0.95rem; 
}
.footer-grid { 
    display: grid; 
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr; 
    gap: 40px; 
    padding-bottom: 50px;
}
.footer-col h4 { 
    color: white; 
    margin-bottom: 25px; 
    font-size: 1.1rem; 
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #2563eb;
    border-radius: 2px;
}
.footer-links li { margin-bottom: 15px; }
.footer-links a { 
    color: #9ca3af; 
    transition: 0.3s; 
    display: block;
    text-decoration: none;
}
.footer-links a:hover { color: white; transform: translateX(5px); }
.contact-item { 
    display: flex; 
    gap: 15px; 
    margin-bottom: 25px; 
    align-items: flex-start; 
}
.contact-icon { 
    color: #2563eb; 
    font-size: 1.2rem;
    margin-top: 3px; 
}
.contact-label {
    display: block;
    color: white;
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 1rem;
}
.contact-value {
    color: #9ca3af;
    font-size: 0.9rem;
}
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}
.social-btn {
    width: 40px;
    height: 40px;
    background: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: 0.3s;
    text-decoration: none;
}
.social-btn:hover { background: #2563eb; transform: translateY(-3px); }
.copyright { 
    background: #111827;
    text-align: center; 
    padding: 25px 0; 
    font-size: 0.9rem; 
    color: #9ca3af;
    margin-top: 0;
}
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.4s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}
.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top:hover { transform: translateY(-3px); background: #1d4ed8; }

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links { 
        display: flex;
        flex-direction: column;
        position: fixed;
        left: -110%;
        top: 70px;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        padding: 40px 20px;
        transition: 0.4s ease;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 9998;
        align-items: center;
        gap: 20px;
    }
    .nav-links.active { 
        left: 0; 
        display: flex !important;
    }
    .nav-links li { width: 100%; text-align: center; }
    .nav-links a { width: 100%; text-align: center; font-size: 1.1rem; }
    .nav-links a.btn { width: auto; display: inline-block; }
    
    .hero-wrapper { flex-direction: column; text-align: center; }
    .hero-text { margin-bottom: 40px; }
    .hero-title { font-size: 2.5rem; }
    
    .promo-grid, .about-grid, .testimonial-grid, .footer-grid { 
        grid-template-columns: 1fr !important; 
        gap: 50px !important; 
    }
    .testimonial-card { 
        margin-bottom: 0; 
        width: 100%;
        box-sizing: border-box;
    }
    .search-box { flex-direction: column; gap: 20px; }

    /* Mobile grid overrides */
    .promo-list, .package-grid { 
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}



/* Standard Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 99999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 5px;
    animation: zoom 0.6s;
}
@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}
.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}
.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
.clickable-img {
    cursor: pointer;
    transition: 0.3s;
}
.clickable-img:hover {
    opacity: 0.9;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Registration Modal Styles */
.modal-content-form {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    position: relative;
    animation: zoom 0.3s;
}
.modal-header { margin-bottom: 25px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.modal-header h3 { color: var(--primary-color); margin-bottom: 5px; }
.modal-header p { color: #666; font-size: 0.9rem; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--text-dark); }
.form-group input { 
    width: 100%; 
    padding: 12px 15px; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    box-sizing: border-box; 
    font-family: inherit;
    transition: 0.3s;
}
.form-group input:focus { border-color: var(--primary-color); outline: none; box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1); }

/* Ensure close button is visible on white background for booking modal */
.modal-content-form .close-modal {
    color: var(--text-dark);
    right: 20px;
    top: 10px;
    z-index: 100;
}
.modal-content-form .close-modal:hover {
    color: var(--primary-color);
}

/* Article Page Custom Styles */
.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}
.article-card:hover .article-img {
    filter: brightness(1.1);
}
.article-body .btn-primary {
    background: linear-gradient(90deg, #1e3a8a, #3b82f6);
    border: none;
    transition: 0.3s;
}
.article-body .btn-primary:hover {
    filter: saturate(1.2);
    transform: scale(1.02);
}
