/* --- Career Outcomes Columns --- */
.career-columns {
    display: flex;
    gap: 32px;
    margin-top: 12px;
    margin-bottom: 12px;
}
.career-columns ul {
    flex: 1;
    list-style: disc inside;
    padding-left: 0;
}
.career-columns li {
    margin-bottom: 8px;
    font-size: 1em;
}
@media (max-width: 900px) {
    .career-columns {
        flex-direction: column;
        gap: 0;
    }
    .career-columns ul {
        margin-bottom: 12px;
    }
}
/* --- Global Styles & Variables (Palette) --- */
:root {
    --primary-color: #092E5D;
    /* Navy Blue */
    --secondary-color: #FFB100;
    /* Gold/Yellow */
    --cta-red: #CC0000;
    /* Deep Red for form button */
    --primary-light: #d8e5f3;
    /* Lighter shade of Primary for BG */
    --secondary-light: #fff3d6;
    /* Lighter shade of Secondary for accents */
    --text-dark: #333;
    --text-light: #f4f4f4;
    --bg-light: #ffffff;
    --bg-section: #f8f9fa;
    --hero-heading: "Anton", sans-serif;
    --font-heading: 'Poppins', serif;
    --font-body: 'Roboto', sans-serif;
    --navbar-height: 70px;
    /* Define a fixed height for the navbar */
}

/* Enable smooth scrolling and account for sticky navbar height */
html {
    scroll-behavior: smooth;
    /* This padding shifts all content down to prevent the sticky navbar from hiding content */
    padding-top: var(--navbar-height);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 0.5em;
}

section {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--primary-color);
}

.cta-button {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background-color: var(--cta-red);
    color: var(--text-light);
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(204, 0, 0, 0.4);
}

.cta-button:hover {
    background-color: #a30000;
    transform: translateY(-3px);
}

/* FIX for section headers being hidden by sticky nav upon anchor link click */
section:target {
    padding-top: calc(60px + var(--navbar-height));
    margin-top: calc(60px - var(--navbar-height));
}

#about-course:target {
    padding-top: 60px;
    /* Standard section padding */
    margin-top: 0;
}

/* --- STICKY NAVBAR STYLES --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    /* background-color: var(--primary-color); */
    background-color: white;
    /* color: var(--text-light); */
    color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

/* .nav-logo {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--secondary-color);
    letter-spacing: 1px;
} */
/* Updated logo container style */
.nav-logo {
    /* Removed old font-size, color, and letter-spacing for text */
    /* Ensure the logo container centers the image vertically */
    display: flex;
    align-items: center;
    height: 100%;
    /* Match navbar height */
}

/* New image style to control logo size */
.navbar-logo-img {
    /* height: 90%; */
    /* max-width: 300px;  */
    width: 150px;
    margin-top: 0px;
    object-fit: contain;
    transition: transform 0.3s;
}

.navbar-logo-img-footer {
    width: 250px;
    /* margin-top: -18%; */
    /* margin-bottom: -16%; */
    transition: transform 0.3s;
}

.navbar-logo-img:hover {
    transform: scale(1.02);
    /* Slight scale on hover for a subtle effect */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05em;
    padding: 10px 0;
    border-bottom: 3px solid transparent;
    transition: color 0.3s, border-bottom 0.3s;
}

.nav-links a:hover {
    color: var(--secondary-color);
    border-bottom: 3px solid var(--secondary-color);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 1.5em;
    cursor: pointer;
}

/* --- 1. HERO SECTION (Updated) --- */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 90vh;
    padding: 80px 70px 80px 70px;
    color: var(--text-light);
    max-width: none;
    background-size: cover;
    /* background-position: center; */
    background-repeat: no-repeat;
    /* background-color: var(--primary-color); */
}

/* --- NEW SPECIFIC BACKGROUND CLASSES --- */
.hero-master {
    background-image: url('../images/lp\ c.webp');
}

.hero-bachelor {
    background-image: url('../images/lp\ bachelor\ of\ computer\ applications\ fca.webp');
}

.hero-content-left {
    flex: 1.5;
    padding-right: 40px;
}

.course-title {
    font-size: 4.5em;
    line-height: 1.05;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    color: var(--text-light);
    font-family: var(--hero-heading) !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

#animated-text {
    color: var(--secondary-color);
    display: inline-block;
    font-size: 0.8em;
    font-weight: 900;
    letter-spacing: 2px;
    font-family: var(--font-heading);
}

.hero-details {
    margin: 20px 0;
    font-size: 1.2em;
    max-width: 500px;
}

.hero-stats span {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    margin-right: 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
    border-left: 3px solid var(--secondary-color);
    font-weight: 300;
}

.hero-stats span b {
    font-weight: 500;
}

.hero-content-right {
    flex: 1;
    min-width: 300px;
}

.enquiry-form-container {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-top: 5px solid var(--secondary-color);
    animation: fadeIn 1s ease-out;
}

.enquiry-form-container h2 {
    color: var(--cta-red);
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.4em;
}

