@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* /////navcontainer */
/* Top Header */
.topbody {
    background-color: #cce5ff;
    padding: 10px 0;
    font-size: 14px;
    font-family: "Inter", serif;
}

.topbody a {
    color: black;
    text-decoration: none;
    margin-right: 15px;
}

.topbody a:hover {
    color: #004680;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .topbody .container {
        flex-direction: column;
        text-align: center;

    }

    .topbody div {
        margin-bottom: 5px;
        display: none;
    }

    .topbody a {
        display: block;
        margin: 5px 0;
    }

    .topbody {
        display: none;
    }
}

/* Navbar */
.navbody {
    background: linear-gradient(to right, #003366, #004680);
    padding: 10px 0;
    font-family: "Inter", serif;
}

.nav-link {
    color: white !important;
    font-weight: bold;
}

.nav-link:hover {
    color: #f8f9fa !important;
}

.navbar-brand img {
    width: 140px;
}

/* ///////////////////////// */
/* //////hero section */
/* Hero Section */
.hero-section {
    background: linear-gradient(to right, #00254d, #004680);
    /* Dark Blue Gradient */
    color: white;
    padding: 20px 0;
    font-family: "Inter", serif;
}

.hero-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.lft a {
    background-color: white;
    color: black;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
}

.rgt img {
    max-height: 420px;
}

/* Hero Image */
/* .hero-image {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: auto;
/* }  */



/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 50px 20px;
    }

    .rgt {
        display: none;
    }


    .info-box {
        font-size: 12px;
        padding: 5px 8px;
        max-width: 140px;
        /* Adjusted for smaller screens */
    }


}


/* ///////faculity///////////////////////// */
.faculity {
    padding: 50px;
    font-family: "Inter", serif;
}

body {
    text-align: center;
    padding: 20px;
}

.faculityhead {
    text-align: center;
}

h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

h1 span {
    color: #01427A;
    font-weight: bold;
}

.subtitle {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1rem;
    color: #555;
}

.facucards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.facucard {
    background-color: #e6f2ff;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.facucard h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.facucard p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
    padding: 0px 40px;
}

.facucard a {
    color: #0056b3;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 10px;
}

/* /////////////////////////////// */
/* ///////batche///////////////// */

.batche {
    background-color: #004680;
    color: white;
    padding: 40px 0;
    font-family: "Inter", serif;
}

.stats-box {
    text-align: center;
}

.stats-box i {
    font-size: 40px;
    margin-bottom: 10px;
}

