* {
    box-sizing: border-box;
}

html,
body {
    width: 100% !important;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Main Container */
.main-div {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

/* .main-div>* {
    flex-grow: 1;
} */

/* Background Overlay */
.main-div::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(../images/main-sec-bg.png) center/cover no-repeat;
    opacity: 0.5;
    z-index: -1;
}

/* Navbar Section */
.navbar-section {
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 8px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.44);
    z-index: 1000;
}

/* Logo Styling */
.navbar-brand {
    margin-left: 4.6em;
}

.navbar-brand img {
    width: 411px;
    height: auto;
    max-width: 100%;
}

/* Navigation Links */
.navbar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: absolute;
    top: 49px;
    left: 49.8em;
}

.navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 20px;
    text-align: center;
    padding: 5px 10px;
    white-space: nowrap;
    text-decoration: none;
    color: #000;
}

/* Enquiry Button Container */
.enquiry-btn-container {
    position: absolute;
    top: 46px;
    left: 75em;
    /* Adjusted according to Figma */
}

/* Enquiry Button */
.enquiry-btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    width: 144px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: linear-gradient(90deg, #FF8C00 0%, #FFC428 100%);
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

/* Enquiry Button Link */
.enquiry-btn a {
    text-decoration: none;
    color: #000;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover Effect */
.enquiry-btn:hover {
    filter: brightness(1.1);
}

.slider-section {
    background: #ffffff78;
    width: 100%;
    min-height: 76vh;
    /* Ensures it expands */
    display: inline-block;
    align-items: center;
    overflow: hidden;
}

.slide-head {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 36px;
    line-height: 68px;
    letter-spacing: 4%;
    text-align: center;
    color: #012951;
    margin-bottom: 0px;
}

.inner-para {
    width: 90%;
    margin: 2vh auto 0;
}

.inner-para>p {
    line-height: 44px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    text-align: justify;
    font-size: 24px;
    word-spacing: 3px;
    width: 82%;
    margin: auto;
}

.img-container {
  position: relative;
  width: 100%;
  max-height: 80vh;         /* Limits overall height */
  overflow: hidden;
  top: -3em;
}


.archeive-section {
    position: relative;
    background: url('../images/ach-bg.png') center/cover no-repeat;
    overflow: hidden;
    height: auto;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 68, 119, 0.9);
    /* #114477E5 equivalent */
}

.standout {
    position: relative;
    width: 100%;
    padding: 60px 0;
    overflow: hidden;
    padding-bottom: 10px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: initial;
    font-size: 36px;
    line-height: 68px;
    letter-spacing: 1.4px;
    text-align: center;
    color: #012951;
}

.content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 40px;
    flex-wrap: wrap;
}

.std-image-container {
    position: relative;
    max-width: 350px;
}

.std-image-container::before {
  content: "";
    position: absolute;
    top: 54%;
    left: 74%;
    width: 472px;
    height: 510px;
    background: url(../images/std-vector.png) center / contain no-repeat;
    transform: translate(-50%, -50%);
}

.girl-image {
    width: 950px;
    position: relative;
    left: -19px;
    height: 566px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.blob {
    width: 300px;
    height: 184px;
    background: url('../images/rt-vect-1.1.png') center/contain no-repeat;
    border-radius: 40% 60% 60% 40%;
}

.blob img {
    width: 75px;
    /* padding: 3em 0px 0px 1em; */
    height: 74px;
    position: relative;
    top: 52px;
    left: 10px;
}

.feature p {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: 500;
    color: #000000;
    line-height: 29px;
    font-family: 'poppins', sans-serif;
    letter-spacing: 1.4px;
    width: 189px;
}

.sub-content {
    width: 100%;
    height: auto;
    background: url('../images/mission-bg.png') center/contain no-repeat;
    border-radius: 25px;
}

.inner-content {
    border-radius: 25px;
    background-color: #113F6ED9;
    width: 100%;
    height: inherit;
}

.mission-text {
    top: 3em;
    /* width: 80% !important; */
    font-size: 20px !important;
    font-weight: 100;
    text-align: center !important;
    color: #FFFFFF;
    letter-spacing: 2.9px;
    font-family: 'poppins', sans-serif;
    padding: 1.8em 5.9em;
}

.teams {
    position: relative;
    width: 100%;

    padding: 40px 0;
    overflow: hidden;
    padding-bottom: 10px;
}

.team-hd {
    color: #012951;
    font-weight: 500;
    font-family: 'poppins', sans-serif;
    line-height: 68px;
    letter-spacing: 1.4px;
}

.faculty-img {
    width: 235px;
    height: 235px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0px 4px 4px 0px #00000000;
}

.faculty-card {
    transition: transform 0.3s;
    padding: 10px;
}

.faculty-card:hover {
    transform: translateY(-3px);
}

/* Updated typography classes */
.faculty-name {
    font-family: Poppins, sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #012951;
    margin-top: 12px;
    margin-bottom: 3px;
}

.faculty-qualification {
    font-family: Poppins, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
    color: #012951;
    margin: 12px 0px;
}

.faculty-position {
    font-family: Poppins, sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    text-align: center;
    color: #012951;
}


.journey h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 500 !important;
    font-size: 36px;
    color: #002147;
}

