/* ========================================
   BBA.css
   Styles for BBA page
   Loaded AFTER Index.css, so only page-specific
   styles live here.
   ======================================== */


/* ----------------------------------------
   PAGE HEADER (Banner at the top)
   ---------------------------------------- */
.page-header {
    background: linear-gradient(rgba(139, 26, 50, 0.9), rgba(0, 121, 107, 0.8)),
        url('/Images/BBA.png') no-repeat center center / cover;
    color: #fff;
    padding: 6rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.5rem;
    font-weight: 300;
}


/* ----------------------------------------
   COMMON SECTION STYLES
   (Padding shared across all sections)
   ---------------------------------------- */
.section {
    padding: 4rem 0;
}

/* Centered heading with an underline accent */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--secondary-maroon);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

/* Gold underline below each section title */
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
}


/* ----------------------------------------
   ABOUT COURSE SECTION
   ---------------------------------------- */
.about-course {
    background-color: #b2dfdb;
    /* Light teal themed background */
}

.about-course .content-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.about-course p {
    margin-bottom: 20px;
}


/* ----------------------------------------
   VISION & MISSION SECTION
   ---------------------------------------- */
.vision-mission {
    background-color: #fff;
}

/* Side-by-side grid for Vision and Mission cards */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vm-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
    border-top: 5px solid #00796b;
    border: 1px solid #eee;
}

.vm-card:hover {
    transform: translateY(-5px);
}

.vm-card .icon-box {
    font-size: 3rem;
    color: #00796b;
    margin-bottom: 20px;
}

.vm-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-maroon);
}

/* Text inside the cards is left-aligned for readability */
.vm-card p,
.vm-card ul {
    text-align: left;
    color: #555;
    line-height: 1.6;
}

.vm-card ul {
    list-style-type: none;
    padding-left: 0;
}

.vm-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

/* Gold bullet point before each Mission list item */
.vm-card ul li::before {
    content: '•';
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}


/* ----------------------------------------
   COURSES OFFERED SECTION
   ---------------------------------------- */
.courses-offered {
    background-color: #b2dfdb;
    /* Same themed teal background */
}

.course-list-wrapper {
    margin-bottom: 30px;
    text-align: center;
}

/* Horizontal pill-style course buttons */
.course-list.h-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
}

.course-list li {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    background: #00796b;
    padding: 12px 25px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
}

.course-list li:hover {
    background: var(--secondary-maroon);
}

.course-list li i {
    margin-right: 10px;
    color: #fff;
}

/* Course description panels — slide slightly on hover */
.course-dl .dl-group {
    background: #fff;
    border-left: 5px solid #00796b;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, border-left-color 0.3s ease, background-color 0.3s ease;
}

.course-dl .dl-group:hover {
    background-color: #fafafa;
    border-left-color: var(--accent-gold);
    transform: translateX(5px);
}

.course-dl dt {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-maroon);
    margin-bottom: 10px;
}

.course-dl dd {
    font-size: 1rem;
    color: #666;
    margin-left: 0;
    line-height: 1.6;
}


/* ----------------------------------------
   INSTITUTIONAL MINORS SECTION
   ---------------------------------------- */
.minors-offered {
    background-color: #fff;
}

.minors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.minor-card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    border-top: 4px solid var(--accent-gold);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-top-color 0.3s ease;
}

.minor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-top-color: var(--secondary-maroon);
}

.minor-card h3 {
    color: #00796b;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.minor-card p {
    font-size: 0.95rem;
    color: #666;
}


/* ----------------------------------------
   SYLLABUS DOWNLOAD SECTION
   (Compact banner-style strip)
   ---------------------------------------- */
.syllabus-download {
    padding: 1.5rem 0;
    background: var(--secondary-maroon);
    color: #fff;
}

.syllabus-download .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.syllabus-download h2 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0;
}

.syllabus-download p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

.syllabus-download .download-content {
    text-align: left;
}

.syllabus-download .download-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--accent-gold);
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
    margin: 0;
}

.syllabus-download .download-btn:hover {
    background-color: #d68916;
    transform: translateY(-2px);
}


/* ----------------------------------------
   OBJECTIVES SECTION
   ---------------------------------------- */
.objectives {
    background-color: #b2dfdb;
    /* Themed teal background */
}

/* Card-style list with a left border accent */
.objectives-list {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    list-style: none;
    border-left: 5px solid #00796b;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.objectives-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    line-height: 1.6;
}

