/* ==========================================================================
   1. GLOBAL RESETS & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

:root {
    --primary-color: #0d6efd;
    --primary-hover: #0b5ed7;
    --secondary-color: #0a192f;
    --accent-color: #ffc107;
    --text-dark: #2b2b2b;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
}

body {
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 70px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Section Title */
.section-title {
    margin-bottom: 45px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 8px auto 0;
    border-radius: 2px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.text-center { text-align: center; }

/* ==========================================================================
   2. HERO SLIDER SECTION
   ========================================================================== */
.hero-slider-section {
    position: relative;
    width: 100%;
    min-height: 450px;
    background-color: #1a202c;
}

/* ==========================================================================
   3. BOOKING FORM SECTION (Responsive Updated)
   ========================================================================== */
.booking-section {
    position: relative;
    z-index: 20;
    margin-top: -60px;
    padding-bottom: 40px;
}

.hero-form-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.badge-tag {
    background: #eef2ff;
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
}

.form-header h3 {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.form-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Base Grid Layout (Mobile First - 1 Column) */
.form-grid {
    display: grid;
    grid-template-columns: 1fr; /* মোবাইলে সব ফিল্ড পর পর ১ কলামে থাকবে */
    gap: 15px;
    margin-top: 25px;
}

.input-icon {
    position: relative;
    width: 100%;
}

.input-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.1rem;
    z-index: 2;
    pointer-events: none;
}

.input-icon input,
.input-icon select {
    width: 100%;
    height: 50px;
    padding: 10px 15px 10px 45px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    background-color: #fafafa;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box; /* সাইজ সঠিক রাখার জন্য */
}

.input-icon input:focus,
.input-icon select:focus {
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
}

.form-submit-btn {
    width: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    height: 50px;
    width: 100%;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    white-space: nowrap; /* টেক্সট যেন ভেঙে নিচে না নামে */
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* ==========================================
   Responsive Screen Media Queries
   ========================================== */

/* Tablet View (2 Columns) */
@media (min-width: 576px) and (max-width: 991px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* বাটন ২ কলাম জুড়ে থাকবে */
    .form-submit-btn {
        grid-column: span 2;
    }
}

/* Desktop View (3 Columns - Your Original Design) */
@media (min-width: 992px) {
    .form-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .form-submit-btn {
        grid-column: span 1;
    }
}

/* Mobile Screen Small Padding Adjustment */
@media (max-width: 575px) {
    .hero-form-card {
        padding: 25px 18px;
    }
    .booking-section {
        margin-top: -30px;
    }
}

/* ==========================================================================
   4. WHY CHOOSE US
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.feature-box {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.feature-box:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #eef2ff;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 18px;
}

.feature-box h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.feature-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   5. SERVICES GRID
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.card-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.card-body {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-body h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.card-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.card-link:hover {
    gap: 12px;
    color: var(--primary-hover);
}

/* ==========================================================================
   6. STATS BANNER
   ========================================================================== */
.stats-banner {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1e293b 100%);
    padding: 60px 0;
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    text-align: center;
}

.stat-item h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1rem;
    color: #cbd5e1;
}

/* ==========================================================================
   7. HOW IT WORKS
   ========================================================================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.process-step {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    border: 1px dashed var(--border-color);
}

.step-num {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.process-step h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.process-step p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ==========================================================================
   8. TESTIMONIALS
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.testimonial-card .stars {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.testimonial-card p {
    font-style: italic;
    color: #4a5568;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.testimonial-card h5 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 2px;
}

.testimonial-card small {
    color: var(--text-muted);
}

/* ==========================================================================
   9. FAQ ACCORDION SECTION
   ========================================================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    background: var(--white);
}

.faq-question h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 22px;
    background-color: #fdfdfd;
}

.faq-answer p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Accordion Active States */
.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-answer {
    max-height: 250px;
    padding: 0 22px 18px 22px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* ==========================================================================
   10. RESPONSIVE BREAKPOINTS
   ========================================================================== */
/* ==========================================================================
   11. MOBILE MENU FIX OVERRIDE (For index_style.css)
   ========================================================================== */
@media (max-width: 991px) {
    .main-header .header-container {
        position: relative !important;
    }

    .main-header .nav-menu {
        display: none;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        background-color: #ffffff !important;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
        padding: 15px 20px !important;
        z-index: 9999 !important;
    }

    .main-header .nav-menu.active {
        display: block !important;
    }

    .main-header .nav-menu > ul {
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
    }

    .main-header .nav-menu > ul > li {
        width: 100% !important;
        border-bottom: 1px solid var(--border-color, #e2e8f0) !important;
        text-align: left !important;
    }

    .main-header .nav-menu a {
        display: block !important;
        padding: 12px 0 !important;
        width: 100% !important;
    }

    .main-header .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none !important;
        width: 100% !important;
        display: none;
        background-color: #f8f9fa !important;
    }

    .main-header .dropdown.active .dropdown-menu {
        display: block !important;
    }
}