/* Reset y estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #0056b3;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.top-bar {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

.top-nav ul {
    display: flex;
}

.top-nav li {
    margin-left: 20px;
}

.top-nav a {
    color: #333;
    font-size: 14px;
}

.main-nav {
    padding: 15px 0;
    background-color: #f8f8f8;
}

.main-nav ul {
    display: flex;
    justify-content: space-around;
}

.main-nav a {
    color: #333;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.main-nav a:hover, .main-nav a.active {
    background-color: #e74c3c;
    color: #fff;
}

/* Hero Section */
.hero {
    background-image: url('images/cursos_index.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Program Info Section */
.program-info {
    padding: 50px 0;
    background-color: #fff;
}

.program-info h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #e74c3c;
}

.program-info p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.benefit-item {
    width: calc(25% - 30px);
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-item i {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 15px;
}

.benefit-item p {
    margin: 0;
    font-size: 1rem;
}

/* Requirements Section */
.requirements {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.requirements h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #e74c3c;
}

.requirements-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.requirement-item {
    width: calc(25% - 30px);
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.requirement-item:hover {
    transform: translateY(-5px);
}

.requirement-item i {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 15px;
}

.requirement-item p {
    margin: 0;
    font-size: 1rem;
}

/* Call to Action Section */
.cta {
    padding: 50px 0;
    background-color: #e74c3c;
    color: #fff;
    text-align: center;
}

.cta h2 {
    margin-bottom: 20px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #fff;
    color: #e74c3c;
    font-weight: bold;
    border-radius: 30px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: #333;
    color: #fff;
    transform: scale(1.05);
}

/* Destinations Section */
.destinations {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.destinations h2 {
    text-align: center;
    margin-bottom: 30px;
}

.destination-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.destination-card {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.destination-card:hover {
    transform: translateY(-5px);
}

.destination-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.destination-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    padding: 15px;
    text-align: center;
    font-weight: bold;
}

/* Job Fairs Section */
.job-fairs {
    padding: 30px 0;
    text-align: center;
    background-color: #e74c3c;
    color: #fff;
}

.job-fairs h2 {
    margin-bottom: 0;
}

.job-fairs a {
    color: #fff;
    text-decoration: underline;
    font-weight: bold;
}

/* Employers Section */
.employers {
    padding: 50px 0;
}

.employers h2 {
    text-align: center;
    margin-bottom: 30px;
}

.employer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.employer-card {
    width: calc(25% - 20px);
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.employer-card:hover {
    transform: translateY(-5px);
}

.employer-card img {
    max-height: 60px;
    margin: 0 auto;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact a {
    color: #fff;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
    }
    
    .top-nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .top-nav li {
        margin: 5px 10px;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav li {
        margin-bottom: 10px;
    }
    
    .benefit-item,
    .requirement-item {
        width: calc(50% - 30px);
    }
    
    .destination-grid {
        flex-direction: column;
    }
    
    .employer-card {
        width: calc(50% - 20px);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .benefit-item,
    .requirement-item {
        width: 100%;
    }
    
    .employer-card {
        width: 100%;
    }
}
