/* Custom Variables */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --light-bg: #f3f4f6;
    --transition: all 0.3s ease;
}

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    transition: var(--transition);
    padding-top: 8px;
    padding-bottom: 8px;
}

.navbar-brand img {
    height: 70px;
    width: auto;
    display: block;
    margin-top: 0;
    margin-bottom: 0;
}

.navbar-brand {
    padding: 0;
}

.nav-link {
    font-weight: 500;
    transition: var(--transition);
}

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

/* Navbar menu spacing */
.navbar-nav .nav-item {
    margin-right: 2rem;
}
.navbar-nav .nav-item:last-child {
    margin-right: 0;
}

/* Hero Section */
.hero-section {
    padding-top: 8rem;
    padding-bottom: 6rem;
    background: linear-gradient(to bottom, #ffffff, var(--light-bg));
}

.hero-section h1 {
    font-weight: 800;
    line-height: 1.2;
    font-size: 3rem;
}

/* Value Proposition Section */
.value-prop-section {
    background: #ffffff;
}

.value-prop-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    transition: var(--transition);
}

.value-prop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--primary-color);
}

.value-prop-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-prop-card h3 {
    font-size: 1.5rem;
}

.value-prop-card ul li {
    font-size: 0.95rem;
    color: #4b5563;
}

/* Features Section */
.features-section .card {
    transition: var(--transition);
}

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

.features-section .card-body {
    padding: 2rem;
}

/* Featured Course Section */
.featured-course {
    background-color: #ffffff;
}

.featured-course img {
    transition: var(--transition);
}

.featured-course img:hover {
    transform: scale(1.02);
}

/* Blog Section */
.blog-section .card {
    transition: var(--transition);
}

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

.blog-section .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
}

.newsletter-section .form-control {
    border: none;
    padding: 1rem;
}

.newsletter-section .btn {
    padding: 1rem;
}

/* Custom yellow button for community join */
.newsletter-section .btn.btn-primary {
    background-color: #FFC82E;
    border-color: #FFC82E;
    color: #222;
    font-weight: 700;
}
.newsletter-section .btn.btn-primary:hover,
.newsletter-section .btn.btn-primary:focus {
    background-color: #e6b800;
    border-color: #e6b800;
    color: #222;
}

/* Footer */
.footer {
    background-color: #1f2937;
}

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

.footer a:hover {
    opacity: 0.8;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
    border-radius: 2rem;
    border-width: 2px;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-width: 3px;
}

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

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-width: 2px;
}

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section, .features-section, .featured-course, .blog-section {
    animation: fadeIn 1s ease-out;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 6rem;
        text-align: center;
    }
    
    .hero-section .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .featured-course img {
        margin-bottom: 2rem;
    }
    
    .navbar-brand img {
        height: 50px;
    }
    .hide-mobile {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .hide-mobile {
        display: none !important;
    }
    .btn-full-width-tablet {
        width: 100% !important;
        display: block;
    }
    .btn-nav {
        justify-content: center !important;
        text-align: center !important;
    }
}

/* Blog Carousel */
.blog-carousel {
    position: relative;
    overflow: hidden;
    padding: 0 40px;
    min-height: 400px;
}

.blog-carousel .row {
    transition: transform 0.3s ease;
    display: flex;
    flex-wrap: nowrap;
    margin: 0 -15px;
}

.blog-carousel .col-md-4 {
    padding: 0 15px;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border: none;
    border-radius: 50%;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(60,60,60,0.15);
    margin: 0 16px;
}

.carousel-control:hover {
    background: #f3f4f6;
    color: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 16px rgba(60,60,60,0.18);
}

.carousel-control.prev {
    left: 0;
}

.carousel-control.next {
    right: 0;
}

.blog-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    height: 100%;
}

.blog-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.blog-card .card {
    height: 100%;
    transition: transform 0.3s ease;
}

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

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

/* Responsive adjustments for blog carousel */
@media (max-width: 768px) {
    .blog-carousel {
        padding: 0 30px;
    }
    
    .blog-carousel .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .carousel-control {
        width: 35px;
        height: 35px;
    }
}

