/* ================================================= */
/* === APS ACADEMY - COMPLETE STYLESHEET === */
/* ================================================= */

/* --- 1. Color Palette & Global Variables --- */
:root {
    --primary-color: #1a3a6b;  /* Dark Blue from logo */
    --accent-color: #f7a01d;   /* Orange/Gold from logo */
    --dark-text: #212529;      /* Standard dark text for readability */
    --light-text: #ffffff;     /* White */
    --light-bg: #f8f9fa;      /* A very light grey for section backgrounds */
}

/* --- 2. Global & Public Styles --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    background-color: #fff;
    color: var(--dark-text);
}
.container {
    max-width: 1380px;
    margin: auto;
    padding: 0 20px;
}
main {
    /* Ensures main content doesn't start right at the top */
    padding-top: 0px;
}
.button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--light-text);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

/* --- 3. Header & Footer --- */
header {
    background: var(--light-text);
    color: var(--dark-text);
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header a {
    color: var(--dark-text);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
}
header a.logo {
    margin-left: 0;
}

footer {
    background: var(--primary-color);
    color: var(--light-text);
    padding: 20px 0;
    
}


/* --- 4. Branded Homepage Styles --- */

/* Hero Section */
.hero-section-branded {
    background-color: var(--primary-color);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.hero-section-branded::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.mcmacademy.in/wp-content/uploads/2023/07/bg-shape.png');
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
}
.hero-text-column {
    z-index: 2;
}
.gateway-banner {
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: inline-block;
    padding: 8px 15px;
    font-size: 0.9rem;
    border-radius: 5px;
}
.highlight {
    background-color: var(--accent-color);
    color: #111;
    padding: 2px 10px;
}
.hero-text-column .lead {
    color: rgba(255, 255, 255, 0.85);
}
.btn-custom-accent {
    background-color: var(--primary-color);
    color: var(--white-text);
    font-weight: bold;
    border: none;
}
.btn-custom-accent:hover {
    background-color: #e0901a;
    color: var(--dark-text);
}

/* Consultation Form */
.consultation-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 2;
    position: relative;
}
.consultation-form .form-control,
.consultation-form .form-select {
    padding: 12px;
    font-size: 0.95rem;
}
.consultation-form .btn {
    font-weight: bold;
    padding: 12px;
}

/* General Section Styles */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0px;
    color: var(--dark-text);
}
.light-section {
    padding: 60px 0;
    background-color: var(--light-bg);
}
.white-section {
    padding: 60px 0;
    background-color: var(--light-text);
}

/* Stats Section */
.stats-section {
    background-color: #fff;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}
.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
}
.stat-item {
    padding: 10px 20px;
}
.stat-item h3 {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0;
}
.stat-item p {
    color: #666;
}

/* Stream & University Grids */
.stream-grid, .university-grid {
    display: grid;
    gap: 20px;
}
.stream-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.university-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.stream-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: var(--dark-text);
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: transform 0.2s, box-shadow 0.2s;
}
.stream-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.stream-icon {
     font-size: 3rem; /* PREVIOUSLY 2.5rem, this is a better size */
    margin-bottom: 15px; /* Added a bit more space */
    color: var(--accent-color);
}
.university-card {
    border: 1px solid #eee;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    color: var(--dark-text);
    border-radius: 8px;
    background: #fff;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.university-card:hover {
    border-color: #ddd;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}


/* --- 5. Admin Panel Styles --- */
.admin-header {
    background: #1a252f;
    color: #fff;
    padding: 1rem;
}
.admin-header h1 {
    margin: 0;
    font-size: 1.5rem;
}
.admin-header nav a {
    color: #fff;
    margin: 0 10px;
}
.admin-main {
    padding: 20px;
    min-height: 80vh;
}
.admin-footer {
    text-align: center;
    padding: 10px;
    background: #f4f4f4;
    border-top: 1px solid #ddd;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}
th {
    background-color: #f2f2f2;
}
form div {
    margin-bottom: 15px;
}
form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="number"],
form input[type="url"],
form textarea,
form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Important for consistent sizing */
}

/* --- 6. Responsive Adjustments --- */
@media (max-width: 991px) {
    .hero-text-column {
        text-align: center;
        margin-bottom: 40px;
    }
}
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 10px;
    }
}

/* =================================== */
/* === MODERN STATS SECTION STYLES === */
/* =================================== */

.stats-section-modern {
    padding: 60px 0;
}

