/* Global Styles */
:root {
    --negro: #000000;
    --turquesa: #03cbc5;
    --gris-oscuro: #414545;
    --rojo: #f8415b;
    --gris-profundo: #192121;
    
    /* Primary colors using your scheme */
    --primary-color: var(--turquesa);
    --secondary-color: var(--rojo);
    --accent-color: var(--gris-oscuro);
    --dark-color: var(--negro);
    --light-color: #f8f9fa;
    --white: #ffffff;
    
    /* Additional complementary colors */
    --light-turquesa: #4dd4cf;
    --dark-turquesa: #02a8a3;
    --light-gray: #e9ecef;
    --medium-gray: #6c757d;
    
    /* Gradients using your colors */
    --gradient-primary: linear-gradient(135deg, var(--turquesa) 0%, var(--light-turquesa) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--rojo) 0%, #ff6b7a 100%);
    --gradient-hero: linear-gradient(135deg, var(--gris-profundo) 0%, var(--gris-oscuro) 100%);
    --gradient-navbar: linear-gradient(135deg, var(--negro) 0%, var(--gris-profundo) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Header Styles */
.navbar {
    background: var(--gradient-navbar) !important;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white);
}

.logo img {
    height: 35px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    filter: brightness(0) invert(1);
}

.logo-text {
    font-family: 'Brush Script MT', cursive;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--white);
    line-height: 1;
}

