:root {
    --gradient-start: #ff5f6d;
    --gradient-end: #ffc371;
    --button-color: #4e54c8;
    --button-hover: #6f75e9;
    --white: #ffffff;
    --spinner-color: var(--white);
    --blur-bg: rgba(255, 255, 255, 0.15);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: var(--white);
}

.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 20px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    color: transparent;
    font-weight: bold;
}

.hero-content img.hero-logo {
    height: 100px;
    width: auto;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-content .btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--white);
    background: var(--button-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.hero-content .btn:hover {
    background: var(--button-hover);
    transform: translateY(-5px);
}

.hero-content .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--button-hover), transparent);
    transform: translate(-50%, -50%) scale(0);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.main-content {
    text-align: center;
    padding: 40px;
    margin: 20px auto;
    border-radius: 20px;
    background: var(--blur-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    width: 80%;
    transition: all 0.3s ease;
}

.main-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    
}

.main-content p {
    font-size: 1.2em;
    line-height: 1.5;
}

.course-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px auto;
    padding: 20px;
    width: 90%;
}

.course-card {
    background: var(--blur-bg);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.course-card:hover {
    transform: scale(1.05);
}

.course-image {
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
    border-radius: 15px 15px 0 0;
    margin-bottom: 15px;
}

.course-card h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.course-card p {
    font-size: 1em;
    margin-bottom: 15px;
}

.course-card button {
    padding: 10px 20px;
    font-size: 1em;
    color: var(--white);
    background: var(--button-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.course-card button:hover {
    background: var(--button-hover);
}



.cta-section {
    text-align: center;
    margin: 40px auto;
    padding: 20px;
}

.cta-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.cta-section button {
    padding: 15px 30px;
    font-size: 1.2em;
    color: var(--white);
    background: var(--button-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s;
}

.cta-section button:hover {
    background: var(--button-hover);
}


.footer {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    padding: 20px 0;
    font-size: 14px;
}

.footer-container {
    width: 80%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 50px;
    margin-right: 10px;
    color: var(--button-color);
}

.footer-logo h2 {
    margin: 0;
    font-size: 24px;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 20px;
}

.footer-column {
    flex: 1;
    padding: 0 10px;
}

.footer-column h3 {
    font-size: 18px;
    border-bottom: 2px solid var(--button-color);
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--button-color);
}

.footer-column ul li i {
    margin-right: 8px;
}

.footer-social {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-social a {
    margin: 0 10px;
    font-size: 24px;
    color: #fff;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--button-color);
}

.footer-credits {
    text-align: center;
}

.footer-credits p {
    margin: 0;
}

.navbar-link::after {
    background-color:  var(--button-color)!important; 
}
.navbar-link:hover {
    color:  var(--button-color) !important;
}

.navbar-signup {
    background-color:  var(--button-color) !important;
}
.navbar-signup:hover {
   color: #fff !important;
}
.navbar-logo {
    width: 240px !important;
    height: 45px !important;
}

/* Media Queries for Mobile Devices */
@media (max-width: 768px) {
    .hero {
        height: 60vh;
    }
    .hero img {
        width: 330px !important;
        height: 60px !important;
    }


    .hero-content h1 {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 10px;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .hero-content .btn {
        padding: 10px 30px;
        font-size: 1rem;
    }

    .main-content {
        width: 90%;
        padding: 20px;
    }

    .main-content h1 {
        font-size: 2.5em;
    }

    .main-content p {
        font-size: 1em;
    }

    .course-section {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 10px;
    }

    .course-card h3 {
        font-size: 1.5em;
    }

    .course-card p {
        font-size: 0.9em;
    }

    .course-card button {
        padding: 8px 16px;
        font-size: 0.9em;
    }

    .cta-section h2 {
        font-size: 2em;
    }

    .cta-section button {
        padding: 10px 20px;
        font-size: 1em;
    }

    .footer-container {
        width: 90%;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        padding: 0;
        margin-bottom: 20px;
    }

    .footer-social a {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-content .btn {
        padding: 8px 25px;
        font-size: 0.9rem;
    }

    .main-content h1 {
        font-size: 2em;
    }

    .main-content p {
        font-size: 0.9em;
    }

    .course-card h3 {
        font-size: 1.2em;
    }

    .course-card p {
        font-size: 0.8em;
    }

    .course-card button {
        padding: 8px 12px;
        font-size: 0.8em;
    }

    .cta-section h2 {
        font-size: 1.8em;
    }

    .cta-section button {
        padding: 10px 15px;
        font-size: 0.9em;
    }

    .footer-logo i {
        font-size: 40px;
    }

    .footer-logo h2 {
        font-size: 20px;
    }
}
@media (max-width: 768px) {
    .navbar-menu {
        background-color: rgba(244, 127, 127, 0.9) !important;
        box-shadow: 0 8px 16px rgba(247, 53, 53, 0.3) !important;
    }
}