.stat-card {
    background-color: var(--light-text); /* White background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e9ecef; /* A very light border */
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); /* A subtle shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensures all cards are the same height */
}

.stat-card:hover {
    transform: translateY(-8px); /* Lifts the card on hover */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* A more pronounced shadow on hover */
}

.stat-card i {
    font-size: 3rem; /* Large, clear icon */
    color: var(--primary-color); /* Uses your brand's dark blue */
    margin-bottom: 15px;
    display: block; /* Ensures the icon is on its own line */
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin: 0 0 5px 0;
}

.stat-card p {
    font-size: 1rem;
    color: #6c757d; /* A soft grey for the text */
    margin: 0;
}
/* =================================== */
/* === MODERN PROGRAMS SECTION STYLES === */
/* =================================== */

.programs-section .section-header-row {
    margin-bottom: 40px;
}

.programs-section .section-title {
    text-align: left; /* Aligns title to the left */
}

.section-tagline {
    border: 1px solid #ddd;
    display: inline-block;
    padding: 8px 15px;
    font-size: 0.9rem;
    border-radius: 5px;
    margin-bottom: 15px;
    color: var(--dark-text);
}
.section-tagline i {
    color: var(--primary-color);
    margin-right: 5px;
}

.section-description {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.programs-grid {
    display: grid;
    /* Creates 6 columns on large screens */
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.program-card {
    background-color: var(--primary-color); /* Your dark blue */
    color: var(--light-text); /* White text */
    padding: 20px;
    padding-top: 45px; /* Extra padding at top for the icon */
    border-radius: 8px;
    text-decoration: none;
    position: relative; /* Crucial for positioning the icon */
    overflow: hidden; /* Hides any overflow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.program-card-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 35px;
    height: 35px;
    background-color: var(--accent-color); /* Your orange/gold */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-text);
    font-size: 1.2rem;
}

.program-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
}

/* --- Responsive Adjustments for the Programs Grid --- */
@media (max-width: 1200px) {
    .programs-grid {
        /* 4 columns on medium-large screens */
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) {
    .programs-section .section-title {
        text-align: center; /* Center title on smaller screens */
    }
    .section-header-row {
        text-align: center;
    }
    .programs-grid {
        /* 3 columns on tablets */
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .programs-grid {
        /* 2 columns on mobile */
        grid-template-columns: repeat(2, 1fr);
    }
}
/* =================================== */
/* === MODERN ABOUT US SECTION STYLES === */
/* =================================== */

.about-section {
    padding: 80px 0;
}

.about-content-left .section-title {
    font-size: 2.8rem;
    line-height: 1.2;
}

.highlight-blue {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 0 10px;
}

.about-stat-box {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 25px;
    border-radius: 8px;
    height: 100%;
}
.about-stat-box h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}
.about-stat-box p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}
.about-stat-box span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.about-cta-block {
    display: flex;
    align-items: center;
    gap: 20px;
}
.about-cta-block img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}
.about-cta-block h4 {
    font-weight: 600;
    font-size: 1.1rem;
}

/* --- Image Collage Styles --- */
.about-images-right {
    position: relative; /* Essential for positioning the badge */
    min-height: 500px; /* Ensures space for images on all screen sizes */
}

.image-collage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 15px;
    position: relative;
    z-index: 1;
}

.image-collage-grid .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
/* Creating the collage layout */
.img-box-1 { grid-column: 1 / 2; grid-row: 1 / 2; }
.img-box-2 { grid-column: 2 / 3; grid-row: 1 / 2; }
.img-box-3 { grid-column: 1 / 3; grid-row: 2 / 3; }


/* Experience Badge Styles */
.experience-badge {
    position: absolute;
    /* Centering the badge over the collage */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2; /* Sits on top of the images */
    width: 160px;
    height: 160px;
    background-color: var(--accent-color); /* Your brand's orange/gold */
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--dark-text);
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.experience-badge-number {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
}
.experience-badge-text {
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
    .about-content-left {
        text-align: center; /* Center text on smaller screens */
        margin-bottom: 40px;
    }
    .about-content-left .section-title,
    .about-cta-block {
        text-align: left; /* Keep these left-aligned inside the centered block */
    }
}
/* ======================================= */
/* === MODERN WHY CHOOSE US SECTION STYLES === */
/* ======================================= */

