/* Global Styles */

:root {
    --primary-color: #1dbd65;
    --primary-color-2: rgb(25, 30, 42);
    --secondary-color: #f8b324;
    --secondary-color-2: #8f6e3b;
    --secondary-color-3: #84643c;
    --dark-color-3:#074c27;
    --dark-color-2: #0f723e;
    --dark-color: #0c6b32;
    --prime-color: #118ca7;
    --prime-color-1: #424e60;
    --prime-color-2: #23a84e;
    --light-color: #f9f3e7;
    --text-dark: #333;
    --text-light: #fff;
    --gradient: linear-gradient(47deg, #1dbd65, #f8b324);
    --gradient-dark: linear-gradient(47deg, #3a9d66, #d89e20);
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.18);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.2);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
    --shadow-primary: 0 4px 14px rgba(29, 189, 101, 0.3);
    --shadow-secondary: 0 4px 14px rgba(248, 179, 36, 0.3);
    --shadow-dark: 0 4px 14px rgba(12, 107, 50, 0.3);
    --shadow-inset-sm: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-inset-md: inset 0 2px 5px rgba(0, 0, 0, 0.15);
    --shadow-floating: 0 5px 15px rgba(0, 0, 0, 0.1), 0 2px 5px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-card-hover: 0 14px 28px rgba(0, 0, 0, 0.15), 0 10px 10px rgba(0, 0, 0, 0.12);
    --text-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
    --text-shadow-md: 0 2px 4px rgba(0, 0, 0, 0.15);
    --text-shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.2);
    --text-shadow-primary: 0 2px 4px rgba(29, 189, 101, 0.3);
    --shadow-btn: 0 2px 5px rgba(0, 0, 0, 0.1);
    --shadow-btn-hover: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-btn-primary: 0 4px 14px rgba(29, 189, 101, 0.4);
    --shadow-btn-secondary: 0 4px 14px rgba(248, 179, 36, 0.4);
    --shadow-btn-pressed: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    --depth-1: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --depth-2: 0 3px 6px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.12);
    --depth-3: 0 10px 20px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.1);
    --depth-4: 0 15px 25px rgba(0, 0, 0, 0.15), 0 5px 10px rgba(0, 0, 0, 0.1);
    --depth-5: 0 20px 40px rgba(0, 0, 0, 0.2);
    --neumorphic-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1), -8px -8px 16px rgba(255, 255, 255, 0.5);
    --neumorphic-shadow-inset: inset 3px 3px 5px rgba(0, 0, 0, 0.1), inset -3px -3px 5px rgba(255, 255, 255, 0.5);
    --glow-primary: 0 0 10px rgba(29, 189, 101, 0.7);
    --glow-secondary: 0 0 10px rgba(248, 179, 36, 0.7);
    --glow-dark: 0 0 10px rgba(12, 107, 50, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Century Gothic', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #f5f5f5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn,
button {
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    font-family: inherit;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2 span {
    color: var(--primary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}


/* Preloader */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.2s ease;
}

.preloader.fade-out {
    opacity: 0;
}

.loader {
    text-align: center;
}

.loader-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    animation: pulse 1.5s infinite;
}

.loader-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.loader-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--dark-color);
    letter-spacing: 1px;
    animation: fadeInOut 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeInOut {
    0% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.5;
    }
}


/* Navigation Bar */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.transparent {
    background: transparent;
    box-shadow: none;
    margin-bottom: 10px;
}

.navbar.solid {
    background: var(--gradient);
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    height: 60px;
    transition: var(--transition);
    width: 17%;
    margin-left: -100px;
    margin-top: -4px;
    transform: translateX(-20%);
    cursor: pointer;
}

.nav-links ul {
    display: flex;
    gap: 20px;
}

.nav-links ul li a {
    color: var(--text-light);
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 5px;
    transition: var(--transition);
    position: relative;
}

.nav-links .home-links{
color: var(--primary-color-2);
}

.nav-links .home-links:hover{
color: var(--dark-color-2);
}

.navbar.solid .nav-links .home-links{
    color: var(--text-light);
}

.navbar.solid .nav-links .home-links:hover{
    color: var(--secondary-color);
}

.nav-links ul li a:hover {
    color: var(--secondary-color);
}

.nav-links ul li a .fa-chevron-down {
    transition: 0.3s;
}

.nav-links ul li a:hover .fa-chevron-down {
    transform: rotate(180deg);
    transition: 0.3s;
}

.nav-links ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-links ul li a:hover::after {
    width: 70%;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary-color-2);
    min-width: 250px;
    max-width: 450px;
    border-radius: 5px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    width: fit-content;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    color: var(--text-dark);
    display: block;
    padding: 10px 15px;
    transition: var(--transition);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: var(--dark-color);
    color: white;
    padding-left: 20px;
}

