.text-muted {
    --bs-text-opacity: 1;
    color: #6c757d !important;
}
.text-secondary {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-secondary-rgb), var(--bs-text-opacity)) !important;
}

/* Split Hero Section Styles */
.hero-split-section {
    background-color: #f8fafc; /* Very soft light blue/gray background */
    padding: 120px 0 80px; /* Top padding adjusts for navbar */
    overflow: hidden;
}

/* Badge Styling */
.hero-badge-split {
    display: inline-block;
    background-color: #e0e7ff; /* Soft indigo background */
    color: #3730a3; /* Deep indigo text */
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

/* Heading Styling */
.hero-title-split {
    font-size: 3.5rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    position: relative;
}

/* Red Swoosh for consistency */
.hero-swoosh {
    position: absolute;
    width: 250px;
    height: 15px;
    bottom: -5px;
    left: 0;
    color: #ff4a3a;
    z-index: 0;
}

.hero-title-split span {
    position: relative;
    z-index: 1;
}

/* Subtitle Styling */
.hero-subtitle-split {
    font-size: 1.15rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

/* Premium Primary Button */
.btn-hero-primary {
    background-color: #1e3a8a; /* Premium Deep Blue */
    color: #ffffff;
    padding: 0.9rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.25);
}

.btn-hero-primary:hover {
    background-color: #1e40af;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(30, 58, 138, 0.35);
}

/* Image Wrapper with decorative elements */
.hero-img-container {
    position: relative;
    padding: 2rem;
    z-index: 1;
}

/* Decorative background shape behind the image */
.hero-img-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    background-color: #e0e7ff; /* Matches badge color */
    border-radius: 2rem;
    z-index: -1;
    transform: rotate(3deg);
    transition: transform 0.5s ease;
}

.hero-img-container:hover::before {
    transform: rotate(0deg);
}

/* Main Image */
.hero-main-img {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .hero-title-split {
        font-size: 2.5rem;
    }
    .hero-subtitle-split {
        max-width: 100%;
    }
    .hero-split-section {
        padding: 100px 0 60px;
    }
}

.quick-stats-wrapper {
    background-color: #f0f4f8; /* Light grayish-blue background */
    border-radius: 3rem; /* Rounded pill-like corners */
    padding: 3rem 2rem;
    border: 1px solid #e5e7eb;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.5rem 1rem;
}

