/********** Enhanced Template CSS **********/
:root {
    --primary: #04a34c;
    --primary-dark: #04a34c;
    --primary-light: #7fd1da;
    --secondary: #04a34c;
    --light: #F0FBFC;
    --dark: #181d38;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-light: linear-gradient(135deg, var(--light) 0%, #e6f9fb 100%);
    --glass-light: rgba(255, 255, 255, 0.15);
    --glass-dark: rgba(24, 29, 56, 0.7);
}

/* Modern Body Styles */
body {
    font-family: 'Nunito', sans-serif;
    background-color: #c2f5d6;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    margin-right: 0;
}


.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: right;
    justify-content: right;
    box-shadow: 0 4px 15px rgba(155, 241, 249, 0.3);
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--gradient-primary);
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
    background: rgba(255, 255, 255, 0.9);
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.spinner-border {
    color: var(--primary);
    border-width: 0.25em;
}

/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 50px;
    padding: 12px 28px;
    position: relative;
    overflow: hidden;
    border: none;
}

.btn.btn-primary {
    background: var(--gradient-primary);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(6, 187, 204, 0.3);
    text-wrap: nowrap;
}

.btn.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(6, 187, 204, 0.4);
    background: linear-gradient(135deg, var(--primary-dark) 0%, #235a57 100%);
}

.btn.btn-light {
    background: white;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn.btn-light:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(6, 187, 204, 0.4);
}

