/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Header Styles */
.top-bar {
    background-color: #252d68;
    padding: 8px 0;
}

.social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding-right: 20px;
}

.social-icons a {
    color: #fff;
    font-size: 18px;
    transition: opacity 0.3s;
}

.social-icons a:hover {
    opacity: 0.8;
}

.header {
    padding: 15px 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.main-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 0 15px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 1px;
    background-color: #ddd;
}

.nav-link:hover {
    color: #333;
    background-color: rgba(255, 235, 153, 0.3);
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 4px;
}

/* Banner Styles */
.banner {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: auto;
    box-shadow: 0 4px 15px rgba(64, 224, 208, 0.3);
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid rgba(64, 224, 208, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }

    .logo img {
        max-height: 40px;
    }

    .main-nav {
        gap: 10px;
    }

    .banner {
        max-height: 300px;
    }

    .form-container {
        padding: 15px;
    }

    .social-icons {
        justify-content: center;
    }

    .partners-section .col {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .header .row {
        flex-direction: column;
        text-align: center;
    }

    .header .col-md-4 {
        margin-bottom: 10px;
    }

    .social-icons {
        margin-top: 10px;
    }

    .banner {
        max-height: 200px;
    }

    .partners-section .col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .form-container {
        margin-bottom: 30px;
    }

    .image-container {
        margin-top: 20px;
    }
}

.banner h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

/* Form Section Styles */
.registro-section {
    padding: 40px 0;
}

.form-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.image-container img {
    max-width: 100%;
    border-radius: 10px;
}

/* Partners Section Styles */
.partners-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.partner {
    text-align: center;
    padding: 20px;
}

.partner img {
    max-width: 120px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.partner img:hover {
    opacity: 1;
}

/* Footer Styles */
.footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

/* Form Controls */
.form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* Button Styles */
.btn-primary {
    background-color: #007bff;
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Announcement Styles */
.announcement {
    padding: 40px 20px;
    background-color: #f8f9fa;
    border-top: 1px solid rgba(64, 224, 208, 0.2);
}

.announcement-text {
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    color: #252d68;
}

.announcement-text strong {
    font-weight: 700;
    color: #252d68;
}

@media (max-width: 576px) {
    .announcement {
        padding: 30px 15px;
    }
    
    .announcement-text {
        font-size: 16px;
        line-height: 1.6;
    }
}


/* Video Section Styles */
.video-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio (9/16 = 0.5625 or 56.25%) */
    height: 0;
    overflow: hidden;
    max-width: 960px;
    margin: 0 auto;
    border-radius: 8px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}