.dropdown-content a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.dropdown .fas {
    color: var(--secondary-color);
}

.dropdown .fa-solid {
    color: var(--secondary-color);
}


/* Search Container */

.search-container {
    position: relative;
    margin-right: 20px;
}

.search-container .home-links{
    color: var(--secondary-color);
}

.navbar.solid .search-container .home-links{
    color: white;
}

.search-btn {
    background: transparent;
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
}

.search-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.search-box {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: white;
    border-radius: 30px;
    padding: 5px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.search-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-box input {
    flex: 1;
    border: none;
    padding: 8px 15px;
    border-radius: 30px;
    outline: none;
    font-size: 0.9rem;
}

.search-submit {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.search-submit:hover {
    background: var(--dark-color);
}


/* Responsive adjustments */

@media (max-width: 768px) {
    .search-container {
        margin-right: 10px;
    }
    .search-box {
        position: fixed;
        top: 80px;
        left: 20px;
        right: 20px;
        width: auto;
    }
}

.auth-buttons {
    display: flex;
    gap: 12px;
    transform: translateX(10%);
    margin-right: -30px;
}

.login-btn,
.signup-btn {
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.login-btn i {
    color: var(--prime-color);
}

.signup-btn i {
    color: var(--primary-color-2);
}

.login-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.login-btn:hover {
    background: var(--primary-color-2);
    color: var(--primary-color);
    scale: 1.05;
}

.signup-btn {
    background: var(--secondary-color);
    color: var(--text-dark);
    border: 1px solid var(--secondary-color);
}

.signup-btn:hover {
    background: var(--dark-color);
    color: white;
    scale: 1.05;
    border: 1px solid var(--primary-color-2)
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}


/* Hero Section with Scrolling Gallery */

.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    color: white;
    overflow: hidden;
}

.hero-section {
    padding-top: 80px;
    /* equal or slightly more than navbar height */
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 290px;
    /* height of the fade zone under navbar */
    background: linear-gradient(to bottom, #fbf4e7 0%, rgba(0, 0, 0, 0) 100%);
    /* Replace #1dbd65 with your navbar background or transparent */
    pointer-events: none;
    z-index: 35;
}

.hero-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0px;
    /* how tall the fade effect should be */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #ffffff 100%);
    /* replace #f5f5f5 with the background of your next section */
    pointer-events: none;
    /* makes sure it doesn’t block clicks */
    z-index: 15;
}

.scrolling-gallery {
    top: 80px;
    /* start below navbar instead of 0 */
    height: calc(100% - 80px);
    /* reduce height so it fits neatly */
}

.scrolling-gallery {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: calc(100% - 40px);
    z-index: -1;
    overflow: hidden;
    background: #fbf4e7;
    /*rgb(4, 56, 25)*/
}

.gallery-track {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 10px;
    will-change: transform;
}

.gallery-track-1 {
    top: 10%;
    right: 640px;
    animation: scroll-down 60s linear infinite;
}

.gallery-track-2 {
    top: 40%;
    right: 20px;
    animation: scroll-down 80s linear infinite;
}

.gallery-track-3 {
    bottom: 10%;
    right: 330px;
    animation: scroll-up 50s linear infinite;
}

.gallery-item {
    flex: 0 0 auto;
    width: 300px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

@keyframes scroll-down {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

@keyframes scroll-up {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(50%);
    }
}

.hero-content {
    max-width: 800px;
    padding: 0px 20px;
    z-index: 1;
    margin-right: 650px;
    margin-bottom: -100px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    /*text-shadow: var(--text-shadow-lg);*/
    width: 70%;
    color:#074c27;
}

.hero-content h1 span {
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    /*text-shadow: var(--text-shadow-md);*/
    font-weight: 600;
    width: 70%;
    color: #000000;
}

.hero-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

.cta-primary,
.cta-secondary {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.cta-primary {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.cta-primary:hover {
    background: var(--dark-color-2);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-btn-hover);
}

.cta-primary .fa-arrow-right {
    transition: 1.5s;
}

.cta-primary:hover .fa-arrow-right {
    color: white;
    transform: translateX(50%);
    transition: 0.7s;
}

.cta-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid white;
}

.hero-buttons .cta-secondary {
    background: transparent;
    color: #000000;
    border: 2px solid #23a84e;
}

.cta-secondary:hover {
    background: var(--primary-color-2);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-btn-hover);
}

.cta-secondary i{
    opacity: 0%;
    transition: 0.8s;
}
 .cta-secondary:hover i {
    opacity: 100%;
    color: var(--secondary-color);
    transition: 1.0s;
    transform: translateX(40%);
}


.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-down span {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.scroll-down i {
    font-size: 1.2rem;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}


/* Course Categories Section */

.course-categories {
    padding: 100px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-card {
    background: white;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card-hover);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    color: white;
    transition: var(--transition);
}

.category-card:hover .card-icon {
    transform: rotateY(180deg);
    background: var(--gradient-dark);
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.category-card p {
    color: #666;
    margin-bottom: 25px;
}

.category-card h2 {
    color: var(--dark-color);
    margin-top: 15px;
    font-size: 1.0rem;
    margin-bottom: -15px;
    animation: heartbeat 3.5s infinite;
    transform-origin: center;
}

.card-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.category-card:hover .card-highlight {
    transform: scaleX(1);
}

.category-btn {
    background: var(--gradient);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.category-btn:hover {
    background: var(--gradient-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-btn-hover);
}

.category-btn .fa-arrow-right {
    transition: var(--transition);
}

.category-btn:hover .fa-arrow-right {
    transform: translateX(5px);
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.1);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.1);
    }
    60% {
        transform: scale(1);
    }
    80% {
        transform: scale(1);
    }
}


/* Featured Courses Section */


/* Featured Courses Section */

.featured-courses {
    padding: 100px 0;
    background: #f9f9f9;
    overflow: hidden;
}

.courses-container {
    position: relative;
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 60px;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.scroll-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.scroll-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.scroll-btn:disabled:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-50%);
}

.scroll-left {
    left: 0;
}

.scroll-right {
    right: 0;
}

.courses-slider {
    overflow: hidden;
    margin: 0 10px;
}

.course-track {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    transition: transform 0.5s ease;
}

.course-card {
    flex: 0 0 auto;
    width: 300px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card-hover);
}