.why-choose-us-section .section-subtitle {
    max-width: 650px;
    margin: 0 auto 30px auto; /* Centers the subtitle and adds space */
}

.why-card {
    background-color: var(--light-text); /* White card background */
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e9ecef; /* Light border */
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensures all cards in a row have the same height */
}

.why-card:hover {
    transform: translateY(-10px); /* Lifts the card up on hover */
    box-shadow: 0 12px 35px rgba(0,0,0,0.1); /* More pronounced shadow */
}

.why-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px auto; /* Centers the icon circle */
    border-radius: 50%;
    background-color: var(--primary-color); /* Your dark blue */
    color: var(--light-text); /* White icon */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    transition: background-color 0.3s ease;
}

.why-card:hover .why-card-icon {
    background-color: var(--accent-color); /* Changes to orange/gold on hover */
    color: var(--dark-text);
}

.why-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.why-card-text {
    font-size: 0.95rem;
    color: #6c757d; /* Soft grey text */
    line-height: 1.7;
}
/* =================================== */
/* === ELEGANT FOOTER SECTION STYLES === */
/* =================================== */

/* --- Pre-Footer CTA Section --- */
.pre-footer-cta {
    background-color: #f7a01d; /* A neutral dark color */
    padding: 50px 0;
}
.pre-footer-cta .btn-custom-accent {
    padding: 12px 30px;
    font-size: 1.1rem;
}

/* --- Main Footer Section --- */
.main-footer {
    background-color: var(--primary-color); /* Your dark blue */
    color: rgba(255, 255, 255, 0.7); /* A slightly transparent white for text */
    padding: 60px 0 40px 0;
}

.footer-logo {
    max-height: 100px;
    background: white; /* Adds a white background if logo is transparent */
    padding: 5px;
    border-radius: 5px;
}

.footer-about-text {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-title {
    color: var(--light-text); /* Bright white for titles */
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color); /* Orange/gold underline */
    display: inline-block;
}

/* Styling for all lists in the footer */
.footer-links, .contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li, .contact-info li {
    margin-bottom: 12px;
}
.footer-links a, .contact-info a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-links a:hover, .contact-info a:hover {
    color: var(--light-text); /* Bright white on hover */
    padding-left: 5px; /* Subtle indent on hover */
}

.contact-info li {
    display: flex;
    align-items: flex-start;
}
.contact-info i {
    color: var(--accent-color); /* Orange/gold icons */
    margin-right: 10px;
    margin-top: 5px;
}

/* --- Sub-Footer Section --- */
.sub-footer {
    background-color: #122c54; /* A slightly different shade of blue */
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}
.sub-footer p {
    margin: 0;
}

.social-icons a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.3rem;
    margin-left: 15px;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}
.social-icons a:hover {
    color: var(--accent-color); /* Orange/gold on hover */
    transform: scale(1.1);
}

/* =================================== */
/* === MEGA MENU HEADER STYLES === */
/* =================================== */

/* --- Header Overall Structure --- */
.main-header {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* --- Top Bar --- */
.header-top {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 8px 0;
    font-size: 0.9rem;
}
.social-icons-top a, .search-icon {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 8px;
    transition: color 0.2s;
}
.social-icons-top a:hover, .search-icon:hover {
    color: var(--light-text);
}

/* --- Main Navigation Bar --- */
.header-main {
    background-color: var(--light-text);
    padding: 0px 0;
}
.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--dark-text);
    margin: 25px 10px;
    padding: 15px 15px;
    border-radius: 5px;
    transition: color 0.2s, background-color 0.2s;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--primary-color);
    background-color: var(--light-bg);
}

/* --- CTA Buttons --- */
.header-cta-buttons .btn {
    font-weight: 600;
    border-radius: 5px;
    margin-left: 10px;
}
.btn-cta-suggest {
    background-color: var(--accent-color);
    color: var(--dark-text); padding:12px;
}
.btn-cta-suggest:hover {
    background-color: #e0901a;
    color: var(--dark-text);
}
.btn-cta-compare {
    background-color: var(--primary-color);
    color: var(--light-text);
}
.btn-cta-compare:hover {
    background-color: #122c54;
    color: var(--light-text);
}

/* --- Mega Menu General Styles --- */
.dropdown-mega .dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-radius: 0 0 10px 10px;
    padding: 20px 0;
}
/* This positions the mega menu correctly */
@media (min-width: 992px) {
    .dropdown-mega {
        position: static;
    }
    .dropdown-mega .dropdown-menu {
        width: 100%;
        left: 0;
        right: 0;
        margin-top: 0; /* Ensures there is no gap */
        top: 100%; /* Positions the menu right below the nav bar */
    }
}

