* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Cairo;
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow-x: hidden;
    position: relative;
    background-color: #F7F0FF;
}

.nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    z-index: 100;
    box-shadow: 0px .5px 5px rgb(201, 201, 201);
    transform: translateY(-80px);
    animation: navbar .5s forwards;
    position: relative;
}

@keyframes navbar {
    0% {
        transform: translateY(-80px);
    }

    100% {
        transform: translateY(0px);
    }
}

.brand {
    display: flex;
    align-items: center;
    margin-left: 20px;
    left: 80px;
    position: absolute;
}

.brand img {
    transition: .5s;
    width: 60px;
    height: 60px;
}

.icon {
    display: flex;
    align-items: center;
    display: none;
    margin-right: 20px;
}

.brand-icon {
    height: 90px;
    width: 90px;
}

.nav .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    margin-bottom: 0px;
}

.nav .nav-links li {
    list-style: none;
}

.nav .nav-links li a {
    position: relative;
    color: rgb(105, 105, 105);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: .5s;
}

.nav .nav-links li a:hover {
    color: black;
}

.icon #closeIcon,
#openIcon {
    cursor: pointer;
    font-size: x-large;
    color: black;
}

@media (max-width:1130px) {
    .nav {
        z-index: 10;
        justify-content: space-around;
    }

    .nav .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        height: 0px;
        right: 0;
        justify-content: center;
        flex-direction: column;
        overflow: hidden;
        background-color: #FFFFFF;
        transition: .5s;
        z-index: 1 !important;
        gap: 50px;
    }

    .brand {
        position: relative;
        left: 0;
    }


    .brand img {
        width: 50px;
        height: 40px;
    }

    .nav .nav-links {
        margin-right: 0;
    }

    .nav-links li {
        color: black;
        margin: 5px 0;
    }

    .nav .nav-links li a {
        color: black;
    }

    .icon {
        display: block;
    }

    .icon #closeIcon {
        display: none;
    }
}



/* hero */
.hero {
    position: relative;
}

.hero::after {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: -2;
    content: "";
}

.left-hero {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation-duration: 1s;
}

.hero-back {
    width: 100%;
    height: 100%;
    bottom: 0;
    z-index: -1;
    position: absolute;
}

.hero .container {
    display: flex;
    padding: 100px 0;
}

.hero-content h1 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-content p {
    line-height: 2;
    font-size: 20px;
    margin: 40px 0;
}

.hero-btns {
    display: flex;
}

.btn-hero {
    margin-right: 20px;
    display: flex;
    align-items: center;
    background-color: #451581;
    width: 30%;
    text-decoration: none;
    color: white;
    border-radius: 10px;
    padding: 5px 10px;
}

.btn-hero p {
    font-weight: 400;
    font-size: 12px;
}

.btn-hero img {
    margin-right: 10px;
    width: 20%;
    height: 100%;
}

.btn-hero p span {
    font-size: 20px;
    font-weight: 600;
}

.btn-hero p {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    margin: auto 0;
}

.right-hero {
    width: 50%;
    position: relative;
}

.right-hero img {
    height: 100%;
    width: 100%;
}


/* Responsive styles */

@media screen and (max-width: 1200px) {
    .btn-hero {
        width: 50%;
    }

}

@media screen and (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
        align-items: center;
        padding: 50px 20px;
    }

    .left-hero,
    .right-hero {
        width: 100%;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero {
        text-align: start;
        width: 70%;
        margin-bottom: 15px;
    }

    .btn-hero img {
        width: 15%;
    }

    .btn-hero p span {
        font-size: 18px;
    }

    .right-hero img {
        width: 60%;
    }
}

@media screen and (max-width: 768px) {
    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 16px;
        margin: 20px 0;
    }

    .btn-hero {
        width: 90%;
        font-size: 14px;
    }

    .btn-hero img {
        width: 10%;
    }

    .btn-hero p span {
        font-size: 16px;
    }

    .right-hero img {
        width: 60%;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 20px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .btn-hero {
        width: 100%;
        padding: 10px;
    }

    .btn-hero img {
        width: 10%;
    }

    .btn-hero p {
        font-size: 12px;
    }

    .btn-hero p span {
        font-size: 14px;
    }

    .right-hero img {
        width: 60%;
    }
}


/* about */

.about {
    background-color: #FDFBFF;
    /* padding:0px 20px; */
}


.about .container {
    margin-bottom: 50px;
    padding-top: 50px;
}

.about-head {
    position: relative;
    width: 40%;
    text-align: center;
    margin: 0 auto;
    font-weight: 600;
    font-size: 36px;
    margin-bottom: 80px;
}

.about-head::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 2px;
    background-color: #451581;
    left: 0;
    top: 60px;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content .content-text {
    width: 100%;
    line-height: 2;
    font-size: 20px;
    font-weight: 300;
    text-align: center;
}

