@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Nunito+Sans:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    font-family: "Nunito Sans", sans-serif;
    --color-primary: #00B2EE;
    --header-color: #170C68;
    --card-color: #2B579E;
}

/* ===== GLOBAL RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    overflow-x: hidden;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    margin: 3rem 0;
    padding: 0 1.5rem;
}

/* Gradient heading bar */
.about-header {
    background: linear-gradient(135deg, var(--header-color), var(--color-primary));
    padding: 2rem 1rem;
    text-align: center;
    border-radius: 12px 12px 0 0;
    color: #fff;
    margin-top: 82px;
}

.about-header h2 {
    font-size: 2rem;
    margin-top:50px;
}

/* About Cards */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    padding: 0.5rem;
}

.about-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,178,238,0.1);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
}

.about-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,178,238,0.15);
    border-color: rgba(0,178,238,0.3);
}

.about-card h3 {
    margin-bottom: 1rem;
    color: var(--header-color);
}

.about-card p {
    font-size: 1rem;
    text-align: center;
    color: #444;
    line-height: 1.6;
    max-width: 90%;
}

/* ===== OUR STORY ===== */
.our-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 4rem 3rem;
}

.story-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.story-text h2 {
    font-size: 2rem;
    color: var(--header-color);
    margin-bottom: 1rem;
}

.story-text p {
    font-size: 1rem;
    color: #000;
    line-height: 1.7;
}

/* ===== LEADERSHIP QUOTES ===== */
.leadership-quotes {
    padding: 2rem;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quotes-header {
    text-align: center;
    margin-bottom: 3rem;
}

.quotes-header h2 {
    font-size: 2.2rem;
    color: var(--header-color);
}

.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.quote-card {
    padding: 2.5rem;
    height: 400px;
    text-align: center;
    font-style: italic;
    background: linear-gradient(var(--color-primary), var(--header-color));
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08), 0 6px 20px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.quote-card:hover {
    transform: translateY(-6px);
}

.quote-card p,
.quote-card span {
    color: #fff;
    position: relative;
    z-index: 2;
}

.quote-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.quote-card:hover::before {
    opacity: 1;
}

.card1::before { background-image: url("images/ralph-nader.webp"); }
.card2::before { background-image: url("images/steve.webp"); }
.card3::before { background-image: url("images/john.jpg"); }
.card4::before { background-image: url("images/simon.webp"); }

/* ===== SOCIAL IMPACT ===== */
.social-impact {
    min-height: 100vh;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--color-primary), var(--header-color));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.social-impact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.15)"><animate attributeName="cy" values="20;80;20" dur="6s" repeatCount="indefinite"/></circle><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.15)"><animate attributeName="cx" values="80;10;80" dur="7s" repeatCount="indefinite"/></circle><circle cx="40" cy="80" r="2.5" fill="rgba(255,255,255,0.15)"><animate attributeName="cy" values="80;20;80" dur="5s" repeatCount="indefinite"/></circle><circle cx="60" cy="10" r="1" fill="rgba(255,255,255,0.1)"><animate attributeName="cx" values="60;90;60" dur="8s" repeatCount="indefinite"/></circle><circle cx="10" cy="60" r="2.2" fill="rgba(255,255,255,0.12)"><animate attributeName="cy" values="60;30;60" dur="7s" repeatCount="indefinite"/></circle></svg>');
    animation: floatBackground 20s linear infinite;
    z-index: 0;
}

.social-impact::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05), transparent 70%);
    animation: rotateBackground 60s linear infinite;
    z-index: 0;
}

@keyframes floatBackground {
    0% { transform: translate(0,0) rotate(0deg); }
    50% { transform: translate(15px,-20px) rotate(180deg); }
    100% { transform: translate(0,0) rotate(360deg); }
}

@keyframes rotateBackground {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.05); }
    100% { transform: rotate(360deg) scale(1); }
}

.impact-header {
    margin-bottom: 3rem;
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.impact-header h2 {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.6);
}

.impact-header p {
    font-size: 1.2rem;
    color: #f1f1f1;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.impact-item {
    background: rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-radius: 20px;
    transition: all 0.5s ease;
    transform: rotate(0deg);
    animation: floatItem 6s ease-in-out infinite;
}

.impact-item:nth-child(2) { animation-delay: -1.5s; }
.impact-item:nth-child(3) { animation-delay: -3s; }
.impact-item:nth-child(4) { animation-delay: -4.5s; }

.impact-item:hover {
    transform: scale(1.05) rotate(5deg);
    background: rgba(255,255,255,0.15);
}

@keyframes floatItem {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(-2deg); }
    50% { transform: translateY(6px) rotate(3deg); }
    75% { transform: translateY(-4px) rotate(-1deg); }
}

.impact-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
    text-shadow: 0 0 8px rgba(0,0,0,0.5);
}

.impact-item p {
    font-size: 1rem;
    color: #e0e0e0;
    margin: 0;
    text-shadow: 0 0 5px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .social-impact {
        min-height: 80vh;
        padding: 2rem 1rem;
    }

    .impact-header h2 { font-size: 2rem; }
    .impact-header p { font-size: 1rem; }
    .impact-stats { gap: 1rem; }
    .impact-item h3 { font-size: 2rem; }
    .impact-item p { font-size: 0.95rem; }
    .impact-item { transform: rotate(-5deg) scale(1.05); }
}

@media (max-width: 480px) {
    .social-impact {
        min-height: 70vh;
        padding: 1.5rem;
    }

    .impact-header h2 { font-size: 1.6rem; }
    .impact-header p { font-size: 0.9rem; }
    .impact-item h3 { font-size: 1.5rem; }
    .impact-item p { font-size: 0.85rem; }
    .impact-item { transform: rotate(-8deg) scale(1.1); }
}


/* ===== MEDIA KIT ===== */
.media-kit {
    padding: 4rem 2rem;
    background: #f9f9f9;
    text-align: center;
}

.media-header h2 {
    font-size: 2.2rem;
    color: var(--header-color);
    margin-bottom: 0.5rem;
}

.media-header p {
    font-size: 1.1rem;
    color: #555;
    padding: 2rem 2rem 1rem 2rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.media-downloads {
    display: flex;
    justify-content: center;
}

.media-btn {
    background: var(--header-color);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.media-btn:hover {
    background: var(--color-primary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .about-header h2 { font-size: 1.6rem; }
    .about-card { padding: 1.5rem; min-height: 180px; }
    .our-story { 
        grid-template-columns: 1fr; 
        grid-template-rows: auto auto; 
        text-align: center; 
        padding: 2rem 1rem;
    }
    .story-text { order: -1; }
    .story-text h2 { font-size: 1.6rem; }
    .story-text p { font-size: 0.95rem; }
    .story-image img { margin-top: 1rem; }
    .quotes-header h2 { font-size: 1.8rem; }
    .quote-card { padding: 2rem; height: auto; }
    .media-header h2 { font-size: 1.8rem; }
    .media-header p { font-size: 1rem; padding: 1rem; }
    .media-btn { width: 100%; max-width: 320px; padding: 1rem; font-size: 1rem; }
}
