/* ============================================
   I BELIEVE FOUNDATION - Elegant Serif Theme
   Black, White & Soft Typography
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Lora:wght@400;500;600&display=swap');

:root {
    --primary-black: #0a0a0a;
    --deep-black: #000000;
    --soft-black: #1a1a1a;
    --pure-white: #ffffff;
    --off-white: #f8f8f8;
    --light-gray: #e5e5e5;
    --mid-gray: #888888;
    --dark-gray: #333333;
    --accent-silver: #c0c0c0;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Lora', Georgia, 'Times New Roman', serif;
    background-color: var(--pure-white);
    color: var(--primary-black);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.logo-text, .section-title, .section-tag,
.btn, .nav-links a, .stat-item h4,
.program-card h3, .gallery-overlay h4,
.scholarship-badge h4, .footer-column h4 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
    padding: 0.8rem 5%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--pure-white);
    transition: var(--transition-smooth);
}

.navbar.scrolled .logo {
    color: var(--primary-black);
}

.logo-img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition-smooth);
}

.navbar.scrolled .logo-img {
    filter: brightness(0);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.logo-text span {
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--pure-white);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-smooth);
    font-family: 'Playfair Display', Georgia, serif;
}

.navbar.scrolled .nav-links a {
    color: var(--primary-black);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-black);
    transition: width 0.3s ease;
}

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

.nav-links a:hover {
    opacity: 0.7;
}

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

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--pure-white);
    transition: var(--transition-smooth);
}

.navbar.scrolled .hamburger span {
    background: var(--primary-black);
}

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

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

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--deep-black);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 2rem;
    max-width: 900px;
}

.hero-logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto 2rem;
    animation: fadeInDown 1s ease-out;
    border-radius: 0;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    color: var(--pure-white);
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    font-family: 'Playfair Display', Georgia, serif;
}

.hero h1 strong {
    font-weight: 700;
    display: block;
    letter-spacing: 12px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--accent-silver);
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.4s both;
    font-family: 'Playfair Display', Georgia, serif;
}

.hero-cta {
    display: inline-flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease-out 0.6s both;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 2px solid transparent;
    font-family: 'Playfair Display', Georgia, serif;
}

.btn-primary {
    background: var(--pure-white);
    color: var(--primary-black);
    border-color: var(--pure-white);
}

.btn-primary:hover {
    background: transparent;
    color: var(--pure-white);
}

.btn-outline {
    background: transparent;
    color: var(--pure-white);
    border-color: rgba(255, 255, 255, 0.5);
}

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

.btn-dark {
    background: var(--primary-black);
    color: var(--pure-white);
    border-color: var(--primary-black);
}

.btn-dark:hover {
    background: transparent;
    color: var(--primary-black);
}

.btn-light-outline {
    background: transparent;
    color: var(--primary-black);
    border-color: var(--primary-black);
}

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    stroke: var(--pure-white);
    stroke-width: 1;
    fill: none;
}

/* ============================================
   SECTIONS GENERAL
   ============================================ */
.section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-dark {
    background: var(--soft-black);
    color: var(--pure-white);
}

.section-light {
    background: var(--off-white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--mid-gray);
    margin-bottom: 1rem;
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
}

.section-dark .section-tag {
    color: var(--accent-silver);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: 'Playfair Display', Georgia, serif;
}

.section-title strong {
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--mid-gray);
    font-weight: 400;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Lora', Georgia, serif;
}

.section-dark .section-subtitle {
    color: var(--light-gray);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition-smooth);
}

.about-image:hover img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 1px solid var(--primary-black);
    z-index: -1;
    transition: var(--transition-smooth);
}

.about-image:hover::after {
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
}

.about-content h3 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    font-family: 'Playfair Display', Georgia, serif;
}

.about-content p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    font-family: 'Lora', Georgia, serif;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--light-gray);
}

.stat-item h4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', Georgia, serif;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--mid-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Playfair Display', Georgia, serif;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    background: var(--light-gray);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    transform: translateY(100%);
    transition: var(--transition-smooth);
}

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

.gallery-overlay h4 {
    color: var(--pure-white);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Playfair Display', Georgia, serif;
}