/* --- Courses Mega Menu --- */
.mega-menu-tabs .nav-link {
    text-align: left;
    margin-bottom: 5px;
    background-color: var(--light-bg);
    color: var(--dark-text);
    font-weight: 500;
}
.mega-menu-tabs .nav-link.active {
    background-color: var(--primary-color);
    color: var(--light-text);
}
.mega-menu-content h5 {
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 5px;
    display: inline-block;
}
.mega-menu-list {
    list-style: none;
    padding: 0;
}
.mega-menu-list li a {
    text-decoration: none;
    color: #666;
    display: block;
    padding: 5px 0;
    transition: color 0.2s, padding-left 0.2s;
}
.mega-menu-list li a::before {
    content: '»';
    margin-right: 8px;
    color: var(--accent-color);
}
.mega-menu-list li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}
.mega-menu-cta {
    text-align: center;
}
.mega-menu-cta img {
    border-radius: 8px;
    max-width: 100%;
    margin-bottom: 15px;
}

/* --- Universities Mega Menu --- */
.uni-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.uni-grid-item {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: var(--dark-text);
    transition: box-shadow 0.2s, border-color 0.2s;
}
.uni-grid-item:hover {
    border-color: #ddd;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.uni-grid-item img {
    height: 40px;
    margin-bottom: 10px;
}
.uni-grid-item h6 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

/* Responsive adjustments for mega menus */
@media (max-width: 991px) {
    .mega-menu { display: none; } /* Hide mega menus on mobile */
    .header-cta-buttons { margin-top: 15px; }
}

.uni-mega-menu-tabs {
    border-bottom: 2px solid #dee2e6; display: flow;
}

.uni-mega-menu-tabs .nav-link {
    font-weight: 600;
    color: #6c757d; /* Inactive tab color */
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px; /* Aligns with the bottom border */
}

.uni-mega-menu-tabs .nav-link.active {
    color: var(--primary-color); /* Your dark blue for active text */
    background-color: transparent;
    border-color: var(--primary-color); /* Your dark blue for the underline */
}

/* ======================================= */
/* === ACCREDITATIONS SCROLLER STYLES === */
/* ======================================= */

.accreditations-section .swiper {
    padding-top: 20px;
    padding-bottom: 40px; /* Space for navigation buttons */
}

.accreditation-card {
    background-color: var(--light-text);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    text-align: left;
    height: 100%; /* Ensures all cards have the same height */
    display: flex;
    flex-direction: column;
}

.accreditation-logo {
    height: 60px; /* Fixed height for the logo area */
    margin-bottom: 20px;
    text-align: left;
}
.accreditation-logo img {
    max-height: 100%;
    max-width: 150px;
}

.accreditation-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.accreditation-text {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
}

/* --- Branded Swiper Navigation --- */
.accreditations-section .swiper-button-next,
.accreditations-section .swiper-button-prev {
    color: var(--primary-color); /* Your dark blue */
    top: auto; /* Position at the bottom */
    bottom: 0;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.accreditations-section .swiper-button-next:after,
.accreditations-section .swiper-button-prev:after {
    font-size: 1.2rem; /* Icon size */
    font-weight: bold;
}
/* Positioning the buttons */
.accreditations-section .swiper-button-prev {
    left: calc(50% - 45px);
}
.accreditations-section .swiper-button-next {
    right: calc(50% - 45px);
}

.navbar-expand-lg .navbar-nav .dropdown-menu{min-height: 450px;}

/* ======================================= */
/* === VERTICAL TAB MEGA MENU STYLES === */
/* ======================================= */

/* --- Vertical Tab Container --- */
.mega-menu-tabs-vertical .nav-pills {
    border-right: 1px solid #dee2e6;
    height: 100%;
}

/* --- Vertical Tab Buttons --- */
.mega-menu-tabs-vertical .nav-link {
    text-align: left;
    margin-bottom: 0;
    padding: 12px 15px;
    border-radius: 0;
    background-color: #f8f9fa; /* Light grey for inactive tabs */
    color: var(--dark-text);
    font-weight: 500;
    border-bottom: 1px solid #dee2e6;
    border-left: 3px solid transparent;
}

/* --- Vertical Tab Active/Hover State --- */
.mega-menu-tabs-vertical .nav-link.active,
.mega-menu-tabs-vertical .nav-link:hover {
    background-color: var(--light-text); /* White background for active tab */
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color); /* Your brand's dark blue */
}

