/* Header Scroll Effect */
.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Animation Classes */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Back to Top Button */
/* .back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
} */

/* Responsive Design */
@media (max-width: 768px) {
    .top-contact span {
        display: block;
        margin-bottom: 5px;
    }
    
    .top-social {
        text-align: right;
    }
    
    .logo-text h1 {
        font-size: 24px;
    }
    
    .logo-text p {
        font-size: 11px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }
    
    .footer-bottom .row {
        text-align: center;
    }
}

@media (max-width: 576px) {
    /* .logo-img {
        height: 40px;
    } */
    
    .logo-text h1 {
        font-size: 20px;
    }
    
    .footer-widget {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .contact-item {
        justify-content: center;
    }
}

/* Home Page Styles */

/* Dynamic Banners Section */


.hero-background {
    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="heroPattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="2" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="1" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23heroPattern)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

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

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

/* .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
} */

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}

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

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

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
/* Quick Preview Section */
.quick-preview-section {
    padding: 4rem 0;
    background: #f8f9fa;
    position: relative;
    z-index: 100 !important;
}

@media (max-width: 768px) {
    .quick-preview-section {
        padding: 2rem 0;
    }
}

@media (max-width: 576px) {
    .quick-preview-section {
        padding: 1.5rem 0;
    }
}

.quick-preview-content {
    text-align: center;
}

/* Videos Carousel */
/* .videos-carousel {
    position: relative;
    max-width: 1200px;
    margin: 3rem auto 0;
    overflow: hidden;
}

.videos-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.videos-grid::-webkit-scrollbar {
    display: none;
} */

/* Course Video Cards - New Design */
/* .course-video-card {
    flex: 0 0 320px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 480px;
} */
/* .course-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
} */

/* Card Header */
/* .card-header {
    padding: 0.75rem 1rem;
    background: #FFD700;
    text-align: center;
} */

/* .course-badge {
    font-size: 0.8rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
} */

/* Card Image */
/* .card-image {
    position: relative;
    height: 100%;
    background: white;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
} */

/* .card-image iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
} */

/* Video Thumbnail */
    /* .video-thumbnail {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 0.3s ease;
        background: #f8f9fa;
        border-radius: 0;
        display: block;
    } */

/* Video Close Button Hover Effect */
.video-close-btn:hover {
    background: rgba(0,0,0,0.9) !important;
    transform: scale(1.1);
}

/* Video Modal Styles */
#videoModal .modal-dialog {
    max-width: 90vw;
    margin: 1.75rem auto;
}

@media (max-width: 768px) {
    #videoModal .modal-dialog {
        max-width: 95vw;
        margin: 0.5rem auto;
    }
    
    #videoModal .modal-header {
        padding: 0.75rem 1rem;
    }
    
    #videoModal .modal-title {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    #videoModal .modal-dialog {
        max-width: 98vw;
        margin: 0.25rem auto;
    }
    
    #videoModal .modal-header {
        padding: 0.5rem 0.75rem;
    }
    
    #videoModal .modal-title {
        font-size: 0.9rem;
    }
}

#videoModal .modal-content {
    background: #000;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

#videoModal .modal-header {
    background: #000;
    color: white;
    border-bottom: 1px solid #333;
    padding: 1rem 1.5rem;
}

#videoModal .modal-title {
    color: white;
    font-weight: 600;
}

#videoModal .btn-close {
    filter: invert(1);
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive adjustments for video cards */
/* @media (max-width: 1200px) {
    .videos-carousel {
        max-width: 100%;
        margin: 2rem auto 0;
    }
    
    .videos-grid {
        gap: 1.2rem;
    }
    
    .course-video-card {
        flex: 0 0 300px;
        height: 450px;
    }
    
    .card-image {
        height: 300px;
    }
    
    .vertical-video {
        height: 450px !important;
    }
    
    .vertical-video .card-image {
        height: 300px !important;
    }
} */

/* @media (max-width: 768px) {
    .quick-preview-section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .videos-carousel {
        margin: 1.5rem auto 0;
    }
    
    .videos-grid {
        gap: 1rem;
        padding: 0.5rem 0;
    }
    
    .course-video-card {
        flex: 0 0 280px;
        height: 420px;
        overflow: hidden;
        border-radius: 15px;
    }
    
    .card-image {
        height: 100%;
        overflow: hidden;
        border-radius: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
    }
    
    .video-thumbnail {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 0;
        display: block;
    }
    
    .vertical-video {
        height: 420px !important;
        overflow: hidden;
    }
    
    .vertical-video .card-image {
        height: 100% !important;
        overflow: hidden;
    }
    
    .play-overlay {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .prev-btn {
        left: -20px;
    }
    
    .next-btn {
        right: -20px;
    }
    
    #videoModal .modal-dialog {
        max-width: 95vw;
        margin: 0.5rem auto;
    }
} */

