/* ================================
   CSS RESET & BASE STYLES
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cool & Calm Color Palette */
    --primary-blue: #4A90E2;
    --deep-blue: #2E5C8A;
    --teal: #50C9C3;
    --purple: #7B68EE;
    --light-purple: #B8A9E8;
    --sky-blue: #E8F4F8;
    --soft-blue: #D4E9F7;

    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #F8FAFB;
    --light-gray: #E5EBF0;
    --gray: #8B9AA8;
    --dark-gray: #4A5568;
    --charcoal: #2D3748;

    /* Semantic Colors */
    --success: #48BB78;
    --warning: #ED8936;

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Quicksand', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(46, 92, 138, 0.08);
    --shadow-md: 0 4px 16px rgba(46, 92, 138, 0.12);
    --shadow-lg: 0 8px 32px rgba(46, 92, 138, 0.16);
    --shadow-xl: 0 16px 48px rgba(46, 92, 138, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--charcoal);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/logo-alternate.png');
    background-size: 180px 120px;
    background-repeat: repeat;
    opacity: 0.025;
    pointer-events: none;
    z-index: -1;
}

/* Hide Google Translate banner and toolbar */
body {
    top: 0 !important;
}

.goog-te-banner-frame,
.goog-te-balloon-frame,
.skiptranslate iframe {
    display: none !important;
}

#google_translate_element {
    display: none !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--deep-blue);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ================================
   BUTTONS
   ================================ */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition-normal);
    text-align: center;
    font-family: var(--font-primary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--sky-blue);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* ================================
   NAVIGATION
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--spacing-md);
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo {
    height: 75px;
    width: auto;
    transition: var(--transition-fast);
}

.nav-logo:hover {
    transform: scale(1.05);
}

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

.nav-menu a {
    font-weight: 500;
    color: var(--dark-gray);
    position: relative;
}

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

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

.nav-cta {
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-xl);
}

.nav-cta::after {
    display: none;
}

.language-switcher {
    position: relative;
}

.language-switcher button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--dark-gray);
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem;
    transition: var(--transition-fast);
}

.language-switcher button:hover {
    color: var(--primary-blue);
}

.language-switcher svg {
    width: 20px;
    height: 20px;
}

.language-switcher #currentLang {
    font-weight: 600;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: 1000;
    margin-top: 0.5rem;
}

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

.language-dropdown a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--dark-gray);
    text-decoration: none;
    transition: var(--transition-fast);
    font-weight: 500;
}

.language-dropdown a:first-child {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.language-dropdown a:last-child {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.language-dropdown a:hover {
    background: var(--sky-blue);
    color: var(--primary-blue);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: var(--transition-normal);
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--sky-blue) 0%, var(--soft-blue) 100%);
    padding: 10rem var(--spacing-md) 8rem;
    margin-top: 70px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="%234A90E2" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.hero::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 300px;
    height: 200px;
    background: url('../images/logo-alternate.png') no-repeat center;
    background-size: contain;
    opacity: 0.08;
    transform: rotate(15deg);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--teal), var(--primary-blue));
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

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

.hero-logo {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin: 0;
    display: block;
    animation: logoEntrance 1s ease-out, logoFloat 3s ease-in-out 1s infinite;
    filter: drop-shadow(0 10px 30px rgba(74, 144, 226, 0.15));
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 15px 40px rgba(74, 144, 226, 0.25));
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

.hero-logo-wrapper {
    position: relative;
    display: inline-block;
    margin: 0.5rem auto 1rem;
}

.sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--teal), var(--primary-blue));
    border-radius: 50%;
    opacity: 0;
    animation: sparkleFloat 3s ease-in-out infinite;
    box-shadow: 0 0 12px rgba(74, 144, 226, 0.6), 0 0 20px rgba(80, 201, 195, 0.4);
}

.sparkle::before,
.sparkle::after {
    content: '';
    position: absolute;
    background: white;
    border-radius: 50%;
}

