/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* ===== CSS Variables ===== */
:root {
    --primary: #E8952F;
    --primary-dark: #C47A1F;
    --primary-light: #F5B866;
    --secondary: #6B4226;
    --secondary-dark: #4A2E1A;
    --dark: #2D2D2D;
    --text: #444444;
    --text-light: #777777;
    --light: #F9F5F0;
    --white: #FFFFFF;
    --border: #E8E0D8;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    text-align: right;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border: none;
    border-radius: 50px;
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(232, 149, 47, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 149, 47, 0.5);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1EBE57;
    transform: translateY(-2px);
}

/* ===== Navbar ===== */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition);
    overflow: visible;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand img {
    height: 180px;
    width: auto;
    margin-top: -30px;
    margin-bottom: -30px;
}

.navbar-brand .brand-text {
    display: flex;
    flex-direction: column;
}

.navbar-brand .brand-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.3;
}

.navbar-brand .brand-desc {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links a {
    padding: 10px 20px;
    font-weight: 600;
    color: var(--text);
    border-radius: 8px;
    font-size: 15px;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: rgba(232, 149, 47, 0.08);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 20px;
    left: 20px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-cta .btn {
    padding: 10px 24px;
    font-size: 14px;
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--dark);
    margin: 5px 0;
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-whatsapp {
    display: none;
}

/* ===== Hero Section ===== */
.hero {
    margin-top: 75px;
    position: relative;
    background: linear-gradient(135deg, #FFF7ED 0%, #FEF0E0 50%, #FFFBF5 100%);
    overflow: hidden;
    padding: 80px 0 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232, 149, 47, 0.1), transparent 70%);
    border-radius: 50%;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232, 149, 47, 0.12);
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 900;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 500px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-height: 450px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
}

.hero-stat .label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

/* ===== Section Styles ===== */
.section {
    padding: 80px 0;
}

.section-light {
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 4px;
}

.section-title p {
    font-size: 17px;
    color: var(--text-light);
    max-width: 600px;
    margin: 20px auto 0;
}

/* ===== Services Section ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(232, 149, 47, 0.1), rgba(232, 149, 47, 0.05));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.8;
}

.service-card .btn {
    padding: 10px 24px;
    font-size: 14px;
}

/* ===== Features ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 20px;
    color: var(--white);
}

.feature-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

/* ===== About Section ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(232, 149, 47, 0.15), transparent);
    border-radius: var(--radius);
    z-index: -1;
}

.about-content h2 {
    font-size: 34px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
}

.about-content h2 span {
    color: var(--primary);
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.9;
}

.about-list {
    margin: 24px 0;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-weight: 500;
    color: var(--text);
}

.about-list li .check-icon {
    width: 28px;
    height: 28px;
    background: rgba(40, 167, 69, 0.1);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

/* ===== Contact Section ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateX(-5px);
    border-color: var(--primary);
}

.contact-info-card .icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-info-card p {
    color: var(--text-light);
    font-size: 14px;
    direction: ltr;
    text-align: right;
}

/* ===== Forms ===== */
.form-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.form-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-card .form-subtitle {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group label .required {
    color: var(--danger);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    color: var(--text);
    transition: var(--transition);
    background: var(--white);
    direction: rtl;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(232, 149, 47, 0.1);
}

.form-control::placeholder {
    color: #BBB;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23777' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 16px center;
    padding-left: 40px;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.service-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.service-type-option {
    position: relative;
}

.service-type-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.service-type-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.service-type-option input:checked + label {
    border-color: var(--primary);
    background: rgba(232, 149, 47, 0.05);
}

.service-type-option label .type-icon {
    font-size: 28px;
}

.service-type-option label .type-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-social a:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}

.footer h4 {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary);
    padding-right: 8px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
}

.footer-contact-item .icon {
    color: var(--primary);
    font-size: 16px;
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== Page Header ===== */
.page-header {
    margin-top: 75px;
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/cover.jpg') center/cover no-repeat;
    opacity: 0.1;
}

.page-header h1 {
    font-size: 38px;
    font-weight: 800;
    color: var(--white);
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
}

.page-header .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    position: relative;
    z-index: 1;
}

