/* ===================================
   SUNNY SHELL - CLEAN STYLES.CSS
   =================================== */

/* ===================================
   CSS Variables & Reset
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* MOBILE FIX: ensure all images are responsive and never overflow their containers */
img {
    max-width: 100%;
    height: auto;
}

/* MOBILE FIX: prevent any element from causing horizontal scroll */
html, body {
    overflow-x: hidden;
}

:root {
    --cream: #FCEFD9;
    --hot-pink: #F74DBD;
    --mint: #BFF4E3;
    --yellow: #F8E660;
    --soft-blue: #9FD9FF;
    --white: #FFFFFF;
    --text-dark: #5A4A42;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Quicksand', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, var(--hot-pink) 100%);
    position: relative;
}

/* ===================================
   Background Effects
   =================================== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.6) 0%, transparent 40%),
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.5) 0%, transparent 45%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.4) 0%, transparent 35%),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.5) 0%, transparent 40%),
        radial-gradient(circle at 25% 75%, rgba(255, 255, 255, 0.3) 0%, transparent 30%),
        radial-gradient(circle at 60% 85%, rgba(255, 255, 255, 0.6) 0%, transparent 42%);
    pointer-events: none;
    animation: watercolor 12s ease-in-out infinite;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.9) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 255, 255, 0.7) 1.5px, transparent 1.5px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 40px 60px;
    animation: sparkle 3s linear infinite;
    pointer-events: none;
    opacity: 0.6;
    z-index: 0;
}

@keyframes watercolor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes sparkle {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ===================================
   Header & Navigation
   =================================== */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(247, 77, 189, 0.1);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Baloo 2', 'Fredoka', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--hot-pink);
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.logo-image {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--hot-pink);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--hot-pink);
}

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

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--hot-pink);
    border-radius: 2px;
    transition: 0.3s;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 5%;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

.hero-title {
    font-family: 'Baloo 2', 'Fredoka', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--hot-pink);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.9);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    font-weight: 500;
    animation: fadeInUp 1s ease-out;
}

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

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--hot-pink);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(247, 77, 189, 0.3);
}

.btn-primary:hover {
    background: #e03ca8;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(247, 77, 189, 0.5);
}

.btn-secondary {
    background: var(--mint);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: #a8e6d5;
    transform: translateY(-3px);
}

.btn-email {
    background: var(--yellow);
    color: var(--text-dark);
    margin-top: 1rem;
}

.btn-email:hover {
    background: #f5dc40;
    transform: translateY(-3px);
}

/* ===================================
   Sections
   =================================== */
.about-section,
.shop-section,
.impact-section {
    position: relative;
    padding: 6rem 5%;
    z-index: 10;
}

.about-container,
.shop-container,
.impact-container {
    max-width: 1400px;
    margin: 0 auto;
}

h2 {
    font-family: 'Baloo 2', 'Fredoka', sans-serif;
    font-size: 3rem;
    color: var(--hot-pink);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    font-weight: 500;
}

/* ===================================
   About Section
   =================================== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.icon-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2rem;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.icon-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(247, 77, 189, 0.2);
}

.icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.icon-card h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.6rem;
    color: var(--hot-pink);
    margin-bottom: 1rem;
    font-weight: 600;
}

.icon-card p {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* ===================================
   Impact Section
   =================================== */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.impact-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2rem;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.impact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(247, 77, 189, 0.2);
}

.impact-number {
    width: 64px;
    height: 64px;
    background: var(--hot-pink);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    font-family: 'Baloo 2', sans-serif;
}

.impact-card h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.6rem;
    color: var(--hot-pink);
    margin-bottom: 1rem;
    font-weight: 600;
}

.impact-card p {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* ===================================
   Shop Section
   =================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 35px rgba(247, 77, 189, 0.25);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--yellow);
    color: var(--text-dark);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.product-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--mint), var(--soft-blue));
    border-radius: 15px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-card h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.4rem;
    color: var(--hot-pink);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.product-card p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hot-pink);
    margin-bottom: 1.5rem;
    font-family: 'Baloo 2', sans-serif;
}

/* ===================================
   Floating Shell
   =================================== */
.floating-shell {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    animation: float 4s ease-in-out infinite;
    cursor: pointer;
}

.shell-image {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 5px 15px rgba(247, 77, 189, 0.3));
    transition: transform 0.3s ease;
}

