:root {
    --primary: #57B33E;
    --primary-dark: #3d8a29;
    --light: #FFF;
    --dark: #232323;
    --primary-light: rgba(87, 179, 62, 0.1);
    --gray: #F8F9FA;
    --text: #444444;
    --yellow: #f7ba03;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: var(--dark);
}

/*--------------------------------------------------------------
*--------------------------------------------------------------
# Header Carousel
--------------------------------------------------------------*/
.header-carousel {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
}

.header-carousel .owl-carousel-item {
    position: relative;
    min-height: 100vh;
}

.header-carousel .owl-carousel-item img {
    position: absolute;
    width: 100%;
    height: 50%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 100vh;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 50%;
        object-fit: cover;
    }

    .header-carousel .owl-dots {
        position: absolute;
        width: 50px;
        height: 0px;
        top: 350px;
        right: 10px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
}

/* iPhone SE specific styles */
@media (max-width: 375px) {
    .header-carousel .owl-carousel-item {
        width: 100%;
        height: 100%;
    }

    .header-carousel .owl-carousel-item img {
        height: 100%;
    }

    .header-carousel .owl-dots {
        top: 250px;
        right: 5px;
        width: 40px;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
    background-color: var(--light);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background-color: var(--primary);
}

.card:hover .card-title,
.card:hover .card-text,
.card:hover p {
    color: var(--light);
}

.card-title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.card-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.card:hover .card-icon {
    background-color: var(--light);
    color: var(--primary);
}

/* Value Proposition */
.value-prop-item {
    display: flex;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.value-prop-icon {
    background-color: var(--primary-light);
    color: var(--primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.value-prop-content h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/*Partner logo*/
 .slider-container {
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 20px 0;
            overflow: hidden;
            position: relative;
        }

        .slider-track {
            display: flex;
            animation: slide 20s linear infinite;
            width: calc(200% + 40px);
        }

        .logo-item {
            flex: 0 0 200px;
            height: 100px;
            margin: 0 20px;
            background: transparent;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s ease;
            position: relative;
        }

        .logo-item:hover {
            transform: translateY(-5px);
        }

        .partner-logo {
            max-width: 200px;
            max-height: 100px;
            width: auto;
            height: auto;
            object-fit: contain;
            transition: transform 0.3s ease;
            filter: grayscale(0.3);
        }

        .logo-item:hover .partner-logo {
            transform: scale(1.1);
            filter: grayscale(0);
        }

        @keyframes slide {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }

        .slider-container:hover .slider-track {
            animation-play-state: paused;
        }
/* FAQ */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border-radius: 10px !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-light);
    color: var(--primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-light);
}

.accordion-body {
    padding: 1.25rem 1.5rem;
}

/* Contact */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    color: var(--primary);
    font-size: 1.8rem;
    margin-right: 1.5rem;
}

.contact-content h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    padding: 0.8rem 1.2rem;
    border-radius: 5px;
    border: 1px solid #e9ecef;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 2rem 0;
}

footer a {
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--primary);
}

/* Read More Link */
.read-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--primary-dark);
}

.read-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* List Styles */
.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.feature-list li i {
    position: absolute;
    left: 0;
    top: 0.3rem;
    color: var(--primary);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 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.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

/* Stats Counter */
.counter-box {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.counter-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.counter-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.counter-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
    line-height: 1;
}

.counter-text {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 0;
}

/* Back to top */
.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    background-color: var(--primary);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    color: #fff;
}

/* Modern Image Styles */
.img-fluid {
    border-radius: 10px;
}

/* Redesigned Content-Image Section Styles */
.feature-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.feature-section.bg-light {
    background-color: #f8f9fa;
}

.feature-section .content-box {
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-section .image-box {
    position: relative;
    height: 100%;
    min-height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-section .image-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-section .image-box:hover img {
    transform: scale(1.05);
}

.feature-section .image-box .badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.feature-section .image-box .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 1;
}

.feature-section .image-box:hover .caption {
    transform: translateY(0);
}

.feature-section .image-box .caption h4 {
    color: white;
    margin-bottom: 10px;
}

.feature-section .image-box .caption p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* Partner Section */
.feature-section .partner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    height: 100%;
}

.feature-section .partner-grid-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-section .partner-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-section .partner-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-section .partner-grid-item:hover img {
    transform: scale(1.05);
}

.feature-section .partner-grid-item.large {
    grid-column: span 2;
    grid-row: span 1;
    height: 300px;
}

.feature-section .partner-grid-item.small {
    height: 200px;
}

.feature-section .partner-grid-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 20px;
    color: white;
    transform: translateY(70%);
    transition: transform 0.3s ease;
}

.feature-section .partner-grid-item:hover .overlay {
    transform: translateY(0);
}

.feature-section .partner-grid-item .overlay h5 {
    color: white;
    margin-bottom: 5px;
}

.feature-section .partner-grid-item .overlay p {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-section .partner-grid-item:hover .overlay p {
    opacity: 1;
}

/* Stats Section */
.stats-section {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px;
    margin-top: -80px;
    position: relative;
    z-index: 1;
}

/* Breadcrumb */
.breadcrumb-section {
    background-color: var(--primary-light);
    padding: 20px 0;
}

.breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--text);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {

    .section-padding,
    .feature-section {
        padding: 70px 0;
    }

    .hero-section {
        padding: 120px 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }

    .feature-section .content-box {
        padding: 30px 20px;
    }

    .feature-section .image-box {
        min-height: 350px;
        margin-top: 30px;
    }

    .feature-section .partner-grid-item.large {
        height: 250px;
    }

    .feature-section .partner-grid-item.small {
        height: 180px;
    }

    .stats-section {
        margin-top: 0;
    }
}

