/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
}

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

/* Header */
header {
    background-color: #2c3e50;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    color: #3498db;
}

.logo p {
    font-size: 12px;
    color: #bdc3c7;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #3498db;
}

.btn-register {
    background-color: #3498db;
    padding: 10px 20px;
    border-radius: 5px;
}

.btn-register:hover {
    background-color: #2980b9;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 40px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 10px;
}

.search-box input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

.search-box button {
    padding: 15px 30px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-box button:hover {
    background-color: #c0392b;
}

/* Services */
.services {
    padding: 60px 0;
}

.services h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #2c3e50;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

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

.service-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.service-card p {
    color: #7f8c8d;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #2980b9;
}

/* How It Works */
.how-it-works {
    background-color: #ecf0f1;
    padding: 60px 0;
}

.how-it-works h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #2c3e50;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.step p {
    color: #7f8c8d;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px 0;
}

footer p {
    margin: 5px 0;
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h2 {
        font-size: 28px;
    }

    .search-box {
        flex-direction: column;
    }
}
/* Services Page */
.services-page {
    padding: 60px 0;
}

.services-page h2 {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.services-page .subtitle {
    text-align: center;
    color: #7f8c8d;
    font-size: 18px;
    margin-bottom: 50px;
}
/* Professionals Page */
.professionals-page {
    padding: 60px 0;
}

.professionals-page h2 {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.professionals-page .subtitle {
    text-align: center;
    color: #7f8c8d;
    font-size: 18px;
    margin-bottom: 30px;
}

/* Filter */
.filter-box {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-box select,
.filter-box input {
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    min-width: 200px;
}

.filter-box select:focus,
.filter-box input:focus {
    outline: none;
    border-color: #3498db;
}

/* Professionals Grid */
.professionals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.professional-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.professional-card:hover {
    transform: translateY(-5px);
}

.professional-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.professional-card h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 5px;
}

.professional-card .category {
    color: #3498db;
    font-weight: bold;
    margin-bottom: 10px;
}

.professional-card .rating {
    color: #f39c12;
    margin-bottom: 5px;
}

.professional-card .location {
    color: #7f8c8d;
    margin-bottom: 5px;
}

.professional-card .rate {
    font-size: 18px;
    font-weight: bold;
    color: #27ae60;
    margin-bottom: 15px;
}
/* Booking Page */
.booking-page {
    padding: 60px 0;
}

.booking-page h2 {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.booking-page .subtitle {
    text-align: center;
    color: #7f8c8d;
    font-size: 18px;
    margin-bottom: 40px;
}

.booking-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Professional Info */
.booking-professional {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: fit-content;
}

.booking-professional img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.booking-professional h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 5px;
}

.booking-professional .category {
    color: #3498db;
    font-weight: bold;
    margin-bottom: 10px;
}

.booking-professional .rating {
    color: #f39c12;
    margin-bottom: 5px;
}

.booking-professional .location {
    color: #7f8c8d;
    margin-bottom: 5px;
}

.booking-professional .rate {
    font-size: 20px;
    font-weight: bold;
    color: #27ae60;
    margin-top: 15px;
}

/* Booking Form */
.booking-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.booking-form h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.booking-summary {
    background: #ecf0f1;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.booking-summary p {
    margin: 8px 0;
    color: #2c3e50;
}

.booking-summary .total {
    font-size: 20px;
    font-weight: bold;
    color: #27ae60;
    border-top: 2px solid #bdc3c7;
    padding-top: 10px;
    margin-top: 10px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background-color: #229954;
}

/* Responsive */
@media (max-width: 768px) {
    .booking-container {
        grid-template-columns: 1fr;
    }
}
/* Auth Pages (Login & Register) */
.auth-page {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.auth-box {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    width: 100%;
}

.auth-box h2 {
    text-align: center;
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.auth-box .subtitle {
    text-align: center;
    color: #7f8c8d;
    font-size: 16px;
    margin-bottom: 30px;
}

/* User Type Selection */
.user-type {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.type-btn {
    flex: 1;
    padding: 12px;
    background: #ecf0f1;
    border: 2px solid #ecf0f1;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    color: #2c3e50;
    font-weight: bold;
}

.type-btn.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.type-btn:hover {
    border-color: #3498db;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

/* Auth Link */
.auth-link {
    text-align: center;
    margin-top: 20px;
    color: #7f8c8d;
}

.auth-link a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.auth-link a:hover {
    text-decoration: underline;
}
/* Language Switcher */
.lang-switch {
    display: flex;
    gap: 5px;
    margin-left: 15px;
    align-items: center;
}

.lang-btn {
    padding: 6px 12px;
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    transition: all 0.3s;
}

.lang-btn:hover {
    background: rgba(255,255,255,0.2);
}

.lang-btn.active {
    background: #3498db;
    border-color: #3498db;
    color: white;
}