.stat-val {
    color: #1e3a8a; /* Deep bold blue */
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-lbl {
    color: #374151; /* Dark gray */
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
}

/* Responsive Dividers */
/* Desktop View: Vertical lines between columns */
@media (min-width: 992px) {
    .stat-divider:not(:last-child) {
        border-right: 2px solid rgba(0, 0, 0, 0.06);
    }
}

/* Tablet View: 2x2 Grid with vertical and horizontal lines */
@media (min-width: 768px) and (max-width: 991px) {
    .stat-divider:nth-child(odd) {
        border-right: 2px solid rgba(0, 0, 0, 0.06);
    }
    .stat-divider:nth-child(1),
    .stat-divider:nth-child(2) {
        border-bottom: 2px solid rgba(0, 0, 0, 0.06);
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* Mobile View: Horizontal lines between items */
@media (max-width: 767px) {
    .stat-divider:not(:last-child) {
        border-bottom: 2px solid rgba(0, 0, 0, 0.06);
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* Custom Styles for Dynamic Why Study Section */
.why-study-section {
    background-color: #ffffff;
    padding: 5rem 0;
}

.heading-swoosh {
    position: absolute;
    width: 100%;
    height: 12px;
    bottom: -8px;
    left: 0;
    color: #ff4a3a;
}

.feature-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 2rem 0;
    transition: all 0.3s ease;
}

/* Automatically removes border for the last item in loop */
.feature-item:last-child {
    border-bottom: none;
}

.feature-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    color: #1e3a8a; /* Deep Premium Blue */
}

/* Hover Effect for smooth luxury look */
.feature-item:hover .feature-icon-box {
    border-color: #1e3a8a;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.15);
}

.feature-icon-box i,
.feature-icon-box svg {
    font-size: 24px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-title {
    color: #111827;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 0;
}

/* Universities Section Styles */
.universities-section {
    background-color: #eff3f8; /* Light blue-gray background */
    padding: 5rem 0;
}

.heading-swoosh-uni {
    position: absolute;
    width: 100%;
    height: 12px;
    bottom: -6px;
    left: 0;
    color: #ff4a3a;
}

.uni-card {
    background-color: #ffffff;
    border-radius: 1.5rem; /* Rounded corners like image */
    padding: 1.5rem;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.uni-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.uni-logo-box {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uni-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.uni-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.3;
}

.uni-divider {
    height: 1px;
    background-color: #e5e7eb;
    margin: 1.25rem 0;
}

.uni-info-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.uni-info-row:last-child {
    margin-bottom: 0;
}

.uni-icon {
    width: 20px;
    height: 20px;
    color: #1e3a8a; /* Deep blue icon color */
    margin-right: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.uni-label {
    font-size: 0.85rem;
    color: #6b7280; /* Muted text */
    margin-bottom: 0.15rem;
    display: block;
}

.uni-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

/* Popular Courses Section Styles */
.courses-section {
    background-color: #ffffff;
    padding: 5rem 0;
}

.heading-swoosh-course {
    position: absolute;
    width: 100%;
    height: 12px;
    bottom: -6px;
    left: 0;
    color: #ff4a3a;
}

.course-card {
    background-color: #ffffff;
    border-radius: 1.5rem; /* Large rounded corners */
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    overflow: hidden; /* Keeps the image inside the rounded corners */
    height: 100%;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.course-img-wrapper {
    height: 220px; /* Fixed height for uniformity */
    width: 100%;
    overflow: hidden;
    position: relative;
}

.course-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease; /* Smooth zoom effect */
}

/* Image zoom effect on card hover */
.course-card:hover .course-img-wrapper img {
    transform: scale(1.08);
}

.course-content {
    padding: 1.5rem;
}

.course-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

/* Cost Of Studying Section Styles */
.cost-section {
    background-color: #eef2f6; /* Premium light grayish-blue background */
    padding: 5rem 0;
}

.cost-heading {
    font-size: 2.5rem;
    color: #111827;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.cost-heading-swoosh {
    position: absolute;
    width: 100%;
    height: 10px;
    bottom: -2px;
    left: 0;
    color: #ff4a3a;
}

.cost-desc {
    color: #374151;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-top: 1.5rem;
}

.cost-category-wrapper {
    margin-bottom: 2rem;
}

.cost-category-badge {
    display: inline-block;
    background-color: transparent;
    border: 1px solid #d1d5db;
    color: #4b5563;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.cost-item-card {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.015);
}

.cost-item-name {
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.cost-item-value {
    font-weight: 700;
    color: #111827;
    margin: 0;
}

/* Dynamic Extra Sections (Scholarships etc.) Styles */
.extra-section {
    background-color: #ffffff;
    padding: 5rem 0;
}

.extra-heading {
    font-size: 2.5rem;
    color: #111827;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.extra-heading-swoosh {
    position: absolute;
    width: 100%;
    height: 10px;
    bottom: -4px;
    left: 0;
    color: #ff4a3a;
    z-index: 0;
}

.extra-heading span {
    position: relative;
    z-index: 1;
}

/* Rich Text Formatting from Database */
.extra-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4b5563;
}

.extra-content p {
    margin-bottom: 1.25rem;
}

.extra-content strong {
    color: #111827;
    font-weight: 700;
}

/* Image Wrapper with Soft Glow Effect */
.extra-img-wrapper {
    position: relative;
    padding: 1rem;
    display: flex;
    justify-content: center;
}

/* Creating the colorful soft glow behind the image */
.extra-img-wrapper::before {
    content: "";
    position: absolute;
    top: 10%;
    left: 10%;
    right: 10%;
    bottom: 10%;
    background: radial-gradient(
        circle,
        rgba(162, 235, 203, 0.3) 0%,
        rgba(255, 208, 219, 0.3) 50%,
        rgba(228, 233, 242, 0.3) 100%
    );
    filter: blur(40px);
    z-index: 0;
    border-radius: 50%;
}

.extra-img-box {
    position: relative;
    z-index: 1;
    border-radius: 1.5rem;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.extra-img-box img {
    width: 100%;
    height: auto;
    display: block;
}

/* Career Prospects Section Styles */
.careers-section {
    background-color: #ffffff;
    padding: 5rem 0;
}

.heading-swoosh-career {
    position: absolute;
    width: 100%;
    height: 12px;
    bottom: -6px;
    left: 0;
    color: #ff4a3a;
}

.career-card {
    background-color: #ffffff;
    border-radius: 1.5rem; /* Matches the rounded corners in design */
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    overflow: hidden; /* Clips the image inside the border radius */
    height: 100%;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

/* Hover Effect for the card */
.career-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.career-img-wrapper {
    height: 220px; /* Fixed height for consistent grid layout */
    width: 100%;
    overflow: hidden;
}

.career-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease; /* Smooth zoom transition */
}

/* Zoom in the image slightly when hovering over the card */
.career-card:hover .career-img-wrapper img {
    transform: scale(1.08);
}

.career-content {
    padding: 1.5rem;
}

.career-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

/* More About Section Styles */
.more-about-section {
    background-color: #ffffff;
    padding: 5rem 0;
}

.heading-swoosh-about {
    position: absolute;
    width: 100%;
    height: 12px;
    bottom: -6px;
    left: 0;
    color: #ff4a3a;
}

/* Vertical Tabs Styling */
.custom-v-pills .nav-link {
    color: #6b7280; /* Gray text for inactive */
    font-weight: 500;
    font-size: 1.05rem;
    padding: 1rem 1.5rem;
    border-radius: 2rem; /* Fully rounded pill */
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    background-color: transparent;
    border: 1px solid transparent;
}

.custom-v-pills .nav-link:hover {
    background-color: #f3f4f6;
    color: #111827;
}

.custom-v-pills .nav-link.active {
    background-color: #1e3a8a; /* Deep premium blue */
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}

.custom-v-pills .nav-link i,
.custom-v-pills .nav-link svg {
    margin-right: 0.75rem;
    width: 20px;
    height: 20px;
}

/* Tab Content Card Styling */
.about-tab-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1.5rem; /* Large rounded corners */
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    height: 100%;
}

.about-card-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.25rem;
}

/* Styling the HTML content coming from DB */
.about-card-content {
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-card-content ul {
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
}

.about-card-content li {
    margin-bottom: 0.5rem;
}

.about-card-content strong {
    color: #111827;
    font-weight: 700;
}

/* Outline Button Styling */
.btn-outline-premium {
    color: #1e3a8a;
    border: 1px solid #1e3a8a;
    background-color: transparent;
    padding: 0.6rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-outline-premium:hover {
    background-color: #1e3a8a;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(30, 58, 138, 0.15);
}

/* FAQs Section Styles */
.faq-section {
    background-color: #ffffff;
    padding: 5rem 0;
}

.faq-heading {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 3.5rem;
    text-align: center;
    letter-spacing: -0.02em;
}

/* Custom Accordion Overrides */
.custom-accordion .accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 1.25rem !important; /* Force fully rounded corners */
    margin-bottom: 1.25rem; /* Space between cards */
    background-color: #ffffff;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.custom-accordion .accordion-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.custom-accordion .accordion-button {
    font-size: 1.1rem;
    font-weight: 500;
    color: #111827;
    background-color: #ffffff;
    padding: 1.5rem;
    box-shadow: none !important; /* Remove blue focus ring */
    border-radius: 1.25rem !important;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: #1e3a8a; /* Deep blue when active */
    background-color: #ffffff;
    box-shadow: none;
}

/* Hide Default Bootstrap Arrow */
.custom-accordion .accordion-button::after {
    display: none;
}

/* Custom Circular Plus Icon */
.faq-custom-icon {
    color: #1e3a8a;
    transition: transform 0.3s ease;
}

/* Rotate Plus to Cross (X) when Accordion is Open */
.custom-accordion .accordion-button:not(.collapsed) .faq-custom-icon {
    transform: rotate(45deg);
}

.custom-accordion .accordion-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: #4b5563;
    line-height: 1.7;
    font-size: 1.05rem;
    border-top: none; /* Smooth flow from question to answer */
}
