:root {
    --primary-color: #153558;
    --secondary-color: #FFA500;
    --text-color: #646464;
    --white-color: #FFFFFF;
}

body {
    overflow-x: hidden;
}

/* Page heading banner with gradient overlay and breadcrumb */
.page-heading-banner {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    min-height: 180px; /* lower height as requested */
}

.page-heading-banner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /* subtle darkening already provided by inline gradient, keep for safety */
    background: linear-gradient(0deg, rgba(21,53,88,0.35) 0%, rgba(0,0,0,0.35) 100%);
    z-index: 1;
}

.page-heading-banner .banner-content {
    position: relative;
    z-index: 2;
    padding: 1.25rem 0 1.75rem; /* vertical spacing inside the banner */
}

.page-heading-banner .banner-title {
    color: #ffffff;
    font-size: 1.75rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.page-heading-banner .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.page-heading-banner .breadcrumb .breadcrumb-item a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.page-heading-banner .breadcrumb .breadcrumb-item.active {
    color: #ffffff;
    opacity: 0.95;
    font-weight: 600;
}

@media (max-width: 768px) {
    .page-heading-banner { min-height: 140px; }
    .page-heading-banner .banner-title { font-size: 1.25rem; text-align: left; }
    .page-heading-banner .banner-content { padding: 0.8rem 0 1rem; }
}

@media (max-width: 480px) {
    .page-heading-banner { min-height: 120px; }
    .page-heading-banner .banner-title { font-size: 1.1rem; }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f3f3f3;
}

::-webkit-scrollbar-thumb {
    background-color: #153558;
    border: 1px solid #f1f1f1;
}

/* Navbar */
.top-header {
    background-color: var(--primary-color);
    padding: 5px 20px;
}

.navbar {
    background-color: var(--white-color);
    padding: auto;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.navbar-brand img {
    width: 200px;
    height: 50px;
}

.navbar-nav .nav-link {
    color: #000 !important;
    font-size: 1rem;
    margin-right: 15px;
    transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
}

.navbar-nav .nav-link.active {
    color: var(--secondary-color) !important;
    /* Change text color */
    font-weight: bold;
    /* Make it bold */
    transition: all 0.3s ease-in-out;
}

.navbar-toggler-icon {
    filter: invert(100%);
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}


.carousel-slider-section{
    max-height: 600px !important;
}
/* Home page */
.title-text {
    border-left: 3px solid var(--secondary-color);
    padding-left: 10px;
}

.title-text h3 {
    color: var(--primary-color);
    font-weight: bold;
}

.section-spacing{
    margin: 60px 0;
}

/* Preview layout for section-spacing (use class `preview` to test) */
.section-spacing.preview {
    margin: 40px 0;
    padding: 40px 28px;
    background: #ffffff; /* light card background for preview */
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(21,53,88,0.07);
}

/* Make inner containers slightly narrower for a card-like layout */
.section-spacing.preview .container {
    max-width: 1140px;
}

@media (max-width: 991px) {
    .section-spacing.preview { padding: 28px 18px; margin: 30px 0; }
}

@media (max-width: 575px) {
    .section-spacing.preview { padding: 20px 12px; margin: 22px 0; }
}
.institute {
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.institute img {
    width: 100%;
    height: 320px;
    border-radius: 0; /* image sits flush inside card */
    display: block;
    transition: transform 0.5s ease;
    object-fit: cover;
}

.institute-layer {
    width: 100%;
    background-color: rgba(21, 53, 88, 0.72); /* dark bluish overlay */
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 12px 18px; /* compact by default to show only title */
    text-align: left;
    box-sizing: border-box;
    max-height: 76px; /* compact initial height showing only title */
    transition: max-height 0.45s ease, padding 0.35s ease, background-color 0.3s ease;
    z-index: 2;
    justify-content: flex-end; /* keep title at bottom initially */
}

.institute-layer::-webkit-scrollbar {
    width: 0px;
}

.institute-layer::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.institute-layer::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.institute-layer::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.institute-layer h6 {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
}

.institute-layer p {
    color: rgba(255,255,255,0.95);
    font-size: 14px;
    line-height: 1.6;
}

/* Title: show at the bottom initially as white text (no pill) */
.institute-layer .instituename {
    display: block;
    background: transparent;
    color: #fff;
    padding: 0;
    border-radius: 0;
    font-weight: 800;
    margin: 0 0 6px 0;
    text-shadow: 0 2px 6px rgba(0,0,0,0.45);
}

/* Hide description and button by default (keeps title visible) */
.institute-layer p,
.institute-layer .layer-btn {
    opacity: 0;
    max-height: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.35s ease;
    pointer-events: none;
}

/* On hover expand overlay and reveal content */
.institute:hover .institute-layer,
.institute.active .institute-layer {
    /* expand to reveal full content; allow scrolling if content is taller */
    max-height: 100%;
    padding: 18px 18px;
    justify-content: flex-start; /* push title to top on reveal */
}

.institute:hover .institute-layer p,
.institute.active .institute-layer p,
.institute:hover .institute-layer .layer-btn,
.institute.active .institute-layer .layer-btn {
    opacity: 1;
    max-height: 2000px;
    transform: none;
    pointer-events: auto;
}

.institute-layer a {
    display: inline-block;
    margin-top: 10px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    padding: 8px 12px;
    background: var(--secondary-color);
    border-radius: 6px;
    text-align: center;
}

.institute-text {
    font-size: 12px;
    margin-bottom: 5px;
    display: none;
}


.institute-layer a:hover {
    background-color: rgb(41, 38, 212);
    color: #fff;
}

.institute:hover .institute-layer {
    /* expand to reveal full content; allow scrolling if content is taller */
    max-height: 100%;
    padding-bottom: 22px;
}

.institute:hover .institute-text {
    margin-bottom: 5px;
    display: block;
}

.institute:hover .layer-btn {
    margin: auto;
    visibility: visible;
}

.institute:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

/* New behavior: move title to top on hover/active, reveal content upwards, allow scrolling if content is long */
.institute-layer hr.white-line { display:none; }

.instituename { transition: transform 0.35s ease, margin 0.35s ease; }

.institute:hover .instituename,
.institute.active .instituename {
    transform: translateY(-8px);
    margin-bottom: 10px;
}

.institute-layer { scrollbar-width: thin; }

.layer-btn { font-size: 13px; padding: 6px 10px; }

@media (max-width: 991px) {
    /* On tablets/phones, make overlay expand on tap (via .active) and ensure readable spacing */
    .institute-layer { max-height: 48%; padding: 12px; }
    .institute.active .institute-layer { max-height: 60vh; }
}

.institute-layer::-webkit-scrollbar {
    width: 8px;
}
.institute-layer::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
}
.institute-layer::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
}

.layer-btn {
    display: inline-block;
    margin-top: 10px;
    background: var(--secondary-color);
    color: #fff !important;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 767px) {
    .institute img { height: 220px; }
    .institute-layer { max-height: 48%; padding: 12px; }
}

/* .layer-btn is hidden by default and shown on hover via .institute:hover .layer-btn */
/* keep visibility control in hover rule above */

.white-line {
    border: none;
    height: 2px;
    background-color: white;
    margin-top: 5px;
    margin-bottom: 5px;
    font-weight: bold;
    width: 30%;
}


.about-parikrama-text p {
    color: var(--text-color);
    text-align: justify;
}


.about-parikrama-image {
    height: 100% !important;
    width: 100%;
    border-radius: 10px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    padding: 20px;
    justify-items: center;
}

.stats-card {
    width: 100%;
    max-width: 220px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #0072bc;
    color: white;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.stats-card i {
    font-size: 28px;
    margin-bottom: 10px;
}

.stats-card h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stats-card p {
    font-size: 14px;
}

.stats-card:nth-child(1) {
    background-color: #11468F;
}

.stats-card:nth-child(2) {
    background-color: #BE283C;
}

.stats-card:nth-child(3) {
    background-color: #03BB99;
}

.stats-card:nth-child(4) {
    background-color: #FFA500;
}

.stats-card:nth-child(5) {
    background-color: #8F117B;
}

.stats-card:hover {
    background-color: #153558;
    transform: translateY(-5px);
    transition: transform 0.3sease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .stats-card {
        max-width: 100%;
    }
}

.life-sec {
    /* background-image: url('../img/about-parikrama/life_parikrama_background.jpg') !important; */
    position: relative;
    padding: 9rem 5rem 0 40px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    width: 100% !important;
}

@media (max-width: 768px) {
    .life-sec {
        background-attachment: scroll;
        padding: 10rem 0 20px;
    }
}

@media (max-width: 480px) {
    .life-sec {
        padding: 7rem 0 20px;
    }
}

.life-sec::before {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    content: '';
    z-index: 1;
}

.life-at-parikrama-section {
    position: relative;
    z-index: 2;
}

.home-heading {
    color: white;
    text-align: center;
    position: relative;
    z-index: 3;
    margin-top: 100px;
}

.life-mit-innerdiv {
    position: relative;
}

.life-mit-innerdiv .col-lg-4 ul {
    background: #00000085;
    padding: 13px;
    border-radius: 10px;
    list-style-type: none;
}

#life-at-parikrama-li {
    width: 100%;
}

.life-mit-innerdiv .col-lg-4 ul li a {
    display: block;
    align-items: center;
    margin: 5px;
    color: #fff;
    font-size: 16px;
    background: #0A4B99BA;
    padding: 10px;
    border-radius: 5px;
    margin: 10px;
    text-decoration: none;
}

.life-mit-innerdiv .col-lg-4 ul li a:hover {
    color: #000;
    background: #ffe5b4;
}

@media (min-width:320px) and (max-width:768px) {

    .over-link li,
    .li_default li {
        width: 100%;
    }
}


.placement-internship-text p {
    color: var(--text-color);
    font-size: 17px;
}

.placement-carousel {
    padding: 30px 0;
}

.placement-carousel .item {
    text-align: center;
    padding: 12px;
}

/* Card wrapper for placement logos */
.placement-carousel .item .placement-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 16px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(18, 38, 63, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 110px;
    max-width: 240px;
    margin: 0 auto;
    overflow: hidden;
}

.placement-carousel .item .placement-card img {
    max-height: 72px;
    width: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    transition: transform 0.28s ease;
}

.placement-carousel .item .placement-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(18, 38, 63, 0.10);
}