/* Courses Dropdown (modern style) */
.courses-dropdown {
    min-width: 380px;
    border-radius: 18px;
    border: none;
    box-shadow: 0 8px 32px rgba(60,60,60,0.12);
    padding: 1.5rem 1.25rem 1.25rem 1.25rem;
}
.courses-dropdown .dropdown-header {
    font-size: 1.25rem;
    font-weight: 700;
    color: #222;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 0.5rem;
}
.courses-dropdown .dropdown-item {
    border-radius: 12px;
    transition: background 0.15s;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-bottom: 0.25rem;
}
.courses-dropdown .dropdown-item:hover {
    background: #f3f4f6;
}
.courses-dropdown .icon-box {
    width: 44px;
    height: 44px;
    background: #f3f4f6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}
.courses-dropdown .fw-semibold {
    font-weight: 600;
    color: #222;
}
.courses-dropdown small {
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .courses-dropdown {
        position: fixed !important;
        top: 70px !important;
        left: 2.5vw !important;
        right: 2.5vw !important;
        width: 95vw !important;
        min-width: unset !important;
        margin: 0 auto !important;
        border-radius: 18px;
        padding: 1rem 0.5rem 1rem 0.5rem;
        z-index: 9999 !important;
    }
}

.apps-dropdown {
    min-width: 380px;
    border-radius: 18px;
    border: none;
    box-shadow: 0 8px 32px rgba(60,60,60,0.12);
    padding: 1.5rem 1.25rem 1.25rem 1.25rem;
}
.apps-dropdown .dropdown-header {
    font-size: 1.25rem;
    font-weight: 700;
    color: #222;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 0.5rem;
}
.apps-dropdown .dropdown-item {
    border-radius: 12px;
    transition: background 0.15s;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-bottom: 0.25rem;
}
.apps-dropdown .dropdown-item:hover {
    background: #f3f4f6;
}
.apps-dropdown .icon-box {
    width: 44px;
    height: 44px;
    background: #f3f4f6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}
.apps-dropdown .fw-semibold {
    font-weight: 600;
    color: #222;
}
.apps-dropdown small {
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .apps-dropdown {
        position: fixed !important;
        top: 70px !important;
        left: 2.5vw !important;
        right: 2.5vw !important;
        width: 95vw !important;
        min-width: unset !important;
        margin: 0 auto !important;
        border-radius: 18px;
        padding: 1rem 0.5rem 1rem 0.5rem;
        z-index: 9999 !important;
    }
}

/* Modern feature cards for What You'll Learn section */
.feature-card {
    border-radius: 22px;
    box-shadow: 0 4px 24px rgba(60,60,60,0.10);
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 0;
    transition: box-shadow 0.2s, transform 0.2s;
    overflow: hidden;
}
.feature-card:hover {
    box-shadow: 0 8px 32px rgba(60,60,60,0.16);
    transform: translateY(-4px) scale(1.03);
}
.feature-card .feature-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(60,60,60,0.08);
    background: #f3f4f6;
    display: block;
}
.feature-card .feature-content {
    padding: 1.5rem 1.25rem 1.25rem 1.25rem;
}
.feature-card .feature-content h3 {
    font-weight: 700;
}
#dojoFeatures .col-md-4, #dojoFeatures .col-sm-6 {
    display: flex;
}
#dojoFeatures .feature-card {
    width: 100%;
}

@media (max-width: 991px) {
    .feature-card .feature-content {
        padding: 1rem 0.75rem 0.75rem 0.75rem;
    }
    .feature-card .feature-img {
        height: 140px;
    }
}
@media (max-width: 600px) {
    .feature-card .feature-content {
        padding: 0.75rem 0.5rem 0.5rem 0.5rem;
    }
    .feature-card .feature-img {
        height: 90px;
    }
}

.btn-view-course {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    color: #B38600;
    border: 2px solid #B38600;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: transparent;
}

.btn-view-course:hover, .btn-view-course:focus {
    background-color: #B38600;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.feature-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Testimonials Section */
.testimonials-section {
    background: #fff;
}
.testimonial-card {
    border-radius: 18px;
    border: none;
    box-shadow: 0 4px 24px rgba(60,60,60,0.10);
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
    box-shadow: 0 8px 32px rgba(60,60,60,0.16);
    transform: translateY(-2px) scale(1.02);
}
.testimonial-card .rounded-circle {
    object-fit: cover;
}
.stat-block {
    width: 100%;
    height: 80px;
    border-radius: 12px;
    margin-bottom: 1rem;
}
@media (max-width: 991px) {
    .testimonials-section .row-cols-md-4 > .col {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
@media (max-width: 600px) {
    .testimonials-section .row-cols-md-4 > .col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .testimonial-card {
        min-height: 180px;
        padding: 1.25rem !important;
    }
}
.testimonial-card .mb-4 {
    margin-bottom: 1rem !important;
}
.testimonial-card .d-flex.align-items-center {
    justify-content: flex-start;
    text-align: left;
    width: 100%;
}
.testimonial-card .fw-bold,
.testimonial-card .text-muted.small {
    text-align: left;
    display: block;
}

/* Section Diver (Label) */
.section-label {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 2rem;
    padding: 0.25rem 1.25rem 0.25rem 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 4px rgba(60,60,60,0.04);
    letter-spacing: 0.01em;
    margin-left: auto;
    margin-right: auto;
}
.section-label .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 0.7em;
    background: linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%);
    display: inline-block;
}

/* Alternating section backgrounds */
.section-bg-white {
    background: #fff;
}
.section-bg-fafa {
    background: #FAFAFA;
}

/* Center section-label in section */
.features-section .section-label,
.featured-course .section-label,
.blog-section .section-label,
.testimonials-section .section-label,
.newsletter-section .section-label {
    display: inline-flex;
    margin-left: auto;
    margin-right: auto;
}
.features-section,
.featured-course,
.blog-section,
.testimonials-section,
.newsletter-section {
    text-align: center;
}

/* Blue background for join community section */
.newsletter-section.section-bg-fafa {
    background: #47A5E1 !important;
}
.newsletter-section.section-bg-fafa,
.newsletter-section.section-bg-fafa .section-label {
    background: #47A5E1 !important;
}
.newsletter-section .section-label {
    border-color: #fff;
    background: #fff;
}
.newsletter-section .section-label .dot {
    background: linear-gradient(135deg, #fff 0%, #a6c1ee 100%);
}
.newsletter-section .col-lg-8,
.newsletter-section .col-lg-8.text-center {
    color: #fff;
}
.newsletter-section .btn.btn-primary {
    background-color: #fff;
    color: #47A5E1;
    border: none;
}
.newsletter-section .btn.btn-primary:hover,
.newsletter-section .btn.btn-primary:focus {
    background-color: #e6e6e6;
    color: #47A5E1;
}

.btn-nav {
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    font-size: 1rem;
    line-height: 1.2;
    display: flex;
    align-items: center;
} 