/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    color: #333;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* General Styles */
body {
    background-color: #f4f4f4;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Logo Styling */
.logo {
    width: 60px;
    height: auto;
    border-radius: 50%;
    margin-right: 0.8rem;
    vertical-align: middle;
}

/* Header */
header {
    background: rgba(51, 51, 51, 0.9);
    color: #fff;
    padding: 0.3rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: #fff;
    padding: 0.5rem;
}

.nav {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #44a76a;
}

/* Hero Section */
.hero {
    position: relative;
    color: #ffffff;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: 60px;
}

#background-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 101%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    /* background-size: cover; */
    filter: brightness(0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 1rem;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.3rem);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.btn {
    background-color: #8fe158;
    color: #333;
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #7acd47;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* About Us Section */
.about-section {
    padding: 60px 0;
    background-color: #f5f5f5;
    text-align: center;
}
.about-section h2 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #ff6600;
}
.about-section p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #333;
}
.about-section .btn {
    padding: 10px 25px;
    margin: 0 343px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    display: inline-block;
}

/* Card Slider Styles */
.app {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 3rem auto;
    padding: 0 1rem;
    max-width: 1200px;
}

.section-subtitle {
    color: #808080;
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    margin: 2rem 0;
    text-align: center;
}

.cardList {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 400px;
    margin: 2rem 0;
}

.cards__wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.card {
    width: 280px;
    height: 350px;
    position: absolute;
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    opacity: 0.7;
}

.card__image {
    width: 100%;
    height: 70%;
    overflow: hidden;
}

.card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card__content {
    padding: 1rem;
    height: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
}

.card__title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.card__description {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

/* Card positions */
.current--card {
    z-index: 10;
    transform: translateX(0) scale(1);
    opacity: 1;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.next--card {
    z-index: 5;
    transform: translateX(280px) scale(0.9);
}

.previous--card {
    z-index: 5;
    transform: translateX(-280px) scale(0.9);
}

.hidden--card {
    z-index: 1;
    transform: translateX(500px) scale(0.8);
    opacity: 0.3;
}

/* Card slider buttons */
.cardList__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    border: none;
    cursor: pointer;
    z-index: 20;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cardList__btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-50%) scale(1.1);
}

.btn--left {
    left: 10px;
}

.btn--right {
    right: 10px;
}

.icon svg {
    width: 24px;
    height: 24px;
    fill: #333;
}

/* Dots indicator */
.dots {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #B8860B;
    transform: scale(1.2);
}

/* ===== Base Styles (Mobile First) ===== */
.founder-section {
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.founder-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

.founder-photo img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.founder-details {
    text-align: center;
    padding: 0 15px;
}

.founder-details p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* Heading Styles */
.founder-details h2 {
    color: #007bff;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin: 20px 0;
}


/* ===== Tablet View (768px - 1024px) ===== */
@media (min-width: 768px) and (max-width: 1024px) {
    .founder-section .container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        text-align: left;
    }

    .founder-photo {
        flex: 1 1 40%;
        display: flex;
        justify-content: center;
        margin-bottom: 0;
    }

    .founder-details {
        flex: 1 1 55%;
        padding-left: 20px;
    }

    .founder-details h2 {
        text-align: left;
    }
}

/* ===== Laptop/Desktop View (1025px and up) ===== */
@media (min-width: 1025px) {
    .founder-section .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .founder-photo {
        flex: 1;
        max-width: 40%;
        margin-right: 40px;
    }

    .founder-details {
        flex: 2;
        padding: 0;
        text-align: left;
    }

    .founder-details h2 {
        text-align: left;
        font-size: 2rem;
    }

    .founder-details p {
        font-size: 18px;
    }
}


.founder-details {
    flex: 2;
    min-width: 300px;
}

.founder-details h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #007bff;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin: 1rem 0;
}

.founder-details p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    line-height: 1.6;
    text-align: center;
}

/* Tours Section */
.tours-section {
    padding: 3rem 1rem;
    background-color: #d9d9d9;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    width: 100%;
    margin: 0 auto 2rem;
}