.placement-carousel .item img {
    /* fallback for items that don't use placement-card */
    max-width: 100%;
    height: auto;
    object-fit: contain;
}


.choose-parikrama-section {
    width: 100%;
    height: auto;
    background: url('../img/about-parikrama/why-choose-parikrama-back-img.jpg') no-repeat center center !important;
    background-size: cover !important;
    overflow: hidden;
}
.choose-parikrama {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 76, 137, 0.8);
  }
  #parikrama-text{
    color: #153558;
    font-weight: 700;
  }
  .choose-parikrama-text {
    margin-top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
  }

.why-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: all 0.4s ease;
    color: #fff;
}

.why-card .icon i {
    font-size: 40px;
    transition: all 0.4s ease;
}

.why-card:hover {
    background: #ffffff;
    color: #153558;
    transform: translateY(-10px);
}

.why-card:hover h5,
.why-card:hover p {
    color: #153558;
}

.why-card:hover .icon i {
    color: #153558;
    transform: rotate(10deg) scale(1.1);
}

/* Responsive */
@media (max-width: 991px) {
    .why-card {
        margin-bottom: 20px;
    }
}



/* Hover Effect */


/* Info Box */
.info-box {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background-color: rgba(255, 165, 0, 1);
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: start;
    font-family: Arial, sans-serif;
    z-index: 1000;
    width: 50%;
    max-width: 250px;
    height: auto;
    max-height: 80%;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .info-box {
        width: 60%;
        max-height: 60%;
    }
}

