/* General Body & Reset */
body {
    font-family: 'Inter', sans-serif; /* Recommended a modern font like Inter or Poppins */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 40px;
}

/* Colors */
:root {
    --primary-color: #007bff; /* Blue */
    --secondary-color: #28a745; /* Green */
    --accent-color-orange: #ff5722; /* Orange */
    --accent-color-purple: #673ab7; /* Purple */
    --dark-blue: #2c3e50;
    --light-grey: #f2f2f2;
    --white: #ffffff;
    --text-color: #333;
    --border-color: #ddd;
}
.bg-gradient-brown {
    background: linear-gradient(to right, #6f4e37, #0056b3);
}
.bg-gradient-blue {
    background: linear-gradient(to right, #007bff, #0056b3);
}
.bg-gradient-green {
    background: linear-gradient(to right, #28a745, #1e7e34);
}
.bg-gradient-purple {
    background: linear-gradient(to right, #673ab7, #452a8b);
}
.bg-gradient-orange {
    background: linear-gradient(to right, #ff5722, #e64a19);
}
.bg-light-grey {
    background-color: var(--light-grey);
}
.bg-dark-blue {
    background-color: var(--dark-blue);
}
.text-white {
    color: var(--white);
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--dark-blue);
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 { font-size: 3.5em; }
h2 { font-size: 2.5em; }
h3 { font-size: 1.8em; }
h4 { font-size: 1.4em; }

p {
    margin-bottom: 1em;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1em;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #1e7e34;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: var(--light-grey);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Header & Navigation */
.main-header {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--white);
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: var(--white);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.main-nav a.active,
.main-nav a:hover {
    color: var(--secondary-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    color: var(--white);
    font-size: 2em;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

#heroVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    background-size: cover;
    filter: brightness(50%); /* Darken video for text readability */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 4em;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 40px;
}

.hero-buttons .btn {
    margin: 0 10px;
}

/* Grid Layouts */
.grid-2-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* About AI Section */
.ai-definition {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.ai-definition h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.interactive-ai-examples {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.example-tag {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.example-tag:hover {
    background-color: #1e7e34;
}

.example-info {
    margin-top: 20px;
    background-color: var(--light-grey);
    padding: 15px;
    border-radius: 5px;
    border-left: 5px solid var(--primary-color);
    font-style: italic;
    display: none; /* Controlled by JS */
}

/* Why Learn AI Section */
.reason-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.reason-card img {
    height: 60px;
    margin-bottom: 15px;
}

.testimonials {
    margin-top: 60px;
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.testimonial-carousel {
    /* Implement with JavaScript/swiper.js */
    overflow: hidden; /* For now, hide extra slides */
}

.testimonial-slide {
    font-style: italic;
    margin-bottom: 20px;
    text-align: center;
}

.testimonial-slide p {
    font-size: 1.1em;
}

.testimonial-slide cite {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: var(--primary-color);
}

/* Featured Projects & Project Showcase */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.project-card h3 {
    margin: 20px 20px 10px;
    color: var(--dark-blue);
}

.project-card p {
    padding: 0 20px;
    font-size: 0.95em;
    margin-bottom: 15px;
}

.project-card .btn {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    text-align: center;
}

.project-card .project-details {
    list-style: none;
    padding: 0 20px 15px;
    margin: 0;
    font-size: 0.9em;
    color: #666;
}

.project-card .project-details li {
    margin-bottom: 5px;
}

/* Latest News / Blog */
.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    color: var(--text-color); /* Override section white text for card content */
}

.blog-card h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.blog-card .read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Footer */
.main-footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 50px 0;
    font-size: 0.9em;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--white);
    opacity: 0.8;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.social-links {
    margin-top: 20px;
}

.social-links img {
    height: 24px;
    margin-right: 15px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-links img:hover {
    opacity: 1;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input[type="email"] {
    flex-grow: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.newsletter-form button {
    border-radius: 0 5px 5px 0;
    padding: 10px 18px;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    margin-top: 30px;
    opacity: 0.7;
}

/* Page-specific styles */
.page-hero {
    padding: 100px 20px;
    text-align: center;
}

.page-hero h1 {
    font-size: 3.5em;
    color: var(--white);
}
.page-hero p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 20px auto 0;
}

/* Concepts Page */
.concepts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.concept-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
    border-top: 5px solid var(--primary-color);
}

.concept-card h3 {
    color: var(--dark-blue);
    margin-top: 0;
}

.concept-card .btn-outline {
    margin-top: 20px;
}

.concept-details {
    display: none; /* Controlled by JS */
    padding-top: 20px;
    border-top: 1px dashed var(--border-color);
    margin-top: 20px;
}

.concept-details h4 {
    color: var(--secondary-color);
    margin-top: 20px;
    margin-bottom: 10px;
}

.concept-details ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.concept-details ul li {
    margin-bottom: 5px;
}

.concept-details a {
    font-weight: bold;
}

.glossary-search {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.glossary-search input {
    flex-grow: 1;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
}

.glossary-terms dl {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 15px;
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
    background-color: var(--white);
}

.glossary-terms dt {
    font-weight: bold;
    color: var(--dark-blue);
    padding-right: 15px;
    border-right: 1px solid var(--border-color);
}

.glossary-terms dd {
    margin-left: 0;
}

/* Chatbot */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 350px;
    height: 450px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    display: none; /* Hidden by default */
    flex-direction: column;
    overflow: hidden;
    z-index: 1001;
}

.chatbot-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h3 {
    margin: 0;
    color: var(--white);
}

.close-chatbot {
    font-size: 1.5em;
    cursor: pointer;
}

.chatbot-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
    word-wrap: break-word;
}

.user-message {
    background-color: var(--primary-color);
    color: var(--white);
    align-self: flex-end;
}

.bot-message {
    background-color: var(--light-grey);
    color: var(--text-color);
    align-self: flex-start;
}

.chatbot-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid var(--border-color);
}

.chatbot-input input {
    flex-grow: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    outline: none;
    font-size: 1em;
}

.chatbot-input button {
    margin-left: 10px;
    padding: 10px 20px;
    border-radius: 20px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
}

/* Practice Page */
.project-filters {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 30px;
    margin-bottom: 40px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-buttons .btn {
    background-color: var(--light-grey);
    color: var(--dark-blue);
    border: 1px solid var(--border-color);
}

.filter-buttons .btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.filter-buttons .btn:hover:not(.active) {
    background-color: #e0e0e0;
}

.search-bar {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 20px auto 0;
}

.search-bar input {
    flex-grow: 1;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-item {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 15px;
}

.gallery-item h4 {
    margin: 0 20px 10px;
    color: var(--primary-color);
}

.gallery-item p {
    padding: 0 20px;
    font-size: 0.9em;
}

/* Tools Page */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tool-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tool-card img {
    height: 80px;
    margin-bottom: 20px;
}

.tool-card h3 {
    margin-top: 0;
    color: var(--dark-blue);
}

.tool-card p {
    font-size: 0.95em;
    flex-grow: 1; /* Pushes buttons to bottom */
}

.tool-card .btn {
    margin-top: 15px;
    width: 90%;
}

.tool-card .btn:first-of-type { /* If two buttons, adjust margin */
    margin-bottom: 10px;
}

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tutorial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    color: var(--text-color); /* Override section white text */
    text-align: center;
}

.tutorial-card h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.tutorial-card .btn {
    margin-top: 20px;
}

/* Ethics Page */
.ethics-modules .module-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    border-left: 5px solid var(--accent-color-orange);
}

.module-card h3 {
    color: var(--dark-blue);
    margin-top: 0;
}

.module-content {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed var(--border-color);
}

.module-content h4 {
    color: var(--accent-color-orange);
    margin-top: 15px;
    margin-bottom: 10px;
}

.critical-thinking-prompts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.prompt-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    border-bottom: 5px solid var(--secondary-color);
}

.prompt-card h3 {
    color: var(--dark-blue);
    margin-top: 0;
}

.forum-preview {
    margin-top: 40px;
}

.forum-post-summary {
    background-color: var(--white);
    color: var(--text-color); /* Override section white text */
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.forum-post-summary h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 5px;
}

.forum-post-summary p {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 0;
}

/* Educators Page */
.educator-sections .section-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    border-left: 8px solid var(--primary-color);
}

.educator-sections .section-card.bg-light-grey {
    background-color: var(--light-grey);
    border-left-color: var(--secondary-color);
}

.educator-sections .section-card.bg-dark-blue {
    border-left-color: var(--accent-color-orange);
}

.section-card h2 {
    color: var(--dark-blue);
    margin-top: 0;
    margin-bottom: 25px;
}

.section-card.bg-dark-blue h2 {
    color: var(--white);
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.resource-item {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.section-card.bg-light-grey .resource-item {
    background-color: var(--white); /* Ensure nested items are white */
}
.section-card.bg-dark-blue .resource-item {
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
}

.resource-item h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.section-card.bg-dark-blue .resource-item h3 {
    color: var(--white);
}

.resource-item .badge {
    background-color: var(--accent-color-orange);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

.resource-item .btn {
    margin-top: 20px;
}
.section-card.bg-dark-blue .resource-item .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
}
.section-card.bg-dark-blue .resource-item .btn-primary:hover {
    background-color: var(--light-grey);
}


/* Login / Sign Up Page */
.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 150px); /* Adjust for header/footer */
    padding: 50px 20px;
}

.auth-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.auth-tabs .tab-button {
    flex-grow: 1;
    padding: 15px 0;
    font-size: 1.1em;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    position: relative;
    transition: all 0.3s ease;
}

.auth-tabs .tab-button.active {
    color: var(--primary-color);
}

.auth-tabs .tab-button::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.auth-tabs .tab-button.active::after {
    background-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.auth-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-blue);
}

.auth-form input {
    width: calc(100% - 24px); /* Account for padding */
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
    margin-bottom: 25px;
}

.form-options input[type="checkbox"] {
    margin-right: 5px;
}

.social-login-text {
    margin-top: 30px;
    margin-bottom: 20px;
    color: #666;
    position: relative;
}

.social-login-text::before,
.social-login-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background-color: var(--border-color);
}

.social-login-text::before {
    left: 0;
}

.social-login-text::after {
    right: 0;
}

.social-login-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-social {
    background-color: var(--light-grey);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 0.95em;
}

.btn-social img {
    height: 20px;
    margin-right: 10px;
}

.btn-social:hover {
    background-color: #e0e0e0;
}

/* Responsive Design (Basic Media Queries) */
@media (max-width: 992px) {
    h1 { font-size: 2.8em; }
    h2 { font-size: 2em; }
    .hero-content h1 { font-size: 3.2em; }
}

@media (max-width: 768px) {
    .main-nav {
        display: none; /* Hide desktop nav */
        flex-direction: column;
        width: 100%;
        background-color: var(--dark-blue);
        position: absolute;
        top: 70px; /* Adjust based on header height */
        left: 0;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .main-nav li {
        margin: 15px 0;
    }

    .nav-toggle {
        display: block; /* Show hamburger icon */
    }

    .hero-section {
        height: 500px;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content p {
        font-size: 1em;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons .btn {
        margin: 0;
        width: 80%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        margin-bottom: 30px;
    }

    .footer-col ul {
        align-items: center;
    }

    .newsletter-form {
        justify-content: center;
    }

    .auth-page {
        min-height: auto;
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2em; }
    h2 { font-size: 1.8em; }
    .hero-content h1 { font-size: 2em; }
    .project-card .btn,
    .tool-card .btn {
        width: calc(100% - 20px);
        margin: 0 10px 10px;
    }
    .project-card p {
        padding: 0 10px;
    }
    .glossary-terms dl {
        grid-template-columns: 1fr;
    }
    .glossary-terms dt {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 5px;
        margin-bottom: 5px;
    }
    .chatbot-container {
        width: 90%;
        right: 5%;
        left: 5%;
        bottom: 20px;
    }
}