:root {
    --navy-blue: #1a2332;
    --deep-navy: #0f1419;
    --gold: #d4af37;
    --cream: #f8f6f0;
    --white: #ffffff;
    --light-gold: #e8d273;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --gradient-navy: linear-gradient(135deg, #1a2332 0%, #0f1419 100%);
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #e8d273 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--cream);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 35, 50, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

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

.nav-link:hover {
    color: var(--gold);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gold);
    margin: 3px 0;
    transition: 0.3s;
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(26, 35, 50, 0.7), rgba(15, 20, 25, 0.8)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><linearGradient id="bg" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23f8f6f0;stop-opacity:1" /><stop offset="100%" style="stop-color:%23e8d273;stop-opacity:0.3" /></linearGradient></defs><rect width="1200" height="800" fill="url(%23bg)"/></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 2rem;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 2;
}

.hero-content {
    color: var(--white);
    text-align: left;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

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

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--cream);
    font-weight: 300;
}

.cta-button {
    background: var(--gradient-gold);
    color: var(--navy-blue);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.cta-button.secondary:hover {
    background: var(--gold);
    color: var(--navy-blue);
}

.section {
    padding: 6rem 0;
}

.section:nth-child(even) {
    background: var(--white);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--navy-blue);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.mission-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.mission-statement {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.value-item {
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item h3 {
    font-size: 1.5rem;
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.process {
    background: var(--gradient-navy);
    color: var(--white);
}

.process .section-title {
    color: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    color: var(--navy-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.ai-personality-test {
    text-align: center;
    background: rgba(212, 175, 55, 0.1);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 2px solid var(--gold);
}

.ai-personality-test h3 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.ai-personality-test p {
    color: var(--cream);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.ai-personality-test .cta-button {
    display: inline-block;
    text-decoration: none;
}

.process-cta {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--gold);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

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

.join-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.join-intro p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.join-form, .contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--navy-blue);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

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

.form-group input[type="file"] {
    padding: 0.75rem;
    background: var(--cream);
}

.contact {
    background: var(--gradient-navy);
    color: var(--white);
}

.contact .section-title {
    color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    padding: 2rem;
}

.contact-item {
    margin-bottom: 2.5rem;
}

.contact-item h3 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-item p {
    color: var(--cream);
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--gold);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--light-gold);
}

.footer {
    background: var(--deep-navy);
    color: var(--cream);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright p {
    font-size: 0.9rem;
    margin: 0;
}

.footer-social a {
    color: var(--gold);
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--light-gold);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--cream);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-links span {
    color: var(--text-light);
}

/* About Juliette Section - Elegant Styling */
.about {
    background: var(--white);
    position: relative;
}

.about .container {
    max-width: 900px;
}

.about-content {
    text-align: center;
    margin: 0 auto;
}

.about-intro {
    margin-bottom: 4rem;
}

.about-greeting {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--navy-blue);
    font-style: italic;
    position: relative;
    padding-bottom: 2rem;
}

.about-greeting::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 1px;
}

.about-story {
    display: flex;
    justify-content: center;
}

.story-section.unified {
    position: relative;
    padding: 3rem;
    background: rgba(248, 246, 240, 0.4);
    border-radius: 15px;
    border-left: 4px solid var(--gold);
    border-right: 4px solid var(--gold);
    transition: all 0.3s ease;
    max-width: 800px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.story-section.unified:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.story-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: left;
    font-weight: 400;
}

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

.story-text.highlight-text {
    background: rgba(212, 175, 55, 0.08);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    font-weight: 500;
    color: var(--navy-blue);
}

.story-text em {
    color: var(--navy-blue);
    font-style: normal;
    font-weight: 600;
    position: relative;
}

.story-text em::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 1px;
}

/* Begin the Process Section */
.begin {
    background: var(--gradient-navy);
    color: var(--white);
}

.begin .section-title {
    color: var(--white);
}

.pathway-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.pathway {
    background: rgba(248, 246, 240, 0.1);
    padding: 3rem;
    border-radius: 15px;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.pathway h3 {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.pathway > p {
    color: var(--cream);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.6;
}

/* For Families Form */
.family-form-container {
    margin-top: 2rem;
}

.family-intake-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    color: var(--text-dark);
}

/* For Candidates Steps */
.candidate-steps {
    margin: 2rem 0;
}

.candidate-step {
    background: rgba(212, 175, 55, 0.1);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.candidate-step h4 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.candidate-step p {
    color: var(--cream);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.candidate-step .cta-button {
    display: inline-block;
    text-decoration: none;
}

.candidate-contact {
    background: rgba(248, 246, 240, 0.05);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.candidate-contact h4 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.candidate-contact p {
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.candidate-contact a {
    color: var(--gold);
    text-decoration: none;
}

.candidate-contact a:hover {
    color: var(--light-gold);
}

.skillset-preview-link {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.preview-link {
    color: var(--gold);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.preview-link:hover {
    color: var(--light-gold);
    text-decoration: underline;
}

.preview-link::before {
    content: "👁️ ";
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--navy-blue);
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: 3rem;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .values-grid,
    .process-steps,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .pathway-options {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .pathway {
        padding: 2rem;
    }

    .family-intake-form {
        padding: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .about-greeting {
        font-size: 1.6rem;
    }

    .story-section.unified {
        padding: 2.5rem;
    }

    .story-text {
        font-size: 1.1rem;
    }

    .application-title {
        font-size: 2.2rem;
    }

    .application-form {
        padding: 2rem;
        margin: 0 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .household-experience {
        padding: 1.5rem;
    }

    .profile-name {
        font-size: 2.5rem;
    }

    .profile-position {
        font-size: 1.3rem;
    }

    .profile-location {
        flex-direction: column;
        gap: 0.3rem;
    }

    .profile-grid {
        padding: 0 1rem;
    }

    .info-card {
        padding: 2rem;
    }

    .work-style-keywords {
        font-size: 1.1rem;
    }

    .profile-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .profile-image {
        height: 300px;
    }

    .container {
        padding: 0 1rem;
    }

    .join-form,
    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .service-card,
    .value-item {
        padding: 2rem;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid var(--gold);
    border-radius: 25px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.scroll-indicator::before {
    content: '';
    width: 4px;
    height: 10px;
    background: var(--gold);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}

/* Application Form Styles */
.application-hero {
    background: var(--gradient-navy);
    color: var(--white);
    padding: 8rem 0 4rem;
    margin-top: 70px;
    text-align: center;
}

.application-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.application-subtitle {
    font-size: 1.3rem;
    color: var(--cream);
    font-weight: 300;
}

.application-form-section {
    background: var(--cream);
    padding: 4rem 0;
}

.application-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--cream);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.section-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--navy-blue);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--gold);
    display: inline-block;
}

.section-subheading {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--navy-blue);
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.7rem;
    color: var(--navy-blue);
    font-weight: 500;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group input[type="file"] {
    padding: 0.75rem;
    background: var(--cream);
    border-style: dashed;
}

.file-note {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

.household-experience {
    background: rgba(248, 246, 240, 0.5);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--gold);
}

.household-experience h4 {
    color: var(--navy-blue);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.form-submit {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 2px solid var(--cream);
}

.form-submit .cta-button {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* Staff Profile Page Styles */
.profile-hero {
    background: var(--gradient-navy);
    color: var(--white);
    padding: 8rem 0 4rem;
    margin-top: 70px;
    text-align: center;
}

.profile-header {
    max-width: 800px;
    margin: 0 auto;
}

.profile-name {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.profile-position {
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.profile-location {
    font-size: 1.1rem;
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.location-icon {
    font-size: 1.2rem;
}

.profile-content-section {
    background: var(--cream);
    padding: 4rem 0;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}


.info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--gold);
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--navy-blue);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.info-grid {
    display: grid;
    gap: 1.5rem;
}

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

.info-item strong {
    color: var(--navy-blue);
    font-weight: 600;
    font-size: 0.95rem;
}

.info-item span {
    color: var(--text-dark);
    line-height: 1.6;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background: var(--gradient-gold);
    color: var(--navy-blue);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.work-style-keywords {
    text-align: center;
    font-size: 1.2rem;
    color: var(--navy-blue);
    font-weight: 500;
    line-height: 1.8;
}

.keyword {
    color: var(--gold);
    font-weight: 600;
}

.keyword-separator {
    color: var(--gold);
    margin: 0 0.8rem;
}

.bio-card {
    border-top: 4px solid var(--navy-blue);
}

.bio-text {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

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

.personality-card {
    border-top: 4px solid var(--gold);
}

.personality-traits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.trait-item h4 {
    color: var(--navy-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.trait-item p {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.95rem;
}

.details-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.detail-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.detail-content strong {
    color: var(--navy-blue);
    font-weight: 600;
    font-size: 0.95rem;
}

.detail-content span {
    color: var(--text-dark);
    font-size: 0.9rem;
}

.contact-card {
    background: var(--gradient-navy);
    color: var(--white);
    text-align: center;
    border-top: 4px solid var(--gold);
}

.contact-card .card-title {
    color: var(--white);
}

.contact-text {
    color: var(--cream);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-card .cta-button {
    background: var(--gradient-gold);
    color: var(--navy-blue);
}

/* Profile Gallery Styles */
.profile-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.profile-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.profile-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Login Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.modal-container {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    font-family: 'Playfair Display', serif;
    color: var(--navy-blue);
    font-size: 1.5rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #666;
}

.modal-content {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin: 1rem 0;
    padding: 0.75rem;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
}

.login-submit-btn {
    width: 100%;
    background: var(--gradient-navy);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.login-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 35, 50, 0.3);
}

.login-submit-btn:active {
    transform: translateY(0);
}

.login-help {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.login-help p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.login-help strong {
    color: var(--navy-blue);
    font-family: 'Courier New', monospace;
    background: #e9ecef;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0; 
        transform: translateY(-50px) scale(0.9); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

@media (max-width: 768px) {
    .modal-container {
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    .modal-header,
    .modal-content {
        padding: 1.5rem;
    }
}