/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}
.section {
    padding: 80px 0;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
    font-size: 1.1rem;
}

.bg-light {
    background-color: #f9f9f9;
}
h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #0b4f6c;
}

/* ==========================================
   Header & Navigation (Desktop Default)
   ========================================== */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0b4f6c;
    text-decoration: none;
}
.logo span { color: #01baef; }

/* Hide hamburger button on desktop viewports */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #0b4f6c;
    cursor: pointer;
    outline: none;
}

/* Desktop horizontal list setup */
.nav-menu ul {
    display: flex;
    list-style: none;
    align-items: center;
}
.nav-menu li { margin-left: 20px; }
.nav-menu li a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    transition: color 0.3s;
}
.nav-menu li a:hover { color: #01baef; }
.btn-nav {
    background: #0b4f6c;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 5px;
}
.btn-nav:hover { background: #01baef; }

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; }
.hero-content p { font-size: 1.5rem; margin-bottom: 30px; }
.btn-main {
    background: #01baef;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: background 0.3s;
}
.btn-main:hover { background: #0b4f6c; }

/* About Grid & Profile Image Layout */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}
.profile-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto;
}

/* Services Cards with Background Images */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    background-size: cover;
    background-position: center;
    min-height: 350px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: flex-end; /* Pushes text to the bottom of the image */
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}
.service-card:hover {
    transform: translateY(-5px); /* Subtle lift effect on hover */
}
.card-content {
    padding: 30px;
    color: #fff; /* White text looks great over the dark image overlay */
}
.service-card h3 {
    color: #01baef; /* Bright accent color for headings */
    margin-bottom: 10px;
    font-size: 1.3rem;
}
.service-card p {
    font-size: 0.95rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* ==========================================
   Contact Grid Layout
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Info panel slightly narrower than form */
    gap: 50px;
    margin-top: 40px;
    align-items: start;
}

/* Info Panel Styling */
.contact-info h3, 
.contact-form-wrapper h3 {
    font-size: 1.5rem;
    color: #0b4f6c;
    margin-bottom: 20px;
    font-weight: 700;
}
.contact-lead {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Contact List Icons Alignment */
.contact-details-list {
    list-style: none;
    padding: 0;
}
.contact-details-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}
.contact-details-list li i {
    font-size: 1.4rem;
    color: #01baef;
    margin-right: 20px;
    margin-top: 3px;
    width: 25px;
    text-align: center;
}
.contact-details-list strong {
    display: block;
    font-size: 1rem;
    color: #333;
    margin-bottom: 4px;
}
.contact-details-list a, 
.contact-details-list span {
    display: block;
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.5;
}
.contact-details-list a:hover {
    color: #01baef;
    transition: color 0.2s;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
}
.btn-submit {
    background: #0b4f6c;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    width: 100%;
    font-weight: 600;
}
.btn-submit:hover { background: #01baef; }

/* Centers the section title and subtitle at the top of the contact area */
#contact h2,
#contact .section-subtitle {
    text-align: center;
}

/* Centers the inner panel headings inside the grid columns */
.contact-info h3, 
.contact-form-wrapper h3 {
    text-align: center;
    margin-bottom: 25px; /* Gives a little extra breathing room under the panel titles */
}

/* Modifies the full-width submit button to be a perfectly centered pill button instead */
.btn-submit {
    display: block;      /* Necessary to allow auto margins to work */
    width: auto;         /* Unlocks it from stretching 100% wide */
    min-width: 250px;    /* Gives it a great, uniform clickable scale */
    margin: 30px auto 0 auto; /* Dead-centers it and adds a nice gap below the textarea */
}

/* Footer Styles */

#footer-wrapper {
    position: relative;
    width: 100%;
}

footer {
    background: #222;
    color: #fff;
    padding: 40px 0; /* Slightly more vertical padding for breathing room */
}
.footer-container {
    display: flex;
    flex-direction: column; /* Stacks items vertically */
    align-items: center;    /* Centers items horizontally */
    justify-content: center;
    text-align: center;
}
.footer-copyright {
    margin-bottom: 15px;    /* Pushes the icons down cleanly below the text */
    font-size: 0.95rem;
    color: #ccc;
}

/* Social Media Icons Styling */
.social-links {
    display: flex;
    gap: 20px;
}
.social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s, transform 0.2s;
    display: inline-block;
}

