* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  font-family: "Tajawal", sans-serif;
    background: #f8f8f8;
    color: #333;
    line-height: 1.6;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contetn_hero {
    max-width: 400px;
}

.hero-content {
    text-align: center;
    color: white;
    padding: 80px;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    justify-content: space-between;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    line-height: 120%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 500;
    text-align: right;
}


.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-align: right;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 100%;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    text-align: right;
    transition: border 0.3s;
}

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

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #c4a77d, #a08968);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(196, 167, 125, 0.4);
}

/* Sections */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.section-subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 60px;
    font-size: 1.1rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #c4a77d;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

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

.service-card {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: scale(1.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
}

.service-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: white;
}

.service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 80px 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #c4a77d;
}

.stat-item p {
    font-size: 1.2rem;
}

/* Appointment Section */
.appointment {
    background: linear-gradient(135deg, #c4a77d, #a08968);
    padding: 80px 20px;
    color: white;
}

.appointment-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.appointment-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.appointment-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    margin-top: 40px;
    color: #333;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* Map Section */
.map-section {
    background: white;
    padding: 80px 20px;
}

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

.map-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #2c3e50;
    font-weight: 500;
}

.map-wrapper {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-placeholder {
    text-align: center;
    color: #7f8c8d;
}

.map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: #c4a77d;
}

/* Footer */
footer {
    background: color-mix(in srgb, #3d311c 90%, transparent);
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #c4a77d;
}

.social-link svg {
    width: 30px;
    height: 30px;

}

.footer-content P {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    padding: 5px;
    position: relative;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    text-decoration: none;
    color: white;
    position: relative;
    font-size: 1.5rem;
}



.whatsapp-tooltip {
    position: absolute;
    top: 11px;
    right: 105%;
    background: white;
    color: #333;
    padding: 12px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    font-size: 0.95rem;
    font-weight: 500;
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    border: 8px solid transparent;
    border-left-color: white;
}

.social-link:hover {
    background: #c4a77d;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff !important;
    border-radius: 5px;
    font-size: 1em;
    background-image: url('https://cdn-icons-png.flaticon.com/512/32/32195.png');
    background-repeat: no-repeat;
    background-position: left 10px center;
    background-size: 12px;
    padding-right: 30px;
    cursor: pointer;
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}
/* Success Message */
.success-message {
    display: none;
    background: #27ae60;
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.success-message.show {
    display: block;
    animation: fadeInUp 0.5s;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #000;
    text-align: right;
}

/* Validation Error Styles */
.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
    border-color: #dc3545 !important;
    background-color: #fff5f5;
}

.form-group input.is-invalid:focus,
.form-group select.is-invalid:focus,
.form-group textarea.is-invalid:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.error-container {
    margin-top: 5px;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    display: block;
    text-align: right;
}
@media (max-width: 1200px) {
    .hero-content {
        padding: 20px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

}

@media (max-width: 992px) {
    .whatsapp-tooltip {
        padding: 10px;
        font-size: 0.85rem;
    }

    footer {
        padding: 30px 20px 30px;
    }

    .footer-content P {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .footer-brand {
        font-size: 3rem;
        margin-bottom: 15px;
    }

    .hero-content {
        justify-content: flex-start;
    }

    .contetn_hero {
        max-width: 100%;
    }

    .contact-form {
        padding: 25px;

    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

}

/* Responsive */
@media (max-width: 768px) {
    .footer-bottom {
        margin-top: 20px;
    }

    .social-links {
        gap: 15px;
        margin: 20px 0;
    }

    .social-link svg {
        width: 24px;
        height: 24px;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }

    .footer-brand {
        text-shadow: unset !important;
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .contact-form {
        padding: 20px;
        max-width: 430px;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .footer-content P {
        font-size: 1rem;
    }
        footer {
        padding: 20px;
    }
        .social-link {
        width: 40px;
        height: 40px;
    }
        .social-link svg {
        width: 20px;
        height: 20px;
    }
        .contact-form {
        padding: 10px;
    }
    .footer-brand {
        font-size: 2.2rem;
    }

    label {
        margin-bottom: 5px;
        font-size: 15px;
    }

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

    .hero p {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-content {
        padding: 15px;
    }
}
