/* Ile Alayo Foundation - Stylesheet */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #1a1a1a;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(255, 140, 0, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    padding: 2px;
}

.logo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.logo-text {
    color: #ff8c00;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ff8c00;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                radial-gradient(circle at center, #2c2c2c 0%, #1a1a1a 100%);
    color: white;
    text-align: center;
    padding: 150px 0 100px;
    margin-top: 70px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    overflow: hidden;
    border-right: 3px solid #ff8c00;
    white-space: nowrap;
    animation: typewriterLoop 6s infinite, blink 1s infinite;
    width: 100%;
}

@keyframes typewriterLoop {
    0% { width: 0; }
    20% { width: 100%; }
    50% { width: 100%; }
    70% { width: 0; }
    100% { width: 0; }
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: #ff8c00; }
}

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #ddd;
    font-style: italic;
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 2s forwards;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #ccc;
    font-weight: 400;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 2.5s forwards;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 3s forwards, pulse 2s infinite 4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
}

/* Section Styles */
.section {
    padding: 80px 0;
    background-color: #fff;
}

.section-alt {
    background-color: #f8f9fa;
}

.section-dark {
    background-color: #2c2c2c;
    color: white;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
    font-weight: 600;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section h2.animate {
    opacity: 1;
    transform: translateY(0);
}

.section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    margin: 20px auto 0;
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.8s ease 0.3s;
}

.section h2.animate::after {
    transform: scaleX(1);
}

.section-dark h2 {
    color: #ff8c00;
}

/* About Section */
/* Founder Section */
.founder-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(255, 165, 0, 0.1));
    border-radius: 20px;
    border: 2px solid #ff8c00;
}

.founder-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #ff8c00;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.4);
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-info h3 {
    color: #ff8c00;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.founder-title {
    color: #666;
    font-size: 1.2rem;
    font-weight: 500;
    font-style: italic;
}

/* Certificate Section */
.certificate-section {
    text-align: center;
    margin-top: 60px;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 20px;
}

.certificate-section h3 {
    color: #ff8c00;
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.certificate-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid #ff8c00;
}

.certificate-card img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.certificate-card p {
    color: #666;
    font-weight: 500;
    font-size: 1rem;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.about-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 5px solid #ff8c00;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-50px);
}

.about-card.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-card:nth-child(1) { transition-delay: 0.1s; }
.about-card:nth-child(2) { transition-delay: 0.2s; }
.about-card:nth-child(3) { transition-delay: 0.3s; }

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.15);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.2);
}

.about-card h3 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.about-card p {
    color: #666;
    line-height: 1.7;
    font-weight: 400;
}

.about-card strong {
    color: #ff8c00;
    font-weight: 600;
}

.about-visual {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.about-hero-card {
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 600px;
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.about-hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, -20px) rotate(180deg); }
}

.about-hero-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.about-hero-card p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
    font-weight: 400;
}

.card-stats {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 30px;
}

.mini-stat {
    text-align: center;
}

.mini-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.mini-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Programs Section */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.program-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border-top: 4px solid #ff8c00;
    opacity: 0;
    transform: translateY(30px);
}

.program-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.program-card:nth-child(1) { transition-delay: 0.1s; }
.program-card:nth-child(2) { transition-delay: 0.2s; }
.program-card:nth-child(3) { transition-delay: 0.3s; }
.program-card:nth-child(4) { transition-delay: 0.4s; }
.program-card:nth-child(5) { transition-delay: 0.5s; }
.program-card:nth-child(6) { transition-delay: 0.6s; }

.program-card:hover {
    transform: translateY(-5px);
}

.program-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: white;
}

.program-card h3 {
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.program-card p {
    font-weight: 400;
}

/* Testimonials */
/* Featured Newspaper */
.featured-testimonial {
    margin-bottom: 50px;
}

.newspaper-feature {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    background: #1a1a1a;
    padding: 40px;
    border-radius: 20px;
    border: 3px solid #ff8c00;
    align-items: center;
}

.newspaper-feature img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
}

.newspaper-content h3 {
    color: #ff8c00;
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.newspaper-content h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.newspaper-quote {
    color: #ddd;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.newspaper-details {
    display: flex;
    gap: 20px;
    align-items: center;
}

.publication {
    color: #ff8c00;
    font-weight: 600;
}

.date {
    color: #ccc;
    font-size: 0.9rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border-left: 4px solid #ff8c00;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #ddd;
    font-weight: 400;
}

.testimonial-author {
    font-weight: 600;
    color: #ff8c00;
}

/* Statistics */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
    margin: 50px 0;
}

