:root {
    --primary-color: #FF4E0D;
    --secondary-color: #2c3e50;
    --light-bg: #f8f9fa;
    --border-radius: 8px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* --- Navbar --- */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: #fff;
    padding-top: 5px;
    padding-bottom: 5px;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

/* Added specific spacing for nav items */
.navbar-nav .nav-item {
    margin-left: 15px;
    margin-right: 15px;
}

/* --- Hero Section --- */
.hero-section {
    background: url('../images/hero-img.webp');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: left;
    height: 114vh;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.btn-apply {
    background-color: #FF5D21;
    color: white;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 15px #ff4d15;
    margin-top: 30px;
}

.btn-apply:hover {
    background-color: #FF5D21;
    color: white;
    text-decoration: none;
}

/* Utility */
.text-primary-custom {
    color: var(--primary-color);
}

/* --- Why RGU Section --- */
.why-rgu {
    padding: 60px 0;
    background: #fff;
    font-family: Arial, sans-serif;
}

.why-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* LEFT SIDE */
.why-left h2 {
    font-size: 40px;
    color: #1f4fa3;
    margin-bottom: 10px;
}

.underline {
    width: 60px;
    height: 4px;
    background: #f26a21;
    margin-bottom: 25px;
}

.why-left p {
    font-size: 16px;
    line-height: 1.7;
    color: #000;
    margin-bottom: 35px;
}

/* ICON SECTION */
.icon-box {
    display: flex;
    gap: 25px;
    border: 1px solid #ddd;
    padding: 25px;
    border-radius: 8px;
}

.icon-item {
    text-align: center;
    flex: 1;
}

.icon-item img {
    width: 90px;
    margin-bottom: 12px;
}

.icon-item h4 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

/* RIGHT SIDE */
.why-right img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.image-large {
    margin-bottom: 20px;
}

.image-small {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* RESPONSIVE WHY RGU */
@media (max-width: 900px) {
    .why-container {
        grid-template-columns: 1fr;
    }
}

/* --- Programmes Offered Section (Scoped) --- */
.uni-exp-section {
    font-family: 'Montserrat', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
    background-color: #fff;
}

.uni-exp-section * {
    box-sizing: border-box;
}

/* HEADER STYLES */
.uni-exp-header {
    text-align: center;
    margin-bottom: 40px;
}

.uni-exp-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #222;
    margin: 0 0 10px 0;
}

.uni-exp-subtitle {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

/* MAIN LAYOUT WRAPPER */
.uni-exp-container {
    display: flex;
    position: relative;
    min-height: 500px;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f4f4f4;
}

/* Background Image Area */
.uni-exp-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Placeholder image used - replace url with your actual student image */
    background-image: url('../images/21.png');
    background-size: cover;
    background-position: top;
    z-index: 1;
}

/* Overlay */
.uni-exp-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 2;
}

/* LEFT SIDE: TABS */
.uni-exp-tabs-wrapper {
    position: relative;
    z-index: 10;
    width: 280px;
    margin-left: 0;
    margin-bottom: -40px;
    align-self: flex-end;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.15);
}

.uni-exp-tab-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 18px 25px;
    background-color: #1a2b4a;
    color: #fff;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: left;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.uni-exp-tab-btn:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.uni-exp-tab-btn:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom: none;
}

.uni-exp-tab-btn svg {
    margin-right: 15px;
    width: 24px;
    height: 24px;
    fill: #fff;
}

/* Active Tab State */
.uni-exp-tab-btn.uni-exp-active {
    background-color: #fff;
    color: #222;
    border-left: 5px solid #e65100;
    padding-left: 20px;
}

.uni-exp-tab-btn.uni-exp-active svg {
    fill: #222;
}

/* RIGHT SIDE: COURSE LIST */
.uni-exp-list-wrapper {
    position: relative;
    z-index: 10;
    width: 350px;
    height: 420px;
    background: #fff;
    margin-right: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.uni-exp-list-scroll {
    padding: 20px;
    overflow-y: auto;
    height: 100%;
}

/* Custom Scrollbar for Webkit */
.uni-exp-list-scroll::-webkit-scrollbar {
    width: 6px;
}

.uni-exp-list-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.uni-exp-list-scroll::-webkit-scrollbar-thumb {
    background: #e65100;
    border-radius: 3px;
}

.uni-exp-course-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.85rem;
    color: #444;
    line-height: 1.5;
    animation: uniExpFadeIn 0.3s ease-in-out;
}

.uni-exp-course-item:last-child {
    border-bottom: none;
}

.uni-exp-bullet {
    color: #e65100;
    margin-right: 10px;
    font-size: 1.2rem;
    line-height: 1rem;
}

/* CENTER BUTTON */
.uni-exp-download-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    color: #1a2b4a;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
    border: 1px solid #ccc;
}

.uni-exp-download-btn:hover {
    background-color: #fff;
}

/* ANIMATION */
@keyframes uniExpFadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE PROGRAMMES SECTION */
@media (max-width: 900px) {
    .uni-exp-container {
        flex-direction: column;
        height: auto;
        padding-bottom: 40px;
    }

    .uni-exp-bg-image {
        position: relative;
        height: 300px;
        width: 100%;
    }

    .uni-exp-tabs-wrapper {
        width: 100%;
        margin: 0;
        order: 2;
    }

    .uni-exp-tab-btn {
        justify-content: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .uni-exp-list-wrapper {
        width: 95%;
        margin: -50px auto 20px auto;
        height: 300px;
        order: 1;
    }

    .uni-exp-download-btn {
        position: relative;
        left: auto;
        transform: none;
        margin-top: 20px;
        order: 3;
    }
}

/* --- Alumni --- */
.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
}

.quote-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.alumni-info h5 {
    margin-bottom: 0;
    font-weight: 700;
}

.alumni-info p {
    font-size: 0.9rem;
    color: #777;
}

/* --- Card Utilities --- */
.card-img-top {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    display: block;
    background-color: #f0f0f0;
}

.card-img-top-rec {
    width: 100px;
    height: 30px;
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
    background-color: #fff;
}