.sparkle::before {
    width: 3px;
    height: 3px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sparkle::after {
    width: 1px;
    height: 1px;
    top: 20%;
    left: 20%;
}

.sparkle-1 {
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 15%;
    right: -5%;
    animation-delay: 0.7s;
}

.sparkle-3 {
    bottom: 20%;
    left: -3%;
    animation-delay: 1.4s;
}

.sparkle-4 {
    bottom: 15%;
    right: -3%;
    animation-delay: 2.1s;
}

@keyframes sparkleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
}

.hero h1 {
    margin-bottom: 1rem;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--deep-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 500px;
}

.book-showcase {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-showcase::before {
    content: '📚';
    font-size: 8rem;
    opacity: 0.2;
}

.floating-heart {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--white);
    opacity: 0.2;
    clip-path: path('M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z');
    animation: float 3s infinite ease-in-out;
}

.floating-heart:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-heart:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.floating-heart:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

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

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--white);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

/* ================================
   SECTION HEADERS
   ================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    margin-bottom: 1rem;
}

.underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.section-description {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ================================
   MISSION SECTION
   ================================ */
.mission {
    position: relative;
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--white);
    overflow: hidden;
}

.mission::before {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 250px;
    height: 167px;
    background: url('../images/logo-alternate.png') no-repeat center;
    background-size: contain;
    opacity: 0.06;
    transform: rotate(-12deg);
    pointer-events: none;
}

.mission-content {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: var(--spacing-lg);
    z-index: 1;
}

.mission-card {
    background: var(--off-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.mission-card .icon-svg {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: var(--primary-blue);
}

.mission-card .icon-svg svg {
    width: 100%;
    height: 100%;
    stroke-width: 2;
}

.mission-card h3 {
    margin-bottom: 1rem;
    color: var(--deep-blue);
}

.mission-card p {
    color: var(--dark-gray);
    line-height: 1.8;
}

/* ================================
   BOOK EVOLUTION SECTION
   ================================ */
.book-evolution {
    position: relative;
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(180deg, var(--white) 0%, var(--sky-blue) 100%);
    overflow: hidden;
}

.book-evolution::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 50%;
    width: 280px;
    height: 187px;
    background: url('../images/logo-alternate.png') no-repeat center;
    background-size: contain;
    opacity: 0.05;
    transform: translate(50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.edition-comparison {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 1;
}

.edition {
    text-align: center;
}

.edition-label {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.book-cover-wrapper {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-cover {
    max-height: 400px;
    width: auto;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.book-cover-wrapper.placeholder {
    background: linear-gradient(135deg, var(--soft-blue), var(--light-purple));
    border: 3px dashed var(--primary-blue);
}

.placeholder-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.placeholder-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-blue);
    text-align: center;
    line-height: 1.5;
}

.edition-details h3 {
    margin-bottom: 1rem;
    color: var(--deep-blue);
}

.edition-details p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.new-features {
    list-style: none;
    text-align: left;
    display: inline-block;
}

.new-features li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    color: var(--dark-gray);
    font-size: 1.125rem;
    position: relative;
}

.new-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 6px;
    height: 6px;
    background: var(--primary-blue);
    border-radius: 50%;
}

.edition-arrow {
    color: var(--primary-blue);
    font-size: 3rem;
    margin-top: 200px;
}

.edition-arrow svg {
    width: 60px;
    height: 60px;
}

/* ================================
   STORY PREVIEW SECTION
   ================================ */
.story-preview {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--white);
}

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

.act {
    background: var(--off-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border-top: 5px solid var(--primary-blue);
    transition: var(--transition-normal);
    text-align: center;
}

.act:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.act:nth-child(2) {
    border-top-color: var(--teal);
}

.act:nth-child(2) .act-icon {
    color: var(--teal);
}

.act:nth-child(3) {
    border-top-color: var(--purple);
}

.act:nth-child(3) .act-icon {
    color: var(--purple);
}

.act-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1.5rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.act-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 2;
}

.act h3 {
    margin-bottom: 1rem;
    color: var(--deep-blue);
}

.act p {
    color: var(--dark-gray);
    line-height: 1.8;
}

.story-quote {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.story-quote blockquote {
    border: none;
}

.story-quote p {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.5;
    margin: 0;
    font-family: var(--font-secondary);
}

/* ================================
   ABOUT MICROTIA SECTION
   ================================ */
.about-microtia {
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(135deg, var(--sky-blue), var(--soft-blue));
}

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

.microtia-text h2 {
    margin-bottom: 1rem;
}

.microtia-text p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

.info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.info-card h4 {
    color: var(--deep-blue);
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--gray);
    margin-bottom: 2rem;
}

/* ================================
   AUTHOR SECTION
   ================================ */
.author {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--white);
}