@media (max-width: 767.98px) {

    .section-padding,
    .feature-section {
        padding: 50px 0;
    }

    .hero-section {
        padding: 100px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .value-prop-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .feature-section .partner-grid {
        grid-template-columns: 1fr;
    }

    .feature-section .partner-grid-item.large {
        grid-column: span 1;
        height: 220px;
    }

    .feature-section .partner-grid-item.small {
        height: 180px;
    }

    .feature-section .image-box {
        min-height: 300px;
    }
}

/* Animation */
.animate__animated.animate__delay-1s {
    animation-delay: 1s;
}

.animate__animated.animate__delay-1-5s {
    animation-delay: 1.5s;
}

/* Course Section */
#courses {
    padding: 4rem 1rem;
    background-color: #f9fafb;
}

/* Course Header */
.course-header {
    max-width: 48rem;
    margin: 0 auto 3rem;
    text-align: center;
}

.course-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.course-header p {
    font-size: 1.125rem;
    color: #4b5563;
}

/* Course Tabs Container */
.course-tabs-container {
    margin-bottom: 0.5rem;
}

/* Tabs Wrapper */
.course-tabs-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Tab Buttons */
.tab-btn {
    padding: 0.75rem 1.5rem;
    margin: 0.5rem;
    font-weight: 500;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border: 2px solid var(--primary);
    background-color: var(--primary);
    color: var(--light);
}

/* Active Tab */
.tab-btn.active {
    background-color: var(--primary);
    color: var(--light);
    border: 2px solid var(--primary);
}

/* Inactive Tab */
.tab-btn.inactive {
    background-color: var(--light);
    color: var(--dark);
    border: 2px solid var(--default-color);
}

/* Hover Effects */
.tab-btn:hover {
    transform: translateY(-2px);
    background-color: var(--primary-dark);
    color: var(--light);
}

/* Tab Content */
#courses .tab-content {
    display: none !important;
}

#courses .tab-content.active {
    display: block !important;
}

/* Course Card */
.course-card {
    background-color: var(--light);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 4px 8px -1px rgba(0, 0, 0, 0.06);
}

.course-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.course-card .info {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.course-card .info-item {
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
}

.course-card .info-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
    margin-right: 0.5rem;
}

.course-card .info-item span {
    color: var(--primary);
}

.course-card p {
    color: #4b5563;
    margin-bottom: 1rem;
}

.course-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.course-card ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
    color: #4b5563;
}

/* Buttons Container */
.buttons-container {
    display: flex;
    flex-wrap: wrap;
}

/* Button Base Styles */
.custom-btn {
    padding: 0.5rem 1.5rem;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease-in-out;
}

/* Enroll Now Button */
.custom-btn.enroll-btn {
    background-color: var(--primary);
    color: var(--light);
    border: 2px solid transparent;
}

.custom-btn.enroll-btn:hover {
    background-color: var(--yellow);
    /* Darker shade of #ffc107 */
    color: var(--dark);
    transform: translateY(-0.25rem);
}

/* Download Brochure Button */
.custom-btn.brochure-btn {
    background-color: var(--primary);
    color: var(--light);
}

.custom-btn.brochure-btn:hover {
    background-color: var(--yellow);
    color: var(--dark);
    transform: translateY(-0.25rem);
}

/* Highlights Card */
.highlights-card {
    background-color: #fff7ed;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.highlights-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.highlights-card .highlight-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.highlights-card .highlight-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
    margin-right: 0.5rem;
    margin-top: 0.25rem;
}

.highlights-card .highlight-item span {
    color: #4b5563;
}

.highlights-card .price-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.highlights-card .price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.highlights-card .price-item span:first-child {
    color: #4b5563;
}

.highlights-card .price-item span:last-child {
    font-weight: 600;
    color: #1f2937;
}

/* Override Bootstrap and Tailwind Conflicts */
#courses,
#courses .course-tabs-container,
#courses .tab-btn,
#courses .custom-btn,
#courses .course-card,
#courses .highlights-card,
#courses .suryamitra-info {
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .course-card .flex {
        display: flex;
        flex-direction: row;
    }

    .course-card .content {
        width: 66.666667%;
        padding-right: 2rem;
    }

    .course-card .sidebar {
        width: 33.333333%;
    }
}

@media (max-width: 767px) {
    .course-card .flex {
        flex-direction: column;
    }

    .course-card .content,
    .course-card .sidebar {
        width: 100%;
    }

    .course-card .sidebar {
        margin-top: 1.5rem;
    }
}

.cta-section .btn {
    background-color: var(--light);
    color: var(--primary);
    border: 2px solid transparent;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-section .btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--yellow);
    transition: all 0.4s ease-in-out;
    z-index: -1;
}

.cta-section .btn:hover:before {
    left: 0;
}

.cta-section .btn:hover {
    color: var(--dark);
    border-color: var(--yellow);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-section .btn.btn-outline-light {
    background-color: transparent;
    color: var(--light);
    border: 2px solid var(--light);
}

.cta-section .btn.btn-outline-light:hover {
    background-color: var(--yellow);
    color: var(--dark);
    border-color: var(--yellow);
}

.cta-section .btn i {
    transition: transform 0.3s ease;
}

.cta-section .btn:hover i {
    transform: translateX(5px);
}
