/* Color Theme Variables */
:root {
    --blue: #2B84CE;
    --green: #8AC02E;
    --orange: #D87139;
    --yellow: #D4AB6A;
    --grey: #666666; /* Default grey - update as needed */
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Header Styles */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 60px;
    width: auto;
    background: transparent;
}

/* Navigation Styles */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.nav-menu li {
    margin: 0;
    position: relative;
}

.nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: var(--green);
    font-family: 'Calistoga', serif;
    font-weight: 400;
    font-size: 28px;
    transition: all 0.3s ease;
    position: relative;
    cursor: default;
}

.nav-link:hover:not(.active) {
    color: #6a9a23;
}

.nav-link[href]:hover {
    cursor: pointer;
}

/* Active/Selected Menu Item */
.nav-link.active {
    color: var(--orange) !important;
}

.dropdown-link.active {
    color: var(--orange);
    background-color: rgba(138, 192, 46, 0.1);
}

.dropdown.has-active .nav-link {
    color: var(--orange);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown .nav-link::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid currentColor;
    margin-left: 0.5rem;
    vertical-align: middle;
    margin-bottom: 2px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    min-width: 350px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border-radius: 4px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: var(--green);
    font-family: 'Calistoga', serif;
    font-weight: 400;
    font-size: 24px;
    transition: all 0.3s ease;
}

.dropdown-link:hover {
    background-color: rgba(138, 192, 46, 0.1);
    color: var(--orange);
}

