:root {
    --primary-color: #FDBA1A;
    --secondary-color: #1E1E1E;
    --text-color-dark: #1E1E1E;
    --text-color-light: #f0f0f0;
    --bg-light: #FFFFFF;
    --bg-dark: #1E1E1E;
    --bg-accent: #f7f7f7;
    --font-family: 'Inter', sans-serif;
}

/* Basic Reset & Body */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 162px; /* Header height */
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-light);
    color: var(--text-color-dark);
    line-height: 1.6;
    font-size: 16px;
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-color-dark);
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1rem;
}

.section-subhead {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: #ccc;
    text-align: center;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Header */
.main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    padding: 10px 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-link {
    flex-shrink: 0;
    z-index: 1001; /* Ensure logo is on top */
    flex-basis: 250px;
}

.logo {
    height: 140px;
    width: auto;
}

.header-nav-container {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: flex-end;
    position: static;
}

.main-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.main-nav > ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-left ul {
    justify-content: flex-start;
}

.nav-left-mobile {
    display: none; /* Hide on desktop */
}

.nav-right ul {
    justify-content: flex-end;
}

.header-right {
    position: static;
    display: flex;
    align-items: center;
    flex-basis: 250px;
    justify-content: flex-end;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: var(--text-color-light);
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.main-nav a.active {
    color: var(--primary-color);
}

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

.main-nav a:hover, .main-nav a.active:hover {
    color: var(--primary-color);
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

/* Dropdown Menu */
.main-nav li {
    position: relative;
}

.main-nav .dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--secondary-color);
    list-style: none;
    padding: 10px 0;
    margin: 10px 0 0;
    border-radius: 4px;
    border: 1px solid #444;
    min-width: 200px;
    z-index: 1001;
}

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

.main-nav .dropdown.open:hover .dropdown-menu {
    display: block;
}

.main-nav .dropdown-menu li {
    width: 100%;
}

.main-nav .dropdown-menu a {
    padding: 10px 20px;
    display: block;
    width: 100%;
    font-size: 0.9rem;
    white-space: nowrap;
}

.main-nav .dropdown-menu a:hover {
    background-color: var(--primary-color);
    color: var(--text-color-dark);
}

.main-nav .dropdown-menu a::after {
    display: none; /* No underline for dropdown items */
}

.main-nav .dropdown > a::after {
    content: " ▼";
    font-size: 0.7em;
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
}

/* CTA Button */
.cta-button, button.cta-button {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 700;
    text-align: center;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    font-size: 1rem;
    font-family: var(--font-family);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
}

.cta-button.secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-color-dark);
}

.header-cta {
    background-color: var(--primary-color);
    color: var(--text-color-dark);
    padding: 10px 20px;
    font-size: 0.95rem;
}

.header-cta:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.modal-content {
    background-color: var(--bg-light);
    color: var(--text-color-dark);
    padding: 30px 40px;
    border-radius: 8px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    text-align: center;
    border-top: 5px solid var(--primary-color);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #888;
    cursor: pointer;
    line-height: 1;
}

.modal-content h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.modal-subheadline {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

#initial-prompt h3 {
    margin-bottom: 1.5rem;
}

.choice-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 1rem;
}

.choice-button {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid var(--secondary-color);
    background: transparent;
    color: var(--text-color-dark);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.choice-button:hover {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
}

.brokerage-form .form-group.error-field label {
    color: #c62828;
}

.brokerage-form .form-group.error-field input,
.brokerage-form .form-group.error-field textarea,
.brokerage-form .form-group.error-field select {
    border-color: #c62828;
    background-color: #ffebee;
}

#insurance-form h3 {
    margin-bottom: 0.5rem;
}

.brokerage-form {
    text-align: left;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
}

.brokerage-form .form-group {
    margin-bottom: 1rem;
}

.brokerage-form label {
    font-weight: 600;
    font-size: 0.9rem;
}

.brokerage-form .form-group input,
.brokerage-form .form-group textarea {
    margin-top: 4px;
}

.brokerage-form textarea {
    min-height: 80px;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 8px;
}

.radio-group label {
    font-weight: 400;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px 20px;
    margin-top: 8px;
}
.checkbox-group label {
    font-weight: 400;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

#modal-form-status {
    margin-top: 1.5rem;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none; /* Hidden by default */
}
#modal-form-status.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    display: block;
}
#modal-form-status.error {
    background-color: #ffebee;
    color: #c62828;
    display: block;
}

.modal-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    font-size: 0.9rem;
    color: #666;
}

.modal-footer p {
    margin-bottom: 0.5rem;
}

