/* UCI-inspired Theme: Navy Blue (#0F5CB8), Light Blue (#4DB8F0), Gold (#FDB515), White/Gray */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Playfair+Display:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

nav {
    background: linear-gradient(90deg, #0F5CB8 0%, #4DB8F0 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #FDB515;
    text-decoration: none;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #FDB515;
}

.login-btn {
    background: #FDB515;
    color: #0F5CB8;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.login-btn:hover {
    background: #e6a700;
    transform: translateY(-2px);
}

.banner {
    height: 60vh;
    background: linear-gradient(rgba(15,92,184,0.8), rgba(77,184,240,0.6)), url('data:image/svg+xml;base64,...'); /* SVG below */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px;
}

.banner-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

.cta {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    background: #FDB515;
    color: #0F5CB8;
    border: none;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(253,181,21,0.4);
}

.cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(253,181,21,0.6);
}

section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.courses h2, .testimonials h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #0F5CB8;
}

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

.course {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s;
    border-top: 5px solid #4DB8F0;
    position: relative;
}

.course:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.course h3 {
    color: #0F5CB8;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.enroll-form {
    margin-top: 1rem;
    display: none;
}

.enroll-form.show {
    display: block;
    animation: fadeIn 0.3s;
}

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

.enroll-btn {
    width: 100%;
    padding: 0.8rem;
    background: #4DB8F0;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.testimonials {
    background: linear-gradient(135deg, #4DB8F0, #0F5CB8);
    color: white;
}

#testimonialCarousel .testimonial {
    font-size: 1.4rem;
    font-style: italic;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.accreditations {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.badge {
    background: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    font-weight: 500;
    color: #0F5CB8;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: #0F5CB8;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4DB8F0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

footer {
    background: #0F5CB8;
    color: white;
    text-align: center;
    padding: 3rem 2rem 2rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .banner-content h1 {
        font-size: 2.5rem;
    }
    section {
        padding: 3rem 1rem;
    }
}
