
:root {
    --primary-text-color: #0F2145;
    --secondary-text-color: #435264;
    --secondary-color: #f8f9fa;
    --accent-color: #BC843C;
    --text-light: #6c757d;
    --real-madrid-purple: #3b2764;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Light', sans-serif;
    line-height: 1.6;
    color: var(--primary-text-color);
    background-color: white;
}

p{
    color: var(--secondary-text-color);
    font-weight: 300;
}

.section-title-primary{
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: var(--primary-text-color);
}

.section-title-secondary{
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
}

/* Header */
.navbar {
    background: none;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 80px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

/* Hero Section with Video Background */
.hero-section {
    position: relative;
    height: 100vh;
    width:100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white !important;
}

.btn-enroll {
    background-color: var(--accent-color);
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: white;
    padding: .75rem 2rem;
    border: none;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    gap: 10px;
}

.btn-enroll::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-enroll:hover {
    background-color: #e6ac00;
    transform: translateY(-3px);
    color: var(--primary-color);
}

.btn-enroll:hover::before {
    left: 100%;
}

.btn-enroll:active {
    transform: translateY(-1px);
}

/* World Wide Section */
.worldwide-section {
    padding: 5rem 0;
    background: var(--secondary-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
}

.stat-item {
    text-align:left;
}

.stat-item-border{
    border-right: 1px solid #435264;
}

.stat-number {
    font-size: 3rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--secondary-text-color);
    margin-top: 0.5rem;
    font-family: 'Helvetica', sans-serif;
    font-weight: 400;
    leading-trim: NONE;
    letter-spacing: 0%;
    text-transform: uppercase;
}

.world-map {
    position: relative;
    max-width: 100%;
    margin-left: auto;
    margin: 0;
    padding: 0;
}

.world-map img {
    width: 100%;
    opacity: 0.9;
}

/* Our Students Section */
.students-section {
    padding: 5rem 0;
    background: white;
}

.students-carousel {
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
}

.carousel-container {
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1rem;
}

.student-image {
    flex: 0 0 auto;
    width: 250px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.student-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    pointer-events: none;
    z-index: 5;
}

.carousel-overlay.left {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), transparent);
}

.carousel-overlay.right {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1), transparent);
}

/* Real Madrid Foundation Section */
.foundation-section {
    display: flex;
    min-height: 600px;
}

.foundation-left {
    flex: 1;
    background: url('https://images.unsplash.com/photo-1431324155629-1a6deb1dec8d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.foundation-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.real-madrid-logo {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.real-madrid-logo img {
    width: 250px;
    height: auto;
}

.foundation-right {
    flex: 1;
    padding: 4rem 3rem;
    background: #F9F3EC;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.foundation-title {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.methodology-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

/* Educational Programme Section */
.programme-section {
    padding: 5rem 0;
    background: #F9FAFB;
}

.programme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    justify-items: center;
    gap: 1.6rem;
    margin-top: 3rem;
}

.programme-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.programme-card:hover {
    transform: translateY(-5px);
}

.programme-card h4 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.programme-card p {
    font-family: 'Helvetica Light', sans-serif;
    font-weight: 300;
}

/* Contact Section */
.contact-section {
    background: url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80') center/cover;
    position: relative;
    padding: 5rem 0;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.training-times {
    display: flex;
    justify-content: space-around;
    margin-top: 3rem;
    color: white;
}

.time-item {
    text-align: center;
}

.time-day {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.time-hours {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: #000;
    color: #FFF;
    padding: 2rem 0;
    text-align: center;
}

.footer img {
    margin-bottom: 1rem;
}

.ft_partner_logo{
    height: 90px;
    width: auto;
}

.ft_brand_logo{
    height: 130px;
    width: auto;
}


/* OffCanvas */
.offcanvas{
    border-radius: 16px;
    margin: 1.5rem;
    min-width: 500px;
}

.offCanvasClose{
    cursor: pointer;
    width: 30px;
    height: auto;
}

.offCanvasClose:hover{
    opacity: 0.9;
}

.offCanvasData{
    display: flex;
    justify-content: space-between;
    padding: 1rem;
}

.offCanvasData h3{
    color: #0F172A;
}

.nav-tabs{
    border-bottom: none !important;
}

.nav-tabs .nav-link{
    border: none !important;
    border-top: 4px solid #D2DBE4 !important;
    color: #64748B !important;
    text-align: left;
    padding-left: 0;
    font-size: 14px;
    border-radius: 4px !important;
    width:49%;
}

.nav-tabs .active{
    border: none !important;
    border-top: 4px solid #BC843C !important;
    color: #BC843C !important;
}

.form-label{
    color: #1E293B;
    font-size: 14px;
}

.form-control{
    border: 1px solid #FBFCFD;
    background: #FBFCFD;
    box-shadow: 0px 0px 1px 0px #64748BB2;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    color: #020617;
}

.form-control:focus{
    border-color: #BC843C;
    box-shadow: 0px 0px 1px 0px #64748BB2;
}

.messages{
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .real-madrid-logo img {
        width: 200px;
        height: auto;
    }

    .foundation-section {
        flex-direction: column;
    }

    .foundation-left,
    .foundation-right {
        min-height: 400px;
    }

    .foundation-right {
        padding: 2rem;
    }

    .student-image {
        width: 200px;
        height: 240px;
    }

    .carousel-overlay {
        width: 50px;
    }

    .training-times {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .ft_partner_logo{
        height: 70px;
    }

    .ft_brand_logo{
        height: 100px;
        width: auto;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .student-image {
        width: 180px;
        height: 220px;
    }

    .real-madrid-logo img {
        width: 160px;
        height: auto;
    }

    .foundation-right {
        padding: 1.5rem;
    }

    .offcanvas{
        min-width: 350px;
        max-width: 95% !important;
        margin: 0.5rem;
    }

    .ft_partner_logo{
        height: 50px;
    }

    .ft_brand_logo{
        height: 85px;
        width: auto;
    }

    .messages{
        position: absolute;
        top: 2px;
        right: 2px;
    }
}