/* --- Content Panels --- */
.mega-menu-content {
    padding: 0 15px;
}

.mega-menu-content h5 {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-color); /* Your brand's orange/gold */
    display: inline-block;
}
.mega-menu-content h5 i {
    margin-right: 8px;
}

.mega-menu-list {
    list-style: none;
    padding: 0;
}
.mega-menu-list li a {
    text-decoration: none;
    color: #555;
    display: block;
    padding: 6px 0;
    transition: color 0.2s, padding-left 0.2s;
}
.mega-menu-list li a::before {
    content: '»';
    margin-right: 8px;
    color: var(--accent-color);
}
.mega-menu-list li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* --- CTA Column in Mega Menu --- */
.mega-menu-cta {
    background-color: #f8f9fa;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
}
.mega-menu-cta img {
    border-radius: 8px;
    max-width: 100%;
    margin-bottom: 15px;
}

/* --- Styling the dropdown menu itself --- */
.navbar-nav .dropdown-menu {
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;    
    padding: 10px 0;
}

/* --- Styling each link in the dropdown --- */
.navbar-nav .dropdown-item {
    font-weight: 500;
    padding: 10px 20px;
    color: var(--dark-text);
    transition: all 0.2s ease; margin: 0;
} 

/* --- Styling the hover/focus state of the links --- */
.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
    background-color: var(--primary-color); /* Your dark blue */
    color: var(--light-text); /* White text */
    padding-left: 25px; /* Adds a nice indent effect on hover */
}

/* --- Styling the divider lines --- */
.navbar-nav .dropdown-divider {
    margin: 8px 0;
    border-top-color: #eee;
}
/* =================================== */
/* === ELEGANT HERO SECTION STYLES === */
/* =================================== */

.hero-section-elegant {
    padding: 100px 0;
    position: relative;
    background-image: linear-gradient(45deg, rgba(26, 58, 107, 0.95), rgba(18, 44, 84, 0.85)), url('https://images.unsplash.com/photo-1481627834876-b7833e8f5570?auto=format&fit=crop&q=80&w=1528');
    background-size: cover;
    background-position: center;
}

.hero-section-elegant .highlight-accent {
    color: var(--accent-color); /* Your orange/gold */
}

/* --- Trust Signals: Partner Logos --- */
.partner-logos p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.partner-logos .partner-logo {
    height: 60px;
    margin-right: 20px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    background: #fff;
    border-radius: 10px;
    padding: 7px;
}
.partner-logos .partner-logo:hover {
    opacity: 1;
}

/* --- Elegant Consultation Form --- */
.consultation-form-elegant {
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white */
    backdrop-filter: blur(10px); /* The "glassmorphism" effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
    padding: 35px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* --- Input Fields with Icons --- */
.input-group-icon {
    position: relative;
}
.input-group-icon .form-control {
    padding-left: 2.75rem; /* Make space for the icon */
}
.input-group-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d; /* Soft grey for the icon */
    z-index: 3;
}
.consultation-form-elegant .form-control,
.consultation-form-elegant .form-select {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

/* --- Submit Button --- */
.consultation-form-elegant .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.8rem;
    transition: background-color 0.2s;
}
.consultation-form-elegant .btn-primary:hover {
    background-color: #122c54; /* A darker blue for hover */
    border-color: #122c54;
}

/* =============================================== */
/* === ELEGANT & MODERN PROGRAMS SECTION STYLES === */
/* =============================================== */