.journey p {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: 0%;
    max-width: 1158px;
    margin: 0 auto;
    color: #000000;
}

.journey-card {
    position: relative;
    display: inline-block;
}

.journey-label {
    background: linear-gradient(90.02deg, #FFC428 0.02%, #FF8C00 99.98%);
    color: #000000;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 24px;
    width: 100%;
    /* Set exact width */
    height: 46px;
    /* Set exact height */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* Space between text and arrow */
    border-radius: 16px;
    /* Rounded corners */
    padding: 0 10px;
    /* Padding on left and right */
    text-transform: capitalize;
    margin: 10px 0px;
}

.joinus {
    background: url(../images/mission-bg.png)center/cover no-repeat;
    padding: 0px 0px 0px 0px;
    border-radius: 32px;
    margin-bottom: 40px;
}

.joinus h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 500 !important;
    font-size: 40px;
    color: #FFFFFF;
    padding: 28px 0px 20px 0px;
}

.joinus p {
    font-family: "Poppins", sans-serif;
    font-weight: lighter;
    font-size: 20px;
    line-height: 36px;
    letter-spacing: 0px;
    max-width: 1158px;
    margin: 0 auto;
    color: #FFFFFF;
    text-transform: capitalize;
    padding: 1px 0px 27px 0px;
}

.joinus-label {
    background: linear-gradient(90.02deg, #FFC428 0.02%, #FF8C00 99.98%);
    color: #000000;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 20px;
    width: 196px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 16px;
    padding: 0 10px;
    text-transform: capitalize;
    margin: auto;
}

.offcanvas-title {
    text-align: center;
    /* Centers the text */
    width: 100%;
    /* Ensures it takes full width */
    padding: 10px;
    /* Adds some spacing */
    border: 2px solid #ddd;
    /* Adds a border */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    /* Adds a subtle shadow */
    background-color: #f8f9fa;
    /* Light background color */
    border-radius: 5px;
    /* Adds slight rounded corners */
    font-family: 'poppins', sans-serif;
    font-weight: 400;
    font-size: 28px;
    color: #012951;
}

.custom-nav {
    text-align: left;
    padding-left: 0;
    /* Remove extra padding if applied */
}

.custom-nav .nav-link {
    font-family: 'poppins', sans-serif;
    font-size: 19px;
    font-weight: 400;
    color: #012951;
}

.custom-nav .nav-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 10px;
    width: 100%;
    /* Ensures the items stretch full width */
}

.custom-nav .nav-link {
    display: flex;
    align-items: center;
    text-align: left;
    font-size: 16px;
    width: 100%;
    padding-left: 15px;
    /* Adjust as needed */
}

.custom-nav .nav-link i {
    margin-right: 10px;
    font-size: 18px;
}

/* Fix flex alignment issue */
.offcanvas-body {
    display: block !important;
    /* Overrides Bootstrap's flex styles */
}

.inner-bg {
    background: #113F6ED9;
    border-radius: 32px;
    height: 280px;
}

.active-nav {
    color: #FD7702 !important;
    font-weight: bold;
    border-bottom: 2px solid #FD7702;
}

@media (min-width: 993px) and (max-width: 1362px) {
    .navbar-nav {
        position: relative;
        left: auto;
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 16px;
        top: 1px;
        /* Reduce gap for better alignment */
    }

    .enquiry-btn-container {
        position: relative;
        left: auto;
        margin-left: auto;
        /* Pushes it to the right */
        padding-right: 20px;
        /* Adjust spacing */
        top: 1px;
    }

    .navbar-brand {
        margin-left: 20px;
        /* Adjust margin to prevent overflow */
    }

    .navbar-brand img {
        width: 150px;
        /* Fix shrinking issue */
        max-width: 100%;
        width: 270px;
    }
}

