@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap");

/* Typography */
.head {
    font-family: "Source Sans 3", sans-serif;
    font-size: 44px;
    font-weight: 700;
    color: #B84110;
    margin-bottom: 2rem;
}

.subhead {
    font-family: "Source Sans 3", sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #034B9F;
    margin-bottom: 1.5rem;
}

.text {
    font-family: "Source Sans 3", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #262626;
    line-height: 1.8;
}

.subtitle {
    font-family: "Source Sans 3", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #034B9F;
    margin-top: 0.5rem;
}

.text-tagline {
    font-family: "Source Sans 3", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #034B9F;
    font-style: italic;
}

/* About IQAC Section */
.about-iqac {
    background: #fff;
    padding: 5rem 0;
}

.about-iqac .head {
    color: #B84110;
}

/* Why IQAC Matters Section */
.why-iqac {
    background: #FFF4EA;
    padding: 5rem 0;
}

.why-iqac .head {
    font-size: 40px;
    margin-bottom: 0.5rem;
}

.why-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.why-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.check-mark {
    font-size: 32px;
    color: #034B9F;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 0.25rem;
}

.why-content {
    flex: 1;
}

.why-text {
    font-family: "Source Sans 3", sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #262626;
    margin: 0;
    line-height: 1.6;
}

/* Vision & Mission Section */
.vision-mission {
    background: #fff;
    padding: 5rem 0;
}

.vision-mission .subhead {
    font-size: 26px;
}

.mission-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mission-list li {
    font-family: "Source Sans 3", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #262626;
    margin-bottom: 1.2rem;
    padding-left: 2rem;
    line-height: 1.8;
    position: relative;
}

.mission-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: #034B9F;
    border-radius: 50%;
}

.mission-list li:last-child {
    margin-bottom: 0;
}

/* Objectives Section */
.objectives {
    background: #f5f5f5;
    padding: 5rem 0;
}

.objectives .head {
    font-size: 40px;
    margin-bottom: 3rem;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.objective-box {
    background: #fff;
    padding: 2rem;
    border-top: 4px solid #034B9F;
    box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.08);
    border-radius: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    min-height: 140px;
}

.objective-box:hover {
    box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.obj-title {
    font-family: "Source Sans 3", sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #034B9F;
    margin: 0;
    line-height: 1.6;
}

/* Functions Section */
.functions {
    background: #fff;
    padding: 5rem 0;
}

.functions .head {
    font-size: 40px;
    margin-bottom: 3rem;
}

.functions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.function-box {
    background: #f9f9f9;
    padding: 2.5rem;
    border-left: 5px solid #034B9F;
    box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.function-box:hover {
    box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.12);
    background: #fff;
}

.function-number {
    font-size: 36px;
    font-weight: 700;
    color: #EDB600;
    margin-bottom: 1rem;
    font-family: "Source Sans 3", sans-serif;
}

.func-title {
    font-family: "Source Sans 3", sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #034B9F;
    margin: 0;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: #034B9F;
    padding: 4rem 0;
}

.cta-section h2 {
    font-family: "Source Sans 3", sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-section p {
    font-family: "Source Sans 3", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    line-height: 1.6;
}

/* Button Styling (Original) */
.btn.btn-blue {
    background-color: #034B9F;
    padding: 9px 24px;
    box-shadow: 2px 0px 4.5px -1px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    font-family: "Source Sans 3", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    position: relative;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn.btn-blue::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -6px;
    width: 40px;
    height: 106%;
    z-index: -1;
    background: #EDB600;
    border-radius: 4px;
}

.btn.btn-blue:hover {
    background-color: #0c3d74;
    text-decoration: none;
}

/* Colors */
.bg-light-gray {
    background: #f5f5f5;
}

.bg-cream {
    background: #FFF4EA;
}

.bg-blue {
    background: #034B9F;
}

/* Responsive Design */
@media (max-width: 992px) {

    .about-iqac,
    .why-iqac,
    .vision-mission,
    .objectives,
    .functions {
        padding: 3rem 0;
    }

    .objectives-grid,
    .functions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {

    .about-iqac,
    .why-iqac,
    .vision-mission,
    .objectives,
    .functions,
    .cta-section {
        padding: 2rem 0;
    }

    .why-list,
    .objectives-grid,
    .functions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .function-number {
        font-size: 32px;
    }
}

@media (max-width: 576px) {}

/* --- ADDED FROM COURSES.CSS (ADAPTED) --- */

/* Buttons */
.btn.btn-red {
    background-color: #B84110;
    padding: 5px 9px;
    box-shadow: 2px 0px 4.5px -1px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    transition: background-color 0.3s ease;
    font-family: "Source Sans 3", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    border: none;
}

.btn.btn-red:hover {
    background-color: rgb(113.62, 40.1375, 9.88);
    color: #ffffff;
}

/* High Card (Highlights) */
.high-card {
    background: #FFF4EA;
    border: 1px solid #B84110;
    border-radius: 4px;
}

/* Out Card (Outcomes) */
.out-card {
    border: none;
    border-radius: 0;
    border-top: 1px solid #fce4ce;
    border-bottom: 1px solid #fce4ce;
    background: #fff;
    transition: all 0.3s ease;
}

.out-card:hover {
    background: #fffcf8;
}

.out-card .num {
    font-family: "Source Sans 3", sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    -webkit-text-stroke: 2px #B84110;
    color: transparent;
}

@media (max-width: 575.98px) {
    .out-card .num {
        font-size: 24px;
        -webkit-text-stroke: 1px #B84110;
    }
}

/* Glance / Main Card */
.glance {
    filter: drop-shadow(0px 4px 30px rgba(0, 0, 0, 0.15));
}

.glance .main {
    border-radius: 0;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

@media (max-width: 575.98px) {
    .glance .main {
        border-radius: 0;
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
    }
}

.glance .main .card-header {
    background-image: url("../img/headbg.webp");
    background-size: cover;
    background-position: center;
    border-radius: 0;
    border-top-left-radius: 6px;
    padding: 17px 0;
    font-family: "Source Sans 3", sans-serif;
    font-size: 24px;
    font-weight: 600;
}

.glance img {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

@media (max-width: 575.98px) {
    .glance img {
        border-radius: 0;
        border-bottom-left-radius: 6px;
        border-bottom-right-radius: 6px;
    }
}

.course-details li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    list-style: none;
    padding: 0;
    font-size: 18px;
    line-height: 1.6;
}

.course-details li::before {
    content: "";
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: url("../img/icons/tick-bg.svg") no-repeat center;
    background-size: contain;
    margin-top: -4px;
    /* Adjust to align with the first line of text */
}

/* Introduction / Tick Style */
.intro-card {
    border: 0;
    background: transparent;
    margin-bottom: 1rem;
}

.intro-card .row {
    align-items: flex-start;
}

.intro-card img {
    width: 36px;
    margin-top: 2px;
}

/* Reducing gap between icon and text in objectives */
.intro-card .col-11 {
    padding-left: 10px !important;
}

.obj-main-img {
    max-height: 350px;
    width: auto;
    object-fit: contain;
}