@media (max-width: 480px) {
    .info-box {
        width: 50%;
        bottom: 20px;
        right: 20px;
        padding: 10px;
        font-size: 8px;
        max-height: 50%; 
    }
    .info-box .info-number {
        font-size: 15px;
    }
}

/* Image Border */
.campus-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    border-radius: 20px;
    z-index: 1;
}



/* Mission, Vision, Values Section */
.mission-vision-values-section {
    width: 100%;
}

/* Card Styling */
.mv-card {
    border-radius: 20px;
    color: rgba(48, 108, 254, 1);
    padding: 20px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.mv-card:hover {
    background-color: #e0e0e0;
    cursor: pointer;
    transform: translateY(-10px);
}

/* Icon Styling */
.mv-icon {
    color: rgba(48, 108, 254, 1);
    font-size: 2rem;
}

/* Title Styling */
.mv-title {
    color: rgba(48, 108, 254, 1);
}

/* Text Styling */
.mv-text {
    color: rgba(48, 108, 254, 1);
    font-size: 1rem;
}


/* Admission */
/* Apply Banner Section */
.apply-banner {
    position: relative;
    width: 100%;
    text-align: center;
}

.apply-banner-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 990;
}

/* Banner Image */
.apply-banner-img {
    width: 100%;
    height: auto;
    z-index: 990;

}