.logo-number {
    font-size: 1rem;
    font-weight: bold;
    color: var(--turquesa);
    margin-top: -5px;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--white) !important;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
    border-radius: 5px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--turquesa) !important;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.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, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive navbar adjustments */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .logo img {
        height: 30px;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
    }
    
    .about-logo-img {
        max-width: 200px;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Hero Carousel Section */
.hero-section {
    margin-top: 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.carousel-content {
    padding: 3rem 0;
    color: var(--white);
    min-height: 720px; /* Establece una altura consistente incrementada para evitar saltos y albergar los botones de acción */
    display: flex;
    align-items: center;
}

.carousel-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.carousel-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.relator-info {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.relator-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    border: 3px solid var(--white);
}

.relator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.relator-details h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: bold;
}

.relator-details p {
    margin: 0.2rem 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.carousel-actions {
    margin-top: 2rem;
}

.carousel-actions .btn {
    margin-right: 1rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.carousel-image {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.carousel-image img {
    width: 100% !important;
    height: 380px !important; /* Altura estándar fija en escritorio */
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
    object-fit: cover !important; /* Recorta la imagen para llenar el contenedor sin distorsión */
}

/* Animated background floating shapes in grey/silver tones with morphing animation */
.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}
.bg-shape {
    position: absolute;
    filter: blur(50px);
    pointer-events: none;
    transition: background 0.5s ease;
}

.shape-1 { 
    width: 380px; 
    height: 380px; 
    top: -10%; 
    left: -10%; 
    background: radial-gradient(circle, rgba(220, 225, 230, 0.22) 0%, rgba(220, 225, 230, 0) 70%);
    animation: float-morph-1 25s infinite ease-in-out; 
}
.shape-2 { 
    width: 460px; 
    height: 460px; 
    bottom: -15%; 
    right: -5%; 
    background: radial-gradient(circle, rgba(240, 240, 240, 0.18) 0%, rgba(240, 240, 240, 0) 70%);
    animation: float-morph-2 32s infinite ease-in-out; 
}
.shape-3 { 
    width: 280px; 
    height: 280px; 
    top: 35%; 
    left: 25%; 
    background: radial-gradient(circle, rgba(180, 190, 195, 0.25) 0%, rgba(180, 190, 195, 0) 70%);
    animation: float-morph-3 28s infinite ease-in-out; 
}
.shape-4 { 
    width: 320px; 
    height: 320px; 
    bottom: 20%; 
    left: -5%; 
    background: radial-gradient(circle, rgba(210, 215, 220, 0.20) 0%, rgba(210, 215, 220, 0) 70%);
    animation: float-morph-1 22s infinite ease-in-out reverse; 
}
.shape-5 { 
    width: 420px; 
    height: 420px; 
    top: 15%; 
    right: 25%; 
    background: radial-gradient(circle, rgba(190, 200, 205, 0.22) 0%, rgba(190, 200, 205, 0) 70%);
    animation: float-morph-2 36s infinite ease-in-out reverse; 
}
.shape-6 { 
    width: 220px; 
    height: 220px; 
    bottom: 5%; 
    right: 35%; 
    background: radial-gradient(circle, rgba(245, 245, 245, 0.16) 0%, rgba(245, 245, 245, 0) 70%);
    animation: float-morph-3 20s infinite ease-in-out; 
}
.shape-7 { 
    width: 340px; 
    height: 340px; 
    top: 55%; 
    left: 15%; 
    background: radial-gradient(circle, rgba(170, 180, 185, 0.24) 0%, rgba(170, 180, 185, 0) 70%);
    animation: float-morph-2 27s infinite ease-in-out; 
}
.shape-8 { 
    width: 300px; 
    height: 300px; 
    top: -5%; 
    right: 10%; 
    background: radial-gradient(circle, rgba(220, 225, 230, 0.18) 0%, rgba(220, 225, 230, 0) 70%);
    animation: float-morph-1 24s infinite ease-in-out; 
}
.shape-9 { 
    width: 330px; 
    height: 330px; 
    bottom: 40%; 
    right: 15%; 
    background: radial-gradient(circle, rgba(190, 200, 205, 0.22) 0%, rgba(190, 200, 205, 0) 70%);
    animation: float-morph-3 30s infinite ease-in-out; 
}
.shape-10 { 
    width: 270px; 
    height: 270px; 
    top: 20%; 
    left: 45%; 
    background: radial-gradient(circle, rgba(230, 235, 240, 0.16) 0%, rgba(230, 235, 240, 0) 70%);
    animation: float-morph-1 19s infinite ease-in-out; 
}
.shape-11 { 
    width: 400px; 
    height: 400px; 
    bottom: -10%; 
    left: 50%; 
    background: radial-gradient(circle, rgba(150, 160, 165, 0.26) 0%, rgba(150, 160, 165, 0) 70%);
    animation: float-morph-2 34s infinite ease-in-out; 
}
.shape-12 { 
    width: 240px; 
    height: 240px; 
    top: 45%; 
    right: 45%; 
    background: radial-gradient(circle, rgba(220, 225, 230, 0.20) 0%, rgba(220, 225, 230, 0) 70%);
    animation: float-morph-3 21s infinite ease-in-out; 
}

@keyframes float-morph-1 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    }
    33% {
        transform: translate(50px, 40px) scale(1.15) rotate(120deg);
        border-radius: 70% 30% 50% 50% / 30% 60% 40% 70%;
    }
    66% {
        transform: translate(-30px, 60px) scale(0.9) rotate(240deg);
        border-radius: 50% 60% 30% 70% / 60% 30% 70% 40%;
    }
    100% {
        transform: translate(0, 0) scale(1) rotate(360deg);
        border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    }
}

@keyframes float-morph-2 {
    0% {
        transform: translate(0, 0) scale(1.1) rotate(0deg);
        border-radius: 50% 50% 50% 50% / 40% 60% 40% 60%;
    }
    33% {
        transform: translate(-60px, -30px) scale(0.9) rotate(-120deg);
        border-radius: 30% 70% 70% 30% / 50% 30% 70% 50%;
    }
    66% {
        transform: translate(40px, -50px) scale(1.2) rotate(-240deg);
        border-radius: 60% 40% 50% 50% / 40% 70% 30% 60%;
    }
    100% {
        transform: translate(0, 0) scale(1.1) rotate(-360deg);
        border-radius: 50% 50% 50% 50% / 40% 60% 40% 60%;
    }
}

@keyframes float-morph-3 {
    0% {
        transform: translate(0, 0) scale(0.95) rotate(0deg);
        border-radius: 60% 40% 60% 40% / 50% 50% 50% 50%;
    }
    50% {
        transform: translate(60px, -60px) scale(1.1) rotate(180deg);
        border-radius: 40% 60% 40% 60% / 60% 40% 60% 40%;
    }
    100% {
        transform: translate(0, 0) scale(0.95) rotate(360deg);
        border-radius: 60% 40% 60% 40% / 50% 50% 50% 50%;
    }
}


#heroCarousel {
    position: relative !important;
    z-index: 2 !important;
}

