/* Main theme color definitions */
:root {
    --bossanova: #123f7a;
    --gold-sand: #d1008c;
    --snuff: #f4f8fd;
    --sandrift: #5f86bb;
    --opium: #b85aa6;
    --mamba: #89a8cc;
    --rum: #2d5f9d;
}

/* Basic styles and reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(180deg, #f7faff 0%, var(--snuff) 100%);
    color: var(--bossanova);
    padding-top: 98px;
}

/* Header and navigation */
header {
    background-color: rgba(255, 255, 255, 0.96);
    padding: 0.75rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    height: 74px;
    width: auto;
    display: block;
    padding: 0;
    border: none;
    background: none;
    border-radius: 0;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--bossanova);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.02rem;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

nav a:hover, nav a.active {
    color: var(--gold-sand);
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gold-sand);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--bossanova);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero image carousel section */
.hero-carousel {
    position: relative;
    overflow: hidden;
    height: 600px;
}

.carousel-container {
    position: relative;
    height: 100%;
    touch-action: pan-y;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.carousel-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: white;
    max-width: 700px;
    margin: 0 auto 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 3;
    transition: background 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.5);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active, .dot:hover {
    background: var(--gold-sand);
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.primary-btn {
    background-color: var(--gold-sand);
    color: var(--bossanova);
}

.secondary-btn {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--bossanova);
}

.outline-btn {
    background-color: transparent;
    color: var(--bossanova);
    border: 2px solid var(--bossanova);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn i {
    margin-right: 0.5rem;
}

/* Welcome section */
.welcome {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(18, 63, 122, 0.05), rgba(18, 63, 122, 0.02));
}

.welcome-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.welcome-content h2 {
    font-size: 2.5rem;
    color: var(--bossanova);
    margin-bottom: 1rem;
}

.divider {
    width: 80px;
    height: 4px;
    background-color: var(--gold-sand);
    margin: 1rem auto 2rem;
}

.mission-statement {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #333;
}

.welcome-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Featured programmes section */
.featured-programmes {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(95, 134, 187, 0.10), rgba(18, 63, 122, 0.04));
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--bossanova);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #555;
}

.programme-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.programme-card {
    background-color: #ffffff;
    border: 1px solid rgba(18, 63, 122, 0.08);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(18, 63, 122, 0.08);
    padding: 1.8rem;
    position: relative;
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Use flexbox for better layout control */
    display: flex;
    flex-direction: column;
    min-height: 420px;
}

.programme-card.featured {
    border: 2px solid var(--gold-sand);
}

.programme-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--rum);
    color: white;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border-bottom-left-radius: 8px;
}

.programme-badge.featured {
    background-color: var(--gold-sand);
}

.programme-card h3 {
    margin: 0.5rem 0 1rem 0;
    color: var(--bossanova);
    font-size: 1.4rem;
    font-weight: 600;
}

.programme-credits {
    color: var(--opium);
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.programme-card .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 120px; /* Make space for the programme details and button */
}

/* Allow the description to have natural height */
.programme-desc {
    color: #555;
    line-height: 1.6;
    min-height: 60px;
}

.programme-details {
    display: flex;
    justify-content: space-between;
    color: #777;
    font-size: 0.9rem;
    min-height: 1.5rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
    margin-top: 1rem;
    position: absolute;
    bottom: 90px;
    left: 1.8rem;
    right: 1.8rem;
}

.programme-details i {
    margin-right: 0.5rem;
    color: var(--bossanova);
}

/* Learn More button styling */
.programme-card .btn {
    border-radius: 50px;
    font-size: 0.95rem;
    display: inline-block;
    padding: 0.6rem 1.4rem;
    min-width: 140px;
    text-align: center;
}

.programme-card.featured .btn {
    background-color: var(--gold-sand);
    color: var(--bossanova);
    border: none;
}

.view-all-container {
    text-align: center;
    margin-top: 2rem;
}

.view-all-link {
    color: var(--bossanova);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.view-all-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.view-all-link:hover {
    color: var(--gold-sand);
}

.view-all-link:hover i {
    transform: translateX(5px);
}

/* Learning experience section */
.learning-experience {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(18, 63, 122, 0.02), rgba(95, 134, 187, 0.08));
}

.experience-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.experience-text {
    flex: 1;
}