.stats-box h2 {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

.stats-box p {
    font-size: 1rem;
    margin: 0;
}

.abtbatch {
    display: flex;
    gap: 20px;
}

@media (max-width: 768px) {
    .row.text-center {
        flex-direction: column;
        align-items: center;
    }

    .abtbatch {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        /* Adjusted spacing for better readability */
        margin-bottom: 20px;
    }
}

/* //////////////////////// */
/* ///////////////popular////////////// */
.popularcontainer {
    padding: 40px;
    font-family: "Inter", serif;

}

.popularhead {
    text-align: center;
    padding-top: 30px;
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card img {
    width: 100%;
    height: auto;
    /* Keeps the aspect ratio */
    max-height: 200px;
    /* Ensures consistent image height */
    object-fit: cover;
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ratings {
    color: #003366;
    font-size: 0.8rem;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    /* Ensures it stays at the bottom */
    flex-wrap: wrap;
    /* Wraps items in small screens */
    gap: 10px;
}

/* Course Meta Icons */
.course-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Responsive Design for Mobile */
@media (max-width: 576px) {
    .popularcontainer {
        padding: 20px;
        /* Reduce padding for smaller screens */
    }

    .popularhead h1 {
        font-size: 1.5rem;
        /* Reduce heading size */
    }

    .card-body {
        padding: 15px;
        /* Adjust padding for small screens */
    }

    .card-text {
        font-size: 0.9rem;
        /* Make text smaller for mobile */
    }

    .course-meta {
        flex-direction: column;
        /* Stack meta info vertically */
        align-items: flex-start;
    }

    .course-meta span {
        justify-content: flex-start;
        font-size: 0.85rem;
        /* Reduce font size */
    }
}

/* /////////////////////////////////////// */
/*/////////////////// mobile////////////////// */
/* Mobile App Section */
.mobileappcontainer {
    background-color: #0A3977;
    /* Dark blue background */
    color: white;
    font-family: "Inter", serif;
}

.gplaytext h2 {
    font-weight: 400;
}

.gplaytext h2 span {
    font-weight: 900;
    color: white;
}

.mobilelogo img {
    margin-bottom: -220px;
    height: 350px;
}

.phone-mockup {
    max-width: 100%;
    height: auto;
}

.app-text h2 {
    font-size: 2rem;
    font-weight: bold;
}

.app-text span {
    color: #FFD700;
    /* Highlight color */
}

.play-btn {
    display: inline-block;
    margin-top: 15px;
}

.right-image {
    max-width: 110%;
    height: auto;
}

/* 📱 Mobile Responsive Fixes */
@media (max-width: 768px) {
    .mobileappcontainer {
        padding: 30px 15px;
    }

    .mobilelogo img {
        max-width: 0%;
        /* Makes mobile logo smaller */
        margin-bottom: 0;
        /* Removes negative margin */
        display: none;
    }

    .app-text h2 {
        font-size: 1.5rem;
        /* Reduce font size for smaller screens */
    }

    .play-btn img {
        width: 140px;
        /* Slightly smaller button */
    }

    .right-image {
        max-width: 90%;
        /* Adjust right image for mobile */
        margin-top: 20px;
    }
}

/* /////////////////////////////////////// */
/* Why Choose Section */
.whychoosecontainer {
    padding-top: 50px;
    padding-bottom: 30px;
    font-family: "Inter", serif;
}

.whychoosehead {
    text-align: center;
    padding-top: 50px;
}

.whychoosebody {
    padding-top: 30px;
}

.choosedropdown {
    background-color: #DDEFFF;
    /* Light blue background */
    padding: 10px;
    border-radius: 10px;
}

.dropdown-toggle {
    background-color: #e0efff;
    /* Light blue */
    color: black;
    font-weight: bold;
    border: none;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
}

.dropdown-toggle::after {
    content: none;
    /* Removes Bootstrap's default dropdown icon */
}

.dropdown-menu {
    width: 100%;
}

/* 📱 Mobile Responsive Fixes */
@media (max-width: 768px) {
    .whychoosecontainer {
        padding: 20px;
    }

    .whychoosehead {
        font-size: 1.5rem;
    }

    .choosedropdown {
        text-align: center;
        padding: 12px;
    }

    .dropdown-toggle {
        font-size: 1rem;
        padding: 12px;
    }

    .dropdown-menu {
        font-size: 0.9rem;
        text-align: center;
    }
}

/* /////////////////////////////////// */
/* Video Section */
.videosection {
    background: url('./Images/bg12.png') no-repeat center center/cover;
    position: relative;
    padding: 80px 0;
    text-align: center;
    font-family: "Inter", serif;
}

/* Overlay Effect */
.videosection::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Dark overlay */
}

/* Title */
.videosection h2 {
    position: relative;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
    z-index: 1;
}

/* Video Thumbnails */
.video-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.video-thumbnail img {
    width: 100%;
    border-radius: 10px;
}

/* Play Button */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.8);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.play-button i {
    font-size: 24px;
    color: #333;
}

/* Hover Effects */
.video-thumbnail:hover {
    transform: scale(1.05);
}

.play-button:hover {
    background: rgba(255, 255, 255, 1);
}

/*  Mobile Responsive Fixes */
@media (max-width: 768px) {
    .videosection {
        padding: 50px 0;
    }

    .videosection h2 {
        font-size: 1.5rem;
    }

    .row {
        flex-direction: column;
        align-items: center;
    }

    .video-thumbnail {
        max-width: 90%;
        margin: 0 auto;
    }
}

/* //////////////////////////////////////////////////////// */
/* //////feature////////////// */
.featurehead {
    text-align: center;
    padding-top: 70px;

}

.featurebody {
    background-color: #f8f9fa;
    font-family: "Inter", serif;
}

/* Feature Box */
.feature-box {
    background: linear-gradient(to right, #002b6b, #007bff);
    color: white;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box a {
    text-decoration: none;
    color: white;
}

/* 📱 Mobile Responsive Fixes */
@media (max-width: 768px) {
    .featurebody {
        padding: 30px 0;
    }

    .row {
        flex-direction: column;
        align-items: center;
    }

    .feature-box {
        max-width: 90%;
        margin: 0 auto;
    }
}

/* ///////////////////////////// */
/* //////////testimonial////////// */
.achievers-section {
    position: relative;
    background: url('./Images/team-bg1.png') no-repeat center center/cover;
    color: white;
    padding: 80px 0;
    text-align: center;
    font-family: "Inter", serif;
}

/* Dark Overlay */
.achievers-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* backdrop-filter: blur(5px); */
    z-index: 1;
}

/* Achiever Details */
.testimonial-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: auto;
}

/* Profile Image */
.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    margin-bottom: 15px;
}

