/*
Theme Name: CertifyEdu - Sistema de Trámites
Theme URI: https://certifyedu.com.mx
Author: CertifyEdu Team
Author URI: https://certifyedu.com.mx
Description: Tema completo de CertifyEdu con sistema integrado de seguimiento de trámites de certificación. Incluye gestión completa de trámites, dashboard para estudiantes y administradores, catálogo de carreras, y más.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: certifyedu
Tags: education, certification, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready

Este tema incluye:
- Sitio web completo de CertifyEdu
- Sistema de seguimiento de trámites
- Panel de administración
- Dashboard de estudiantes
- Gestión de carreras
- Subida/descarga de documentos
*/

/* ============================================
   ESTILOS BASE DEL TEMA CERTIFYEDU
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ============================================
   HEADER Y NAVEGACIÓN
   ============================================ */
.site-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0066CC;
    text-decoration: none;
}

.main-navigation {
    display: flex;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #0066CC;
}

/* ============================================
   BOTONES
   ============================================ */
.btn-primary {
    background: #FF9500;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background: #e68600;
}

.btn-secondary {
    background: white;
    color: #1E40AF;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: transparent;
    color: white;
}

/* ============================================
   SLIDER PRINCIPAL
   ============================================ */
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: white;
}

/* ============================================
   BARRA DE CONFIANZA
   ============================================ */
.trust-bar {
    background: #f8f9fa;
    padding: 40px 20px;
}

.trust-items {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.trust-item {
    padding: 20px;
}

.trust-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 10px;
}

.trust-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1E40AF;
    margin-bottom: 5px;
}

.trust-item p {
    color: #64748b;
    margin: 0;
}

/* ============================================
   SERVICIOS
   ============================================ */
.services {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1E40AF;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: #1e293b;
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-section p {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #1e293b;
    color: #e2e8f0;
    padding: 60px 20px 20px 20px;
}

.site-footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.site-footer .footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.site-footer .footer-section p {
    color: #94a3b8;
    line-height: 1.8;
}

.site-footer .footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .footer-section ul li {
    margin-bottom: 10px;
}

.site-footer .footer-section a {
    color: #94a3b8 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer .footer-section a:hover {
    color: #FF9500 !important;
}

.site-footer .footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
}

.site-footer .footer-bottom p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================
   BOTONES FLOTANTES REDES SOCIALES
   ============================================ */
.floating-social {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.social-btn:hover {
    transform: scale(1.1);
}

.social-btn.whatsapp {
    background: #25D366;
}

.social-btn.facebook {
    background: #1877F2;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-links {
        display: none;
    }
}

@media (max-width: 480px) {
    .trust-items {
        grid-template-columns: 1fr;
    }
    
    .floating-social {
        bottom: 20px;
        right: 20px;
    }
    
    .social-btn {
        width: 50px;
        height: 50px;
    }
}