@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&family=Roboto+Serif:wght@300;400;500;600;700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Roboto Serif', Georgia, serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Main grid container */
.grid-container {
    display: grid;
    grid-template-columns: 100vw;
    grid-template-rows: auto;
}

/* Each section takes full width */
.grid-item {
    grid-column: 1;
    min-width: 0;
}

/* Header Styles */
header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

/* Navigation */
nav {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 2rem;
    justify-content: center;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    color: #333;
    white-space: nowrap;
}

.dropdown-toggle:hover {
    color: #007bff;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
}

.dropdown-menu a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-menu a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Header Buttons */
.header-buttons {
    display: grid;
    grid-template-columns: auto auto;
    gap: 1rem;
}

.btn {
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    white-space: nowrap;
    text-align: center;
}

.btn-login {
    background-color: transparent;
    color: #333;
    border: 1px solid #333;
}

.btn-login:hover {
    background-color: #f8f9fa;
}

.btn-get-started {
    background-color: #007bff;
    color: white;
}

.btn-get-started:hover {
    background-color: #0056b3;
}

/* Content sections - define their own heights */
.hero {
    height: 100dvh;
    background: url('/static/images/title_bg.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: grid;
    place-items: center;
    color: rgba(34, 34, 34, 0.873);
    text-align: center;
    grid-template-columns: 1fr 1fr;
}

.hero h1 {
    font-size: 7rem;
    font-family: 'Roboto Serif', Georgia, serif;
    margin-bottom: 2rem;
}

.hero h2 {
    font-size: 4rem;
    font-family: 'Roboto Serif', Georgia, serif;
    margin-bottom: 2rem;
}

/* .hero_logo {
    
} */

.features {
    min-height: 60vh;
    background-color: #f8f9fa;
    padding: 4rem 2rem;
    display: grid;
    place-items: center;
}

.features-content {
    max-width: 800px;
    text-align: center;
}

.features h2 {
    margin-bottom: 2rem;
}

.cta {
    height: 40vh;
    background-color: #007bff;
    display: grid;
    place-items: center;
    color: white;
    text-align: center;
}

.cta h2 {
    margin-bottom: 1rem;
}

/* Footer Styles */
footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.footer-socials {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #444;
}

.footer-socials a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.footer-socials a:hover {
    color: #007bff;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: center;
    gap: 2rem;
}

.footer-links a,
.footer-links span {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 1rem;
    }

    nav {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .header-buttons {
        grid-template-columns: 1fr 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
}