/* Form Container - Positioned on Right Side */
.apply-form-container {
    position: absolute;
    top: 40%;
    right: 5%;
    transform: translateY(-50%);
    background: rgb(255, 255, 255); /* Light Background */
    padding: 25px;
    border-radius: 10px;
    width: 350px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 999;
}

/* Form Title */
.apply-form-title {
    font-size: 18px;
    font-weight: bold;
    background-color: #153558;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Input & Select Fields */

.apply-input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    background: #fff;
    transition: all 0.3s ease;
}

.apply-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}


/* Placeholder color */
.apply-input::placeholder {
    color: #888;
}

/* Remove default dropdown styles */
.apply-input:focus {
    border-color: #153558;
    box-shadow: 0 0 0 4px rgba(21, 53, 88, 0.08);
    outline: none;
}

/* Submit Button */
.apply-submit-btn {
    background: linear-gradient(135deg, #153558, #0d2a47);
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.apply-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(13, 42, 71, 0.4);
}
/* Responsive Design */
@media (max-width: 991px) {
    .apply-banner-container {
        display: block;
    }

    .apply-form-container {
        position: relative;
        width: 100%;
        max-width: 400px;
        margin: 20px auto;
        transform: none;
        right: auto;
        top: auto;
    }
}

.edu-tabs-container {
    position: relative;
    margin-top: -100px; /* Moves the tabs up on the image */
    z-index: 1000;
}
/* Tabs Container */
.edu-tabs {
    display: flex;
    gap: 10px;
    border: none;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    padding: 10px;
    z-index: 1000;
}

/* Each Tab */
.edu-tab-item {
    flex: 1;
    text-align: center;
}

.edu-tab-link {
    width: 100%;
    background: transparent;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    color: #153558;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.3s ease-in-out;
}

.edu-tab-link i {
    font-size: 24px;
    margin-bottom: 5px;
}
.edu-tab-link span{
    color: #000;
}
.edu-tab-link small {
    font-size: 12px;
    color: #000;
}

/* Active Tab */
.edu-tab-link.active span{
    color: #fff;
}
.edu-tab-link:hover span{
    color: #fff;
}
.edu-tab-link.active {
    background-color: #153558 !important;
    color: white !important;
    border-radius: 10px !important;
}
.edu-tab-link:hover{
    background-color: #153558 !important;
    color: white !important;
    border-radius: 10px !important;
}

.edu-tab-link.active small {
    color: white;
}
.edu-tab-link:hover small {
    color: white;
}

/* Tab Content */
.edu-tab-content {
    padding: 20px;
    background: white;
    border-radius: 10px;
}
/* Responsive */
@media (max-width: 991px) {
    .edu-tabs-container {
        margin-top: 0px; /* Moves the tabs up on the image */
        z-index: 1000;
    }
    .edu-tabs {
        flex-wrap: wrap;
    }

    .edu-tab-item {
        flex: 0 0 48%;
        margin-bottom: 10px;
    }
}

.custom-background {
    position: relative;
    background-image: url('../img/about-parikrama/custom-background.png') !important;
    background-size: cover;
    background-position: center;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 20px; /* Add some padding for better spacing */
}

.custom-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(21, 53, 88, 0.5);
    background: linear-gradient(0deg, rgba(21, 53, 88, 0.8) 0%, rgba(0, 90, 188, 0.8) 100%);
    z-index: 1;
}

