/* Base styles */
.btn {
    font-family: 'Rubik', sans-serif;
}

.text-primary {
    color: #21386D !important;
}

.btn-primary {
    color: #fff;
    background-color: #21386D !important;
    border-color: #21386D !important;
}

.bg-primary {
    color: #fff;
    background-color: #21386D !important;
    border-color: #21386D !important;
}

.bg-pink {
    background-color: pink;
}

body {
    font-family: 'Outfit', sans-serif;

}

video {
    border: none;
    outline: none;
}

/* Header */
header{
    position: sticky !important;
    width: 100% !important;
    top: 0;
    left: 0;
}

.home-video{
    height: 500px;
     width: 100%;
}

/* .top-bg {
    background:
    url('./images/bgImg.jpeg'),
    rgba(255, 255, 255, 0.1) no-repeat center center/cover;
    background-blend-mode: overlay;
} */


.display-4 {
    font-weight: 800;
}

.lead {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.Outfit {
    font-family: 'Outfit', sans-serif;
}

.uppercase {
    text-transform: uppercase;
}

.logo {
    margin-left: 20px;
    height: 100px;
}

.logo-name {
    font-size: 30px !important;
    color: rgba(26, 9, 101, 0.904);
}

.course-btn {
    font-size: 20px;
    font-family: 'Outfit', sans-serif;
}
.cource-topic{
    margin-left: 40px;
    margin-top: 40px;
}
.cource-gradient-heading-text {
    background: linear-gradient(45deg, #c8c248, #4855c8, #4caf50 70%); 
    -webkit-background-clip: text; 
    background-clip: text;
    color: transparent; 
    /* transition: all 2s; */
    animation:heading 3s infinite alternate  ;
  }

  @keyframes heading{
    0%{
        background: linear-gradient(45deg, #e7dc09, #2739de, #09a80e 50%); 
        -webkit-background-clip: text; 
        background-clip: text;
        color: transparent; 
    }
    50%{
        background: linear-gradient(45deg, #2739de, #09a80e, #e7dc09 50%); 
        -webkit-background-clip: text; 
        background-clip: text;
        color: transparent; 
    }
    100%{
        background: linear-gradient(45deg, #09a80e,#e7dc09, #2739de 50%); 
        -webkit-background-clip: text; 
        background-clip: text;
        color: transparent; 
    }
  }

.course-animation {
    animation: courceanimation 1s ease-in infinite alternate;
    /* background: linear-gradient(to left,#5c7ece,#a0b7ec); */
    gap: 1rem;
}

@keyframes courceanimation {
    0% {
        /* opacity: 0.6; */

        background: linear-gradient(to left, #d3daea, #a0b7ea);
        color: white;
    }

    100% {
        /* opacity: 1; */
        /* background: #5c7ece; */
        background: linear-gradient(to right, #d3daea, #a0b7ec);
        color: aliceblue;
    }
}

.program-card {
    height: 300px;
}

.footer-logo {
    height: 100px;
    /* margin-top: 200px; */
}

h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.text-center {
    text-align: center;
}

/* Navbar styles */
header {
    position: relative;
    /* Ensure header can manage stacking */
    z-index: 3;
    /* Ensure header is above circles */
}

.navbar-nav .nav-link {
    font-size: 16px;
    font-weight: 600;
    margin-right: 20px;
}

/* Hero Section */
.hero {
    background-color: #fbfbfb;
    position: relative;
    margin-bottom: 100px;
    /* Ensure it can contain absolutely positioned children */
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
}

.hero h2 {
    font-size: 14px;
}

.hero p {
    font-size: 20px;
}

.hero-left {
    z-index: 3;
    margin: 0 100px 0 200px;
    width: 550px;
}
.hero-right{
    width: 500px;
}

.hero-container {
    display: flex;

}

/* .hero-image {
    max-width: 100%;
    height: auto;
    border: 10px solid white;
    border-radius: 100%;
    margin-top: -48px;
    margin-left: 130px;
    position: relative;
    z-index: 3; 
}
.hero-background {
    position: relative;
    margin-left: 200px;
    margin-top: -545px;
    z-index: 1;
} */
.hero-image {
    max-width: 100%;
    height: auto;
    border: 10px solid white;
    border-radius: 100%;
    /* margin-top: -48px; */
    margin-left: -60px;
    position: relative;
    z-index: 3;
    /* Ensure the image is above circles */
}

.hero-background {
    position: relative;
    /* margin-left: 200px; */
    margin-top: -510px;
    z-index: 1;
}

.main-text {
    /* margin: 0 100px 0 200px; */
    z-index: 8;
}

.home-card {
    background: #161a51;
    color: rgb(233, 224, 224);
    transition: all 0.5s ease;
   
}
.home-card:hover {
    color: white;
    background-color: #282c6efa;
    transform: scale(1.05);
   
}

.blog-card {
    background: #161a51;
    color: rgb(233, 224, 224);
    transition: all 0.5s ease;
   
}
.blog-card:hover {
    color: white;
    background-color: #282c6efa;
    transform: scale(1.02);
   
}
/* .home-card:hover {
    transform: rotateY(180deg);
    transition: transform 1s ease;
}
.home-card:hover .home-card-body{
    transform: rotateY(180deg);
    transition: transform 1s ease;
} */


@media (max-width:992px) {
    .cource-topic{
        margin-left: 20px;
    }
    .logo-name {
        font-size: 25px !important;
    }
    .hero-background {
        position: relative;
        /* margin-left: 200px; */
        margin-top: -500px;
        z-index: 1;
    }
    .hero-left {
        margin: 0 10px;
        /* width: 400px; */
    }
    .hero-right{
        margin-top: 30px;
        width: 500px;
        text-align: center;
    }
}

.ellipse-20 {
    position: absolute;
    z-index: 4;
    margin-top: 160px;
    margin-left: 1350px;
}

.ellipse-21 {
    position: absolute;
    z-index: 4;
    margin-top: -100px;
    margin-left: -20px;
    height: 150px;
    width: 150px;
}

.ellipse-24 {
    width: 30px;
    position: absolute;
    z-index: 4;
    margin-top: 100px;
    margin-left: 1300px;
}

.ellipse-25 {
    position: absolute;
    z-index: 4;
    margin-top: 24px;
    margin-left: 140px;
}

.ellipse-26 {
    position: absolute;
    z-index: 4;
    margin-top: -180px;
    height: 200px;
    width: 350px;
}

.ellipse-28 {
    width: 30px;
    margin-top: 10px;
}

.ellipse-29 {
    width: 30px;
    position: absolute;
    margin-top: -160px;
    margin-left: 700px;
    z-index: 4;
    height: 80px;
    width: 80px;

}

.ellipse-30 {
    width: 30px;
    position: absolute;
    margin-top: -530px;
    margin-left: 100px;
    z-index: 6;
    height: 80px;
    width: 90px;
}

.ellipse-31 {
    position: absolute;
    margin-top: 260px;
    margin-left: 170px;
    z-index: 6;
    width: 30px;
}

.ellipse-32 {
    position: absolute;
    margin-top: 200px;
    margin-left: 1320px;
    z-index: 6;
    width: 30px;
}

.ellipse-33 {
    position: absolute;
    margin-top: 320px;
    margin-left: 1394px;
    z-index: 6;
    width: 120px;

}

.ellipse-34 {
    position: absolute;
    margin-top: 100px;
    margin-left: 1410px;
    z-index: 6;
    width: 30px;
}

/* Program Section */
.program-section {
    background-color: rgba(255, 255, 255, 0.2);
    position: relative;
    /* Ensure it can contain absolutely positioned children */
    z-index: 5;
}

.underline {
    text-decoration: underline;
}

.card {
    border-radius: 16px;
}

/* About Section */
.about-section {
    padding: 80px 0;
    /* background-color: rgba(173, 216, 230, 0.6); */
    /* background-color: rgba(81, 129, 206, 0.6); */
    background: linear-gradient(to top  , rgba(129, 170, 235, 0.6),rgba(173, 216, 230, 0.6));
    /* padding: 50px 0; */
}

.placement-bg,.testimonials-bg{
    background: rgba(255, 255, 255, 0.2);
}

.about-section img {
    max-width: 100%;
    margin-bottom: 20px;
}

.about-section .text-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Testimonials Section */
.testimonials {
    background-color: white;
}

.testimonials .card {
    background-color: #fff;
}

.testimonials h2 {
    margin-bottom: 40px;
}

/* Contact Us Section */
.contact-us {
    /* background-color: #f0f0f0; */
    padding: 50px 0;
}

.contact-us h2 {
    margin-bottom: 30px;
}

/* Footer Section */
footer {
    background-color: #333;
    color: white;
}

footer p {
    margin: 0;
    font-size: 14px;
}



/* Media Queries */
@media (max-width: 1287px) {
    .logo {
        /* margin-left: 20px; */
        height: 100px;
    }

   
}

@media (max-width: 1200px) {
    /* .hero-background {
        position: relative;
        margin-left: 200px;
        margin-top: -450px;
        z-index: 1;
    } */
    
    .hero-left {
        margin: 0 20px 0 20px;
        /* width: auto; */
    }
}

@media (min-width:992px) and (max-width:1140px) {
    .hero-left {
        margin: 0 100px 0 20px;
        /* width: auto; */
    }
}

@media (max-width: 700px) {
    .cource-topic{
        margin-left: 7px;
    }
    .home-video{
        height: 230px;
    }
}
@media (max-width: 768px) {
    
    .hero-container {
        display: block;

    }
    .logo {
        /* margin-left: 0px; */
        margin-left: -12px !important;

        padding-left: 0 !important;
        height: 80px;
    }
    
    .logo-name {
        font-size: 18px !important;
    }
    .course-btn {
        font-size: 16px;
    }
    .hero-left {
        margin: 0 10px;
        width: auto;
    }
    .hero-right{
        width: 500px;
        text-align: center;
    }

    /* .hero-background {
        position: relative;
        margin-left: 200px;
        margin-top: -500px;
        z-index: 1;
    } */
    .logo {
        margin-left: 20px;
        height: 80px;
    }

    
    .program-cards {
        display: block;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .program-section .program-card {
        margin-bottom: 30px;
    }

    /* .logo{
        margin-left: 50px;
    } */
    .footer-logo {
        height: 70px;
        /* margin-top: 200px; */
        margin-bottom: 20px;
    }
}

@media (max-width: 360px) {
    .hero-right{
        width: 100%;
        text-align: center;
    }
    .hero-background {
        position: relative;
        /* margin-left: 200px; */
        margin-top: -350px;
        z-index: 1;
    }
}

@media (max-width: 576px) {
    .logo {
        margin-left: 0px;
        height: 60px;
    }
    .hero-background {
        position: relative;
        /* margin-left: 200px; */
        margin-top: -350px;
        z-index: 1;
    }
    .hero-left {
        margin: 0 5px;
        width: auto;
    }
    .hero-right{
        width: 350px;
        text-align: center;
    }
   

    .hero h1 {
        font-size: 28px;
    }

    .hero h2 {
        font-size: 22px;
    }

    .program-section .program-cards {
        display: block;
    }

    .program-card img {
        width: 40px;
    }

    .about-section .text-content {
        text-align: center;
    }

    /* .logo{
        margin-left: 50px;
    } */
}