/* Base Styles */
:root {
    --primary-color: #c9a959; /* Gold */
    --secondary-color: #1a2639; /* Deep Blue */
    --accent-color: #8b4513; /* Earthy Brown */
    --text-color: #333333; /* Dark Gray */
    --light-color: #f5f5f5; /* Light Gray */
    --white-color: #ffffff;
    --black-color: #000000;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape */
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'EB Garamond', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0.5rem auto 0;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block; /* Prevent inline gap */
}

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

section {
    padding: 5rem 0;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    border: 2px solid var(--primary-color);
    -webkit-appearance: none; /* Fix for iOS */
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on iOS */
}

.cta-button:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.submit-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    width: 100%;
    -webkit-appearance: none; /* Fix for iOS */
}

.submit-button:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    -webkit-backdrop-filter: blur(10px); /* iOS blur effect */
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.header-logo {
    height: 50px;
    width: auto;
}

.series-name {
    font-family: 'EB Garamond', serif;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: var(--secondary-color);
    font-weight: 500;
    position: relative;
}

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

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white-color);
    height: 100vh;
    min-height: 500px;
    overflow: hidden; /* Ensure no content bleeds outside */
}

/* Create a pseudo-element for the background image */
.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero-section.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

/* For desktop only, use fixed attachment */
@media (min-width: 1025px) and (not (-webkit-device-pixel-ratio: 1)) {
    .hero:before {
        background-attachment: fixed;
    }
}

.hero .overlay {
    display: none; /* Removed overlay to keep image bright and natural */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-shadow: none;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: none;
}

/* Benefits Section */
.benefits {
    background-color: var(--white-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-card p {
    text-align: left;
}

.limited-spots {
    text-align: center;
    margin-top: 3rem;
}

.limited-spots p {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

/* Guidelines Section */
.guidelines {
    background-color: var(--light-color);
}

.guidelines-content {
    background-color: var(--white-color);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.steps {
    margin: 2rem 0;
}

.step {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.step-number {
    background-color: var(--primary-color);
    color: var(--white-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 0.5rem;
}

.formatting {
    margin: 2rem 0;
}

.formatting ul {
    list-style: disc;
    padding-left: 2rem;
}

.formatting li {
    margin-bottom: 0.5rem;
}

.guidelines .cta-button {
    display: block;
    max-width: 300px;
    margin: 2rem auto 0;
    text-align: center;
}

/* Register Section */
.register {
    background-color: var(--white-color);
    padding: 5rem 0;
}

.register .container {
    max-width: 1000px;
}

.form_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 2rem;
}

#mc_embed_signup {
    background: transparent;
    clear: left;
    font: 14px Helvetica, Arial, sans-serif;
    width: 60%;
    min-width: 300px;
    margin-bottom: 2rem;
}

#form_instructions {
    width: 35%;
    min-width: 300px;
    margin-left: 0;
    padding: 20px;
    background: var(--light-color);
    border-radius: 5px;
    margin-bottom: 2rem;
}

#form_instructions h2 {
    margin-top: 0;
    color: #333;
    font-size: 1.4em;
    font-weight: bold;
}

#form_instructions ul {
    padding-left: 20px;
}

#form_instructions li {
    margin-bottom: 10px;
}

/* How to Submit Section */
.how-to-submit {
    background-color: var(--white-color);
}

.submission-form {
    background-color: var(--light-color);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    max-width: 800px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-group input:not([type="checkbox"]),
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Lato', sans-serif;
    transition: var(--transition);
    -webkit-appearance: none; /* Fix for iOS */
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(201, 169, 89, 0.2);
}