.custom-background > div {
    position: relative;
    z-index: 2; /* Ensure text is above the overlay */
}
/* Section spacing */
.testimonial-carousel {
    padding: 40px 0;
}

/* Card Design */
.testimonial-carousel .card {
    border: none;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Hover Effect */
.testimonial-carousel .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Image Style */
.testimonial-carousel .card img {
    height:auto;
    width: 100%;
    object-fit: cover;
}

/* Card Body */
.testimonial-carousel .card-body {
    padding: 20px;
}

/* Student Name */
.testimonial-carousel .card-title {
    font-weight: 600;
    font-size: 16px;
}

/* Course Text */
.testimonial-carousel small {
    font-size: 13px;
    color: #6c757d;
}

/* Description */
.testimonial-carousel .card-text {
    font-size: 14px;
    color: #555;
}
/* Modal */
.custom-modal-content {
    border: none;
    border-radius: 15px;
    left: 15%;
    overflow: hidden; 
    width: 550px !important;
}

.modal-header-content {
    background-color: #ffffff;
    color: #000; 
    border-bottom: none; 
    padding: 15px;
}

.custom-modal-body {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('../img/logo/lab-photo.jpg') no-repeat center center;
    background-size: cover;
    padding: 30px;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
}


.custom-modal-body .form-field-content, 
.custom-modal-body #address {
    background: transparent !important;
    color: white !important; 
    border: 1px solid #f6f6f6 !important; 
    border-radius: 30px !important; 
    height: 50px !important;
    box-shadow: none !important;
}

.custom-modal-body .dropdown-select {
    background: transparent !important; 
    color: white !important;
    border: 1px solid #f6f6f6 !important;
    border-radius: 30px !important; 
    height: 50px !important;
    box-shadow: none !important; 
    padding-right: 20px; 
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 15px;
}

.custom-modal-body .dropdown-select option {
    background-color: white;
    color: black; 
}

.custom-modal-body #address {
    border-radius: 15px !important; 
    height: auto !important;
    padding: 15px;
}

.custom-modal-body .form-field-content::placeholder, 
.custom-modal-body #address::placeholder {
    color: rgba(255, 255, 255, 0.8) !important; 
}

.custom-modal-body .form-field-content:focus, 
.custom-modal-body #address:focus, 
.custom-modal-body .dropdown-select:focus {
    background: transparent !important; 
    box-shadow: none !important; 
    border-color: white !important;
    color: white !important; 
}

.submit-button {
    background: rgba(255, 255, 255, 0.3); 
    color: white !important; 
    border: 1px solid white;
    border-radius: 30px;
    padding: 10px 0;
}

.submit-button:hover {
    background-color: rgba(255, 255, 255, 0.5);
    color: white;
    border: 1px solid white;
}

@media (max-width: 576px) {
    .custom-modal-content {
        width: 100% !important;
        left: 0;
    }

    .custom-modal-body {
        min-height: auto;
        padding: 20px;
    }
}

.modal-header .btn-close {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-header .btn-close:hover {
    background-color: rgba(0, 0, 0, 0.3); 
}

.submit-button {
    background: transparent !important;
    height: 50px;
    border: 1px solid #f6f6f6 !important;
}

/* Gallery Page */
.img-container {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    margin-top: 15px;
    cursor: pointer;
}

.gallery-card {
    background-color: #fff;
    border-radius: 10px;
    transition: 0.3s; cursor: pointer;
    /* padding: 15px 0; */
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px !important;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.gallery-card p {
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 0;
}

.modal-content {
    background: #fff;
    padding: 0;
    border: none;
    border-radius: 10px;
    position: relative;
}

#dynamicCarousel {
    display: none; /* Hide until carousel is initialized */
}

#dynamicCarousel.initialized {
    display: block; /* Show once initialized */
}