.floating-shell:hover .shell-image {
    transform: scale(1.1) rotate(10deg);
}

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

/* ===================================
   Footer
   =================================== */
footer {
    background: rgba(255, 255, 255, 0.95);
    padding: 4rem 5% 2rem;
    position: relative;
    z-index: 10;
}

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

.footer-section h4 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.4rem;
    color: var(--hot-pink);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

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

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

.cta-email {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(247, 77, 189, 0.05);
    border-radius: 15px;
}

.cta-email h4 {
    margin-bottom: 0.5rem;
}

.cta-email p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid rgba(247, 77, 189, 0.1);
    color: var(--text-dark);
}

/* ===================================
   Animations
   =================================== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   Mobile Responsive (1200px and below)
   =================================== */
@media (max-width: 1200px) {
    /* Mobile Menu */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 350px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 2rem;
        transition: right 0.4s ease;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
        z-index: 999;
        visibility: hidden;
        opacity: 0;
    }

    .nav-links.active {
        right: 0;
        visibility: visible;
        opacity: 1;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1.3rem;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Adjust sizes */
    .logo {
        font-size: 1.6rem;
    }

    .logo-image {
        width: 35px;
        height: 35px;
    }

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

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

    h2 {
        font-size: 2.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

/* Tablet and Mobile (768px and below) */
@media (max-width: 768px) {
    .about-section,
    .shop-section,
    .impact-section {
        padding: 4rem 4%;
    }

    .about-grid,
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }

    .logo-image {
        width: 30px;
        height: 30px;
    }

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

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

    h2 {
        font-size: 2rem;
    }

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

    .btn {
        padding: 0.85rem 1.8rem;
        font-size: 0.95rem;
    }

    .floating-shell {
        bottom: 15px;
        left: 15px;
    }

    .shell-image {
        width: 55px;
        height: 55px;
    }
}
/* ===================================
   Balanced Footer with Newsletter
   Add to your styles.css
   =================================== */

/* Footer stays the same, but add these newsletter styles */

.footer-newsletter {
    background: rgba(247, 77, 189, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid rgba(247, 77, 189, 0.1);
}

.footer-newsletter h4 {
    margin-bottom: 0.5rem;
}

.footer-newsletter p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* Newsletter form styling */
#mc_embed_signup {
    background: transparent;
    clear: left;
    width: 100%;
}

#mc_embed_signup form {
    padding: 0;
    margin: 0;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.newsletter-email {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(247, 77, 189, 0.3);
    border-radius: 50px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-email:focus {
    border-color: var(--hot-pink);
    box-shadow: 0 0 0 3px rgba(247, 77, 189, 0.1);
}

.newsletter-submit {
    width: 45px;
    height: 45px;
    background: var(--hot-pink);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-submit:hover {
    background: #e03ca8;
    transform: scale(1.1);
}

.newsletter-note {
    font-size: 0.8rem;
    color: var(--text-dark);
    opacity: 0.7;
    margin: 0;
}

/* Mobile responsive for balanced footer */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-newsletter {
        order: -1; /* Newsletter appears first on mobile */
    }
}

@media (max-width: 640px) {
    .footer-newsletter {
        padding: 1.5rem;
    }
    
    .newsletter-input-group {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .newsletter-submit {
        width: 100%;
        border-radius: 50px;
        height: 48px;
    }
}
/* ===========================================
   ENDORSEMENTS PAGE
   =========================================== */

.endorsements-hero {
    position: relative;
    padding: 8rem 5% 6rem;
    background: transparent;
    text-align: center;
}
.endorsements-hero-content h1 {
    font-family: 'Baloo 2', 'Fredoka', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: var(--hot-pink);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}
.endorsements-hero-content p {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
    animation: fadeInUp 1s ease-out;
}
.endorsements-section {
    position: relative;
    padding: 4rem 5% 6rem;
    z-index: 10;
}
.endorsements-container {
    max-width: 900px;
    margin: 0 auto;
}
.endorsement-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 3rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 6px solid var(--hot-pink);
    transition: all 0.4s ease;
}
.endorsement-card:hover {
    transform: translateX(8px);
    box-shadow: 0 12px 35px rgba(247, 77, 189, 0.2);
}
.endorsement-quote {
    font-size: 4rem;
    color: var(--hot-pink);
    line-height: 1;
    font-family: 'Baloo 2', serif;
    margin-bottom: 0.5rem;
    opacity: 0.4;
}
.endorsement-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-style: italic;
}
.endorsement-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-top: 2px solid rgba(247, 77, 189, 0.1);
    padding-top: 1.5rem;
}
.endorsement-author-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mint), var(--soft-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    border: 3px solid rgba(247, 77, 189, 0.2);
}
.endorsement-author-name {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.3rem;
    color: var(--hot-pink);
    font-weight: 600;
    margin-bottom: 0.2rem;
}
.endorsement-author-title {
    font-size: 0.95rem;
    color: var(--text-dark);
    opacity: 0.75;
    font-weight: 600;
}

