:root {
    --primary: #0d7298;
    --primary-dark: #065d7d;
    --secondary: #1d91bb;
    --accent: #cb4d55;
    --accent-secondary: #d6624e;
    --dark: #111827;
    --light: #f8f9fa;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --text-white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --border-radius: 12px;
    --card-radius: 20px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    /* --background-gradient: linear-gradient(135deg, #0d7298 0%, #1d91bb 100%); */
    --background-gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --card-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    --text-gradient: linear-gradient(90deg, var(--primary), var(--secondary));
    --accent-gradient: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    --glass-effect: rgba(255, 255, 255, 0.1);

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}


/* Text with gradient */
.text-gradient {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-accent-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: var(--background-gradient);
    overflow: hidden;
    padding: 140px 0 100px;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-section::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: -1;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    color: var(--text-white);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-title span {
    background: linear-gradient(90deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
}

.hero-title span::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(255,255,255,0.5), rgba(255,255,255,0.2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: blur(8px);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.btn-primary-action {
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-white);
    font-weight: 600;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent), var(--accent-secondary));
    z-index: -1;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
}

.btn-primary-action:hover::before {
    opacity: 1;
}

.btn-secondary-action {
    padding: 14px 32px;
    background: transparent;
    color: var(--text-white);
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-action:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary-action:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--card-radius);
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.stat-card h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.stat-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

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

.hero-image {
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    max-width: 90%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    /* background: linear-gradient(45deg, var(--accent), var(--accent-secondary)); */
    background: rgba(255, 255, 255, 0.1);
    filter: blur(0px);
    z-index: 0;
    animation: float 10s ease-in-out infinite;
    opacity: 0.7;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    right: 10%;
    /* background: linear-gradient(45deg, var(--primary), var(--secondary)); */
    background: rgba(255, 255, 255, 0.1);
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 30%;
    right: 20%;
    /* background: linear-gradient(45deg, var(--warning), var(--accent)); */
    background: rgba(255, 255, 255, 0.1);
    animation-delay: 4s;
}

.hero-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--card-radius);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: float 6s ease-in-out infinite;
}

.hero-card-1 {
    bottom: 20%;
    left: 0;
    animation-delay: 1s;
}

.hero-card-2 {
    top: 25%;
    right: 0;
    animation-delay: 2s;
}

.hero-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.hero-card-content h4 {
    color: white;
    font-size: 0.9rem;
    margin: 0 0 4px 0;
    font-weight: 600;
}

.hero-card-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin: 0;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}



/* Responsive Styles */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-image-wrapper {
        margin-top: 40px;
    }

    .hero-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0 40px;
        text-align: center;
    }

    .hero-content {
        padding: 20px 0;
    }

    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons .btn-primary-action,
    .hero-buttons .btn-secondary-action {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        display: none; /*Hidden stats*/
    }

    .hero-image-wrapper {
        display: none; /*Hidden image*/
    }

    .hero-card {
        padding: 15px;
        max-width: 200px;
    }

    .shape-2, .shape-4 {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .stat-card {
        width: 100%;
    }

    .hero-card {
        max-width: 160px;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .testimonialSwiper .swiper-slide {
        padding: 10px;
    }
}

/* Feature Section Styles */
.features-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 0 auto;
    max-width: 1200px;
}

.feature-card-wrapper {
    width: 100%;
    height: 100%;
}

.premium-feature-card {
    background: white;
    border-radius: var(--card-radius);
    padding: 30px;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.premium-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.premium-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 114, 152, 0.05) 0%, rgba(29, 145, 187, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-feature-card:hover::before {
    opacity: 1;
}

.premium-feature-card .card-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    transition: all 0.3s ease;
}

.premium-feature-card:hover .card-icon {
    transform: scale(1.1);
}

.premium-feature-card .card-icon i {
    color: var(--primary) !important;
    position: relative;
    z-index: 1;
    font-size: 4rem;
}

.premium-feature-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
}

.premium-feature-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.6;
}