.tours-section h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 1rem;
    color: #333;
}

.swiper-container {
    width: 100%;
    padding: 1rem 0;
}

.swiper-slide {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.swiper-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.tour-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.tour-content {
    padding: 1.5rem;
    text-align: center;
}

.tour-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

/* Treks Section */
.treks-section {
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    position: relative;
    overflow: hidden;
}

.treks-section h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
    position: relative;
}

.trek-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 1rem 0;
}

.trek-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.trek-content {
    padding: 1.5rem;
    text-align: center;
}

.trek-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Contact Section */
.contact-section {
    padding: 3rem 1rem;
    background-color: #dad3d3;
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
    font-size: 1rem;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #8fe158;
    background: #fff;
}

.contact-form .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: rgba(51, 51, 51, 0.9);
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: auto;
}

footer p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #8fe158;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Header & Navigation -- START OF MODIFIED SECTION */
    .navbar {
        padding: 0 1rem;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        flex-direction: column;
        /* THIS IS THE NEW BLUE BACKGROUND */
        background: rgba(51, 51, 51, 0.9); 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        /* Adjusted padding for better spacing */
        padding: 1rem; 
        /* Removed backdrop-filter as it's a solid color now */
    }

    .nav.show {
        display: flex;
    }

    .nav-item {
        width: 100%;
        text-align: left;
    }

    .nav-link {
        display: block;
        /* Added vertical padding for better spacing */
        padding: 0rem 1rem; 
        font-size: 1.1rem;
        /* The color is already #fff from the desktop rule, which is perfect */
    }
    /* -- END OF MODIFIED SECTION -- */

    /* Hero Section */
    .hero {
        height: 70vh;
        min-height: 500px;
        margin-top: 60px;
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    /* Card Slider */
    .cardList {
        height: 350px;
        margin: 1rem 0;
    }

    .card {
        width: 250px;
        height: 320px;
    }

    .current--card {
        transform: translateX(0) scale(1);
    }

    .next--card {
        transform: translateX(200px) scale(0.85);
    }

    .previous--card {
        transform: translateX(-200px) scale(0.85);
    }

    .cardList__btn {
        width: 40px;
        height: 40px;
    }

    .btn--left {
        left: 5px;
    }

    .btn--right {
        right: 5px;
    }

    /* Founder Section */
    .container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .founder-photo {
        max-width: 100%;
        margin: 0;
    }

    .founder-photo img {
        max-height: 300px;
    }

    .founder-details {
        max-width: 100%;
    }

    /* Tours & Treks Sections */
    .tours-section,
    .treks-section {
        padding: 2rem 1rem;
    }

    .tour-image img,
    .trek-image img {
        height: 180px;
    }

    .tour-content,
    .trek-content {
        padding: 1rem;
    }

    /* Disable hover effects on mobile */
    .swiper-slide:hover,
    .trek-card:hover {
        transform: none;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    /* About Section */
    .about-section {
        padding: 3rem 1rem;
    }

    .about-section .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    /* Contact Section */
    .contact-section {
        padding: 2rem 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    /* Extra small devices */
    .hero {
        height: 60vh;
        min-height: 600px;
    }

    .cardList {
        height: 300px;
    }

    .card {
        width: 220px;
        height: 280px;
    }

    .next--card {
        transform: translateX(150px) scale(0.8);
    }

    .previous--card {
        transform: translateX(-150px) scale(0.8);
    }

    .card__content {
        padding: 0.8rem;
    }

    .card__title {
        font-size: 1rem;
    }

    .card__description {
        font-size: 0.8rem;
    }

    .brand {
        font-size: 1.3rem;
    }

    .logo {
        width: 50px;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
    .hero {
        height: -webkit-fill-available;
        min-height: -webkit-fill-available;
    }
    
    .card {
        -webkit-transform: translateZ(0);
    }
}

/* Ensure proper scrolling on mobile */
html {
    scroll-behavior: smooth;
}

/* Prevent horizontal scroll */
body {
    width: 100%;
    position: relative;
}