.enquiry-form-container input,
.enquiry-form-container select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.form-disclaimer {
    text-align: center;
    font-size: 0.8em;
    color: #666;
    margin-top: 10px;
}

/* --- 2. ABOUT SECTION --- */
.about-section {
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 80px 5%;
    background-color: var(--primary-light);
    border-radius: 0 0 15px 15px;
}

.about-image-container {
    flex: 1;
    min-height: 400px;
    border-radius: 8px;
    overflow: hidden;
    border: 5px solid #D8E5F3;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    /* Placeholder Image */
    background: #f1f1f1 url('../images/about\ computer.webp') no-repeat center center/cover;
}

.about-text-container {
    flex: 1;
}

.about-text-container h2 {
    font-size: 1.7em;
    border-left: 5px solid var(--secondary-color);
    padding-left: 15px;
}

.about-text-container ul {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.about-text-container li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.about-text-container li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* --- 3. PROGRAMS TABS & ACCORDION --- */
.programs-section {
    text-align: center;
    padding-top: 40px;
    padding-bottom: 0px;
}

.programs-section h2 {
    margin-bottom: 30px;
}

.tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    background-color: var(--primary-light);
    border-radius: 8px;
    padding: 5px;
}

.tab-button {
    background-color: transparent;
    border: none;
    padding: 12px 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    color: var(--primary-color);
    transition: background-color 0.3s, color 0.3s;
    border-radius: 5px;
}

.tab-button.active {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.tab-content {
    display: none;
    text-align: left;
    /* max-width: 800px; */
    margin: 0;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--primary-light);
}

.tab-content.active {
    display: block;
    animation: slideInUp 0.5s ease-out;
}

/* Accordion Styling */
.accordion-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.accordion-header {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-light);
    border: none;
    text-align: left;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    color: var(--primary-color);
    border-left: 5px solid var(--secondary-color);
    /* space for caret */
    position: relative;
    padding-right: 48px;
}

.accordion-header:hover {
    background-color: #c0d1e5;
}

.accordion-body {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: var(--bg-light);
}

/* Caret (chevron) indicator on the right side of accordion headers */
.accordion-header::after {
    content: '\25BC';
    /* down-pointing triangle */
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    font-size: 16px;
    color: var(--primary-color);
    transition: transform 0.25s ease;
}

/* When header is active/open, rotate the caret to point upwards */
.accordion-header.active::after {
    transform: translateY(-50%) rotate(180deg);
}

.accordion-body.open {
    max-height: 300px;
    padding: 15px;
}

/* --- 4. ACHIEVEMENTS SECTION --- */
.achievements-section {
    text-align: center;
    padding-bottom: 80px;
}

.achievement-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 4 cards per row */
    gap: 24px;
    margin-top: 30px;
    align-items: stretch;
}