/* ============================================
   ANGELS / PROGRAMS SECTION
   ============================================ */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.program-card {
    background: var(--pure-white);
    padding: 3rem;
    border: 1px solid var(--light-gray);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-black);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.program-card:hover::before {
    transform: scaleX(1);
}

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

.program-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.program-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Playfair Display', Georgia, serif;
}

.program-card p {
    color: var(--mid-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-family: 'Lora', Georgia, serif;
}

.program-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--primary-black);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: gap 0.3s ease;
    font-family: 'Playfair Display', Georgia, serif;
}

.program-link:hover {
    gap: 1rem;
}

/* ============================================
   SCHOLARSHIPS SECTION
   ============================================ */
.scholarship-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.scholarship-content h3 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    font-family: 'Playfair Display', Georgia, serif;
}

.scholarship-content p {
    color: var(--dark-gray);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.8;
    font-family: 'Lora', Georgia, serif;
}

.scholarship-list {
    list-style: none;
    margin-bottom: 2rem;
}

.scholarship-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    font-family: 'Lora', Georgia, serif;
}

.scholarship-list li::before {
    content: 'º6';
    color: var(--primary-black);
    font-weight: bold;
}

.scholarship-image {
    position: relative;
}

.scholarship-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    filter: grayscale(100%);
}

.scholarship-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--primary-black);
    color: var(--pure-white);
    padding: 2rem;
    max-width: 250px;
}

.scholarship-badge h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    font-family: 'Playfair Display', Georgia, serif;
}

.scholarship-badge p {
    font-size: 0.9rem;
    opacity: 0.8;
    color: var(--pure-white);
    font-family: 'Lora', Georgia, serif;
}

/* ============================================
   ANGELS NAMES SECTION
   ============================================ */
.angels-names {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.angels-names p {
    font-size: 1.1rem;
    line-height: 2.2;
    color: var(--dark-gray);
    font-family: 'Lora', Georgia, serif;
}

.angels-divider {
    max-width: 800px;
    margin: 3rem auto 0;
    padding-top: 3rem;
    border-top: 1px solid var(--light-gray);
}

/* ============================================
   501C3 BANNER
   ============================================ */
.org-banner {
    text-align: center;
    padding: 4rem 2rem;
}

.org-banner p {
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-silver);
    margin-bottom: 1.5rem;
    line-height: 2;
    font-family: 'Playfair Display', Georgia, serif;
}

.org-banner h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 400;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--pure-white);
    font-family: 'Playfair Display', Georgia, serif;
}

.org-banner h2 strong {
    font-weight: 700;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--deep-black);
    color: var(--pure-white);
    padding: 4rem 5% 2rem;
}

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

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

.footer-brand img {
    height: 60px;
    filter: brightness(0) invert(1);
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--mid-gray);
    line-height: 1.8;
    font-size: 0.95rem;
    font-family: 'Lora', Georgia, serif;
}

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--pure-white);
    font-family: 'Playfair Display', Georgia, serif;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column ul li a {
    color: var(--mid-gray);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    font-family: 'Lora', Georgia, serif;
}

.footer-column ul li a:hover {
    color: var(--pure-white);
}

.footer-bottom {
    border-top: 1px solid var(--dark-gray);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--mid-gray);
    font-size: 0.85rem;
    font-family: 'Lora', Georgia, serif;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--mid-gray);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--pure-white);
}

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .about-grid,
    .scholarship-showcase {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image img,
    .scholarship-image img {
        height: 400px;
    }

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

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--pure-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--primary-black) !important;
        font-size: 1rem;
    }

    .hero h1 {
        letter-spacing: 4px;
    }

    .hero h1 strong {
        letter-spacing: 6px;
    }

    .stats-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .section {
        padding: 4rem 5%;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

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

    .scholarship-badge {
        position: relative;
        bottom: 0;
        left: 0;
        max-width: 100%;
    }

    .hero-logo video,
    video.hero-logo {
        max-width: 280px;
    }
}

/* Video sizing */
.hero-logo video,
video.hero-logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto 2rem;
    animation: fadeInDown 1s ease-out;
    border-radius: 0;
}