.programs-section-elegant .section-subtitle {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.programs-section-elegant .highlight-accent {
    color: var(--accent-color);
}

.programs-grid-elegant {
    display: grid;
    /* Creates 6 columns on large screens, adjusting as needed */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.program-card-elegant {
    display: flex;
    align-items: center;
    background: var(--light-text);
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark-text);
    overflow: hidden; /* Important for the two-tone effect */
    border: 1px solid #e9ecef;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.program-card-elegant:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(26, 58, 107, 0.15); /* Shadow in your brand color */
    border-color: transparent;
}

.program-card-icon-wrapper {
    flex-shrink: 0; /* Prevents the icon from shrinking */
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a3a6b ;/* Orange/gold gradient */
    align-self: stretch; /* Makes the icon wrapper fill the full height */
    transition: width 0.3s ease;
}

.program-card-elegant:hover .program-card-icon-wrapper {
    width: 90px; /* Expands the icon area on hover */
}

.program-card-icon-wrapper i {
    color: #fff;
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.program-card-elegant:hover .program-card-icon-wrapper i {
    transform: rotate(45deg); /* Rotates the arrow on hover */
}

.program-card-content {
    padding: 20px;
}

.program-card-content h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .programs-grid-elegant {
        grid-template-columns: 1fr; /* Stacks to a single column on mobile */
    }
}
/* ================================================= */
/* === ELEGANT SINGLE UNIVERSITY PAGE STYLES === */
/* ================================================= */

/* --- Breadcrumb Bar --- */
.breadcrumb-bar {
    padding: 15px 0;
    background-color: var(--light-bg);
    border-bottom: 1px solid #e9ecef;
}
.breadcrumb {
    margin: 0;
}
.breadcrumb-item a {
    text-decoration: none;
    color: var(--primary-color);
}
.breadcrumb-item.active {
    color: #6c757d;
}

/* --- University Hero Section --- */
.uni-hero-section {
    padding: 60px 0;
}
.uni-hero-logo {
    height: 80px;
    width: 80px;
    object-fit: contain;
    margin-right: 20px;
}
.uni-hero-title {
    font-weight: 700;
    color: var(--dark-text);
}

/* --- Info Bar --- */
.info-bar {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 20px 0;
}
.info-bar .row > .col {
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.2);
}
.info-bar .row > .col:last-child {
    border-right: none;
}
.info-bar i {
    color: var(--accent-color);
    margin-right: 8px;
    font-size: 1.2rem;
}

/* --- Content Styling --- */
.content-box {
    background-color: var(--light-text);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.uni-description h2, .uni-description h3 { font-weight: 600; margin-top: 25px; }
.uni-description ul { list-style-type: '✓'; padding-left: 20px; }
.uni-description ul li { padding-left: 10px; margin-bottom: 8px; }

/* --- Course Cards --- */
.course-card {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    height: 100%;
    transition: box-shadow 0.3s ease;
}
.course-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.course-card img {
    width: 150px;
    object-fit: cover;
}
.course-card-body {
    padding: 15px;
    flex-grow: 1;
}
.course-card-body h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.course-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 15px;
}
.course-meta i {
    color: var(--primary-color);
}

/* --- Other Universities Slider --- */
.other-universities-swiper .swiper-button-next,
.other-universities-swiper .swiper-button-prev {
    color: var(--primary-color);
}
.other-universities-swiper .uni-grid-item {
    height: 100%; /* Ensures consistent card height */
}
/* ======================================= */
/* === ADMISSION PROCESS TIMELINE STYLES === */
/* ======================================= */

.admission-process-section {
    padding: 80px 0;
}

.timeline-container {
    position: relative;
    margin-top: 50px;
    padding-top: 80px; /* Space for the icon boxes */
}

/* The horizontal connecting line */
.timeline-line {
    position: absolute;
    top: 130px; /* Vertically centers the line with the number circles */
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: #dee2e6;
    z-index: 1;
}

.timeline-step {
    position: relative; /* Needed for positioning the number */
    text-align: center;
    padding: 0 15px;
}

/* The main icon box */
.timeline-icon-box {
    width: 100px;
    height: 100px;
    background-color: var(--primary-color); /* Your dark blue */
    color: var(--light-text); /* White icon */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 3rem;
    position: absolute;
    top: -80px; /* Positions the box above the timeline line */
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* The numbered circle */
.timeline-number {
    width: 40px;
    height: 40px;
    background-color: var(--accent-color); /* Your orange/gold */
    color: var(--dark-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto;
    position: relative; /* Sits on top of the line */
    z-index: 2;
    border: 3px solid white;
}

.timeline-title {
    margin-top: 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-text);
}

.timeline-text {
    font-size: 0.95rem;
    color: #6c757d;
}

/* Responsive adjustments for the timeline */
@media (max-width: 991px) {
    .timeline-line {
        display: none; /* Hide the horizontal line on smaller screens */
    }
    .timeline-container {
        padding-top: 0;
    }
    .timeline-step {
        margin-top: 100px; /* Space out the steps vertically */
    }
    .timeline-container .row .col:first-child .timeline-step {
        margin-top: 0;
    }
}

.advantage-card {
    display: flex;
    align-items: flex-start; /* Aligns items to the top */
    gap: 20px;
    background-color: var(--light-bg); /* Your light grey background */
    padding: 20px;
    border-radius: 8px;
    height: 100%; /* Ensures all cards in a row have the same height */
    border-left: 3px solid var(--primary-color); /* Your dark blue accent */
}

.advantage-icon {
    flex-shrink: 0;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 3px; /* Aligns the icon nicely with the title */
}

.advantage-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 5px;
}