.achievement-card {
    background-color: var(--bg-section);
    padding: 28px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, background-color 0.3s;
    border-bottom: 5px solid var(--secondary-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.achievement-card:hover {
    transform: translateY(-5px);
    background-color: #e7f1ff;
}

.achievement-card i {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Responsive: 2 columns on tablet, 1 column on mobile */
@media (max-width: 1024px) {
    .achievement-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
    /* .navbar-logo-img-footer {
        margin-top: -8%;
        margin-bottom: -8%;
    } */
}

@media (max-width: 768px) {
    /* .navbar-logo-img-footer {
        margin-top: -15%;
        margin-bottom: -10%;
    } */
    .footer-hashtag h2 {
        font-size: 25px !important;
    }
    .sticky-call-button {
        bottom: 50px !important;
        left: 20px !important;
    }
    .back-to-top-button {
        bottom: 50px !important;
        right: 20px !important;
    }
}

@media (max-width: 600px) {
    .achievement-cards-container {
        grid-template-columns: 1fr;
    }
    /* .navbar-logo-img-footer {
        margin-top: -15%;
        margin-bottom: -15%;
    } */
}

/* --- 5. WHY CHOOSE US SECTION --- */
.why-choose-us-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 5%;
    border-radius: 15px;
}

.why-choose-us-section h2 {
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
}

.choice-points {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.point {
    flex: 1;
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.point h3 {
    color: var(--text-light);
    font-size: 1.2em;
    margin-bottom: 5px;
}

.point i {
    font-size: 2em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* --- 6. HOW TO APPLY SECTION --- */
.apply-process-section {
    text-align: center;
    padding: 80px 5%;
}

.apply-process-section h2 {
    margin-bottom: 50px;
}

.process-steps-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    border: 1px dashed var(--primary-color);
    border-radius: 8px;
    position: relative;
    padding-top: 40px;
    transition: background-color 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.step-card:hover {
    background-color: #f0f8ff;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    border: 4px solid var(--bg-light);
}

.step-card:not(:last-child)::after {
    content: '>';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2em;
    color: var(--primary-color);
    font-weight: 100;
}

.step-card:last-child::after {
    content: none;
}


/* --- 7. FOOTER --- */
footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 40px 5%;
    padding-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    border-bottom: 14px solid var(--secondary-color);
}

.footer-logo,
.footer-contact,
.footer-address {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-logo p {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--secondary-color);
}

.footer-logo .tagline {
    font-size: 1em;
    color: var(--text-light);
    opacity: 0.8;
}

.footer-contact h3,
.footer-address h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.footer-contact p,
.footer-address p {
    margin-bottom: 8px;
}

.footer-contact a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--secondary-color);
}

.footer-contact i,
.footer-address i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.footer-hashtag h2 {
    text-align: center;
    font-weight: 800;
    font-size: 70px;
    line-height: 100%;
    text-shadow: 3px 3px 6px #00000073;
    letter-spacing: 0%;
    text-transform: capitalize;
    color: var(--secondary-color);
    margin-top: 40px;
    margin-bottom: 0;
}


.social-icons a {
    color: var(--text-light);
    font-size: 1.5em;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--secondary-color);
}


/* --- ANIMATIONS (Keyframes) --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- RESPONSIVENESS (Media Queries) --- */
@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        /* padding-top: calc(40px + var(--navbar-height)); */
        /* padding-bottom: 40px; */
        padding: 40px;
        min-height: auto;
    }

    .hero-content-left {
        padding-right: 0;
        text-align: center;
        margin-bottom: 40px;
    }

    .course-title {
        font-size: 3em;
    }

    .hero-stats {
        margin-top: 20px;
    }

    .hero-content-right {
        width: 100%;
        max-width: 450px;
    }

    .about-section {
        flex-direction: column;
    }

    .about-image-container {
        min-height: 300px;
        width: 100%;
        margin-bottom: 30px;
    }

    .achievement-cards-container,
    .choice-points,
    .process-steps-container {
        flex-direction: column;
    }

    .achievement-card,
    .point,
    .step-card {
        margin-bottom: 20px;
    }

    .step-card:not(:last-child)::after {
        content: '\2193';
        /* Down Arrow */
        right: 50%;
        bottom: -35px;
        top: auto;
        transform: translateX(50%);
    }

    .step-card {
        margin-bottom: 40px;
    }

    footer {
        text-align: center;
    }

    .footer-hashtag h2 {
        font-size: 55px;
    }

    .footer-logo,
    .footer-contact,
    .footer-address {
        flex-basis: 100%;
    }

    /* Mobile Navbar */
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--navbar-height);
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 8px 10px rgba(0, 0, 0, 0.2);
        padding: 10px 5%;
        text-align: center;
        transition: max-height 0.4s ease-out;
        max-height: 0;
        overflow: auto;
    }

    .nav-links.open {
        display: flex;
        max-height: 510px;
        padding-bottom: 20px;
    }

    .nav-links li {
        margin: 0;
    }

    .nav-links a {
        display: block;
        padding: 5px 0;
        border-bottom: none;
        font-size: 1.2em;
    }
}

@media (max-width: 600px) {
    .course-title {
        font-size: 2em;
    }

    .hero-stats span {
        display: block;
        margin: 10px 0;
    }

    .tabs-container {
        flex-wrap: wrap;
    }

    .tab-button {
        flex: 1 1 100%;
        padding: 10px 20px;
        margin: 5px 0;
    }
}


/* --- UNIVERSITY BUTTON (Apply Now) STYLES --- */

.university-button {
    /* --- Base Styles --- */
    background-color: crimson !important;
    /* Retaining the requested background color */
    padding: 6px 15px !important;
    color: white !important;
    border-radius: 6px;
    border: 2px solid red !important;
    /* Formal, thin solid border */
    text-decoration: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;

    /* --- Animation Setup & Transition --- */
    /* A clean box-shadow for the pulse effect */
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);

    /* Smooth transitions for a professional feel */
    transition:
        transform 0.3s ease-in-out,
        box-shadow 1.5s infinite;
    /* Initial value, but keyframes will control the infinite pulse */

    /* Apply the infinite pulse animation */
    animation: pulse-shadow 1.7s infinite;
}

/* --- Hover Effect: Scale & Lift --- */
.nav-links .university-button:hover {
    /* Subtle scale-up */
    transform: scale(1.05) !important;
    /* Enhanced shadow on hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
    /* Ensure the text color remains white or the button color changes */
    color: white;
}

/* --- Keyframes for the Elegant Pulse --- */
@keyframes pulse-shadow {
    0% {
        /* Start with a small, soft shadow */
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }

    70% {
        /* Expand and fade the shadow */
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }

    100% {
        /* Return to start */
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}


/* Exit Modal */
#exitPopup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 32px 40px 28px 40px;
    /* backdrop-filter: blur(7px); */
    border: 7px solid var(--secondary-color);
    border-top: none;
    /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25); */
    box-shadow: 4px 8px 20px rgba(0, 0, 0, 0.45);
    border-radius: 18px;
    z-index: 10001;
    min-width: 320px;
    text-align: center;
    font-family: 'Segoe UI', Arial, sans-serif;
    animation: popupFadeIn 0.3s;
}

#exitPopup img {
    width: 120px;
    top:-120px;
    right: 50px;
    position: absolute;
    animation: floatingWiggle 3.5s ease-in-out infinite;
}