.author-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.author-image {
    position: relative;
}

.family-photo {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    margin: 0 auto;
    display: block;
}

.author-text h2 {
    margin-bottom: 1rem;
}

.author-bio {
    font-size: 1.25rem;
    color: var(--deep-blue);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.author-text p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.author-dedication {
    font-style: italic;
    color: var(--primary-blue);
    font-size: 1.25rem;
    font-weight: 600;
    padding: 1.5rem;
    background: var(--sky-blue);
    border-left: 4px solid var(--primary-blue);
    border-radius: var(--radius-sm);
    margin-top: 2rem;
}

/* ================================
   VIDEO MOMENT SECTION
   ================================ */
.video-moment {
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(135deg, var(--white) 0%, var(--sky-blue) 100%);
}

.video-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.video-text h2 {
    margin-bottom: 2rem;
}

.video-subsection {
    margin-bottom: 2.5rem;
}

.video-subsection h3 {
    font-size: 1.5rem;
    color: var(--deep-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.video-subsection p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.video-subsection p:last-child {
    margin-bottom: 0;
}

.video-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.video-embed {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-embed blockquote {
    margin: 0;
}

/* ================================
   NELLIE'S GALLERY SECTION
   ================================ */
.nellie-gallery {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--off-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: var(--spacing-lg);
}

.gallery-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-caption {
    padding: 2rem;
}

.gallery-caption h4 {
    color: var(--deep-blue);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.gallery-caption p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin: 0;
}

/* ================================
   NOTIFICATION SECTION
   ================================ */
.notify {
    position: relative;
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.notify::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    width: 200px;
    height: 133px;
    background: url('../images/logo-alternate.png') no-repeat center;
    background-size: contain;
    opacity: 0.08;
    transform: translateY(-50%) rotate(-20deg);
    pointer-events: none;
}

.notify::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10%;
    width: 200px;
    height: 133px;
    background: url('../images/logo-alternate.png') no-repeat center;
    background-size: contain;
    opacity: 0.08;
    transform: translateY(-50%) rotate(20deg);
    pointer-events: none;
}

.notify-content {
    position: relative;
    z-index: 1;
}

.notify-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.notify-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.notify-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--radius-xl);
    font-size: 1.125rem;
    font-family: var(--font-primary);
}

.form-group input:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
}

.form-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.form-success svg {
    width: 60px;
    height: 60px;
    color: var(--white);
}

.form-success p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin: 0;
}

.form-success.show {
    display: flex;
}

/* ================================
   RESOURCES SECTION
   ================================ */
.resources {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--off-white);
}

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

.resource-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border-top: 4px solid var(--primary-blue);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.resource-card:nth-child(2) {
    border-top-color: var(--teal);
}

.resource-card:nth-child(3) {
    border-top-color: var(--purple);
}

.resource-card h3 {
    margin-bottom: 1rem;
    color: var(--deep-blue);
}

.resource-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.resource-link {
    color: var(--primary-blue);
    font-weight: 600;
    transition: var(--transition-fast);
}

.resource-link:hover {
    color: var(--purple);
    text-decoration: underline;
}

/* ================================
   FOOTER
   ================================ */
.footer {
    background: var(--charcoal);
    color: var(--light-gray);
    padding: var(--spacing-lg) var(--spacing-md) var(--spacing-md);
}

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

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section p {
    color: var(--light-gray);
    line-height: 1.8;
}