@media (max-width: 768px) {
    .endorsements-hero-content h1 { font-size: 2.5rem; }
    .endorsements-hero-content p { font-size: 1.1rem; }
    .endorsement-card { padding: 2rem 1.5rem; }
    .endorsement-text { font-size: 1rem; }
}
@media (max-width: 480px) {
    .endorsements-hero-content h1 { font-size: 2rem; }
    .endorsement-author { flex-direction: column; text-align: center; }
}

/* ===================================
   Calendar Page Specific Styles
   =================================== */

.calendar-hero {
    position: relative;
    padding: 8rem 5% 6rem;
    background: transparent;
    text-align: center;
}

.calendar-hero-content h1 {
    font-family: 'Baloo 2', 'Fredoka', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: var(--hot-pink);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.calendar-hero-content p {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
    animation: fadeInUp 1s ease-out;
}

.current-year {
    font-size: 1.3rem !important;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--hot-pink);
}

/* ===================================
   Calendar Controls
   =================================== */
.calendar-section {
    position: relative;
    padding: 4rem 5%;
    z-index: 10;
}

.calendar-container {
    max-width: 1400px;
    margin: 0 auto;
}

.calendar-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    gap: 2rem;
}

.calendar-controls h2 {
    font-family: 'Baloo 2', 'Fredoka', sans-serif;
    font-size: 2.5rem;
    color: var(--hot-pink);
    margin: 0;
}

.year-nav-btn {
    background: var(--hot-pink);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Quicksand', sans-serif;
}

.year-nav-btn:hover {
    background: #e03ca8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(247, 77, 189, 0.3);
}

/* ===================================
   Months Grid
   =================================== */
.months-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.month-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.month-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(247, 77, 189, 0.2);
}

.month-header {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.8rem;
    color: var(--hot-pink);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-day-header {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 0.5rem;
    opacity: 0.7;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.calendar-day:hover {
    background: rgba(247, 77, 189, 0.1);
}

.calendar-day.today {
    background: var(--yellow);
    font-weight: 700;
}

.calendar-day.has-event {
    background: var(--mint);
    font-weight: 600;
}

.calendar-day.has-event::after {
    content: '•';
    position: absolute;
    bottom: 2px;
    color: var(--hot-pink);
    font-size: 1.5rem;
}

.calendar-day.empty {
    opacity: 0.3;
    cursor: default;
}

.calendar-day.empty:hover {
    background: transparent;
}

/* ===================================
   Add Event Form
   =================================== */
.add-event-section {
    position: relative;
    padding: 6rem 5%;
    z-index: 10;
}

.add-event-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.event-form {
    margin-top: 2rem;
}

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

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

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

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid rgba(247, 77, 189, 0.2);
    border-radius: 15px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--hot-pink);
    box-shadow: 0 0 0 3px rgba(247, 77, 189, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* ===================================
   Events List
   =================================== */
.events-list-section {
    position: relative;
    padding: 4rem 5% 6rem;
    z-index: 10;
}

.events-list-container {
    max-width: 1200px;
    margin: 0 auto;
}

.events-list {
    margin-top: 2rem;
}

.event-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid var(--hot-pink);
}

.event-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(247, 77, 189, 0.2);
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.event-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.6rem;
    color: var(--hot-pink);
    margin: 0;
    font-weight: 600;
}

.event-date {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
    white-space: nowrap;
}

.event-details {
    color: var(--text-dark);
    line-height: 1.6;
}