#exitPopup .exitpop-left {
    right: auto;
    left: 50px; /* Position 50px from the left edge of the modal */
    
}

@keyframes floatingWiggle {
    0% {
        transform: translateY(0px) rotate(0deg);
        transform: translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(1.5deg);
        transform: translateX(3px) rotate(1deg);
    }
    50% {
        transform: translateY(-15px) rotate(-1deg);
        transform: translateX(-5px) rotate(-1deg);
    }
    75% {
        transform: translateY(-8px) rotate(1deg);
        /* transform: translateX(3px) rotate(1deg); */
    }
    100% {
        transform: translateY(0px) rotate(0deg);
        /* transform: translateX(0px) rotate(0deg); */
    }
}

#exitPopup h2 {
    margin-top: 0;
    font-size: 2rem;
    /* color: #2d3748; */
    color: red;
    text-shadow: 2px 2px 2px #000000ad;
    letter-spacing: 1px;
}

#exitPopup p {
    font-size: 1.15rem;
    color: black;
    margin-bottom: 24px;
}

#exitPopup .close-btn {
    /* background: linear-gradient(180deg, #667eea 0%, #092C59 100%); */
    background: linear-gradient(180deg, #ffffffb4 0%, #d6d6d663 100%);
    color: #7a7a7a;
    border: none;
    border-radius: 8px;
    padding: 10px 28px;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
    transition: background 0.2s, transform 0.2s;
}

#exitPopup .close-btn:hover {
    background: linear-gradient(180deg, #d6d6d663 0%,#ffffffb4 100%);
    /* background: linear-gradient(180deg, #092C59 0%, #667eea 100%); */
    transform: scale(1.05);
}

#exitOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.35);
    z-index: 10000;
    animation: overlayFadeIn 0.3s;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes overlayFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* === Final Refined Sticky Call Button Styles === */

/* Common Styles (Applied to ALL devices) */
.sticky-call-button {
    position: fixed ;
    bottom: 30px ;
    left: 30px ;
    z-index: 1000 ;
    
    display: flex ;
    align-items: center ;
    justify-content: center ; /* Center content initially */
    
    background-color: #FFB100 ; /* Primary Dark Blue */
    color: white ; /* White text for contrast */
    
    /* Initial small circular size */
    width: 40px ; 
    height: 40px ;
    padding: 0 ;
    border-radius: 50% ; /* Perfect circle */
    
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(255, 177, 0, 0.5) ; /* Soft depth shadow + initial pulse shadow */
    text-decoration: none ;
    
    /* Smooth transition for size, color, and pulse */
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) ; 
    
    /* Subtle pulse animation for attention */
    animation: simple-pulse 2s infinite;
}

/* Icon Styling (Always visible) */
.sticky-call-button i {
    font-size: 16px ; 
    margin: 0 ; /* No margin initially */
    color: #092E5D ; /* Gold Icon */
    transition: all 0.4s ;
}

/* Number Text Styling (Initially hidden) */
.sticky-call-button .button-number {
    font-size: 14px ; 
    font-weight: 600 ;
    letter-spacing: 0.5px ;
    margin-bottom: -2px;
    /* Key for hiding: set width and opacity to 0 */
    width: 0 ; 
    opacity: 0 ;
    margin-left: 0 ; 
    white-space: nowrap ;
    overflow: hidden ; /* Ensures smooth width transition */
    transition: all 0.4s ;
}

/* === Hover Effect: Expand & Change Color === */
.sticky-call-button:hover {
    background-color: #FFB100 ; /* Gold background on hover */
    /* Expand to pill shape and lift */
    width: 170px ; /* Adjust this width as needed */
    border-radius: 24px ; /* Pill shape */
    transform: translateY(-4px) scale(1.02) ; /* Subtle lift and scale */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.404) ; /* Stronger shadow */
    animation: none ; /* Stop the pulse when hovered */
}

.sticky-call-button:hover i {
    color: #092E5D ; /* Dark blue icon on hover */
    margin-right: 8px ; /* Add space between icon and text */
}

.sticky-call-button:hover .button-number {
    width: auto ; /* Allow content width */
    opacity: 1 ; /* Make text visible */
    color: #092E5D ; /* Dark blue text on hover */
    margin-left: 0 ;
}

/* === Animation Keyframes === */
@keyframes simple-pulse {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(255, 177, 0, 1) ;
    }
    70% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 0 6px rgba(255, 177, 0, 0) ;
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(255, 177, 0, 0) ;
    }
}



/* === Back to Top Button Styles === */
.back-to-top-button {
    /* Positioning */
    position: fixed !important;
    bottom: 30px ;
    right: 30px ; /* Adjust this if a call button is already here */
    z-index: 999 !important; /* Slightly below the call button for stacking */
    
    /* Appearance */
    background-color: #FFB100 !important; /* Primary Dark Blue */
    color: #092E5D !important;
    width: 40px !important; 
    height: 40px !important;
    border-radius: 50% !important; /* Perfect circle */
    
    /* Centering the icon */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    
    /* Shadow and Icon */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    
    /* Icon styling */
    font-size: 20px !important; 
    transition: background-color 0.3s, transform 0.3s, opacity 0.3s !important;
    
    /* Initial state (will be controlled by JS) */
    opacity: 0 !important;
    pointer-events: none !important; /* Prevents clicking when hidden */
}