/* Details Section */
.details {
    background-color: var(--light-color);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.detail-card {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.detail-card:hover {
    transform: translateY(-10px);
}

.detail-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.details .cta-button {
    display: block;
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
}

/* FAQ Section */
.faq {
    background-color: var(--white-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background-color: var(--light-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.3rem;
}

.faq-toggle {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

.faq .cta-button {
    display: block;
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
}

/* Contact Section */
.contact {
    background-color: var(--light-color);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-10px);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    font-family: 'EB Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white-color);
}

.footer-logo-img {
    height: 60px;
    width: auto;
    margin-right: 15px;
}

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
}

.footer-links li {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--white-color);
    opacity: 0.8;
}

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

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in:nth-child(2) {
    animation-delay: 0.3s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.6s;
}

/* Responsive Styles */

/* Large Desktop */
@media screen and (min-width: 1441px) {
    .container {
        max-width: 1400px;
    }
    
    h1 {
        font-size: 4rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    h3 {
        font-size: 2.2rem;
    }
    
    p {
        font-size: 1.1rem;
    }
}

/* Desktop and Laptop */
@media screen and (max-width: 1440px) {
    .container {
        max-width: 1200px;
    }
}

/* Small Desktop and Large Tablets */
@media screen and (max-width: 1200px) {
    .container {
        max-width: 1000px;
    }
    
    h1 {
        font-size: 3.2rem;
    }
    
    h2 {
        font-size: 2.3rem;
    }
}

/* iPad Pro */
@media screen and (max-width: 1024px) {
    .container {
        width: 95%;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    .hero:before {
        background-attachment: scroll;
    }
    
    .form_container {
        flex-direction: column;
    }
    
    #mc_embed_signup, #form_instructions {
        width: 100%;
        margin-left: 0;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* iPad and Tablets */
@media screen and (max-width: 834px) {
    html {
        font-size: 95%;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
    }
    
    .hero:before {
        background-attachment: scroll;
    }
    
    .step {
        align-items: flex-start;
    }
    
    .guidelines-content, 
    .submission-form {
        padding: 2rem;
    }
}

/* iPad Mini and Small Tablets */
@media screen and (max-width: 768px) {
    html {
        font-size: 90%;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
    }
    
    .hero:before {
        background-attachment: scroll;
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white-color);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        z-index: 1000;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .guidelines-content,
    .submission-form {
        padding: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 1.5rem;
        justify-content: center;
    }
    
    .footer-links ul {
        justify-content: center;
    }
    
    .footer-links li {
        margin: 0 0.75rem 1rem;
    }
    
    .step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 1rem;
    }
    
    .benefit-card {
        margin-bottom: 1.5rem;
    }
    
    .benefits-grid, .details-grid, .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Large Phones */
@media screen and (max-width: 576px) {
    html {
        font-size: 85%;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.9rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .hero {
        min-height: 90vh;
    }
    
    .hero:before {
        background-position: center center;
    }
    
    .cta-button {
        padding: 0.7rem 1.8rem;
    }
}

/* iPhone and Mobile Phones */
@media screen and (max-width: 480px) {
    html {
        font-size: 80%;
    }
    
    section {
        padding: 3rem 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        min-height: 80vh;
    }
    
    .hero:before {
        background-position: center center;
        background-attachment: scroll;
    }
    
    .benefit-card,
    .detail-card,
    .contact-item {
        padding: 1.5rem;
    }
    
    .header-logo {
        height: 40px;
    }
    
    .series-name {
        font-size: 0.9rem;
    }
    
    .footer-logo-img {
        height: 50px;
    }
    
    .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
}

/* Small Phones */
@media screen and (max-width: 375px) {
    html {
        font-size: 75%;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero {
        min-height: 70vh;
    }
    
    .container {
        width: 95%;
        padding: 0 0.5rem;
    }
    
    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .series-name {
        display: none; /* Hide on very small screens for space */
    }
}

/* iOS Specific Fixes */
@supports (-webkit-touch-callout: none) {
    /* CSS specific to iOS devices */
    .hero:before {
        background-attachment: scroll !important;
    }
    
    /* Fix for iOS input zoom */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    textarea {
        font-size: 16px;
    }
    
    /* Fix for iOS momentum scrolling */
    .faq-answer {
        -webkit-overflow-scrolling: touch;
    }
}

/* Fix for Safari */
@media not all and (min-resolution:.001dpcm) { 
    @supports (-webkit-appearance:none) {
        .hero:before {
            background-attachment: scroll !important;
        }
    }
}

/* Fix for landscape mode on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 450px;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
}

/* High-DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero:before {
        background-image: url('images/hero-section.png');
    }
}
/* Unified Submission Form Styles */

.submit-section {
    background-color: var(--light-color);
    padding: 5rem 0;
}

.submit-section .section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.submission-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white-color);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

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

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-size: 1rem;
}

.form-group .required {
    color: #dc3545;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    transition: var(--transition);
    font-family: 'Lato', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(201, 169, 89, 0.1);
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #666;
    font-style: italic;
}

.error-message {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    min-height: 1.2rem;
}

.form-group.error .form-control,
.form-group.error .file-label {
    border-color: #dc3545;
}

.form-group.success .form-control,
.form-group.success .file-label {
    border-color: #28a745;
}

/* File Upload Styles */
.file-upload-wrapper {
    position: relative;
}

.file-input {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    border: 2px dashed #ddd;
    border-radius: 5px;
    background-color: #fafafa;
    cursor: pointer;
    transition: var(--transition);
}

.file-label:hover {
    border-color: var(--primary-color);
    background-color: #f5f5f5;
}

.file-icon {
    font-size: 2rem;
    margin-right: 0.5rem;
}

.file-text {
    font-size: 1rem;
    color: var(--text-color);
}

.file-name {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
}

.file-input:focus + .file-label {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(201, 169, 89, 0.1);
}

/* Form Messages */
.form-message {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Submit Button */
.submit-button {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white-color);
    background-color: var(--primary-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.submit-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.submit-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

.button-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Terms Checkbox Styling */
.terms-checkbox-group {
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-wrapper input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    min-width: 18px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--primary-color);
}

.checkbox-label {
    cursor: pointer;
    user-select: none;
    flex: 1;
}

.checkbox-text {
    line-height: 1.6;
    color: var(--text-color);
    font-size: 0.9rem;
    display: inline;
}

.checkbox-text a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    transition: var(--transition);
}

.checkbox-text a:hover {
    color: var(--accent-color);
}

.checkbox-text .required {
    color: #d32f2f;
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
}

.form-footer a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Love Types Box */
.love-types-box {
    background: linear-gradient(135deg, #fff0f3 0%, #ffe8ed 100%);
    border: 3px solid #d4a5a5;
    border-radius: 16px;
    padding: 2.5rem;
    margin: 2rem 0 3rem 0;
    box-shadow: 0 8px 20px rgba(139, 69, 69, 0.15);
}

.love-types-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.love-types-header i {
    font-size: 2rem;
    color: #8b4545;
}

.love-types-header h3 {
    margin: 0;
    color: #8b4545;
    font-size: 1.8rem;
}

.love-types-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-align: center;
}

.love-types-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.love-type {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 2px solid transparent;
}

.love-type:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(139, 69, 69, 0.2);
    border-color: #c9a959;
}

.love-type i {
    font-size: 1.3rem;
    color: #8b4545;
}

.love-type span {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.love-types-footer {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    text-align: center;
    font-style: italic;
    padding-top: 1rem;
    border-top: 2px solid rgba(212, 165, 165, 0.3);
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-top: 1rem;
    font-style: italic;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Book Preview Section */
.book-preview {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fff5f7 0%, #ffffff 100%);
}

.book-preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.book-preview-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.preview-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.preview-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.preview-highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.preview-highlight i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.preview-highlight span {
    font-weight: 600;
    color: var(--secondary-color);
}

.preview-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 2rem;
}

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

.book-3d {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .book-preview-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .book-preview-image {
        order: -1;
    }
    
    .book-3d {
        max-width: 350px;
    }
    
    .preview-highlights {
        grid-template-columns: 1fr;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .love-types-box {
        padding: 2rem 1.5rem;
    }
    
    .love-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .love-types-header h3 {
        font-size: 1.5rem;
    }
    
    .submission-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .file-label {
        padding: 1.5rem 1rem;
    }
    
    .file-icon {
        font-size: 1.5rem;
    }
    
    .file-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .submit-section {
        padding: 3rem 0;
    }
    
    .submission-form-wrapper {
        padding: 1.5rem 1rem;
    }
    
    .submit-button {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
    
    .love-types-grid {
        grid-template-columns: 1fr;
    }
}
/* ============================================
   TIMELINE SECTION & COUNTDOWN TIMERS
   ============================================ */

.timeline-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fff5f7 0%, #ffe8ec 100%);
    position: relative;
    overflow: hidden;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(219, 112, 147, 0.03) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(255, 182, 193, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.timeline-section .container {
    position: relative;
    z-index: 1;
}

.timeline-section h2 {
    text-align: center;
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.timeline-section .section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Countdown Container */
.countdown-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.countdown-box {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.countdown-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

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

.submission-countdown::before {
    background: linear-gradient(90deg, #db7093, #c9184a);
}

.publication-countdown::before {
    background: linear-gradient(90deg, #d4af37, #ffd700);
}

.countdown-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.publication-countdown .countdown-icon {
    color: #d4af37;
}

.countdown-box h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.countdown-display {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
    font-family: 'Lato', sans-serif;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.publication-countdown .countdown-number {
    background: linear-gradient(135deg, #d4af37, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    margin-top: 0.5rem;
    font-weight: 600;
}

.countdown-date {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.countdown-date strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.cta-button-small {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.95rem;
}

.cta-button-small:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(219, 112, 147, 0.3);
}

/* Detailed Timeline */
.detailed-timeline {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.timeline-heading {
    text-align: center;
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.timeline-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.timeline-track {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-milestone {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-milestone:last-child {
    margin-bottom: 0;
}

.milestone-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.milestone-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(219, 112, 147, 0.3);
    position: relative;
    z-index: 2;
}

.milestone-icon.celebration {
    background: linear-gradient(135deg, #d4af37, #ffd700);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.milestone-line {
    width: 3px;
    flex-grow: 1;
    background: linear-gradient(180deg, var(--primary-color), rgba(219, 112, 147, 0.3));
    margin-top: 0.5rem;
}

.final-milestone .milestone-line {
    display: none;
}

.milestone-content {
    flex-grow: 1;
    padding-top: 0.5rem;
}

.milestone-date {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.milestone-content h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.milestone-content p {
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
}

.milestone-content strong {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Timeline CTA */
.timeline-cta {
    text-align: center;
    margin-top: 3rem;
}

.timeline-cta p {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline-section {
        padding: 3rem 0;
    }
    
    .timeline-section h2 {
        font-size: 2rem;
    }
    
    .countdown-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .countdown-box {
        padding: 1.5rem;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-item {
        min-width: 60px;
    }
    
    .detailed-timeline {
        padding: 2rem 1.5rem;
    }
    
    .timeline-heading {
        font-size: 1.5rem;
    }
    
    .timeline-milestone {
        gap: 1rem;
    }
    
    .milestone-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .milestone-content h4 {
        font-size: 1.1rem;
    }
    
    .milestone-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .countdown-display {
        gap: 0.5rem;
    }
    
    .countdown-item {
        min-width: 50px;
    }
    
    .countdown-number {
        font-size: 1.8rem;
    }
    
    .countdown-label {
        font-size: 0.65rem;
    }
}

/* What to Expect Callout Box */
.expect-callout {
    padding: 2rem 0;
    background: var(--light-color);
}

.callout-box {
    background: linear-gradient(135deg, #fff9e6 0%, #ffe6f0 100%);
    border-left: 5px solid var(--primary-color);
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.callout-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.callout-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.callout-content {
    flex: 1;
}

.callout-content h3 {
    color: var(--secondary-color);
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
}

.callout-content p {
    color: var(--text-color);
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.callout-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.callout-link:hover {
    color: var(--accent-color);
}

.callout-link i {
    transition: transform 0.3s ease;
}

.callout-link:hover i {
    transform: translateX(5px);
}

/* Responsive callout box */
@media (max-width: 768px) {
    .callout-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .callout-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .callout-content h3 {
        font-size: 1.1rem;
    }
}