/* Hero Section */
.hero-section {
    background: var(--bg-dark);
    color: var(--text-color-light);
    text-align: center;
    padding: 100px 0;
    background-image: 
        linear-gradient(rgba(30, 30, 30, 0.95), rgba(30, 30, 30, 0.95)),
        repeating-linear-gradient(45deg, rgba(255,255,255,0.02), rgba(255,255,255,0.02) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(-45deg, rgba(255,255,255,0.02), rgba(255,255,255,0.02) 1px, transparent 1px, transparent 20px);
}

.hero-section h1 {
    color: var(--text-color-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.subheadline {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 1rem auto 2rem;
    color: #ccc;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 4rem;
}
.hero-buttons .cta-button {
    background-color: var(--primary-color);
    color: var(--text-color-dark);
}

.hero-buttons .cta-button.secondary {
    background-color: transparent;
    color: var(--primary-color);
}
.hero-buttons .cta-button:hover {
    background-color: var(--bg-light);
    color: var(--text-color-dark);
    border-color: var(--bg-light);
}

.hero-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: #888;
}
.flow-step {
    border: 1px solid #555;
    padding: 5px 15px;
    border-radius: 4px;
    background: rgba(0,0,0,0.2);
}
.flow-arrow {
    color: var(--primary-color);
    font-weight: bold;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}
.content-section-dark {
    padding: 80px 0;
    background-color: var(--bg-dark);
    color: var(--text-color-light);
}
.content-section-dark h2, .content-section-dark h3 {
    color: var(--text-color-light);
}

.content-section-dark p, .content-section-dark li {
    color: #ccc;
}

/* Highlights List */
.highlights {
    list-style: none;
    padding-left: 0;
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.highlights li {
    padding-left: 30px;
    position: relative;
    font-size: 1.05rem;
}
.highlights li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.simple-list {
    list-style: none;
    padding: 0;
}
.simple-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}
.simple-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    top: -3px;
}

/* Steps Container */
.steps-container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 35px; /* Vertically center with the number circle */
    left: 50px;
    right: 50px;
    height: 4px;
    background: #444; /* Darker grey line */
    z-index: 1;
}

/* Simple Steps for light backgrounds */
.steps-container-simple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
}

.steps-container-simple::before {
    content: '';
    position: absolute;
    top: 29px; /* Vertically center with the number circle */
    left: 15%;
    right: 15%;
    height: 4px;
    background: #e0e0e0; /* Lighter grey line */
    z-index: 1;
    display: none; /* Hide the connecting line as per user request */
}

.step-simple {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid #ddd;
}

.step-simple-num {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--text-color-dark);
    font-weight: 800;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    border: 4px solid var(--bg-accent);
}
.step-simple h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color-dark);
}
.step-simple p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

/* New Step Card styles for dark backgrounds */
.step-card {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    position: relative;
    z-index: 2;
    border: 1px solid #444;
    display: flex;
    flex-direction: column;
}

.step-card .step-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--text-color-dark);
    font-weight: 800;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    border: 4px solid #444;
}

.step-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.step-card p {
    color: #ccc;
    font-size: 1rem;
    flex-grow: 1;
}

/* Values Section */
.values-container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.values-container::before {
    content: '';
    position: absolute;
    top: 35px; /* Vertically center with the number circle */
    left: 50px;
    right: 50px;
    height: 4px;
    background: #e0e0e0;
    z-index: 1;
}

.value-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    position: relative;
    z-index: 2;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
}

.value-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--text-color-dark);
    font-weight: 800;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    border: 4px solid var(--bg-accent);
}

.value-item h3 {
    font-size: 1.4rem;
    color: var(--text-color-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.value-item p {
    flex-grow: 1;
}

/* Materials Section */
.materials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 2rem;
}

.materials-card {
    background: var(--bg-accent);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.materials-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid;
}

.materials-card.accepted h3 {
    color: #27ae60;
    border-color: #27ae60;
}

.materials-card.not-accepted h3 {
    color: #c0392b;
    border-color: #c0392b;
}

.materials-card ul {
    list-style: none;
    padding: 0;
}

.materials-card li {
    padding-left: 35px;
    position: relative;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.materials-card li::before {
    position: absolute;
    left: 0;
    top: -2px;
    font-size: 1.5rem;
    font-weight: bold;
}

.materials-card.accepted li::before {
    content: '✔';
    color: #27ae60;
}

.materials-card.not-accepted li::before {
    content: '✖';
    color: #c0392b;
}

.materials-columns {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 2rem;
}
.materials-list h3 {
    color: var(--primary-color);
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}
.materials-list h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.materials-list ul {
    list-style: none;
    padding-left: 10px;
}
.materials-list li {
    margin-bottom: 0.5rem;
}

.materials-list.not-accepted h3 {
    color: #c0392b;
}

/* Form Styles */
.contact-form {
    max-width: 700px;
    margin: 3rem auto 0;
    text-align: left;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-family);
    font-size: 1rem;
    background-color: #f9f9f9;
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(253, 186, 26, 0.5);
}
.form-group button {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    background-color: var(--primary-color);
    color: var(--text-color-dark);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}
.form-group button:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}
#form-status {
    margin-top: 1.5rem;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none; /* Hidden by default */
}
#form-status.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    display: block;
}
#form-status.error {
    background-color: #ffebee;
    color: #c62828;
    display: block;
}