/* Icon (Ensure the icon itself is white) */
.back-to-top-button i {
    color: #092E5D !important;
    transition: color 0.3s !important;
}

/* Hover Effect */
.back-to-top-button:hover {
    background-color: #092E5D !important; /* Gold highlight on hover */
    transform: translateY(-2px) !important; /* Subtle lift */
}

.back-to-top-button:hover i {
    color: #FFB100 !important; /* Dark blue icon on gold background */
}

/* State controlled by JavaScript when scrolled down */
.back-to-top-button.show {
    opacity: 1 !important;
    pointer-events: auto !important; /* Re-enable clicking */
}

/* Feedback Modal (styled like reference image with colored header) */
.feedback-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10000;
    animation: overlayFadeIn 0.3s;
}

.feedback-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    min-width: 320px;
    max-width: 420px;
    overflow: hidden;
    text-align: center;
    animation: popupFadeIn 0.3s;
}

.feedback-modal .feedback-header {
    padding: 10px 15px;
    border-radius: 16px 16px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
}

.feedback-modal .feedback-header::before {
    content: '';
    font-size: 3rem;
    line-height: 1;
}

.feedback-modal.success .feedback-header {
    background-color: #029237;
}

.feedback-modal.success .feedback-header::before {
    content: '✓';
    color: #fff;
}

.feedback-modal.error .feedback-header {
    background-color: #FF5252;
}

.feedback-modal.error .feedback-header::before {
    content: '⚠';
    color: #fff;
}

.feedback-modal .feedback-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #fff;
}

.feedback-body {
    padding: 24px 24px 20px 24px;
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.feedback-footer {
    padding: 16px 24px 24px 24px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.feedback-footer .cta-button {
    background-color: #ffffff;
    color: lightgray;
    border: none;
    border-radius: 20px;
    width: fit-content;
    padding: 10px 32px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(73, 73, 73, 0.2);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feedback-footer .cta-button:hover {
    background-color: #FF3838;
    box-shadow: 0 6px 16px rgba(255, 82, 82, 0.3);
    transform: translateY(-2px);
    color: #fff;
}

.feedback-footer .cta-button:active {
    transform: translateY(0);
}

@media (max-width: 420px) {
    .feedback-modal {
        width: calc(100% - 40px);
        max-width: none;
    }
    
    .feedback-modal .feedback-header {
        padding: 24px 20px;
    }
    
    .feedback-body {
        padding: 20px 20px 16px 20px;
        font-size: 0.95rem;
    }
    
    .feedback-footer {
        padding: 12px 20px 20px 20px;
    }
}

/* Flip only the phone icon inside the footer contact block vertically */
.footer-contact .fa-phone-alt,
.footer-contact .fas.fa-phone-alt {
    display: inline-block; /* allow transform */
    transform: scaleX(-1);
}


/* --- Button Loading Spinner On The Form --- */
.cta-button {
    /* Ensure button can contain a positioned element */
    position: relative; 
}

.cta-button.loading {
    /* Use the hover color to show activity */
    background-color: #a30000; 
    cursor: not-allowed;
    /* Hide the "Apply Now" text */
    color: transparent; 
}

/* The spinner itself */
.cta-button.loading::after {
    content: "";
    display: block;
    width: 28px; /* Spinner size */
    height: 28px; /* Spinner size */
    border-radius: 50%;
    
    /* Spinner colors */
    border: 4px solid rgba(255, 255, 255, 0.3); /* Light track */
    border-top-color: #ffffff; /* White spinner */
    
    /* Animation */
    animation: spin 1s linear infinite;
    
    /* Centering the spinner */
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -14px; /* Half of width */
    margin-top: -18px; /* Half of height */
}

/* Spinner animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}




/* --- 8. LOGO CAROUSEL STYLES --- */

/* The main heading for the carousel */
.logo-carousel-container h3 {
    color: var(--text-light); /* White text, stands out on blue */
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.4em;
    font-weight: 500;
}

/* The container that clips the scrolling logos */
.logo-carousel-container {
    width: 100%;
    overflow: hidden;
    padding-top: 40px; /* Space above the carousel */
    position: relative;
   
}

/* Add fading effect on the left and right */
.logo-carousel-container::before,
.logo-carousel-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 75px; /* Width of the fade */
    z-index: 2;
}

.logo-carousel-container::before {
    left: 0;
    background: linear-gradient(to right, var(--primary-color) 0%, transparent 100%);
}

.logo-carousel-container::after {
    right: 0;
    background: linear-gradient(to left, var(--primary-color) 0%, transparent 100%);
}


/* The track that holds and animates the logos */
.logo-carousel-track {
    display: flex;
    /* Calculate width: (Logo Card Width + Margin) * Total Logos
    (150px + 40px) * 12 logos = 2280px 
    */
    width: calc((150px + 40px) * 12);
    animation: scroll 30s linear infinite;
}

/* Pause animation on hover */
.logo-carousel-track:hover {
    animation-play-state: paused;
}

/* The individual logo "card" */
.logo-card {
    width: 150px; /* Fixed width for each card */
    height: 80px; /* Fixed height for alignment */
    margin: 0 20px; /* Space between cards */
    background: white;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex-shrink: 0; /* Prevents cards from shrinking */
}

.logo-card img {
    max-width: 85%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%); /* Professional grayscale look */
    opacity: 0.8;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

/* On hover, make the logo color */
.logo-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* The scrolling animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Moves the track left by the width of ONE set of logos
        (150px + 40px) * 6 logos = 1140px
        This is exactly -50% of the total track width.
        */
        transform: translateX(calc((150px + 40px) * -6));
    }
}

