/* --- CSS Reset & Global Styles --- */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, ul, li { margin: 0; }
ul { padding-left: 0; list-style: none; }
button, input, textarea { font-family: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* --- Variables & Root Styles --- */
:root {
    --primary-blue: #005fde;
    --secondary-blue: #004cb3;
    --dark-text: #1f1f1f;
    --light-text: #5c5c5c;
    --background-color: #f8f9fa;
    --header-bg: #ffffff;
    --border-color: #e9e9e9;
    --font-family: 'Poppins', sans-serif;
    --card-shadow: 0 4px 15px rgba(0,0,0,0.06);
    --card-hover-shadow: 0 8px 25px rgba(0,0,0,0.1);
    --transition-fast: 0.3s ease;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--dark-text);
    line-height: 1.6;
    font-size: 16px; /* Base font size */
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.content-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Fluid Typography for Titles */
.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 5vw, 2.5rem); /* Scales with viewport */
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    padding: 0.75rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color var(--transition-fast);
    display: inline-block;
    border: none;
    cursor: pointer;
}


/* ======================= Header ======================= */
.site-header {
    background-color: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.main-nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 64px; 
}
.logo-link .logo-img { 
    max-height: 48px; 
}
.menu-toggle { 
    display: block; 
    background: none; 
    border: none; 
    font-size: 1.5rem; 
    color: var(--dark-text); 
    cursor: pointer; 
    z-index: 1001;
}

/* Mobile Menu Styles */
.center-nav {
    display: none;
    position: absolute;
    top: 74px; /* Header height */
    left: 0;
    width: 100%;
    background-color: var(--header-bg);
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}
.center-nav.is-open {
    display: block;
}
.nav-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.nav-menu li a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--light-text);
    font-weight: 600;
    transition: background-color var(--transition-fast);
}
.nav-menu li a:hover {
    background-color: #f4f4f4;
}
.nav-menu li:last-child a {
    border-bottom: none;
}
.nav-icon {
    font-size: 1.25rem;
    margin-right: 1rem;
    width: 25px;
    text-align: center;
}
.nav-menu li a.active {
    color: var(--primary-blue);
    font-weight: 700;
}

/* ======================= Hero Section (Fully Responsive) ======================= */
.hero-section, .about-hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
    padding: 4rem 1rem; /* Use padding for flexible height */
    min-height: 80vh; /* Ensure it takes up most of the screen */
}
.about-hero-section {
    min-height: 50vh;
}
.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
    z-index: -1;
}
.hero-content {
    width: 100%;
    max-width: 95%; /* Prevent content from touching edges */
}
.hero-title {
    font-size: clamp(2.2rem, 8vw, 4rem); /* Responsive font size */
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}
.hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.2rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}
.hero-search-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.search-input-wrapper {
    display: flex;
    align-items: center;
    flex-grow: 1;
}
.search-input-wrapper i {
    color: var(--light-text);
    font-size: 1.1rem;
    padding: 0 0.75rem;
}
.hero-search-form input {
    flex-grow: 1;
    padding: 0.8rem 0.25rem;
    border: none;
    font-size: 1rem;
    background: transparent;
    outline: none;
    color: var(--dark-text);
    min-width: 0; /* Important for flexbox */
}
.hero-search-form button {
    padding: 0.8rem 1rem;
    margin-top: 0.5rem;
    border: none;
    background-color: var(--primary-blue);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

/* ======================= Homepage Specific Sections ======================= */
.top-destinations { background-color: #fff; }
.slider-container { position: relative; }
.slider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; cursor: grab; gap: 1.25rem; padding: 0.75rem 1.25rem; margin: -0.75rem -1.25rem; scrollbar-width: none; }
.slider::-webkit-scrollbar { display: none; }
.slider.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.slide { flex: 0 0 80%; scroll-snap-align: start; position: relative; border-radius: 15px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--card-shadow); transition: transform var(--transition-fast), box-shadow var(--transition-fast); }
.slide:hover { transform: translateY(-5px); box-shadow: var(--card-hover-shadow); }
.slide-link { display: block; width: 100%; height: 100%; text-decoration: none; }
.slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.slide:hover img { transform: scale(1.05); }
.slide-label { position: absolute; bottom: 0; left: 0; width: 100%; padding: 1.25rem; color: white; font-weight: 700; font-size: 1.2rem; background: linear-gradient(transparent, rgba(0,0,0,0.8)); z-index: 2; }
.slider-btn { display: none; }
.guides-grid { display: grid; grid-template-columns: 1fr; gap: 1.8rem; }
.guide-card { background-color: white; border-radius: 10px; box-shadow: var(--card-shadow); overflow: hidden; transition: transform var(--transition-fast), box-shadow var(--transition-fast); }
.guide-card:hover { transform: translateY(-8px); box-shadow: var(--card-hover-shadow); }
.card-link { text-decoration: none; color: inherit; display: block; }
.card-image { width: 100%; height: 220px; object-fit: cover; }
.card-content { padding: 1.5rem; }
.card-category { font-size: 0.8rem; font-weight: 700; color: var(--primary-blue); text-transform: uppercase; margin-bottom: 0.75rem; display: block; letter-spacing: 0.5px; }
.card-title { font-size: 1.3rem; font-weight: 600; margin: 0 0 0.75rem; line-height: 1.4; }
.card-excerpt { font-size: 0.95rem; color: var(--light-text); line-height: 1.6; margin-bottom: 1rem; }
.card-rating { display: flex; align-items: center; font-size: 0.9rem; font-weight: 600; color: var(--dark-text); }
.card-rating .fa-star { color: #ffc107; margin-right: 0.5rem; }
.section-cta { text-align: center; margin-top: 3rem; }
.travel-style { background-color: #fff; }
.style-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.style-card { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1/1; text-decoration: none; display: flex; align-items: flex-end; padding: 1.25rem; }
.style-card img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; z-index: -1;}
.style-card::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(transparent, rgba(0,0,0,0.7)); z-index: 0;}
.style-card:hover img { transform: scale(1.1); }
.style-card-content { color: white; z-index: 1; }
.style-card-content h3 { font-size: 1.4rem; margin: 0; }
.style-card-content p { font-size: 0.9rem; opacity: 0.9; }

