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

:root {
    /* Colores corporativos UGT */
    --primary-color: #E30613;
    --secondary-color: #FF4444;
    --accent-color: #2C5282;
    --text-dark: #1A202C;
    --text-light: #4A5568;
    --bg-light: #F7FAFC;
    --bg-white: #FFFFFF;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;

    /* Gradientes UGT */
    --gradient-ugt: linear-gradient(135deg, #E30613 0%, #B71C1C 100%);
    --gradient-hero: linear-gradient(135deg, #E30613 0%, #D32F2F 50%, #B71C1C 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #B71C1C;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.btn-full {
    width: 100%;
}

/* Header y Navigation */
.header {
    background: white;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.brand-text h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

.brand-text p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.btn-login {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
}

.btn-login:hover {
    background: #B71C1C;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100"><path d="M0,50 Q250,100 500,50 T1000,50 L1000,100 L0,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
    background-position: bottom;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 1rem auto;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.about-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--text-light);
}

/* Featured Course */
.featured-course {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    margin: 3rem 0;
    position: relative;
}

.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    z-index: 1;
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.featured-info {
    padding: 3rem;
}

.featured-info h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.course-features {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.feature i {
    color: var(--primary-color);
}

.pricing {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.price-card {
    flex: 1;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid transparent;
}

.price-card.member {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.price-card.external {
    background: var(--bg-light);
    border-color: var(--primary-color);
}

.price-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

/* Price Features List - Left Aligned */
.price-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
    text-align: left;
}

.price-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    line-height: 1.4;
}

.price-features li:last-child {
    border-bottom: none;
}

.price-features li i {
    color: #4CAF50;
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.price-card.featured .price-features li {
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.price-card.featured .price-features li i {
    color: #ffffff;
    background: rgba(76, 175, 80, 0.3);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.price-info {
    font-size: 0.9rem;
    opacity: 0.8;
}

.featured-image {
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.featured-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.course-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.course-image {
    height: 200px;
    background: var(--bg-light);
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-content {
    padding: 1.5rem;
}

.course-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.course-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.course-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.course-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.member-price {
    color: #4CAF50;
    font-weight: 600;
}

.external-price {
    color: var(--primary-color);
    font-weight: 600;
}

.coming-soon {
    opacity: 0.7;
}

.coming-soon-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--text-light);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Affiliate Section */
.affiliate-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.benefits-list {
    list-style: none;
    margin: 2rem 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.benefits-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.price-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin: 2rem 0;
}

.price-highlight .price {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin: 0.5rem 0;
}

.affiliate-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s;
    display: flex;
    flex-direction: column;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.login-form h3 {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E0E0E0;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 1rem;
    max-width: 150px;
    object-fit: contain;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    opacity: 0.8;
    margin: 0;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .featured-content,
    .affiliate-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .featured-info {
        padding: 2rem;
    }

    .course-features {
        flex-direction: column;
        gap: 1rem;
    }

    .pricing {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .featured-info h3 {
        font-size: 1.5rem;
    }

    .about-grid,
    .courses-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success/Error messages */
.message {
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    text-align: center;
}

.message.success {
    background: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.message.error {
    background: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Form Validation Styles */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.error-message {
    display: none;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

.form-group input.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    outline: none;
}

.form-group input.error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Member Dashboard Styles */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    gap: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    color: white;
    box-shadow: var(--shadow-hover);
}

.dashboard-header h2 {
    font-size: 2rem;
    font-weight: 700;
}

.dashboard-header span {
    color: #FFD700;
    font-weight: 600;
}

.dashboard-header .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 5px 12px;
    font-weight: 500;
    font-size: 0.85rem;
    border-radius: 18px;
    white-space: nowrap;
}

.dashboard-header .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.dashboard-header .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.dashboard-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.dashboard-card .card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-ugt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.dashboard-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.dashboard-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.dashboard-card .btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.dashboard-card .btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* Recovery Form Styles */
.recovery-form {
    padding: 2rem;
    text-align: center;
}

.recovery-form h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.recovery-form > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.recovery-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.recovery-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.recovery-footer a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Enhanced Loading States */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Mobile Responsiveness for Dashboard */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }

    .dashboard-header h2 {
        font-size: 1.5rem;
    }

    .dashboard-header .btn {
        width: 100%;
        justify-content: center;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .dashboard-card {
        padding: 1.5rem;
    }
}

/* About Section Styles */
.about-content {
    margin-bottom: 3rem;
    text-align: center;
}

.about-main {
    max-width: 800px;
    margin: 0 auto;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-quote {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-style: italic;
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(227, 6, 19, 0.05);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

/* Updated About Card Styles */
.about-card .card-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.about-card:hover .card-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(227, 6, 19, 0.3);
}

.about-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.about-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Mobile responsiveness for About Section */
@media (max-width: 768px) {
    .about-description {
        font-size: 1rem;
        text-align: left;
    }

    .about-quote {
        font-size: 1.1rem;
        margin: 1.5rem 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Hero Buttons Highlight Effects */
.highlight {
    border: 3px solid var(--primary-color) !important;
    box-shadow: 0 0 20px rgba(227, 6, 19, 0.4) !important;
    transform: scale(1.02);
    animation: pulseHighlight 2s ease-in-out;
}

.highlight-course {
    border: 3px solid var(--primary-color) !important;
    box-shadow: 0 0 30px rgba(227, 6, 19, 0.5) !important;
    transform: scale(1.02);
    animation: pulseHighlightCourse 2s ease-in-out;
}

/* Highlight especial para curso de Inteligencia Artificial */
.highlight-ia-course {
    border: 4px solid var(--primary-color) !important;
    box-shadow: 0 0 50px rgba(227, 6, 19, 0.6) !important;
    transform: scale(1.03);
    animation: highlightIACourse 3s ease-in-out;
    position: relative;
}

.highlight-ia-course::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    opacity: 0.5;
    animation: borderPulse 2s ease-in-out infinite;
}

@keyframes pulseHighlight {
    0% {
        border-color: transparent;
        box-shadow: none;
        transform: scale(1);
    }
    50% {
        border-color: var(--primary-color);
        box-shadow: 0 0 20px rgba(227, 6, 19, 0.4);
        transform: scale(1.02);
    }
    100% {
        border-color: transparent;
        box-shadow: none;
        transform: scale(1);
    }
}

@keyframes pulseHighlightCourse {
    0% {
        border-color: transparent;
        box-shadow: none;
        transform: scale(1);
    }
    50% {
        border-color: var(--primary-color);
        box-shadow: 0 0 30px rgba(227, 6, 19, 0.5);
        transform: scale(1.02);
    }
    100% {
        border-color: transparent;
        box-shadow: none;
        transform: scale(1);
    }
}

@keyframes highlightIACourse {
    0% {
        border-color: var(--primary-color);
        box-shadow: 0 0 20px rgba(227, 6, 19, 0.3);
        transform: scale(1);
    }
    25% {
        border-color: var(--primary-color);
        box-shadow: 0 0 60px rgba(227, 6, 19, 0.8);
        transform: scale(1.04);
    }
    50% {
        border-color: var(--secondary-color);
        box-shadow: 0 0 80px rgba(255, 68, 68, 0.9);
        transform: scale(1.03);
    }
    75% {
        border-color: var(--primary-color);
        box-shadow: 0 0 60px rgba(227, 6, 19, 0.8);
        transform: scale(1.02);
    }
    100% {
        border-color: var(--primary-color);
        box-shadow: 0 0 20px rgba(227, 6, 19, 0.3);
        transform: scale(1);
    }
}

@keyframes borderPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Enhanced Hero Buttons */
.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-buttons .btn {
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.hero-buttons .btn:active {
    transform: translateY(-1px);
}

/* Mobile responsiveness for Hero Buttons */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Password strength indicator (for future implementation) */
.password-strength {
    height: 4px;
    border-radius: 2px;
    margin-top: 0.5rem;
    transition: var(--transition);
}

.password-strength.weak {
    background: #dc3545;
    width: 33%;
}

.password-strength.medium {
    background: #ffc107;
    width: 66%;
}

.password-strength.strong {
    background: #28a745;
    width: 100%;
}

/* Enhanced Logo Navigation - Mobile Support */
.nav-brand {
    cursor: pointer;
    transition: transform 0.2s ease;
    position: relative;
    z-index: 1000;
}

.nav-brand:hover {
    transform: scale(1.02);
}

/* Asegurar clicabilidad del logo en móviles */
.nav-brand .logo,
.nav-brand .brand-text {
    pointer-events: auto;
    position: relative;
    z-index: 1001;
    cursor: pointer;
}

.nav-brand .logo:hover,
.nav-brand .brand-text:hover {
    opacity: 0.8;
    transform: scale(1.05);
    transition: all 0.2s ease;
}

/* Mobile-specific logo improvements */
@media (max-width: 768px) {
    .nav-brand {
        z-index: 1001;
        position: relative;
    }

    .nav-brand .logo {
        min-width: 40px;
        min-height: 40px;
        pointer-events: auto;
    }

    .nav-brand .brand-text {
        pointer-events: auto;
    }

    /* Evitar que el menú móvil tape el logo */
    .nav-menu.active {
        z-index: 999;
    }

    /* Feedback táctil en móviles */
    .nav-brand:active {
        transform: scale(0.98);
        opacity: 0.7;
    }
}

/* Debugging visual helper (puede removerse en producción) */
.nav-brand {
    /* border: 1px solid red; /* Descomentar para debugging */
}

/* Asegurar que no haya eventos bloqueantes */
.nav-brand * {
    pointer-events: auto;
}

/* WhatsApp y Email Buttons Styles */
.contact-actions {
    text-align: center;
}

.contact-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.btn-whatsapp,
.btn-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 80px;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128C7E, #25D366);
}

.btn-email {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(227, 6, 19, 0.3);
}

.btn-email:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(227, 6, 19, 0.4);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.btn-whatsapp i,
.btn-email i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.btn-whatsapp span,
.btn-email span {
    font-size: 1.1rem;
    margin-bottom: 4px;
    line-height: 1.2;
}

.btn-whatsapp small,
.btn-email small {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Efecto shimmer para botones */
.btn-whatsapp::before,
.btn-email::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-whatsapp:hover::before,
.btn-email:hover::before {
    left: 100%;
}

/* Advantages Section */
.contact-advantages {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.advantage {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
}

.advantage:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    background: white;
}

.advantage i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.advantage span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-buttons {
        gap: 1rem;
    }

    .btn-whatsapp,
    .btn-email {
        padding: 14px 20px;
        min-height: 70px;
    }

    .btn-whatsapp i,
    .btn-email i {
        font-size: 1.3rem;
    }

    .btn-whatsapp span,
    .btn-email span {
        font-size: 1rem;
    }

    .contact-advantages {
        flex-direction: column;
        gap: 1rem;
    }

    .advantage {
        flex-direction: row;
        text-align: left;
        padding: 1rem;
    }

    .advantage i {
        margin-bottom: 0;
        margin-right: 1rem;
        font-size: 1.5rem;
    }
}

/* Course Target Styles */
.course-target {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
    padding: 12px 16px;
    background: rgba(227, 6, 19, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.course-target i {
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
}

.course-target span {
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}

/* Enhanced Course Features */
.course-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.feature i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature span {
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Enhanced Featured Course */
.featured-info h3 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.featured-info p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Mobile responsiveness for course features */
@media (max-width: 768px) {
    .course-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .feature {
        padding: 0.75rem;
    }

    .feature i {
        font-size: 1.3rem;
    }

    .feature span {
        font-size: 0.8rem;
    }

    .course-target {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 1rem;
    }

    .featured-info h3 {
        font-size: 1.4rem;
    }

    .featured-info p {
        font-size: 1rem;
    }
}

/* Course Enrollment Modal Styles */
.enrollment-form {
    max-width: 500px;
    margin: 0 auto;
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
}

.course-header {
    text-align: center;
    margin-bottom: 2rem;
}

.course-header h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.course-summary {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(227, 6, 19, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.summary-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.summary-item span {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}

.course-options {
    margin-bottom: 1.5rem;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.checkbox-option:hover {
    background: rgba(227, 6, 19, 0.05);
}

.checkbox-option input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: #ddd;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-option input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
}

.checkbox-option input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.label-text {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

.price-display {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 2rem;
    border: 2px solid var(--primary-color);
}

.price-info {
    text-align: center;
}

.current-price {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
}

.current-price span {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.discount-note {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.discount-note strong {
    color: var(--secondary-color);
}

/* Modal styles for enrollment */
#courseEnrollmentModal .modal-content {
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

/* Mobile responsiveness for enrollment modal */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .course-summary {
        padding: 1rem;
        gap: 0.5rem;
    }

    .summary-item {
        gap: 8px;
    }

    .summary-item i {
        font-size: 1rem;
    }

    .summary-item span {
        font-size: 0.85rem;
    }

    .course-header h3 {
        font-size: 1.1rem;
    }

    .form-section h4 {
        font-size: 1rem;
    }

    .checkbox-option {
        padding: 10px;
        gap: 10px;
    }

    .checkmark {
        width: 18px;
        height: 18px;
    }

    .label-text {
        font-size: 0.9rem;
    }
}

/* Course Curriculum Styles */
.course-curriculum {
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    border: 1px solid rgba(227, 6, 19, 0.08);
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.course-curriculum h4 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 1.4rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 700;
    position: relative;
}

.course-curriculum h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-ugt);
    border-radius: 2px;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.curriculum-modules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.module {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(227, 6, 19, 0.1);
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-ugt);
    border-radius: 16px 16px 0 0;
}

.module:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(227, 6, 19, 0.15);
    border-color: var(--primary-color);
}

.module-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(227, 6, 19, 0.08);
}

.module-number {
    font-size: 0.75rem;
    font-weight: 800;
    color: white;
    background: var(--gradient-ugt);
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(227, 6, 19, 0.3);
}

.module-header i {
    color: var(--primary-color);
    font-size: 1.8rem;
    background: rgba(227, 6, 19, 0.08);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.module:hover .module-header i {
    background: var(--gradient-ugt);
    color: white;
    transform: scale(1.1);
}

.module-hours {
    background: linear-gradient(135deg, rgba(44, 82, 130, 0.1), rgba(44, 82, 130, 0.15));
    color: var(--accent-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(44, 82, 130, 0.2);
}

.module-objectives {
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.03), rgba(227, 6, 19, 0.06));
    padding: 1rem 1.2rem;
    border-radius: 12px;
    margin-bottom: 1.2rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(227, 6, 19, 0.08);
}

.module-objectives strong {
    color: var(--primary-color);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.module h5 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.module ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.module li {
    position: relative;
    padding: 0.8rem 0.8rem 0.8rem 2.5rem;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    background: rgba(44, 82, 130, 0.02);
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.module li:hover {
    background: rgba(227, 6, 19, 0.05);
    border-left-color: var(--primary-color);
    transform: translateX(3px);
}

.module li::before {
    content: "✓";
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
    width: 20px;
    height: 20px;
    background: rgba(227, 6, 19, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module li:last-child {
    margin-bottom: 0;
}

/* Module Card Styles for Course Page */
.module-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(227, 6, 19, 0.1);
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-ugt);
    border-radius: 16px 16px 0 0;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(227, 6, 19, 0.15);
    border-color: var(--primary-color);
}

.module-card .module-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(227, 6, 19, 0.08);
}

.module-card .module-number {
    font-size: 0.75rem;
    font-weight: 800;
    color: white;
    background: var(--gradient-ugt);
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(227, 6, 19, 0.3);
}

.module-card .module-duration {
    background: linear-gradient(135deg, rgba(44, 82, 130, 0.1), rgba(44, 82, 130, 0.15));
    color: var(--accent-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(44, 82, 130, 0.2);
}

.module-card .module-objectives {
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.03), rgba(227, 6, 19, 0.06));
    padding: 1rem 1.2rem;
    border-radius: 12px;
    margin-bottom: 1.2rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(227, 6, 19, 0.08);
}

.module-card .module-objectives strong {
    color: var(--primary-color);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.module-card h5 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.module-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.module-card li {
    position: relative;
    padding: 0.8rem 0.8rem 0.8rem 2.5rem;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    background: rgba(44, 82, 130, 0.02);
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.module-card li:hover {
    background: rgba(227, 6, 19, 0.05);
    border-left-color: var(--primary-color);
    transform: translateX(3px);
}

.module-card li::before {
    content: "✓";
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
    width: 20px;
    height: 20px;
    background: rgba(227, 6, 19, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-card li:last-child {
    margin-bottom: 0;
}

/* Course Information Section - Enhanced Design */
.course-info-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.course-overview {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(227, 6, 19, 0.08);
    position: relative;
    overflow: hidden;
}

.course-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-ugt);
}

.course-overview h2 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.course-overview h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--gradient-ugt);
    border-radius: 2px;
}

.learning-objectives {
    display: grid;
    gap: 1.2rem;
}

.objective {
    display: flex;
    align-items: start;
    gap: 1.2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(44, 82, 130, 0.02), rgba(44, 82, 130, 0.05));
    border-radius: 16px;
    border: 1px solid rgba(44, 82, 130, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.objective::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-ugt);
    border-radius: 2px;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.objective:hover {
    transform: translateX(8px);
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.03), rgba(227, 6, 19, 0.06));
    border-color: rgba(227, 6, 19, 0.15);
    box-shadow: 0 8px 25px rgba(227, 6, 19, 0.1);
}

.objective:hover::before {
    transform: scaleY(1);
}

.objective i {
    color: var(--primary-color);
    font-size: 2rem;
    background: rgba(227, 6, 19, 0.08);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(227, 6, 19, 0.15);
}

.objective:hover i {
    background: var(--gradient-ugt);
    color: white;
    transform: scale(1.1);
}

.objective h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.objective p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.course-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-ugt);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(227, 6, 19, 0.12);
}

.detail-card:hover::before {
    transform: scaleX(1);
}

.detail-card h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-card h3 i {
    color: var(--primary-color);
    font-size: 1.2rem;
    background: rgba(227, 6, 19, 0.08);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-card li {
    position: relative;
    padding: 0.8rem 0 0.8rem 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.detail-card li:last-child {
    border-bottom: none;
}

.detail-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
    width: 18px;
    height: 18px;
    background: rgba(227, 6, 19, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-card li:hover {
    background: rgba(227, 6, 19, 0.02);
    padding-left: 2.5rem;
}

.detail-card li strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Course Inquiries Section */
.course-inquiries {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.inquiry-divider {
    position: relative;
    margin-bottom: 1rem;
}

.inquiry-divider span {
    background: white;
    padding: 0 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.inquiry-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
    z-index: 0;
}

.btn-whatsapp-course {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #25D366, #20B954);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 0.5rem;
}

.btn-whatsapp-course:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    color: white;
}

.btn-whatsapp-course i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.btn-whatsapp-course span {
    font-size: 0.95rem;
}

.btn-whatsapp-course small {
    display: block;
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 400;
    margin-top: 2px;
}

/* Course Highlights in Main Page */
.course-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(227, 6, 19, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
    background: white;
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid rgba(227, 6, 19, 0.2);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 1rem;
    transition: color 0.3s ease;
}

.highlight-item:hover i {
    color: white;
}

/* Course Buttons Layout */
.course-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.course-buttons .btn {
    flex: 1;
    min-width: 140px;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.course-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(227, 6, 19, 0.3);
}

.course-buttons .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 82, 130, 0.3);
}

.course-buttons .btn-secondary {
    background: var(--gradient-ugt);
    color: white;
    border: none;
}

.course-buttons .btn-secondary:hover {
    background: var(--gradient-hero);
}

/* Responsive Design for Course Elements */
@media (max-width: 768px) {
    .curriculum-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .module {
        padding: 1rem;
    }

    .course-highlights {
        flex-direction: column;
        gap: 0.5rem;
    }

    .highlight-item {
        font-size: 0.85rem;
        padding: 6px 10px;
    }

    .btn-whatsapp-course {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .btn-whatsapp-course i {
        font-size: 1.1rem;
    }

    .btn-whatsapp-course small {
        font-size: 0.75rem;
    }
}

/* Preinscription Note Styles */
.preinscription-note {
    background: linear-gradient(135deg, #e8f4f8, #d1e7dd);
    border-left: 4px solid #198754;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.preinscription-note i {
    color: #198754;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.preinscription-note p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
}

/* Weekly Curriculum Styles */
.curriculum-weeks {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.week-module {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.week-module:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.week-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--bg-light);
}

.week-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    background: var(--gradient-ugt);
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.week-header i {
    color: var(--primary-color);
    font-size: 1.4rem;
}

.week-hours {
    background: rgba(44, 82, 130, 0.1);
    color: var(--accent-color);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.week-module h5 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

.day-sessions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.day {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.day strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.day ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.day li {
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-dark);
    line-height: 1.4;
    padding-left: 0.5rem;
}

.day li strong {
    color: var(--accent-color);
    display: inline;
    font-weight: 600;
}

/* Course Materials Styles */
.course-materials {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.05), rgba(44, 82, 130, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(227, 6, 19, 0.1);
}

.course-materials h4 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.material-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.material-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    background: rgba(227, 6, 19, 0.05);
}

.material-item i {
    color: var(--primary-color);
    font-size: 1.3rem;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.material-item span {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.4;
}

/* Responsive Design for Weekly Curriculum */
@media (max-width: 768px) {
    .day-sessions {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .week-module {
        padding: 1rem;
    }

    .materials-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .material-item {
        padding: 0.8rem;
    }

    .day {
        padding: 0.8rem;
    }

    .day li {
        font-size: 0.8rem;
    }
}

/* Modal responsive for preinscription */
@media (max-width: 768px) {
    .preinscription-note {
        padding: 0.8rem;
        flex-direction: column;
        gap: 8px;
    }

    .preinscription-note i {
        align-self: center;
        margin-top: 0;
    }

    .preinscription-note p {
        font-size: 0.85rem;
        text-align: center;
    }
}

/* Footer Contact Styles */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-whatsapp,
.footer-email {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-whatsapp:hover {
    background: #25D366;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.footer-email:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.footer-whatsapp i,
.footer-email i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* Responsive Footer Contact */
@media (max-width: 768px) {
    .footer-contact {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-whatsapp,
    .footer-email {
        flex: 1;
        min-width: 120px;
        justify-content: center;
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

/* Course Badge */
.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-ugt);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.course-badge-online {
    background: linear-gradient(135deg, #25D366, #20B954);
}

/* Course Features Mini */
.course-features-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.8rem 0;
}

.course-features-mini span {
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

.course-features-mini i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Individual Course Page Styles */
.course-hero {
    background: var(--gradient-hero);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.course-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.9) 0%, rgba(183, 28, 28, 0.95) 100%);
    z-index: 0;
}

.course-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: center;
    min-height: 450px;
    position: relative;
    z-index: 1;
}

.course-hero-info h1 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.course-hero-description {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    opacity: 0.95;
    max-width: 450px;
}

.course-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.course-hero-features .feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.course-hero-features .feature i {
    font-size: 1.1rem;
    color: white;
}

.course-hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.course-hero-buttons .btn {
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 160px;
    justify-content: center;
}

.course-hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: white;
}

.course-hero-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-hero-image img:hover {
    transform: scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Responsive for Course Page */
@media (max-width: 768px) {
    .course-hero {
        padding: 2.5rem 0;
    }

    .course-hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        min-height: auto;
    }

    .course-hero h1 {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }

    .course-hero-description {
        font-size: 0.95rem;
        max-width: 100%;
        margin: 0 auto 1rem;
        line-height: 1.4;
    }

    .course-hero-features {
        justify-content: center;
        gap: 0.8rem;
    }

    .course-hero-features .feature {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }

    .course-hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .course-hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .course-hero-image img {
        height: 220px;
        margin-bottom: 1.5rem;
    }

    /* Course Info Grid Responsive */
    .course-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .course-overview {
        padding: 2rem;
    }

    .course-overview h2 {
        font-size: 1.5rem;
    }

    .learning-objectives {
        gap: 1rem;
    }

    .objective {
        padding: 1.2rem;
        gap: 1rem;
    }

    .objective i {
        font-size: 1.5rem;
        width: 50px;
        height: 50px;
    }

    .objective h4 {
        font-size: 1rem;
    }

    .objective p {
        font-size: 0.9rem;
    }

    .detail-card {
        padding: 1.5rem;
    }

    .detail-card h3 {
        font-size: 1.1rem;
    }

    /* Curriculum Modules Responsive */
    .curriculum-modules {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .module-card {
        padding: 1.5rem;
    }

    .module-card .module-header {
        margin-bottom: 1rem;
        padding-bottom: 0.8rem;
    }

    .module-card h5 {
        font-size: 1rem;
    }

    .module-card li {
        padding: 0.6rem 0.6rem 0.6rem 2rem;
        font-size: 0.85rem;
    }

    /* Pricing Section Responsive */
    .pricing-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .price-card.featured {
        transform: none;
    }

    /* Contact Buttons Responsive */
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Edit Profile Modal Styles */
#editProfileModal .modal-content {
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.edit-profile-form h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.edit-profile-form > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    font-size: 1.1rem;
}

.form-section label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-section input[type="text"],
.form-section input[type="email"],
.form-section input[type="tel"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    margin-bottom: 0.5rem;
}

.form-section input[type="text"]:focus,
.form-section input[type="email"]:focus,
.form-section input[type="tel"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}

.form-section input[readonly] {
    background-color: var(--bg-light);
    cursor: not-allowed;
}

.form-section small {
    color: var(--text-light);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 1rem;
}

/* Estilos mejorados para checkboxes del perfil */
.checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 1.5rem;
    cursor: pointer;
    padding: 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
}

.checkbox-option:hover {
    background: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(227, 6, 19, 0.1);
}

.checkbox-option input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    background: #ffffff;
    border: 3px solid #e0e0e0;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-option input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(227, 6, 19, 0.3);
}

.checkbox-option input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.label-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.label-text {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    user-select: none;
}

/* Efecto de activación mejorado */
.checkbox-option:active {
    transform: scale(0.98);
}

/* Estilo especial para checkboxes desactivados */
.checkbox-option input[type="checkbox"]:not(:checked) + .checkmark {
    background: #f8f9fa;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .checkbox-option {
        padding: 14px;
        gap: 14px;
        margin-bottom: 1.2rem;
    }

    .checkmark {
        width: 22px;
        height: 22px;
    }

    .label-text {
        font-size: 0.95rem;
    }
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #E0E0E0;
}

.form-actions .btn {
    min-width: 120px;
}

/* Profile Photo Upload Styles */
.photo-upload-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.photo-preview {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid var(--primary-color);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(227, 6, 19, 0.2);
}

.photo-preview:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(227, 6, 19, 0.3);
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.default-avatar {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    border-radius: 50%;
    transition: var(--transition);
}

.photo-preview:hover .default-avatar {
    transform: scale(1.1);
    background: linear-gradient(135deg, #B71C1C, var(--primary-color));
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: var(--transition);
    border-radius: 50%;
}

.photo-preview:hover .photo-overlay {
    opacity: 1;
}

.photo-overlay i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.photo-overlay span {
    font-size: 0.8rem;
    text-align: center;
    font-weight: 500;
}

.photo-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 15px;
}

.btn-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.btn-danger:hover {
    background: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.5);
}

/* Mobile responsiveness for edit profile modal */
@media (max-width: 768px) {
    #editProfileModal .modal-content {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .form-actions .btn {
        width: 100%;
    }

    .photo-upload-container {
        gap: 0.75rem;
    }

    .photo-preview {
        width: 120px;
        height: 120px;
    }

    .photo-actions {
        flex-direction: column;
        width: 100%;
    }

    .photo-actions .btn {
        width: 100%;
    }
}

/* Dashboard Modals Styles */
.modal-large {
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
}

.courses-modal h3,
.documents-modal h3,
.events-modal h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.courses-modal > p,
.documents-modal > p,
.events-modal > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Empty State Styles */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    border: 2px dashed #dee2e6;
}

.empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(227, 6, 19, 0.2);
}

.empty-state h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.empty-state .btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.empty-state .btn:hover {
    background: #B71C1C;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Coming Soon Info */
.coming-soon-info {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(227, 6, 19, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.coming-soon-info p {
    margin: 0;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Upcoming Info */
.upcoming-info {
    margin-top: 2rem;
    text-align: left;
}

.upcoming-info h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.upcoming-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.upcoming-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: rgba(0,0,0,0.02);
    border-radius: 8px;
    transition: var(--transition);
}

.upcoming-info li:hover {
    background: rgba(227, 6, 19, 0.05);
    transform: translateX(5px);
}

.upcoming-info li i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

/* Mobile responsiveness for dashboard modals */
@media (max-width: 768px) {
    .modal-large {
        margin: 1rem;
        padding: 1rem;
        max-height: 90vh;
    }

    .empty-state {
        padding: 2rem 1rem;
    }

    .empty-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .empty-state h4 {
        font-size: 1.2rem;
    }

    .empty-state p {
        font-size: 1rem;
    }

    .upcoming-info {
        margin-top: 1.5rem;
    }

    .upcoming-info li {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}
/* ============================================================
   DOCUMENTS SECTION STYLES
   ============================================================ */

/* Documents List */
.documents-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
}

/* Document Card */
.document-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    transition: var(--transition);
}

.document-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Document Icon */
.document-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #B71C1C 100%);
    border-radius: 12px;
    color: white;
    font-size: 1.5rem;
}

/* Document Info */
.document-info {
    flex: 1;
    min-width: 0;
}

.document-info h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
}

.document-info p {
    margin: 0 0 0.75rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Document Meta */
.document-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.document-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

.document-meta span i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

/* Document Actions */
.document-actions {
    flex-shrink: 0;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Mobile responsiveness for documents */
@media (max-width: 768px) {
    .document-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.25rem;
    }

    .document-info {
        width: 100%;
    }

    .document-info p {
        white-space: normal;
    }

    .document-meta {
        justify-content: center;
        gap: 1rem;
    }

    .document-actions {
        width: 100%;
    }

    .document-actions .btn {
        width: 100%;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .document-card {
        background: #1e1e1e;
        border-color: #333;
    }

    .document-info h4 {
        color: #ffffff;
    }

    .document-info p,
    .document-meta span {
        color: #b0b0b0;
    }
}