.course-image {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

.course-content {
    padding: 20px;
}

.course-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.course-content p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #777;
}

.course-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.course-btn {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    background: var(--gradient);
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.course-btn:hover {
    background: var(--gradient-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-btn-hover);
}

@keyframes scroll-courses {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 5));
    }
}

.view-all-courses {
    text-align: center;
    margin-top: 50px;
}

.view-all-courses .cta-secondary {
    color: #222;
    transition: 0.8s;
}

.view-all-courses .cta-secondary:hover {
    color: var(--secondary-color);
    transition: 0.8s;
}

.view-all-courses .cta-secondary .fa-arrow-right {
    color: var(--secondary-color);
    transition: 0.4s;
}

.view-all-courses .cta-secondary:hover .fa-arrow-right {
    color: white;
    transition: 0.4s;
}


/* Partners Section */

.partners-section {
    padding: 80px 0;
    background: white;
    margin-bottom: -50px;
}

.partners-slider {
    overflow: hidden;
    position: relative;
    margin-top: 50px;
}

.partner-track {
    display: flex;
    gap: 40px;
    animation: scroll 60s linear infinite;
    width: calc(200px * 16);
}

.partner-logo {
    width: 200px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 1.5s;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 1.5s;
}

.partner-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
    transition: 0.5s;
}

.partner-logo:hover {
    transform: translateY(-1rem);
    transition: 0.7s;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 8));
    }
}


/* Why Choose Section */

.why-choose {
    padding: 100px 0;
    background: white;
}

.choose-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
    padding: 0 20px;
}

.choose-image {
    flex: 1;
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(76, 198, 131, 0.1);
    animation: float 6s infinite ease-in-out;
    z-index: -1;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: -30px;
    left: -30px;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: -50px;
    right: -50px;
    animation-delay: 1s;
}

.shape-3 {
    width: 70px;
    height: 70px;
    top: 50%;
    right: -20px;
    animation-delay: 2s;
}

.choose-content {
    flex: 1;
}

.choose-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.choose-content h2 span {
    color: var(--primary-color);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    transform: rotateY(180deg);
    background: var(--gradient-dark);
}

.feature-text h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.feature-text p {
    color: #666;
    font-size: 0.95rem;
}


/* Testimonials Section */

.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a3a23, #0c6b32);
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 30px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-xl);
}

.testimonial-content {
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.05);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.author-info span {
    font-size: 0.9rem;
    opacity: 0.8;
    display: block;
    margin-bottom: 5px;
}

.rating {
    color: var(--secondary-color);
    font-size: 0.9rem;
}


/* News Section */

.news-section {
    padding: 100px 0;
    background: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card-hover);
}

.news-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.news-date span:first-child {
    font-size: 1.2rem;
    line-height: 1;
}