/* Main Content */
main {
    min-height: calc(100vh - 100px);
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

main > .content {
    width: 100%;
    max-width: 1200px;
}

main > .mission-section {
    margin-left: -2rem;
    margin-right: -2rem;
    width: calc(100% + 4rem);
    max-width: none;
}

.content {
    max-width: 1200px;
    margin: 0 auto;
}

.content h1 {
    font-family: 'Calistoga', serif;
    font-size: 56px;
    font-weight: 400;
    color: var(--orange);
    text-align: center;
    margin-bottom: 2rem;
}

.course-info {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.course-info h1 {
    font-family: 'Calistoga', serif;
    font-size: 42px;
    font-weight: 400;
    color: var(--orange);
    text-align: left;
    margin-bottom: 1.5rem;
}

.course-schedule {
    font-family: 'Cormorant', serif;
    font-size: 32px;
    color: #000;
    margin-bottom: 1rem;
    text-align: left;
}

.course-price {
    font-family: 'Cormorant', serif;
    font-size: 28px;
    color: #000;
    margin-bottom: 1rem;
    text-align: left;
}

.course-note {
    font-family: 'Cormorant', serif;
    font-size: 22px;
    color: #000;
    margin-bottom: 2rem;
    text-align: left;
    font-style: italic;
}

.course-note-inline {
    font-family: 'Cormorant', serif;
    font-size: 16px;
    color: var(--blue);
    font-style: italic;
    margin-left: 0.5rem;
    font-weight: 400;
}

.course-signup {
    margin-top: 2rem;
    text-align: left;
}

.course-weeks {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.week-box {
    background-color: var(--blue);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    margin-top: 5rem;
}

.week-header {
    font-family: 'Calistoga', serif;
    font-size: 42px;
    font-weight: 400;
    color: var(--green);
    margin-bottom: 0;
    text-align: left;
    position: absolute;
    top: -3.5rem;
    left: 0;
}

.week-content {
    color: #fff;
    font-family: 'Cormorant', serif;
    font-size: 24px;
    line-height: 1.6;
}

.week-content p {
    margin: 0.75rem 0;
}

.week-1-content {
    color: #fff;
}

.week-content ul {
    margin: 0 0 1.5rem 0;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.week-content li {
    margin-bottom: 0.5rem;
}

.mini-project {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 24px;
}

.mini-project strong {
    font-weight: 700;
}

.cohort-info {
    font-family: 'Cormorant', serif;
    font-size: 24px;
    color: #000;
    margin-bottom: 1rem;
    white-space: nowrap;
}

.cohort-call {
    font-family: 'Cormorant', serif;
    font-size: 24px;
    color: #000;
    margin-bottom: 1.5rem;
}

.course-signup-btn {
    background-color: var(--orange);
    color: #fff;
    border: 2px solid var(--orange);
    padding: 1rem 2rem;
    font-family: 'Calistoga', serif;
    font-size: 24px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.course-signup-btn .arrow {
    font-size: 24px;
    line-height: 1;
}

.course-signup-btn:hover,
.course-signup-btn:active {
    background-color: #fff;
    color: var(--orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.course-info .course-description {
    font-family: 'Cormorant', serif;
    font-size: 32px;
    font-weight: 700;
    color: #000;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 2rem;
}

.team-mission-box + h1 {
    margin-top: 6rem;
}

.founders {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    margin-top: 3rem;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}

.founder {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    height: 100%;
}

.founder-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.founder-name {
    font-family: 'Calistoga', serif;
    font-size: 32px;
    font-weight: 400;
    color: var(--orange);
    margin: 0;
}

.founder-title {
    font-family: 'Cormorant', serif;
    font-size: 24px;
    color: var(--blue);
    margin: 0;
}

.founder-credentials {
    font-family: 'Cormorant', serif;
    font-size: 18px;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

.team-mission-box {
    border: 8px solid var(--green);
    border-radius: 0;
    padding: 2.5rem 3rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.team-mission-text {
    font-family: 'Cormorant', serif;
    font-size: 20px;
    font-weight: 400;
    color: #333;
    margin: 0 0 1.25rem 0;
    line-height: 1.7;
}

.team-mission-text:last-child {
    margin-bottom: 0;
}

/* Mission Section */
.mission-section {
    display: flex;
    flex-direction: row;
    margin-top: 4rem;
    width: 100%;
    overflow: hidden;
}

.mission-section-reverse {
    flex-direction: row-reverse;
}

.mission-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0;
    width: 50%;
    padding: 6rem;
    align-items: stretch;
    justify-items: stretch;
}

.mission-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.mission-content {
    background-color: var(--green);
    width: 50%;
    padding: 1.25rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mission-content-blue {
    background-color: var(--blue);
}

.mission-content-blue .mission-text {
    color: #fff;
    font-size: 42px;
}

.mission-text {
    font-family: 'Cormorant', serif;
    font-size: 27px;
    color: #000;
    margin: 0 0 0.875rem 0;
    line-height: 1.6;
}

.mission-text:last-child {
    margin-bottom: 0;
}

/* Hero Section */
.hero-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    min-height: 60vh;
    gap: 2rem;
    position: relative;
}

.hero-images-left,
.hero-images-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-shrink: 0;
}

.hero-images-left {
    align-items: flex-end;
}

.hero-images-right {
    align-items: flex-start;
}

.hero-side-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-box {
    background-color: var(--green);
    padding: 6rem 8rem;
    border-radius: 12px;
    flex: 1;
    max-width: 1200px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-text {
    font-family: 'Calistoga', serif;
    font-weight: 400;
    font-size: 143px;
    line-height: 1.2;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2em;
    width: 100%;
    text-align: center;
}

.hero-line-large {
    display: block;
    font-size: 143px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    width: 100%;
}

.hero-line-small {
    display: block;
    font-size: 80px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    width: 100%;
}

.hero-line-white {
    display: block;
    font-size: 160px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    width: 100%;
    color: var(--orange);
}

.hero-line-code {
    display: inline-block;
    font-size: 143px;
    font-weight: 600;
    line-height: 1;
    background-color: #1e1e1e;
    color: #ffffff;
    padding: 0.2em 0.5em;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-highlight {
    display: inline-block;
    background-color: var(--orange);
    color: #ffffff;
    padding: 0.15em 0.4em;
    border-radius: 6px;
    font-family: 'Adobe Caslon Pro', 'Caslon', 'Cormorant', 'Times New Roman', Times, serif;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Sign Up Section */
.signup-section {
    padding: 2rem 2rem;
    width: 100%;
    max-width: none;
    margin: 0;
}

.signup-header {
    font-family: 'Calistoga', serif;
    font-size: 48px;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.course-boxes {
    display: flex;
    gap: 3rem;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 4rem 6rem;
}

.course-box {
    border: 2px solid #999;
    border-radius: 8px;
    padding: 2.5rem;
    flex: 1 1 calc(33.333% - 2rem);
    min-width: 300px;
    max-width: none;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #fff;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.course-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.course-title {
    font-family: 'Calistoga', serif;
    font-size: 44px;
    font-weight: 400;
    margin-bottom: 1rem;
    white-space: nowrap;
}

.course-title.orange {
    color: var(--blue);
}

.course-ages {
    font-family: 'Cormorant', serif;
    font-size: 36px;
    color: #000;
    margin-bottom: 1.5rem;
    margin-top: -0.5rem;
}

.course-description {
    font-family: 'Cormorant', serif;
    font-size: 24px;
    color: var(--blue);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.signup-btn {
    background-color: var(--orange);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-family: 'Calistoga', serif;
    font-size: 24px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.signup-btn:hover,
.signup-btn:active {
    background-color: var(--green);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.arrow {
    font-size: 28px;
    line-height: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo {
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .main-nav {
        width: 100%;
        justify-content: center;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        padding: 0.5rem 1rem;
        font-size: 24px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 0.5rem;
        padding: 0;
    }
    
    .dropdown-link {
        font-size: 20px;
        padding: 0.5rem 1rem;
    }
    
    .hero-section {
        flex-direction: column;
        gap: 1rem;
        padding: 2rem 1rem;
    }
    
    .hero-images-left,
    .hero-images-right {
        flex-direction: row;
        justify-content: center;
        width: 100%;
    }
    
    .hero-side-image {
        width: 120px;
        height: 120px;
    }
    
    .hero-box {
        padding: 3rem 2rem;
        width: 100%;
        max-width: none;
    }
    
    .hero-text {
        font-size: 60px;
    }
    
    .hero-line-large {
        font-size: 60px;
    }
    
    .hero-line-small {
        font-size: 35px;
    }
    
    .hero-line-white {
        font-size: 60px;
    }
    
    .hero-line-code {
        font-size: 60px;
        padding: 0.15em 0.4em;
    }
    
    .hero-highlight {
        padding: 0.1em 0.3em;
    }
    
    .signup-section {
        padding: 2rem 1rem;
    }
    
    .mission-section {
        flex-direction: column;
        margin-left: -1rem;
        margin-right: -1rem;
        width: calc(100% + 2rem);
    }
    
    .mission-content {
        width: 100%;
        padding: 2rem 1.5rem;
    }
    
    .mission-images {
        width: 100%;
        grid-template-columns: 1fr 1fr;
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .mission-image {
        min-height: 150px;
    }
    
    .mission-text {
        font-size: 18px;
    }
    
    .signup-header {
        font-size: 36px;
        margin-bottom: 2rem;
    }
    
    .course-boxes {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .course-box {
        min-width: 100%;
        max-width: 100%;
        padding: 2rem;
    }
    
    .course-title {
        font-size: 28px;
    }
    
    .course-description {
        font-size: 20px;
    }
    
    .signup-btn {
        font-size: 20px;
        padding: 0.75rem 1.5rem;
    }
}

/* Contact Page Styles */
.contact-form-container {
    max-width: 600px;
    margin: 3rem auto 0 auto;
    padding: 2rem;
}

.contact-intro {
    max-width: 1000px;
    margin: 3rem auto 3rem auto;
    padding: 0 2rem;
    text-align: center;
}

.contact-intro h2 {
    font-family: 'Calistoga', serif;
    font-size: 32px;
    font-weight: 400;
    color: var(--orange);
    margin-bottom: 1.5rem;
}

.contact-intro p {
    font-family: 'Cormorant', serif;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

.contact-intro p:last-child {
    margin-bottom: 0;
}

.contact-intro strong {
    color: var(--orange);
    font-weight: 600;
}

.contact-intro a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
}

.contact-intro a:hover {
    text-decoration: underline;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info-container {
    padding: 2rem;
}

.contact-section-title {
    font-family: 'Calistoga', serif;
    font-size: 36px;
    font-weight: 400;
    color: var(--orange);
    margin-bottom: 2rem;
    text-align: left;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-family: 'Cormorant', serif;
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.form-input,
.form-textarea {
    font-family: 'Cormorant', serif;
    font-size: 20px;
    padding: 0.75rem 1rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    color: #333;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--blue);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    background-color: var(--orange);
    color: #fff;
    border: 2px solid var(--orange);
    padding: 1rem 2rem;
    font-family: 'Calistoga', serif;
    font-size: 24px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    width: fit-content;
    margin: 0.5rem auto 0 auto;
}

.contact-submit-btn:hover:not(:disabled),
.contact-submit-btn:active:not(:disabled) {
    background-color: #fff;
    color: var(--orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-info-label {
    font-family: 'Calistoga', serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--blue);
    margin: 0;
}

.contact-info-text {
    font-family: 'Cormorant', serif;
    font-size: 22px;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

.contact-email-link {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-email-link:hover {
    color: var(--orange);
    text-decoration: underline;
}

/* Contact Page Responsive */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-container,
    .contact-info-container {
        padding: 1.5rem;
    }
    
    .contact-section-title {
        font-size: 32px;
    }
    
    .form-label {
        font-size: 20px;
    }
    
    .form-input,
    .form-textarea {
        font-size: 18px;
    }
    
    .contact-submit-btn {
        font-size: 20px;
        padding: 0.75rem 1.5rem;
        width: 100%;
        justify-content: center;
    }
    
    .contact-info-label {
        font-size: 22px;
    }
    
    .contact-info-text {
        font-size: 20px;
    }
}

/* Footer Styles */
.main-footer {
    background-color: #f8f8f8;
    padding: 3rem 2rem;
    margin-top: 4rem;
    border-top: 3px solid var(--green);
    width: 100%;
}

.footer-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo-img {
    width: 150px;
    height: auto;
}

.footer-nav-title,
.footer-signup-title {
    font-family: 'Calistoga', serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--orange);
    margin-bottom: 1rem;
}

.footer-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.5rem;
}

.footer-nav-links li {
    margin-bottom: 0;
}

.footer-nav-links a {
    font-family: 'Cormorant', serif;
    font-size: 20px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-signup-title {
    font-size: 20px;
    line-height: 1.4;
}

.footer-signup {
    max-width: 400px;
}

.footer-signup-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-email-input {
    flex: 1;
    padding: 0.6rem 1rem;
    font-family: 'Cormorant', serif;
    font-size: 18px;
    border: 2px solid #ddd;
    border-radius: 6px;
    outline: none;
}

.footer-email-input:focus {
    border-color: var(--blue);
}

.footer-signup-btn {
    padding: 0.6rem 1.5rem;
    font-family: 'Calistoga', serif;
    font-size: 16px;
    background-color: var(--orange);
    color: #fff;
    border: 2px solid var(--orange);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-signup-btn:hover {
    background-color: #fff;
    color: var(--orange);
}

.footer-signup-message {
    margin-top: 0.5rem;
    font-family: 'Cormorant', serif;
    font-size: 14px;
}

.footer-signup-message.success {
    color: var(--green);
}

.footer-signup-message.error {
    color: #e74c3c;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-signup-form {
        flex-direction: column;
    }
    
    .footer-signup-btn {
        width: 100%;
    }
}