.content-img {
    width: 100%;
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-img img {
    width: 80%;
    margin: 0 auto;
    height: 100%;
}

@media (min-width: 768px) {
    .content-img img {
        max-width: 400px;
        margin: 0 auto;
        height: 100%;
    }

}

@media (min-width:1024px) {

    .about {
        padding: 20px 60px;
    }

    .about-head {
        width: 20%;
    }

    .about-content {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .about-content .content-text {
        line-height: 1.8;
        text-align: start;
        width: 50%;
    }

    .content-img {
        width: 50%;
        height: 100%;
        margin-top: 0px;
        display: flex;
        align-items: center;
        justify-content: center;
    }


    .content-img img {
        max-width: 700px;
        height: 100%;
    }

}


@media (min-width:1280px) {
    .about {
        padding: 20px 100px;
    }

    .about-content .content-text {
        line-height: 2;
    }
}



/* us */
.us {
    margin-top: 100px;
}

.us-head {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 50px;
}

.us-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 0 10px;
    margin-top: 55px;
    background-color: #FFFFFF;
}

.us-card p {
    margin: 10px;
    line-height: 1.9;
    font-weight: 300;
    font-size: 20px;
}

.us-card img {
    transform: translateY(-40px);
    background-color: #FFFFFF;
    padding: 15px;
    border-radius: 2222222px;
}

@media (min-width: 1024px) {
    .us-content {
        display: flex;
        gap: 20px;
    }
}

/* swiper */
.swip {
    position: relative;
    margin: 100px auto;
    padding: 100px 0;
    width: 100%;
    margin-bottom: 200px;
}

.swip-head h1 {
    text-align: center;
    margin-bottom: 70px;
    margin-top: 90px;
    font-weight: 600;
    color: #FFFFFF;
}

.swip-back {
    width: 100%;
    height: 100%;
    left: 0;
    z-index: -1;
    position: absolute;
}

.swiper-container {
    width: 100%;
    margin: auto;
    position: relative;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    align-items: center;
    transition: transform 0.5s ease;
}

.swiper-slide {
    text-align: center;
    padding: 20px;
    background-color: #FFFFFF9E;
    transition: 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
    opacity: 0.5;
    scale: 0.8;
    min-height: 300px;
    width: auto;
    flex-shrink: 0;
}

.swiper-slide-active {
    opacity: 1;
    scale: 1;
    background-color: #FFFFFF8F;
}


.swiper-slide h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.swiper-slide p {
    line-height: 1.8;
    font-size: 22px;
}

.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #EEE7F5;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.swiper-button-next {
    right: calc(10% - 50px);
}

.swiper-button-prev {
    left: calc(10% - 50px);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.5rem;
    color: #5E24A5;
}

/* servicese */
.services-section {
    width: 100%;
    text-align: start;
    padding: 50px 20px;
}

.services-section h2 {
    font-size: 30;
    font-weight: 700;
    color: #000;
    margin-bottom: 40px;
}

.services-container {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 20px;
}

