@import url(https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap);
@font-face {
    font-family: MyCustomFont;
    src: url(../font/FrutigerLTArabic45Light.ttf) format("woff2"), url(../font/FrutigerLTArabic55Roman.ttf) format("woff2"), url(../font/FrutigerLTArabic65Bold.ttf) format("woff2");
    font-weight: 400;
    font-style: normal
}

* {
    font-family: MyCustomFont
}

body {
    font-family: Tajawal, sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f9f9
}

.pb-5 {
    padding-bottom: 5rem !important;
}

.container--img__1 {
    position: absolute;
    bottom: 0;
    left: 0;
    @media screen and (min-width: 991px) and (max-width: 1600px) {
        display: flex;
        justify-content: end;
    }
}

.container--img__1 img {
    @media screen and (min-width: 991px) and (max-width: 1600px) {
        width: 60%;
        height: 60%;
    }
}

.container--img__2 {
    position: absolute;
    top: 0;
    right: 0
}

.navbar {
    z-index: 8;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
    margin: 20px 0;
    border-radius: 20px
}

.navbar .logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(to right, #009ffd, #8338ec);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0
}

.navbar .nav-links li {
    font-weight: 700;
    display: inline
}

.navbar .nav-links li a {
    font-size: 20px;
    text-decoration: none;
    color: #222;
    font-weight: 700;
    transition: color .3s
}

.navbar .nav-links li a:hover {
    color: #009ffd
}

.navbar .start-btn {
    display: flex;
    align-items: center;
    margin-left: 20px;
    padding: 10px 40px;
    border-radius: 30px;
    border: none;
    gap: 10px;
    position: relative;
    color: #009ffd;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s ease
}

.navbar .start-btn ::after {
    z-index: -1;
    content: "";
    position: absolute;
    border-radius: 30px;
    width: 102%;
    height: 110%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(to bottom, #60269e, #0081c2, #0fcec9)
}

.icon {
    color: #000;
    font-size: 20px
}

@media (max-width:768px) {
    .navbar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .navbar .nav-links {
        flex-direction: column;
        gap: 30px
    }
    .navbar .start-btn {
        display: none;
    }
}

.content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 100px;
    flex-direction: column;
}

.content .content-text {
    justify-content: center
}

.content .content-text h2 {
    background-image: linear-gradient(to bottom, #60269e, #0081c2, #0fcec9);
    -webkit-background-clip: text;
    color: transparent;
    font-size: 100px
}

.content .content-text h4 {
    background-image: linear-gradient(to bottom, #60269e, #0081c2, #0fcec9);
    -webkit-background-clip: text;
    color: transparent;
    font-size: 50px
}

.content .content-text p {
    font-size: 20px;
    background-image: linear-gradient(to bottom, #60269e, #0081c2, #0fcec9);
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 700
}

.content--btn-secandray {
    margin-top: 30px;
    background: linear-gradient(to bottom, #60269e, #0081c2, #0fcec9);
    color: #fff;
    padding: 10px 100px;
    border-radius: 30px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s ease;
    border: none
}

.stats-section {
    display: flex;
    justify-content: space-around;
    gap: 50px;
    padding: 50px;
    background: #f6f6f6
}

.stat-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px
}

.icon {
    width: 100px;
    height: 100px
}

.stat-details {
    font-size: 20px;
    display: flex;
    flex-direction: column
}

.system-process {
    padding: 50px;
    text-align: center;
    justify-content: center;
    align-items: center
}

.system-process h2 {
    font-size: 32px;
    font-weight: 700;
    color: #60269e;
    margin-bottom: 15px
}

.system-process p {
    font-size: 16px;
    color: #000;
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 700
}

.system-process .process-steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: auto;
    padding-top: 50px
}

.system-process .step {
    text-align: center;
    width: 140px;
    position: relative
}

.system-process .step .icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
    margin: auto;
    position: relative
}

.system-process .step .icon img {
    width: 100px;
    height: 100px
}

.system-process .step .text {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #60269e
}

.form-container {
    margin-top: 50px;
    justify-content: center;
    align-items: center
}

.form {
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    display: flex;
    height: 85vh;
    align-items: center;
    background-color: #f6f6f6;
    border-radius: 30px;
    border: 10px solid #dae3ff
}

.heading-3 {
    width: 700px;
    background-color: #fff;
    border-radius: 23px;
    padding: 0 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1)
}

