/* ========================================
   GLOBAL STYLES
   ======================================== */

* {
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #FFFFFF;
    color: #111;
    overflow-x: hidden;
}

/* ========================================
   NAVBAR STYLES
   ======================================== */

.navbar {
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.2rem !important;
    color: #111 !important;
    letter-spacing: -0.5px;
}

.nav-link {
    color: #111 !important;
    font-weight: 500;
    transition: color 0.3s ease;
    margin: 0 8px;
}

.nav-link:hover {
    color: #C82333 !important;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    margin-top: 20px;
    background-color: #FFFFFF;
}

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

.hero-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-section .btn {
    transition: all 0.3s ease;
}

.hero-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(200, 35, 51, 0.3);
}

.hero-section img {
    max-width: 400px;
    margin: 0 auto;
    display: block;
    height: auto;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: #FFFFFF;
    padding: 18px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 280px;
    z-index: 10;
}

.floating-card-1 {
    top: 20px;
    left: -40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.floating-card-2 {
    bottom: 20px;
    right: -40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    margin-left: -12px;
    object-fit: cover;
}

.avatar-small:first-of-type {
    margin-left: 0;
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features-section {
    background-color: #FFFFFF;
}

.feature-box {
    background: #FFFFFF;
    border-radius: 14px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f5f5f5;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(200, 35, 51, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    color: #C82333;
    margin-bottom: 15px;
}

.feature-title {
    color: #111;
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
}

/* ========================================
   COURSES SLIDER SECTION
   ======================================== */

.courses-section {
    background-color: #FFFFFF;
}

.course-slider-container {
    position: relative;
    margin: 0 60px;
}

.course-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.course-slider::-webkit-scrollbar {
    height: 6px;
}

.course-slider::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.course-slider::-webkit-scrollbar-thumb {
    background: #C82333;
    border-radius: 10px;
}

.course-card {
    min-width: 260px;
    height: 200px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    scroll-snap-align: start;
}

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

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

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

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.course-label {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 2px solid #e0e0e0;
    color: #C82333;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: #C82333;
    color: #FFFFFF;
    border-color: #C82333;
    box-shadow: 0 8px 20px rgba(200, 35, 51, 0.3);
}

.slider-btn-left {
    left: -30px;
}

.slider-btn-right {
    right: -30px;
}

/* ========================================
   JOBS SECTION
   ======================================== */

.jobs-section {
    background-color: #FFFFFF;
}

.sort-dropdown {
    display: inline-block;
}

.dropdown-menu {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
}

.dropdown-item {
    color: #111;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8f8f8;
    color: #C82333;
}

.job-card {
    background: #FFFFFF;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f5f5f5;
}

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

.job-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.job-content {
    padding: 18px;
}

.job-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
}

.job-meta {
    display: flex;
    gap: 10px;
}

.job-meta .badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
}

/* ========================================
   NEW SKILLS SECTION
   ======================================== */

.new-skills-section {
    background-color: #FFFFFF;
}

.skill-card {
    background: #FFFFFF;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f5f5f5;
}

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

.skill-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.skill-content {
    padding: 18px;
}

.skill-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
}

.skill-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.skill-price {
    color: #C82333;
    font-weight: 700;
    font-size: 1.1rem;
}

/* ========================================
   EDUCATION TESTIMONIAL SECTION
   ======================================== */

.education-testimonial-section {
    background-color: #FFFFFF;
}

.testimonial-card {
    background: #FFFFFF;
    border-left: 4px solid #C82333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 10px 25px rgba(200, 35, 51, 0.15);
}

