:root {
    /* Colors */
    --primary: #2E3192;
    --primary-hover: #1E2061;
    --secondary: #6C757D;
    --success: #28A745;
    --info: #17A2B8;
    --warning: #FFC107;
    --danger: #DC3545;
    --light: #F8F9FA;
    --dark: #343A40;

    /* Typography */
    --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-family-heading: 'Poppins', var(--font-family-base);

    /* Spacing */
    --spacer: 1rem;
    --section-spacing: 6rem;
}

/* Base Styles */
body {
    font-family: var(--font-family-base);
    line-height: 1.6;
    color: var(--dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header .navbar {
    padding: 1rem 0;
}

.header .navbar-brand img {
    transition: all 0.3s ease;
}

.header .navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar {
    padding: 1rem 0;
    background-color: #fff;
}

.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    padding: 0.5rem 1rem;
    font-weight: 500;
}

/* Hero Section */
.hero-section {
    padding: 6rem 0;
    margin-top: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
    position: relative;
}

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

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, var(--primary) 0%, var(--primary-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleFade 1s ease-in-out;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-in-out 0.3s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-in-out 0.6s both;
}

.hero-stats {
    animation: fadeInUp 1s ease-in-out 0.9s both;
}

.hero-stats .stat-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.hero-stats .stat-item:hover {
    transform: translateY(-5px);
}

.hero-stats h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.hero-stats p {
    font-size: 0.875rem;
    color: var(--secondary);
    margin: 0;
}

/* Hero Image Animations */
.hero-image {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
    z-index: 2;
}

.floating-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.icon-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.icon-2 {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.icon-3 {
    top: 40%;
    left: 20%;
    animation-delay: 2s;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: var(--primary);
    top: 10%;
    right: 10%;
    animation: float 4s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--info);
    bottom: 20%;
    left: 5%;
    animation: float 5s ease-in-out infinite;
}

.shape-3 {
    width: 70px;
    height: 70px;
    background: var(--success);
    top: 50%;
    right: 20%;
    animation: float 3s ease-in-out infinite;
}

.main-illustration {
    position: relative;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes titleFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Hero Section */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 6rem 0 4rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-image {
        margin-top: 3rem;
        min-height: 400px;
    }
}

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

    .hero-image {
        min-height: 300px;
    }

    .floating-icon {
        width: 40px;
        height: 40px;
    }

    .floating-icon i {
        font-size: 1.25rem;
    }
}

/* Stats Section */
.stats-section {
    padding: var(--section-spacing) 0;
    background: #fff;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.125rem;
    color: var(--secondary);
}

/* Products Section */
.products-section {
    padding: var(--section-spacing) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('../images/pattern.svg') repeat;
    opacity: 0.1;
    z-index: 1;
}

.products-section .container {
    position: relative;
    z-index: 2;
}

