/* General Body and Base Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #1a1a1a; /* Very dark background */
    color: #e0e0e0; /* Light text for contrast */
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: #00bcd4; /* Teal accent for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0097a7; /* Darker teal on hover */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff; /* White headings */
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

/* Buttons - Sharp Edges */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border: none;
    border-radius: 0; /* Sharp edges */
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

.btn-primary {
    background-color: #00bcd4; /* Teal primary button */
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #0097a7;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background-color: #424242; /* Dark grey secondary button */
    color: #ffffff;
    border: 1px solid #616161;
}

.btn-secondary:hover {
    background-color: #616161;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-product-download {
    background-color: #34a853; /* Google Green for downloads */
    color: #ffffff;
    padding: 8px 15px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    margin-top: 15px;
}

.btn-product-download:hover {
    background-color: #2b8e45;
    transform: translateY(-2px);
}

.btn-check-answer, .form-submit-btn {
    background-color: #ff5722; /* Orange accent for interactive buttons */
    color: #ffffff;
    padding: 10px 20px;
    font-size: 0.95rem;
    margin-top: 15px;
}

.btn-check-answer:hover, .form-submit-btn:hover {
    background-color: #e64a19;
    transform: translateY(-2px);
}

.certificate-link {
    background-color: #673ab7; /* Deep purple for certificate link */
    color: #ffffff;
    padding: 12px 25px;
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.certificate-link:hover {
    background-color: #512da8;
    transform: translateY(-2px);
}

/* Header Section */
.header {
    background-color: #121212; /* Even darker for header */
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff;
    text-transform: uppercase;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
    border-radius: 0; /* Sharp edge logo image */
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-menu ul li {
    margin-left: 30px;
}

.nav-menu ul li a {
    color: #e0e0e0;
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #00bcd4;
    transition: width 0.3s ease-in-out;
}

.nav-menu ul li a:hover::after,
.nav-menu ul li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: #ffffff;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    color: #ffffff;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons .btn {
    margin: 0 10px;
}

/* Section Common Styles */
section {
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: #00bcd4;
    border-radius: 0; /* Sharp edge */
}

.section-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #b0b0b0;
}

/* About Section */
.about-section {
    background-color: #212121; /* Slightly lighter dark */
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: #2c2c2c; /* Darker card background */
    border-radius: 0; /* Sharp edges */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    text-align: left;
}

.about-content p {
    font-size: 1.1rem;
    color: #d0d0d0;
    margin-bottom: 20px;
}

/* Products Section */
.products-section {
    background-color: #1a1a1a;
}

.product-category {
    margin-bottom: 60px;
}

.product-category h3 {
    font-size: 2.2rem;
    color: #00bcd4; /* Accent color for category titles */
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.product-category h3::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: #00bcd4;
    border-radius: 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.product-card {
    background-color: #2c2c2c;
    padding: 25px;
    border-radius: 0; /* Sharp edges */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes button to bottom */
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.product-card img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 0; /* Sharp edges for images */
    border: 1px solid #424242; /* Subtle border */
}

.product-card h4 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 0.95rem;
    color: #c0c0c0;
    flex-grow: 1; /* Allows paragraph to take available space */
}

/* Fun Zone Section */
.funzone-section {
    background-color: #212121;
}

.activity-container {
    background-color: #2c2c2c;
    padding: 30px;
    border-radius: 0; /* Sharp edges */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    margin: 0 auto 40px auto;
    max-width: 800px;
    text-align: left;
    border: 1px solid #3a3a3a; /* Subtle border */
}

.activity-container h3 {
    font-size: 1.8rem;
    color: #ff5722; /* Orange accent for activity titles */
    margin-bottom: 25px;
    text-align: center;
}

.activity-container p {
    color: #d0d0d0;
    font-size: 1rem;
    margin-bottom: 15px;
}

.quiz-options label, .mini-challenge-container label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
    color: #e0e0e0;
}

