/* Base Styles for React-like App */
:root {
    --primary-green: #2D6D62;
    --secondary-green: #2EA891;
    --white: #ffffff;
    --black: #1a1a1a;
    --gray: #f8f9f8;
    --light-gray: #f0f2f5;
    --text-color: #333;
    --border-radius: 8px;
    --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation;
}

/* Loading Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Page Transition */
.page-enter {
    opacity: 0;
    transform: translateY(10px);
}

.page-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 300ms, transform 300ms;
}

.page-exit {
    opacity: 1;
}

.page-exit-active {
    opacity: 0;
    transition: opacity 300ms;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
    opacity: 0;
    animation: fadeIn 0.3s ease-in forwards;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

/* Typography Scale */
h1, .h1 { font-size: 2.25rem; line-height: 1.2; margin-bottom: 1.5rem; }
h2, .h2 { font-size: 1.875rem; line-height: 1.25; margin-bottom: 1.25rem; }
h3, .h3 { font-size: 1.5rem; line-height: 1.3; margin-bottom: 1rem; }
h4, .h4 { font-size: 1.25rem; line-height: 1.4; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; line-height: 1.6; }

/* Responsive Typography */
@media (max-width: 768px) {
    h1, .h1 { font-size: 1.75rem; }
    h2, .h2 { font-size: 1.5rem; }
    h3, .h3 { font-size: 1.25rem; }
    p, li, a { font-size: 0.95rem; }
}

/* Text Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-uppercase { text-transform: uppercase; }
.text-bold { font-weight: 700; }
.text-primary { color: var(--primary-green); }
.text-secondary { color: var(--secondary-green); }

#root {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Adventure page specific styles */

/* Services Section */
.booking-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.25rem;
}

.services-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* Services Content */
.services-content h2 {
    color: #1a3c34;
    font-size: 2rem;
    line-height: 1.2;
    margin: 0 0 0.75rem;
    font-weight: 700;
}

.services-content .lead {
    color: #4a5d56;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.services-grid {
    display: grid;
    gap: 1rem; /* Reduced from 2rem */
}

.service-category h3 {
    color: var(--primary-green);
    font-size: 1.2rem;
    margin: 0 0 0.5rem; /* Reduced bottom margin */
    padding-bottom: 0.3rem; /* Reduced padding */
    border-bottom: 2px solid #e1e9e7;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0; /* Reduced bottom margin */
    display: grid;
    gap: 0.4rem; /* Slightly reduced gap */
}

.services-list li {
    color: #3a4a44;
    font-size: 1rem;
    line-height: 1.5;
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    position: relative;
}

.services-list li::before {
    content: '•';
    color: var(--secondary-green);
    position: absolute;
    left: 0.25rem;
    font-weight: bold;
}

/* Booking Card */
.booking-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 1.5rem;
    border: 1px solid #e1e9e7;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-start; /* Changed to flex-start to reduce space between sections */
}

.card-header {
    background: var(--primary-green);
    color: white;
    padding: 0.7rem 1.25rem; /* Reduced padding */
    text-align: center;
    flex-shrink: 0;
}

.card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.booking-features {
    padding: 0.25rem 1.25rem; /* Further reduced vertical padding */
    border-bottom: 1px solid #eaeaea;
    flex-shrink: 0;
    margin: 0;
    position: relative;
    z-index: 0;
}

.booking-features .feature {
    display: flex;
    align-items: center;
    margin: 0.1rem 0; /* Reduced margin between features */
    color: #4a5d56;
    font-size: 0.85rem; /* Slightly smaller font */
    line-height: 1.2; /* Tighter line height */
    min-height: 1.3rem; /* Reduced minimum height */
}

.booking-features .feature:last-child {
    margin-bottom: 0;
}

.booking-cta {
    padding: 0.1rem 0.1rem; /* Further reduced vertical padding */
    margin: 1.5rem 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center; /* Center vertically */
    flex: 1 1 auto; /* Allow to grow and shrink */
    min-height: 0; /* Allow it to shrink below min-content */
    position: relative;
    z-index: 1; /* Ensure button stays above other elements */
    margin-bottom: -0.3rem; /* Pull up the trip notes slightly */
}

.booking-cta .btn.book-now {
    display: block;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white !important;
    border-radius: 50px;
    margin: 0.5rem 0 0; /* Added top margin to push button down */
    width: 100%;
    max-width: 260px;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.9rem 2rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 15px rgba(46, 168, 145, 0.3);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.booking-cta .btn.book-now:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(46, 168, 145, 0.4);
    background: linear-gradient(135deg, var(--secondary-green), var(--primary-green));
}