/* Responsive adjustment for small screens */
@media (max-width: 600px) {
    .logo-carousel-container::before,
    .logo-carousel-container::after {
        width: 30px; /* Narrower fade on mobile */
    }

    .logo-card {
        width: 120px; /* Smaller cards on mobile */
        height: 70px;
    }

    /* Recalculate animation for new card size */
    .logo-carousel-track {
        width: calc((120px + 40px) * 12);
    }
    
    @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc((120px + 40px) * -6)); }
    }
}





/* --- 10. CREATIVE TESTIMONIAL FADER --- */

.testimonial-section-creative {
    padding: 60px 5%;
    /* Use the light blue background for contrast */
    background-color: var(--primary-light); 
    text-align: center;
    border-radius: 15px;
}

.testimonial-section-creative h2 {
    margin-bottom: 40px;
    font-size: 1.8em;
}

.testimonial-fader-container {
    max-width: 750px; /* Optimal width for a single card */
    margin: 0 auto;
    position: relative; /* This is crucial for positioning the arrows */
    background: var(--bg-light); /* White card */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 6px solid var(--primary-color);
    padding: 30px 40px;
    /* We'll set a min-height to prevent layout jumps */
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Helps center the card content vertically */
}

.testimonial-card {
    display: none; /* All cards hidden by default */
    position: relative;
    padding-left: 20px;
    text-align: left;
    /* This will be the animation name */
    animation: testimonialFadeIn 0.6s ease-out;
}

.testimonial-card.active {
    display: block; /* Only the active card is shown */
}

/* The giant quote mark */
.big-quote-mark {
    position: absolute;
    top: -30px;
    left: 0;
    font-size: 8em; /* Giant size */
    color: var(--secondary-light); /* Light gold */
    font-family: 'Poppins', serif; /* Use heading font */
    z-index: 1;
    line-height: 1;
    font-weight: 700;
    opacity: 0.8;
}

/* Content wrapper */
.card-content {
    position: relative;
    z-index: 2; /* Sits on top of the quote mark */
    padding-left: 30px; /* Space from the quote mark */
    margin-top: 20px;
    padding-bottom: 20px; /* Add some bottom padding */
}

.card-content .quote {
    font-size: 1.25em;
    font-weight: 500;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Re-using student info styles from previous carousel */
.card-content .student-info {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

.card-content .student-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--primary-light);
}

.card-content .student-details h4 {
    margin: 0 0 3px 0;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.1em;
}

.card-content .student-details span {
    font-size: 0.9em;
    color: #555;
}

/* --- NEW Arrow Navigation Styles --- */
.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(9, 46, 93, 0.8); /* var(--primary-color) with alpha */
    color: white;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.2em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.testimonial-arrow:hover {
    background-color: var(--primary-color); /* Solid on hover */
    transform: translateY(-50%) scale(1.1);
}

.testimonial-arrow.prev {
    left: -22px; /* Position halfway outside the container */
}

.testimonial-arrow.next {
    right: -22px; /* Position halfway outside the container */
}

/* Navigation controls (REMOVED) */
/* .testimonial-fader-nav { ... }
.testimonial-counter { ... }
.testimonial-fader-nav button { ... }
*/

/* Fade-in Animation */
@keyframes testimonialFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .testimonial-fader-container {
        padding: 20px;
        min-height: 420px; /* Allow more space on mobile */
    }

    .big-quote-mark {
        font-size: 6em;
        top: 10px;
    }
    
    .card-content {
        padding-left: 15px;
        padding-bottom: 10px;
    }

    .card-content .quote {
        font-size: 1.1em;
    }

    .card-content .student-info {
        flex-direction: column;
        align-items: flex-start; /* Align photo and text left */
    }

    .card-content .student-info img {
        margin-bottom: 10px;
    }

    /* Adjust arrow positions for mobile */
    .testimonial-arrow {
        width: 36px;
        height: 36px;
        font-size: 1em;
    }
    .testimonial-arrow.prev {
        left: 5px; /* Bring inside on mobile */
    }
    .testimonial-arrow.next {
        right: 5px; /* Bring inside on mobile */
    }
}






/* --- 14. ELEGANT MEDIA GALLERY SECTION (Formal Variation) --- */

