/* General Styles (Overrides) */
body {
    font-family: 'Inter', sans-serif; /* Modern sans-serif font */
    background-color: #121212; /* Dark background */
    color: #f0f0f0; /* Light text color */
    line-height: 1.6;
    margin: 0;
    overflow-x: hidden;
}

a {
    color: cyan; /* Neon link color */
    transition: color 0.3s ease; /* Smooth hover transition */
}

a:hover {
    color: cyan; /* Neon hover effect */
}
/* Accessibility */
a:focus, button:focus, .btn:focus {
    outline: 2px solid cyan; /* Clear outline for keyboard navigation */
}
/* Customizable font size*/
body{
    font-size: 16px;
}
/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header/Navigation (Maintain Structure, Update Styling) */
header {
    background-color: #000000; /* Dark header background */
    padding: 1rem 0;
    position: sticky;
    top:0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav {
    position: relative;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none; /* Remove bullet points */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
    display: flex; /* Make items horizontal */
    gap: 2rem; /* Add space between list items */
    align-items: center; /* Center items vertically */
}

nav li {
    margin: 0; /* Remove default list item margins */
    position: relative; /* For potential pseudo-element effects */
}

nav a {
    color: #fff; /* White text color */
    text-decoration: none; /* Remove underlines */
    padding: 0.5rem 1rem; /* Add padding around links */
    border-radius: 5px; /* Rounded corners */
    transition: color 0.3s ease, background-color 0.3s ease; /* Smooth transitions */
}

nav a:hover {
    color: cyan; /* Neon hover color */
    background-color: rgba(255, 255, 255, 0.1); /* Slight background on hover */
}
/* Neon underline animation on hover */
nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: cyan;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-image {
    height: 40px;
    width: auto;
}

.cta-button {
    background-color: cyan;
    color: #000;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
}

.cta-button:hover {
    background-color: #00ffff;
    color: #000;
}

/* Hero Section */
#hero {
    background-color: #1e1e1e; /* Darker section background */
    padding: 40px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

#hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00bcd4, #ff4081); /* Example gradient */
    opacity: 0.2; /* Adjust for desired effect */
    pointer-events: none; /* Allows click-through to content */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero Title Animation */
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    white-space: nowrap;
    position: relative;
    animation: heroTitleReveal 3s ease-in-out forwards, heroTitleGlow 1s ease-in-out 3s infinite;
    padding-right: 1rem; /* Added padding */
}

/* Reveal animation */
@keyframes heroTitleReveal {
    0% {
        width: 0; /* Start hidden */
        opacity: 0;
    }
    100% {
        width: 100%; /* Reveal fully */
        opacity: 1;
    }
}

/* Glow animation */
@keyframes heroTitleGlow {
    0%,
    100% {
        text-shadow: 0 0 10px cyan;
    }
    50% {
        text-shadow: 0 0 20px magenta;
    }
}

/* Create a neon effect */
.hero-title::before {
    content: '';
    position: relative;
    top: 0;
    left: 0;
    width: 100%; /* Increased width */
    height: 100%;
    opacity: 0.8;
    mix-blend-mode: screen;
    pointer-events: none;
}

@keyframes heroTitleNeonGlow {
    0%,
    100% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.4;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #eee;
}

.hero-image{
    margin-top: 1.5rem;
    transition: opacity 0.5s ease-in-out;
}

.hero-image img{
    width: 80%;
    max-width: 300px;
    height: auto;
    border-radius: 10%;
    animation: heroImageFloat 5s ease-in-out infinite; /* Apply the animation */
}

@keyframes heroImageFloat {
    0% {
        transform: translateY(0px); /* Start at the original position */
    }
    50% {
        transform: translateY(-20px); /* Move up slightly */
    }
    100% {
        transform: translateY(0px); /* Return to the original position */
    }
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: cyan; /* Primary neon button color */
    color: #121212; /* Dark text for contrast */
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 10px cyan; /* Neon glow */
    font-weight: bold;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn:hover {
    background-color: magenta;
    box-shadow: 0 0 15px magenta;
}

.secondary-btn{
    background-color: transparent;
    border: 2px solid cyan;
    color: #fff;
    box-shadow: none;
    margin-top: 1rem;
}
.secondary-btn:hover{
    box-shadow: 0 0 15px cyan;
    background-color: #121212;
}

/* About Section */
#about {
    background-color: #252525; /* Darker background */
    padding: 40px 20px;
    text-align: left;
    color: #f0f0f0;
    margin-bottom: 2rem;
}
.about-content{
    margin-bottom: 2rem;
}
.about-image img{
    max-width: 100%;
    height: auto;
}
#about h1, #about h2, #about h3, #about h4, #about strong {
    color: cyan; /* Neon accent for headings */
}

#about ul{
    list-style: none;
}

