/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    line-height: 1.6;
    color: #333;
    direction: rtl;
}

/* Force font weight for all elements */
h1, h2, h3, h4, h5, h6, p, span, div, button, a {
    font-family: 'Rubik', sans-serif !important;
    font-weight: 500 !important;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
}

.navbar {
    padding: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* Language Button */
.lang-btn {
    display: flex;
    align-items: center;
}

.lang-btn-img {
    height: 35px;
    width: auto;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.lang-btn-img:hover {
    opacity: 0.8;
}



/* Banner Section */
.banner {
    position: relative;
    height: 300px;
    background-image: url('images/banner3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Booking Section */
.booking-section {
    padding: 80px 0;
    background: #f8f9fa;
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 40px;
    flex-direction: column;
}

/* Back Button */
.back-button-container {
    margin-bottom: 40px;
    text-align: right;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    align-self: center;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #4A90E2;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Rubik', sans-serif;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.back-button:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.back-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(74, 144, 226, 0.3);
}

.back-button svg {
    transition: transform 0.3s ease;
}

.back-button:hover svg {
    transform: translateX(-3px);
}

.booking-card {
    background: white;
    border-radius: 20px;
    padding: 60px 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    width: 95%;
    text-align: center;
    margin: 0 auto;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.booking-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 50px;
    font-weight: 600;
    line-height: 1.3;
}

/* Service Selection */
.service-selection {
    display: flex;
    gap: 60px;
    justify-content: center;
    margin-bottom: 50px;
}

.service-option {
    flex: 1;
    max-width: 350px;
    padding: 50px 40px;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.service-option:hover {
    border-color: #4A90E2;
    background: #e3f2fd;
    transform: translateY(-5px);
}

.service-option.active {
    border-color: #4A90E2;
    background: #4A90E2;
    color: white;
}

.service-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1352%) hue-rotate(204deg) brightness(95%) contrast(86%);
}

.service-option.active .service-icon-img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(109deg) brightness(105%) contrast(105%);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

/* Booking Form */
.booking-form {
    text-align: right;
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Form Grid Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.form-input {
    width: 100%;
    padding: 18px 25px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1.1rem;
    font-family: 'Rubik', sans-serif;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-input:focus {
    outline: none;
    border-color: #4A90E2;
    background: white;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

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

.submit-btn {
    background: #4A90E2;
    color: white;
    border: none;
    padding: 20px 50px;
    border-radius: 30px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 40px auto 0;
    font-family: 'Rubik', sans-serif;
}

.submit-btn:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.btn-text {
    font-weight: 600;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.footer-logo {
    display: flex;
    justify-content: flex-start;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-links {
    display: flex;
    gap: 60px;
    align-items: center;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    color: white;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.footer-column h4 a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-column h4:hover,
.footer-column h4 a:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-media-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-icon.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social-icon.x-twitter:hover {
    background: #000000;
    border-color: #000000;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e6683c;
}

.social-icon.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Success Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.7) translateY(50px);
    transition: all 0.3s ease;
    position: relative;
}

.popup-overlay.show .popup-container {
    transform: scale(1) translateY(0);
}

.popup-content {
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.success-icon {
    color: #28a745;
    margin-bottom: 25px;
    animation: successPulse 1.5s ease-in-out;
}

@keyframes successPulse {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.popup-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.popup-message {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.popup-details {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: right;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.detail-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #333;
}

.detail-value {
    color: #4A90E2;
    font-weight: 500;
}

.popup-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.popup-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Rubik', sans-serif;
    text-decoration: none;
}

.popup-btn.primary {
    background: #4A90E2;
    color: white;
}

.popup-btn.primary:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.popup-btn.secondary {
    background: #6c757d;
    color: white;
}

.popup-btn.secondary:hover {
    background: #545b62;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
}

.close-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    color: #333;
    background: #f8f9fa;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100px;
        position: relative;
    }

    .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .lang-btn {
        margin-left: auto;
    }

    .banner {
        height: 250px;
    }

    .booking-section {
        padding: 30px 0 60px;
        min-height: auto;
        align-items: flex-start;
        padding-top: 20px;
    }

    .back-button-container {
        margin-bottom: 30px;
        text-align: center;
        padding: 0 15px;
    }

    .back-button {
        padding: 10px 18px;
        font-size: 0.95rem;
    }

    .booking-card {
        margin: 10px;
        padding: 40px 25px;
        border-radius: 15px;
        max-width: 98%;
        width: 98%;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

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

    .booking-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
        line-height: 1.2;
    }

    .service-selection {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        margin-bottom: 35px;
    }

    .service-option {
        max-width: 450px;
        width: 100%;
        padding: 35px 25px;
        margin: 0 5px;
    }

    .service-icon-img {
        width: 65px;
        height: 65px;
    }

    .service-title {
        font-size: 1.05rem;
        margin-top: 10px;
    }

    .booking-form {
        margin-top: 35px;
    }

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

    .form-label {
        font-size: 1rem;
        margin-bottom: 6px;
        font-weight: 600;
    }

    .form-input {
        padding: 12px 16px;
        font-size: 1rem;
        border-radius: 8px;
        border: 1px solid #ddd;
    }

    .form-input:focus {
        border-color: #4A90E2;
        box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.1);
    }

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

    .submit-btn {
        padding: 14px 35px;
        font-size: 1.05rem;
        margin-top: 25px;
        border-radius: 25px;
    }

    .popup-container {
        width: 95%;
        max-width: 450px;
    }

    .popup-content {
        padding: 30px 20px;
    }

    .popup-title {
        font-size: 1.5rem;
    }

    .popup-message {
        font-size: 1rem;
    }

    .popup-actions {
        flex-direction: column;
        gap: 10px;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        gap: 40px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .social-media-icons {
        gap: 15px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
        height: 70px;
    }

    .logo-img {
        height: 40px;
    }

    .lang-btn-img {
        height: 28px;
    }

    .banner {
        height: 200px;
    }

    .booking-section {
        padding: 20px 0 40px;
        min-height: auto;
        align-items: flex-start;
        padding-top: 15px;
    }

    .back-button-container {
        margin-bottom: 25px;
    }

    .back-button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .back-button svg {
        width: 18px;
        height: 18px;
    }

    .booking-card {
        margin: 5px;
        padding: 30px 20px;
        border-radius: 12px;
        max-width: 99%;
        width: 99%;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    }

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

    .booking-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .service-selection {
        gap: 12px;
        margin-bottom: 25px;
    }

    .service-option {
        max-width: none;
        width: 100%;
        padding: 25px 15px;
        margin: 0 2px;
    }

    .service-title {
        font-size: 0.95rem;
        margin-top: 8px;
    }

    .service-icon-img {
        width: 90px;
        height: 90px;
    }

    .booking-form {
        margin-top: 25px;
    }

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

    .form-label {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }

    .form-input {
        padding: 10px 14px;
        font-size: 0.9rem;
        border-radius: 6px;
    }

    .form-textarea {
        min-height: 70px;
    }

    .submit-btn {
        padding: 12px 25px;
        font-size: 0.95rem;
        margin-top: 20px;
        border-radius: 20px;
    }

    .popup-container {
        width: 98%;
        max-width: 350px;
    }

    .popup-content {
        padding: 25px 15px;
    }

    .popup-title {
        font-size: 1.3rem;
    }

    .popup-message {
        font-size: 0.95rem;
    }

    .popup-details {
        padding: 15px;
    }

    .popup-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .footer-content {
        padding: 0 15px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .footer-column h4 {
        font-size: 0.9rem;
    }

    .footer-logo-img {
        height: 45px;
    }

    .social-media-icons {
        gap: 10px;
    }

    .social-icon {
        width: 35px;
        height: 35px;
    }

    .social-icon svg {
        width: 16px;
        height: 16px;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .booking-card {
        max-width: 1400px;
        width: 90%;
        padding: 80px 70px;
    }

    .service-selection {
        gap: 80px;
    }

    .service-option {
        max-width: 400px;
        padding: 60px 50px;
    }

    .booking-title {
        font-size: 2.8rem;
        margin-bottom: 60px;
    }

    .service-selection {
        gap: 50px;
        margin-bottom: 60px;
    }

    .service-option {
        max-width: 280px;
        padding: 50px 40px;
    }

    .service-icon-img {
        width: 90px;
        height: 90px;
    }

    .service-title {
        font-size: 1.4rem;
    }

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

    .form-label {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .form-input {
        padding: 20px 30px;
        font-size: 1.2rem;
        border-radius: 15px;
    }

    .submit-btn {
        padding: 22px 60px;
        font-size: 1.4rem;
        margin-top: 50px;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .nav-container {
        padding: 0 10px;
        height: 65px;
    }

    .logo-img {
        height: 35px;
    }

    .lang-btn-img {
        height: 25px;
    }

    .banner {
        height: 180px;
    }

    .booking-section {
        padding: 15px 0 30px;
        padding-top: 10px;
    }

    .booking-card {
        margin: 3px;
        padding: 25px 15px;
        width: calc(100% - 6px);
    }

    .booking-title {
        font-size: 1.2rem;
        margin-bottom: 18px;
    }

    .service-selection {
        gap: 10px;
        margin-bottom: 20px;
    }

    .service-option {
        padding: 20px 12px;
        margin: 0 1px;
    }

    .service-icon-img {
        width: 50px;
        height: 50px;
    }

    .service-title {
        font-size: 0.9rem;
        margin-top: 6px;
    }

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

    .form-label {
        font-size: 0.85rem;
    }

    .form-input {
        padding: 9px 12px;
        font-size: 0.85rem;
    }

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

    .submit-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        margin-top: 18px;
    }
}
