/* CSS Variables */
:root {
    /* Light Theme */
    --primary-color: #4361ee;
    --secondary-color: #f5f5f5;
    --text-color: #333333;
    --text-color-light: #666666;
    --background-color: #ffffff;
    --card-bg: #ffffff;
    --input-bg: #f5f5f5;
    --border-color: #e0e0e0;
    --hover-bg: #f0f0f0;
    --sidebar-bg: #ffffff;
    --content-bg: #f9f9f9;
    --error-color: #e74c3c;
    --success-color: #2ecc71;
    --nav-height: 60px;
    --sidebar-width: 250px;
}

/* Dark Theme */
[data-theme="dark"] {
    --primary-color: #4361ee;
    --secondary-color: #2c2c2c;
    --text-color: #ffffff;
    --text-color-light: #b0b0b0;
    --background-color: #1a1a1a;
    --card-bg: #2c2c2c;
    --input-bg: #333333;
    --border-color: #404040;
    --hover-bg: #404040;
    --sidebar-bg: #2c2c2c;
    --content-bg: #1a1a1a;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 10px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background-color: var(--background-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
}

.navbar-brand {  
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.menu {
    display: flex;
    gap: 1.5rem;
}

.menu-link {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.menu-link:hover, .menu-link.active {
    color: var(--primary-color);
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.menu-link:hover::after, .menu-link.active::after {
    width: 100%;
}

.menu-right {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 2px 5px rgba(67, 97, 238, 0.2);
}

.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #3a56d4;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-icon:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Footer */
#footer {
    background-color: var(--background-color);
    padding: 3rem 2rem 1.5rem;
    border-top: 1px solid var(--border-color);
    margin-top: 3rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--text-color-light);
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-desc {
    text-align: center;
    color: var(--text-color-light);
    margin-bottom: 1.5rem;
    font-style: italic;
    font-size: 1.1rem;
}

.footer-copy {
    text-align: center;
    color: var(--text-color-light);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--text-color-light);
    margin-bottom: 0.5rem;
}

.footer-section a {
    display: block;
    color: var(--text-color-light);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-color-light);
    font-size: 0.9rem;
}

/* Main Content Container */
.main-content {
    min-height: 100vh;
    padding-top: var(--nav-height);
    display: flex;
    flex-direction: column;
}

/* Utility Classes */
.text-center { text-align: center; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* === Base === */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', Arial, sans-serif;
    background: #f7f8fa;
    color: #222;
    min-height: 100vh;
    box-sizing: border-box;
}

* {
    box-sizing: inherit;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 10px;
}

/* === Hero Section === */
.hero-section {
    width: 100%;
    min-height: 60vh;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    background: #f7f8fa;
    padding: 6.5rem 6vw 2.5rem 6vw;
    box-sizing: border-box;
}

.hero-content {
    flex: 1;
    min-width: 260px;
    max-width: 500px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-color-light);
}

.hero-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(67, 97, 238, 0.2);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(67, 97, 238, 0.3);
}

.hero-image-container {
    flex: 1;
    position: relative;
    max-width: 500px;
    margin-left: 2rem;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1) 0%, rgba(67, 97, 238, 0.05) 100%);
    border-radius: 15px;
    z-index: 1;
}

.hero-img:hover {
    transform: scale(1.02);
}

/* === About Section === */
#about {
    padding: 4rem 2rem;
    text-align: center;
    background-color: var(--background-color);
    border-radius: 20px;
    margin: 0 2rem 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-desc {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--text-color);
    line-height: 1.6;
}

.about-bullets {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.about-bullets li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-color);
    padding: 0.75rem 1rem;
    background-color: var(--secondary-color);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-bullets li:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-bullets li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* === Forms (Signup/Login) === */
.form-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    margin-top: 6rem;
}

.auth-form {
    background: #fff;
    padding: 2.2rem 1.5rem 1.5rem 1.5rem;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(44, 62, 80, 0.08);
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.auth-form h2 {
    color: #2d3e50;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 700;
}

.auth-form-desc {
    color: #e5ad4a;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 0.7rem;
    opacity: 0.85;
}

.auth-form input {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1.5px solid #e1e1e1;
    font-size: 1rem;
    font-family: inherit;
    transition: border 0.2s, box-shadow 0.2s;
    background: #f8fbff;
}

.auth-form input:focus {
    border: 1.5px solid #e5ad4a;
    outline: none;
    box-shadow: 0 0 0 2px #f7ce68;
}

.auth-form button {
    border-radius: 8px;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.7rem 0;
    background: #e5ad4a;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    margin-top: 0.5rem;
}

.auth-form button:hover {
    background: #cfa32e;
    transform: scale(1.05);
}

.form-error {
    color: #e74c3c;
    font-size: 0.98rem;
    text-align: center;
    min-height: 1.2em;
}

.form-success {
    color: #27ae60;
    font-size: 0.98rem;
    text-align: center;
    min-height: 1.2em;
}

.auth-form p {
    text-align: center;
    font-size: 0.98rem;
}

.auth-form a {
    color: #e5ad4a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-form a:hover {
    color: #2d3e50;
}

/* === Responsive === */
@media (max-width: 900px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 6rem 1rem 2rem 1rem;
    }
}

@media (max-width: 600px) {
    .navbar, main, footer {
        padding-left: 3vw;
        padding-right: 3vw;
    }
    .about-desc, .about-title, .about-bullets {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .hero-img {
        width: 90vw;
    }
    .menu {
        margin-left: 1rem;
        gap: 0.7rem;
    }
    .menu-right {
        gap: 0.3rem;
    }
}

/* Info Sections Styles */
.info-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-section h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

/* About Us Section */
.about-content {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

/* Help Center Section */
.help-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.help-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.help-item h3 {
    color: #333;
    margin-bottom: 1rem;
}

.help-item p {
    color: #666;
    line-height: 1.5;
}

/* FAQ Section */
.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: #333;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #666;
    line-height: 1.5;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    padding: 2rem;
}

.contact-info h3 {
    color: #333;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.contact-form {
    padding: 2rem;
}

.contact-form h3 {
    color: #333;
    margin-bottom: 1.5rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.contact-form textarea {
    min-height: 150px;
    resize: none;
}

.contact-form button {
    align-self: flex-start;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .info-section {
        padding: 2rem 1rem;
    }

    .info-section h2 {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .navbar {
        padding: 0 1rem;
    }

    #footer {
        padding: 1.5rem 3vw 1rem 3vw;
    }

    #footer .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    #footer .footer-section {
        text-align: center;
    }

    #footer .footer-section a {
        margin: 0 1rem;
    }

    .menu {
        display: none;
    }

    .nav-right {
        gap: 1rem;
    }
} 