/* Basic styling for the entire document */
body,
html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

/* Navbar styling */
#navbar {
    width: 100%;
    /* Full-width navbar */
    position: fixed;
    /* Stays at the top even when scrolling */
    top: 0;
    display: flex;
    /* Flexbox for alignment */
    justify-content: space-between;
    /* Space between logo and nav links */
    align-items: center;
    padding: 10px 20px;
    transition: background-color 0.3s;
    /* Smooth transition for background */
    z-index: 1000;
    /* Ensures it stays on top of other content */
}

/* Transparent state of the navbar */
#navbar.transparent {
    background-color: transparent;
}

/* Solid state of the navbar */
#navbar.solid {
    background-color: white;
    /* White background */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
}

/* Logo styling */
.logo {
    font-size: 24px;
    color: #006994;
    /* Sea blue color */
    font-weight: bold;
}

/* Styling for the navigation links */
.nav-links {
    display: flex;
    align-items: center;
    margin-right: 40px;
}

/* Individual nav link styling */
.nav-links a {
    margin-left: 20px;
    text-decoration: none;
    /* Removes underline */
    color: #006994;
    /* Sea blue */
    font-size: 18px;
    transition: color 0.2s;
    /* Smooth color change */
}

/* Hover effect for nav links */
.nav-links a:hover {
    color: #004d73;
    /* Darker blue */
}

/* Video section styling */
.video-section {
    height: 70vh; /* Takes 70% of the viewport height */
    position: relative;
    overflow: hidden;/* Ensures video doesn't overflow */
}

/* Video element styling */
.background-video {
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    object-fit: cover;
    /* Ensures video covers the section */
}

/* Overlay text on the video */
.video-overlay {
    position: absolute;
    top: 50%;
    /* Centered vertically */
    left: 50%;
    /* Centered horizontally */
    transform: translate(-50%, -50%);
    /* Aligns perfectly to the center */
    text-align: center;
    color: white;
    /* White text */
}

/* Heading inside the video overlay */
.video-overlay h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    animation: fadeIn 1.5s ease-in-out;
}

.video-overlay p {
    font-size: 1.2rem;
    animation: fadeIn 2s ease-in-out;
}

/* Second section */
#destinations {
    height: auto;
    position: relative;
    overflow: hidden; /* Ensures video doesn't overflow */
    background-color: #E6E6FA;
}

h2 {
    color: #1d72e8;
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

/* Country container layout */
.card-container {
    display: flex;
    flex-wrap: wrap; /* Wraps items to the next line */
    gap: 2rem; /* Space between items */
    padding: 1rem 1rem 3rem 1rem;
    justify-content: center;
    /* Centers items */
    align-items: center;
    /* Centers items vertically */
}

/* Country flag image styling */
.country-flag {
    width: 100%;
    /* Full width of parent */
    height: 100px;
    /* Fixed height */
    object-fit: cover;
    /* Covers the area */
}

.country-name {
    text-align: center;
}

/* Country card styling */
.country-card {
    width: 200px;
    /* Fixed width */
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    overflow: hidden;
    /* Ensures content doesn't overflow */
    background-color: #ffffff;
    /* White background */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    transition: transform 0.3s, box-shadow 0.3s;
    /* Smooth scaling */
}

/* Hover effect for country card */
.country-card:hover {
    transform: scale(1.05);
    /* Slight zoom effect */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    /* Stronger shadow */
    cursor: pointer;
    /* Pointer cursor */
}



/* Footer styling */
footer {
    text-align: center;
    /* Centered text */
    padding: 1rem;
    background-color: #0077b6;
    /* Blue background */
    color: #fff;
    /* White text */
}

/* Third section */

#why-use {
    width: 100vw;
    text-align: center;
}

.feature-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    padding: 20px 20px 5rem 20px;
    background-color: white;
}

.feature-box {
    background-color: #E6E6FA;
    width: 200px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex: 1 1 calc(45% - 20px);
    max-width: 200px;
}

.feature-box img {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 1.2em;
    color: #1d72e8;
    font-weight: bold;
    margin-bottom: 10px;
}

.feature-description {
    color: #555;
    font-size: 0.9em;
    line-height: 1.4em;
}

/* Responsive Styling */
@media (max-width: 600px) {
    .feature-box {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .why-use h2 {
        font-size: 1.5em;
    }
}

/* Forth Section */

/* CSS */
.about {
    position: relative;
    color: #333;
    padding: 100px 20px;
    text-align: center;
    overflow: hidden;
}

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

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    /* White background with opacity */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
    font-size: 2em;
    color: #1d72e8;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1em;
    line-height: 1.6;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.about-features div {
    text-align: left;
}

.about-features h3 {
    font-size: 1.2em;
    color: #0073e6;
    /* Adjust to preferred accent color */
}

.about-features p {
    font-size: 0.95em;
}

/* Responsive */
@media (min-width: 768px) {
    .about-features {
        flex-direction: row;
        justify-content: space-between;
    }

    .about-features div {
        flex: 1;
        padding: 0 10px;
    }
}