.form-group {
    height: 40px;
    width: 700px;
    display: flex;
    align-items: center;
    justify-content: right;
    background-color: #fff;
    border-radius: 15px;
    padding: 5px 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1)
}

.button-group {
    display: flex;
    justify-content: end;
    width: 700px;
    gap: 20px
}

.button-group button {
    color: #fff;
    background-color: #60269e;
    border: none;
    border-radius: 10px;
    width: 80px;
    padding: 8px 0;
    font-weight: 700
}

.testimonials-section {
    padding: 50px;
    background: #f8f9ff;
}

.testimonials-section .title {
    text-align: center;
    font-size: 2.5rem;
    color: #6b21a8;
    margin-bottom: 3rem;
    font-weight: 700;
}

.testimonials-wrapper {
    overflow: hidden;
    position: relative;
}

.testimonials {
    display: flex;
    gap: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .testimonials {
        flex-wrap: wrap;
    }
}

.testimonial-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 350px;
    margin-bottom: 2rem;
}

.testimonial-card .quote {
    color: #14b8a6;
    font-size: 3rem;
    height: 24px;
    margin-bottom: 1rem;
    line-height: 0;
}

.testimonial-card .profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-card .profile-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card .profile-info h3 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.25rem;
}

.testimonial-card .profile-info p {
    font-size: 0.875rem;
    color: #666;
}

.testimonial-card .testimonial-text {
    color: #444;
    line-height: 1.6;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .testimonial-card {
        max-width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .testimonial-card {
        max-width: calc(50% - 1rem);
    }
}

@media (min-width: 1201px) {
    .testimonial-card {
        max-width: calc(33.333% - 1.5rem);
    }
}

.video-section {
    padding: 4rem 0;
    text-align: center;
    background-color: #f8f9fa
}

.video-section .video-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem
}

.video-section .video-container h2 {
    margin-bottom: 2rem;
    color: #333;
    font-size: 2rem
}

.video-section .video-container .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
    margin: 0 auto;
    max-width: 800px
}

.video-section .video-container .video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.video-section .video-container .video-description {
    margin-top: 2rem;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6
}


/* Responsive Design Updates */

@media (max-width: 1200px) {
    .navbar {
        width: 100%;
        margin: 20px auto;
    }
    .content .content-text h2 {
        font-size: 80px;
    }
    .content .content-text h4 {
        font-size: 40px;
    }
}