/* Center nav buttons on left and right */
.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.owl-prev, .owl-next {
    background-color: #FF901F !important;
    color: white !important;
    border: none !important;
    font-size: 20px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    position: relative !important;
    margin: 0 !important;
}

.owl-prev {
    left: 0 !important;
}

.owl-next {
    right: 0 !important;
}

.owl-theme .owl-nav [class*='owl-'] {
    margin: 0;
}

.owl-theme .owl-nav [class*='owl-']:hover {
    background-color: #e07a1a !important;
}

/* Event page  */
.nav-tab-items {
    border-bottom: none !important;
}

.nav-tab-items .nav-link-items {
    background-color: white;
    color: black;
    border: 1px solid #FF901F;
    border-radius: 5px;
    margin-right: 0;
}

.nav-tab-items .nav-link-items.active {
    background-color: #FF901F;
    color: white;
    border: 1px solid #FF901F;
}

.custom-prev,
.custom-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #FF901F;
    border: none;
    color: white;
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.custom-prev {
    left: -20px;
}

.custom-next {
    right: -20px;
}

.card-content {
    border: none;
}

.card-body-section {
    text-align: left;
}

.card-title-text {
    font-size: 13px;
    font-weight: bold;
    color: rgba(21, 53, 88, 1);
}

.date-text {
    color: rgba(33, 37, 41, 1);
    font-size: 14px;
}

.description-text {
    font-size: 13px;
    color: rgba(61, 61, 61, 1);
}


@media (max-width: 768px) {
    .custom-prev {
        left: 5px;
    }

    .custom-next {
        right: 5px;
    }
}

.tab-content-section {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.content-sections {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
}

.read-more-button {
    color: #FF901F;
    text-decoration: none;
    font-size: 13px;
}

.image-wrapper {
    width: 100%;
    height: 250px !important;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    object-position: center; 
}


.custom-image {
    aspect-ratio: 3/2 !important;
    width: 100%;
    object-fit: cover;
}
.announcement-text-1 {
    color: #153558;
    font-weight: 700;
}

.address p {
    margin-bottom: 6px;
    font-size: 16px;
    color: #333;
}

.facebook-btn {
    color: #3b5998;
}

.twitter-btn {
    color: #1da1f2;
}

.google-plus-btn {
    color: #db4437;
}

.instagram-btn {
    color: #c13584;
}

.youtube-btn {
    color: #ff0000;
}

.card-container {
    background: #fff;
    border-radius: 6px;
    padding: 10px;
    min-height: 100%;
}
.contact-text{
    color: #FF901F !important;
}
.send-button{
    background-color: #FF901F !important;
}
.contact-submit-button {
    background-color: #FFA500 !important;
    font-weight: bold;
    font-size: 16px;
    border: none;
}

.submit-button:hover {
    background-color: #e69500;
}

input.form-control,
textarea.form-control {
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 14px;
}

input.form-control::placeholder,
textarea.form-control::placeholder {
    color: #999;
}


/* Back TO Top Button */
#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: rgba(4, 15, 27, 1);
    color: #fff;
    border: 1px solid #FFF;
    border-radius: 50%;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
    z-index: 9999; /* Ensures it appears above all other content */
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

/* Footer */
.footer {
    color: var(--default-color);
    background: rgb(21, 53, 88);
    background: linear-gradient(0deg, rgba(21, 53, 88, 1) 0%, rgba(0, 0, 0, 1) 100%);
    font-size: 14px;
    padding-bottom: 15px;
    position: relative;
  }
  
  
  
  .footer .footer-top {
    padding-top: 40px;
  }
  
  .footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 4px;
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin-right: 10px;
    transition: 0.3s;
    padding: 25px;
  
  }
  
  .footer .social-links a i {
    color: white;
  }
  
  .footer h4 {
    font-size: 20px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
    color: white;
  
  }
  
  .footer .footer-links {
    margin-bottom: 20px;
    margin-top: 10px;
  }
  
  .footer .footer-links h5 span {
    padding-right: 15px;
    color: #FFA500;
  }
  
  .footer .footer-links ul {
    list-style: disc;
    color: white;
    padding-right: 8px;
    padding-bottom: 20px;
    margin: 0;
    padding-left: 20px;
  }
  
  .footer-links .link-text {
    color: white;
    padding-left: 0;
    font-size: 12px;
  }
  
  .footer .footer-links ul li {
    padding: 10px 0;
    display: list-item;
  }
  
  .footer .footer-links ul li:first-child {
    padding-top: 0;
  }
  
  .footer .footer-links ul a {
    display: inline-block;
    line-height: 1;
    color: white;
  }
  
  .footer .footer-links ul a:hover {
    text-decoration: none;
    color: #fff;
  }
  
  .footer .footer-about a {
    color: var(--heading-color);
    font-size: 24px;
    font-weight: 600;
    font-family: var(--heading-font);
  }
  
  .footer-about h1 {
    font-family: Times New Roman, serif;
  }
  
  .footer .footer-contact p {
    margin-bottom: 5px;
    font-size: 15px;
  }
  
  .footer .copyright {
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }
  
  .footer .copyright p {
    margin-bottom: 0;
  }
  
  .footer .credits {
    margin-top: 6px;
    font-size: 13px;
  }
  
  .footer-logo-div {
    margin-top: -20px;
  }
  
  .footer-logo {
    height: 80px;
    width: 80px;
  }
  
  .custom-line-height {
    line-height: 1.5;
  }
  .pharm-btn {
  background-color: #ffa500 !important;
}
.pharmacy-card {
  background-image: linear-gradient(
    rgba(35, 76, 124, 1),  /* Lighter blue at the top */
    rgba(21, 53, 88, 1)    /* Base dark blue at the bottom */
  ) !important;
}

