*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Poppins', sans-serif;
}

html{
    scroll-behavior: smooth;
 }
/* General Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
    background-color: transparent;
    height: 90px;
}

.navbar.scrolled {
    background-color: palegoldenrod;
}

.navbar-brand img {
    height: 55%;
    width: 50%;
    object-fit: cover;
    padding-top: 10px;
}
.nav-link {
    font-size: 1.1rem;
    color: #eba935;
    font-weight: 500;
    transition: color 0.3s ease;
}
.navbar-dark .navbar-nav .nav-link.active {
    color:#eba935 !important; 
    font-weight: 600;
}
.nav-link.active,
.nav-link:hover {
    color: #6132b4;
}

.btn-contact {
    color: white;
    background-color: #eba935;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 500;
}

.btn-contact:hover {
    background-color: #6132b4;
}
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 200px;
    z-index: 1000;
}

.dropdown-menu li {
    padding: 10px 15px;
    cursor: pointer;
}
.dropdown-menu li:hover {
    background-color: #f0f0f0;
}
.dropdown-menu li a {
    text-decoration: none;
    color: #333;
    display: block;
    font-size: 15px;
}

.dropdown-menu hr {
    margin: 0;
    border: none;
    color: #000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}
/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh; 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    animation: backgroundSlide 12s infinite; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #eba935;
    overflow: hidden;
}
.content-container{
    width:100%;
}
.hero h1 {
    font-size: 4rem;
    font-weight: bolder;
    animation: slideDown 1.5s ease-in-out;
}
.hero p {
    font-size: 1.3rem;
    margin-top: 1rem;
    animation: slideDown 2s ease-in-out;
}
.btn-explore {
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 500;
    color: white;
    background-color: #4e1ba5;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    border: none;
    animation: RightSlideIn 1s ease-in-out;
}
.btn-explore:hover {
    background-color: #eba935;
    color: white;
}
@keyframes backgroundSlide {
    0% {
        background-image: url('/assets/bg1.jpg');
    }
    50% {
        background-image: url('/assets/bg2.webp');
    }
    100% {
        background-image: url('/assets/bg4.jpg');
    }
}
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes RightSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes slideLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes slideRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
/* Add a class to animate when in view */
.animate-h1 {
    animation: slideLeft 1s ease-out forwards;
}
.animate-p {
    animation: slideRight 1s ease-out forwards;
}
.animate-btn {
    animation: slideRight 1s ease-out forwards;
}
/* Banner Section */
.about-banner,
.service-banner,
.job-banner,
.contact-banner{
    height: 50vh; 
    position: relative;
    overflow: hidden;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.about-banner img.about-banner-image,
.service-banner img.service-banner-image,
.job-banner img.job-banner-image ,
.contact-banner img.contact-banner-image{
    width: 100%;
    height: 100%;
    object-fit: cover; 
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.about-banner h1,
.service-banner h1,
.job-banner h1,
.contact-banner h1{
    position: relative;
    font-size: 3em;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    z-index: 3;
    white-space: nowrap;
    color: #eba935 !important;
    animation: slideInLeft 1s ease-out forwards;
    will-change: transform, opacity; 
    
}
@keyframes slideInLeft {
    from {
        transform: translateX(-600%);
        opacity: 0;
    }
    to {
        transform: translateX(-10%) !important; 
        opacity: 1;
    }
}

.overlay {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
    animation: fadeOverlay 3s ease-in-out forwards;
}

.overlay-left {
    left: 0;
}

.overlay-right {
    right: 0;
}

@keyframes fadeOverlay {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}


.h1-move {
    transform: translateX(0); /* Starting point */
    opacity: 1;
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

.h1-move.active {
    transform: translateX(100px); /* End point */
    opacity: 1;
}

/* About Section */
.about-section {
    padding: 50px 100px;
    background-color: #f8f9fa;
}
.about-content,
.about-section-page .content {
    text-align: left;
    padding: 30px;
    /* background-color: #fff; */
    /* border-radius: 10px; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
}
.about-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.about-content h3 {
    font-size: 1.6rem;
    position: relative;
    color: #333;
    letter-spacing: 2px;
    display: inline-block;
}
.about-content h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 4px;
    background-color: #6132b4;
    animation: growShrink 2s infinite ease-in-out;
}
@keyframes growShrink {
    0%,
    100% {
        width: 0;
    }
    50% {
        width: 100%;
    }
}
.about-content h3:hover::after {
    width: 100%;
}
.about-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #eba935;
    margin: 15px 0;
    white-space: nowrap; 
}
.about-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}
.about-content .btn {
    background-color: #6132b4;
    color: #fff;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 30px;
    border: none;
    transition: background-color 0.1s ease;
}
.about-content .btn:hover {
    background-color: #eba935;
}
.flip-container {
    position: relative;
    max-width: 400px; 
    height: auto; 
    aspect-ratio: 1 / 1;
    perspective: 1000px;
    margin: auto;
}
.flip-container-inner {
    width: 100%;
    height: 100%;
    transition: transform 1s ease;
    transform-style: preserve-3d;
    transform: rotateY(0);
    position: relative;
    backface-visibility: hidden;
}
.flip-container:hover .flip-container-inner {
    transform: rotateY(180deg);
}
.flip-front,
.flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 0;
    will-change: transform;
}
.flip-front {
    background: url('/assets/ourteam.jpg') no-repeat center center/cover;
    object-fit: cover;
}
.flip-back {
    background: url('/assets/flipbackc.jpg') no-repeat center center/cover;
    transform: rotateY(180deg);
    object-fit: cover;
}
[data-aos="zoom-in"] {
    opacity: 0;
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    opacity: 1;
    transform: scale(1);
}
/* mission &vission */
.mission-section, .vision-section {
    background-color: #e2e7e6; 
}

.mission-section h2, .vision-section h2 {
    font-size: 2.5rem; 
    color: #6132b4;
    font-weight: 700; 
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.mission-section h2::after, .vision-section h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #6132b4;
    animation: growShrink 2s infinite ease-in-out;
}

@keyframes growShrink {
    0%, 100% {
        width: 0;
    }

    50% {
        width: 100%;
    }
}

.mission-section p, .vision-section p {
    font-size: 1.1rem; 
    line-height: 1.8; 
    color: #6c757d; 
}

.mission-section img, .vision-section img {
    max-width: 100%; 
    border-radius: 10px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}
/* Services Section Styling */
.services-section {
    margin:0 auto;
    text-align: center;
    padding: 40px 0px;
}

.services-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #6132b4;
    margin-bottom: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.service-card {
    background-color: #eba935;
    padding: 25px;
    margin-bottom: 30px;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Box shadow added for better visibility */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 768px) {
    .service-card {
        height: auto;
    }
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background-color: palegoldenrod;
}

.service-card h3 {
    font-size: 1.6rem;
    color: #333;
    font-weight: bold;
}
.service-card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
}
.service-card .service-icon {
    font-size: 3rem;
    color: #ff7f50;
    transition: color 0.3s ease;
}
.service-card:hover .service-icon {
    color: #eba935;
}
/* footer */
.footer {
    margin-top: 50px;
    background-color: palegoldenrod;
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px; 
    position: relative;
    transform: translateY(100%);transition: transform 1s ease-in-out;
    opacity: 0;

}
.footer.visible {
    transform: translateY(0);
    opacity: 1;
}
.footer-logo img {
    width: 50%;
    height: 50%;
    object-fit: contain;
    max-width: 150px;
}
.footer-text {
    color: #333;
    margin-left: 20px;
    font-size: 14px;
}
.footer-heading {
    color: #6132b4;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.4rem; 
    position: relative;
    margin-bottom: 20px;
    text-align: left;
    display: inline-block;
}
.footer-heading::after {
    content: "";
    position: absolute;
    bottom: -5px; /* Adjust distance below heading */
    left: 0;
    width: 0;
    height: 3px;
    background-color: #6132b4; /* Underline color */
    animation: growShrink 2s infinite ease-in-out;
}

.footer-heading:hover::after {
    width: 100%;
}
.fm a{
    padding-left: 10px;
}
.fm i{
    font-size: 13px;
}
.footer-link {
    color: #333;
    text-decoration: none;
}

.footer-divider {
    width: 100%;
    margin: 0;
    background-color: #333;
    border: none;
    height: 1px;
}
.footer-bar {
   
    background-color: #333333;
    color: white;
    text-align: center;
    padding: 1rem 0;
    width: 100%;
    margin: 0;
    position: absolute;
    bottom: 0; 
    left: 0;
}
.social-icons {
    display:inline-block;
    gap: 10px; 
    justify-content: flex-start; 
    flex-wrap: nowrap;  
}
.social-icons a {
    text-decoration: none;
}
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #6132b4;
    border-radius: 50%;
    background-color: transparent;
    color: #6132b4;
    font-size: 18px;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.social-icon:hover {
    color: #fff;
    border: 3px solid #6132b4;
    background-color: #6132b4;
}
.location-text {
    display: flex;
    align-items: center;
    margin: 10px 0;
    align-items: center;
}
.icon {
    color: #6132b4;
    margin-right: 10px;
    font-size: 18px;
}

/* Iternship banner */
.internship-banner {
    background-color: #f39c12; 
}

.internship-banner .btn {
    background-color: #333;
    border-color: #333;
    margin-bottom: 20px; 
}

.internship-banner .btn:hover {
    background-color: #555;
    border-color: #555;
}

.internship-banner img {
    max-width: 100%;
    height: auto;
    margin-left: 0;
}

/* AOS Customizations ) */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(50px);
}

[data-aos="zoom-in"] {
    opacity: 0;
    transform: scale(0.5);
}
/* Testimonial */
.testimonial-section {
    background-color: #f8f9fa;
    padding: 60px 60px;
    text-align: center;
}

.testimonial-section h1 {
    font-size: 1.6rem;
    position: relative;
    color: #eba935;
    display: inline-block;
    margin-bottom: 10px;
}

.testimonial-section h1::before {
    left: 0;
}

.testimonial-section h1::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 4px;
    background-color: #6132b4;
    animation: growShrink 2s infinite ease-in-out;
}

@keyframes growShrink {

    0%,
    100% {
        width: 0;
    }

    50% {
        width: 100%;
    }
}

.testimonial-section h4 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
    color: #eba935;
    font-weight: 900;
}