.page-header .breadcrumb a {
    color: var(--primary-light);
}

/* ===== Flash Messages ===== */
.alert {
    padding: 16px 24px;
    border-radius: 10px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.alert-success {
    background: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.alert-danger {
    background: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

.alert-warning {
    background: #FFF3CD;
    color: #856404;
    border: 1px solid #FFEEBA;
}

/* ===== Request Form Modal ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--white);
    border-radius: 20px;
    padding: 28px;
    width: 90%;
    max-width: 480px;
    max-height: 88vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlide 0.3s ease;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

/* Compact form inside modal */
.modal h3 {
    font-size: 18px;
    margin-bottom: 2px;
}

.modal .form-subtitle {
    margin-bottom: 16px;
    font-size: 13px;
}

.modal .form-group {
    margin-bottom: 12px;
}

.modal .form-group label {
    margin-bottom: 4px;
    font-size: 13px;
}

.modal .form-control {
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 8px;
    border-width: 1.5px;
}

.modal textarea.form-control {
    min-height: 60px;
}

.modal .form-row {
    gap: 10px;
}

.modal .service-type-selector {
    gap: 8px;
}

.modal .service-type-option label {
    padding: 10px 8px;
    font-size: 13px;
}

.modal .service-type-option .type-icon {
    font-size: 22px;
}

.modal .service-type-option .type-name {
    font-size: 13px;
}

.modal .location-btn {
    padding: 9px 14px;
    font-size: 13px;
}

.modal .btn-primary {
    padding: 11px 20px;
    font-size: 14px;
}

.modal #workerBookingBanner {
    padding: 8px 12px;
    font-size: 13px;
    margin-bottom: 12px;
}

/* Custom scrollbar for modal */
.modal::-webkit-scrollbar {
    width: 5px;
}

.modal::-webkit-scrollbar-track {
    background: transparent;
}

.modal::-webkit-scrollbar-thumb {
    background: #DDD;
    border-radius: 10px;
}

.modal::-webkit-scrollbar-thumb:hover {
    background: #BBB;
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 30px;
    height: 30px;
    background: var(--light);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
    z-index: 2;
}

.modal-close:hover {
    background: var(--danger);
    color: var(--white);
}

/* ===== Floating WhatsApp ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    color: white;
    font-size: 30px;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== Admin Styles ===== */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFF7ED, #FEF0E0);
}

.login-card {
    background: var(--white);
    border-radius: 16px;
    padding: 48px 40px;
    width: 420px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.login-card img {
    height: 80px;
    margin-bottom: 20px;
}

.login-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.login-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 32px;
}

/* Admin Dashboard */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--dark);
    color: var(--white);
    padding: 24px 0;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    overflow-y: auto;
}

.admin-sidebar .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 24px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
}

.admin-sidebar .brand img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.admin-sidebar .brand span {
    font-size: 16px;
    font-weight: 700;
}

.admin-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    border-right: 3px solid var(--primary);
}

.admin-sidebar nav a .icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.admin-main {
    margin-right: 260px;
    flex: 1;
    background: #F5F5F5;
    min-height: 100vh;
}

.admin-header {
    background: var(--white);
    padding: 16px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.admin-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
}

.admin-content {
    padding: 30px;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow);
}

.stat-card .stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
}