.event-meta {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.delete-event-btn {
    background: rgba(255, 0, 0, 0.1);
    color: #d32f2f;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.delete-event-btn:hover {
    background: #d32f2f;
    color: white;
}

.no-events {
    text-align: center;
    color: var(--text-dark);
    font-size: 1.2rem;
    padding: 3rem;
    opacity: 0.6;
}

/* ===================================
   Responsive Design for Calendar
   =================================== */
@media (max-width: 968px) {
    .calendar-hero-content h1 {
        font-size: 3rem;
    }

    .calendar-hero-content p {
        font-size: 1.2rem;
    }

    .calendar-controls {
        flex-direction: column;
        gap: 1rem;
    }

    .calendar-controls h2 {
        font-size: 2rem;
    }

    .months-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .add-event-container {
        padding: 2rem;
    }

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

@media (max-width: 640px) {
    .calendar-hero-content h1 {
        font-size: 2.2rem;
    }

    .calendar-hero-content p {
        font-size: 1rem;
    }

    .calendar-controls h2 {
        font-size: 1.8rem;
    }

    .year-nav-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

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

    .month-header {
        font-size: 1.5rem;
    }

    .event-header {
        flex-direction: column;
    }

    .event-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* MOBILE FIX: smaller day font on tiny screens so calendar cells fit */
    .calendar-day {
        font-size: 0.8rem;
    }

    .calendar-day-header {
        font-size: 0.75rem;
        padding: 0.3rem;
    }

    /* MOBILE FIX: reduce month card padding on mobile */
    .month-card {
        padding: 1.2rem;
    }

    /* MOBILE FIX: reduce add-event-container padding */
    .add-event-container {
        padding: 1.5rem;
    }
}


/* ===================================
   Admin Login (Calendar) - Minimal Additions
   Keeps the existing Sunny Shell theme
   =================================== */

.add-event-section.admin-locked {
    display: none;
}

.admin-login-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-login-btn,
.admin-logout-btn {
    background: rgba(255, 255, 255, 0.95);
    color: var(--hot-pink);
    border: 2px solid rgba(247, 77, 189, 0.25);
    padding: 0.8rem 1.4rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Quicksand', sans-serif;
}

.admin-login-btn:hover,
.admin-logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(247, 77, 189, 0.25);
    border-color: var(--hot-pink);
}

.admin-status {
    font-weight: 700;
    color: var(--hot-pink);
    background: rgba(247, 77, 189, 0.08);
    border: 2px solid rgba(247, 77, 189, 0.18);
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-family: 'Quicksand', sans-serif;
}

/* Modal overlay */
.admin-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    padding: 1.5rem;
    z-index: 99999;
}

.admin-modal.show {
    display: flex;
}

/* Modal card */
.admin-modal-card {
    width: min(520px, 96%);
    background: rgba(255, 255, 255, 0.97);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    position: relative;
    border: 2px solid rgba(247, 77, 189, 0.15);
}

.admin-modal-card h3 {
    font-family: 'Baloo 2', 'Fredoka', sans-serif;
    color: var(--hot-pink);
    font-size: 2rem;
    margin: 0 0 0.5rem;
}

.admin-modal-card p {
    margin: 0 0 1.5rem;
    color: var(--text-dark);
    opacity: 0.85;
    font-weight: 600;
}

.admin-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: none;
    background: rgba(247, 77, 189, 0.10);
    color: var(--hot-pink);
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 800;
    transition: all 0.2s ease;
}

.admin-modal-close:hover {
    background: rgba(247, 77, 189, 0.18);
}

/* Modal form */
.admin-login-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.admin-login-form label {
    font-weight: 700;
    color: var(--text-dark);
}