.media-gallery-elegant {
    padding: 60px 0;
    background-color: var(--bg-light); /* White/light background for formality */
    text-align: center;
}

.media-gallery-elegant h2 {
    margin-bottom: 30px;
    padding: 0 5%;
    font-size: 2em;
    color: var(--primary-color);
}




/* --- B. Infinite Photo Carousel (Re-using structure) --- */

.elegant-carousel-container {
    overflow: hidden;
    padding: 20px 0; 
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin-bottom: 60px; /* Keep this margin for video spacing */
    /* ADD THIS LINE to set space from the main H2 */
    margin-top: 30px; 
}

.elegant-carousel-track {
    display: flex;
    animation: elegantScroll 50s linear infinite; /* Slower animation for elegance */
    /* This calculation is handled by JS for infinite loop */
}

.carousel-slide-elegant {
    position: relative;
    width: 300px; /* Larger photos */
    height: 200px;
    margin: 0 15px; /* More spacing */
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    opacity: 1;
    transition: transform 0.3s ease-out;
}
.carousel-slide-elegant:hover {
    transform: scale(1.05); /* Subtle zoom on hover */
}

/* Filtered (hidden) state */
.carousel-slide-elegant.hidden {
    display: none; 
    margin: 0;
    width: 0;
    height: 0;
}

/* Elegant Captions - positioned cleanly at the bottom */
.image-caption-elegant {
    position: absolute;
    border-radius: 0 0 8px 8px;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0px 10px;
    background: rgb(0 0 0 / 71%);
    color: white;
    font-size: 0.9em;
    font-weight: 100;
    text-align: left;
    /* border-top: 1px solid #eee; */
}
.image-caption-elegant::before {
    content: "• ";
    color: var(--secondary-color);
    font-size: 1.2em;
}

/* The actual infinite scroll animation (Will be defined by JS later) */
@keyframes elegantScroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50%)); } 
}


/* --- C. Elegant Video Grid (Updated 6-item Layout) --- */

.elegant-video-grid-wrapper {
    padding: 0;
}

.elegant-video-grid {
    display: grid;
    /* DEFAULT: 3 columns for Desktop and Tablet (the user request) */
    grid-template-columns: repeat(3, 1fr); 
    gap: 25px; /* Clean, generous spacing */
    max-width: 1200px;
    margin: 0 auto;
}

.video-item-elegant {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 3px solid white; /* Framed look */
    cursor: pointer;
    background-color: black;
    /* Maintain 16:9 Aspect Ratio */
    padding-bottom: 56.25%; 
    height: 0;
}

/* .video-item-elegant video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
} */

.video-item-elegant video,
.video-item-elegant iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none; /* Also a good idea to add this */
}

/* Elegant Captions - positioned cleanly at the bottom */
.video-caption-elegant {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0px 10px;
    background: rgb(0 0 0 / 71%);
    color: white;
    font-size: 0.9em;
    font-weight: 100;
    text-align: left;
    /* border-top: 1px solid #eee; */
}
.video-caption-elegant::before {
    content: "• ";
    color: var(--secondary-color);
    font-size: 1.2em;
}

/* Responsive Grid Adjustments */

@media (max-width: 900px) {
    /* Tablet View (900px down to 601px): Stays at 3 columns as requested */
    .elegant-video-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px; /* Slightly tighter gap on smaller screens */
    }
}

@media (max-width: 600px) {
    /* Phone View: Switch to 2 columns for better visibility on small screens */
    .elegant-video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}



/* --- 15. RECOGNIZED & APPROVED BY SECTION (Compact) --- */

.approvals-section {
    /* Use the light grey background to visually frame the section */
    background-color: var(--bg-section); 
    padding: 30px 5%; /* Very small top/bottom padding */
    text-align: center;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 0 20px 0px #d3d3d39e;
}

.approvals-section .section-title-small {
    font-size: 1.4em; /* Smaller heading for a compact look */
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.logos-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 30px; /* Spacing between logos */
    flex-wrap: wrap; /* Allow logos to wrap on small screens */
    max-width: 1200px;
    margin: 0 auto;
}

.logo-item {
    /* Fixed width for each logo container to control size */
    width: auto; 
    height: 120px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    opacity: 0.8; /* Subtle transparency for elegance */
    transition: opacity 0.3s;
}

.logo-item:hover {
    opacity: 1;
}

.logo-item img {
    /* Ensure image scales down to fit the container */
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
}

/* Responsive adjustment for mobile */
@media (max-width: 600px) {
    .approvals-section {
        padding: 20px 5%;
    }
    
    .logos-container {
        gap: 20px; /* Tighter spacing on mobile */
    }
    
    .logo-item {
        height: 80px;
    }
}








/* --- HERO SECTION MEDIA QUERIES --- */

/* Tablet View (e.g., max-width: 1024px) */
@media (max-width: 1024px) {
    .hero-section {
        /* *** REPLACE with your tablet-optimized image *** */
        /* background-image: url('../images/diploma-hotel-management-desktop.webp'); */
        
        /* Optional: Adjust padding or min-height for tablet layout */
        /* padding: 60px 5%;  */
        align-items: end;
        
    }
}