.news-date span:last-child {
    font-size: 0.7rem;
    text-transform: uppercase;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.news-content p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--prime-color);
    gap: 8px;
}

.read-more .fa-arrow-right {
    transition: 1.5s;
}

.read-more:hover .fa-arrow-right {
    transform: translateX(40%);
    color: black;
    transition: 0.7s;
}


/* Contact CTA Section */

.contact-cta {
    padding: 100px 0;
    background: var(--gradient);
    color: white;
}

.cta-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
    padding: 0 20px;
}

.cta-content {
    flex: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-nam {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0px -40px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border-radius: 30px;
    border: none;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    box-shadow: var(--shadow-primary);
    border-radius: 10px;
}

.form-group select option:checked {
    background: var(--dark-color) !important;
    color: white !important;
}

.form-group option:hover {
    background: #118ca7;
    color: white;
}

.cta-image {
    flex: 1;
    position: relative;
}

.cta-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.element {
    position: absolute;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
    animation: float 6s infinite ease-in-out;
}

.element .fa-comment-dots {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.element .fa-phone-alt {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: var(--prime-color);
}

.element-1 {
    top: 10%;
    left: -20px;
    animation-delay: 0s;
}

.element-2 {
    top: 50%;
    right: -20px;
    animation-delay: 1s;
}

.element-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: 2s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}


/* Impact Section */

.impact-section {
    padding: 100px 0;
    background: #f9f9f9;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.impact-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.impact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card-hover);
}

.impact-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.impact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.impact-card:hover .impact-image img {
    transform: scale(1.1);
}

.impact-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.impact-date span:first-child {
    font-size: 1.3rem;
    line-height: 1;
}

.impact-date span:last-child {
    font-size: 0.7rem;
    text-transform: uppercase;
}

.impact-nation {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 30px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.impact-content {
    padding: 20px;
}

.impact-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.impact-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.85rem;
}

.impact-course {
    background: var(--primary-color);
    color: white;
    padding: 3px 10px;
    border-radius: 30px;
    font-weight: 600;
}

.impact-title {
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 3px 10px;
    border-radius: 30px;
    font-weight: 600;
}

.impact-content p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
}


/* Responsive adjustments */

@media (max-width: 768px) {
    .impact-grid {
        grid-template-columns: 1fr;
    }
}


/* Footer */

.site-footer {
    background: #222;
    color: #aaa;
    padding: 80px 0 0;
    margin-bottom: -60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo img {
    width: 150px;
    margin-bottom: 20px;
}

.footer-logo p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--dark-color);
    transform: translateY(-3px);
    color: var(--secondary-color);
}

.footer-links h3,
.footer-contact h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links ul li a:hover i {
    color: var(--secondary-color);
    transition: 0.4s;
}

.footer-links ul li a i {
    font-size: 0.7rem;
    color: var(--primary-color);
    transition: 0.7s;
}

.footer-contact ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.footer-contact ul li i {
    width: 20px;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    font-size: 0.8rem;
}

.footer-app-links {
    display: flex;
    gap: 15px;
}

.app-store,
.google-play {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #333;
    padding: 8px 15px;
    border-radius: 5px;
    transition: var(--transition);
}

.app-store:hover,
.google-play:hover {
    background: #444;
}

.app-store i,
.google-play i {
    font-size: 1.5rem;
}

.app-store span,
.google-play span {
    display: flex;
    flex-direction: column;
    font-size: 0.7rem;
    line-height: 1.2;
}

.app-store strong,
.google-play strong {
    font-size: 0.9rem;
}


/* Back to Top Button */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: -10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}


/* Ripple Effect */

.ripple {
    position: relative;
    overflow: hidden;
}

.ripple:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform .5s, opacity 1s;
}

.ripple:active:after {
    transform: scale(0, 0);
    opacity: 0.3;
    transition: 0s;
}


/* Responsive Styles */

@media (max-width: 1024px) {
    .choose-container,
    .cta-container {
        flex-direction: column;
        gap: 30px;
    }
    .choose-content,
    .cta-content {
        order: 1;
    }
    .choose-image,
    .cta-image {
        order: 2;
    }
    .course-track {
        animation: scroll-courses 20s linear infinite;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--gradient-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 1000;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 0, 0, 0.1);
        box-shadow: none;
        margin-top: 10px;
    }
    .dropdown-content a {
        color: rgba(255, 255, 255, 0.8);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .dropdown-content a:hover {
        background: transparent;
        color: white;
    }
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }
    .auth-buttons {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .categories-grid {
        grid-template-columns: 1fr;
    }
    .course-track {
        animation: scroll-courses 15s linear infinite;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}