/* style.css */

/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    color: #333;
}
/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: url('../assets/images/home-background.svg') no-repeat center center fixed;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #333;
}

/* Adding a semi-transparent overlay */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* Subtle overlay */
    z-index: -1;
}

/* ======= HEADER ======= */
header {
    height: 120px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #1A237E; 
    color: white;
    padding: 2rem 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5rem;
    margin: 0;
}

header p {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

/* ======= NAVIGATION BAR ======= */
nav {
    height: 50px; 
    display: flex;
    align-items: center;
    justify-content: center;

}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    align-items: center;
    height: 100%;
    width: 100%;
    background: #283593; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    display: inline-block;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.2s ease;
}

nav ul li a:hover, 
nav ul li a.active {
    background: #F7F7F7; 
    border: 0.5px solid rgba(0, 0, 0, 0.2); 
    color: #1E2A78;
    padding: 12px 20px;
    margin: 4px 0;
    border-radius: 4px;
    box-shadow: 0px 5px 7px rgba(0, 0, 0, 0.2);
    transition: 0.2s ease-in-out;
    transform: scale(1.05);

}

/* ======= Main Content ======= */
main {
    padding: 2rem;
}

section {
    background: white;
    margin: 1rem auto;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ======= Modules Section ======= */
.modules-grid {
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
}

.module-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 48%;
    transition: transform 0.3s ease;
}

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

.module-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.module-card button {
    background: linear-gradient(45deg, #6A0DAD, #0084FF); /* Purple-to-Blue Gradient */
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
}

.module-card button:hover {
    background: linear-gradient(45deg, #0084FF, #6A0DAD);
    transform: scale(1.05);
}

/* ======= How to Use Section ======= */
.interactive-steps {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    margin-top: 1rem;
}

.step {
    /* background: #f9f9f9; */
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 10px;
    width: 30%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); 
}

/* ======== Intro Section ======== */
#intro {
    position: relative;
    padding: 2rem;
    
    background: linear-gradient(90deg, #6A0DAD, #0084FF, #02AAB0); /* Purple, Blue, and Teal */
    color: white;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.intro-content {
    position: relative;
    z-index: 2;
    max-width: 60%;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.intro-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.intro-content ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    padding-left: 0;
}

.intro-content ul li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

/* Highlights styles */
.intro-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.intro-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, border-radius 0.3s ease;
    border-radius: 0px; 
    padding: 0; 
}

.highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); 
    border-radius: 15px; 
    padding: 10px; 
}

.highlight img {
    width: 50px; 
    height: 50px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.highlight:hover img {
    transform: scale(1.1); 
}

.highlight p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}


/* ======== Responsive Design ======== */
@media (max-width: 768px) {

}

@media (max-width: 768px) {
    header {
        height: auto; 
        padding: 1rem; 
    }

    nav {
        height: auto; 
        flex-direction: column; 
        padding: 0.5rem 0;
    }

    nav ul {
        flex-direction: column;
        gap: 5px;
    }

    nav ul li a {
        padding: 12px 18px;
        width: 100%; 
        text-align: center;
    }

    .modules-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .module-card {
        width: 100%;
    }

    .interactive-steps {
        flex-direction: column;
        gap: 1rem;
    }

    .step {
        width: 100%;
    }
}