.experience-text h2 {
    font-size: 2.5rem;
    color: var(--bossanova);
    margin-bottom: 1rem;
}

.experience-text > p {
    line-height: 1.7;
    color: #444;
    margin-bottom: 2rem;
}

.experience-features {
    margin: 2.5rem 0;
}

.experience-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    /* Start visible but slightly offset for animation */
    opacity: 0.9;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.experience-feature.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-icon {
    background: linear-gradient(180deg, rgba(18, 63, 122, 0.12), rgba(95, 134, 187, 0.18));
    color: var(--bossanova);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.feature-content h3 {
    color: var(--bossanova);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-content p {
    color: #555;
    line-height: 1.6;
}

.experience-image {
    flex: 1;
}

.experience-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Accreditation section */
.accreditation {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(18, 63, 122, 0.08), rgba(18, 63, 122, 0.03));
}

.accreditation-coming-soon {
    background: linear-gradient(180deg, #ffffff, rgba(244, 248, 253, 0.95));
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
    max-width: 800px;
    margin: 3rem auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 2px dashed var(--bossanova);
}

.coming-soon-icon {
    font-size: 3rem;
    color: var(--gold-sand);
    margin-bottom: 1.5rem;
}

.accreditation-coming-soon h3 {
    font-size: 1.8rem;
    color: var(--bossanova);
    margin-bottom: 1rem;
}

.accreditation-coming-soon p {
    color: #555;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.accreditation-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin: 3rem 0;
}

.accreditation-logo {
    flex: 0 0 auto;
    transition: transform 0.3s ease;
}

.accreditation-logo:hover {
    transform: translateY(-5px);
}

.accreditation-logo img {
    max-width: 100%;
    height: auto;
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

.accreditation-logo:hover img {
    filter: grayscale(0);
}

.accreditation-note {
    text-align: center;
    max-width: 700px;
    margin: 2rem auto 0;
    color: #555;
    font-style: italic;
}

/* About us section */
.about {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(18, 63, 122, 0.03), rgba(95, 134, 187, 0.08));
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
}

.about-text {
    flex: 1;
    line-height: 1.7;
}

.about-text p {
    margin-bottom: 1rem;
    color: #444;
}

.about-text .btn {
    margin-top: 1.5rem;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* News and updates section */
.news-updates {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(95, 134, 187, 0.10), rgba(18, 63, 122, 0.05));
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Programme Card & News Card base styles */
.programme-card, .news-card {
    background-color: #ffffff;
    border: 1px solid rgba(18, 63, 122, 0.08);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(18, 63, 122, 0.08);
    padding: 1.5rem;
    position: relative;
    /* Always fully visible by default */
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* When card becomes visible - only used for animation, not visibility */
.programme-card.visible, .news-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover effects */
.programme-card:hover, .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
    opacity: 1;
}

.news-image {
    position: relative;
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-date {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, var(--bossanova), var(--rum));
    color: white;
    padding: 0.5rem;
    border-radius: 5px;
    text-align: center;
    min-width: 60px;
}

.news-date .day {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
}

.news-date .month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    color: var(--bossanova);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.news-content p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: var(--bossanova);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--gold-sand);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Call to action section */
.cta-section {
    margin-top: 0;
    padding: 5rem 0;
    background: linear-gradient(135deg, #2e5c96 0%, #3a6dad 100%);
    color: white;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(9, 31, 58, 0.12);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--snuff);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background: #121826;
    color: #f5f7fb;
    padding: 4rem 0 0;
    width: 100%;
    margin-bottom: 0;
    border-top: 1px solid rgba(255, 74, 156, 0.20);
    box-shadow: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    color: #ff4a9c;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 48px;
    height: 3px;
    background-color: #ff4a9c;
}

.footer-column p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #d7dcea;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.04);
    color: #ff4a9c;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: rgba(255, 74, 156, 0.12);
    color: #ff78b7;
    border-color: rgba(255, 74, 156, 0.32);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
    color: #e7ebf5;
}

.footer-links a {
    color: #e7ebf5;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ff78b7;
    transform: translateX(3px);
}

.contact-info li {
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 0.8rem;
    color: #ff4a9c;
}


.footer-bottom {
    padding-top: 1.75rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--snuff);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--gold-sand);
}

/* Student portal login modal */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--bossanova);
}

.login-modal h2 {
    color: var(--bossanova);
    margin-bottom: 1.5rem;
    text-align: center;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
}