/* Builder/Buyer Section */
.two-col-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.two-col-layout h3 {
    color: var(--primary-color);
    font-weight: 600;
}
.two-col-layout h2 {
    font-size: 2rem;
}
.two-col-layout .highlights {
    display: block;
}

/* Pricing Section */
.pricing-example {
    margin-top: 2rem;
    padding: 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background: #fdf8e8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.pricing-example p { margin-bottom: 0.5rem; }
.pricing-example h4 {
    margin-top: 1rem;
    color: var(--text-color-dark);
}

.financial-flow {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.financial-flow li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 1rem;
}

.financial-flow li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.faq-section {
    max-width: 800px;
    margin: 4rem auto 0;
}
.faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-question {
    font-weight: 700;
    font-size: 1.2rem;
}

/* About Page */
.about-founder-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.founder-image img {
    width: 100%;
    border-radius: 8px;
    height: auto;
}

.founder-text h2 {
    margin-top: 0;
}

/* Page specific styles */
.page-header {
    padding: 80px 0;
    background: var(--bg-dark);
    color: var(--text-color-light);
    text-align: center;
}
.page-header h1 {
    color: var(--text-color-light);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    padding: 60px 0 20px;
}
.footer-contact {
    text-align: center;
    margin-bottom: 40px;
}
.footer-contact .cta-button {
    margin-top: 20px;
    background-color: var(--primary-color);
    color: var(--text-color-dark);
}

.footer-contact .cta-button:hover {
     background-color: var(--bg-light);
    color: var(--text-color-dark);
    border-color: var(--bg-light);
}

.footer-contact h3 {
    font-size: 2rem;
    color: var(--text-color-light);
}
.contact-info {
    margin-top: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}
.contact-info a {
    color: var(--primary-color);
    font-weight: 600;
}
.contact-info a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #aaa;
}
.footer-links a {
    color: #aaa;
    margin: 0 5px;
}
.footer-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none; /* Hidden by default */
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 25px;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-color-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Styles for when mobile menu is open */
.mobile-menu-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}
.mobile-menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive adjustments */
@media (max-width: 1080px) {
    .main-header .container {
        flex-wrap: nowrap;
        justify-content: space-between;
        position: relative;
    }

    .header-nav-container {
        display: flex;
        position: fixed;
        top: 0;
        left: -100%; /* Start off-screen */
        width: 100%;
        height: 100vh;
        background-color: var(--secondary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2rem;
        transition: left 0.4s ease-in-out;
        z-index: 1000;
        gap: 40px;
    }
    
    .logo-link {
        flex-grow: 0;
    }
    .logo {
        height: 55px;
    }

    .mobile-menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .header-nav-container.open {
        left: 0;
    }

    .main-nav {
        flex-basis: auto;
        width: 100%;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
        padding: 0;
    }

    .main-nav a {
        font-size: 1.5rem;
    }

    .header-right {
        position: static;
        display: flex;
        flex-basis: auto;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .header-cta {
        width: 100%;
        max-width: 300px;
    }

    /* Mobile Dropdown styles */
    .main-nav .dropdown .dropdown-menu {
        display: none;
        position: static;
        background-color: transparent;
        border: none;
        padding: 10px 0 10px 20px;
        margin: 0;
        min-width: 0;
        box-shadow: none;
    }
    
    .main-nav .dropdown.open .dropdown-menu {
        display: block;
    }

    .main-nav .dropdown-menu a {
        font-size: 1.2rem;
        padding: 8px 10px;
    }

    .main-nav .dropdown:hover .dropdown-menu {
        display: none; /* Disable hover on mobile */
    }

    .main-nav .dropdown.open:hover .dropdown-menu {
        display: block;
    }
}

@media (max-width: 992px) {
    html {
        scroll-padding-top: 77px; /* Adjusted for mobile header height */
    }
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    .two-col-layout { grid-template-columns: 1fr; }
    .choice-buttons { flex-direction: column; }
    .form-grid { grid-template-columns: 1fr; gap: 0; }
    
    .steps-container::before {
        display: none;
    }

    .steps-container-simple {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .steps-container-simple::before {
        display: none;
    }
    
    .values-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-founder-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .founder-image {
        max-width: 250px;
        margin: 0 auto 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }

    .materials-grid { grid-template-columns: 1fr; }
    .materials-columns { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .cta-button {
        width: 100%;
        max-width: 320px;
    }
    .hero-flow { flex-wrap: wrap; }
    .flow-arrow { display: none; }
    .flow-step { margin-bottom: 10px; }

    .modal-content {
        padding: 25px 20px;
    }
    .modal-content h2 {
        font-size: 1.8rem;
    }
    .choice-button {
        width: 100%;
    }
}