@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif; 
    background-color: #29005C;
}

/* Header Starting */
.header {
    background-image: url('/BackgroundImages/HeaderBg.png'); 
    background-size: cover; 
    background-position: center; 
    height: 100vh; 
    display: flex; 
    justify-content: flex-start; 
    align-items: center; 
    position: relative; 
    padding: 20px; 
}
.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 1; 
}
.header-content {
    position: relative; 
    z-index: 2; 
    text-align: left; 
    color: white; 
    font-family: 'Roboto', sans-serif; 
    margin-left: 100px;
}
.header-title {
    font-size: 48px; 
    margin: 0; 
    position: relative; 
    display: inline-block; 
    overflow: hidden; 
    transition: color 0.3s ease; 
}
.header-title::before {
    content: ''; 
    position: absolute;
    left: -100%; 
    top: 0;
    height: 100%; 
    width: 100%; 
    background: white; 
    transition: left 0.3s ease; 
    z-index: -1; 
}
.header-title:hover::before {
    left: 0; 
}
.header-title:hover {
    color: transparent; 
}
.header-title:hover {
   color:#760AFF ;
   transition-duration: 1s;
}
.header-description {
    font-size: 20px; 
    margin: 10px 0;
}
.get-started-button {
    display: inline-block; 
    padding: 10px 20px; 
    border: 2px solid white; 
    color: white; 
    text-decoration: none; 
    font-weight: bold; 
    transition: background 0.3s ease, color 0.3s ease; 
}
.get-started-button:hover {
    background: white; 
    color: #760AFF; 
}
.sliding-box {
    width: 150px; 
    height: 100px; 
    background-color: rgba(255, 255, 255, 0.8); 
    margin-left: 20px; 
    border-radius: 8px; 
    opacity: 0; 
    transform: translateX(50px); 
    transition: opacity 0.5s ease, transform 0.5s ease; 
}
.sliding-box.active {
    opacity: 1; 
    transform: translateX(0); 
}
@media (max-width: 768px) {
    .header-title {
        font-size: 36px; 
    }
    .header-description {
        font-size: 18px; 
    }
    .get-started-button {
        padding: 8px 16px; 
    }
    .sliding-box {
        width: 120px; 
        height: 80px; 
    }
}
.scroll-indicator {
    position: absolute; 
    bottom: 20px; 
    left: 50%; 
    transform: translateX(-50%); 
    z-index: 3; 
    animation: float 1.5s ease-in-out infinite; 
    font-size: 30px; 
    color: white; 
}
@keyframes float {
    0%, 100% {
        transform: translateY(0); 
    }
    50% {
        transform: translateY(-10px); 
    }
}
.header-title,
.header-description,
.get-started-button {
    opacity: 0; 
    transform: translateX(-50px); 
    transition: opacity 0.5s ease, transform 0.5s ease; 
}

.header-title.visible,
.header-description.visible,
.get-started-button.visible {
    opacity: 1; 
    transform: translateX(0); 
}

/* Header Ending */




/* About Us Starting */
.about {
    background-image: url(/BackgroundImages/HomeAboutUsBg.png);
    background-size: cover;
    background-position: bottom;
    padding: 150px 20px;
    color: white;
}
.about-container {
    max-width: 1200px;
    margin: 0 auto;
}
.about-us,
.our-mission {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.about-us.in-view,
.our-mission.in-view {
    opacity: 1;
    transform: translateY(0);
}
.about-text,
.mission-text {
    flex: 1;
    padding: 20px;
    color: white;
}
.about-image,
.mission-image {
    flex: 1;
}
.about-image img,
.mission-image img {
    max-width: 100%;
    height: auto;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transition: transform 0.4s ease; 
}
.about-us.in-view .about-image img,
.our-mission.in-view .mission-image img {
    opacity: 1;
    transform: translateX(0);
}
.about-image img:hover,
.mission-image img:hover {
    transform: scale(1.05);
}
.about-title,
.mission-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: white;
    position: relative;
    display: inline-block;
    overflow: hidden;
    transition: color 0.3s ease;
}
.about-title::before,
.mission-title::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    height: 100%;
    width: 100%;
    background: white;
    transition: left 0.4s ease;
    z-index: -1;
}

.about-title:hover::before,
.mission-title:hover::before {
    left: 0;
}

.about-title:hover,
.mission-title:hover {
    color: #760AFF;
}
.about-description,
.mission-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: white;
}
.about-button,
.mission-button {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, color 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out 0.4s;
}
.about-us.in-view .about-button,
.our-mission.in-view .mission-button {
    opacity: 1;
    transform: translateY(0);
}
.about-button:hover,
.mission-button:hover {
    background: white;
    color: #760AFF;
}
.spacer {
    height: 80px;
}
@media (max-width: 768px) {
    .about-us,
    .our-mission {
        flex-direction: column;
    }

    .about-image,
    .mission-image {
        margin-top: 20px;
    }
}

/* About Us Ending */



/* Services Starting */
.services {
    background-image: url('/BackgroundImages/HomeServiceBg.png');
    background-size: cover;
    background-position: center;
    padding: 120px 20px;
    color: white;
    text-align: center;
}
.service-card h3{
    font-size: 36px;
    margin-bottom: 20px;
    color: white;
    position: relative;
    display: inline-block;
    overflow: hidden;
    transition: color 0.3s ease;
}