/* Testimonial Text */
.testimonial-text {
    font-size: 18px;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Name & Role */
.testimonial-name {
    font-size: 22px;
    font-weight: bold;
}

.testimonial-role {
    font-size: 18px;
    color: #f0f0f0;
}

/* Section Title */
.section-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

/* Underline */
.underline {
    width: 50px;
    height: 4px;
    background-color: white;
    margin: auto;
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

/* Carousel Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

/* /////////////////////////////////////// */

/* /////////////////////////////////// */
/* /////////about//////////////// */
.aboutcontainer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 40px 0;
    font-family: "Inter", serif;
}

/*  Make All Columns the Same Height */
.row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    /* Ensures all columns are the same height */
}

/*  Fixing .abtlogo Section */
.abtlogo {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    min-height: 220px;
    /* Set a minimum height */
}

/*  Ensure Other Sections Match .abtlogo's Height */
.aboutcontainer-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
    /* Adjust automatically based on content */
    min-height: 220px;
    /* Match .abtlogo */
}

/*  Logo Size */
.abtlogo img {
    width: 180px;
    max-width: 100%;
    height: auto;
}

/*  Social Icons */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    color: #fff;
    font-size: 18px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #007bff;
}

/*  Footer Links */
h6 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.about-links {
    list-style: none;
    padding: 0;
}

.about-links li {
    margin-bottom: 8px;
}

.about-links a {
    text-decoration: none;
    color: #bbb;
    transition: 0.3s;
}

.about-links a:hover {
    color: #007bff;
}

.footer-column:not(.abtlogo) {
    margin-top: 40px;
    /* Push other sections down */
}

/*  Mobile Fix */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
        text-align: center;
    }

    .abtlogo {
        align-items: center;
        text-align: center;
        min-height: auto;
        /* Adjust for mobile */
    }

    .abtlogo img {
        width: 120px;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-column {
        width: 100%;
        min-height: auto;
        margin-bottom: 20px;
        margin-top: 0;
        /* Reset margin on small screens */
    }
}

/* ////////////////////////// */
/* ////////rights */
.rights {
    text-align: center;
    color: white;
}

.rightscontainer {
    background-color: #1a1a1a;
    padding: 20px;
    font-family: "Inter", serif;
}

/* //////////////////////// */








.blogcontainer {
    text-align: center;
    padding-top: 30px;
    background: linear-gradient(135deg, #f8f9fa, #e3f2fd);
    /* Attractive gradient background */
    padding-bottom: 50px;
}

/* Carousel Container */
.carousel-card {
    background: rgba(255, 255, 255, 0.95);
    /* Light background effect */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 600px;
    /* Restrict width for better design */
    margin: auto;
}

/* Carousel Images */
.carousel-img {
    width: 100%;
    height: 220px;
    /* Reduced height for a better balance */
    object-fit: cover;
    border-radius: 10px;
}

/* Title */
.card-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 15px;
    color: #333;
}

/* Text */
.card-text {
    font-size: 1rem;
    color: #444;
    margin-bottom: 10px;
}

/* Read More Link */
.read-more {
    text-decoration: none;
    font-weight: bold;
    color: #007bff;
    transition: color 0.3s;
}

.read-more:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .carousel-img {
        height: 200px;
        /* Slightly reduced for smaller screens */
    }

    .carousel-card {
        padding: 15px;
        max-width: 90%;
        /* Make it more mobile-friendly */
    }
}

/* //////////////////////////////////////// */


.ourprogramcontainer {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 50px;
    font-family: "Inter", serif;
}

.program-heading {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
}

.program-heading h2 {
    color: #fff;
    font-size: 2rem;
}

.program-heading span {
    color: #01427A;
    font-weight: bold;
    font-size: 2.5rem;
}

.program-card {
    background: linear-gradient(#007bff, #01427A);
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    padding: 30px 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #fff;
    min-height: 180px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.program-card:hover {
    transform: scale(1.08);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

.program-title {
    font-weight: bold;
    font-size: 1.5rem;
    color: #fff;
}

.program-desc {
    font-size: 1rem;
    margin-top: 10px;
    color: #fff;
}

@media (max-width: 768px) {
    .program-title {
        font-size: 1.3rem;
    }

    .program-desc {
        font-size: 0.95rem;
    }
}

/* Animation delays for each card */
.row > div:nth-child(1) .program-card { animation-delay: 0.2s; }
.row > div:nth-child(2) .program-card { animation-delay: 0.4s; }
.row > div:nth-child(3) .program-card { animation-delay: 0.6s; }
.row > div:nth-child(4) .program-card { animation-delay: 0.8s; }
.row > div:nth-child(5) .program-card { animation-delay: 1s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}