.advantage-text {
    font-size: 0.95rem;
    color: #6c757d; /* Soft grey text */
    margin-bottom: 0;
    line-height: 1.6;
}

/* --- Course Hero Section --- */
.course-hero-section {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
}

/* --- Key Info Bar --- */
.key-info-bar {
    background-color: var(--light-bg);
    padding: 25px 0;
    border-bottom: 1px solid #e9ecef;
}
.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
}
.info-item strong {
    display: block;
    color: var(--dark-text);
}
.info-item span {
    font-size: 0.9rem;
    color: #6c757d;
}

/* --- University Offering Card --- */
.uni-offering-card {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark-text);
    transition: all 0.3s ease;
}
.uni-offering-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-3px);
    border-color: var(--primary-color);
}
.uni-offering-card img {
    height: 50px;
    width: 50px;
    object-fit: contain;
    margin-right: 15px;
}
.uni-offering-card h5 {
    margin-bottom: 2px;
    font-size: 1.1rem;
    font-weight: 600;
}
.uni-offering-card p {
    margin-bottom: 0;
    font-size: 0.85rem;
    color: #6c757d;
}
.uni-offering-card .bi-chevron-right {
    margin-left: auto;
    font-size: 1.5rem;
    color: #6c757d;
}

/* --- Hero Section --- */
.course-hero-section-final {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
}

/* --- Key Info Bar --- */
.key-info-bar-final {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 25px 0;
}
.info-item-final {
    display: flex;
    align-items: center;
    gap: 15px;
}
.info-item-final i {
    font-size: 2rem;
    color: var(--accent-color);
}
.info-item-final strong {
    display: block;
    color: var(--light-text);
}
.info-item-final span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* --- Main Content Box --- */
.course-content-box-final {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}
.course-content-box-final .section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

/* --- Rendered Content from CKEditor --- */
.content-render p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #495057;
}
.content-render ul {
    list-style-type: '✓';
    padding-left: 20px;
}
.content-render ul li {
    padding-left: 10px;
    margin-bottom: 8px;
}

/* --- University Offering Card --- */
.uni-offering-card-final {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark-text);
    transition: all 0.3s ease;
}
.uni-offering-card-final:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-3px);
    border-color: var(--primary-color);
}
.uni-offering-card-final img {
    height: 50px;
    width: 50px;
    object-fit: contain;
    margin-right: 15px;
}
.uni-offering-card-final h5 {
    margin-bottom: 2px;
    font-size: 1.1rem;
    font-weight: 600;
}
.uni-offering-card-final p {
    margin-bottom: 0;
    font-size: 0.85rem;
    color: #6c757d;
}
.uni-offering-card-final .bi-chevron-right {
    margin-left: auto;
    font-size: 1.5rem;
    color: #6c757d;
}
/* ================================================== */
/* === ELEGANT UNIVERSITY OFFERING CARD STYLES === */
/* ================================================== */

