/* css/style.css */
/* SWEED Trust - "Engaging & Satisfying" Hybrid Version */
/* Aesthetics: Playfair Display + Glassmorphism + Springy Motion */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
    /* Brand Colors */
    --c-primary: #2E7D32;
    /* Institutional Green */
    --c-primary-dark: #1B5E20;
    /* Deep Forest Green */
    --c-secondary: #0D47A1;
    /* Trust Blue */
    --c-accent: #C8E6C9;
    /* Soft Green Highlight */

    /* UI Colors */
    --c-bg-light: #FAFAFA;
    --c-bg-white: #FFFFFF;
    --c-text-main: #212121;
    --c-text-muted: #616161;
    --c-border: #E0E0E0;

    /* Spacing & Effects */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    /* AS REQUESTED */
    --font-body: 'Inter', sans-serif;

    --radius-pill: 50px;
    --radius-card: 8px;
}

/* === BASE STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    /* Generous line height */
    color: var(--c-text-main);
    background-color: var(--c-bg-light);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--c-primary-dark);
    margin-bottom: 0.75rem;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 300;
    /* Lighter for elegance */
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* === HEADER (Glassmorphism) === */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    /* GLASS EFFECT */
    border-bottom: 1px solid rgba(46, 125, 50, 0.1);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    flex-direction: column;
}

.org-name {
    font-family: var(--font-heading);
    font-style: italic;
    /* Classy touch from previous version */
    font-size: 1.8rem;
    color: var(--c-primary-dark);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.org-reg {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.2rem;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--c-text-main);
    position: relative;
    padding: 5px 0;
}

/* Smooth Underline (Standard Clean) */
nav a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--c-primary);
    transition: width 0.3s ease;
}

nav a:not(.btn):hover::after,
nav a.active::after {
    width: 100%;
}

nav a:not(.btn):hover {
    color: var(--c-primary);
}

/* Donate Button */
nav a.btn {
    background: var(--c-secondary);
    color: white !important;
    border-radius: var(--radius-pill);
    padding: 0.8rem 2rem;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(13, 71, 161, 0.2);
    transition: all 0.3s ease;
}

nav a.btn:hover {
    background: #1565C0;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(13, 71, 161, 0.3);
}

/* === HERO SECTION (Subtle Green Gradient) === */
.hero {
    background: linear-gradient(135deg, #F1F8E9 0%, #E8F5E9 100%);
    padding: 8rem 0 6rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hero h1 {
    color: var(--c-primary-dark);
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--c-text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* === CARDS (The "Satisfying" Springy Effect) === */
.card,
.partner-card,
.contact-card {
    background: var(--c-bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-card);
    border: 1px solid var(--c-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* THE SECRET SAUCE */
}

.card:hover,
.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--c-primary);
}

/* Partner Card specific */
.partner-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Contact Specifics */
.contact-card {
    border-left: 5px solid var(--c-secondary);
}

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-text-muted);
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-value {
    font-size: 1.15rem;
    color: var(--c-text-main);
    display: block;
    margin-bottom: 2rem;
}

/* === LEGITIMACY BADGES === */
.badge {
    padding: 0.4rem 1rem;
    background: rgba(46, 125, 50, 0.1);
    color: var(--c-primary-dark);
    font-size: 0.8rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    margin-right: 0.8rem;
    border: 1px solid rgba(46, 125, 50, 0.2);
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* === LAYOUT UTILITIES === */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-pad {
    padding: 6rem 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

th,
td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background: #F5F5F5;
    font-weight: 600;
    color: var(--c-text-main);
}

tr:last-child td {
    border-bottom: none;
}

/* === DONATE PAGE ELEMENTS === */
.bank-detailsbox {
    background: #F8F9FA;
    border-left: 5px solid var(--c-primary);
    padding: 1.5rem;
    margin-top: 1rem;
    font-family: monospace;
    font-size: 1.05rem;
    color: #333;
}

.donate-method {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px dashed #ddd;
}

/* === FOOTER === */
footer {
    background: #1A1A1A;
    color: #E0E0E0;
    padding: 4rem 0 2rem;
    margin-top: auto;
    font-size: 0.95rem;
}

footer strong {
    color: white;
    display: block;
    margin-bottom: 0.5rem;
}

footer a {
    color: inherit;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}

.disclaimer {
    border-top: 1px solid #333;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: #9E9E9E;
}

/* === BLUR REVEAL ANIMATION (Legacy Support) === */
.blur-word {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(30px);
    display: inline-block;
    transition: opacity 0.8s, filter 0.8s, transform 0.8s;
    will-change: opacity, filter, transform;
}

.blur-word.visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}