/* Hover effects to match the travel brand theme */
.social-links a:hover {
    color: #01baef;         /* Changes to bright teal on hover */
    transform: scale(1.15);
}

/* Floating Back to Top Button */
html, body {
    position: relative;
    height: 100%;
}

/* Base floating state when scrolling through the page body */
#backToTop {
    opacity: 0;
    visibility: hidden;
    position: fixed;           /* Floats on the screen layout */
    bottom: 30px;              
    right: 30px;               
    z-index: 99;               
    border: none;              
    outline: none;             
    background-color: #0b4f6c; 
    color: white;              
    cursor: pointer;           
    padding: 8px 18px;         
    font-size: 1.8rem;         
    border-radius: 50px;       
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); 
    transition: background-color 0.3s, transform 0.2s, opacity 0.3s, visibility 0.3s;
}

#backToTop.btn-visible {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    background-color: #01baef; 
    transform: scale(1.1);     
}

/* ==========================================
   Featured Suppliers Section
   ========================================== */
.suppliers-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-top: 30px;
    flex-wrap: wrap; /* Guarantees they stack beautifully on mobile phones */
}

.supplier-card {
    background: #fff;
    border: 1px solid #eef2f5;
    border-radius: 12px;
    padding: 25px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 280px;
    max-width: 320px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none; /* Clears link underlining */
}

.supplier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(1, 186, 239, 0.15); /* Soft signature blue glow */
    border-color: #01baef;
}

.supplier-logo {
    height: 50px; /* Constrains different logo sizes uniformly */
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
    filter: grayscale(20%); /* Softens logos to match site cohesion */
    transition: filter 0.3s ease;
}

.supplier-card:hover .supplier-logo {
    filter: grayscale(0%); /* Pops full vivid color on hover */
}

.supplier-card span {
    font-size: 0.95rem;
    color: #555;
    font-weight: 600;
    text-align: center;
}

.supplier-card i {
    margin-left: 5px;
    font-size: 0.8rem;
    color: #01baef;
}

/* ==========================================
   Scroll Reveal Animations
   ========================================== */

/* The starting state: hidden, shifted down by 40px */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform; /* Optimizes mobile performance */
}

/* The active state: triggered by JavaScript when scrolled into view */
.scroll-reveal.reveal {
    opacity: 1;
    transform: translateY(0);
}

/*Adds a staggered delay for children elements if you want them to pop in one after the other */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ==========================================
   Mobile Responsive Adjustments (768px and down)
   ========================================== */
@media (max-width: 768px) {
    .nav-container {
        display: flex;
        justify-content: center; /* Centers items horizontally */
        align-items: center;
        position: relative;     /* Allows us to position the hamburger absolutely */
        width: 100%;
    }
    .nav-toggle {
        display: block;
        position: absolute;    /* Pulls it out of the flex flow so the logo stays perfectly dead-center */
        right: 20px;           /* Pins it to the right edge */
        top: 50%;
        transform: translateY(-50%); /* Centers it vertically relative to the header bar */
    }
    /* Transform the layout of the nav list into a dropdown drawer */
    .nav-menu {
        display: none; 
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
        z-index: 999;
    }
    .nav-menu.nav-menu-open {
        display: block;
    }
    /* Turn horizontal flex row into vertical stacking list row */
    .nav-menu ul {
        flex-direction: column;
        align-items: center;    /* Ensures all list items inside the menu center up */
        width: 100%;
    }
    .nav-menu li {
        margin: 15px 0; 
        width: 100%;            /* Changes to full width to make hitting targets easy */
        text-align: center;
    }
    .nav-menu li a {
        display: inline-block;
        font-size: 1.2rem;
        padding: 10px 0;
    }
    .btn-nav {
        display: inline-block;
        width: auto;            /* Removes the 100% width block stretching effect */
        min-width: 200px;       /* Gives it a nice, uniform clickable button size */
        margin: 0 auto;         /* Clean centering insurance */
    }
    /* Stack About grid images cleanly on smaller mobile views */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .contact-grid {
        grid-template-columns: 1fr; 
        gap: 40px;
    }
    .contact-info {
        border-bottom: 2px solid #eee;
        padding-bottom: 30px;
    }
}