/* Add this new class definition somewhere in the main CSS */
.hero-image-mobile-square {
    display: none; /* Hidden by default on desktop view */
}

/* ... existing styles ... */

/* --- HERO SECTION MEDIA QUERIES --- */

/* Mobile View (e.g., max-width: 600px) */
@media (max-width: 600px) {
    .hero-section {
        /* 1. Stack photo/text (left) then form (right) */
        flex-direction: column;
        padding: 40px 5%; /* Adjusted padding for mobile */
        min-height: auto; /* Allow height to adjust to content */
        /* Ensure the mobile background image is still applied if needed */
        background-image: none; 
        background-color: white !important;
    }

    .enquiry-form-container {
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3) !important;
    }

    /* Make both content areas take full width and remove desktop flex logic */
    .hero-content-left,
    .hero-content-right {
        flex: none; 
        width: 100%; 
        padding-right: 0;
    }

    /* Add a gap between the sections (photo/text and the form) */
    .hero-content-left {
        margin-bottom: 30px; 
    }

    /* New: Display and style the square photo container */
    .hero-image-mobile-square {
        display: block; /* Show on mobile */
        width: 100%;
        /* The square shape trick: aspect ratio 1:1 */
        padding-top: 100%; 
        /* Placeholder image - replace the path below with your actual photo */
        /* background: #f1f1f1 url('../images/diploma-hotel-management-mobile.webp') no-repeat center center/cover;  */
        border-radius: 8px;
        margin-bottom: 20px; /* Space between the photo and the hero text/stats */
        /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); */
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    }

    .hero-mobile-master{
        background: #f1f1f1 url('../images/lp\ c\ mobile.webp') no-repeat center center/cover;
    }

    .hero-mobile-bachelor{
        background: #f1f1f1 url('../images/lp\ bachelor\ of\ computer\ applications\ fca\ mobile.webp') no-repeat center center/cover;
    }
    
    /* Ensure the text content is still readable (existing styles are fine, but keeping this block for context) */
    .course-title {
        font-size: 2em; 
    }
    
    .hero-stats span {
        display: block;
        margin: 10px 0;
    }
    
    /* ... rest of the @media (max-width: 600px) styles ... */
}


/* =========================================
--- XL / 2K+ SCREEN RESPONSIVENESS ---
=========================================
*/

/* Breakpoint 1: For large desktops / "XL" screens (e.g., > 1600px) */
@media (min-width: 1601px) {
    
    /* Widen the main content container */
    section {
        max-width: 1500px;
    }

    /* Widen specific containers that have their own max-width */
    .elegant-video-grid {
        max-width: 1500px;
    }

    .logos-container {
        max-width: 1500px;
    }

    /* Widen the testimonial card */
    .testimonial-fader-container {
        max-width: 900px; 
    }
}

/* Breakpoint 2: For extra-large 2K / 4K screens (e.g., > 2200px) */
@media (min-width: 2201px) {
    
    /* Widen the main content container further */
    section {
        max-width: 2000px;
    }

    /* Widen specific containers to match */
    .elegant-video-grid {
        max-width: 2000px;
    }

    .logos-container {
        max-width: 2000px;
    }

    /* Widen the testimonial card further */
    .testimonial-fader-container {
        max-width: 1100px; 
    }

    /* Change the 3-column achievement grid to a 6-column single row */
    .achievement-cards-container {
        grid-template-columns: repeat(6, 1fr);
    }
}






/* --- RIGHT SIDE VERTICAL TAB --- */
.sticky-side-tab {
    /* --- Positioning --- */
    position: fixed;
    right: 0; /* Stick flush to the right edge */
    bottom: 120px; /* Positioned just above the Back-to-Top button */
    z-index: 999;

    /* --- Orientation (Vertical Text) --- */
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg); /* Flips text to read Bottom-to-Top */

    /* --- Styling --- */
    background-color: var(--cta-red);
    color: var(--text-light);
    padding: 18px 8px; /* 18px vertical padding (width), 8px horizontal (height) */
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    
    /* Round only the side facing the content (Left side visually) */
    border-radius: 0 6px 6px 0; 
    box-shadow: -2px 4px 10px rgba(0, 0, 0, 0.2);

    /* --- Animation State (Hidden by default) --- */
    opacity: 0;
    pointer-events: none;
    /* Start slightly pushed into the wall for a slide-out effect */
    margin-right: -40px; 
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* --- Hover Effect --- */
.sticky-side-tab:hover {
    background-color: #a30000;
    color: white;
    /* Increase padding slightly on hover */
    padding-top: 25px; 
    padding-bottom: 25px;
}

/* --- Visible State (Toggled by JS) --- */
.sticky-side-tab.show {
    opacity: 1;
    pointer-events: auto;
    margin-right: 0; /* Slide out from the wall */
}

/* --- Mobile Adjustment --- */
@media (max-width: 768px) {
    .sticky-side-tab {
        /* Adjust positioning for mobile screens */
        bottom: 100px; 
        padding: 15px 6px;
        font-size: 0.9rem;
    }
}