/* ======================= About Page Styles ======================= */
.about-content-section {
    background-color: #fff;
    margin-top: -80px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    position: relative;
    z-index: 2;
    padding-top: 4rem;
}
.about-intro { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.section-title-left { text-align: left; }
.about-text p { font-size: 1.05rem; line-height: 1.8; color: var(--light-text); margin-bottom: 1.25rem; }
.about-image img { border-radius: 10px; box-shadow: var(--card-hover-shadow); }
.why-choose-us-section { background-color: var(--background-color); }
.why-us-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
.why-us-icon { font-size: 2.5rem; color: var(--primary-blue); margin-bottom: 1rem; }
.why-us-item h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.why-us-item p { color: var(--light-text); max-width: 350px; margin: 0 auto; }
.team-section { background-color: #fff; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; text-align: center; }
.team-member .team-photo { border-radius: 50%; width: 150px; height: 150px; object-fit: cover; margin: 0 auto 1.25rem auto; box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--primary-blue); }
.team-name { font-size: 1.2rem; margin-bottom: 0.25rem; }
.team-title { color: var(--primary-blue); font-weight: 600; }
.contact-cta-section { background-color: var(--primary-blue); color: white; padding: 5rem 1rem; text-align: center; }
.contact-cta-section h2 { font-size: clamp(1.8rem, 5vw, 2.2rem); margin-bottom: 1rem; }
.contact-cta-section p { font-size: 1.1rem; margin-bottom: 2rem; opacity: 0.9; }
.contact-cta-section .btn-primary { background-color: white; color: var(--primary-blue); font-size: 1.1rem; }
.contact-cta-section .btn-primary:hover { background-color: #f0f0f0; }

/* ======================= Contact Page Styles ======================= */
.contact-main-section {
    background-color: #fff;
    margin-top: -80px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    position: relative;
    z-index: 2;
    padding: 4rem 1rem;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
.contact-form-wrapper h2, .contact-details-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}
.contact-form-wrapper p {
    color: var(--light-text);
    margin-bottom: 2rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 95, 222, 0.2);
}
.contact-details-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.contact-detail-item {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}
.contact-icon-wrapper {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}
.contact-detail-item p {
    color: var(--light-text);
    margin-bottom: 1rem;
}
.contact-email-link, .faq-link {
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
}
.contact-email-link:hover, .faq-link:hover {
    text-decoration: underline;
}

/* ======================= Footer ======================= */
.site-footer-main { background-color: #2c3e50; color: #ecf0f1; padding: 4rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-logo { max-height: 40px; margin-bottom: 1rem; }
.footer-about p { font-size: 0.9rem; color: #bdc3c7; }
.footer-links-group h4 { font-size: 1.1rem; margin-bottom: 1rem; }
.footer-links-group ul li { margin-bottom: 0.75rem; }
.footer-links-group a { color: #bdc3c7; text-decoration: none; transition: color var(--transition-fast); }
.footer-links-group a:hover { color: var(--primary-blue); }
.footer-copyright { text-align: center; font-size: 0.8rem; color: #95a5a6; border-top: 1px solid #34495e; padding-top: 1.5rem; }

/* ======================= Media Queries (Mobile First) ======================= */

/* --- Tablet Styles --- */
@media (min-width: 768px) {
    .container { padding-left: 2rem; padding-right: 2rem; }
    .hero-search-form { flex-direction: row; }
    .hero-search-form button { margin-top: 0; margin-left: 0.5rem; width: auto; }
    .btn-primary { width: auto; }
    .slide { flex-basis: 45%; }
    .guides-grid { grid-template-columns: repeat(2, 1fr); }
    .style-grid { grid-template-columns: repeat(4, 1fr); }
    .about-intro { grid-template-columns: 1fr 1fr; gap: 4rem; }
    .why-us-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: 2fr 1fr; gap: 4rem; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
}

/* --- Desktop Styles --- */
@media (min-width: 1024px) {
    .menu-toggle { display: none; }
    .center-nav {
        display: block;
        position: static;
        box-shadow: none;
        width: auto;
    }
    .main-nav {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
    }
    .logo-link { grid-column: 1; justify-self: start; }
    .center-nav { grid-column: 2; }
    .nav-menu {
        flex-direction: row;
        gap: 1rem;
    }
    .nav-menu li a {
        flex-direction: column;
        align-items: center;
        padding: 0.5rem 1rem;
        border-bottom: 3px solid transparent;
    }
    .nav-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    .slide { flex-basis: 30%; }
    .guides-grid { grid-template-columns: repeat(3, 1fr); }
    .slider-btn { display: block; position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(255, 255, 255, 0.8); border: 1px solid rgba(0,0,0,0.1); border-radius: 50%; width: 50px; height: 50px; font-size: 1.5rem; color: var(--dark-text); cursor: pointer; z-index: 10; box-shadow: 0 2px 10px rgba(0,0,0,0.1); transition: background-color var(--transition-fast), transform 0.2s ease; }
    .slider-btn:hover { background-color: white; transform: translateY(-50%) scale(1.1); }
    .prev-btn { left: -25px; }
    .next-btn { right: -25px; }
}


/* ... All previous styles ... */

/* Remove the position: relative from the image wrapper if it's not needed for other elements */
.card-image-wrapper {
    overflow: hidden;
}

/* --- NEW: Professional Badge Style --- */
.card-footer {
    margin-top: 1.25rem; /* Increased space above the footer area */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align items to the left */
    gap: 0.75rem; /* Increased space between badge and rating */
}

.certified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f8f9fa; /* A very light, professional grey */
    color: #343a40; /* Darker text for contrast */
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #dee2e6; /* A light border */
}

.certified-badge i.fa-shield-halved {
    font-size: 1rem;
    color: var(--primary-blue); /* Use the primary blue for the icon */
}

.card-rating {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-text);
}

.card-rating .fa-star {
    color: #ffc107;
    margin-right: 0.5rem;
}

/* ... All other styles ... */










/* ... All previous styles ... */

/* ======================= Live Search Results Styles ======================= */
.live-search-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    margin-top: -5px; /* Slight overlap */
    max-height: 300px;
    overflow-y: auto;
    z-index: 10;
    text-align: left;
    display: none; /* Hidden by default */
}

.live-search-item {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--dark-text);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: background-color var(--transition-fast);
}

.live-search-item:last-child {
    border-bottom: none;
}

.live-search-item:hover {
    background-color: var(--background-color);
}

.live-search-item strong {
    color: var(--primary-blue);
}

.no-live-results {
    padding: 1rem 1.5rem;
    color: var(--light-text);
    font-style: italic;
}

/* Make search form container relative for positioning */
.hero-search-form {
    position: relative;
}