/* @media (max-width: 576px) {
    .quick-preview-section {
        padding: 1.5rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .videos-carousel {
        margin: 1rem auto 0;
    }
    
    .videos-grid {
        gap: 0.8rem;
        padding: 0.3rem 0;
    }
    
    .course-video-card {
        flex: 0 0 260px;
        height: 380px;
        overflow: hidden;
        border-radius: 15px;
    }
    
    .card-image {
        height: 100%;
        overflow: hidden;
        border-radius: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
    }
    
    .video-thumbnail {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 0;
        display: block;
    }
    
    .vertical-video {
        height: 380px !important;
        overflow: hidden;
    }
    
    .vertical-video .card-image {
        height: 240px !important;
        overflow: hidden;
    }
    
    .card-header {
        padding: 0.5rem 0.75rem;
    }
    
    .course-badge {
        font-size: 0.7rem;
    }
    
    .play-overlay {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .prev-btn {
        left: -17px;
    }
    
    .next-btn {
        right: -17px;
    }
} */

/* @media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .course-video-card {
        flex: 0 0 240px;
        height: 350px;
        overflow: hidden;
        border-radius: 15px;
    }
    
    .card-image {
        height: 100%;
        overflow: hidden;
        border-radius: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
    }
    
    .video-thumbnail {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 0;
        display: block;
    }
    
    .vertical-video {
        height: 350px !important;
        overflow: hidden;
    }
    
    .vertical-video .card-image {
        height: 220px !important;
        overflow: hidden;
    }
    
    .play-overlay {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .nav-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .prev-btn {
        left: -15px;
    }
    
    .next-btn {
        right: -15px;
    }
} */


/* Course-specific colors */
.computer-repair .card-header {
    background: #FFD700;
}

.drywall .card-header {
    background: #FFA500;
}

.gas-fitter .card-header {
    background: #32CD32;
}

.bags-making .card-header {
    background: #FF69B4;
}

/* Vertical Video Card */
/* .vertical-video {
    height: 480px !important;
    display: flex;
    flex-direction: column;
} */

/* .vertical-video .card-image {
    height: 100% !important;
    flex: 1;
} */

/* .vertical-video .card-image iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
} */

/* Card Content */
.card-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* .course-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 1rem 0;
    text-align: center;
    line-height: 1.3;
} */

.watch-video-btn {
    background: #8B4513;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    text-decoration: none;
    display: inline-block;
}

.watch-video-btn:hover {
    background: #A0522D;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* Card Footer */
.card-footer {
    padding: 0.5rem 1rem;
    background: #F5F5F5;
    text-align: right;
}

.asd-logo {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e3a8a;
}

/* Course-specific button colors */
.computer-repair .watch-video-btn {
    background: #8B4513;
}

.computer-repair .watch-video-btn:hover {
    background: #A0522D;
}

.drywall .watch-video-btn {
    background: #654321;
}

.drywall .watch-video-btn:hover {
    background: #8B4513;
}

.gas-fitter .watch-video-btn {
    background: #006400;
}

.gas-fitter .watch-video-btn:hover {
    background: #228B22;
}

.bags-making .watch-video-btn {
    background: #C71585;
}

.bags-making .watch-video-btn:hover {
    background: #DB7093;
}

/* Navigation Buttons */
.videos-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
}

/* .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.nav-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
} */

/* .prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
} */

/* Responsive Design for Videos */
/* @media (max-width: 768px) {
    .videos-grid {
        gap: 1rem;
    }
    
    .video-item {
        flex: 0 0 250px;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .prev-btn {
        left: -20px;
    }
    
    .next-btn {
        right: -20px;
    }
} */

/* @media (max-width: 576px) {
    .video-item {
        flex: 0 0 220px;
    }
    
    .video-title {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
} */



/* Section Headers */

/* .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
} */

/* .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 2px;
} */

/* Courses Section */
.course-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.course-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.course-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    object-fit: contain;
}

