/* Reusing your existing styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Shared animations moved to css/styles.css */

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 0;
    height: 0.125rem;
    background-color: #f15a24;
    transition: all 0.3s;
}

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

.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: rgba(30, 41, 59, 0.85) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.sticky-nav.scrolled {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
}

#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

#mobile-menu.open {
    max-height: 500px;
    display: block;
}

@media (min-width: 768px) {
    #mobile-menu {
        max-height: none;
        overflow: visible;
        display: flex !important;
    }
}

.social-icon {
    transition: all 0.3s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(241, 90, 36, 0.1);
}

.social-icon:hover {
    background: #f15a24;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(241, 90, 36, 0.3);
}

.apply-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: block;
}

.apply-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

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

.bg-darkBlue { background-color: #0f172a; }
.bg-darkGray { background-color: #1e293b; }
.text-primary { color: #f15a24; }
.bg-primary { background-color: #f15a24; }
.text-lightGray { color: #64748b; }

/* Course details specific styles */
.module-item {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.module-item:hover {
    border-left-color: #f15a24;
    background-color: rgba(241, 90, 36, 0.05);
}

.instructor-card {
    transition: all 0.3s ease;
}

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

.curriculum-accordion {
    transition: all 0.3s ease;
}

.curriculum-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.curriculum-accordion.active .curriculum-content {
    max-height: 1000px;
}

.curriculum-accordion.active .fa-chevron-down {
    transform: rotate(180deg);
}

.stats-card {
    transition: all 0.3s ease;
}

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

/* WhatsApp Button Styles */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1101;
    text-decoration: none;
    max-width: 220px;
}

.whatsapp-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

.whatsapp-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.whatsapp-text {
    overflow: hidden;
    min-width: 100px;
}

.whatsapp-text-inner {
    display: flex;
    flex-direction: column;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    line-height: 1.3;
}

.whatsapp-text-inner.show-second {
    transform: translateY(-100%);
}

.whatsapp-hint {
    font-size: 12px;
    opacity: 0.9;
}

.whatsapp-message {
    font-size: 12px;
    opacity: 0.9;
    white-space: nowrap;
}

.whatsapp-btn:hover .whatsapp-icon {
    transform: rotate(20deg) scale(1.1);
}

/* Pulsing animation for attention */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    }
    50% {
        box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
    }
    100% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    }
}

.whatsapp-btn.pulse {
    animation: whatsapp-pulse 2s ease-in-out infinite;
}

/* Mobile styles */
@media (max-width: 760px) {
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 18px;
        font-size: 13px;
        max-width: 150px;
    }
    
    .whatsapp-icon {
        width: 20px;
        height: 20px;
        font-size: 16px;
    }
    
    .whatsapp-hint {
        font-size: 11px;
    }
    
    .whatsapp-message {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .whatsapp-btn {
        bottom: 60px;
        right: 6px;
        padding: 10px 15px;
        font-size: 12px;
        max-width: 120px;
        gap: 8px;
    }
    
    .whatsapp-icon {
        width: 14px;
        height: 14px;
        font-size: 14px;
    }
    
    .whatsapp-hint {
        font-size: 8px;
        color:#c3ff00;
    }
    
    .whatsapp-message {
        font-size: 10px;
    }
}