/* General reset and font settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f5f5f5;
    overflow-x: hidden;
}


/* Navbar Styling */
header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0a2e5c;
    padding: 1rem;
}
nav h1{
    color: #fff;
    font-size: 30px;
    font-weight: 300;
}
.nav-links {
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
    display: flex; /* Use flexbox for horizontal layout */
    gap: 10px;
  }
  .nav-links.active{
    display: flex;
  }
  .hammy{
    color: white;
    font-size: 18px;
    display: none;
  }
  
  .nav-links a {
    text-decoration: none; /* Remove underline from links */
    color: white;
    padding: 10px 14px; /* Padding for clickable area */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s ease; /* Smooth background color transition */
  }
  
  .nav-links a:hover {
    background-color: rgba(240, 165, 0, 0.7);
    backdrop-filter: blur(4px);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.4);
  }
  
  .nav-links a.active-link {
    font-weight: bold; 
    color: #fff; 
    background-color: rgba(240, 165, 0, 0.7);

  }

  @media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide nav links by default */
        flex-direction: column; /* Vertical layout */
        position: absolute; /* Positioning for dropdown */
        background-color: #007bff; /* Match navbar background */
        width: 100%; /* Full width */
        top: 60px; /* Position below navbar */
        left: 0;
        z-index: 4;
    }

    .nav-links.active {
        display: flex; /* Show links when active */
    }
    .nav-links a.active-link {
        font-weight: bold; 
        color: #fff; 
        background-color:transparent;
    }

    .hammy {
        display: block; /* Show hamburger icon */
    }
}



/* Hero Section */
.hero-services {
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.733), rgba(255, 86, 34, 0.342)), url('HERO-Service.avif') no-repeat center/cover;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px; /* Add padding for smaller screens */
    overflow: hidden; /* Prevent overflow */
}

.hero-services .hero-content {
    text-align: center;
    color: white;
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
}

.hero-services h1 {
    font-size: 3em;
    animation: fadeInDown 1s ease;
}

.hero-services p {
    font-size: 1.5em;
    margin-top: 10px;
    animation: fadeInUp 1.5s ease;
}

/* Services Section */
.services-overview {
    padding: 50px;
    text-align: center;
}

.services-overview h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
    animation: fadeIn 1s ease;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;

}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.service-card .icon {
    font-size: 3em;
    margin-bottom: 10px;
    color: #ff9800;
    animation: rotateIcon 1s ease;
}

.service-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.service-card p {
    color: #555;
}




/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 15px;
}

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

@keyframes fadeInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes rotateIcon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-services h1 {
        font-size: 2.5em;
    }

    .hero-services p {
        font-size: 1.2em;
    }

    .services-overview h2 {
        font-size: 2em;
    }

    .services-overview p {
        font-size: 1.1em;
    }

}

@media (max-width: 768px) {


    .hero-services {
        height: 40vh;
    }

    .hero-services .hero-content {
        padding: 15px; /* Adjust padding for smaller screens */
    }

    .services-overview {
        padding: 30px;
    }

    .services-overview h2 {
        font-size: 1.8em;
    }


    .service-card {
        padding: 15px;
    }

    .service-card h3 {
        font-size: 1.3em;
    }

    .service-card p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    body {
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }

    .hero-services h1 {
        font-size: 2em;
    }

    .hero-services p {
        font-size: 1em;
    }

    .services-overview h2 {
        font-size: 1.5em;
    }

    .services-overview p {
        font-size: 0.9em;
    }


    .service-card {
        padding: 10px;
        max-width: 100%; /* Ensure cards don't overflow */
        margin: 0 auto; /* Center cards */
    }

    .service-card h3 {
        font-size: 1.2em;
    }

    .service-card p {
        font-size: 0.9em;
    }

    .destination-highlights,
    .custom-travel-packages,
    .travel-insurance {
        max-width: 100%; /* Allow sections to fit within the viewport */
        margin: 10px 0; /* Reduce margin */
        padding: 15px; /* Adjust padding */
    }

    .destination-highlights h2,
    .custom-travel-packages h2,
    .travel-insurance h2 {
        font-size: 1.8rem;
    }

    .destination-highlights p,
    .custom-travel-packages p,
    .travel-insurance p {
        font-size: 1rem;
    }
}
/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px; /* Distance from the bottom */
    right: 20px; /* Distance from the right */
    background-color: #ff4800e0; /* Background color */
    color: white; /* Text color */
    border: none; /* Remove border */
    border-radius: 5px; /* Rounded corners */
    padding: 10px 15px; /* Padding */
    font-size: 18px; /* Font size */
    cursor: pointer; /* Cursor style */
    display: none; /* Initially hidden */
    z-index: 1000; /* On top of other elements */
    transition: background-color 0.3s ease; /* Smooth transition */
}

/* Responsive Font Size and Positioning */
@media (max-width: 1024px) {
    .back-to-top {
        bottom: 15px; /* Adjust position */
        right: 15px; /* Adjust position */
    }
}

@media (max-width: 768px) {
    .back-to-top {
        font-size: 16px; /* Smaller font size for smaller screens */
        padding: 8px 12px; /* Reduced padding */
        bottom: 10px; /* Adjust position */
        right: 10px; /* Adjust position */
    }
}

@media (max-width: 480px) {
    .back-to-top {
        font-size: 14px; /* Smaller font size for mobile screens */
        padding: 6px 10px; /* Reduced padding */
        bottom: 5px; /* Adjust position */
        right: 5px; /* Adjust position */
    }
}

.back-to-top:hover {
    background-color: #0788f1ee; /* Darker background on hover */
    transform: scale(1.09);
}
