:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color), #4d94ff);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.service-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-card .card-body {
    padding: 2rem;
    text-align: center;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.appointment-form {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 2rem;
}

.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.btn {
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #4d94ff);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0b5ed7, #3d7bff);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning-color), #ffcd39);
    border: none;
    color: #000;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #e0a800, #ffc720);
}

.status-badge {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-confirmed {
    background-color: #d1ecf1;
    color: #0c5460;
}

.status-in-progress, .status-in_progress {
    background-color: #cce7ff;
    color: #004085;
}

.status-completed {
    background-color: #d4edda;
    color: #155724;
}

.status-cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

.features-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.feature-item {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-section {
    padding: 80px 0;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color), #4d94ff);
    color: white;
    border-radius: 15px;
    padding: 3rem;
    height: 100%;
}

.contact-info h4 {
    margin-bottom: 2rem;
}

.contact-info .contact-item {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.contact-info .contact-item i {
    font-size: 1.25rem;
    margin-right: 15px;
    width: 25px;
}

.loading {
    display: none;
    text-align: center;
    padding: 2rem;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .appointment-form {
        padding: 1.5rem;
    }
    
    .service-card .card-body {
        padding: 1.5rem;
    }
    
    .contact-info {
        padding: 2rem;
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
}

.admin-sidebar {
    background: linear-gradient(180deg, var(--primary-color), #0b5ed7);
    min-height: 100vh;
    padding-top: 2rem;
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 15px 20px;
    border-radius: 10px;
    margin: 5px 15px;
    transition: all 0.3s ease;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.admin-content {
    background-color: var(--light-color);
    min-height: 100vh;
    padding: 2rem;
}

.admin-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.admin-card .card-header {
    background: linear-gradient(135deg, var(--primary-color), #4d94ff);
    color: white;
    border-radius: 15px 15px 0 0 !important;
    padding: 1.5rem;
    border: none;
}

.table {
    border-radius: 10px;
    overflow: hidden;
}

.table th {
    background-color: var(--light-color);
    border: none;
    font-weight: 600;
    color: var(--dark-color);
}

.table td {
    border: none;
    vertical-align: middle;
}

.table tbody tr {
    border-bottom: 1px solid #dee2e6;
}

.table tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), #4d94ff);
    color: white;
    border-radius: 15px 15px 0 0;
    border: none;
}

.modal-footer {
    border: none;
    padding: 1.5rem;
}

.specialization-section {
    padding: 80px 0;
}

.brand-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.brand-icon {
    margin-bottom: 1rem;
}

.brand-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.brand-card ul li {
    padding: 5px 0;
    color: #666;
}

.service-details {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
}

.service-details .border-end {
    border-color: #dee2e6 !important;
}

.process-step-mini {
    margin-bottom: 1rem;
}

.step-number-mini {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0d6efd, #4d94ff);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0 auto 0.5rem;
    box-shadow: 0 3px 10px rgba(13, 110, 253, 0.3);
}

@media (max-width: 768px) {
    .service-details .border-end {
        border-end: none !important;
        border-bottom: 1px solid #dee2e6;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
    
    .alert .col-md-1 {
        margin-bottom: 1rem;
    }
}