/* Core Variables & Resets */
:root {
    --primary-color: #0d47a1;   /* Professional Deep Blue */
    --accent-color: #f57c00;    /* High-contrast Orange for CTAs */
    --dark-color: #1a1d20;      /* Dark Gray/Black */
    --light-bg: #f8f9fa;        /* Soft Light Gray */
    --text-color: #4a5568;      /* Readable Body Text */
    --border-color: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: var(--text-color);
    background-color: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background-color: var(--dark-color);
    color: #cbd5e1;
    font-size: 13px;
    padding: 8px 0;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info span {
    margin-right: 20px;
}

.top-actions a {
    color: #ffffff;
    margin-left: 15px;
}

.whatsapp-btn {
    color: #25d366 !important;
    font-weight: 600;
}

/* Main Navigation Header */
.main-header {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
	padding: 15px 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* মোবাইল ড্রপডাউনের পজিশনিংয়ের জন্য অত্যন্ত গুরুত্বপূর্ণ */
}

.logo {
    font-size: 24px;
    font-weight: 700;
}

.logo-main {
    color: var(--primary-color);
}

.logo-sub {
    color: var(--accent-color);
}

/* Navigation Links */
.nav-menu > ul {
    display: flex;
    gap: 25px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--dark-color);
    padding: 8px 0;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 260px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* ডেস্কটপ ভার্সনে মাউস হভার করলে ড্রপডাউন দেখাবে */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
    }
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--dark-color);
}

.dropdown-menu li a:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

/* Header Buttons */
.btn-primary {
    background-color: var(--accent-color);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #e66f00;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--dark-color);
    cursor: pointer;
}

/* Main Footer */
.main-footer {
    background-color: var(--dark-color);
    color: #a0aec0;
    padding-top: 50px;
    margin-top: 50px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}

.footer-col h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col p {
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: #2d3748;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
}

/* Utility Classes */
.text-center { text-align: center; }
.btn-block { width: 100%; display: block; border: none; cursor: pointer; }

/* Section Titles */
.section-title {
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0d47a1 0%, #1a237e 100%);
    color: #ffffff;
    padding: 60px 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    display: inline-block;
    margin-bottom: 15px;
}

.hero-content h1 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 16px;
    color: #e2e8f0;
    margin-bottom: 25px;
}

.hero-features span {
    display: inline-block;
    margin-right: 15px;
    font-size: 14px;
}

.hero-features i {
    color: #25d366;
}

/* Hero Booking Form Card */
.hero-form-card {
    background: #ffffff;
    color: var(--dark-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-form-card h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.hero-form-card p {
    font-size: 13px;
    margin-bottom: 20px;
    color: #718096;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    outline: none;
}

.form-group input:focus, 
.form-group select:focus {
    border-color: var(--primary-color);
}

/* Services Grid Section */
.services-section {
    padding: 70px 0;
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: #eef2ff;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 22px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    margin-bottom: 15px;
}

.card-link {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
}

/* How It Works Section */
.how-it-works {
    padding: 70px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.process-step {
    text-align: center;
    padding: 20px;
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: 700;
}

/* Booking Status Page Styling */
.booking-status-section {
    padding: 80px 0;
    background-color: var(--light-bg);
    min-height: 60vh;
}

.status-card {
    background: #ffffff;
    max-width: 650px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
}

.status-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.success-icon { color: #25d366; }
.error-icon { color: #e53e3e; }
.info-icon { color: var(--primary-color); }

.status-card h2 {
    color: var(--dark-color);
    font-size: 28px;
    margin-bottom: 10px;
}

.status-subtitle {
    font-size: 15px;
    color: #4a5568;
    margin-bottom: 25px;
}

.booking-details-box {
    background-color: #f8fafc;
    border: 1px dashed var(--primary-color);
    padding: 20px;
    border-radius: 8px;
    text-align: left;
    margin-bottom: 25px;
}

.booking-details-box p {
    margin-bottom: 8px;
    font-size: 15px;
}

.booking-details-box p:last-child {
    margin-bottom: 0;
}

.highlight-code {
    background: var(--accent-color);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.next-steps-box {
    text-align: left;
    background: #eef2ff;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.next-steps-box h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.next-steps-box p {
    font-size: 13px;
    color: #4a5568;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.whatsapp-btn-large {
    background-color: #25d366;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
}

.whatsapp-btn-large:hover {
    background-color: #1eb954;
}

/* Admin Table Styling */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-table th, .admin-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background-color: #f1f5f9;
    color: var(--dark-color);
    font-weight: 600;
}

.btn-manage {
    background: var(--primary-color);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* Status Badges */
.status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-pending { background: #fef3c7; color: #92400e; }
.status-inspection-scheduled { background: #e0f2fe; color: #075985; }
.status-quotation-sent { background: #e0e7ff; color: #3730a3; }
.status-approved { background: #dcfce7; color: #166534; }
.status-completed { background: #d1fae5; color: #065f46; }
.status-cancelled { background: #fee2e2; color: #991b1b; }

/* Service Landing Page CSS (AC) */
.service-hero {
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
    color: #ffffff;
    padding: 50px 0;
}

.sub-services-section {
    padding: 70px 0;
    background-color: #ffffff;
}

.sub-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.sub-service-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sub-service-box:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(13, 71, 161, 0.08);
}

.sub-service-box i {
    font-size: 32px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.sub-service-box h3 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.sub-service-box p {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.5;
}

.service-process {
    padding: 60px 0;
    background-color: var(--light-bg);
}

/* ==========================================
   Responsive Media Queries (সবার নিচে একটিই থাকবে)
   ========================================== */

@media (max-width: 991px) {
    .top-info {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* মোবাইল নেভিগেশন মেনুকে স্ক্রিন ও হেডারের একদম নিচে রাখা */
    .nav-menu {
        display: none; /* ক্লিকের আগে পুরোপুরি লুকিয়ে থাকবে */
        position: absolute;
        top: 100%; /* হেডারের ঠিক নিচে দেখাবে */
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        padding: 15px 20px;
        z-index: 9999;
    }

    /* JS থেকে active হলে মেনুটি ব্লকের মতো নিচে নামবে */
    .nav-menu.active {
        display: block !important;
    }

    /* মেনু আইটেমগুলোকে নিচে নিচে পর পর সাজানো */
    .nav-menu > ul {
        flex-direction: column !important;
        gap: 0 !important;
        width: 100%;
    }

    .nav-menu > ul > li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        text-align: left;
    }

    .nav-menu > ul > li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 12px 0;
        width: 100%;
        font-size: 15px;
    }

    /* ড্রপডাউন মেনু রেসপন্সিভ সেটআপ */
    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none !important;
        width: 100% !important;
        border-radius: 0;
        padding: 0 0 10px 15px !important;
        background-color: #f8f9fa;
        display: none; /* ডিফল্টভাবে ড্রপডাউন বন্ধ থাকবে */
    }

    .dropdown.active .dropdown-menu {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
}