@media (max-width: 768px) {
    .inner-bg {
        height: auto;
        padding-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .content {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.ftr {
    background-color: #275583 !important;
}

.ftr-hd {
    font-family: 'poppins', sans-serif;
    font-weight: 600 !important;
    font-size: 20px;
    line-height: 39px;
    margin-bottom: 10px;
    letter-spacing: 0px;
    color: #FFFFFF;
}

.ftr-a {
    font-family: 'poppins', sans-serif;
    font-weight: lighter;
    font-size: 20px;
    line-height: 43px;
    margin-bottom: 10px;
    letter-spacing: 0px;
}

.instagram-icon {
    color: #E4405F;
    /* Instagram color */
}

.facebook-icon {
    color: #1877F2;
    /* Facebook color */
}

.youtube-icon {
    color: #FF0000;
    /* YouTube color */
}

.whatsapp-icon {
    color: #25D366;
    /* WhatsApp color */
}

.linkedin-icon {
    color: #0077B5;
    /* LinkedIn color */
}

@media (max-width: 1200px) {
    .ftr-a {
        font-size: 18px;
        /* Reduce text size slightly for medium screens */
        line-height: 36px;
    }

    .ftr-hd {
        font-size: 18px;
        line-height: 32px;
    }
}

@media (max-width: 1024px) {
    .footer .row {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        /* Center align for consistency */
    }

    .footer .col-md-3,
    .footer .col-md-2 {
        width: 50%;
        /* Ensure proper layout distribution */
        margin-bottom: 20px;
    }

    .footer .col-md-2 img {
        max-width: 140px;
        height: auto;
    }
}

@media (max-width: 768px) {

    .footer .col-md-3,
    .footer .col-md-2 {
        width: 100%;
        /* Full width stacking */
        text-align: center;
    }

    .footer .col-md-2 img {
        max-width: 120px;
        height: auto;
    }

    .footer .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .ftr-a {
        font-size: 16px;
        /* Smaller text for mobile */
        line-height: 30px;
    }

    .ftr-hd {
        font-size: 16px;
        line-height: 28px;
    }

    .footer .col-md-2 img {
        max-width: 100px;
        height: auto;
    }

    .footer .social-icons {
        gap: 10px;
    }
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .enquiry-btn-container {
        left: auto;
        right: 5%;
    }
}

@media (max-width: 992px) {
    .navbar {
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
    }

    .navbar-brand {
        margin-left: 0;
    }

    .navbar-brand img {
        width: 220px;
    }

    .navbar-nav {
        position: static;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 10px 0;
        gap: 12px;
    }

    .navbar-nav .nav-link {
        font-size: 18px;
        padding: 8px;
    }

    .enquiry-btn-container {
        position: static;
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }

    .enquiry-btn {
        max-width: 200px;
        height: 40px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .sub-content {
        width: 100%;
        background: url('../images/mission-bg.png') center/cover no-repeat;
        height: auto;
    }

    .inner-content {
        height: auto;
        padding-bottom: 6em;
    }

    .mission-text {
        padding: 0 1.9em;
    }

    .navbar-toggler {
        display: block;
    }

    .navbar-brand img {
        width: 180px;
    }

    .navbar-nav {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .enquire-btn {
        max-width: 180px;
        font-size: 16px;
    }
}

@media (max-width: 991px) {

    /* Applies to tablets & mobile */
    .row.reverse-order {
        flex-direction: column-reverse;
        /* Inverts the order */
    }
}

/* 🌐 Tablets (768px - 1024px) */
@media (max-width: 1024px) {
    .std-image-container::before {
        width: 400px;
        height: 410px;
        left: 47%;
    }

    .girl-image {
        width: 750px;
        left: -50px;
    }
}

/* 📱 Mobile Phones (up to 767px) */
@media (max-width: 767px) {
    .joinus {
        max-width: 640px;
    }

    .std-image-container::before {
        display: none;
    }

    .girl-image {
        display: none;
        width: 500px;
        left: 0;
    }
}

@media (max-width: 992px) {

    /* Bootstrap breakpoint for tablets */
    .journey-label {
        width: 100%;
        /* Make it responsive */
        height: auto;
        /* Allow flexibility */
        padding: 12px 16px;
        /* More space inside */
        font-size: 14px;
        /* Adjust text size */
        gap: 8px;
        /* Reduce gap for small screens */
    }

    .journey-image {
        max-width: 100%;
        /* Prevent overflow */
        height: auto;
        display: block;
        margin: 0 auto;
        /* Center the image */
    }

    .journey-container {
        display: flex;
        flex-direction: column;
        /* Stack elements vertically */
        align-items: center;
        /* Center everything */
        gap: 16px;
        /* Space between image and button */
    }
}