/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    height: 70px;
}

.logo_image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo a {
    display: block;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    padding: 25px 15px;
    color: #333;
    display: block;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link.active {
    color: #2563eb;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #2563eb;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 220px;
    border-radius: 8px;
    top: 100%;
    left: 0;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    padding: 12px 20px;
    display: block;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
    background-color: #f1f5f9;
    color: #2563eb;
    padding-left: 25px;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    background: none;
    border: none;
    padding: 10px;
    align-self: center;
    transition: all 0.3s ease;
}

.hamburger:hover {
    color: #2563eb;
}

/* Main Header Layout */
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center/cover;
    height: 80vh;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
}

.btn-primary a {
    color: white;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* Services Preview */
.services-preview {
    padding: 100px 0;
    background-color: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #1e293b;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 25px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #dbeafe;
    border-radius: 50%;
    margin: 0 auto 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1e293b;
    font-weight: 600;
}

.service-card p {
    color: #64748b;
    line-height: 1.7;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background-color: white;
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 30px;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -15px;
    width: 30px;
    height: 2px;
    background-color: #2563eb;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1e293b;
    font-weight: 600;
}

.step p {
    color: #64748b;
    line-height: 1.7;
}

/* Footer */
footer {
    background-color: #1e293b;
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* Mobile Styles */
/* ============================
   MOBILE NAVIGATION FIX ONLY
   ============================ */
@media (max-width: 768px) {

    /* Header container spacing */
    header .container {
        padding: 0 15px;
    }

    /* Hamburger visible */
    .hamburger {
        display: block;
        z-index: 1100;
    }

    /* Mobile menu layout */
    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: #ffffff;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.12);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 1000;
    }

    /* Show menu */
    .nav-list.show {
        display: flex;
    }

    /* Mobile nav links */
    .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid #f1f5f9;
        width: 100%;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    /* Disable hover dropdown on mobile */
    .dropdown:hover .dropdown-menu {
        display: none;
    }

    /* Dropdown wrapper */
    .dropdown {
        width: 100%;
    }

    /* Dropdown toggle row */
    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    /* Dropdown menu – INLINE FLOW */
    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        background-color: #f8fafc;
        box-shadow: none;
        padding: 0;
        margin: 0;
        border-radius: 0;
    }

    /* Show dropdown when active */
    .dropdown.show .dropdown-menu {
        display: block;
    }

    /* Dropdown links */
    .dropdown-menu li a {
        padding: 14px 30px;
        display: block;
        border-bottom: 1px solid #e2e8f0;
        font-size: 0.95rem;
    }

    .dropdown-menu li:last-child a {
        border-bottom: none;
    }
}


    .hero {
        height: 70vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .services-preview {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .how-it-works {
        padding: 60px 0;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step {
        width: 100%;
        max-width: 400px;
        margin-bottom: 30px;
    }

    .step:not(:last-child)::after {
        display: none;
    }
}


/* User Header Styles */
.user-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
}

.user-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 20px;
}

.user-header .logo_image {
    height: 45px;
}

.user-header .nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.user-header .nav-link {
    text-decoration: none;
    padding: 25px 15px;
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 8px;
    margin: 0 2px;
}

.user-header .nav-link:hover {
    color: #667eea;
    background-color: rgba(102, 126, 234, 0.1);
}

.user-header .nav-link.active {
    color: #667eea;
    background-color: rgba(102, 126, 234, 0.1);
}

.user-header .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #667eea;
    border-radius: 3px 3px 0 0;
}

.user-header .user-menu {
    position: relative;
    margin-left: 10px;
}

.user-header .user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.user-header .user-dropdown-menu {
    display: none;
    position: absolute;
    background-color: #ffffff;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    border-radius: 10px;
    top: 100%;
    right: 0;
    z-index: 1000;
    border: 1px solid #e2e8f0;
}

.user-header .user-menu:hover .user-dropdown-menu {
    display: block;
}

.user-header .user-dropdown-menu li a {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.2s ease;
}

.user-header .user-dropdown-menu li a:hover {
    background-color: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding-left: 25px;
}

.user-header .hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #4a5568;
    background: none;
    border: none;
    padding: 10px;
}

/* Mobile Styles */
@media (max-width: 992px) {
    .user-header .logo_image {
        height: 40px;
    }
    
    .user-header .nav-link {
        padding: 20px 12px;
        font-size: 0.9rem;
    }
    
    .user-header .nav-link span {
        display: none;
    }
    
    .user-header .nav-link i {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .user-header .nav-list {
        flex-direction: column;
        display: none;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: #ffffff;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #e2e8f0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 1000;
    }

    .user-header .nav-list.show {
        display: flex;
    }

    .user-header .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid #f1f5f9;
        justify-content: flex-start;
    }

    .user-header .nav-link:last-child {
        border-bottom: none;
    }

    .user-header .user-dropdown-menu {
        position: static;
        box-shadow: none;
        display: none;
        padding-left: 30px;
        background-color: #f8fafc;
        border-radius: 0;
        max-height: 300px;
        overflow-y: auto;
        border: none;
    }

    .user-header .user-menu.show .user-dropdown-menu {
        display: block;
    }

    .user-header .user-dropdown-toggle {
        justify-content: space-between;
    }

    .user-header .hamburger {
        display: block;
    }
    
    .user-header .user-menu {
        width: 100%;
    }
}



/* Book Services Page Styles */
.services-container {
    padding: 40px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    min-height: calc(100vh - 140px);
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.page-header h1 i {
    color: var(--primary);
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Category Section */
.category-section {
    margin-bottom: 50px;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
}

.category-header {
    margin-bottom: 30px;
    text-align: center;
}

.category-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.category-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Subcategories Grid */
.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

/* Service Card */
.service-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, #ffffff 100%);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.card-content {
    flex: 1;
    margin-bottom: 20px;
}

.card-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.card-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.card-footer {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.pricing-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.3rem;
}

.time-estimate {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.book-btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.quick-action-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 74, 162, 0.1) 100%);
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.quick-action-card:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.quick-action-card i {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.quick-action-card span {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .category-section {
        padding: 20px;
    }
    
    .category-header h2 {
        font-size: 1.6rem;
    }
    
    .subcategories-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .quick-actions {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .services-container {
        padding: 20px 0;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
        gap: 10px;
    }
    
    .category-section {
        margin-bottom: 30px;
    }
    
    .category-header h2 {
        font-size: 1.4rem;
    }
    
    .pricing-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
}