.login-form input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.login-form input:focus {
    outline: none;
    border-color: var(--bossanova);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.forgot-password {
    color: #777;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--bossanova);
}

.login-footer {
    margin-top: 1.5rem;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

.login-footer a {
    color: var(--bossanova);
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Responsive styles for different screen sizes */
@media (max-width: 992px) {
    .experience-content {
        flex-direction: column;
    }
    
    .carousel-content h1 {
        font-size: 2.8rem;
    }
    
    .carousel-content p {
        font-size: 1.2rem;
    }
    
    .hero-carousel {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .carousel-content {
        width: calc(100% - 2rem);
        max-width: none;
        padding: 0 0.5rem;
    }

    .carousel-btn {
        display: none;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: var(--bossanova);
        flex-direction: column;
        padding: 1rem;
        z-index: 100;
    }

    nav ul.active {
        display: flex;
    }

    .about-content {
        flex-direction: column;
    }
    
    .carousel-content h1 {
        font-size: 2.2rem;
    }
    
    .carousel-content p {
        font-size: 1rem;
    }
    
    .hero-carousel {
        height: 400px;
    }
    
    .carousel-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .welcome-content h2, .experience-text h2, .cta-content h2 {
        font-size: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .carousel-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-carousel {
        height: 350px;
    }
    
    .welcome-cta {
        flex-direction: column;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn.prev {
        left: 10px;
    }
    
    .carousel-btn.next {
        right: 10px;
    }
}

/* Specific button styling for programme cards */
.programme-card .btn.outline-btn {
    border-radius: 50px;
    border: 1px solid var(--bossanova);
    padding: 0.6rem 1.5rem;
    display: inline-block;
    font-size: 0.95rem;
    font-weight: normal;
}

.programme-card .btn.primary-btn {
    border-radius: 50px;
    background-color: var(--gold-sand);
    color: var(--bossanova);
    padding: 0.6rem 1.5rem;
    display: inline-block;
    font-size: 0.95rem;
    font-weight: normal;
    border: none;
}

.programme-card .card-footer {
    margin-top: auto;
    padding-top: 0.5rem;
    position: absolute;
    bottom: 1.8rem;
    left: 1.8rem;
    right: 1.8rem;
    text-align: center;
}

/* --- Improved Accreditation Section Styles --- */
.accreditation-content {
    max-width: 900px;
    margin: 2rem auto 0 auto;
    padding: 2rem 1.5rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(84, 52, 107, 0.07);
}

.accreditation-info {
    text-align: center;
}

.accreditation-features {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.accreditation-features .feature {
    background: var(--snuff);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(84, 52, 107, 0.06);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    flex: 1 1 220px;
    max-width: 270px;
    min-width: 200px;
    text-align: center;
    margin-bottom: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.accreditation-features .feature:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 24px rgba(84, 52, 107, 0.13);
}

.accreditation-features .feature i {
    font-size: 2.5rem;
    color: var(--bossanova);
    margin-bottom: 1rem;
    display: block;
}

.accreditation-features .feature h3 {
    font-size: 1.25rem;
    color: var(--bossanova);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.accreditation-features .feature p {
    color: #5a4a6a;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .accreditation-features {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .accreditation-features .feature {
        max-width: 100%;
    }
} 

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.10), transparent 35%), radial-gradient(circle at bottom left, rgba(255,255,255,0.07), transparent 30%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}


/* === targeted readability fixes === */
.programme-card .btn,
.programme-card .btn.outline-btn,
.programme-card .btn.primary-btn {
    color: #ffffff !important;
    background: linear-gradient(135deg, #3f72bb 0%, #7c56b2 55%, #ff3f9b 100%) !important;
    border: none !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em;
}

.programme-card .btn:hover {
    filter: brightness(1.02);
}

.cta-section .primary-btn {
    background: rgba(255,255,255,0.14) !important;
    border: 1px solid rgba(255,255,255,0.22) !important;
    color: #ffffff !important;
    backdrop-filter: blur(6px);
}

.cta-section .secondary-btn {
    background: linear-gradient(135deg, #ff3f9b 0%, #ff5fb1 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    box-shadow: 0 18px 35px rgba(140, 20, 88, 0.28) !important;
}

.cta-content h2 {
    font-size: 2.8rem !important;
    font-weight: 800 !important;
}

.cta-content p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