.btn-square {
    width: 30px;
    height: 30px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 30px;
    height: 30px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.navbar {
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 20px;
    padding: 15px 0;
    color: var(--dark);
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
    position: relative;
    font-weight: 600;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-light .navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 10px;
    left: 0;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover:after,
.navbar-light .navbar-nav .nav-link.active:after {
    width: 100%;
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        padding: 10px 15px;
    }
    
    .navbar-light .navbar-nav .nav-link:after {
        bottom: 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        padding: 10px 0;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 70px;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border: none;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
    }

    .navbar .dropdown-menu.fade-down {
        top: 100%;
        transform: translateY(20px);
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
    }
    
    .dropdown-item {
        padding: 8px 20px;
        transition: all 0.2s ease;
    }
    
    .dropdown-item:hover {
        background: var(--light);
        color: var(--primary);
        padding-left: 25px;
    }
}

/*** Header carousel ***/
.header-carousel .owl-carousel-item {
    position: relative;
    min-height: 100vh;
}

.header-carousel .owl-carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.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: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 22px;
    transition: all 0.3s ease;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

.header-carousel .position-absolute {
    background: linear-gradient(to right, rgba(24, 29, 56, 0.9) 0%, rgba(24, 29, 56, 0.6) 100%) !important;
}

.header-carousel h1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-carousel p {
    font-size: 1.1rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .header-carousel h1 {
        font-size: 2.5rem;
    }
    
    .header-carousel .owl-carousel-item {
        min-height: 80vh;
    }
    
    .header-carousel .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 700;
    
    letter-spacing: 1px;
    color: var(--dark);
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 3px;
    top: 50%;
    left: -40px;
    transform: translateY(-50%);
    background: var(--gradient-primary);
    z-index: -1;
    border-radius: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 3px;
    bottom: 50%;
    left: -60px;
    transform: translateY(50%);
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0.3;
    border-radius: 3px;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}

/*** Service ***/
.service-item {
    background: white;
    transition: all 0.5s ease;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-item:hover {
    transform: translateY(-10px);
    background: var(--gradient-primary);
    box-shadow: 0 15px 40px rgba(6, 187, 204, 0.2);
}

.service-item * {
    transition: all 0.5s ease;
}

.service-item:hover * {
    color: var(--light) !important;
}

.service-item i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-item:hover i {
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/*** Categories & Courses ***/
.category,
.course-item {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.category:hover,
.course-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.category img,
.course-item img {
    transition: all 0.5s ease;
}

.category a:hover img,
.course-item:hover img {
    transform: scale(1.05);
}

.course-item {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.course-item .position-relative {
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

.course-item .w-100 {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80% !important;
}

.course-item .btn {
    padding: 8px 15px;
    font-size: 14px;
}

.course-item .text-center {
    padding: 20px;
}

.course-item h5 {
    font-weight: 700;
    margin-bottom: 15px;
}

.course-item h3 {
    color: var(--primary);
    font-weight: 700;
}

.course-item .d-flex {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 20px;
}

.bg-white.text-center.position-absolute {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(5px);
    border-radius: 8px;
    padding: 10px 15px !important;
    margin: 15px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.bg-white.text-center.position-absolute:hover {
    background: white !important;
    transform: scale(1.05);
}

/*** About ***/
.about {
    position: relative;
}

.about .position-relative {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about .col-lg-6 {
    padding: 30px;
}

.about h1 {
    font-weight: 800;
    color: var(--dark);
}

.about p {
    font-size: 1.05rem;
    color: #555;
}

.about .fa-arrow-right {
    color: var(--primary);
}

/*** Testimonial ***/
.testimonial-carousel {
    position: relative;
}

.testimonial-item {
    padding: 0 15px;
}

.testimonial-item .testimonial-text {
    background: white !important;
    border-radius: 15px;
    padding: 30px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    margin-top: 20px;
}

.testimonial-item .testimonial-text:before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50px;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid white;
}

.testimonial-item img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-item h5 {
    font-weight: 700;
    margin-top: 15px;
}

.testimonial-item p {
    color: #777;
    font-style: italic;
}

.testimonial-carousel .owl-dots {
    margin-top: 30px;
}

.testimonial-carousel .owl-dot {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: #ddd !important;
    margin: 0 5px !important;
    transition: all 0.3s ease;
}

.testimonial-carousel .owl-dot.active {
    background: var(--gradient-primary) !important;
    transform: scale(1.2);
    color: white;
}

/*** Footer ***/
.footer {
    background: rgba(0, 86, 45, 0.68);
    position: relative;
    overflow: hidden;
}

.footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(6,187,204,0.03)" d="M0,0 L100,0 L100,100 Q50,80 0,100 Z"></path></svg>');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: bottom;
    opacity: 0.5;
}

.footer .btn.btn-social {
    margin-right: 10px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: normal;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    background: white;
    
    transform: translateY(-3px);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 5px 0;
    text-align: left;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: all 0.3s ease;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    color: var(--primary);
}

.footer .btn.btn-link:hover {
    color: white;
    letter-spacing: 1px;
    padding-left: 10px;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer .copyright a {
    color: var(--primary);
    text-decoration: none;
}

.footer .row.g-2 img {
    border-radius: 10px;
    transition: all 0.3s ease;
}

.footer .row.g-2 img:hover {
    transform: scale(1.05);
}

.footer input.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50px;
}

.footer input.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer button.btn-primary {
    background: var(--gradient-primary);
    border: none;
}

/* Additional custom styles */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    color: var(--dark);
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background: var(--gradient-primary) !important;
}

.bg-light {
    background: var(--light) !important;
}

.bg-dark {
    background: var(--dark) !important;
}

/* Animation classes */
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInUp {
    animation-name: fadeInUp;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .section-title::before,
    .section-title::after {
        display: none;
    }
        
    
    .service-item {
        margin-bottom: 30px;
    }
    
    .footer .col-lg-3 {
        margin-bottom: 30px;
    }
}
/********** Enhanced Template CSS **********/
:root {
    --primary: #04a34c;
    --primary-dark: #04632e;
    --primary-light: #88d96f;
    --secondary: #11482a;
    --light: #F0FBFC;
    --dark: #0e4a20;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-light: linear-gradient(135deg, var(--light) 0%, #e6f9fb 100%);
    --glass-light: rgba(255, 255, 255, 0.15);
    --glass-dark: rgba(11, 62, 28, 0.7);
}

/* Modern Body Styles */
body {
    font-family: 'Nunito', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    margin-right: 0;
}

/* Enhanced Spinner */
#spinner {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
}

/* Premium Navbar */
.navbar {
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
}

.navbar-light .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient-primary);
    transition: width 0.4s ease;
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Liquid Glass Header */
.header-carousel .owl-carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(24, 29, 56, 0.85) 0%, rgba(24, 29, 56, 0.6) 100%);
    backdrop-filter: blur(2px);
}

/* Premium Buttons */
.btn {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn.btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 4px 15px rgba(6, 187, 204, 0.3);
}

.btn.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #235a57 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(6, 187, 204, 0.4);
}

.btn.btn-primary:hover::before {
    opacity: 1;
}