.trip-notes {
    background: #f8f9f8;
    border-top: 1px solid #e1e9e7;
    padding: 0.6rem 1.25rem; /* Reduced padding */
    margin: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 0;
    margin-top: -0.5rem; /* Pull up slightly towards the button */
}

.trip-notes h4 {
    color: var(--primary-green);
    margin: 0 0 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trip-notes ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.trip-notes li {
    margin-bottom: 0.3rem;
    font-size: 0.8rem;
    line-height: 1.35;
    color: #4a5d56;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .services-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .booking-card {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .services-content .lead {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .booking-container {
        padding: 3rem 1.5rem;
        text-align: center;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .services-layout {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
    
    .services-content {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .service-category {
        width: 100%;
    }
    
    .services-list {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .services-content h2 {
        font-size: 1.75rem;
        text-align: center;
        margin: 0 auto 1rem;
        max-width: 90%;
    }
    
    .services-content .lead {
        font-size: 1.05rem;
        text-align: center;
        max-width: 600px;
        margin: 0 auto 2rem;
        line-height: 1.6;
    }
    
    .services-grid {
        gap: 2rem;
    }
    
    .card-header h3 {
        font-size: 1.5rem;
    }
    
    .booking-cta .btn.book-now {
        padding: 1.1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .services-list {
        grid-template-columns: 1fr;
    }
    
    .card-header {
        padding: 1.8rem 1.5rem 2.2rem;
    }
    
    .booking-features,
    .booking-cta,
    .trip-notes ul {
        padding-left: 1.2rem;
        padding-right: 1.5rem;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .services-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .booking-details {
        position: static;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .booking-cta .btn.book-now {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .booking-container {
        padding: 1.5rem 1rem;
    }
    
    .booking-container h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .services-content p {
        font-size: 1.05rem;
    }
    
    .services-list {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin: 1.5rem 0;
    }
    
    .services-list li {
        padding: 0.6rem 0.8rem 0.6rem 2rem;
    }
    
    .booking-features {
        padding: 1.25rem 1rem;
    }
    
    .booking-features p {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .trip-notes {
        padding: 1.25rem;
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 5%;
        height: 60px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: rgba(255, 255, 255, 0.98) !important;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        z-index: 1000;
    }
    
    .mobile-book-now {
        display: inline-flex !important;
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        height: 36px;
        align-items: center;
        background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
        color: white !important;
        border-radius: 50px;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
        box-shadow: 0 2px 8px rgba(45, 109, 98, 0.2);
        position: relative;
        z-index: 1001;
    }
    
    .desktop-book-now {
        display: none !important;
    }
    
    .nav-buttons {
        gap: 10px;
        display: flex;
        align-items: center;
        position: relative;
        z-index: 1001;
    }
    
    .hamburger {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Adjust logo size */
    .logo {
        font-size: 1.25rem;
    }
    
    /* Adjust hero content */
    .hero-content {
        padding: 4rem 1.25rem 2.5rem !important;
        margin-top: 60px; /* Account for fixed header */
    }
    
    .hero-content h1 {
        font-size: 1.75rem !important;
        line-height: 1.2;
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }
    
    .hero-content p {
        font-size: 0.95rem !important;
        line-height: 1.6;
        padding: 0 0.5rem;
    }
    
    .hero-content h1 {
        font-size: 1.75rem !important;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 0.95rem !important;
        line-height: 1.5;
    }
    
    /* Adjust section paddings */
    section {
        padding: 2.5rem 1.25rem !important;
        scroll-margin-top: 70px; /* Account for fixed header */
    }
    
    /* Ensure proper spacing for fixed header */
    #services, #contact, #about {
        scroll-margin-top: 70px;
    }
    
    /* Adjust headings */
    h2 {
        font-size: 1.75rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    h3 {
        font-size: 1.25rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Adjust buttons */
    .btn, button, a[role="button"] {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.6rem 1.2rem !important;
        font-size: 0.95rem !important;
    }
    
    /* Adjust service cards */
    .service-card {
        min-width: 280px !important;
        padding: 1.5rem !important;
        margin: 0 0.5rem 1rem !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .service-grid {
        padding: 0.5rem 1rem !important;
        -webkit-overflow-scrolling: touch;
    }
    
    .service-card h3 {
        font-size: 1.2rem !important;
    }
    
    .service-card p {
        font-size: 0.9rem !important;
    }
    
    /* Adjust feature cards */
    .feature-card {
        min-width: 100% !important;
        margin: 0 0 1.5rem 0 !important;
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 5%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    height: 64px;
    box-sizing: border-box;
}

/* Nav Buttons Container */
.nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

/* Mobile Book Now Button */
.mobile-book-now {
    display: none;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(45, 109, 98, 0.2);
}

.mobile-book-now:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 109, 98, 0.3);
}

/* Desktop Book Now Button */
.desktop-book-now {
    display: inline-flex;
}

/* Hero Section with Video Background */
.adventure-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 6rem 1.5rem 4rem;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.hero-content h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.hero-content p {
    font-size: clamp(0.85rem, 2vw, 1rem);
    line-height: 1.5;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    max-width: 700px;
    padding: 0 1rem;
}

.hero-logo {
    width: 160px;
    margin: 0 0 0.5rem;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Brochure Section */
.brochure {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--gray);
}

.brochure h2 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.brochure p {
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.8;
}

.brochure .btn {
    display: inline-block;
    min-width: 200px;
}

/* Features Section */
.features,
.services {
    padding: clamp(2rem, 6vw, 4rem) 0;
    position: relative;
    overflow: hidden;
}

.features .scroll-container {
    position: relative;
    padding: 0 4rem;
    margin: 0 -2rem;
    overflow: hidden;
}

.features-grid,
.service-grid {
    display: flex;
    gap: clamp(1rem, 3vw, 2rem);
    padding: clamp(1rem, 3vw, 2rem);
    overflow-x: auto;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 auto;
    max-width: 1200px;
}

.features-grid::-webkit-scrollbar,
.service-grid::-webkit-scrollbar {
    display: none;
}

.features-grid::-webkit-scrollbar {
    display: none;
}

/* Features scroll buttons */
.features .scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Services scroll buttons */
.services .scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 60px;
    background: var(--primary-green);
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}

.services .scroll-button:hover {
    opacity: 1;
}

.features .scroll-button:hover {
    background: var(--primary-green);
}

.features .scroll-button::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--primary-green);
    border-right: 2px solid var(--primary-green);
    transition: border-color 0.3s ease;
}

.features .scroll-button:hover::before {
    border-color: var(--white);
}

.services .scroll-button::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-top: 2px solid var(--white);
    border-right: 2px solid var(--white);
}

.features .scroll-button.left {
    left: 1.5rem;
}

.features .scroll-button.right {
    right: 1.5rem;
}

.services .scroll-button.left {
    left: 0;
    border-radius: 0 4px 4px 0;
}

.services .scroll-button.right {
    right: 0;
    border-radius: 4px 0 0 4px;
}

.features .scroll-button.left::before {
    transform: rotate(-135deg);
}

.features .scroll-button.right::before {
    transform: rotate(45deg);
}

.services .scroll-button.left::before {
    transform: rotate(-135deg);
    margin-left: 5px;
}

.services .scroll-button.right::before {
    transform: rotate(45deg);
    margin-right: 5px;
}

.feature {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    min-height: auto;
    text-align: center;
    max-width: 100%;
}

.feature h3 {
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.feature p {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    line-height: 1.6;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature p {
    color: var(--black);
    opacity: 0.8;
    line-height: 1.5;
    margin: 0;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .feature {
        flex: 0 0 260px;
        padding: 1.25rem;
    }

    .feature p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .features .scroll-container {
        padding: 0 2rem;
    }

    .features .scroll-button {
        width: 32px;
        height: 32px;
    }

    .features .scroll-button.left {
        left: 0.5rem;
    }

    .features .scroll-button.right {
        right: 0.5rem;
    }
}

.feature-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 109, 98, 0.1);
    border-radius: 50%;
    color: var(--primary-green);
    font-size: 1.5rem;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.3;
}

.feature p {
    color: var(--text-color);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    flex-grow: 1;
}

.feature h3 {
    color: var(--primary-green);
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    line-height: 1.3;
}

.feature p {
    color: var(--black);
    opacity: 0.8;
    line-height: 1.5;
    margin: 0;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.feature-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-width: 260px;
    max-width: 320px;
    margin: 0 auto;
}

.feature:hover {
    transform: translateY(-5px);
}

/* Services Section */
.services {
    padding: 3rem 0;
    background: var(--light-bg);
    position: relative;
}

.services .scroll-container {
    position: relative;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.services h2 {
    text-align: center;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.services .swipe-text {
    text-align: center;
    color: var(--black);
    opacity: 0.7;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.services .scroll-container {
    position: relative;
    padding: 0 4rem;
    margin: 0 -2rem;
}

.service-grid {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.service-grid::-webkit-scrollbar {
    display: none;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.service-card h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.service-card .duration,
.service-card .price {
    margin: 0.5rem 0;
    font-weight: bold;
    min-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card .description {
    margin: 1rem 0;
    opacity: 0.8;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Scrollable Sections */
.scroll-container {
    position: relative;
}

.scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-button:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.scroll-button.left {
    left: -20px;
}

.scroll-button.right {
    right: -20px;
}

.scroll-button::before {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--primary-green);
    border-bottom: 2px solid var(--primary-green);
    transform: rotate(-45deg);
}

.scroll-button.left::before {
    transform: rotate(135deg);
}

.service-grid,
.team-grid {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    overflow-x: auto;
    padding: 1rem 2rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.service-grid::-webkit-scrollbar,
.team-grid::-webkit-scrollbar {
    height: 8px;
}

.service-grid::-webkit-scrollbar-track,
.team-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.service-grid::-webkit-scrollbar-thumb,
.team-grid::-webkit-scrollbar-thumb {
    background: var(--secondary-green);
    border-radius: 4px;
}

.service-grid::-webkit-scrollbar-thumb:hover,
.team-grid::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green);
}

.service-card {
    min-width: clamp(260px, 80vw, 300px);
    scroll-snap-align: start;
    background: var(--white);
    padding: clamp(1.5rem, 4vw, 2rem);
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px;
    justify-content: space-evenly;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(46, 168, 145, 0.15);
}

.service-card .btn.book-now {
    margin: auto auto 0;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(46, 168, 145, 0.2);
    border: none;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
    display: block;
    width: fit-content;
}

.service-card .btn.book-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 168, 145, 0.3);
    background: linear-gradient(135deg, var(--secondary-green), var(--primary-green));
}

.service-card .btn.book-now::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.service-card .btn.book-now:hover::before {
    left: 100%;
}

.service-card .btn.book-now.secondary {
    background: var(--white);
    color: var(--primary-green);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.service-card .btn.book-now.secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.duration {
    color: var(--black);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    min-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-green);
    margin: 0.5rem 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.description {
    margin-bottom: 1.5rem;
    color: #666;
}

.service-card.custom {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
}

.service-card.custom h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.service-card.custom .description {
    color: var(--white);
    opacity: 0.9;
    margin: 0.5rem auto 1.5rem;
    min-height: unset;
    padding: 0 0.5rem;
}

.service-card.custom .btn.book-now {
    background: var(--white);
    color: var(--primary-green);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.service-card.custom .btn.book-now:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.disclaimer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #666;
}

/* Trip Notes Section */
.trip-notes {
    max-width: 800px;
    margin: 2.5rem auto 0;
    padding: 1.5rem 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-green);
}

.trip-notes h4 {
    color: var(--primary-green);
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
    text-align: center;
    font-weight: 600;
}

.trip-notes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trip-notes li {
    padding: 0.3rem 0;
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
    font-size: 0.9rem;
}

.note-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
    font-weight: bold;
    flex-shrink: 0;
}

/* Style for checkmark items */
.trip-notes li:not(.note)::before {
    content: '✓';
    color: var(--primary-green);
    margin-right: 10px;
    font-weight: bold;
}

/* Style for exclamation mark items */
.trip-notes li.note::before {
    content: '!';
    color: #e67e22;
    margin-right: 10px;
    font-weight: bold;
}

/* Remove default list style */
.trip-notes li {
    list-style: none;
}

@media (max-width: 768px) {
    .trip-notes {
        margin: 2rem 1rem 0;
        padding: 1.25rem;
    }
}

/* Features Section */
.features {
    padding: 3rem 0;
    text-align: center;
    background: linear-gradient(180deg, var(--gray) 0%, #ffffff 100%);
    position: relative;
}

.features h2 {
    color: var(--primary-green);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.features h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    color: var(--primary-green);
    max-width: 800px;
    margin: 0 auto 1rem;
}

.swipe-hint {
    text-align: center;
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin: 0.5rem 0;
    opacity: 0.8;
    letter-spacing: 0.5px;
}

.features {
    max-width: 100%;
    margin: 4rem 0;
    padding: 4rem 0;
    background: #f8f9fa;
}

.features-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.features-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.feature {
    flex: 0 0 320px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 109, 98, 0.1);
    border-radius: 50%;
    color: var(--primary-green);
    font-size: 1.5rem;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.3;
}

.feature p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.feature h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.feature p {
    color: var(--text-color);
    line-height: 1.7;
    opacity: 0.9;
    font-size: 0.95rem;
}

.scroll-progress {
    position: relative;
    width: 200px;
    height: 4px;
    background: rgba(45, 109, 98, 0.1);
    margin: 3rem auto 0;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--primary-green);
    width: 100%;
    animation: progress 40s linear infinite;
}

@keyframes progress {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

@media (max-width: 768px) {
    .features {
        padding: 4rem 1rem;
    }

    .features h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .features-grid {
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem;
    }
}

/* Team Section */
.team {
    padding: 3rem 1.25rem;
    background: var(--gray);
}

.team-grid {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.team-member {
    min-width: 300px;
    scroll-snap-align: start;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.team-member h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.role {
    color: var(--secondary-green);
    font-weight: 500;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: auto;
    min-height: 32px;
    padding-top: 1.5rem;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-green);
    color: white;
    transition: all 0.3s ease;
    position: relative;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.social-icon.instagram::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Contact Form */
.contact {
    padding: 5rem 1.25rem;
    background-color: #f8f9f8;
}

.contact .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-green);
    font-size: 2.25rem;
}

/* Brochure Section */
.brochure {
    padding: 2.5rem 0;
    background: #f9f9f9;
}

.brochure .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-form {
    max-width: 600px;
    margin: 3rem auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--black);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #fff;
    color: var(--black);
}

/* Placeholder styles */
.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group select:invalid {
    color: #999;
    font-family: inherit;
    opacity: 1;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 1em;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select option,
.form-group select optgroup {
    color: var(--black);
    padding: 0.5rem;
    font-size: 1rem;
}

.form-group select optgroup {
    font-weight: 600;
    color: var(--primary-green);
    background-color: rgba(45, 109, 98, 0.05);
}

.form-group select option {
    font-weight: normal;
    padding: 0.8rem;
    background-color: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-size: 0.95rem;
}

/* Multi-step form styles */
.form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.form-buttons .btn {
    flex: 1;
}

.btn.secondary {
    background-color: #f5f5f5;
    color: var(--black);
    border: 2px solid #eee;
}

.btn.secondary:hover {
    background-color: #eee;
    border-color: #ddd;
}

.form-step {
    transition: all 0.3s ease;
}

.form-status.info {
    background-color: #e3f2fd;
    color: #1976d2;
    border: 1px solid #bbdefb;
}

.form-status.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.form-status.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* Section Headers */
/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 800px;
    overflow-y: auto;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.contact-form .required {
    color: #e74c3c;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    width: 100%;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 2px rgba(45, 109, 98, 0.2);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .submit-btn {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-form .submit-btn:active {
    transform: translateY(0);
}

#charCount {
    color: #666;
    font-size: 0.8rem;
    font-weight: normal;
    float: right;
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
        height: auto;
    }
    
    .contact-form .submit-btn {
        width: 100%;
    }
}

section h2 {
    text-align: center;
    color: var(--primary-green);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Responsive Design */
/* xs: 0px - 599px */
@media (max-width: 599px) {
    /* Mobile-first styles */
}

/* sm: 600px - 899px */
@media (min-width: 600px) and (max-width: 899px) {
    /* Small tablet styles */
}

/* md: 900px - 1199px */
@media (min-width: 900px) and (max-width: 1199px) {
    /* Large tablet/small desktop styles */
}

/* lg: 1200px - 1535px */
@media (min-width: 1200px) and (max-width: 1535px) {
    /* Desktop styles */
}

/* xl: 1536px+ */
@media (min-width: 1536px) {
    /* Large desktop styles */
}

/* Mobile-first media queries */
@media (max-width: 768px) {
    .service-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.5rem;
    }

    section {
        padding: 3rem 5%;
    }
}

/* Contact Section Layout */
.contact-container {
    display: flex;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: stretch;
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.map-container {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.map-wrapper {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.get-directions-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: #2EA891;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.get-directions-btn:hover {
    background: #2D6D62;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .contact-container {
        flex-direction: column;
        gap: 2rem;
    }

    .map-wrapper {
        min-height: 300px;
    }
}
