/* 
   1, 2, 3 GO! POINTE DE L'ILE - Premium Design System 
   Theme: Playful, Child-friendly, Professional
   Colors: Soft Blue, Sunshine Yellow, Gentle Green
*/

:root {
    /* Color Palette */
    --primary-blue: #4A90E2;
    --soft-blue: #EDF5FC;
    --accent-yellow: #FFD166;
    --soft-yellow: #FFF9E6;
    --fresh-green: #06D6A0;
    --soft-green: #E6FBF5;
    --text-dark: #2D3436;
    --text-light: #636E72;
    --white: #FFFFFF;
    --off-white: #F9F9F9;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-heading: 'Nunito', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Spacing & Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-md);
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(74, 144, 226, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(74, 144, 226, 0.4);
    background-color: #357ABD;
}

.btn-secondary {
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    box-shadow: 0 4px 10px rgba(255, 209, 102, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 209, 102, 0.4);
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: 80px 0;
}

.bg-soft-blue {
    background-color: var(--soft-blue);
}

.bg-white {
    background-color: var(--white);
}

/* ============================================
   PREMIUM NPO HEADER - Inspired by UNICEF/Red Cross
   ============================================ */

/* Top Utility Bar */
.top-bar {
    background: linear-gradient(135deg, var(--text-dark) 0%, #1a252f 100%);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-bar-left a,
.top-bar-left span {
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
}

.top-bar-left a:hover {
    color: var(--accent-yellow);
}

.top-bar-left i {
    color: var(--accent-yellow);
    font-size: 0.9rem;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.registry-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.registry-badge i {
    color: var(--fresh-green);
    margin-right: 5px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    transition: all 0.3s;
}

.social-links a:hover {
    color: var(--accent-yellow);
    transform: translateY(-2px);
}

/* Main Header */
.main-header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--fresh-green));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .org-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.logo-text .org-name span {
    color: var(--primary-blue);
}

.logo-text .org-tagline {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 10px 16px;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s;
}

.nav-links li a:hover {
    background-color: var(--soft-blue);
    color: var(--primary-blue);
}

.nav-links li a.active {
    background-color: var(--primary-blue);
    color: var(--white);
}

.nav-links li a.active:hover {
    background-color: #3a7bc8;
}

/* Header CTA Button */
.header-cta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-donate {
    background: linear-gradient(135deg, var(--fresh-green), #05b88a);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(6, 214, 160, 0.3);
    transition: all 0.3s;
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 214, 160, 0.4);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s;
}

.mobile-menu-btn:hover {
    background: var(--soft-blue);
}

/* ============================================
   PREMIUM NPO FOOTER - Multi-column Mega Footer
   ============================================ */

footer {
    background: linear-gradient(180deg, var(--text-dark) 0%, #1a252f 100%);
    color: var(--white);
    padding: 0;
}

/* Footer Top - Newsletter */
.footer-newsletter {
    background: linear-gradient(135deg, var(--primary-blue), #3a7bc8);
    padding: 40px 0;
    text-align: center;
}

.footer-newsletter h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 14px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}

.newsletter-form button {
    background: var(--accent-yellow);
    color: var(--text-dark);
    padding: 14px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background: #e6bc5d;
    transform: translateY(-2px);
}

/* Footer Main */
.footer-main {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-about .footer-logo-large {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-about .footer-logo-large .logo-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
}

.footer-about .footer-logo-large h2 {
    color: var(--white);
    font-size: 1.4rem;
    margin: 0;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-column h4 {
    color: var(--accent-yellow);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-yellow);
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-column ul li a i {
    font-size: 0.8rem;
    color: var(--accent-yellow);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact-item i {
    color: var(--accent-yellow);
    font-size: 1rem;
    margin-top: 4px;
}

.footer-contact-item p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.footer-contact-item a:hover {
    color: var(--accent-yellow);
}

/* Footer Bottom - Legal */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-legal .copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
    padding: 0;
    border: none;
    text-align: left;
}

.footer-legal .registry-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-legal .registry-info i {
    color: var(--fresh-green);
}

.footer-links-bottom {
    display: flex;
    gap: 25px;
}

.footer-links-bottom a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links-bottom a:hover {
    color: var(--white);
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--soft-blue) 0%, var(--soft-green) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-text h1 span {
    color: var(--primary-blue);
    position: relative;
    z-index: 1;
}

.hero-text h1 span::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 15px;
    background-color: var(--accent-yellow);
    opacity: 0.4;
    z-index: -1;
    border-radius: 4px;
    transform: rotate(-1deg);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: rotate(0deg) scale(1.02);
}

/* Features/Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 4px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--accent-yellow);
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.card p {
    color: var(--text-light);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    background: var(--soft-blue);
    padding: 15px;
    border-radius: 50%;
    color: var(--primary-blue);
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-logo h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--accent-yellow);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
}

.footer-links ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 0.9rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: var(--radius-sm);
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    /* Top Bar Mobile */
    .top-bar {
        display: none;
    }

    /* Main Header Mobile */
    .header-content {
        padding: 12px 0;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .logo-text .org-name {
        font-size: 1rem;
    }

    .logo-text .org-tagline {
        display: none;
    }

    .main-nav {
        gap: 15px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px;
        box-shadow: var(--shadow-md);
        text-align: center;
        gap: 5px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        display: block;
        padding: 12px 20px;
    }

    .header-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        margin: 0 auto 30px;
    }

    /* Footer Mobile */
    .footer-newsletter h3 {
        font-size: 1.4rem;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-form input {
        width: 100%;
    }

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

    .footer-about {
        text-align: center;
    }

    .footer-about .footer-logo-large {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-column {
        text-align: center;
    }

    .footer-column ul li a {
        justify-content: center;
    }

    .footer-contact-item {
        justify-content: center;
        text-align: left;
    }

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

    .footer-legal {
        align-items: center;
    }

    .footer-links-bottom {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.6rem;
    }

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