.service-card h3::before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: white;
    transform: translateX(-100%); 
    transition: transform 0.4s ease; 
    z-index: -1;
}

.service-card:hover h3::before{
    transform: translateX(0); 
}

.service-card:hover h3{
    color: #760AFF !important; 
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}
.services-title {
    font-size: 48px;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
}
.services-description {
    font-size: 20px;
    margin-bottom: 50px;
    font-family: 'Roboto', sans-serif;
    color: #e0e0e0;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.service-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #760AFF, #FF0000);
    opacity: 0;
    z-index: 0;
    transition: opacity 0.4s ease;
}
.service-card:hover::before {
    opacity: 0.9;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.service-icon {
    font-size: 50px;
    color: #ffffff;
    margin-bottom: 20px;
    z-index: 1;
    position: relative;
}
.service-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    z-index: 1;
    position: relative;
}
.service-card p {
    font-size: 16px;
    z-index: 1;
    position: relative;
}
.service-card h3,
.service-card p {
    transition: color 0.3s ease;
}
.service-card:hover h3,
.service-card:hover p {
    color: #ffffff;
}
.service-card.in-view {
    opacity: 1;
    transform: translateY(0);
}
.view-more-btn {
    display: inline-block;
    margin-top: 50px;
    padding: 15px 30px;
    font-size: 18px;
    color: #fff;
    background-color: transparent;
    border: 2px solid #fff;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.4s ease, color 0.4s ease;
    text-decoration: none;
}
.view-more-btn:hover {
    background-color: #fff;
    color: #760AFF;
}
@media (max-width: 768px) {
    .services-title {
        font-size: 36px;
    }

    .services-description {
        font-size: 18px;
    }

    .service-card h3 {
        font-size: 22px;
    }

    .view-more-btn {
        font-size: 16px;
        padding: 12px 25px;
    }
}
/* Services Ending */


/* Cta Starting */

.cta {
    background-image: url('/BackgroundImages/CtaBg.png'); 
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    text-align: center;
    color: white;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); 
    z-index: 0;
}

.cta-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
}

.cta-title {
    font-size: 48px;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 20px;
    color: white;
    position: relative;
    display: inline-block;
    overflow: hidden;
    transition: color 0.3s ease;
}

.cta-description {
    font-size: 20px;
    margin-bottom: 40px;
    color: #e0e0e0;
    font-family: 'Roboto', sans-serif;
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 20px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #760AFF, #FF0000);
    border-radius: 30px;
    transition: background-color 0.4s ease, transform 0.3s ease;
}

.cta-btn:hover {
    background: #ffffff;
    color: #760AFF;
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 36px;
    }

    .cta-description {
        font-size: 18px;
    }

    .cta-btn {
        font-size: 18px;
        padding: 12px 30px;
    }
}


.cta {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.cta.in-view {
    opacity: 1;
    transform: translateY(0);
}

.in-view {
    opacity: 1;
    transform: translateY(0);
}

.about-us,
.our-mission,
.service-card {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}



.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Cta Ending */


/* Testimonials Starting */
.testimonials {
    background-image: url('/BackgroundImages/ReviewsBg.png'); 
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    color: white;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: -1;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-title {
    font-size: 36px;
    margin-bottom: 50px;
    color: white;
    font-family: 'Roboto', sans-serif;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: left;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0; 
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.testimonial-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-text {
    font-size: 18px;
    color: #f0f0f0;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 20px;
    line-height: 1.6;
}

.client-name {
    font-size: 22px;
    font-weight: bold;
    color: #ffffff;
    margin-top: 20px;
}

.client-role {
    font-size: 14px;
    color: #dddddd;
}


.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .testimonials-title {
        font-size: 28px;
    }

    .testimonial-text {
        font-size: 16px;
    }

    .client-name {
        font-size: 20px;
    }
}
/* Testimonials Ending */

/* FAQ Starting */
.faq {
    background-image: url('/BackgroundImages/FaqBg.png');
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden; 
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
}

.faq-questions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.faq-image {
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.faq-question {
    background-color: #760AFF;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    position: relative;
    z-index: 1;
}

.faq-question h4 {
    color: white;
    font-size: 18px;
    margin: 0;
}

.faq-toggle {
    font-size: 24px;
    color: white;
    transition: transform 0.4s ease;
}

.faq-answer {
    display: none;
    padding: 20px;
    background-color: #f0f0f0;
    font-size: 16px;
    color: #333;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.6s ease, opacity 0.6s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    display: block;
    max-height: 500px;
    opacity: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg); 
}


.faq-questions.in-view {
    transform: translateX(0);
    opacity: 1;
}

.faq-image.in-view {
    transform: translateX(0);
    opacity: 1;
}


.faq-item.active {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}


@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: none;
    }
    .faq-questions {
        display: flex;
        flex-direction: column;
        gap: 20px;
        opacity: 1;
        transition: transform 0.8s ease-out, opacity 0.8s ease-out;
    }
    .faq-image {
        display: none; 
    }
}

/* FAQ Ending */