.course-placeholder i {
    font-size: 3rem;
    opacity: 0.7;
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(102, 126, 234, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.course-content {
    padding: 1.5rem;
}

/* .course-category {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
} */

/* .course-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    line-height: 1.4;
} */

/* .course-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
} */

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

/* .course-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
} */

/* .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e3a8a;
} */

/* Categories Section */
/* .categories-section {
    padding: 5rem 0;
    background: #f8f9fa;
} */

.category-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.category-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.category-link {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.category-link:hover {
    color: #3b82f6;
    transform: translateX(5px);
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: white;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.feature-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Map Section */
.map-section {
    background: #f8f9fa;
}

.map-container {
    width: 100%;
    overflow: hidden;
}



/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    /* .section-title {
        font-size: 2rem;
    } */
    
    .cta-title {
        font-size: 2rem;
    }
    
    .map-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* .section-title {
        font-size: 1.5rem;
    } */
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Course Cards */
/* .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
} */

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

/* .card-img-top {
    height: 200px;
    object-fit: cover;
} */

/* .card-body {
    padding: 1.5rem;
} */

.card-footer {
    border-top: none;
    background: transparent;
    padding: 1rem 1.5rem 1.5rem;
}

/* Buttons */
/* .btn-outline-primary {
    border-color: #1e3a8a;
    color: #1e3a8a;
} */
    /* .btn-outline-primary:hover {
        background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
        border-color: transparent;
    } */

/* Forms */
/* .form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #1e3a8a;
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
} */

/* Tables */
.table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.table thead th {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border: none;
    font-weight: 600;
    padding: 1rem;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Footer */
footer {
    margin-top: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 400px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .card-img-top {
        height: 150px;
    }
}

/* Loading Spinner */
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1e3a8a;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

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

/* Course Specific Styles */
.course-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 80px 0;
    position: relative;
}

.course-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

/* .course-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
} */

.course-hero-copete {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.course-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.course-highlights {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.highlight-item i {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Course Card */
/* .course-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    color: #333;
} */

/* .course-price {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
} */

/* .price-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
} */

/* .price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
} */

.payment-options {
    margin-bottom: 2rem;
}

.payment-options h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.payment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.payment-label {
    font-size: 0.9rem;
    color: #666;
}

.payment-amount {
    font-weight: 600;
    color: #333;
}

/* Course Image Section */
/* Course Banner Section */
/* .course-banner-section {
    position: relative;
    overflow: hidden;
}

.course-banner-item {
    height: 50vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.course-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
}

.course-banner-content {
    color: white;
    z-index: 2;
} */

/* .course-banner-copete {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
} */

/* .course-banner-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
} */

.course-banner-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
    font-weight: 500;
}

.course-banner-highlights {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.course-banner-highlights .highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.course-banner-highlights .highlight-item i {
    color: #1e3a8a;
    font-size: 1rem;
}

.course-banner-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

/* Course Card Image */
/* .course-card-image {
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.course-card-image .card-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: center;
} */

/* Price Display */
/* .price-display {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e9ecef;
}

.price-display .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.price-display .price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #28a745;
    margin-left: 0.2rem;
} */

/* Sidebar Price Display */
/* .sidebar-card .price-display {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.sidebar-card .price-display .currency {
    font-size: 1.3rem;
}

.sidebar-card .price-display .price-amount {
    font-size: 2rem;
} */

/* .sidebar-card .btn-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
} */

/* .sidebar-card .btn-primary:hover {
    background: linear-gradient(135deg, #1e40af 0%, #6a5acd 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
} */

/* Sidebar Payment Options */
/* .sidebar-card .payment-options {
    margin-bottom: 1.5rem;
}

.sidebar-card .payment-options h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
    text-align: center;
}

.sidebar-card .payment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.sidebar-card .payment-item:last-child {
    border-bottom: none;
} */

/* .sidebar-card .payment-label {
    font-size: 0.85rem;
    color: #666;
} */

/* .sidebar-card .payment-amount {
    font-weight: 600;
    color: #333;
} */

/* Button */
.course-banner-card .btn-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

/* .course-banner-card .btn-primary:hover {
    background: linear-gradient(135deg, #1e40af 0%, #6a5acd 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
} */

/* Course Info Section */
.course-info-section {
    margin-top: 1rem;
}

.info-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
    text-align: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

/* Course Info List */
.course-info-list {
    margin-top: 0.5rem;
}

.course-info-list .info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    padding: 0.3rem 0;
}

.course-info-list .info-item:last-child {
    margin-bottom: 0;
}

.course-info-list .info-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-info-list .info-value {
    font-size: 0.85rem;
    color: #333;
    font-weight: 500;
    text-align: right;
    max-width: 60%;
}

/* Breadcrumb styles for banner */
/* .course-banner-section .breadcrumb {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    backdrop-filter: blur(10px);
}

.course-banner-section .breadcrumb-item a {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
}

.course-banner-section .breadcrumb-item.active {
    color: #333;
    font-weight: 600;
}

.course-banner-section .breadcrumb-item + .breadcrumb-item::before {
    color: #666;
} */

/* Course Content */
.course-content {
    padding: 4rem 0;
}

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

/* .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
} */

/* .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 2px;
} */

/* Introduction */
/* .introduction-content {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
} */

.intro-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.intro-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.5rem 0;
}

.intro-item i {
    color: #28a745;
    font-size: 1.1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.intro-item p {
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Custom Accordion */
/* .custom-accordion .accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.custom-accordion .accordion-button {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #1e40af 0%, #6a4190 100%);
    color: white;
}

.custom-accordion .accordion-button:focus {
    box-shadow: none;
    border: none;
}

.custom-accordion .accordion-body {
    padding: 2rem;
    background: white;
} */

/* Plan Content */
.plan-content {
    line-height: 1.8;
    font-size: 1rem;
}

.plan-content.single-column {
    max-width: 800px;
    margin: 0 auto;
}

.plan-content.two-columns {
    column-count: 2;
    column-gap: 3rem;
    column-rule: 2px solid #e9ecef;
}

.plan-content.two-columns p {
    margin-bottom: 1.5rem;
    break-inside: avoid;
}

/* Materias */
/* .materia-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
} */

/* .unidad-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
} */

/* .unidad-titulo {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 1rem;
} */

/* .unidad-descripcion p {
    margin: 0;
    line-height: 1.6;
    color: #666;
} */

/* Dirigido */

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

.dirigido-item i {
    color: #17a2b8;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.dirigido-item p {
    margin: 0;
    line-height: 1.6;
}

/* Certificado */
/* .certificado-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.certificado-item i {
    color: #ffc107;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.certificado-item p {
    margin: 0;
    line-height: 1.6;
}

.certificado-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.certificado-logo {
    max-height: 50px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    border-radius: 5px;
    padding: 0.5rem;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.certificado-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
} */

/* Sidebar */
/* .course-sidebar {
    position: relative;
} */

/* .sidebar-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
} */

/* .sidebar-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
} */

/* .course-info-compact {
    margin-bottom: 1.5rem;
} */

/* .info-list-compact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
} */
/* 
.info-item-compact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #1e3a8a;
}

.info-item-compact i {
    color: #1e3a8a;
    font-size: 1rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.info-item-compact span {
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.4;
} */

.course-info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.info-item i {
    color: #1e3a8a;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.info-item div {
    flex: 1;
}

.info-item strong {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.2rem;
}

.info-item span {
    color: #333;
    font-weight: 500;
}

/* .featured-card {
    background: linear-gradient(135deg, #ffc107 0%, #ff8c00 100%);
    color: white;
}

.featured-content {
    text-align: center;
}

.featured-content i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.featured-content h6 {
    margin: 0;
    font-weight: 600;
} */




/* Admin Styles */
.admin-form {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section h5 {
    color: #1e3a8a;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #1e3a8a;
}

/* Unidades Accordion */
/* #unidadesAccordion .accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

#unidadesAccordion .accordion-header {
    background: #f8f9fa;
}

#unidadesAccordion .accordion-button {
    background: #f8f9fa;
    color: #333;
    border: none;
    font-weight: 600;
    padding: 1rem 1.5rem;
}

#unidadesAccordion .accordion-button:not(.collapsed) {
    background: #1e3a8a;
    color: white;
}

#unidadesAccordion .accordion-button:focus {
    box-shadow: none;
    border: none;
}

#unidadesAccordion .accordion-body {
    background: white;
    padding: 1.5rem;
}

#unidadesAccordion .unidad-descripcion {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.unidades-list.single-column .unidad-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.unidades-list.two-columns .unidad-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    height: 100%;
}

.unidades-list.two-columns .unidad-titulo {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.materia-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #1e3a8a;
}

.unidad-titulo {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.unidad-descripcion {
    line-height: 1.6;
    color: #666;
} */

/* Estilos para la página Nosotros */
.bg-gradient-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

/* ===== Política de Privacidad ===== */
.privacy-page {
    background: #f8fafc;
}
.privacy-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    position: relative;
    padding: 48px 0;
}
.privacy-hero-overlay {
    position: relative;
    z-index: 1;
}

.privacy-hero .breadcrumb-section .breadcrumb,
.privacy-hero .breadcrumb a,
.privacy-hero .breadcrumb-item,
.privacy-hero .breadcrumb-item.active {
    color: #fff;
}
.privacy-hero .breadcrumb { justify-content: flex-start; }
.privacy-hero .breadcrumb-section {  padding-left: 0; margin-bottom: 5px;}
@media (min-width: 992px) {
    .privacy-hero .breadcrumb-section { padding-left: 14.5%; }
}
.privacy-hero .breadcrumb .breadcrumb-item { display: inline-flex; align-items: center; }
.privacy-hero .breadcrumb a:hover { color: #fff; text-decoration: underline; }
.privacy-hero h1 { color: #fff; }
.privacy-hero .hero-center { text-align: center; }
.privacy-hero .privacy-badge {
    margin-left: auto;
    margin-right: auto;
    margin-top: 8px;
}
.privacy-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,.75);
}
.privacy-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(0,0,0,.35), rgba(0,0,0,.35)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="p" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="white" opacity="0.08"/><circle cx="75" cy="75" r="2" fill="white" opacity="0.08"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.08"/><circle cx="10" cy="60" r="1" fill="white" opacity="0.08"/><circle cx="90" cy="40" r="1" fill="white" opacity="0.08"/></pattern></defs><rect width="100" height="100" fill="url(%23p)"/></svg>');
    opacity: 1;
}
.privacy-badge {
    display: inline-block;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
}
.hero-logo-wrap { display: flex; justify-content: center; }
.hero-logo { max-height: 150px; filter: drop-shadow(0 8px 24px rgba(0,0,0,.35)); margin-top: 12px; }
.privacy-card {
    border-radius: 16px;
}
.privacy-card .section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e3a8a;
}
.privacy-list {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
}
.privacy-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    color: #475569;
    text-align: center;
}
.privacy-list i { color: #3b82f6; }
.privacy-page .card {
    border: none;
    border-radius: 16px;
}
.privacy-page .card-body {
    padding: clamp(24px, 3vw, 48px);
}
.privacy-page .lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #334155;
}
.privacy-page p {
    color: #475569;
    line-height: 1.75;
    font-size: 1rem;
}
.privacy-page .btn.btn-primary {
    border-radius: 999px;
    padding: .8rem 1.5rem;
    box-shadow: 0 8px 20px rgba(30,58,138,.25);
}
.privacy-page .btn.btn-primary:hover {
    transform: translateY(-2px);
}


/* .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
} */

/* .text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
} */

.counter-item {
    padding: 1rem;
}

.counter-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
}

.counter-item i {
    color: #1e3a8a;
}

/* .card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
}

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

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
} */

/* Responsive para la página Nosotros */
@media (max-width: 768px) {
    .counter-item h3 {
        font-size: 2rem;
    }
    
    /* .section-title {
        font-size: 1.75rem;
    } */
    
    .hero-section {
        padding: 3rem 0 !important;
    }
}

@media (max-width: 576px) {
    .counter-item h3 {
        font-size: 1.75rem;
    }
    
    /* .section-title {
        font-size: 1.5rem;
    } */
    
    .hero-section {
        padding: 2rem 0 !important;
    }
}

/* Mega Menu Styles - Simplified */


/* Mobile responsive for mega menu */
@media (max-width: 768px) {
    .mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: #f8f9fa;
        margin-top: 10px;
    }
    
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: #e9ecef;
        margin-left: 20px;
        margin-top: 5px;
    }
    
    .dropdown-submenu > a {
        border-bottom: none;
    }
    
    .dropdown-submenu > a i {
        transform: rotate(90deg);
    }
    
    .dropdown-submenu:hover > a i {
        transform: rotate(90deg) translateX(3px);
    }
}

/* Certificaciones Section */

.certification-logo {
    transition: transform 0.3s ease;
}

.certification-logo:hover {
    transform: translateY(-5px);
}

.certification-logo .bg-light {
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.certification-logo:hover .bg-light {
    border-color: #007bff;
    box-shadow: 0 5px 15px rgba(0,123,255,0.2);
}

/* Contact Form Section */
/* .contact-form-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-form-section .card {
    border: none;
    border-radius: 15px;
}

.contact-form-section .form-control,
.contact-form-section .form-select {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.contact-form-section .form-control:focus,
.contact-form-section .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.contact-form-section .input-group-text {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-right: none;
}

.contact-form-section .form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.contact-form-section .btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
} */

/* .contact-form-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.4);
} */

/* Small Course Cards */


/* Tags superpuestos en la imagen */





/* Efecto hover para expandir las etiquetas */



/* Course Price Section */


/* .course-card-small .discount-badge {
    margin-top: 0.5rem;
    text-align: center;
}

.course-card-small .discount-badge .badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
} */




/* Course Price with Discount */
/* .course-card-small .btn-mas-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    color: white;
    text-decoration: none;
    background: #1e40af;
}

.course-card-small .btn-mas-info i {
    font-size: 0.8rem;
} */

/* Route-specific styles */

/* .course-card-small .course-description {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    text-align: left;
    padding: 0 0.5rem;
}

.course-card-small .course-meta .nivel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
} */

/* Fixed WhatsApp Button */
.fixed-whatsapp-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.whatsapp-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: white;
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
}

/* Responsive para botón WhatsApp */
@media (max-width: 768px) {
    .fixed-whatsapp-button {
        bottom: 1rem;
        right: 1rem;
    }
    
    .whatsapp-button {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
}

/* Ajustar espaciado de botones de Kommo - solo margen vertical */
[class*="kommo"],
[id*="kommo"],
iframe[src*="kommo"],
iframe[src*="amocrm"] {
    z-index: 1000 !important;
}

/* ===== RUTAS DE APRENDIZAJE ===== */

/* Routes Section */
/* .routes-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
} */

.route-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

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

.route-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.route-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

/* .discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
} */

.route-content {
    padding: 1.5rem;
}

.route-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.route-description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.route-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.route-duration,
.route-level {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.route-duration i,
.route-level i {
    color: #3b82f6;
    font-size: 0.8rem;
}

.route-price-section {
    margin-bottom: 1.5rem;
}

.route-price {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.route-price .price-currency {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.route-price .price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
}

.route-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.route-actions .btn-mas-info {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    background: #1e3a8a;
    color: white;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 2px 4px rgba(30, 58, 138, 0.2);
    flex: 1;
}

.route-actions .btn-mas-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    color: white;
    text-decoration: none;
    background: #1e40af;
}

.route-actions .btn-mas-info i {
    font-size: 0.8rem;
}

.route-actions .btn-comprar-directo {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(30, 58, 138, 0.2);
    flex: 1;
    cursor: pointer;
}

.route-actions .btn-comprar-directo:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #1e40af 0%, #6a5acd 100%);
}

.route-actions .btn-comprar-directo:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3);
}