.admin-login-form input {
    padding: 1rem;
    border: 2px solid rgba(247, 77, 189, 0.2);
    border-radius: 15px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.admin-login-form input:focus {
    outline: none;
    border-color: var(--hot-pink);
    box-shadow: 0 0 0 3px rgba(247, 77, 189, 0.1);
}

.admin-login-error {
    color: #d32f2f;
    font-weight: 700;
    margin: 0.25rem 0 0;
}

.admin-login-submit {
    background: var(--hot-pink);
    color: var(--white);
    border: none;
    padding: 1rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Quicksand', sans-serif;
    margin-top: 0.25rem;
}

.admin-login-submit:hover {
    background: #e03ca8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(247, 77, 189, 0.3);
}



/* ===================================
   Calendar Page - Additional Mobile Fixes
   (Replaces removed duplicate block)
   =================================== */

/* MOBILE FIX: calendar hero padding on small screens */
@media (max-width: 480px) {
    .calendar-hero {
        padding: 5rem 4% 3rem;
    }

    .calendar-hero-content h1 {
        font-size: 1.9rem;
    }

    .calendar-section {
        padding: 2.5rem 4%;
    }

    .add-event-section {
        padding: 3rem 4%;
    }

    .events-list-section {
        padding: 2.5rem 4% 4rem;
    }

    /* MOBILE FIX: year nav buttons stack on very small screens */
    .calendar-controls {
        gap: 0.8rem;
    }

    .year-nav-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
}/* ===================================
   Gallery Page Specific Styles
   =================================== */

.gallery-hero {
    position: relative;
    padding: 8rem 5% 6rem;
    background: transparent;
    text-align: center;
}

.gallery-hero-content h1 {
    font-family: 'Baloo 2', 'Fredoka', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: var(--hot-pink);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.gallery-hero-content p {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
    animation: fadeInUp 1s ease-out;
}

/* ===================================
   Photos Section
   =================================== */
.photos-section,
.videos-section {
    position: relative;
    padding: 6rem 5%;
    z-index: 10;
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.photo-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--mint), var(--soft-blue));
}

.photo-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 35px rgba(247, 77, 189, 0.25);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(247, 77, 189, 0.9), transparent);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.photo-item:hover .photo-overlay {
    transform: translateY(0);
}

.photo-overlay p {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

/* ===================================
   Videos Section
   =================================== */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.video-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
}

.video-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(247, 77, 189, 0.25);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, var(--mint), var(--soft-blue));
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(247, 77, 189, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    padding-left: 5px;
    transition: all 0.3s ease;
}

.video-item:hover .play-button {
    background: var(--hot-pink);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-item h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.4rem;
    color: var(--hot-pink);
    padding: 1.5rem 1.5rem 0.5rem;
    font-weight: 600;
}

.video-item p {
    color: var(--text-dark);
    padding: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===================================
   Lightbox Modal (Optional Enhancement)
   =================================== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    color: var(--white);
    cursor: pointer;
    background: rgba(247, 77, 189, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: var(--hot-pink);
    transform: rotate(90deg);
}

/* ===================================
   Responsive Design for Gallery
   =================================== */
@media (max-width: 968px) {
    .gallery-hero-content h1 {
        font-size: 3rem;
    }

    .gallery-hero-content p {
        font-size: 1.2rem;
    }

    .photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .gallery-hero-content h1 {
        font-size: 2.2rem;
    }

    .gallery-hero-content p {
        font-size: 1rem;
    }

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

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

    .video-item h3 {
        font-size: 1.2rem;
    }

    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}/* ===================================
   Team Page Specific Styles
   =================================== */

.team-hero {
    position: relative;
    padding: 8rem 5% 6rem;
    background: transparent;
    text-align: center;
}

.team-hero-content h1 {
    font-family: 'Baloo 2', 'Fredoka', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: var(--hot-pink);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.team-hero-content p {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
    animation: fadeInUp 1s ease-out;
}

/* ===================================
   Featured Team Members (Author-Style Spotlight)
   =================================== */
.team-section {
    position: relative;
    padding: 4rem 5%;
    z-index: 10;
}

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

.author-hero {
    position: relative;
    padding: 4rem 0;
    background: transparent;
    overflow: hidden;
    margin-bottom: 4rem;
}

.hero-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    /* MOBILE FIX: reduced gap so it doesn't overflow on tablets */
    gap: 3rem;
    align-items: center;
}

.author-hero.reverse .hero-content-wrapper {
    grid-template-columns: 1.2fr 1fr;
}

.author-hero.reverse .author-image-container {
    order: 2;
}

.author-hero.reverse .author-bio {
    order: 1;
}

.author-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.author-image {
    width: 100%;
    max-width: 350px;
    border-radius: 50%;
    box-shadow: 0 20px 60px rgba(247, 77, 189, 0.3);
    position: relative;
    z-index: 2;
    border: 8px solid var(--white);
}

.decorative-circle {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.circle-1 {
    width: 280px;
    height: 280px;
    background: var(--mint);
    opacity: 0.4;
    top: -30px;
    left: -30px;
    animation: float 6s ease-in-out infinite;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: var(--yellow);
    opacity: 0.3;
    bottom: -20px;
    right: -20px;
    animation: float 8s ease-in-out infinite reverse;
}

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

.author-bio h2 {
    font-family: 'Baloo 2', 'Fredoka', sans-serif;
    font-size: 3.5rem;
    color: var(--hot-pink);
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.author-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 2rem;
    opacity: 0.8;
    font-style: italic;
}

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

/* ===================================
   Additional Team Member (Single Card)
   =================================== */
.additional-team-member {
    margin-top: 6rem;
    display: flex;
    justify-content: center;
}

.team-member-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    max-width: 500px;
    width: 100%;
}

.team-member-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(247, 77, 189, 0.25);
}