.document-card {
  background-color: rgba(243, 249, 255, 1) !important;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.document-card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.document-card h5 {
  color: rgba(21, 53, 88, 1) !important;
}

.document-card ul li {
  color: rgba(85, 85, 85, 1);
  margin: 5px;
}
.feature-icon {
  color: rgba(21, 53, 88, 1);
  font-size: 1.2rem;
  margin-right: 10px;
  vertical-align: middle;
}
.marker-arrow-list li::marker {
  content: "➤ ";
  color: rgba(21, 53, 88, 1);
  font-weight: bold;
}
.card:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease-in-out;
}
.navbar-nav .nav-item {
        position: relative;
        display: flex;
        align-items: center;

    }

    .navbar-nav .nav-item:not(:last-child) {
        margin-right: 5px;
    }

    .navbar-nav .nav-item:not(:last-child)::after {
        content: "|";
        color: rgba(14, 14, 14, 1);
        font-weight: 50 !important;
    }
/* Navbar dropdown: show on hover for pointer devices; absolute dropdown with z-index */
@media (min-width: 992px) {
    .navbar .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        margin-top: 0;
        display: none;
        z-index: 2000;
        min-width: 10rem;
    }

    /* Show on hover for devices that support hover */
    @media (hover: hover) and (pointer: fine) {
        .navbar .dropdown:hover > .dropdown-menu {
            display: block;
        }
    }

    /* Ensure Bootstrap's .show class also displays correctly */
    .navbar .dropdown.show > .dropdown-menu,
    .navbar .dropdown .dropdown-menu.show {
        display: block;
    }

    /* smooth opacity transition */
    .navbar .dropdown-menu {
        transition: opacity 0.15s ease-in-out;
        opacity: 1;
    }
}

/* Prevent dropdown from being clipped by overflowed ancestors */
.navbar, .navbar .container {
    z-index: 1000;
}

/* Home banner (Owl) styles - placed at file end */
.home-owl-carousel {
    position: relative;
}

/* dark overlay to make images look 'blkish' without editing images */
.home-owl-carousel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.36);
    z-index: 2;
    pointer-events: none;
}