@media (max-width: 992px) {
    .navbar {
        width: 90%;
        padding: 15px 20px;
    }
    .container--img__1,
    .container--img__2 {
        display: none !important;
        /* Remove decorative images on smaller screens */
    }
    .stats-section {
        flex-wrap: wrap;
        gap: 30px;
    }
    .stat-box {
        width: calc(50% - 30px);
    }
    .system-process .process-steps {
        flex-wrap: wrap;
        gap: 30px;
    }
    .system-process .step {
        width: calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .navbar {
        width: 80%;
        margin: 10px auto;
        padding: 10px;
        background: rgba(255, 255, 255, 0.95);
    }
    .content {
        padding-top: 200px;
        /* Increased to account for stacked navbar */
        padding-left: 20px;
        padding-right: 20px;
    }
    .content .content-text h2 {
        font-size: 60px;
    }
    .content .content-text h4 {
        font-size: 30px;
    }
    .content .content-text p {
        font-size: 16px;
    }
    .content--btn-secandray {
        padding: 10px 50px;
        font-size: 16px;
    }
    .form {
        height: auto;
        padding: 20px 0;
    }
    .heading-3,
    .form-group,
    .button-group {
        width: 90%;
        max-width: 500px;
    }
    .system-process .step {
        width: calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .navbar .nav-links li a {
        font-size: 16px;
    }
    .content .content-text h2 {
        font-size: 40px;
    }
    .content .content-text h4 {
        font-size: 24px;
    }
    .stats-section {
        padding: 30px 15px;
    }
    .stat-box {
        width: 100%;
    }
    .system-process {
        padding: 30px 15px;
    }
    .system-process .step {
        width: 100%;
    }
    .system-process h2 {
        font-size: 24px;
    }
    .system-process p {
        font-size: 14px;
    }
    .form-group {
        height: auto;
        padding: 10px;
    }
    .button-group {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    .button-group button {
        width: 100%;
    }
}


/* Fix for testimonials section responsiveness */

@media (max-width: 768px) {
    .testimonials-section {
        padding: 30px 15px;
    }
    .testimonials-section .title {
        font-size: 2rem;
    }
    .testimonial-card {
        padding: 1rem;
    }
}


/* Fix for video section responsiveness */

@media (max-width: 768px) {
    .video-section {
        padding: 2rem 15px;
    }
    .video-section .video-container h2 {
        font-size: 1.5rem;
    }
}


/* Add these styles for the hamburger menu */


/* Hamburger Base Styles */

.hamburger {
    position: fixed;
    top: 55px;
    right: 40px;
    display: none;
    /* Hidden by default */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #60269e;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}


/* Mobile Styles */

@media (max-width: 768px) {
    /* Show hamburger */
    .hamburger {
        display: flex;
    }
    /* Navigation Links */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: transform 0.3s ease-in-out;
        z-index: 999;
        padding: 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    .nav-links.active {
        transform: translateX(-130%);
    }
    .nav-links li {
        margin: 15px 0;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
    }
    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.2s;
    }
    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
        transition: transform 0.3s ease-in-out;
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
        transition: all 0.2s ease-in-out;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        transition: transform 0.3s ease-in-out;
    }
    /* Improved Mobile Header */
    .header {
        min-height: 100vh;
        position: relative;
    }
    /* Content Adjustments */
    .content {
        padding: 100px 20px 0;
    }
    .content .content-text {
        padding: 1.5rem;
        border-radius: 15px;
        box-shadow: 0 4px 20px rgba(96, 38, 158, 0.1);
        backdrop-filter: blur(8px);
    }
    /* Navbar Fixes */
    .navbar {
        position: relative;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px);
        padding: 15px 20px;
        margin: 10px;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }
    /* Floating Elements Fix */
    .container {
        position: relative;
    }
    .container::before,
    .container::after {
        content: '';
        position: absolute;
        width: 150px;
        height: 150px;
        border-radius: 50%;
        background: linear-gradient(45deg, #60269e20, #0081c220);
        z-index: -1;
    }
}


/* Keyframe Adjustments */

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInScale {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

.contact {
    background: #FBF7FF;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    @media screen and (max-width: 768px) {}
}

.container {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    background: no-repeat center/cover;
    background-image: url("../img/Mask group.png");
    background-color: #fff;
}

.container-contact {
    margin: 10px auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 50%;
    @media screen and (max-width: 768px) {
        width: 80%;
        margin: 0;
    }
}

.title {
    font-weight: 700;
    text-align: center;
    font-size: 28px;
    color: #60269E;
    font-weight: 700;
}

.subtitle {
    font-weight: 800;
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}


/* Form Styling */

.contact-form {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.contact-form label {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
    border: none;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.contact-form textarea {
    height: 100px;
    resize: none;
}


/* Small Hint Text */

.note {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
}

.note::before {
    content: "ℹ️";
    margin-left: 5px;
}

.submit-btn {
    background: #60269E;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 700;
}

.submit-btn:hover {
    background: #4b1f7e;
}


/* Responsive Design */

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    .title {
        font-size: 24px;
    }
    .submit-btn {
        font-size: 14px;
    }
}


/* Modal Styles */

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    position: relative;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.close {
    position: absolute;
    left: 20px;
    top: 15px;
    color: #60269E;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover {
    color: #4b1f7e;
}

.modal-content h2 {
    color: #60269E;
    margin-bottom: 20px;
    font-size: 24px;
}

.modal-content input {
    width: calc(100% - 24px);
    /* Account for padding */
    padding: 12px;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 18px;
    text-align: center;
    direction: ltr;
    /* For numbers, keep left-to-right */
    transition: border-color 0.3s;
}

.modal-content input:focus {
    border-color: #60269E;
    outline: none;
    box-shadow: 0 0 0 2px rgba(96, 38, 158, 0.1);
}


/* Add input validation styles */

@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

.modal-content .submit-btn {
    width: 100%;
    margin-top: 15px;
}


/* Add this to your existing media queries */

@media (max-width: 768px) {
    .modal-content {
        margin: 30% auto;
        width: 85%;
        padding: 20px;
    }
}


/* Header Video Styles */

.header .video-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
    text-align: center;
}

.header .video-container h2 {
    margin-bottom: 1rem;
    color: #60269e;
    font-size: 1.5rem;
}

.header .video-container .video-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header .video-container .video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .header .video-container {
        max-width: 100%;
        padding: 0 15px;
    }
    .header .video-container .video-wrapper {
        max-width: 90%;
    }
}