.stat-item {
    padding: 20px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.stat-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.stat-item:nth-child(1) { transition-delay: 0.1s; }
.stat-item:nth-child(2) { transition-delay: 0.2s; }
.stat-item:nth-child(3) { transition-delay: 0.3s; }
.stat-item:nth-child(4) { transition-delay: 0.4s; }

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #ff8c00;
    display: block;
    position: relative;
}

.stat-number.counting::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,140,0,0.1), transparent 70%);
    animation: shimmer 2s ease-in-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.stat-label {
    font-size: 1.1rem;
    color: #ccc;
    margin-top: 10px;
    font-weight: 400;
}

/* Donation Section */
.donation-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.donation-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #ff8c00;
}

.donation-card h3 {
    color: #ff8c00;
    margin-bottom: 15px;
    font-weight: 600;
}

.donation-card p {
    font-weight: 400;
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    text-align: center;
    padding: 20px;
}

.contact-item h3 {
    font-weight: 600;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 20px;
}

/* Social Media Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    color: white;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.tiktok:hover {
    background: linear-gradient(45deg, #ff0050, #000);
}

.social-link.whatsapp:hover {
    background: #25D366;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 40px 0;
    border-top: 3px solid #ff8c00;
}

footer p {
    font-weight: 400;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ff8c00;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 100px;
    left: 20px;
    width: auto;
    background: transparent;
    z-index: 999;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu li {
    transform: translate(0, -120px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mobile-menu.active li {
    transform: translate(0, 0);
    opacity: 1;
}

.mobile-menu.active li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active li:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active li:nth-child(6) { transition-delay: 0.35s; }

.mobile-menu a {
    display: inline-block;
    padding: 10px 18px;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 3px 12px rgba(255, 140, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.mobile-menu a:hover::before {
    left: 100%;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    transform: translateX(10px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #ffa500, #ff8c00);
}

.mobile-menu a.active {
    background: linear-gradient(135deg, #ff6600, #ff8c00);
    box-shadow: 0 6px 25px rgba(255, 140, 0, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 2.2rem;
        animation: typewriterLoop 5s infinite, blink 1s infinite;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .founder-section {
        flex-direction: column;
        text-align: center;
        padding: 30px;
        margin-bottom: 40px;
        gap: 20px;
    }

    .founder-image {
        width: 150px;
        height: 150px;
        border: 4px solid #ff8c00;
    }

    .founder-info h3 {
        font-size: 1.5rem;
    }

    .founder-title {
        font-size: 1rem;
    }

    .newspaper-feature {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 25px;
    }

    .certificate-section {
        padding: 30px 15px;
        margin-top: 40px;
    }

    .certificate-card {
        padding: 15px;
    }

    .about-cards {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 40px;
    }

    .about-card {
        padding: 25px;
    }

    .about-hero-card {
        padding: 30px 25px;
        margin: 0 15px;
    }

    .card-stats {
        flex-direction: column;
        gap: 15px;
    }

    .mini-stat {
        padding: 10px;
        background: rgba(255,255,255,0.1);
        border-radius: 10px;
    }

    .section {
        padding: 60px 0;
    }

    .section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .programs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .donation-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-image {
        width: 40px;
        height: 40px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 1.8rem;
        animation: typewriterLoop 4s infinite, blink 1s infinite;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .section h2 {
        font-size: 1.7rem;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .founder-image {
        width: 120px;
        height: 120px;
        border: 3px solid #ff8c00;
    }

    .founder-info h3 {
        font-size: 1.3rem;
    }

    .founder-title {
        font-size: 0.9rem;
    }

    .newspaper-feature {
        padding: 20px;
    }

    .newspaper-content h3 {
        font-size: 1.2rem;
    }

    .newspaper-content h4 {
        font-size: 1rem;
    }

    .newspaper-quote {
        font-size: 1rem;
    }

    .newspaper-details {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .certificate-section h3 {
        font-size: 1.5rem;
    }

    .program-card, .testimonial, .donation-card, .about-card {
        padding: 20px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .logo-image {
        width: 35px;
        height: 35px;
    }

    .social-links {
        gap: 10px;
    }

    .social-link {
        width: 35px;
        height: 35px;
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }
}