/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f9f9f9;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navigation Styles */
nav {
    background-color: #2d3436;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

nav .logo a {
    font-size: 1.8em;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

nav .nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

nav .nav-links li {
    margin-left: 20px;
}

nav .nav-links a {
    color: #dfe6e9;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background 0.3s;
}

nav .nav-links a:hover,
nav .nav-links a.active {
    background-color: #636e72;
}

nav .btn-login,
nav .btn-signup {
    background-color: #0984e3;
    color: #fff;
}

nav .btn-login:hover,
nav .btn-signup:hover {
    background-color: #74b9ff;
}

/* Hamburger Menu Icon */
nav .menu-icon {
    display: none;
    font-size: 1.5em;
    color: #fff;
    cursor: pointer;
}

nav .menu-icon i {
    pointer-events: none;
}

/* Hide the checkbox */
#menu-toggle {
    display: none;
}

/* Mobile-only and Desktop-only */
.mobile-only {
    display: none;
}

.desktop-only {
    display: flex;
    align-items: center;
}

nav .desktop-only a {
    margin-left: 20px;
    color: #dfe6e9;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background 0.3s;
}

nav .desktop-only a:hover {
    background-color: #636e72;
}

nav .desktop-only .btn-login,
nav .desktop-only .btn-signup {
    background-color: #0984e3;
    color: #fff;
}

nav .desktop-only .btn-login:hover,
nav .desktop-only .btn-signup:hover {
    background-color: #74b9ff;
}

/* Hero Section Styles */
.hero {
    background-color: #0984e3;
    color: #fff;
    padding: 100px 0;
    position: relative;
    text-align: center;
}

.hero .overlay {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero .search-bar {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.hero .search-bar input {
    width: 60%;
    max-width: 500px;
    padding: 15px;
    border: none;
    border-radius: 50px 0 0 50px;
    outline: none;
    font-size: 1em;
}

.hero .search-bar button {
    padding: 15px 20px;
    border: none;
    border-radius: 0 50px 50px 0;
    background-color: #fdcb6e;
    color: #2d3436;
    cursor: pointer;
    font-size: 1em;
}

.hero .search-bar button:hover {
    background-color: #e17055;
    color: #fff;
}

/* Statistics Section */
#stats {
    background-color: #dfe6e9;
    padding: 60px 0;
}

#stats h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2em;
    color: #2d3436;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    margin: 20px;
    flex: 1;
    min-width: 200px;
}

.stat i {
    font-size: 3em;
    color: #0984e3;
    margin-bottom: 15px;
}

.stat h3 {
    font-size: 2em;
    color: #2d3436;
}

.stat p {
    font-size: 1em;
    color: #636e72;
}

/* Countries Section */
#countries {
    padding: 60px 0;
}

#countries h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2em;
}

.countries-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.country-card {
    background-color: #fff;
    border-radius: 8px;
    flex: 1 1 calc(20% - 40px);
    margin: 20px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.country-card:hover {
    transform: translateY(-5px);
}

.country-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #2d3436;
}

.country-card i {
    font-size: 3em;
    color: #fdcb6e;
    margin-bottom: 15px;
}

.country-card p {
    color: #636e72;
    margin-bottom: 15px;
}

.country-card .btn-view-packages {
    background-color: #0984e3;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1em;
}

.country-card .btn-view-packages:hover {
    background-color: #74b9ff;
}

/* Call to Action Section */
#cta {
    background-color: #0984e3;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

#cta h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

#cta p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

#cta .btn-cta {
    background-color: #fdcb6e;
    color: #2d3436;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.2em;
    text-decoration: none;
}

#cta .btn-cta:hover {
    background-color: #e17055;
    color: #fff;
}

/* Footer Styles */
footer {
    background-color: #2d3436;
    color: #dfe6e9;
    padding: 40px 0;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 20px;
}

.footer-section h3 {
    margin-bottom: 15px;
}

.footer-section p,
.footer-section ul {
    font-size: 0.9em;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #b2bec3;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-section .social-links a {
    color: #dfe6e9;
    font-size: 1.5em;
    margin-right: 15px;
}

.footer-section .social-links a:hover {
    color: #fdcb6e;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.8em;
    border-top: 1px solid #636e72;
}

/* Responsive Styles */
@media (max-width: 768px) {
    nav .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: #2d3436;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
    }

    nav .nav-links li {
        margin: 20px 0;
    }

    nav .menu-icon {
        display: block;
    }

    /* Toggle navigation menu */
    #menu-toggle:checked + .menu-icon + .nav-links {
        right: 0;
    }

    /* Show mobile-only elements in mobile view */
    .mobile-only {
        display: block;
    }

    /* Hide desktop-only elements in mobile view */
    .desktop-only {
        display: none;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero .search-bar input {
        width: 80%;
    }

    .stats-grid {
        flex-direction: column;
        align-items: center;
    }

    .countries-grid {
        flex-direction: column;
        align-items: center;
    }

    .country-card {
        flex: none;
        width: 80%;
    }

    footer .footer-container {
        flex-direction: column;
        align-items: center;
    }

    footer .footer-section {
        margin: 10px 0;
    }
}
