@charset "utf-8";
/* CSS Document */

/* --- ROOT VARIABLES --- */

:root {
    /* Primary Brand Colors (Union Jack) */
    --uj-blue: #00247D;    /* Royal Navy Blue - Used for headers, icons, and titles */
    --uj-red: #CF142B;     /* Crimson Red - Used for accents, buttons, and hover states */
    --white: #FFFFFF;      /* Pure White - Main background for the clean aesthetic */

    /* Neutral Tones for Professional Layouts */
    --light-bg: #F4F7F6;   /* Soft Gray - Perfect for section backgrounds (like the Courses section) */
    --text-dark: #2C3E50;  /* Slate Dark - Easier on the eyes than pure black for long text */
    --text-muted: #666666; /* Medium Gray - Used for secondary text and descriptions */

    /* Functional Variables */
    --transition: all 0.3s ease; /* Smooth timing for hovers and menu animations */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- TOP BAR --- */
.top-bar {
    background: var(--uj-blue);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    margin-right: 15px;
}

.top-bar .top-socials i {
    transition: var(--transition);
}

.top-bar .top-socials i:hover {
    color: var(--uj-red);
}

/* --- MOBILE MENU BUTTON --- */
.mobile-menu-btn {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    color: var(--uj-blue);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 5px;
}

/* --- RESPONSIVE NAVIGATION LOGIC --- */
@media (max-width: 900px) {
    .mobile-menu-btn {
        display: block; /* Show hamburger on mobile */
    }

    .nav-menu {
        display: none; /* Hide menu links by default on mobile */
        position: absolute;
        top: 100%; /* Sits directly below the header */
        left: 0;
        width: 100%;
        background-color: var(--white);
        border-bottom: 3px solid var(--uj-red);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        padding: 20px 0;
        z-index: 999;
    }

    /* This class is added by JavaScript when the button is clicked */
    .nav-menu.active {
        display: block; 
    }

    .nav-menu ul {
        flex-direction: column; /* Stack links vertically */
        align-items: center;
    }

    .nav-menu ul li {
        width: 100%;
        text-align: center;
    }

    .nav-menu ul li a {
        display: block;
        padding: 15px 0;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-menu ul li:last-child a {
        border-bottom: none;
    }
}

/* --- HEADER --- */
.main-header {
    background: var(--white);
    border-bottom: 3px solid var(--uj-blue);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 50px;
    margin-right: 15px;
}

.logo-text .brand {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--uj-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-text .tagline {
    font-size: 0.75rem;
    color: var(--uj-red);
    font-weight: 600;
    display: block;
}

/* --- NAVIGATION --- */
.nav-menu ul {
    display: flex;
    list-style: none;
}

.nav-menu ul li a {
    padding: 10px 20px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
}

.nav-menu ul li a:hover {
    color: var(--uj-blue);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--uj-blue);
    cursor: pointer;
}


/* --- HERO GALLERY SLIDER --- */
.hero-container {
    height: 550px;
    position: relative;
    overflow: hidden;
    background: var(--light-bg);
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 1.5s ease;
    z-index: 1;
}

.hero-slide.active { opacity: 1; z-index: 2; }

/* The Text Content Columns */
.slide-content {
    flex: 1;
    padding: 60px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-content h1, .slide-content h2 {
    font-family: 'Georgia', serif;
    color: var(--uj-blue);
    margin-bottom: 20px;
    font-size: 3rem;
    line-height: 1.1;
}

.slide-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 450px;
    margin-bottom: 30px;
}

/* Specific styling for Slide 1 (Lifestyle) */
.lifestyle-text { background-color: var(--white); text-align: left; }
.slide-logo { width: 150px; margin-bottom: 20px; }

/* Specific styling for Slide 2 (IELTS) */
.promo-text { background-color: var(--light-bg); text-align: left; }
.course-tag { color: var(--uj-red); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem; }
.promo-text h2 { color: var(--text-dark); }
.hero-cta {
    background-color: var(--uj-red);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    max-width: 200px;
}
.hero-cta:hover { background-color: var(--uj-blue); }

/* The Image Columns */
.slide-image-side {
    flex: 1;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.celta-stamp {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(255,255,255,0.9);
    color: var(--uj-blue);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    border: 1px solid var(--uj-blue);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 992px) {
    .hero-container { height: auto; }
    .hero-slide { position: static; opacity: 1; display: none; }
    .hero-slide.active { display: flex; flex-direction: column; }
    .slide-content { text-align: center; align-items: center; order: 2; padding: 40px; }
    .slide-image-side { order: 1; width: 100%; height: 300px; }
    .slide-content h1, .slide-content h2 { font-size: 2.2rem; }
}
.hero {
    height: 450px;
    position: relative;
    color: white;
}

.slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

/* --- FEATURES BAR --- */
.features-bar {
    background-color: var(--white);
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.feature-item {
    padding: 20px;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
}

/* Icon Styling - Union Jack Colors */
.icon-circle {
    width: 80px;
    height: 80px;
    background-color: var(--uj-blue); /* Royal Blue */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0, 36, 125, 0.2);
}

/* Middle icon red for variety */
.icon-red {
    background-color: var(--uj-red); /* Crimson Red */
    box-shadow: 0 4px 15px rgba(207, 20, 43, 0.2);
}

.feature-item h3 {
    font-family: 'Georgia', serif;
    color: var(--uj-blue);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.feature-item p {
    font-size: 0.95rem;
    color: #666;
    max-width: 250px;
    margin: 0 auto;
}

/* --- RESPONSIVE FEATURES --- */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr; /* Stacks icons on mobile */
        gap: 40px;
    }
    
    .features-bar {
        padding: 40px 0;
    }
}
/* Style A: The "Oxford Notebook" Separator */
/* A thin red line followed by a blue line, like a classic student notebook */
.separator-notebook {
    height: 8px;
    border-top: 2px solid var(--uj-red);
    border-bottom: 2px solid var(--uj-blue);
    margin: 40px auto;
    width: 90%; /* Doesn't go all the way to the edge for a cleaner look */
    opacity: 0.6;
}

/* --- WHY LEARN ONLINE SECTION --- */
.why-online {
    padding: 60px 0;
    background-color: var(--white);
}

.online-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Image Side with Badge */
.online-image {
    position: relative;
}

.online-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 20px 20px 0px var(--light-bg); /* Stylish offset background */
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background-color: var(--uj-red);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 10px 20px rgba(207, 20, 43, 0.3);
}

/* Text & List Styling */
.online-text h2 {
    font-family: 'Georgia', serif;
    color: var(--uj-blue);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.online-text p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.benefit-list li {
    display: flex;
    align-items: center; /* Keeps icon level with text */
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.4;
}

.benefit-list i {
    color: var(--uj-blue);
    background: rgba(0, 36, 125, 0.08);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 15px;
    flex-shrink: 0; /* Stops the icon from squishing on mobile */
    font-size: 0.9rem;
}

.benefit-list strong {
    color: var(--uj-blue);
    display: block; /* Puts the bold title on its own line if needed */
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    font-size: 1rem;
    color: var(--text-dark);
}

.benefit-list i {
    color: var(--uj-blue);
    background: rgba(0, 36, 125, 0.08);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 15px;
    font-size: 0.9rem;
    flex-shrink: 0; /* Prevents icon from squishing */
}

.benefit-list strong {
    color: var(--uj-blue);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .online-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .online-image {
        order: 2; /* Put image below text on mobile */
        margin-top: 40px;
    }

    .benefit-list li {
        text-align: left;
    }
}

/* --- ABOUT SECTION --- */
.about-section {
    padding: 80px 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 50px;
    align-items: center;
}

/* Responsive Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 4px solid var(--uj-blue);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* About Text Styling */
.about-text .subtitle {
    color: var(--uj-red);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.about-text h2 {
    font-family: 'Georgia', serif;
    font-size: 2.5rem;
    color: var(--uj-blue);
    margin: 10px 0 20px;
}

.about-text .highlight {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.credentials-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.credentials-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.credentials-list i {
    color: var(--uj-red);
    margin-right: 12px;
    font-size: 1.2rem;
}

/* --- RESPONSIVE ABOUT --- */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr; /* Stacks video on top of text for mobile */
        text-align: center;
    }
    
    .credentials-list li {
        justify-content: center;
    }

    .about-text h2 {
        font-size: 2rem;
    }
}

/* --- COURSES SECTION --- */
.courses-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    font-family: 'Georgia', serif;
    font-size: 2.5rem;
    color: var(--uj-blue);
    margin-bottom: 50px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.course-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--uj-red);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.course-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.course-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-content h3 {
    color: var(--uj-blue);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.course-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes the link to the bottom */
}

.course-link {
    text-decoration: none;
    color: var(--uj-red);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.course-link:hover {
    gap: 12px;
    color: var(--uj-blue);
}

/* --- COURSE PRICING STYLES --- */
.course-pricing {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: auto; /* Pushes pricing to bottom of card */
    padding-top: 15px;
    border-top: 1px dashed #ddd;
}

.price-tag {
    color: var(--uj-blue);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.price-tag .from {
    font-size: 0.8rem;
    text-transform: uppercase;
    display: block;
    color: var(--uj-red);
    font-weight: bold;
    margin-bottom: -5px;
}

.price-tag .amount {
    font-size: 2rem;
    font-weight: 800;
}

.price-tag .per {
    font-size: 0.9rem;
    font-weight: 600;
}

.enquire-link {
    background-color: var(--uj-red);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(207, 20, 43, 0.2);
}

.enquire-link:hover {
    background-color: var(--uj-blue);
    transform: translateY(-2px);
}

/* --- MOBILE PRICING --- */
@media (max-width: 768px) {
    .course-pricing {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* --- RESPONSIVE COURSES --- */
@media (max-width: 600px) {
    .section-title {
        font-size: 2rem;
    }
}

/* --- TESTIMONIAL BAR --- */
.testimonial-bar {
    background-color: var(--white);
    padding: 40px 0;
    border-top: 1px solid #eee;
    overflow: hidden;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    height: 170px; /* Narrow height */
}

.quote-icon {
    color: var(--uj-blue);
    font-size: 1.5rem;
    margin-bottom: 10px;
    opacity: 0.3;
}

.testimonial-track {
    position: relative;
    height: 100%;
}

.testi-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    top: 0;
    left: 0;
    animation: slideTestimonials 16s infinite; /* 4 slides x 4 seconds */
}

/* Staggered animation for the 4 slides */
.testi-slide:nth-child(1) { animation-delay: 0s; }
.testi-slide:nth-child(2) { animation-delay: 4s; }
.testi-slide:nth-child(3) { animation-delay: 8s; }
.testi-slide:nth-child(4) { animation-delay: 12s; }

.testi-slide p {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.testi-slide span {
    color: var(--uj-red);
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* Keyframes for a 4-slide loop */
@keyframes slideTestimonials {
    0% { opacity: 0; transform: translateY(10px); }
    5% { opacity: 1; transform: translateY(0); }
    20% { opacity: 1; transform: translateY(0); }
    25% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 0; }
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .testimonial-bar { padding: 30px 20px; }
    .testi-slide p { font-size: 1rem; }
}


/* --- PAGE TITLE BAR --- */
.page-title-bar {
    background-color: var(--uj-blue);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    border-bottom: 6px solid var(--uj-red);
}

.page-title-bar h1 {
    font-family: 'Georgia', serif;
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-title-bar p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* --- COURSE LIST --- */
.course-list-container {
    padding: 60px 0;
}

.course-row {
    display: flex;
    background: var(--white);
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #eee;
}

.course-row:hover {
    transform: translateX(10px);
    border-color: var(--uj-blue);
}

.course-image {
    flex: 0 0 300px; /* Fixed width for image on desktop */
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.course-info h2 {
    color: var(--uj-blue);
    font-family: 'Georgia', serif;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.course-info p {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

.course-btn {
    align-self: flex-start;
    background-color: var(--uj-red);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: var(--transition);
}

.course-btn:hover {
    background-color: var(--uj-blue);
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .page-title-bar h1 {
        font-size: 2.5rem;
    }

    .course-row {
        flex-direction: column;
    }

    .course-image {
        flex: 0 0 200px; /* Smaller image height on mobile */
    }

    .course-info {
        padding: 25px;
        text-align: center;
    }

    .course-btn {
        align-self: center;
    }
    
    .course-row:hover {
        transform: none; /* Disable shift on mobile for better UX */
    }
}


/* --- FOOTER --- */
.site-footer {
    background-color: var(--uj-blue);
    color: var(--white);
    padding: 60px 0 20px;
    border-top: 5px solid var(--uj-red); /* Union Jack Accent */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-div h4 {
    font-family: 'Georgia', serif;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

/* Red underline for headings */
.footer-div h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--uj-red);
}

.footer-div p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.footer-div i {
    margin-right: 10px;
    color: var(--white);
}

/* Lists */
.footer-links, .footer-bullets {
    list-style: none;
    padding: 0;
}

.footer-links li, .footer-bullets li {
    font-size: 0.9rem;
    margin-bottom: 12px;
    opacity: 0.9;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--uj-red);
    padding-left: 5px;
}

.footer-bullets li::before {
    content: "•";
    color: var(--uj-red);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Social Media Col */
.footer-socials {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-socials a:hover {
    transform: translateY(-3px);
    background: var(--uj-red);
}

.celta-footer-logo img {
    max-width: 120px;
    background: white;
    padding: 5px;
    border-radius: 4px;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
    opacity: 0.7;
}

/* --- RESPONSIVE FOOTER --- */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr; /* 1 column for mobile */
        text-align: center;
    }

    .footer-div h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-socials {
        justify-content: center;
    }
}


/* --- ADVICE PAGE STYLES --- */
.advice-list-container {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.advice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Advice Cards Styling */
.advice-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #eee;
}

.advice-card:hover {
    transform: translateY(-5px);
    border-color: var(--uj-blue);
}

.advice-image {
    height: 250px;
    width: 100%;
}

.advice-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Specific styling for the split-logo card */
.logo-split {
    display: flex;
    background-color: #f8f9fa; /* Light background to make logos pop */
    padding: 20px;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.logo-split img {
    height: 80% !important; /* Forces logos to stay defined */
    width: auto !important;
    object-fit: contain !important;
}

/* Info and Links */
.advice-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Ensures text block fills remaining vertical space */
}

.advice-info h2 {
    color: var(--uj-blue);
    font-family: 'Georgia', serif;
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.advice-info p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

.card-link {
    color: var(--uj-red);
    font-weight: bold;
    text-decoration: none;
    transition: var(--transition);
}

.card-link:hover {
    color: var(--uj-blue);
}

.card-link i {
    margin-left: 5px;
    color: #25D366; /* WhatsApp Green */
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 992px) {
    .advice-grid {
        grid-template-columns: 1fr; /* Stacks vertically on mobile */
        max-width: 600px;
        margin: 0 auto;
    }
    
    .advice-image {
        height: 200px; /* Reduced height on mobile */
    }
}

/* --- FAQ ACCORDION --- */
.faq-section {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    font-family: 'Georgia', serif;
    color: var(--uj-blue);
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--uj-blue);
    text-align: left;
    transition: background 0.3s;
}

.accordion-header:hover {
    background-color: #f9f9f9;
}

.accordion-header i {
    font-size: 0.9rem;
    transition: transform 0.3s;
    color: var(--uj-red);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fff;
}

.accordion-body p {
    padding: 0 20px 20px 20px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Active State */
.accordion-item.active .accordion-body {
    max-height: 200px; /* Adjust based on content length */
}

.accordion-item.active .accordion-header i {
    transform: rotate(45deg); /* Turns the + into an x */
}