.premium-feature-card .feature-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    position: relative;
    transition: all 0.3s ease;
}

.premium-feature-card .feature-link i {
    transition: transform 0.3s ease;
}

.premium-feature-card .feature-link:hover i {
    transform: translateX(5px);
}

/* Features Section Responsive Styles */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
        padding: 0 15px;
    }
}

@media (max-width: 991px) {
    .features-section {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .premium-feature-card {
        padding: 25px;
    }

    .premium-feature-card .card-icon {
        width: 60px;
        height: 60px;
    }

    .premium-feature-card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 40px 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .premium-feature-card {
        padding: 20px;
    }

    .premium-feature-card .card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 12%;
    }

    .premium-feature-card .card-icon i {
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary) !important;
    }

    .premium-feature-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .premium-feature-card p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .premium-feature-card {
        text-align: left;
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 20px;
        gap: 20px;
    }


    .feature-content {
        flex: 1;
    }

    .premium-feature-card h3 {
        margin-bottom: 8px;
    }

    .premium-feature-card p {
        margin-bottom: 10px;
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.sub-heading {
    display: block;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.lead {
    font-size: 1.1rem;
    color: var(--text-light);
}

.section-spacing {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 50px;
    text-align: center;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-weight: 500;
    font-size: 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-subheading {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Popular Courses Section Styles */
.courses-section {
    padding: 100px 0;
    background-color: #f8f9fa;
    position: relative;
}

.courses-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.premium-course-card {
    border-radius: var(--card-radius);
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.premium-course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

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

.premium-course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

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

.btn-view-course {
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    font-weight: 600;
    border-radius: 30px;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.premium-course-card:hover .btn-view-course {
    transform: translateY(0);
}

/* Course Card Clickable Styles */
.course-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.course-card:hover .card-title {
    color: var(--primary);
}

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

.card-img-top {
    transition: transform 0.3s ease;
}

.btn-primary {
    background: var(--primary) !important;
    color: white !important;
    border: 2px solid var(--primary) !important;
    border-radius: var(--bs-border-radius-pill) !important;
    padding: 12px 48px !important;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.course-badge {
    position: absolute;
    top: 15px;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.course-badge.popular {
    left: 15px;
    background: linear-gradient(45deg, #ffb100, #ff8500);
    color: white;
}

.course-badge.discount {
    right: 15px;
    background: linear-gradient(45deg, var(--accent), var(--accent-secondary));
    color: white;
}

.bg-primary {
    background: var(--primary) !important;
    color: white !important;
    border: 2px solid var(--primary) !important;
}

.course-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-category {
    margin-bottom: 10px;
}

.course-category span {
    padding: 4px 12px;
    background: rgba(13, 114, 152, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.course-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.course-title a {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.course-title a:hover {
    color: var(--primary);
}

.course-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.course-price {
    display: flex;
    flex-direction: column;
}

.current-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

.original-price {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.btn-enroll {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-enroll:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-view-all {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.btn-view-all:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

@media (max-width: 992px) {
    .course-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 576px) {
    .course-grid {
        grid-template-columns: 1fr;
    }
}

/* Categories Section Styles */
.categories-section {
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.categories-section::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(rgba(13, 114, 152, 0.1), rgba(29, 145, 187, 0.05));
    z-index: -1;
}

.categories-section::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(rgba(203, 77, 85, 0.1), rgba(214, 98, 78, 0.05));
    z-index: -1;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.premium-category-card {
    background: white;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    padding: 30px;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    position: relative;
    z-index: 1;
}

.premium-category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 114, 152, 0.05) 0%, rgba(29, 145, 187, 0.05) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.premium-category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.premium-category-card:hover::before {
    opacity: 1;
}

.category-icon {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: rgba(13, 114, 152, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.premium-category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-icon i {
    font-size: 30px;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(13, 114, 152, 0.2) 0%, rgba(29, 145, 187, 0.2) 100%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.premium-category-card:hover .icon-bg {
    opacity: 1;
}

.category-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.category-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.category-meta {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.category-meta span {
    font-size: 0.85rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.category-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background: var(--text-gradient);
    transition: width 0.3s ease;
}

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

.category-link i {
    transition: transform 0.3s ease;
}

.category-link:hover i {
    transform: translateX(5px);
}

/* Testimonial CTA Section */
.testimonial-cta {
    width: 100%;
    background-color: var(--primary);
    padding: 3rem 0;
    margin-top: 40px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-cta .cta-content {
    padding: 0 1rem;
}

.testimonial-cta h3 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

.testimonial-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.testimonial-cta .btn-light {
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.testimonial-cta .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-cta .btn-light i {
    transition: transform 0.3s ease;
}

.testimonial-cta .btn-light:hover i {
    transform: translateX(5px);
}

@media (max-width: 991.98px) {
    .testimonial-cta {
        padding: 2.5rem 0;
    }

    .testimonial-cta h3 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .testimonial-cta {
        padding: 2rem 0;
    }

    .testimonial-cta h3 {
        font-size: 1.75rem;
    }

    .testimonial-cta p {
        font-size: 1rem;
    }

    .testimonial-cta .cta-content .btn-light {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px !important;
        font-size: 1rem !important;
        margin-top: 1rem !important;
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
    }
}

/* Mobile Responsiveness */

/* General Mobile Styles */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Hero Section Mobile Styles */
    .hero-section {
        padding: 80px 0 40px;
        text-align: center;
        height: 100vh;
    }

    .hero-content {
        padding: 20px 0;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons .btn-primary-action,
    .hero-buttons .btn-secondary-action {
        width: 100%;
        text-align: center;
    }

    /* .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .stat-card {
        width: calc(50% - 15px);
        padding: 15px;
    } */

    .hero-stats {
        display: none; /*Hidden stats*/
    }

    .hero-image-wrapper {
        display: none; /*Hidden image*/
    }

    .hero-card {
        padding: 15px;
        max-width: 200px;
    }

    /* Features Section Mobile Styles */
    .features-section {
        padding: 40px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .premium-feature-card {
        padding: 20px;
    }

    /* Categories Section Mobile Styles */
    .categories-section {
        padding: 40px 0;
    }

    .category-card {
        padding: 15px;
    }

    /* Testimonial Section Mobile Styles */
    /* .testimonial-section {
        padding: 40px 0;
    }

    .testimonial-card {
        padding: 15px;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }

    .author-image {
        margin-bottom: 10px;
    }

    .testimonial-cta .row {
        text-align: center;
    }

    .testimonial-cta h3 {
        font-size: 2.8rem;
    }

    .testimonial-cta p {
        font-size: 1rem;
    }

    .testimonial-cta .btn {
        width: 100%;
        margin-top: 15px;
        margin-bottom: 15px;
    } */

    /* Gallery Section Mobile Styles */
    .gallery-section {
        padding: 40px 0;
    }

    .gallerySwiper .swiper-slide img {
        height: 250px !important;
    }

    /* Navigation Mobile Styles */
    .navbar-brand img {
        max-width: 150px;
    }

    .navbar-actions {
        margin-top: 15px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .navbar-actions .btn-login,
    .navbar-actions .btn-signup {
        width: 100%;
        text-align: center;
    }
}

/* Small Mobile Devices */
@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .stat-card {
        width: 100%;
    }

    .hero-card {
        max-width: 160px;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .testimonialSwiper .swiper-slide {
        padding: 10px;
    }
}

/* Tablet Devices */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-image-wrapper {
        margin-top: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }
}

/* Landscape Mode */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 60px 0;
    }

    .hero-image-wrapper {
        display: none;
    }
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Animation for Mobile Menu */
@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.navbar-collapse.show {
    animation: slideIn 0.3s ease forwards;
}

.navbar-collapse.show .nav-item {
    animation: fadeIn 0.3s ease forwards;
    opacity: 0;
    animation-delay: calc(var(--item-index) * 0.1s);
}