.btn.btn-light:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Enhanced Service Items */
.service-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(6, 187, 204, 0.15);
    color: white;
}

.service-item:hover::before {
    opacity: 1;
}

.service-item:hover i {
    color: white !important;
    transform: scale(1.2);
}

.service-item i {
    transition: all 0.4s ease;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Premium Course Cards */
.course-item {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

.course-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(6, 187, 204, 0.2);
}

.course-item img {
    transition: transform 0.6s ease;
}

.course-item:hover img {
    transform: scale(1.1);
}

/* Centered Course Buttons */
.course-item .w-100 {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80% !important;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.course-item .btn {
    flex: 1;
    max-width: 120px;
    padding: 8px 15px;
    font-size: 14px;
}

/* Modern Testimonials */
.testimonial-carousel .testimonial-text {
    background: white !important;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-carousel .testimonial-text::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50px;
    width: 20px;
    height: 20px;
    background: white;
    transform: rotate(45deg);
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: rgb(146, 255, 179) !important;
    color: white;
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.header-carousel .position-absolute {
    animation: float 6s ease-in-out infinite;
}

/* Pulse Animation for CTA */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.btn-primary {
    animation: pulse 4s infinite;
}

/* Enhanced Footer */
.footer {
    position: relative;
    overflow: hidden;
    background: rgba(0, 86, 45, 0.68);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(6,187,204,0.03)" d="M0,0 L100,0 L100,100 Q50,80 0,100 Z"></path></svg>');
    background-size: 100% 100%;
    opacity: 0.3;
}

.footer .btn.btn-social {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.footer .btn.btn-social:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link::after {
        display: none;
    }
    
    .course-item .w-100 {
        width: 90% !important;
    }
}

@media (max-width: 767.98px) {
    .header-carousel h1 {
        font-size: 2.2rem;
    }
    
    .service-item {
        margin-bottom: 20px;
    }
}


/* Liquid Glass Effects */
.glass-card {
    background: var(--glass-light);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.glass-nav {
    background: var(--glass-dark) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modern Button Styles */
.btn-premium {
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(6, 187, 204, 0.3);
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(6, 187, 204, 0.4);
}

.btn-premium:hover::before {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #235a57 100%);
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Glow Effects */
.glow-primary {
    filter: drop-shadow(0 0 8px rgba(6, 187, 204, 0.6));
}

/* Hover Effects */
.hover-scale {
    transition: transform 0.4s ease;
}

.hover-scale:hover {
    transform: scale(1.03);
}

/* Pulse Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 4s infinite;
}

/* Modern Course Cards */
.course-item-premium {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: white;
}

.course-item-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(6, 187, 204, 0.15);
}

.course-item-premium .course-img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.course-item-premium:hover .course-img {
    transform: scale(1.1);
}

.course-item-premium .course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

/* Center Popular Course Buttons */
.course-item-premium .course-buttons {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 80%;
    display: flex;
    justify-content: center;
    gap: 5px;
}

/* Modern Testimonials */
.testimonial-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.testimonial-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Animated Underline */
.hover-underline {
    position: relative;
}

.hover-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient-primary);
    transition: width 0.4s ease;
}

.hover-underline:hover::after {
    width: 100%;
}

/* Modern Section Headers */
.section-header {
    position: relative;
    margin-bottom: 50px;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

/* Liquid Background Effect */
.liquid-bg {
    position: relative;
    overflow: hidden;
}

.liquid-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    opacity: 0.1;
    animation: liquid 15s linear infinite;
}

@keyframes liquid {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modern Form Inputs */
.input-glass {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 12px 20px;
    color: white;
    transition: all 0.3s ease;
}

.input-glass:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(6, 187, 204, 0.2);
}

/* 3D Card Effect */
.card-3d {
    transform-style: preserve-3d;
    transition: all 0.5s ease;
}

.card-3d:hover {
    transform: perspective(1000px) rotateY(5deg) rotateX(5deg) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Animated Gradient Border */
.gradient-border {
    position: relative;
    border-radius: 15px;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 17px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gradient-border:hover::before {
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .glass-card {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    
    .course-item-premium .course-buttons {
        width: 90%;
    }
}

/* Apply to existing elements */
.navbar {
    composes: glass-nav;
}

.service-item {
    composes: glass-card;
    composes: hover-scale;
}

.testimonial-item .testimonial-text {
    composes: testimonial-glass;
}

.btn.btn-primary {
    composes: btn-premium;
}

.course-item {
    composes: course-item-premium;
}

.section-title {
    composes: section-header;
}

.navbar-light .navbar-nav .nav-link {
    composes: hover-underline;
}


/* Enhanced Category Styles */
.category-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(6, 187, 204, 0.2);
}

.category-img {
    position: relative;
    height: 200px;
}

.category-img img {
    transition: transform 0.6s ease;
    height: 100%;
    object-fit: cover;
}

.category-card:hover .category-img img {
    transform: scale(1.1);
}

.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.category-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.programs-list {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin: 15px 0;
}

.program-item {
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.program-item:last-child {
    border-bottom: none;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;

}

.filter-buttons .btn {
    transition: all 0.3s ease;
    border-width: 2px;
    border-color: #0e4a20;
    font-weight: 600;
    color: #0e4a20;
}

.filter-buttons .btn:hover{
    background-color: #04a34c;
}

.filter-buttons .btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: #0e4a20;
}

.category-item {
    transition: all 0.4s ease;
    opacity: 1;
    transform: translateY(0);
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hover-scale {
    transition: transform 0.4s ease;
}

.hover-scale:hover {
    transform: scale(1.03);
}

.bg-primary-light {
    background-color: var(--light);
}
/* Enhanced Courses Section Styles */
.course-item {
    transition: all 0.3s ease;
    border: none !important;
    border-radius: 12px !important;
    overflow: hidden;
}

.course-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.course-badge {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rating {
    display: inline-flex;
    align-items: center;
}

.course-item img {
    transition: transform 0.5s ease;
    position: absolute;
}

.course-item:hover img {
    transform: scale(2);
}

/* Gradient Text for Heading */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Button Styles */
.btn-outline-primary {
    border: 1px solid #3a7bd5;
    color: #3a7bd5;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #3a7bd5;
    color: white;
}

.btn-primary {
    background-color: #3a7bd5;
    border-color: #3a7bd5;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2a6bc4;
    border-color: #2a6bc4;
    transform: translateY(-2px);
}

/* Badge Styles */
.badge {
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 20px;
}

/* Section Background */
.courses-section-bg {
    background: linear-gradient(to right, #f8f9fa, #ffffff);
    position: relative;
    z-index: 1;
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .course-item {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 0.9rem;
    }
    
    h1.display-4 {
        font-size: 2.2rem;
    }
}

/* Price Styling */
.course-price {
    font-weight: 700;
    color: #3a7bd5;
    font-size: 1.2rem;
}

/* Course Description */
.course-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 72px;
}

/* Floating Enroll Now Button */
.floating-enroll-btn {
    position: fixed;
    right: 30px;
    bottom: 100px; /* Positioned above the back-to-top button */
    z-index: 99;
    animation: pulse 2s infinite;
    transform: translateY(0);
    transition: var(--transition-normal);
    box-shadow: 0 10px 30px rgba(0, 201, 167, 0.3);
    border-radius: 50px;
    overflow: hidden;
}

.floating-enroll-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 201, 167, 0.4);
    animation: none; /* Stop pulse animation on hover */
}

/* Adjust back-to-top button position to avoid overlap */
.back-to-top {
    bottom: 30px; /* Keep this as is */
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .floating-enroll-btn {
        right: 20px;
        bottom: 90px;
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .floating-enroll-btn {
        right: 15px;
        bottom: 80px;
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* Modal Styles */
.modal-content {
  border-radius: 10px;
  border: none;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.modal-header {
  border-bottom: 1px solid #eee;
  background-color: #f8f9fa;
  border-radius: 10px 10px 0 0;
}

.modal-title {
  font-weight: 600;
  color: var(--primary);
}

.modal-body {
  padding: 2rem;
}

.modal-body img {
  max-height: 250px;
  object-fit: cover;
  width: 100%;
}

.modal-body h5 {
  margin-top: 1.5rem;
  color: var(--primary);
  font-size: 1.1rem;
}

/* Add to your style section */
body.modal-open {
    overflow: auto;
    padding-right: 0 !important;
}

.modal-backdrop {
    display: none;
}
/* Fix modal backdrop and scrolling issues */
body.modal-open {
    overflow: auto !important;
    padding-right: 0 !important;
}

.modal {
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-backdrop {
    opacity: 0.5 !important;
}
/* Adjust container width and padding */
.container, .container-fluid, .container-xxl {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* For larger screens */
@media (min-width: 1400px) {
    .container, .container-xxl {
        max-width: 1320px;
    }
}

/* Adjust navbar container specifically */
.navbar > .container {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Remove extra margins from sections */
section {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

/* Adjust carousel container */
.header-carousel .container {
    padding-left: 1rem;
    padding-right: 1rem;
}
/* Video Background Styles */
.video-background {
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
}

/* Ensure content stays above video */
.header-carousel .container {
    position: relative;
    z-index: 1;
}

/* Fallback for mobile devices */
@media (max-width: 768px) {
    .video-background {
        background: url('../img/carousel-1.jpg') no-repeat center center;
        background-size: cover;
    }
    .video-background video {
        display: none;
    }
}

/* Video Background Styles */
.hero-section {
    height: 100vh;
    min-height: 600px;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fallback-image {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.content-container {
    z-index: 1;
}

/* Mobile Fallback */
@media (max-width: 768px) {
    .video-background video {
        display: block;
    }
}
/* EMERGENCY IMAGE FIXES */
img {
    min-height: 50px !important;
}

.course-item img {
    position: relative !important; /* Override any absolute positioning */
    height: auto !important;
    max-height: 250px !important;
}

/* Universal Course Image Styling */
.course-item .position-relative {
    padding: 0 !important;
    margin: 0 !important;
    aspect-ratio: 16/9; /* Enforces 16:9 ratio */
    overflow: hidden;
    display: flex; /* For perfect centering */
    align-items: center; /* Vertical center */
    justify-content: center; /* Horizontal center */
}

.course-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Ensures no distortion */
    margin: 0 !important;
    padding: 0 !important;
    display: block; /* Removes inline spacing */
    min-width: 100%; /* Prevents undersizing */
    min-height: 100%; /* Prevents undersizing */
    transition: transform 0.3s ease; /* Smooth hover effect */
}

.course-item:hover img {
    transform: scale(2.05); /* Subtle zoom on hover */
}

/* Partners Section */
.partner-logos {
    position: relative;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.partner-track {
    display: flex;
    flex-direction: row;
    align-items: center;
    
}



.partner-logo {
    max-width: 160px;
    max-height: 160px;
    width: auto;
    height: auto;
    filter: grayscale(100%) brightness(0.8);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-item:hover .partner-logo {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    
}

/* Animation */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Pause on hover */
.partner-logos:hover .partner-track {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
    .partner-item {
        min-width: 100px;
        padding: 0 20px;
    }
    
    .partner-logo {
        max-width: 120px;
    }
}

/* Service Item Uniform Height */
.service-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-item .p-4 {
    padding: 1.5rem !important; /* Reduced from default */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-item p {
    flex-grow: 1;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 5; /* Limit to 5 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 7.5em; /* Fallback for non-webkit */
}

.service-item h5 {
    min-height: 3em; /* For 2-line headings */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Remove extra <br> tags from HTML */
.service-item br {
    display: none;
}

/* Course Card Container */
.course-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* Image Container */
.course-img-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-img {
    transform: scale(1.05);
}

/* Badge */
.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #3a7bd5, #00d2ff);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Overlay */
.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-card:hover .course-overlay {
    opacity: 1;
}

.btn-view-details {
    background: white;
    color: #3a7bd5;
    border: none;
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Card Body */
.course-body {
    padding: 20px;
}

.course-duration, .course-level {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.course-title {
    font-size: 1.25rem;
    margin: 10px 0;
    color: #333;
    font-weight: 700;
    min-height: 60px;
}

.course-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 63px;
}

/* Footer */
.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
}

.course-rating {
    display: flex;
    align-items: center;
}

.stars {
    color: #ffc107;
    margin-right: 5px;
}

.reviews {
    font-size: 12px;
    color: #888;
}

.course-price {
    font-weight: 700;
    color: #3a7bd5;
    font-size: 1.1rem;
}

/* Buttons */
.course-actions {
    display: flex;
    gap: 10px;
}

.btn-outline-details {
    border: 1px solid #3a7bd5;
    color: #3a7bd5;
    flex: 1;
    border-radius: 6px;
    font-weight: 500;
    padding: 8px;
    transition: all 0.3s ease;
}

.btn-outline-details:hover {
    background: #3a7bd5;
    color: white;
}

.btn-enroll {
    background: linear-gradient(135deg, #3a7bd5, #00d2ff);
    color: white;
    flex: 1;
    border-radius: 6px;
    font-weight: 500;
    padding: 8px;
    border: none;
    transition: all 0.3s ease;
}

.btn-enroll:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(58, 123, 213, 0.4);
}

/* Portfolio Styles */
    .portfolio-card {
        background: white;
        transition: all 0.3s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .portfolio-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .portfolio-img {
        height: 220px;
        overflow: hidden;
    }
    
    .portfolio-img img {
        transition: all 0.5s ease;
        height: 100%;
        object-fit: cover;
    }
    
    .portfolio-card:hover .portfolio-img img {
        transform: scale(1.1);
    }
    
    .portfolio-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(4, 163, 76, 0.9);
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .portfolio-card:hover .portfolio-overlay {
        opacity: 1;
    }
    
    /* Portfolio Filter */
    .portfolio-item {
        display: none;
    }
    
    .portfolio-item.show {
        display: block;
        animation: fadeIn 0.5s ease;
    }
    
    @keyframes fadeIn {
        0% { opacity: 0; }
        100% { opacity: 1; }
    }

    .portfolio-box {
        transition: all 0.3s ease;
        border: 1px solid rgba(0,0,0,0.1);
    }
    
    .portfolio-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        border-color: var(--primary);
    }
    
    .tech-tags .badge {
        font-size: 0.75rem;
        font-weight: 500;
        padding: 0.25rem 0.5rem;
    }

/* Remove Bootstrap's default container padding */
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        padding-right: 0;
    }
}

/* Add this to your style.css file */
body {
    margin-right: 0 !important;
    overflow-x: hidden; /* Prevents horizontal scrolling */
    align-items: center;
    justify-content: center;
}

/* For extra precaution on all elements */
.container,
.container-fluid,
.container-xxl,
.row,
[class*="col-"] {
    margin-right: 0;
    margin-left: 0;
}

/* Ensure no element creates unintended spacing */
body * {
    margin-right: 0;
}

/* Fix for Bootstrap's default gutters */
.g-0 {
    --bs-gutter-x: 0;
}

/* Main container adjustments */
.container,
.container-fluid {
    padding-left: 2px !important;
    padding-right: 2px !important;
}

/* Mobile view (up to 768px) */
@media (max-width: 768px) {
    body {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
    
    .category-container {
        margin-left: -2px;
        margin-right: -2px;
    }
    
    .category-item {
        padding-left: 2px !important;
        padding-right: 2px !important;
    }
    
    .category-card {
        border-radius: 8px !important;
    }
}

/* Desktop view adjustments */
@media (min-width: 769px) {
    .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .category-item {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Ensure full-width elements maintain layout */
.header-carousel,
.page-header,
.footer {
    margin-left: -2px !important;
    margin-right: -2px !important;
    width: calc(100% + 4px) !important;
}
.loading-image {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    object-fit: contain;
}


/* PARTNERS SECTION */

.partners-section {
    overflow: hidden;
}

.partner-logos-wrapper {
    position: relative;
    width: 100%;
    background-color: blue;
    overflow: hidden;
    padding: 2rem 0;
}

.partner-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    animation: scroll 10s linear infinite;
    width: max-content;
}

.partner-track:hover {
    animation-play-state: paused;
}
.partner-item{
display: flex;
justify-content: center;
align-items: center;
width: 180px;
height: 120px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
background: white;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.partner-logo {
    max-width: 100%;
    max-height: 100%;
    
    width: 150px;
    height: 90px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-item:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partner-item {
        width: 140px;
        height: 100px;
        padding: 1rem;
    }
    
    .partner-track {
        gap: 2rem;
    }
}

/* Header joining button styles */
.join-button {
  display: inline-block;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: bold;
  color: white;
  background: linear-gradient(15deg, #198754);
  border: none;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.join-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-45deg);
  transition: left 0.5s ease;
}

.join-button:hover::before {
  left: 100%;
}

.join-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}