.uni-offering-card-elegant {
    display: flex;
    align-items: center;
    background: var(--light-bg); /* Use the light grey background */
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: var(--dark-text);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.uni-offering-card-elegant:hover {
    box-shadow: 0 10px 30px rgba(26, 58, 107, 0.1); /* Branded shadow */
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.uni-card-logo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background-color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    margin-right: 20px;
    border: 1px solid #e9ecef;
}
.uni-card-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.uni-card-details {
    flex-grow: 1;
}

.uni-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.uni-card-recognitions {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
}
.uni-card-recognitions i {
    color: var(--primary-color);
}

.uni-card-action {
    margin-left: 20px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.uni-card-action span i {
    transition: transform 0.3s ease;
}

.uni-offering-card-elegant:hover .uni-card-action span i {
    transform: translateX(5px);
}
/* ======================================= */
/* === ELEGANT SECTION TITLE STYLES === */
/* ======================================= */

.section-title {
    position: relative; /* Required for the ::after pseudo-element */
    display: inline-block; /* Makes the element only as wide as its content */
    padding-bottom: 10px; /* Space between the text and the underline */
    margin-bottom: 25px; /* More space below the entire heading */
    font-weight: 700; /* Bolder text */
    font-size: 1.9rem; /* A good, strong size */
    color: var(--dark-text);
    border-bottom: none; /* Remove any previous border styles */
}

/* This creates the branded underline */
.section-title::after {
    content: ''; /* Necessary for pseudo-elements */
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px; /* The width of the underline */
    height: 3px; /* The thickness of the underline */
    background-color: var(--accent-color); /* Your brand's orange/gold */
}

/* Adjustment for titles that should be centered */
.section-title.text-center::after {
    left: 50%; /* Center the underline */
    transform: translateX(-50%); /* Ensures it's perfectly centered */
}

/* Adjustment for titles that should be left-aligned (no change needed but good to be explicit) */
.section-title.text-start::after {
    left: 0;
    transform: none;
}

/* ======================================= */
/* === SUGGEST ME UNIVERSITY PAGE STYLES === */
/* ======================================= */

.suggest-form-wrapper {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.form-container {
    padding: 40px;
}

.progress-container {
    margin-top: 25px;
    margin-bottom: 25px;
}
.progress-bar {
    background-color: var(--primary-color);
}
.step-counter {
    text-align: right;
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 5px;
}

.form-step {
    display: none; /* Hide all steps by default */
}
.form-step.active {
    display: block; /* Show only the active step */
}

.form-navigation {
    display: flex;
    justify-content: space-between;
}
#submitBtn {
    display: none; /* Hidden by default */
}

.info-column {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 40px;
}
.info-content i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}
.info-content h3 {
    font-weight: 600;
}
.info-content p {
    color: rgba(255,255,255,0.8);
}

/* Responsive */
@media (max-width: 991px) {
    .info-column {
        display: none; /* Hide the info column on smaller screens for a cleaner look */
    }
}

/* ======================================= */
/* === ADMISSION CHECKLIST PAGE STYLES === */
/* ======================================= */

.checklist-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-text);
}
.checklist-title i {
    color: var(--primary-color);
    margin-right: 10px;
}

.checklist {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    font-size: 1.05rem;
    color: #495057;
    margin-bottom: 15px;
}

.checklist li i {
    font-size: 1.4rem;
    color: var(--accent-color); /* Your orange/gold */
    margin-right: 15px;
    margin-top: 2px;
}

/* ======================================= */
/* === POLICY PAGE STYLES === */
/* ======================================= */

.policy-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #495057;
}

.policy-heading {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-top: 40px;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid #eee;
}

.policy-content ul {
    list-style-type: '✓';
    padding-left: 20px;
}
.policy-content ul li {
    padding-left: 10px;
    margin-bottom: 10px;
}
/* --- New Header Button --- */
.btn-cta-counseling {
    background-color: var(--primary-color);
    color: var(--light-text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-cta-counseling:hover {
    background-color: #122c54;
    color: var(--light-text);
}
.btn-cta-counseling i {
    background-color: rgba(255,255,255,0.1);
    padding: 5px;
    border-radius: 50%;
}

/* ================================================== */
/* === ELEGANT CONTACT PAGE V2 STYLES === */
/* ================================================== */
.contact-form-wrapper {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    height: 100%;
}

.contact-title {
    font-weight: 700;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-title i {
    color: var(--accent-color);
}

.contact-form-wrapper .form-control,
.contact-form-wrapper .form-select {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    background-color: #f8f9fa; /* Light background for inputs */
    border: 1px solid #e9ecef;
}

.contact-form-wrapper .btn-accent {
    background-color: var(--accent-color);
    color: var(--dark-text);
    padding: 0.8rem;
    font-weight: bold;
    font-size: 1.1rem;
}
.contact-form-wrapper .btn-accent:hover {
    background-color: #e0901a;
}

/* --- Contact Info Cards --- */
.contact-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    background-color: #fff3d8; /* Light yellow background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0 auto 15px auto;
}
.contact-card h5 {
    font-weight: 700;
    margin-bottom: 5px;
}
.contact-card p, .contact-card a {
    color: #6c757d;
    text-decoration: none;
    line-height: 1.6;
    margin-bottom: 0;
}
.contact-card a:hover {
    color: var(--primary-color);
}