.service-card {
    background-color: #DFC6FF;
    width: 33%;
    height: 350px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.service-icon img {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-arrow a {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 25px;
    color: #fff;
    width: 35px;
    text-decoration: none;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .services-container {
        flex-wrap: wrap;

    }

    .service-card {
        width: 45%;
        height: 300px;
    }

    .service-card h3 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .service-card {
        width: 100%;
        height: 300px;
    }

    .services-container {
        gap: 15px;
    }

    .service-card h3 {
        font-size: 22px;
    }

    .service-arrow a {
        font-size: 20px;
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .services-section {
        padding: 30px 10px;
    }

    .service-card {
        height: auto;
        padding: 15px;
    }

    .service-card h3 {
        font-size: 20px;
        margin-bottom: 50px;
    }

    .service-arrow a {
        font-size: 18px;
        width: 28px;
        height: 28px;
    }
}

/* experinase */
.experience {
    margin-top: 100px;
    background-color: #FDFBFF;
    padding: 50px 20px;
    text-align: center;
}

.ex-head {
    font-size: 35px;
    font-weight: 600;
    margin-bottom: 40px;
}

.heed {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.ex-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 30%;
}

.ex-items.left {
    text-align: right;
}

.ex-items.right {
    text-align: left;
}

.ex-item {
    text-align: center;
}

.ex-item img {
    max-width: 50px;
    height: auto;
    margin-bottom: 10px;
}

.ex-item h2 {
    color: #5E24A5;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.ex-item p {
    line-height: 1.9;
    font-size: 16px;
}

.ex-img {
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ex-img img {
    max-width: 100%;
    height: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .heed {
        flex-direction: column;
        gap: 40px;
    }

    .ex-items,
    .ex-img {
        width: 100%;
        text-align: center;
    }

    .ex-items.left,
    .ex-items.right {
        text-align: center;
    }
}

/* slider */

.slide {
    margin-top: 100px;
}

.slide h1 {
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.slider-container {
    width: 100%;
    height: 150px;
    overflow: hidden;
    position: relative;
}

.slider-track {
    background: #fff;
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    white-space: nowrap;
    transition: transform 0.5s ease-in-out;
}

.slider-item {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 150px;
    height: 100%;
    margin: 0 10px;
}

.slider-item img {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}

.slider-track {
    animation: slide 30s infinite;
}

@keyframes slide {
    0% {
        transform: translateX(0px);
    }

    50% {
        transform: translateX(-650px);
    }

    100% {
        transform: translateX(0px);
    }
}

@media (max-width:1000px) {
    .slider-item img {
        max-width: 80px;
        max-height: 80px;
        object-fit: contain;
    }

    .slider-container {
        width: 100%;
        height: 100px;
        overflow: hidden;
        position: relative;
    }

    @keyframes slide {
        0% {
            transform: translateX(0px);
        }

        50% {
            transform: translateX(-1500px);
        }

        100% {
            transform: translateX(0px);
        }
    }
}

/* @media  */

/* footer */
.footer {
    background-color: #C597FF;
    color: white;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
    margin-top: 80px;
}

.footer .logo {
    display: flex;
    margin-bottom: 20px;
    flex: 1 1 100%;
    /* Ensure the logo section takes full width on small screens */
    justify-content: center;
    text-align: center;
    /* Center text for small screens */
}

.logo h1 {
    text-align: start;
}

.logo-h {
    display: flex;
    align-items: start;
    justify-content: space-between;
    flex-direction: column;
}

.footer .logo img {
    width: 70px;
    height: 90px;
    margin-right: 10px;
}

.footer .logo h1 {
    font-size: 28px;
    margin: 0;
}

.footer p {
    font-size: 18px;
    line-height: 1.8;
    width: 90%;
    text-align: center;
    /* Center text for small screens */
}

.footer .social-icons a {
    width: 25px;
    text-decoration: none;
    color: #370871;
    font-size: 25px;
    margin-right: 20px;
    cursor: pointer;
    transition: .5s;
}

.footer .social-icons a:hover {
    color: white;
}

.footer .column {
    flex: 1;
    margin: 0 20px;
    min-width: 250px;
    text-align: center;
    margin-bottom: 20px;
}

.footer .column p {
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    margin: 0 0 15px 0;
}

.footer .column p i {
    margin-right: 20px;
}

.footer h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer ul li a {
    color: white;
    text-decoration: none;
}

.footer ul li a:hover {
    text-decoration: underline;
}

.footer .contact {
    font-size: 14px;
}

.footer .contact p {
    margin: 5px 0;
}

.footer .contact a {
    color: white;
    text-decoration: none;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        /* Ensure centered text on medium screens */
    }

    .footer .logo {
        flex: none;
        margin-bottom: 30px;
        justify-content: center;
        /* Center logo on smaller screens */
    }

    .footer .column {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        margin: 0;
        flex: 1 1 100%;
        /* Full width for each column on smaller screens */
    }

    .footer .social-icons {
        margin-top: 15px;
    }

    .footer h2 {
        font-size: 20px;
    }

    .footer ul li {
        font-size: 16px;
    }

    .footer p {
        font-size: 16px;
    }

    .footer .column p {
        text-align: center;
        /* Ensure text is centered on small screens */
    }
}

@media screen and (max-width: 768px) {
    .footer {
        padding: 20px 15px;
    }

    .footer .logo img {
        width: 50px;
        height: 70px;
    }

    .footer .logo h1 {
        font-size: 24px;
    }

    .footer p {
        font-size: 16px;
    }

    .footer .social-icons a {
        font-size: 22px;
        margin-right: 15px;
    }

    .footer h2 {
        font-size: 18px;
    }

    .footer .column {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }

    .footer .social-icons {
        margin-top: 15px;
    }

    .footer ul li {
        font-size: 16px;
    }

    .footer .column p {
        text-align: center;
        /* Center text for medium screens */
    }
}

@media screen and (max-width: 480px) {
    .footer {
        padding: 15px 10px;
    }

    .footer .logo img {
        width: 50px;
        height: 60px;
    }

    .footer .logo h1 {
        font-size: 22px;
    }

    .footer p {
        font-size: 14px;
    }

    .footer .social-icons a {
        font-size: 20px;
        margin-right: 12px;
    }

    .footer h2 {
        font-size: 16px;
    }

    .footer .column {
        flex: 1 1 100%;
        margin-bottom: 15px;
    }

    .footer ul li {
        font-size: 14px;
    }

    .footer .contact p {
        font-size: 12px;
    }

    .footer .contact a {
        font-size: 14px;
    }

    .footer .column p {
        text-align: center;
        /* Center text for small screens */
    }
}

/* Large Screens (lg) - Align everything to start (left) */
@media screen and (min-width: 1025px) {
    .footer {
        text-align: start;
        /* Align text to the left on large screens */
    }

    .footer .logo {
        text-align: start;
        /* Align logo text to start */
        justify-content: flex-start;
        /* Align logo to the left */
    }

    .footer .column {
        text-align: start;
    }

    .footer h2 {
        font-size: 22px;
    }

    .footer p {
        font-size: 18px;
    }

    .footer ul li {
        font-size: 18px;
    }

    .footer .contact p {
        font-size: 14px;
    }

    .footer .contact a {
        font-size: 16px;
    }

    .footer .column p {
        text-align: left;
        /* Align text to the left on large screens */
    }
}