.stat-card .stat-icon.bg-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.stat-card .stat-icon.bg-success { background: linear-gradient(135deg, #28a745, #20923c); }
.stat-card .stat-icon.bg-info { background: linear-gradient(135deg, #17a2b8, #1289a0); }
.stat-card .stat-icon.bg-warning { background: linear-gradient(135deg, #ffc107, #e6ad00); }

.stat-card .stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
}

.stat-card .stat-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

/* Data Table */
.data-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 30px;
}

.data-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.data-card-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead th {
    background: var(--light);
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-light);
    text-align: right;
    border-bottom: 2px solid var(--border);
}

.data-table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    vertical-align: middle;
}

.data-table tbody tr:hover {
    background: rgba(232, 149, 47, 0.03);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

/* Status Badge */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.badge-new {
    background: #E3F2FD;
    color: #1565C0;
}

.badge-in_progress {
    background: #FFF3E0;
    color: #E65100;
}

.badge-completed {
    background: #E8F5E9;
    color: #2E7D32;
}

.badge-cancelled {
    background: #FFEBEE;
    color: #C62828;
}

/* Action Buttons */
.action-btns {
    display: flex;
    gap: 6px;
}

.action-btn {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.action-btn.view { background: #E3F2FD; color: #1565C0; }
.action-btn.edit { background: #FFF3E0; color: #E65100; }
.action-btn.delete { background: #FFEBEE; color: #C62828; }

.action-btn:hover {
    transform: scale(1.1);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-state .icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-state p {
    font-size: 16px;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content p {
        max-width: 100%;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .admin-sidebar {
        display: none;
    }

    .admin-main {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        padding: 80px 20px 30px;
        z-index: 1000;
        gap: 0;
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 14px 16px;
        font-size: 16px;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
    }

    .nav-links a.active::after {
        display: none;
    }

    .nav-links .mobile-whatsapp {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: 16px;
        padding: 14px 16px;
        background: #25D366;
        color: white;
        border-radius: 10px;
        font-weight: 600;
        justify-content: center;
        border-bottom: none;
    }

    .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    /* Mobile overlay when menu is open */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }

    /* Navbar logo on mobile */
    .navbar-brand img {
        height: 150px;
        margin-top: -25px;
        margin-bottom: -25px;
    }

    .hero {
        padding: 40px 0 30px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat .number {
        font-size: 24px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .section-title p {
        font-size: 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .feature-item h4 {
        font-size: 15px;
    }

    .feature-item p {
        font-size: 13px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .service-type-selector {
        grid-template-columns: 1fr;
    }

    /* Footer Mobile */
    .footer {
        padding: 40px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand img {
        height: 50px;
    }

    .footer-brand p {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .footer-links a {
        padding: 4px 0;
        font-size: 13px;
    }

    .footer-contact-item {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .footer-bottom {
        padding: 14px 0;
        font-size: 12px;
    }

    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .data-table {
        font-size: 12px;
    }

    .data-table thead th,
    .data-table tbody td {
        padding: 10px;
    }

    .modal {
        padding: 20px;
        width: 94%;
        max-height: 85vh;
        border-radius: 16px;
    }

    .modal .form-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .navbar-brand img {
        height: 130px;
        margin-top: -20px;
        margin-bottom: -20px;
    }
}

/* ===== Worker Cards ===== */
.workers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.worker-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.worker-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.worker-card .worker-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.worker-card .worker-info {
    padding: 20px;
}

.worker-card .worker-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    text-align: center;
}

.worker-card .worker-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.worker-card .worker-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text);
}

.worker-card .worker-detail i {
    width: 20px;
    text-align: center;
    color: var(--primary);
    font-size: 13px;
}

.worker-card .worker-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.worker-badge.badge-daily {
    background: #E3F2FD;
    color: #1565C0;
}

.worker-badge.badge-annual {
    background: #E8F5E9;
    color: #2E7D32;
}

.worker-badge.badge-both {
    background: #FFF3E0;
    color: #E65100;
}

.worker-card .worker-action {
    text-align: center;
}

.worker-card .worker-action .btn {
    width: 100%;
    justify-content: center;
    padding: 10px;
    font-size: 14px;
    border-radius: 8px;
}

/* Worker photo placeholder */
.worker-photo-placeholder {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, var(--light), var(--border));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 48px;
}

/* Admin worker form */
.worker-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.photo-preview {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--border);
    margin-top: 8px;
}

.photo-upload-area {
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.photo-upload-area:hover {
    border-color: var(--primary);
    background: rgba(232, 149, 47, 0.03);
}

.photo-upload-area i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 8px;
}

.photo-upload-area p {
    font-size: 13px;
    color: var(--text-light);
}

/* Admin workers grid */
.admin-workers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.admin-worker-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.admin-worker-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.admin-worker-card .card-body {
    padding: 16px;
}

.admin-worker-card .card-body h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.admin-worker-card .card-body p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.admin-worker-card .card-actions {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
}

.admin-worker-card .card-actions .action-btn {
    flex: 1;
    height: 34px;
    border-radius: 8px;
    font-size: 13px;
}

@media (max-width: 768px) {
    .workers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .worker-card .worker-photo,
    .worker-photo-placeholder {
        height: 200px;
    }

    .worker-card .worker-info {
        padding: 14px;
    }

    .worker-card .worker-name {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .worker-card .worker-detail {
        font-size: 12px;
    }

    .worker-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-workers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .workers-grid {
        grid-template-columns: 1fr;
    }

    .admin-workers-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Location Picker ===== */
input[type="date"],
input[type="time"] {
    direction: ltr;
    text-align: right;
    cursor: pointer;
}

.location-picker {
    margin-top: 4px;
}

.location-btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
    font-size: 14px;
    border-radius: 10px;
}

.location-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.location-success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
}

.location-error {
    background: #FFF3E0;
    color: #E65100;
    border: 1px solid #FFE0B2;
}

.location-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.location-info a {
    color: #1565C0;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
}

.location-info .remove-location {
    color: #C62828;
    cursor: pointer;
    font-size: 12px;
    background: none;
    border: none;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
}

/* ===== Workers Section ===== */
.workers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.worker-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.worker-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.worker-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.worker-photo-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--light), #E8E0D8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: #CCC;
}

.worker-info {
    padding: 20px;
}

.worker-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
    text-align: center;
}

.worker-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.worker-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text);
}

.worker-detail i {
    color: var(--primary);
    width: 18px;
    text-align: center;
    font-size: 13px;
}

.worker-badge {
    display: inline-flex;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.badge-daily {
    background: #E3F2FD;
    color: #1565C0;
}

.badge-annual {
    background: #E8F5E9;
    color: #2E7D32;
}

.badge-both {
    background: #FFF3E0;
    color: #E65100;
}

.worker-action {
    text-align: center;
}

.worker-action .btn {
    width: 100%;
    justify-content: center;
    padding: 10px 20px;
    font-size: 14px;
}

/* Worker Booked State */
.worker-booked {
    position: relative;
}

.worker-booked .worker-photo {
    filter: grayscale(60%);
    opacity: 0.7;
}

.worker-booked .worker-photo-placeholder {
    filter: grayscale(60%);
    opacity: 0.7;
}

.booked-ribbon {
    position: absolute;
    top: 18px;
    right: -8px;
    background: linear-gradient(135deg, #C62828, #E53935);
    color: white;
    padding: 6px 24px 6px 16px;
    font-size: 14px;
    font-weight: 700;
    z-index: 2;
    border-radius: 4px 0 0 4px;
    box-shadow: 0 3px 10px rgba(198,40,40,0.3);
    letter-spacing: 0.5px;
}

.booked-ribbon::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    border-width: 0 8px 8px 0;
    border-style: solid;
    border-color: transparent #8B1A1A transparent transparent;
}

.booked-status {
    background: #FFEBEE;
    color: #C62828;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
    border: 1px solid #FFCDD2;
}

/* Admin worker photo preview */
.photo-preview {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid var(--border);
}

.photo-preview-placeholder {
    width: 80px;
    height: 80px;
    background: var(--light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #CCC;
    font-size: 28px;
    border: 2px solid var(--border);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* ===== Detail Modal ===== */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.detail-item {
    padding: 12px;
    background: var(--light);
    border-radius: 8px;
}

.detail-item.full {
    grid-column: span 2;
}

.detail-item label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.detail-item span {
    font-size: 15px;
    color: var(--dark);
    font-weight: 500;
}
