@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700&display=swap');
:root {
    --primary: #1e88e5;
    --secondary: #5e35b1;
    --accent: #ff9800;
    --success: #43a047;
    --error: #e53935;
    --dark: #263238;
    --light: #f5f5f5;
    --gray: #607d8b;
    --primary: #1e88e5;
    --primary-dark: #1d4ed8;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}
* {
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}
a {
    text-decoration: none !important;
}
body {
    direction: rtl;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}
.navbar {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 1rem 2rem;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar img {
    width: 100%;
    height: 50px;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: white !important;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: white !important;
    transform: translateY(-2px);
}

.navbar .container {
    display: flex !important;
    align-items: center;
    justify-content: space-between !important;
}

/* Form */
.registration-form {
    padding: 60px 0;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-title {
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 25%;
    width: 50%;
    height: 3px;
    background: linear-gradient(to left, var(--primary), var(--secondary));
}

.progress-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
}

.step-indicator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #757575;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    transition: all 0.3s ease;
}

.step-indicator.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 3px 10px rgba(94, 53, 177, 0.3);
}

.step-line {
    height: 3px;
    background-color: #e0e0e0;
    flex-grow: 1;
    max-width: 100px;
    margin: 0 10px;
}

.multi-step-form {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eeeeee;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    margin: 0 -10px;
    flex-wrap: wrap;
}

.form-row .form-group {
    padding: 0 10px;
    flex: 1 1 300px;
}

label {
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
    color: var(--dark);
}

.input-with-icon {
    position: relative;
}

.textarea-with-icon {
    position: relative;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.input-icon,
.voice-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray);
    transition: all 0.3s;
}

.input-icon:hover,
.voice-btn:hover {
    color: var(--primary);
}

.voice-btn {
    margin-right: 5px;
    font-size: 14px;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.textarea-with-icon .input-icon {
    top: 20px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    margin-left: 10px;
    margin-top: 5px;
}

.file-upload {
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}

.file-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.file-upload-label {
    display: block;
    padding: 12px 15px;
    background-color: #f5f5f5;
    border: 1px dashed #ddd;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.file-upload-label:hover {
    background-color: #eeeeee;
    border-color: var(--primary);
}

.hint {
    color: var(--gray);
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.error-message {
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 5px;
}

/*  Buttons */
.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.prev-step {
    background-color: #e0e0e0;
    color: #757575;
}

.prev-step:hover {
    background-color: #d5d5d5;
}

.next-step,
.submit-form {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
}

.next-step:hover,
.submit-form:hover {
    box-shadow: 0 5px 15px rgba(94, 53, 177, 0.3);
    transform: translateY(-2px);
}

.next-step i,
.prev-step i,
.submit-form i {
    margin: 0 5px;
}

.radio-cards,
.checkbox-cards {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.radio-card,
.checkbox-card {
    position: relative;
    margin: 10px;
    flex: 1 1 200px;
}

.radio-card input[type="radio"],
.checkbox-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.radio-card-label,
.checkbox-card-label {
    display: block;
    padding: 15px;
    background: #f9f9f9;
    border: 2px solid #eee;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.radio-card input[type="radio"]:checked+.radio-card-label,
.checkbox-card input[type="checkbox"]:checked+.checkbox-card-label {
    border-color: var(--primary);
    background-color: rgba(30, 136, 229, 0.05);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.radio-card-label i,
.checkbox-card-label i {
    display: block;
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--secondary);
}


*:focus-visible {
    outline: 3px solid rgba(30, 136, 229, 0.5);
    outline-offset: 2px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.submit-form:focus {
    animation: pulse 1s infinite;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
    transition: all 0.3s ease;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: -3px 0 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    right: 0;
}

.sidebar-header {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu-item {
    margin-bottom: 5px;
}
.sidebar-menu-item a {
    display: block;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s;
    border-right: 3px solid transparent;
}
.sidebar-menu-item a:hover,
.sidebar-menu-item.active a {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-right-color: var(--accent);
}
.sidebar-menu-item i {
    margin-left: 10px;
    width: 20px;
    text-align: center;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s;
}
.social-link:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}
.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    text-align: center;
}
/* Footer */
.footer {
    background: linear-gradient(135deg, #1e2a78, #263238);
}
.footer h5 {
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: 600;
}
.footer a {
    transition: all 0.3s;
    text-decoration: none;
}
.footer a:hover {
    color: var(--accent) !important;
    padding-right: 5px;
}
.contact-info li {
    margin-bottom: 10px;
}
.footer .social-links {
    justify-content: flex-start;
}
.footer .social-link {
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: 10px;
    margin-left: 0;
}
.copyright,
.copyright a {
    margin: 0 !important;
    color: #fff;
}
.copyright a img {
    width: 30px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    margin: 0 5px;
}
/* Success Modal */
.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    align-items: center;
    justify-content: center;
}
.success-modal-content {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 30px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: modalFadeIn 0.5s ease;
}
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.success-icon {
    font-size: 60px;
    color: var(--success);
    margin-bottom: 20px;
}
/* Hero */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    right: -5%;
    top: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.hero-section::after {
    content: '';
    position: absolute;
    left: -5%;
    bottom: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    font-weight: 500;
}

.cta-btn {
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.cta-btn:hover {
    background-color: #0d9b6d;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: white;
}

.hero-image {
    animation: float 6s ease-in-out infinite;
    max-width: 90%;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border-top: 5px solid var(--secondary);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

#features .section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 50px;
    font-weight: 700;
}
#features .section-title span {
    color: var(--accent);
}

#features .section-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    right: 0;
    width: 50%;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}
#about h5 i {
    color: var(--accent);
}

#contact h2 span ,
#about h2 span {
    color: var(--accent);
}
#contact button {
    background-color: var(--secondary);
    color: var(--light);
}
#contact input,
#contact textarea {
    border: 1px solid var(--secondary);
}
#contact input:focus,
#contact textarea:focus {
    outline: none !important;
    box-shadow: none !important;
}
#contact input::placeholder,
#contact textarea::placeholder {
    color: var(--primary);
}
















/* Responsive */
@media (max-width: 768px) {
      .navbar .navbar-brand {
        font-size: 1.5rem;
    }
     .hero-img {
         margin-top: 40px ;
     }
    .menu-toggle-btn {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 1.2rem;
        cursor: pointer;
    }

    .footer .social-links {
        justify-content: center;
    }

    .footer .col-md-4 {
        margin-bottom: 20px;
        text-align: center;
    }

    .footer .contact-info {
        display: inline-block;
        text-align: left;
    }
    .form-row .form-group {
        width: 100%;
    }

    .radio-cards,
    .checkbox-cards {
        flex-direction: column;
    }

    .radio-card,
    .checkbox-card {
        width: 100%;
    }

    .form-actions {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
    }
}