/* ========================================
   Breaking the Cycle - PCOS Awareness
   Color Palette:
   - Teal:       #4A9B9B
   - Dark Teal:  #2D7A7A
   - Pink:       #F48FB1
   - Light Pink: #FCE4EC
   - Light Blue: #E0F2F1
   - White:      #FFFFFF
   - Dark Text:  #2C3E50
   ======================================== */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #2C3E50;
    line-height: 1.6;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2C3E50;
    border-radius: 8px;
    transition: color 0.3s ease, background 0.3s ease;
}

.nav-link:hover {
    color: #4A9B9B;
    background: #E0F2F1;
}

.nav-link.donate-btn {
    background: #F48FB1;
    color: #FFFFFF;
    font-weight: 600;
    border-radius: 25px;
    padding: 8px 24px;
}

.nav-link.donate-btn:hover {
    background: #EC407A;
    color: #FFFFFF;
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #2C3E50;
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #E0F2F1 0%, #FCE4EC 50%, #E0F2F1 100%);
    padding: 100px 24px 60px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(74, 155, 155, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(244, 143, 177, 0.08) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-logo {
    width: 180px;
    height: auto;
    margin-bottom: 24px;
    animation: fadeInDown 1s ease;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: #2D7A7A;
    margin-bottom: 16px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-tagline {
    font-size: 1.2rem;
    color: #555;
    font-weight: 300;
    margin-bottom: 32px;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #4A9B9B;
    color: #FFFFFF;
}

.btn-primary:hover {
    background: #2D7A7A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 155, 155, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #4A9B9B;
    border: 2px solid #4A9B9B;
}

.btn-secondary:hover {
    background: #4A9B9B;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 155, 155, 0.3);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ========================================
   Sections (General)
   ======================================== */
.section {
    padding: 80px 24px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-alt {
    background: #F8FDFD;
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #2D7A7A;
    text-align: center;
    margin-bottom: 12px;
}

.section-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #4A9B9B, #F48FB1);
    margin: 0 auto 40px;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: #666;
    max-width: 650px;
    margin: -20px auto 40px;
    line-height: 1.7;
}

/* ========================================
   About Us
   ======================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-text p {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-image img {
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    object-fit: cover;
}

/* ========================================
   PCOS Facts
   ======================================== */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.fact-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.fact-icon {
    font-size: 2rem;
    color: #4A9B9B;
    margin-bottom: 16px;
}

.fact-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #2D7A7A;
    margin-bottom: 8px;
}

.fact-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* ========================================
   Impact Section
   ======================================== */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.impact-card {
    text-align: center;
    padding: 40px 24px;
    background: linear-gradient(135deg, #E0F2F1, #FCE4EC);
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-4px);
}

.impact-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #2D7A7A;
    margin-bottom: 12px;
}

.impact-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* ========================================
   Team Section
   ======================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.team-photo-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E0F2F1, #FCE4EC);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 2.5rem;
    color: #4A9B9B;
}

.team-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2D7A7A;
    margin-bottom: 4px;
}

.team-role {
    display: block;
    font-size: 0.85rem;
    color: #F48FB1;
    font-weight: 500;
    margin-bottom: 12px;
}

.team-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* ========================================
   Podcast Section
   ======================================== */
.podcast-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.podcast-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.podcast-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.podcast-card iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: none;
}

/* ========================================
   Events Section
   ======================================== */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 750px;
    margin: 0 auto;
}

.event-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 28px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateX(6px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.event-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #E0F2F1, #FCE4EC);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #4A9B9B;
}

.event-info h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2D7A7A;
    margin-bottom: 6px;
}

.event-info p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* ========================================
   Donate Section
   ======================================== */
.donate-section {
    background: linear-gradient(135deg, #E0F2F1 0%, #FCE4EC 100%);
    text-align: center;
}

.donate-text {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: -20px auto 36px;
    line-height: 1.8;
}

.donate-options {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: #2D7A7A;
    color: #FFFFFF;
    padding: 60px 24px 0;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 12px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links a,
.footer-contact a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #FCE4EC;
}

.footer-contact a i {
    margin-right: 8px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Mobile Nav */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 74px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 16px 24px;
        gap: 4px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-link {
        padding: 12px 16px;
        width: 100%;
        text-align: center;
    }

    /* Hero */
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-logo {
        width: 140px;
    }

    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-image {
        order: -1;
    }

    /* Facts */
    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* Impact */
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Team */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* Podcast */
    .podcast-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Events */
    .event-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Section spacing */
    .section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .facts-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .donate-options {
        flex-direction: column;
        align-items: center;
    }
}