/* Arrow icon before each objective */
.objectives-list li::before {
    content: '\f101';
    /* FontAwesome angle-double-right */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    top: 2px;
}


/* ----------------------------------------
   WAVE DIVIDER — between Vision/Mission (white) and Courses (light teal)
   ---------------------------------------- */
.vm-courses-wave {
    background-color: #b2dfdb;
    /* Matches courses section below */
    overflow: hidden;
    line-height: 0;
    margin-bottom: -2px;
}

.vm-courses-wave svg {
    display: block;
    width: 100%;
    height: 70px;
}

.vm-courses-wave .wave-fill {
    fill: #fff;
    /* Matches vision/mission white background above */
}


/* ----------------------------------------
   WAVE DIVIDER — between Objectives (light teal) and Faculty (dark teal)
   ---------------------------------------- */
.objectives-faculty-wave {
    background-color: var(--primary-teal-dark);
    /* Same as faculty bg — wave cuts into it */
    overflow: hidden;
    line-height: 0;
    margin-bottom: -2px;
    /* Eliminates any gap between wave and faculty section */
}

.objectives-faculty-wave svg {
    display: block;
    width: 100%;
    height: 70px;
}

.objectives-faculty-wave .wave-fill {
    fill: #b2dfdb;
    /* Matches objectives section background */
}


/* ----------------------------------------
   FACULTY SECTION
   ---------------------------------------- */

/* Deep concentrated teal — stands apart from the maroon footer */
.faculties {
    background-color: var(--primary-teal-dark);
}

/* Override the section-title color for dark background */
.faculties .section-title h2 {
    color: #fff;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.faculty-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 26, 50, 0.3);
    /* Maroon-tinted shadow on hover */
}

.faculty-img {
    height: 300px;
    overflow: hidden;
    position: relative;
    background-color: #fff;
}

.faculty-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s;
}

/* Subtle zoom on the photo when hovering the card */
.faculty-card:hover .faculty-img img {
    transform: scale(1.05);
}

.faculty-info {
    padding: 20px;
    position: relative;
}

.faculty-info h3 {
    font-size: 0.95rem;
    color: var(--secondary-maroon);
    margin-bottom: 4px;
}

.faculty-info .designation {
    display: block;
    font-size: 0.75rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.faculty-info .qualification {
    font-size: 0.78rem;
    color: #777;
    font-style: italic;
    margin-bottom: 8px;
}

/* "View Profile" link inside each faculty card */
.faculty-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #00796b;
    text-decoration: none;
    padding: 4px 10px;
    border: 1.5px solid #00796b;
    border-radius: 20px;
    transition: background 0.3s, color 0.3s;
    margin-top: 4px;
}

.faculty-profile-link:hover {
    background: #00796b;
    color: #fff;
}


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

    .page-header h1 {
        font-size: 2rem;
    }

    /* Stack Vision & Mission cards vertically on small screens */
    .vm-grid {
        grid-template-columns: 1fr;
    }

    /* Stack course pills vertically */
    .course-list.h-list {
        flex-direction: column;
        align-items: center;
    }

    .course-list li {
        width: 100%;
        max-width: 300px;
    }

    /* Single column for minors */
    .minors-grid {
        grid-template-columns: 1fr;
    }

    /* Maintain 2 columns on mobile but optimize spacing */
    .faculty-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 10px;
    }

    .faculty-img {
        height: 220px; /* Reduced from 300px for better proportion on mobile */
    }

    .faculty-info {
        padding: 15px 10px;
    }

    .faculty-info h3 {
        font-size: 0.85rem;
    }

    .faculty-info .designation {
        font-size: 0.65rem;
        margin-bottom: 4px;
    }

    .faculty-info .qualification {
        font-size: 0.7rem;
        margin-bottom: 6px;
    }

    .faculty-profile-link {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    .syllabus-download .container {
        flex-direction: column;
        text-align: center;
    }

    .syllabus-download .download-content {
        text-align: center;
    }
}


/* ----------------------------------------
   FOOTER TWEAKS
   (Wave SVG matches the dark faculty section above)
   ---------------------------------------- */
.custom-shape-divider-top .shape-fill {
    fill: var(--primary-teal-dark) !important;
    /* Matches the faculty section dark teal background */
}

.footer-grid {
    gap: 50px !important;
    /* Extra gap prevents map from overlapping content */
}

@media (max-width: 900px) {
    .footer-grid {
        gap: 30px !important;
    }
}