/* Modernized details block with glassmorphism */
.carousel-course-info {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    margin-bottom: 2rem !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
    padding: 1.5rem !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2) !important;
}

@media (max-width: 576px) {
    .carousel-course-info {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 1rem !important;
    }
}

.carousel-date-item {
    display: flex !important;
    align-items: center !important;
    font-size: 0.95rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.carousel-date-item i {
    margin-right: 12px !important;
    color: var(--turquesa) !important;
    font-size: 1.1rem !important;
    width: 20px !important;
    text-align: center !important;
}

.carousel-date-item .info-label {
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 500 !important;
    min-width: 95px !important;
    margin-right: 8px !important;
    display: inline-block !important;
}

.carousel-date-item .info-value {
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Modern gradient buttons */
.btn-carousel-magenta {
    background: linear-gradient(135deg, #f8415b 0%, #ff6b7a 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 11px 30px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(248, 65, 91, 0.35) !important;
    transition: all 0.3s ease !important;
}

.btn-carousel-magenta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(248, 65, 91, 0.5) !important;
    color: #ffffff !important;
}

.btn-carousel-cyan {
    background: linear-gradient(135deg, #03cbc5 0%, #4dd4cf 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 11px 30px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(3, 203, 197, 0.35) !important;
    transition: all 0.3s ease !important;
}

.btn-carousel-cyan:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(3, 203, 197, 0.5) !important;
    color: #ffffff !important;
}

/* Carousel Controls */
.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators button {
    width: 12px;
    height: 6px;
    border-radius: 3px;
    background-color: rgba(255,255,255,0.4) !important;
    border: none;
    margin: 0 6px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-indicators button:hover {
    background-color: rgba(255,255,255,0.7) !important;
}

.carousel-indicators button.active {
    width: 32px;
    background-color: var(--white) !important;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.15) !important;
    border-radius: 50% !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 30px !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255,255,255,0.25) !important;
    transform: translateY(-50%) scale(1.1) !important;
    border-color: rgba(255,255,255,0.3) !important;
}

/* Responsividad Móvil del Carrusel */
@media (max-width: 991.98px) {
    .animated-background {
        display: none !important;
    }
    .carousel-control-prev,
    .carousel-control-next {
        width: 45px !important;
        height: 45px !important;
        margin: 0 10px !important;
    }
    .carousel-image {
        margin-top: 2rem !important;
    }
    .carousel-image img {
        height: 300px !important; /* Altura ajustada para tabletas */
    }
}

@media (max-width: 768px) {
    .carousel-title {
        font-size: 1.85rem !important;
        margin-bottom: 1rem !important;
    }
    .carousel-description {
        font-size: 0.95rem !important;
        margin-bottom: 1.25rem !important;
    }
    .carousel-content {
        padding: 3rem 0 !important;
        min-height: auto !important;
    }
    .carousel-actions {
        margin-top: 1.5rem !important;
        flex-direction: column !important;
        gap: 12px !important;
    }
    .carousel-actions .btn {
        width: 100% !important;
        text-align: center !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 575.98px) {
    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }
    .carousel-indicators {
        bottom: 15px !important;
    }
    .carousel-content {
        padding: 2rem 0 !important;
    }
    .carousel-image img {
        height: 220px !important; /* Altura compacta para móviles */
    }
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--dark-color);
}

.about-section {
    background: var(--white);
    margin-top: 80px;
}

.about-content {
    padding: 2rem 0;
}

.about-logo {
    text-align: center;
}

.about-logo-img {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.about-logo-img:hover {
    transform: scale(1.05);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--gris-oscuro);
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Services Section */
.services-section {
    background: var(--light-color);
}

/* Services Overview Section */
.services-overview {
    background: var(--white);
}

.service-overview-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--light-gray);
}