.team-member-card .member-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--hot-pink);
    background: linear-gradient(135deg, var(--mint), var(--soft-blue));
}

.team-member-card .member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-card h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    color: var(--hot-pink);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-role {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    font-style: italic;
}

.member-bio {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* ===================================
   Video Section
   =================================== */
.video-section {
    position: relative;
    padding: 6rem 5%;
    z-index: 10;
}

.video-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.video-wrapper {
    margin-top: 3rem;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.05);
}

.story-video {
    width: 100%;
    max-height: 600px;
    display: block;
}

/* ===================================
   Mission & Vision Section
   =================================== */
.mission-vision {
    position: relative;
    padding: 6rem 5%;
    z-index: 10;
}

.mission-vision-container {
    max-width: 1200px;
    margin: 0 auto;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* MOBILE FIX: reduced from 400px to prevent overflow */
    gap: 3rem;
}

.mission-vision-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.mission-vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(247, 77, 189, 0.25);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.mission-vision-card h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    color: var(--hot-pink);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.mission-vision-card p {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    position: relative;
    padding: 6rem 5%;
    z-index: 10;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 4rem 3rem;
    border-radius: 40px;
    box-shadow: 0 15px 50px rgba(247, 77, 189, 0.15);
}

.cta-content h2 {
    font-family: 'Baloo 2', 'Fredoka', sans-serif;
    font-size: 3rem;
    color: var(--hot-pink);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.6;
}


/* ===================================
   Featured Team Members (Author-Style Spotlight)
   =================================== */
.author-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Circular Border for Main Photos */
.circular-border {
    /* MOBILE FIX: changed from fixed 380px to responsive max-width */
    width: min(380px, 80vw);
    height: min(380px, 80vw);
    border-radius: 50%;
    border: 10px solid var(--hot-pink);
    padding: 10px;
    background: var(--white);
    box-shadow: 0 20px 60px rgba(247, 77, 189, 0.3);
    position: relative;
    z-index: 2;
}

.author-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.decorative-circle {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.circle-1 {
    width: 280px;
    height: 280px;
    background: var(--mint);
    opacity: 0.4;
    top: -30px;
    left: -30px;
    animation: float 6s ease-in-out infinite;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: var(--yellow);
    opacity: 0.3;
    bottom: -20px;
    right: -20px;
    animation: float 8s ease-in-out infinite reverse;
}

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

/* ===================================
   Additional Team Members (Two Small Cards)
   =================================== */
.additional-team-members {
    margin-top: 6rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.team-member-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.team-member-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(247, 77, 189, 0.25);
}

.team-member-card .member-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--hot-pink);
    background: linear-gradient(135deg, var(--mint), var(--soft-blue));
}

.team-member-card .member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-card h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    color: var(--hot-pink);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-role {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.8;
    font-style: italic;
}

