/* General Body Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0c243c;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main Menu */
nav {
    background-color: rgba(12, 36, 60, 0.9);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    position: relative;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url('https://www.propadelschool.com/assets/images/backgrounds/campo-de-pade1-FINAL.gif');
    background-size: cover;
    background-position: center;
    background-color: #0c243c;
    background-blend-mode: overlay;
    padding-top: 20px; /* Ajuste para el menú fijo */
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero h1, .hero h2, .hero p {
    position: relative;
    z-index: 2;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin: 10px 0;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid white;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 20px auto;
    position: relative;
    z-index: 2;
}

.btn:hover { 
    background-color: rgba(255, 255, 255, 0.4); 
}

/* Sections */
.section { 
    padding: 60px 0; 
    text-align: center; 
}

/* About Section */
.about-card {
    background-color: white;
    color: #000;
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    max-width: 1200px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
}

.black-text { 
    color: black; 
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    max-width: 350px; /* Reducido de 500px a 350px (30% más pequeño) */
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.about-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

/* Programs Section */
.programs-section {
    background-color: #0c243c;
    color: white;
    padding: 40px 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.programs-label {
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    padding: 15px 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    display: block;
    text-align: center;
}

.program-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.program-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    padding: 20px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-icon { 
    font-size: 2rem; 
    margin-bottom: 15px; 
    color: white; 
}

.program-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #0c243c;
    font-weight: bold;
    background-color: white;
    padding: 10px 20px;
    border-radius: 10px;
    display: inline-block;
    border: 2px solid white;
}

.program-discount, .program-price, .program-features li { 
    color: white; 
}

.program-price small { 
    text-decoration: line-through; 
    color: #777; 
}

.program-features {
    list-style-type: none;
    padding: 0;
    text-align: left;
    margin-bottom: 20px;
}

.program-features li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.program-features li:before {
    content: "•";
    color: white;
    position: absolute;
    left: 0;
}

.text-btn {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 30px;
    background-color: transparent;
}

.text-btn:hover { 
    background-color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

/* Payment Screen */
.payment-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.payment-content {
    background-color: #0c243c;
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    width: 80%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.payment-content h2 { 
    font-size: 2rem; 
    margin-bottom: 20px; 
}

.payment-content p { 
    font-size: 1.2rem; 
    margin-bottom: 30px; 
}

.back-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.back-button:hover { 
    background-color: #45a049; 
}

/* Form Styles - Para otras páginas */
.formulario {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: left;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #000;
}

.formulario h2 {
    color: #000;
    margin-bottom: 20px;
}

.formulario label {
    display: block;
    margin-bottom: 5px;
    color: #000;
    font-weight: bold;
}

.formulario input[type="text"],
.formulario input[type="email"],
.formulario input[type="tel"],
.formulario input[type="number"],
.formulario input[type="file"],
.formulario textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.formulario textarea {
    height: 100px;
    resize: vertical;
}

.formulario input[type="file"] {
    padding: 5px;
    background-color: white;
}

.formulario button {
    background-color: #0c243c;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.formulario button:hover {
    background-color: #1a3a5c;
}

.photo-preview {
    max-width: 200px;
    max-height: 200px;
    border-radius: 5px;
    margin-top: 10px;
    display: none;
}

.formulario #mensaje {
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
    display: none;
}

.formulario #mensaje.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.formulario #mensaje.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.colaborador-item {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
}

.colaborador-foto {
    max-width: 50px;
    max-height: 50px;
    border-radius: 25px;
    margin-right: 10px;
}

.required {
    color: red;
}

.return-btn-container {
    margin-top: 20px;
}

.return-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: rgba(0, 0, 0, 0.2);
    color: #000;
    text-decoration: none;
    border: 1px solid #000;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-weight: bold;
}

.return-btn:hover {
    background-color: rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: #0c243c;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

.footer a {
    color: #00bfff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Utility Buttons */
.btn-export {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    margin-top: 10px;
    cursor: pointer;
}

.btn-save-to-db {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    margin-top: 10px;
    margin-left: 10px;
    cursor: pointer;
}

.btn-clear {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    margin-top: 10px;
    margin-left: 10px;
    cursor: pointer;
}

.btn-delete {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 3px;
    cursor: pointer;
    margin-left: 10px;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Formulario de registro - Estilos adicionales */
.main-menu {
    background-color: #001f3f;
    padding: 15px 0;
    text-align: center;
    border-bottom: 2px solid #001f3f;
}

.main-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    gap: 30px;
}

.main-menu li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.main-menu li a:hover {
    color: #00bfff;
}

.container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.header {
    background-color: #ffffff;
    padding: 40px;
    width: 100%;
    max-width: 600px;
    text-align: left;
}

.logo-text {
    color: #001f3f;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 2px;
}

.radio-group {
    text-align: center;
    margin-bottom: 30px;
    font-size: 18px;
    font-weight: bold;
}

.radio-group label {
    color: #001f3f;
    margin: 0 15px;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    margin-right: 8px;
    transform: scale(1.2);
}

.radio-group span {
    color: #001f3f;
    margin: 0 10px;
}

.form-row, .phone-row {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    text-align: left;
}

.form-label {
    color: #001f3f;
    font-weight: bold;
    font-size: 16px;
    min-width: 150px;
    display: inline-block;
    text-align: left;
}

.form-input {
    background-color: #001f3f !important;
    color: #ffffff !important;
    border: none;
    border-bottom: 2px solid #001f3f;
    border-radius: 0;
    padding: 8px 12px;
    font-size: 16px;
    font-weight: bold;
    outline: none;
    transition: border-bottom-color 0.3s, box-shadow 0.3s;
    flex: 1;
    max-width: 250px;
}

.form-input:focus {
    border-bottom-color: #00bfff;
    box-shadow: 0 2px 0 #00bfff;
    background-color: #001f3f !important;
    color: #ffffff !important;
}

.form-input::placeholder {
    color: #cccccc;
    opacity: 0.8;
}

.phone-row {
    align-items: center;
}

.phone-code-input {
    max-width: 80px;
    margin-right: 10px;
}

.phone-number-input {
    max-width: 150px;
}

.currency-select {
    background-color: #001f3f !important;
    color: #ffffff !important;
    border: none;
    border-bottom: 2px solid #001f3f;
    border-radius: 0;
    padding: 8px 12px;
    font-size: 16px;
    font-weight: bold;
    outline: none;
    cursor: pointer;
    max-width: 250px;
}

.currency-select:focus {
    border-bottom-color: #00bfff;
    box-shadow: 0 2px 0 #00bfff;
}

.currency-select option {
    background-color: #001f3f;
    color: #ffffff;
}

.password-container {
    display: flex;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 250px;
}

.password-container .form-input {
    flex: 1;
    margin-right: 10px;
}

.show-password-btn {
    background-color: #001f3f;
    color: #ffffff;
    border: 1px solid #001f3f;
    border-radius: 3px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s;
}

.show-password-btn:hover {
    background-color: #00bfff;
    border-color: #00bfff;
    color: #ffffff;
}

.error-message {
    background-color: #ff4444;
    color: #ffffff;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: left;
}

.success-message {
    background-color: #44ff44;
    color: #001f3f;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: left;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.button-accept, .button-cancel {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.button-accept {
    background-color: #001f3f;
    color: #ffffff;
}

.button-accept:hover {
    background-color: #003366;
    transform: translateY(-2px);
}

.button-cancel {
    background-color: #ff4444;
    color: #ffffff;
}

.button-cancel:hover {
    background-color: #ff6666;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-card {
        transform: scale(0.9);
        margin: 10px;
        padding: 15px;
    }
    
    .formulario {
        padding: 15px;
    }
    
    .program-card {
        min-width: 250px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    nav ul li a {
        font-size: 1rem;
    }
    
    .header {
        padding: 20px;
        margin: 10px;
    }
    
    .form-row, .phone-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .form-label {
        margin-bottom: 5px;
        min-width: auto;
    }
    
    .form-input, .currency-select, .password-container {
        max-width: 100%;
        width: 100%;
    }
    
    .phone-row {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .button-accept, .button-cancel {
        width: 200px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .about-card {
        transform: scale(1);
        margin: 5px;
        padding: 10px;
    }
    
    .formulario {
        padding: 10px;
    }
    
    .formulario input[type="text"],
    .formulario input[type="email"],
    .formulario input[type="tel"],
    .formulario input[type="number"],
    .formulario textarea {
        padding: 6px;
    }
    
    .program-card {
        min-width: 100%;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 5px 0;
    }
    
    .hero {
        height: 50vh;
    }
    
    .main-menu ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .main-menu li {
        margin: 5px 0;
    }
    
    .hero-content {
        padding: 10px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
}