.footer-logo {
    height: 130px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section a {
    color: var(--light-gray);
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

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

.footer-bottom p {
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-weight: 600;
    color: var(--primary-blue);
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        height: 400px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .edition-comparison {
        grid-template-columns: 1fr;
    }

    .edition-arrow {
        transform: rotate(90deg);
        margin-top: 0;
        margin-bottom: 2rem;
    }

    .microtia-content {
        grid-template-columns: 1fr;
    }

    .author-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .family-photo {
        max-width: 350px;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        transition: left var(--transition-normal);
        box-shadow: var(--shadow-lg);
    }

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

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-logo {
        height: 60px;
    }

    .footer-logo {
        height: 100px;
    }

    .hero-logo {
        max-width: 400px;
    }


    .hero {
        padding: 6rem var(--spacing-md) 4rem;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .mission-content,
    .story-acts,
    .resource-grid {
        grid-template-columns: 1fr;
    }

    .form-group {
        flex-direction: column;
    }

    .story-quote p {
        font-size: 1.5rem;
    }

    .video-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .hero-visual {
        height: 300px;
    }

    .book-showcase::before {
        font-size: 5rem;
    }

    .video-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ================================
   ANIMATIONS
   ================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ================================
   ACCESSIBILITY
   ================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

*:focus-visible {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ================================
   RESOURCE PAGES
   ================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--purple));
    color: var(--white);
    padding: 8rem var(--spacing-md) 4rem;
    margin-top: 70px;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-header .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.resource-content {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--white);
}

.content-section {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.content-section h2 {
    margin-bottom: 1.5rem;
    color: var(--deep-blue);
}

.content-section h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--deep-blue);
    font-size: 1.5rem;
}

.content-section p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--dark-gray);
}

.styled-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.styled-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    line-height: 1.8;
    color: var(--dark-gray);
}

.styled-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.25rem;
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
}

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

.info-card-resource {
    background: var(--off-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-top: 4px solid var(--primary-blue);
    transition: var(--transition-normal);
}

.info-card-resource:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-card-resource h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--deep-blue);
    font-size: 1.25rem;
}

.info-card-resource p {
    margin-bottom: 0;
    font-size: 1rem;
}

.callout-box {
    background: linear-gradient(135deg, var(--sky-blue), var(--soft-blue));
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border-left: 5px solid var(--primary-blue);
    margin: 2.5rem 0;
}

.callout-box h3 {
    margin-top: 0;
    color: var(--deep-blue);
}

.callout-box p:last-child {
    margin-bottom: 0;
}

.callout-box ol {
    margin-top: 1rem;
}

.support-group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 2rem 0;
}

.support-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary-blue);
    transition: var(--transition-normal);
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.support-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--deep-blue);
}

.support-type {
    font-size: 0.9rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.support-card p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.support-card p:last-child {
    margin-bottom: 0;
}

.support-card a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: underline;
}

.support-card a:hover {
    color: var(--purple);
}

.discussion-section {
    margin: 2.5rem 0;
}

.discussion-section h3 {
    margin-top: 0;
}

.activity-card {
    background: var(--off-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border-left: 5px solid var(--teal);
    margin: 2.5rem 0;
    transition: var(--transition-normal);
}

.activity-card:hover {
    box-shadow: var(--shadow-md);
}

.activity-card h3 {
    margin-top: 0;
    color: var(--deep-blue);
}

.activity-card p strong {
    color: var(--deep-blue);
}

.activity-card ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.activity-card ol li {
    padding: 0.5rem 0;
    line-height: 1.8;
}

.dos-donts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

.dos h4,
.donts h4 {
    color: var(--deep-blue);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.dos {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.1), rgba(72, 187, 120, 0.05));
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--success);
}

.donts {
    background: linear-gradient(135deg, rgba(237, 137, 54, 0.1), rgba(237, 137, 54, 0.05));
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--warning);
}

.resource-link-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--purple);
    margin: 1.5rem 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.resource-link-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.resource-link-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.resource-link-card p:last-child {
    margin-bottom: 0;
}

.resource-link-card a {
    color: var(--primary-blue);
    font-weight: 600;
}

.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--off-white);
    border-radius: var(--radius-lg);
    margin: 4rem auto 0;
    max-width: 800px;
}

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

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.cta-section .btn {
    margin: 0 0.5rem;
}

/* Resource Page Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 6rem var(--spacing-md) 3rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .support-group-grid {
        grid-template-columns: 1fr;
    }

    .dos-donts {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-section .btn {
        display: block;
        margin: 1rem auto;
        max-width: 300px;
    }
}