.quiz-options input[type="radio"], .mini-challenge-container input[type="radio"] {
    margin-right: 10px;
    accent-color: #00bcd4; /* Accent color for radio buttons */
}

.scramble-item {
    margin-bottom: 15px;
}

.scramble-item label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #e0e0e0;
}

.scramble-item input[type="text"] {
    width: calc(100% - 22px); /* Account for padding and border */
    padding: 10px;
    background-color: #1a1a1a;
    border: 1px solid #424242; /* Sharp border */
    color: #e0e0e0;
    font-size: 1rem;
    border-radius: 0; /* Sharp edges */
}

.scramble-item input[type="text"]:focus {
    outline: none;
    border-color: #00bcd4;
}

.matchup-list {
    list-style: none;
    padding: 0;
    color: #d0d0d0;
    margin-top: 20px;
}

.matchup-list li {
    background-color: #3a3a3a;
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 0; /* Sharp edges */
    border-left: 3px solid #ff5722; /* Orange accent */
}

.matchup-note {
    font-style: italic;
    font-size: 0.9rem;
    color: #a0a0a0;
    margin-top: 20px;
}

.results-area {
    margin-top: 20px;
    padding: 15px;
    border-radius: 0; /* Sharp edges */
    border: 1px solid #424242;
    background-color: #1a1a1a;
    color: #e0e0e0;
    font-weight: 500;
    display: none; /* Hidden by default, shown by JS */
}

.results-area p.correct {
    color: #34a853; /* Green for correct */
}

.results-area p.incorrect {
    color: #ea4335; /* Red for incorrect */
}

.did-you-know-teaser {
    background-color: #3a3a3a;
    padding: 20px;
    border-radius: 0; /* Sharp edges */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-top: 50px;
    text-align: left;
    border-left: 5px solid #00bcd4;
}

.did-you-know-teaser h5 {
    color: #00bcd4;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.did-you-know-teaser p {
    color: #d0d0d0;
    margin-bottom: 0;
}

/* Contact Section */
.contact-section {
    background-color: #1a1a1a;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: #d0d0d0;
}

.contact-details p i {
    color: #00bcd4;
    font-size: 1.3rem;
}

.contact-details p a {
    color: #d0d0d0;
}

.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: #2c2c2c;
    padding: 40px;
    border-radius: 0; /* Sharp edges */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    text-align: left;
}

.contact-form-container h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffffff;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: calc(100% - 22px); /* Account for padding and border */
    padding: 12px;
    background-color: #1a1a1a;
    border: 1px solid #424242; /* Sharp border */
    color: #e0e0e0;
    font-size: 1rem;
    border-radius: 0; /* Sharp edges */
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00bcd4;
    box-shadow: 0 0 0 2px rgba(0, 188, 212, 0.3);
}

.form-submit-btn {
    width: 100%;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* Footer Section */
.footer-section {
    background-color: #121212; /* Even darker for footer */
    color: #b0b0b0;
    padding: 50px 0 20px;
    font-size: 0.95rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    text-align: left;
}

.footer-content h4 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-content ul li {
    margin-bottom: 10px;
}

.footer-content ul li a {
    color: #b0b0b0;
    transition: color 0.3s ease;
}

.footer-content ul li a:hover {
    color: #00bcd4;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-contact p i {
    color: #00bcd4;
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social a {
    color: #b0b0b0;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.2s ease;
}

.footer-social a:hover {
    color: #00bcd4;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #3a3a3a;
    color: #a0a0a0;
}

.footer-bottom a {
    color: #00bcd4;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #121212;
        position: absolute;
        top: 70px; /* Height of header */
        left: 0;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu ul {
        flex-direction: column;
        width: 100%;
    }

    .nav-menu ul li {
        margin: 10px 0;
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 80%;
        margin: 0 auto;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .contact-details {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links ul, .footer-contact p, .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }

    .logo-img {
        height: 30px;
    }

    .header {
        padding: 10px 0;
    }
}