.service-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Detailed Services Section */
.detailed-services {
    background: var(--light-color);
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-icon {
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary) !important;
}

/* Clients Section */
.clients-section {
    background: var(--white);
}

.client-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.client-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.client-link:hover {
    text-decoration: none;
    color: inherit;
}

.client-logo {
    margin-bottom: 1.5rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-card:hover .client-logo img {
    filter: grayscale(0%);
}

.client-placeholder {
    height: 80px;
    width: 100%;
    background: var(--light-gray);
    border-radius: 10px;
    color: var(--medium-gray);
}

.client-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.client-info p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin: 0;
    line-height: 1.4;
}

.no-clients {
    padding: 3rem;
    color: var(--medium-gray);
}

.no-clients i {
    margin-bottom: 1rem;
    color: var(--light-gray);
}

/* Responsive para clientes */
@media (max-width: 768px) {
    .client-card {
        padding: 1.5rem;
    }
    
    .client-logo {
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .client-info h5 {
        font-size: 1rem;
    }
    
    .client-info p {
        font-size: 0.8rem;
    }
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-image {
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-image:hover img {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-card p {
    color: var(--gris-oscuro);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Courses Section */
.course-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-image {
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-content {
    padding: 1.5rem;
}

.course-content h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.course-content p {
    color: var(--gris-oscuro);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.course-relator {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: var(--light-color);
    border-radius: 10px;
}

.relator-thumb {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 0.5rem;
    object-fit: cover;
}

.course-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.course-actions .btn {
    flex: 1;
    min-width: 120px;
}

/* News Section */
.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-date i {
    margin-right: 0.5rem;
}

.news-content h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.news-content p {
    color: var(--gris-oscuro);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
}

.footer-logo .logo-text {
    color: var(--turquesa);
}

.footer-logo .logo-number {
    color: var(--rojo);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background: var(--rojo);
    color: var(--white);
}

/* Pragma Logo */
.pragma-logo {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.pragma-logo-img {
    height: 30px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.pragma-logo-img:hover {
    opacity: 1;
}

/* Button Styles */
.btn {
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--rojo);
    border: none;
    color: var(--white);
}

.btn-primary:hover {
    background: var(--gris-profundo);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-primary {
    background: var(--rojo);
    border: none;
    color: var(--white);
}

.btn-outline-primary:hover {
    background: var(--gris-profundo);
    color: var(--white);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .relator-info {
        flex-direction: column;
        text-align: center;
    }
    
    .relator-avatar {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .pragma-logo {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .pragma-logo-img {
        height: 25px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .service-card,
    .course-card,
    .news-card {
        margin-bottom: 1rem;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Course Details Page - Comprehensive styling for individual course pages */
.course-details {
    background-color: var(--light-color);
}

.course-title {
    color: var(--dark-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

.course-meta {
    margin-bottom: 1rem;
}

.course-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.course-main-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.course-main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.course-sidebar {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 100px;
}

.relator-card {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.relator-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.relator-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.relator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.relator-details h5 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.relator-bio {
    font-size: 0.9rem;
    color: var(--gris-oscuro);
    margin-top: 0.5rem;
}

.price-info {
    text-align: center;
    padding: 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 0.5rem;
}

.action-buttons .btn {
    margin-bottom: 0.5rem;
}

.course-details-info {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
}

.course-details-info ul li {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.course-details-info ul li:last-child {
    border-bottom: none;
}

.program-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.related-courses {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.related-courses h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.related-courses .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-courses .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.related-courses .course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.related-courses .price {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Breadcrumb Styles */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--dark-color);
}

/* Responsive design adjustments for course details page */
@media (max-width: 768px) {
    .course-sidebar {
        position: static;
        margin-top: 2rem;
    }
    
    .relator-info {
        flex-direction: column;
        text-align: center;
    }
    
    .relator-avatar {
        margin: 0 auto 1rem;
    }
    
    .price {
        font-size: 1.5rem;
    }
}

/* News Page Styles */
.news-section {
    background-color: var(--light-color);
}

.news-article {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.news-header {
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 1rem;
}

.news-title {
    color: var(--dark-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--gris-oscuro);
    font-size: 0.9rem;
}

.news-meta > div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.news-sidebar {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 100px;
}

.related-news-item {
    padding: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.related-news-item:last-child {
    border-bottom: none;
}

.related-news-item h6 a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
}

.related-news-item h6 a:hover {
    color: var(--primary-color);
}

.quick-links ul li {
    margin-bottom: 0.5rem;
}

.quick-links ul li a {
    color: var(--dark-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.quick-links ul li a:hover {
    color: var(--primary-color);
}

.social-sharing {
    border-top: 2px solid var(--light-color);
    padding-top: 2rem;
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Responsive adjustments for news pages */
@media (max-width: 768px) {
    .news-sidebar {
        position: static;
        margin-top: 2rem;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .social-buttons .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Placeholder styles for missing images */
.carousel-placeholder,
.course-placeholder,
.news-placeholder,
.service-placeholder {
    transition: all 0.3s ease;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.carousel-placeholder:hover,
.course-placeholder:hover,
.news-placeholder:hover,
.service-placeholder:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.carousel-placeholder i,
.course-placeholder i,
.news-placeholder i,
.service-placeholder i {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.carousel-placeholder:hover i,
.course-placeholder:hover i,
.news-placeholder:hover i,
.service-placeholder:hover i {
    opacity: 1;
}

/* Contact Page Premium Styles */
.contact-section {
    background-color: #fbfcfc;
}

.contact-card {
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 35px rgba(25, 33, 33, 0.06) !important;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
}

.contact-card-form-header {
    background: linear-gradient(135deg, var(--gris-profundo) 0%, var(--gris-oscuro) 100%) !important;
    color: var(--white) !important;
    border: none !important;
    padding: 1.5rem 2rem !important;
}

.contact-card-info-header {
    background: linear-gradient(135deg, var(--turquesa) 0%, var(--light-turquesa) 100%) !important;
    color: var(--white) !important;
    border: none !important;
    padding: 1.5rem 2rem !important;
}

.contact-form .form-control {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    color: var(--gris-profundo);
}

.contact-form .form-control:focus {
    border-color: var(--turquesa);
    box-shadow: 0 0 0 4px rgba(3, 203, 197, 0.15);
    outline: none;
}

.contact-form label {
    font-weight: 500;
    color: var(--gris-oscuro);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    transition: transform 0.25s ease;
    text-decoration: none;
    color: inherit;
}

.contact-info-item:hover {
    transform: translateX(5px);
    color: inherit;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: rgba(3, 203, 197, 0.08);
    color: var(--turquesa);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 1.25rem;
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-info-icon {
    background: var(--turquesa);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(3, 203, 197, 0.3);
}

.contact-info-text h6 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--medium-gray);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-info-text p {
    font-size: 1.05rem;
    color: var(--gris-profundo);
    font-weight: 500;
    margin: 0;
}

.btn-contact-submit {
    background: var(--gradient-secondary) !important;
    color: var(--white) !important;
    border: none !important;
    padding: 0.85rem 2.5rem !important;
    border-radius: 30px !important;
    font-size: 1rem !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 8px 20px rgba(248, 65, 91, 0.25) !important;
    transition: all 0.3s ease !important;
    width: auto !important;
}

.btn-contact-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 24px rgba(248, 65, 91, 0.35) !important;
}

.btn-contact-submit:active {
    transform: translateY(0) !important;
}

.social-sharing-section h6 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--medium-gray);
    font-weight: 600;
}

.social-sharing-links .social-sharing-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    margin-right: 0.75rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.social-sharing-links .social-sharing-btn.facebook { background: #3b5998; }
.social-sharing-links .social-sharing-btn.instagram { background: #e1306c; }
.social-sharing-links .social-sharing-btn.tiktok { background: #000000; }
.social-sharing-links .social-sharing-btn.linkedin { background: #0077b5; }
.social-sharing-links .social-sharing-btn.youtube { background: #ff0000; }

.social-sharing-links .social-sharing-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    filter: brightness(1.1);
} 