.member-bio {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive for small cards */
@media (max-width: 768px) {
    .additional-team-members {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .circular-border {
        width: 280px;
        height: 280px;
    }
}
/* ===================================
   Video Section
   =================================== */
.video-section {
    position: relative;
    padding: 6rem 5%;
    z-index: 10;
}

.video-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.video-wrapper {
    margin-top: 3rem;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.05);
}

.story-video {
    width: 100%;
    max-height: 600px;
    display: block;
}

/* ===================================
   Mission & Vision Section
   =================================== */
.mission-vision {
    position: relative;
    padding: 6rem 5%;
    z-index: 10;
}

.mission-vision-container {
    max-width: 1200px;
    margin: 0 auto;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* MOBILE FIX: reduced from 400px to prevent overflow */
    gap: 3rem;
}

.mission-vision-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.mission-vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(247, 77, 189, 0.25);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.mission-vision-card h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    color: var(--hot-pink);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.mission-vision-card p {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    position: relative;
    padding: 6rem 5%;
    z-index: 10;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 4rem 3rem;
    border-radius: 40px;
    box-shadow: 0 15px 50px rgba(247, 77, 189, 0.15);
}

.cta-content h2 {
    font-family: 'Baloo 2', 'Fredoka', sans-serif;
    font-size: 3rem;
    color: var(--hot-pink);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* ===================================
   Responsive Design for Team Page
   =================================== */
@media (max-width: 968px) {
    .team-hero-content h1 {
        font-size: 3rem;
    }

    .team-hero-content p {
        font-size: 1.2rem;
    }

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

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        padding: 3rem 2rem;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    /* MOBILE FIX: Stack author hero layout on tablets */
    .hero-content-wrapper,
    .author-hero.reverse .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    /* MOBILE FIX: Reset order overrides so image shows on top */
    .author-hero.reverse .author-image-container {
        order: unset;
    }

    .author-hero.reverse .author-bio {
        order: unset;
    }

    /* MOBILE FIX: Scale down decorative circles */
    .circle-1 {
        width: 200px;
        height: 200px;
    }

    .circle-2 {
        width: 140px;
        height: 140px;
    }

    /* MOBILE FIX: additional team members stack to single column */
    .additional-team-members {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* MOBILE FIX: author bio text size */
    .author-bio h2 {
        font-size: 2.5rem;
    }

    .author-bio p {
        font-size: 1.05rem;
    }

    /* MOBILE FIX: cta padding */
    .cta-section {
        padding: 4rem 4%;
    }
}

@media (max-width: 640px) {
    .team-hero-content h1 {
        font-size: 2.2rem;
    }

    .team-hero-content p {
        font-size: 1rem;
    }

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

    .member-image {
        width: 150px;
        height: 150px;
    }

    .member-info h3 {
        font-size: 1.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    /* MOBILE FIX: reduce author hero padding on small screens */
    .author-hero {
        padding: 2rem 0;
        margin-bottom: 2rem;
    }

    /* MOBILE FIX: scale down author bio heading */
    .author-bio h2 {
        font-size: 2rem;
    }

    .author-title {
        font-size: 1.2rem;
    }

    /* MOBILE FIX: reduce cta padding */
    .cta-content {
        padding: 2rem 1.5rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    /* MOBILE FIX: team member card padding */
    .team-member-card {
        padding: 1.5rem;
    }

    /* MOBILE FIX: mission-vision card padding */
    .mission-vision-card {
        padding: 2rem 1.5rem;
    }
}
/* ===================================
   Logo Placeholder
   Replace .logo-placeholder-box with
   your actual <img> tag when ready.
   =================================== */
.logo-placeholder-box {
    width: 110px;
    height: 110px;
    border: 2px dashed rgba(247, 77, 189, 0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(247, 77, 189, 0.5);
    background: rgba(247, 77, 189, 0.04);
    flex-shrink: 0;
}

@media (max-width: 1200px) {
    .logo-placeholder-box { width: 90px; height: 90px; }
}
@media (max-width: 480px) {
    .logo-placeholder-box { width: 65px; height: 65px; font-size: 0.65rem; }
}

/* ===================================
   Hero Logo Placeholder
   Sits above "The Little Turtle that
   got lost" in the hero section,
   matching the book cover layout.
   Replace .hero-logo-box with your
   <img> when ready.
   =================================== */
.hero-logo-placeholder {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.hero-logo-box {
    width: 360px;
    height: 360px;
    border: 3px dashed rgba(247, 77, 189, 0.45);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(247, 77, 189, 0.55);
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(4px);
}

.hero-logo-img {
    width: 360px;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .hero-logo-box,
    .hero-logo-img { width: 280px; height: 280px; }
}

@media (max-width: 480px) {
    .hero-logo-box,
    .hero-logo-img { width: 220px; height: 220px; font-size: 0.9rem; }
}

/* ===================================
   Author Initial Badge
   Replaces circular face photo
   =================================== */
.author-initial-badge {
    width: min(280px, 70vw);
    height: min(280px, 70vw);
    border-radius: 50%;
    border: 6px solid var(--hot-pink);
    background: linear-gradient(135deg, var(--mint), var(--soft-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(247, 77, 189, 0.25);
    margin: 0 auto;
}

/* Hide member-image wrapper entirely when empty */
.team-member-card .member-image:empty {
    display: none;
}

/* When no image — tighten top padding on card */
.team-member-card:not(:has(.member-image img)) {
    padding-top: 2rem;
}
