/* ========================================
   Datacraft Institute - Main Styles
   Modern & Professional Design
   ======================================== */

/* Variables CSS */
:root {
    /* Colors - Paleta Profesional y Moderna */
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary-color: #059669;
    --accent-color: #0ea5e9;
    --danger-color: #dc2626;
    --warning-color: #d97706;
    --success-color: #059669;
    
    /* Gradients - Más Sobrios y Elegantes */
    --primary-gradient: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --hero-gradient: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    --card-gradient: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    
    /* Neutral Colors - Grises Profesionales */
    --dark-color: #111827;
    --dark-light: #374151;
    --gray-color: #6b7280;
    --gray-light: #9ca3af;
    --light-color: #f9fafb;
    --white-color: #ffffff;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Spacing */
    --section-padding: 4rem 0;
    --container-padding: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    transition: var(--transition-normal);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: var(--font-size-base);
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    min-width: 120px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: var(--white-color);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white-color);
    border-color: var(--white-color);
}

.btn-outline-light:hover {
    background: var(--white-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: var(--font-size-lg);
}

/* Navbar Styles */
.navbar-section {
    position: relative;
    z-index: 1000;
    height: auto;
    max-height: 104px;
    overflow: hidden;
}

.navbar {
    background: rgba(30, 64, 175, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    transition: var(--transition-normal);
    min-height: auto;
    height: 78px;
    max-height: 78px;
    display: flex;
    align-items: center;
}

.navbar-brand {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    height: 65px;
    max-height: 65px;
}

.navbar-brand .logo {
    height: 65px;
    width: auto;
    max-width: 195px;
    object-fit: contain;
    margin: 0;
    padding: 0;
}

.navbar-nav {
    display: flex;
    align-items: center;
    height: 65px;
}

.navbar-nav .nav-link {
    color: var(--white-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition-normal);
    position: relative;
    height: 52px;
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.nav-btn {
    margin-left: 0.5rem;
    padding: 0.5rem 1rem !important;
    height: 52px;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

/* Dropdown Menu */
.dropdown-menu {
    background: var(--white-color);
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 1rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    color: var(--dark-color);
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

/* Mobile Menu Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(30, 64, 175, 0.98) !important;
        backdrop-filter: blur(15px);
        border-radius: 10px;
        margin-top: 10px;
        padding: 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav {
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .navbar-nav .nav-item {
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: 8px;
        transition: all 0.3s ease;
        width: 100%;
        text-align: left;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(5px);
    }
    
    .navbar-nav .nav-btn {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .navbar-toggler:hover {
        background: rgba(255, 255, 255, 0.2);
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    /* Dropdown en móvil */
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        margin: 0.5rem 0;
        padding: 0.5rem 0;
    }
    
    .dropdown-item {
        color: var(--white-color) !important;
        padding: 0.5rem 1rem;
        border-radius: 6px;
        margin: 0.25rem 0.5rem;
    }
    
    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.2);
        color: var(--white-color) !important;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: calc(50vh - 39px); /* Reducido a 50% de la altura original */
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 150px; /* Eliminar padding extra */
}

/* About Hero Section */
.about-hero-section {
    position: relative;
    min-height: calc(40vh - 39px); /* Reducido a 50% de 80vh original */
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 100px; /* Padding similar al hero principal */
}

/* Section Badge */
.section-badge {
    display: inline-block;
    background: var(--primary-gradient);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

/* Mission & Vision Cards */
.mission-card, .vision-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(30, 64, 175, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.card-badge {
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary-color);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-features {
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.feature-item i {
    color: var(--success-color);
    font-size: 0.9rem;
}

/* Values Cards */
.value-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(30, 64, 175, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.value-card-inner {
    padding: 2.5rem;
    position: relative;
    height: 100%;
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.value-number {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.value-highlight {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
}

.value-card:hover .value-highlight {
    opacity: 1;
}

/* Story Section */
.story-highlights {
    margin: 2rem 0;
}

.highlight-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(30, 64, 175, 0.05);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.highlight-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.story-achievements {
    margin-top: 2rem;
}

.achievement {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.achievement-icon {
    width: 50px;
    height: 50px;
    background: var(--success-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.achievement-content h5 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.achievement-content p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
}

/* Timeline */
.timeline-header {
    text-align: center;
    margin-bottom: 2rem;
}

.timeline-header h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-container {
    position: relative;
    padding-left: 2rem;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-gradient);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-year {
    background: var(--primary-gradient);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-stats {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.timeline-stats .stat {
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Team Cards */
.team-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(30, 64, 175, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-card-inner {
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.team-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.team-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.team-badge {
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-skills {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.team-cta {
    margin-top: 3rem;
    padding: 3rem;
    background: rgba(30, 64, 175, 0.05);
    border-radius: 20px;
}

.team-cta-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Partners Section */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.partner-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(30, 64, 175, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.partner-name {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.partner-category {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.partners-stats {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.partners-stats .stat-item {
    text-align: center;
}

.partners-stats .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.partners-stats .stat-label {
    color: var(--text-muted);
    font-weight: 600;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-gradient);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(120, 119, 198, 0.2) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white-color);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--white-color);
    display: block;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-image {
    position: relative;
    text-align: center;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: var(--white-color);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
    animation: floatCard 3s ease-in-out infinite;
}

.floating-card i {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
}

.card-1 {
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: -15%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 20%;
    left: -5%;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid var(--white-color);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(-10px) rotate(45deg); }
    60% { transform: translateY(-5px) rotate(45deg); }
}

/* Section Styles */
section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
}

/* Programs Section */
.programs-section {
    background: var(--light-color);
}

.program-card {
    background: var(--white-color);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.program-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.program-icon i {
    font-size: 2rem;
    color: var(--white-color);
}

.program-card h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.program-card p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.program-features {
    list-style: none;
    margin-bottom: 2rem;
}

.program-features li {
    padding: 0.5rem 0;
    color: var(--dark-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.program-features i {
    color: var(--success-color);
    font-size: var(--font-size-sm);
}

.program-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.program-price {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-color);
}

/* Methodology Section */
.methodology-section {
    background: var(--white-color);
    padding: 60px 0;
}

.methodology-steps {
    padding-left: 2rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.step-item::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 4rem;
    width: 2px;
    height: calc(100% + 1rem);
    background: linear-gradient(180deg, var(--primary-color) 0%, transparent 100%);
}

.step-item:last-child::before {
    display: none;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--white-color);
    flex-shrink: 0;
}

.step-content h4 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--gray-color);
    margin: 0;
}

/* Stats Section */
.stats-section {
    background: var(--primary-gradient);
    color: var(--white-color);
    padding: 1rem 0; /* Reducido de 4rem a 1rem */
}

.stat-card {
    text-align: center;
    padding: 0.5rem 1rem; /* Reducido de 2rem a 0.5rem */
}

.stat-icon {
    width: 50px; /* Reducido de 80px a 50px */
    height: 50px; /* Reducido de 80px a 50px */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem; /* Reducido de 1.5rem a 0.75rem */
    backdrop-filter: blur(10px);
}

.stat-icon i {
    font-size: 1.25rem; /* Reducido de 2rem a 1.25rem */
    color: var(--white-color);
}

.stat-number {
    font-size: 2rem; /* Reducido de 3rem a 2rem */
    font-weight: 800;
    margin-bottom: 0.25rem; /* Reducido de 0.5rem a 0.25rem */
    display: block;
}

.stat-label {
    font-size: 0.9rem; /* Reducido de var(--font-size-lg) a 0.9rem */
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--light-color);
}

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

.testimonial-card {
    background: var(--white-color);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

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

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.stars i {
    color: #fbbf24;
    font-size: var(--font-size-lg);
}

.testimonial-content p {
    font-size: var(--font-size-lg);
    color: var(--dark-light);
    margin-bottom: 2rem;
    font-style: italic;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h5 {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

.author-info span {
    font-size: var(--font-size-sm);
    color: var(--gray-color);
}

/* Courses Section - Modern Design */
.courses-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.courses-section::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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23e2e8f0" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

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

.course-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(30, 64, 175, 0.1);
    position: relative;
}

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

.course-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.course-card:hover::before {
    opacity: 1;
}

.course-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-header {
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.course-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
    transition: transform 0.3s ease;
}

.course-card:hover .course-icon {
    transform: scale(1.1);
}

.course-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.level-badge {
    background: var(--primary-gradient);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.level-badge.level-beginner {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

.level-badge.level-intermediate {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
}

.level-badge.level-advanced {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
}

.level-badge.level-expert {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

.category-badge {
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #f6ad55;
}

.course-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.course-description {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.course-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4a5568;
    font-size: 0.9rem;
    font-weight: 500;
}

.feature-item i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

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

.instructor-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f7fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.instructor-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.instructor-details {
    display: flex;
    flex-direction: column;
}

.instructor-name {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9rem;
}

.instructor-role {
    color: #718096;
    font-size: 0.8rem;
}

.course-footer {
    padding: 2rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
}

.course-price {
    display: flex;
    flex-direction: column;
}

.price-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    line-height: 1;
}

.price-period {
    font-size: 0.8rem;
    color: #718096;
    font-weight: 500;
}

.course-footer .btn {
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.course-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

.courses-cta {
    margin-top: 2.5rem;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(30, 64, 175, 0.1);
    position: relative;
    z-index: 2;
}

.courses-cta-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.courses-cta-content p {
    color: #718096;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.courses-cta .btn {
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 12px;
    font-size: 1rem;
}

/* Responsive Design for Courses */
@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .course-header {
        padding: 1.5rem;
    }
    
    .course-content {
        padding: 1.5rem;
    }
    
    .course-footer {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .courses-cta {
        padding: 2rem 1.5rem;
    }
}

/* Courses Page Specific Styles */
.courses-hero-section {
    background: var(--primary-gradient);
    padding: 120px 0 80px;
    text-align: center;
    color: white;
}

.courses-hero-section .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.courses-hero-section .hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.courses-hero-section .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.courses-hero-section .hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.courses-hero-section .hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.courses-hero-section .stat-item {
    text-align: center;
}

.courses-hero-section .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.courses-hero-section .stat-label {
    font-size: 1rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Featured Courses Section */
.featured-courses-section {
    padding: 4rem 0;
    background: #f8fafc;
}

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

.featured-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.featured-header p {
    font-size: 1.2rem;
    color: #718096;
}

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

.featured-course-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.featured-course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.course-badge-new {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.featured-course-card .course-image {
    height: 200px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.featured-course-card .course-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    backdrop-filter: blur(10px);
}

.featured-course-card .course-info {
    padding: 2rem;
}

.featured-course-card .course-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.featured-course-card .course-duration,
.featured-course-card .course-students {
    color: #718096;
    font-size: 0.9rem;
    font-weight: 500;
}

.featured-course-card .course-level {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.featured-course-card .course-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.featured-course-card .course-description {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.featured-course-card .course-instructor {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.featured-course-card .instructor-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.featured-course-card .instructor-name {
    font-weight: 600;
    color: #4a5568;
    font-size: 0.9rem;
}

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

.featured-course-card .course-price {
    display: flex;
    flex-direction: column;
}

.featured-course-card .price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    line-height: 1;
}

.featured-course-card .price-period {
    font-size: 0.8rem;
    color: #718096;
    font-weight: 500;
}

/* Search and Filter Section */
.search-filter-section {
    padding-top: 100px;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

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

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

.search-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.search-header p {
    font-size: 1.1rem;
    color: #718096;
}

.search-controls {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-size: 1.1rem;
}

.search-box .form-control {
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

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

.filter-btn {
    padding: 12px 24px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #4a5568;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

/* Premium Section - Modern & Professional */
.premium-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.premium-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.premium-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.premium-info h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.premium-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 400;
}

.premium-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.premium-features .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.premium-features .feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: #48bb78;
    font-size: 1.2rem;
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.feature-text p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.4;
}

.premium-cta {
    text-align: left;
}

.btn-premium {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e40af;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
    border: none;
}

.btn-premium:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(251, 191, 36, 0.4);
}

.premium-note {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 1rem;
    margin-bottom: 0;
}

.premium-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.premium-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 300px;
    width: 100%;
}

.premium-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.premium-card-header i {
    color: #fbbf24;
    font-size: 2rem;
}

.premium-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Filter Section */
.filter-section {
    padding: 4rem 0;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.filter-container {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(30, 64, 175, 0.1);
}

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

.filter-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.filter-header p {
    color: #718096;
    font-size: 1.1rem;
}

.filter-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.filter-group .form-select {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.filter-group .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Courses Grid Section */
.courses-grid-section {
    padding-top: 20px;
    background: white;
}

.courses-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f1f5f9;
}

.courses-count {
    font-size: 1.2rem;
    font-weight: 600;
    color: #4a5568;
}

.courses-count span {
    color: var(--primary-color);
    font-weight: 700;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sort-controls label {
    font-weight: 600;
    color: #4a5568;
    margin: 0;
}

.sort-controls .form-select {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 16px;
    font-size: 0.9rem;
    min-width: 180px;
    transition: all 0.3s ease;
}

.sort-controls .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.no-results-content i {
    font-size: 4rem;
    color: #cbd5e0;
    margin-bottom: 1.5rem;
}

.no-results-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 1rem;
}

.no-results-content p {
    color: #718096;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Responsive Design for Courses Page */
@media (max-width: 768px) {
    .courses-hero-section {
        padding: 100px 0 60px;
    }
    
    .courses-hero-section .hero-title {
        font-size: 2.5rem;
    }
    
    .courses-hero-section .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .courses-hero-section .hero-stats {
        gap: 2rem;
    }
    
    .courses-hero-section .stat-number {
        font-size: 2rem;
    }
    
    .featured-courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .featured-header h2 {
        font-size: 2rem;
    }
    
    .search-header h2 {
        font-size: 1.8rem;
    }
    
    .search-controls {
        gap: 1.5rem;
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    
    .premium-section {
        padding: 3rem 0;
    }
    
    .premium-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .premium-info h2 {
        font-size: 2.2rem;
    }
    
    .premium-subtitle {
        font-size: 1.1rem;
    }
    
    .premium-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .premium-features .feature-item {
        padding: 1rem;
    }
    
    .premium-card {
        max-width: 100%;
        padding: 1.5rem;
    }
    
    .premium-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .btn-premium {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .filter-controls {
        grid-template-columns: 1fr;
    }
    
    .courses-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .sort-controls {
        justify-content: center;
    }
}

/* CTA Section - Barra delgada como el header */
.cta-section {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 0;
    height: 60px;
    display: flex;
    align-items: center;
}

.cta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 60px;
}

.cta-content {
    flex: 1;
}

.cta-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--white-color);
    margin: 0;
    line-height: 1.2;
}

.cta-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.cta-buttons .btn {
    height: 40px;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
    background: var(--white-color);
    color: var(--primary-color);
    border: 1px solid var(--white-color);
}

.cta-buttons .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.cta-buttons .btn-outline-light {
    background: transparent;
    color: var(--white-color);
    border: 1px solid var(--white-color);
}

.cta-buttons .btn-outline-light:hover {
    background: var(--white-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

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

.footer-brand {
    margin-bottom: 1rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 0.75rem;
    max-width: 180px;
    object-fit: contain;
}

/* Auth Logo Styles */
.auth-logo img {
    height: 80px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* Form Controls - Specific for Contact Page Only */
.contact-form .form-control,
.contact-form .form-select,
.contact-form input,
.contact-form textarea,
.contact-form select {
    color: var(--text-primary) !important;
    background-color: white !important;
    border: 2px solid var(--border-light) !important;
    border-radius: 10px !important;
    padding: 12px 15px !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

.contact-form .form-control::placeholder,
.contact-form .form-select::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted) !important;
    opacity: 1 !important;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    color: var(--text-primary) !important;
    background-color: white !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.25) !important;
    outline: none !important;
}

.contact-form .form-label {
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    margin-bottom: 8px !important;
}

.contact-form .form-check-label {
    color: var(--text-primary) !important;
    font-size: 0.9rem !important;
}

.contact-form .btn-submit {
    background: var(--primary-gradient) !important;
    color: white !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 12px 30px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3) !important;
}

.contact-form .btn-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4) !important;
}

.contact-form .btn-submit:active {
    transform: translateY(0) !important;
}

.contact-form .form-check-input {
    margin-top: 0.25rem !important;
}

.contact-form .form-check-input:checked {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.contact-form-card {
    color: #000;
    background: rgba(175, 172, 172, 0.98) !important;
    backdrop-filter: blur(15px) !important;
    border-radius: 20px !important;
    padding: 40px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease !important;
}

.contact-form-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15) !important;
}

.form-header h3 {
    color: var(--text-primary) !important;
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
}

.form-header p {
    color: var(--text-muted) !important;
    font-size: 1rem !important;
    margin-bottom: 2rem !important;
}

/* Responsive Design para Formulario de Contacto */
@media (max-width: 768px) {
    .contact-form-card {
        padding: 30px 20px !important;
    }
    
    .form-header h3 {
        font-size: 1.5rem !important;
    }
    
    .contact-form .form-control,
    .contact-form .form-select {
        padding: 10px 12px !important;
        font-size: 0.9rem !important;
    }
    
    .contact-form .btn-submit {
        padding: 10px 25px !important;
        font-size: 0.9rem !important;
    }
}


.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.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;
    color: var(--white-color);
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.footer-links h5 {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white-color);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--accent-color);
    width: 20px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 1rem 0 0.5rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-size-sm);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .floating-card {
        font-size: var(--font-size-sm);
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
        justify-content: center;
    }
    
    .floating-card {
        display: none;
    }
    
    .methodology-steps {
        padding-left: 0;
        margin-top: 3rem;
    }
    
    .cta-bar {
        flex-direction: column;
        gap: 1rem;
        height: auto;
        padding: 1rem 0;
    }
    
    .cta-section {
        height: auto;
    }
    
    .cta-content {
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
    
    .section-title {
        font-size: var(--font-size-3xl);
    }
    
    .program-card {
        padding: 2rem;
    }
    
    .program-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-item::before {
        display: none;
    }
    
    .cta-title {
        font-size: var(--font-size-base);
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-item {
        flex: 1;
        min-width: 80px;
    }
    
    .program-card {
        padding: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 200px;
        height: 36px;
        font-size: 0.85rem;
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-600 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Animations */
.loading {
    opacity: 0;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Utility Classes */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: var(--primary-gradient);
}

.shadow-custom {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.border-gradient {
    position: relative;
    background: var(--white-color);
    border-radius: var(--radius-xl);
}

.border-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: var(--primary-gradient);
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
}

/* Blog Hero Section */
.blog-hero-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.blog-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.blog-hero-section .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.blog-hero-section .hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.blog-hero-section .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-hero-section .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.blog-hero-section .hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.blog-hero-section .stat-item {
    text-align: center;
}

.blog-hero-section .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
}

.blog-hero-section .stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* Featured Posts Section */
.featured-posts-section {
    padding: 4rem 0;
    background: #f8fafc;
}

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

.featured-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.featured-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

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

.featured-post-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.featured-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.post-badge-featured {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-gradient);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.featured-post-card .post-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.featured-post-card .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-post-card:hover .post-image img {
    transform: scale(1.05);
}

.featured-post-card .post-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: white;
    font-size: 3rem;
}

.featured-post-card .post-info {
    padding: 1.5rem;
}

.featured-post-card .post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.featured-post-card .post-category {
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 500;
}

.featured-post-card .post-date,
.featured-post-card .post-reading-time {
    color: var(--text-muted);
}

.featured-post-card .post-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.featured-post-card .post-excerpt {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.featured-post-card .post-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.featured-post-card .author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.featured-post-card .author-name {
    font-weight: 500;
    color: var(--dark-color);
}

.featured-post-card .post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.featured-post-card .post-stats {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.featured-post-card .views-count {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Posts Grid Section */
.posts-grid-section {
    padding: 4rem 0;
    background: white;
}

.posts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.posts-count {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.sort-controls label {
    font-weight: 500;
    color: var(--dark-color);
    margin: 0;
}

.sort-controls .form-select {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.post-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

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

.post-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-card .post-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.post-card .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-card .post-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: white;
    font-size: 2.5rem;
}

.post-badges {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-badge {
    background: rgba(30, 64, 175, 0.9);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.featured-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.post-card .post-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card .post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.post-card .post-views {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: auto;
}

.post-card .post-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.post-card .post-excerpt {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
    flex: 1;
}

.post-card .post-tags {
    margin-bottom: 1rem;
}

.post-card .tag {
    display: inline-block;
    background: #f1f5f9;
    color: var(--text-muted);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.3rem;
}

.post-card .post-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.post-card .author-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.post-card .author-details {
    display: flex;
    flex-direction: column;
}

.post-card .author-name {
    font-weight: 500;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.post-card .author-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.post-card .post-footer {
    padding: 0 1.5rem 1.5rem;
}

.post-card .post-footer .btn {
    width: 100%;
}

/* Post Detail Styles */
.breadcrumb-section {
    padding: 100px 0 20px;
    background: #f8fafc;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

.post-detail-section {
    padding: 2rem 0 4rem;
    background: white;
}

.post-article {
    max-width: none;
}

.post-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.post-header .post-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.post-header .post-category {
    background: var(--primary-gradient);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

.post-header .post-date,
.post-header .post-reading-time,
.post-header .post-views {
    color: var(--text-muted);
}

.post-header .post-views {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.post-header .post-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-header .post-excerpt {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.post-header .post-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.post-header .author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.post-header .author-name {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.post-header .author-role {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.post-featured-image {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-color);
    margin: 2rem 0;
}

.post-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 2rem 0 1rem;
}

.post-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 1.5rem 0 0.8rem;
}

.post-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 1.2rem 0 0.6rem;
}

.post-content ul,
.post-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content strong {
    font-weight: 600;
    color: var(--dark-color);
}

.post-tags {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
}

.post-tags h6 {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.post-tags .tag {
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.social-share {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
}

.social-share h6 {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.email {
    background: #6b7280;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Comments Section */
.comments-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.comments-section h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.comment-form {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.comment-form h5 {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.comment-form .form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.comment-form .form-control {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

.comment-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.comments-list {
    space-y: 1.5rem;
}

.comment-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.comment-header {
    margin-bottom: 1rem;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.comment-author .author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.comment-author .author-name {
    font-weight: 600;
    color: var(--dark-color);
}

.comment-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.comment-content {
    color: var(--dark-color);
    line-height: 1.6;
}

.no-comments {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 2rem;
}

/* Sidebar */
.post-sidebar {
    padding-left: 2rem;
}

.sidebar-widget {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.related-posts {
    space-y: 1rem;
}

.related-post-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.related-post-item:last-child {
    border-bottom: none;
}

.related-post-image {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.related-post-image .post-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: white;
    font-size: 1.5rem;
}

.related-post-content h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.related-post-content h6 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-content h6 a:hover {
    color: var(--primary-color);
}

.related-post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

.categories-list li {
    margin-bottom: 0.5rem;
}

.categories-list a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    transition: color 0.3s ease;
}

.categories-list a:hover {
    color: var(--primary-color);
}

.newsletter-widget {
    background: var(--primary-gradient);
    color: white;
}

.newsletter-widget h5,
.newsletter-widget p {
    color: white;
}

.newsletter-form .form-control {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .form-control:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.newsletter-form .btn {
    background: white;
    color: var(--primary-color);
    border: none;
    font-weight: 600;
}

.newsletter-form .btn:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

/* Pagination */
.pagination-section {
    padding: 2rem 0;
    background: #f8fafc;
}

.pagination {
    margin: 0;
}

.page-link {
    color: var(--primary-color);
    border: 1px solid #d1d5db;
    padding: 0.75rem 1rem;
    margin: 0 0.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Responsive Styles for Blog */
@media (max-width: 768px) {
    .blog-hero-section .hero-title {
        font-size: 2.5rem;
    }
    
    .blog-hero-section .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .blog-hero-section .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .blog-hero-section .stat-number {
        font-size: 2rem;
    }
    
    .featured-posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .featured-header h2 {
        font-size: 2rem;
    }
    
    .posts-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .post-header .post-title {
        font-size: 2rem;
    }
    
    .post-header .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .post-sidebar {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .comment-form {
        padding: 1.5rem;
    }
    
    .related-post-item {
        flex-direction: column;
        text-align: center;
    }
    
    .related-post-image {
        width: 100%;
        height: 120px;
    }
}