.home-owl-carousel .item {
    position: relative;
    overflow: hidden;
    /* Use viewport-based height to keep the slider within one frame and avoid page scroll */
    height: min(80vh, 720px);
}
.home-owl-carousel img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; /* ensure covers the frame */
}
.carousel-slider-section {
    /* ensure the section doesn't add extra bottom margin that could cause scrolling */
    margin-bottom: 0;
}

/* Caption moved to left side on large screens */
.banner-caption {
    position: absolute;
    left: 6%;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    text-align: left;
    z-index: 5;
    padding: 0 15px;
    opacity: 0;
    transition: all 0.6s ease-in-out;
    max-width: 600px;
}
.banner-caption h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: .5rem;
    text-shadow: 0 6px 18px rgba(0,0,0,0.45);
}
.banner-caption p {
    font-size: 1.05rem;
    text-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

/* When the owl item is active, reveal the caption */
.home-owl-carousel .owl-item.active .banner-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (min-width: 1200px) {
    .banner-caption h2 { font-size: 2.8rem; }
    .banner-caption p { font-size: 1.3rem; }
    .home-owl-carousel .item { height: 640px; }
    .carousel-slider-section { min-height: 640px; }
}

@media (max-width: 991px) {
    /* center caption on smaller devices and reduce frame height */
    .banner-caption { left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; max-width: 90%; }
    .home-owl-carousel .item { height: min(50vh, 420px); }
    .carousel-slider-section { min-height: 0; }
}




/* TITLE */
.journey-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
}

/* SUBTEXT */
.journey-subtext {
    max-width: 750px;
    margin: auto;
    font-size: 17px;
    color: #555;
    line-height: 1.8;
}



/* Campus Image Container */
.campus-container {
    position: relative;
    display: inline-block;
    align-items: center;
     border-radius: 20px;
    justify-content: center;
    z-index: 00;
    overflow: hidden; /* Ensures the scaled image stays within the container */
    width: 100%; /* Adjust to your layout */
    height: auto; /* Maintain aspect ratio */
}


/* IMAGE */
.campus-image {
    width: 100%;
    max-width: 950px;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
    transition: none; /* hover effect removed */
}

/* CORNER ANIMATED BADGE */
.info-box {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 25px 30px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    max-width: 260px;
    animation: floatUp 1.2s ease forwards;
}

/* NUMBER */
.info-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

/* TEXT */
.info-text {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

/* FLOAT ANIMATION */
@keyframes floatUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* BOTTOM GRADIENT SECTION */
.journey-fluid {
    margin-top: 20px;
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
}

/* DESCRIPTION */
.journey-description {
    max-width: 850px;
    margin: auto;
    font-size: 17px;
    line-height: 1.9;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .journey-title {
        font-size: 30px;
    }

    .info-box {
        position: relative;
        top: auto;
        right: auto;
        margin: 20px auto 0 auto;
    }

    .journey-fluid {
        margin-top: 60px;
        border-radius: 30px 30px 0 0;
    }
}



/*trust section*/



.trust-box {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 25px;
    padding: 60px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.15);
    overflow: hidden;
    position: relative;
}

/* LEFT TEXT */
.trust-text {
    color: #fff;
}

.trust-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.trust-desc {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    opacity: 0.95;
}

/* BULLET LIST */
.trust-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trust-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 15px;
}

.trust-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 14px;
    color: #ffd369;
}

/* IMAGE CONTAINER */
.trust-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

/* IMAGE */
.trust-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

/* Smooth subtle animation (no aggressive hover zoom) */
.trust-image:hover .trust-img {
    transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 991px) {

    .trust-box {
        padding: 40px 25px;
        text-align: center;
    }

    .trust-title {
        font-size: 26px;
    }

    .trust-list li {
        text-align: left;
        display: inline-block;
    }

    .trust-image {
        margin-top: 40px;
    }
}

@media (max-width: 576px) {

    .trust-section {
        padding: 60px 0;
    }

    .trust-box {
        padding: 30px 20px;
    }
}