.product-card {
    padding: 2.5rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-card:hover::after {
    opacity: 0.03;
}

.product-card .icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.product-card:hover .icon-wrapper {
    background: var(--primary);
    transform: scale(1.1);
}

.product-card .icon-wrapper i {
    font-size: 1.75rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.product-card:hover .icon-wrapper i {
    color: #fff;
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
    transition: all 0.3s ease;
}

.product-card:hover h3 {
    color: var(--primary);
}

.product-card p {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-card .btn-link {
    font-weight: 600;
    padding: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.product-card .btn-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.product-card:hover .btn-link::after {
    transform: translateX(5px);
}

/* Product Card Animations */
.product-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.product-card:nth-child(1) {
    animation-delay: 0.1s;
}

.product-card:nth-child(2) {
    animation-delay: 0.2s;
}

.product-card:nth-child(3) {
    animation-delay: 0.3s;
}

.product-card:nth-child(4) {
    animation-delay: 0.4s;
}

.product-card:nth-child(5) {
    animation-delay: 0.5s;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Growth Section */
.growth-section {
    padding: var(--section-spacing) 0;
    background: #fff;
}

.growth-card {
    padding: 2rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    height: 100%;
    transition: border-color 0.3s ease;
}

.growth-card:hover {
    border-color: var(--primary);
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--section-spacing) 0;
    background: var(--light);
}

.testimonial-card {
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

/* CTA Section */
.cta-section {
    padding: var(--section-spacing) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #fff;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    padding: 5rem 0 3rem;
    background: #fff;
}

.footer h5 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer ul li a {
    color: var(--secondary);
}

.footer ul li a:hover {
    color: var(--primary);
}

.social-links a {
    color: var(--secondary);
    font-size: 1.25rem;
}

.social-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 2rem;
    margin-top: 4rem;
    border-top: 1px solid #e9ecef;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

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

    .navbar-collapse {
        background: #fff;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
}

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

    .stat-item h3 {
        font-size: 2.5rem;
    }
}

/* Mega Menu Styles */
.mega-menu {
    width: 100%;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-top: 1rem;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1000;
}

.mega-menu .container {
    max-width: 1140px;
    margin: 0 auto;
}

/* Category Icons */
.mega-menu .category-icons {
    padding: 1.5rem 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 1.5rem;
}

.mega-menu .category-icon {
    text-align: center;
    padding: 1rem;
    transition: all 0.3s ease;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.mega-menu .category-icon:hover {
    background: rgba(46, 49, 146, 0.05);
    transform: translateY(-5px);
}

.mega-menu .category-icon i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #2E3192;
    display: block;
}

.mega-menu .category-icon h6 {
    color: #2E3192;
    font-weight: 600;
    margin: 0;
    font-size: 0.9rem;
}

/* Menu Items */
.mega-menu-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.9);
}

.mega-menu-item:hover {
    background: rgba(46, 49, 146, 0.05);
    transform: translateX(5px);
}

.mega-menu-item i {
    font-size: 1.5rem;
    color: #2E3192;
    margin-right: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.mega-menu-item:hover i {
    transform: scale(1.1);
}

.mega-menu-item div {
    flex: 1;
}

.mega-menu-item h6 {
    color: #2E3192;
    font-weight: 600;
    margin: 0;
    font-size: 1rem;
}

.mega-menu-item small {
    color: #6c757d;
    display: block;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Column Separators */
.mega-menu .col-md-4:not(:last-child) {
    border-right: 1px solid #e9ecef;
    padding-right: 2rem;
}

.mega-menu .col-md-4:not(:first-child) {
    padding-left: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .mega-menu {
        position: static;
        padding: 1rem;
        margin: 0;
        box-shadow: none;
        background: transparent;
    }

    .mega-menu .container {
        padding: 0;
    }

    .mega-menu .col-md-4:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
        padding: 1rem 0;
        margin-bottom: 1rem;
    }

    .mega-menu .col-md-4:not(:first-child) {
        padding: 1rem 0;
    }

    .mega-menu-item {
        padding: 0.75rem;
    }

    .mega-menu .category-icon {
        margin-bottom: 0.5rem;
    }
}

/* Dropdown Menu Animation */
.dropdown-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown:hover>.dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Dropdown Styles */
.navbar-nav .nav-item.dropdown {
    position: static;
}

.navbar-nav .dropdown-toggle::after {
    margin-left: 0.5rem;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.navbar-nav .dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    color: #2E3192;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #00B3B3;
}

.btn-primary {
    background-color: #2E3192;
    border-color: #2E3192;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #00B3B3;
    border-color: #00B3B3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 179, 179, 0.2);
}

/* Feature Hero Section */
.feature-hero-section {
    padding: 6rem 0;
    margin-top: 0;
    background: linear-gradient(135deg, var(--light) 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.feature-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.svg') repeat;
    opacity: 0.1;
}

/* Features Section */
.features-section {
    padding: var(--section-spacing) 0;
    background: #fff;
}

.feature-card {
    padding: 2.5rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

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

.feature-card:hover::after {
    opacity: 0.03;
}

/* Growth Feature Cards */
.growth-feature-card {
    padding: 2.5rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.4s ease;
}

.growth-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.growth-feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.growth-feature-card p {
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.growth-feature-card .btn-link {
    font-weight: 600;
    padding: 0;
    display: inline-flex;
    align-items: center;
}

.growth-feature-card .btn-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.growth-feature-card:hover .btn-link::after {
    transform: translateX(5px);
}

/* Course Spotlight */
.course-spotlight {
    padding: var(--section-spacing) 0;
    background: var(--light);
}

.course-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

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

.course-content {
    padding: 1.5rem;
}

.course-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.course-content p {
    font-size: 0.875rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
    padding: var(--section-spacing) 0;
    background: #fff;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    padding: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    background: #fff;
    border-radius: 0.5rem !important;
}

.accordion-button:not(.collapsed) {
    color: var(--primary);
    background: #fff;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.accordion-body {
    padding: 1.5rem;
    color: var(--secondary);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .feature-hero-section {
        padding: 6rem 0 4rem;
    }

    .growth-feature-card {
        padding: 2rem;
    }
}

@media (max-width: 767.98px) {

    .feature-card,
    .growth-feature-card {
        padding: 1.5rem;
    }
}

/* Main Content Spacing */
.main-content {
    min-height: calc(100vh - 80px);
    padding-top: 0;
}

/* Feature Page Header */
.feature-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    margin-top: 0;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.feature-header p {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto;
}