.testimonial-section p {
    text-align: center;
    color: #333;
    margin-bottom: 40px;
}

.swiper-slide {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.swiper-slide-active {
    background-color: green !important;
    border: 3px solid #fff !important;
    box-shadow: 0 8px 16px rgba(0.3, 2, 0, 0.5);
    transform: scale(1.05);
}

.testi-icon {
    font-size: 3.5rem;
    color: #eba935;
    margin-bottom: 20px;
}

.testimonials-text-before {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #eba935;
    font-size: 2rem;
}

.rating-stars {
    color: #ffd700;
    margin-bottom: 15px;
}

.client-description {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 10px;
}

.client-name {
    font-weight: bold;
    color: #eba935;
}

.swiper-button-next,
.swiper-button-prev {
    color: palegoldenrod !important;
    /* width: 40px;
    height: 40px;
    background-color: transparent;
    border: 2px solid #6132b4;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    z-index: 10;
    transition: all 0.3s ease;
    background-color: #6132b4;
    color: #fff; */
}

/* .swiper-button-next:hover,
.swiper-button-prev:hover {

    color: #6132b4;
    border-color: #6132b4;
    background-color: white;
    font-size: 18px;
}
*/
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.5rem;
    font-weight: bold;
}

.swiper-button-next {
    right: 20px;
}

.swiper-button-prev {
    left: 20px;
} 

@media (max-width: 768px) {

    .swiper-button-next,
    .swiper-button-prev {
        width: 50px;
        height: 50px;
    }

    .swiper-button-next {
        right: 10px;
    }

    .swiper-button-prev {
        left: 10px;
    }
}