.testimonial-card h5 {
    color: #111;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.testimonial-card p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* ========================================
   FOOTER STYLES
   ======================================== */

.footer {
    background-color: #111;
    color: #fff;
    margin-top: 80px;
}

.footer-link {
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #C82333 !important;
}

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

.social-icon:hover {
    background: #C82333;
    color: #FFFFFF !important;
    transform: translateY(-4px);
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Tablet Breakpoint */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .floating-card-1 {
        position: relative;
        top: auto;
        left: auto;
        margin-top: 20px;
        width: 100%;
    }
    
    .floating-card-2 {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 15px;
        width: 100%;
    }
    
    .course-slider-container {
        margin: 0 30px;
    }
    
    .slider-btn-left {
        left: -20px;
    }
    
    .slider-btn-right {
        right: -20px;
    }
}

/* Mobile Breakpoint */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 20px;
        padding-bottom: 40px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .floating-card {
        padding: 15px 18px;
        width: 100%;
    }
    
    .floating-card-1,
    .floating-card-2 {
        margin-bottom: 15px;
    }
    
    .feature-box {
        padding: 20px 15px;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .feature-title {
        font-size: 0.9rem;
    }
    
    .course-slider-container {
        margin: 0 20px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-btn-left {
        left: -18px;
    }
    
    .slider-btn-right {
        right: -18px;
    }
    
    .course-card {
        min-width: 200px;
        height: 150px;
    }
    
    .course-label {
        font-size: 1.1rem;
    }
    
    .job-card {
        margin-bottom: 20px;
    }
    
    .job-img {
        height: 150px;
    }
    
    .job-title {
        font-size: 0.95rem;
    }
    
    .skill-card {
        margin-bottom: 20px;
    }
    
    .skill-img {
        height: 150px;
    }
    
    .skill-title {
        font-size: 0.9rem;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .education-testimonial-section .row {
        flex-direction: column-reverse;
    }
    
    .testimonial-card {
        padding: 20px;
        margin-bottom: 1.5rem;
    }
    
    .education-testimonial-section h2 {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
    }
}

/* Small Mobile Breakpoint */
@media (max-width: 480px) {
    .navbar-brand {
        font-size: 0.9rem !important;
    }
    
    .nav-link {
        font-size: 0.9rem;
        margin: 0 5px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .feature-box {
        padding: 15px 10px;
    }
    
    .feature-icon {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .feature-title {
        font-size: 0.85rem;
    }
    
    .course-slider-container {
        margin: 0 15px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .course-card {
        min-width: 160px;
        height: 120px;
    }
    
    .job-img {
        height: 120px;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
    
    .job-content {
        padding: 15px;
    }
    
    .job-title {
        font-size: 0.9rem;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.fw-600 {
    font-weight: 600;
}

.rounded-pill {
    border-radius: 50px !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* ========================================
   ANIMATIONS
   ======================================== */

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

.fade-in {
    animation: slideIn 0.5s ease-out;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials-section {
    border-top: 1px solid #e0e0e0;
}

.testimonials-carousel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial-item {
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    box-shadow: 0 10px 25px rgba(200, 35, 51, 0.1) !important;
    transform: translateY(-5px);
}

.testimonial-arrow-btn:hover {
    background-color: #C82333 !important;
    color: #FFFFFF !important;
    border-color: #C82333 !important;
    transform: scale(1.1);
}

.testimonial-arrow-btn:active {
    transform: scale(0.95);
}

/* ========================================
   INSTRUCTORS SECTION
   ======================================== */

.instructor-card {
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.instructor-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.instructor-card:hover .instructor-img {
    transform: scale(1.05);
    filter: brightness(0.9);
}

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

.instructor-name {
    color: #111;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.instructor-title {
    color: #C82333;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.instructor-bio {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
}

/* ========================================
   TESTIMONIALS & INSTRUCTORS RESPONSIVE
   ======================================== */

@media (max-width: 992px) {
    .testimonials-section .row {
        flex-direction: column;
    }
    
    .testimonials-section .col-lg-4,
    .testimonials-section .col-lg-8 {
        flex: 0 0 100%;
    }
    
    .instructor-img {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .instructor-card {
        margin-bottom: 20px;
    }
    
    .instructor-img {
        height: 220px;
    }
    
    .instructor-name {
        font-size: 1.1rem;
    }
    
    .testimonial-nav {
        margin-top: 1rem !important;
    }
}

@media (max-width: 480px) {
    .testimonial-arrow-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
    
    .instructor-img {
        height: 200px;
    }
    
    .instructor-name {
        font-size: 1rem;
    }
    
    .instructor-title {
        font-size: 0.85rem;
    }
    
    .instructor-bio {
        font-size: 0.9rem;
    }
}

/* ========================================
   CTA MOTIVATIONAL SECTION
   ======================================== */

.cta-motivational-section {
    display: flex;
    align-items: center;
    min-height: 500px;
}

.cta-motivational-section h2 {
    word-spacing: 0.1em;
}

.cta-motivational-section .btn {
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.cta-motivational-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.cta-motivational-section .btn:active {
    transform: translateY(0);
}

/* ========================================
   CTA SECTION RESPONSIVE
   ======================================== */

@media (max-width: 992px) {
    .cta-motivational-section {
        min-height: auto;
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
    
    .cta-motivational-section h2 {
        font-size: 1.8rem !important;
    }
    
    .cta-motivational-section .col-lg-7 {
        padding-left: 1rem !important;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .cta-motivational-section {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
    
    .cta-motivational-section h2 {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
    }
    
    .cta-motivational-section p {
        font-size: 0.95rem !important;
    }
    
    .cta-motivational-section .d-flex {
        flex-direction: column !important;
    }
    
    .cta-motivational-section .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cta-motivational-section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
    
    .cta-motivational-section h2 {
        font-size: 1.2rem !important;
        margin-bottom: 1rem !important;
    }
    
    .cta-motivational-section p {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem !important;
    }
}

/* ========================================
   FOOTER STYLING
   ======================================== */

.footer {
    border-top: 1px solid #333;
}

.footer-logo {
    display: inline-block;
}

.footer-link {
    color: #999 !important;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: #C82333 !important;
}

.footer .social-link {
    transition: all 0.3s ease;
}

.footer .social-link:hover {
    color: #FF6B6B !important;
    transform: translateY(-2px);
}

.footer .form-control {
    transition: all 0.3s ease;
}

.footer .form-control:focus {
    border-color: #C82333 !important;
    box-shadow: 0 0 0 0.2rem rgba(200, 35, 51, 0.25) !important;
}

.footer h6 {
    letter-spacing: 0.5px;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer .col-lg-2,
    .footer .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .footer h5 {
        font-size: 1.2rem;
    }
    
    .footer h6 {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .footer .input-group {
        flex-direction: column !important;
    }
    
    .footer .form-control,
    .footer .btn {
        width: 100%;
        border-radius: 4px !important;
    }
    
    .footer .form-control {
        margin-bottom: 8px;
    }
    
    .footer h6 {
        font-size: 0.85rem;
    }
    
    .footer ul li a {
        font-size: 0.85rem !important;
    }
}

/* DETAILS PAGE STYLES */
.details-section {
    padding-top: 40px;
    padding-bottom: 80px;
    background-color: #FFFFFF;
}

.details-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111;
    line-height: 1.2;
}

.details-subtitle {
    font-size: 1rem;
    color: #999;
    font-weight: 500;
}

.rating-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-stars {
    font-size: 1.2rem;
    color: #FFB800;
    letter-spacing: 2px;
}

.rating-text {
    color: #999;
    font-size: 0.95rem;
}

.price-section {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.price-label {
    color: #999;
    margin-right: 10px;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #C82333;
    margin-right: 15px;
}

.price-original {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.details-heading {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1.5rem;
}

.details-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
}

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

.learning-list li {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 30px;
    position: relative;
}

.check-icon {
    position: absolute;
    left: 0;
    color: #C82333;
    font-weight: 700;
}

.details-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.details-image-bg {
    position: relative;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #FFE8EB 0%, #FFF5F5 100%);
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.details-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 20px;
}

.details-info-card {
    background: #F8F9FA;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #E8E8E8;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #E0E0E0;
}

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

.info-label {
    color: #999;
    font-weight: 600;
    font-size: 0.95rem;
}

.info-value {
    color: #111;
    font-weight: 700;
    font-size: 1rem;
}

/* DETAILS PAGE RESPONSIVE */
@media (max-width: 1024px) {
    .details-title {
        font-size: 2rem;
    }

    .details-heading {
        font-size: 1.2rem;
    }

    .details-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .details-section {
        padding-top: 30px;
        padding-bottom: 50px;
    }

    .details-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .details-subtitle {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .details-heading {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .details-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .learning-list li {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
        padding-left: 25px;
    }

    .details-image-bg {
        aspect-ratio: auto;
        min-height: 300px;
        padding: 30px;
    }

    .details-info-card {
        padding: 20px;
        margin-top: 20px;
    }

    .info-item {
        padding: 12px 0;
    }

    .info-label {
        font-size: 0.9rem;
    }

    .info-value {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .details-title {
        font-size: 1.5rem;
    }

    .details-heading {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .details-text {
        font-size: 0.85rem;
    }

    .learning-list li {
        font-size: 0.85rem;
        padding-left: 20px;
    }

    .price-amount {
        font-size: 1.3rem;
    }

    .details-image-bg {
        min-height: 250px;
        padding: 20px;
        border-radius: 20px;
    }

    .details-info-card {
        padding: 15px;
    }
}