/* Responsive para rutas */
@media (max-width: 768px) {
    /* .routes-section {
        padding: 2rem 0;
    } */
    
    .route-card {
        margin-bottom: 1.5rem;
    }
    
    .route-content {
        padding: 1.2rem;
    }
    
    .route-title {
        font-size: 1.2rem;
    }
    
    .route-details {
        gap: 0.8rem;
    }
    
    .route-actions {
        flex-direction: column;
        gap: 0.6rem;
    }
    
    .route-actions .btn-mas-info,
    .route-actions .btn-comprar-directo {
        width: 100%;
        justify-content: center;
    }
}

/* Course detail page discount styles */
/* .discount-badge-course {
    margin-bottom: 10px;
}
    .price-with-discount-large {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .original-price-large {
        font-size: 1.1rem;
        color: #999;
        text-decoration: line-through;
        font-weight: normal;
    }
    .current-price-large {
        display: flex;
        align-items: baseline;
        gap: 5px;
    }
    .current-price-large .currency {
        font-size: 1.2rem;
        color: #666;
        font-weight: normal;
    }
    .current-price-large .price-amount {
        font-size: 2rem;
        color: #28a745;
        font-weight: bold;
    } */



/* Estudiar en Santo Domingo - Cards uniformes */

/* .estudiar-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 200px;
}*/

/* .estudiar-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.estudiar-icon {
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.estudiar-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.estudiar-text {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.estudiar-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
    font-weight: 500;
}  */


/* Asegurar que todas las columnas tengan la misma altura */
/* .estudiar-content .row {
    display: flex;
    flex-wrap: wrap;
}

.estudiar-content .col-md-4 {
    display: flex;
    margin-bottom: 1rem;
}  */

/* Botón para ocultar/mostrar top bar - SOLO PARA ADMINS */
.topbar-toggle-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
}

.topbar-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.topbar-toggle-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}