:root {
    --primary-red: #c41230;
    --primary-blue: #1a2a5e;
    --text-dark: #1a1a1a;
    --text-grey: #666;
    --text-white: #fff;
    --bg-light: #f9f9f9;
    --font-serif: "Cardo", serif;
    --font-sans: "Montserrat", sans-serif;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    background: #fff;
    padding: 30px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.apply-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    border: 1.5px solid var(--primary-blue);
    border-radius: 25px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    background: var(--primary-blue);
    color: #fff;
}

.logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo-container img {
    height: 100px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #666;
    font-size: 18px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-red);
}

nav {
    background: var(--primary-red);
    padding: 0 50px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-icon {
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.contact-btn {
    padding: 8px 20px;
    border: 1px solid #fff;
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #fff;
    color: var(--primary-red);
}

.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.splide__slide {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 60%;
    left: 10%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 30px 40px;
    max-width: 550px;
    color: #fff;
    border-left: 5px solid var(--primary-red);
    z-index: 10;
}

.hero-overlay h1 {
    font-family: var(--font-serif);
    font-size: 32px;
    margin-bottom: 20px;
}

.hero-overlay p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.learn-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-red);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.learn-more-btn:hover {
    transform: scale(1.05);
}

.content-section {
    padding: 80px 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: #fff;
}

.content-left h2 {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
}

.content-left h3 {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.1;
}

.red-line {
    width: 60px;
    height: 4px;
    background: var(--primary-red);
    margin-bottom: 30px;
}

.content-left p {
    font-family: var(--font-serif);
    font-size: 18px;
    margin-bottom: 30px;
    color: #555;
}

.content-left .highlight {
    color: var(--primary-red);
    font-weight: 700;
}

.content-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.course-card {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.course-card img {
    width: 200px;
    height: 130px;
    object-fit: cover;
    border-radius: 4px;
}

.course-card h4 {
    font-family: var(--font-serif);
    font-size: 20px;
    margin-bottom: 10px;
}

.course-card p {
    font-size: 14px;
    color: #666;
}

.course-card .red-text {
    color: var(--primary-red);
}

footer {
    background: var(--primary-blue);
    color: #fff;
    padding: 80px 50px 40px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo img {
    height: 100px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: #fff;
    font-size: 18px;
}

.footer-col h5 {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #fff;
}

@media (max-width: 1024px) {

    .content-section,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .logo-container {
        position: static;
        transform: none;
    }

    header {
        flex-direction: column;
        gap: 20px;
    }

    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 20px;
    }
}

/* Splide Customizations */
.splide__arrow {
    background: transparent !important;
    opacity: 0.7;
    transition: opacity 0.3s;
    width: 3em;
    height: 3em;
}

.splide__arrow:hover {
    opacity: 1;
}

.splide__arrow svg {
    fill: #fff !important;
    width: 2.5em;
    height: 2.5em;
}

.splide__pagination {
    bottom: 20px !important;
}

.splide__pagination__page {
    background: rgba(255, 255, 255, 0.5) !important;
    width: 10px;
    height: 10px;
    margin: 5px;
}

.splide__pagination__page.is-active {
    background: #fff !important;
    transform: none !important;
    opacity: 1 !important;
}