/* Features Section */
#features {
    background-color: #1e1e1e; /* Dark background */
    padding: 40px 20px;
    margin-bottom: 2rem;
}
#features h2{
    color: cyan;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature {
    background-color: #252525;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    text-align: center;
}

.feature:hover {
    transform: translateY(-5px);
}

/* Feature Images Animation */
.feature img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
}

.feature:hover img {
    transform: scale(1.1) rotate(5deg); /* Scale up and rotate on hover */
    box-shadow: 0 0 15px cyan; /* Add a glow effect on hover */
}

.feature h3 {
    color: cyan; /* Neon accent */
    margin-bottom: 0.5rem;
}

.feature p {
    color: #f0f0f0;
}

/* CTA Section */
#cta {
    background-color: #252525;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 2rem;
}
#cta h2, #cta h3{
    color: cyan;
}

.download-logo{
    max-width: 240px;
    height: auto;
    margin-right: 10px;
    margin-top: 15px;
}
.download-buttons{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

/* Contact */
#contact {
    background-color: #1e1e1e;
    padding: 40px 20px;
    margin-bottom: 2rem;
    text-align: center;
}
#contact h1, #contact h2{
    color: cyan;
}

/* Footer */
footer {
    background-color: #000;
    color: #fff;
    padding: 2rem 0;
    margin-top: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #f0f0f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: cyan;
}

.copyright {
    text-align: center;
    margin: 0;
    color: #888;
}

/* Privacy and terms */
main section{
    background-color: #1e1e1e;
    padding: 40px 20px;
    margin-bottom: 2rem;
}
main h1, main h2, main h3{
    color: cyan;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: cyan;
    color: #121212;
    padding: 8px;
    z-index: 1001;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* Improve interactive element contrast */
.btn {
    color: #121212;
    background-color: cyan;
    min-height: 44px; /* Touch target size */
    min-width: 44px;
}

/* Add focus styles for interactive elements */
.feature:focus-within {
    outline: 2px solid cyan;
    outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        gap: 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* Accessibility */
nav a:focus,
.footer-links a:focus {
    outline: 2px solid cyan;
    outline-offset: 2px;
}

/* Curriculum Overview Styles */
.curriculum-overview {
    max-width: 1000px;
    margin: 2rem auto;
}

.curriculum-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #f0f0f0;
}

.chapter-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 2rem; /* Space between chapters */
}

.chapter-item {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    margin-bottom: 0; /* Remove margin-bottom since we're using grid gap */
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
}

/* Responsive adjustment for smaller screens */
@media (max-width: 992px) {
    .chapter-list {
        grid-template-columns: 1fr; /* Single column on smaller screens */
    }
    
    .chapter-item {
        margin-bottom: 1.5rem; /* Add margin for single column layout */
    }
}

/* Optional: Adjust content spacing */
.chapter-content {
    flex: 1; /* Allow content to fill available space */
    display: flex;
    flex-direction: column;
}

.chapter-highlights {
    margin-top: auto; /* Push highlights to bottom if content is shorter */
}

.chapter-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.chapter-number {
    color: cyan;
    font-weight: bold;
    font-size: 0.9rem;
}

.estimated-time {
    color: #888;
    font-size: 0.9rem;
    margin-left: auto;
}

.chapter-content {
    padding-left: 1rem;
    border-left: 2px solid #333;
}

.chapter-highlights, .learning-outcomes, .hands-on {
    background: #252525;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
}

.chapter-highlights h6, .learning-outcomes h6, .hands-on h6 {
    color: cyan;
    margin-bottom: 0.5rem;
}

.chapter-highlights ul, .learning-outcomes ul, .hands-on ul {
    list-style: none;
    padding-left: 1rem;
}

.chapter-highlights li, .learning-outcomes li, .hands-on li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.chapter-highlights li::before, .learning-outcomes li::before, .hands-on li::before {
    content: "→";
    color: cyan;
    position: absolute;
    left: 0;
}

.curriculum-features {
    background: #1a1a1a;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    border: 1px solid #333;
}

.certification-path {
    background: linear-gradient(45deg, #1a1a1a, #252525);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .chapter-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .estimated-time {
        margin-left: 0;
    }
}

/* Mission Cards Styles */
.mission-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.mission-card {
    background: linear-gradient(145deg, #1a1a1a, #252525);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00ffff, #00ff87);
    opacity: 0.7;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00ffff20, #00ff8720);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 1.5rem;
    color: cyan;
}

.mission-card h4 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.mission-card p {
    color: #b0b0b0;
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mission-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mission-card {
        padding: 1.5rem;
    }
}

/* Animation for cards */
@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mission-card {
    animation: cardEntrance 0.8s ease-out forwards;
}

.mission-card:nth-child(1) { animation-delay: 0.1s; }
.mission-card:nth-child(2) { animation-delay: 0.3s; }
.mission-card:nth-child(3) { animation-delay: 0.5s; }
