/* =========================================
   1. VARIABLES & THEME
   ========================================= */
:root {
    /* Brand Colors */
    --primary: #2BD9FE;       /* Cyan (Main Brand) */
    --accent: #34E5FF;        /* Lighter Cyan (Hover) */
    
    /* Action Colors */
    --donate-color: #FFD700;  /* Gold (for Donate Button) */
    --donate-hover: #FFC107;  /* Darker Gold (Hover) */
    
    /* Backgrounds */
    --bg-cream: #FDFDF5;      /* Dull White */
    --bg-blue: #E0F7FA;       /* Light Blue */
    --bg-white: #ffffff;      
    
    /* Text & Borders */
    --text-dark: #222222;
    --text-light: #555555;
    --border: #dddddd;
    --shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* =========================================
   2. GLOBAL RESET & TYPOGRAPHY
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Noto Sans Oriya', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    
    /* Global Gradient: Dull White to Light Blue */
    background: linear-gradient(to bottom, var(--bg-cream), var(--bg-blue));
    background-attachment: fixed; /* Keeps gradient fixed while scrolling */
    min-height: 100vh;
}

/* Language Toggles */
body.lang-en .od { display: none !important; }
body.lang-od .en { display: none !important; }

/* =========================================
   3. FLOATING LANGUAGE BUTTON (TOP RIGHT)
   ========================================= */
.lang-btn {
    position: fixed;
    top: 100px; /* Below the sticky header (approx 80px + gap) */
    right: 20px;
    background: #222;
    color: #fff;
    padding: 8px 15px;
    border-radius: 50px;
    border: 2px solid #444;
    cursor: pointer;
    z-index: 2000;
    font-weight: bold;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: #000;
    border-color: var(--primary);
    transform: translateY(2px);
}

/* =========================================
   4. BUTTONS (Global Styles)
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin: 5px;
}

/* Standard Primary Button (Cyan) */
.btn.primary {
    background-color: var(--primary);
    color: #000;
}

.btn.primary:hover {
    background-color: var(--accent);
    box-shadow: 0 5px 15px rgba(43, 217, 254, 0.4); /* Glow effect */
}

/* Secondary Button (Transparent with Border) */
.btn.secondary {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--text-dark);
}

.btn.secondary:hover {
    background-color: var(--primary);
    color: #000;
}

.full-width { width: 100%; margin-top: 10px; }

/* =========================================
   5. HEADER & NAVIGATION
   ========================================= */
header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 10px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Logo Styling */
.logo-img {
    height: 55px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}
.logo-img:hover { transform: scale(1.05); }

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s;
    font-size: 0.95rem;
}

/* Standard Link Hover */
.nav-links a:not(.btn-nav):not(.donate-btn):hover, 
.nav-links a.active {
    color: var(--primary);
}

/* --- NAV BAR BUTTONS --- */

/* 1. Join Us Button (Cyan) */
.nav-links .btn-nav {
    padding: 10px 25px;
    background-color: var(--primary);
    color: #000 !important;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.nav-links .btn-nav:hover {
    background-color: #00bfff;
    transform: translateY(-2px);
}

/* 2. Donate Button (Gold) */
.nav-links .donate-btn {
    padding: 10px 25px;
    background-color: var(--donate-color);
    color: #000 !important;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.nav-links .donate-btn:hover {
    background-color: var(--donate-hover);
    transform: translateY(-2px);
}

/* =========================================
   6. HERO SECTION (Enlarge on Hover)
   ========================================= */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    font-weight: 800;
}

.hero-slogan {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    font-weight: 500;
}

/* Hero Buttons Scale on Hover */
.hero-buttons .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    margin: 10px;
    border-radius: 50px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s; 
}
.hero-buttons .btn:hover { transform: scale(1.15); }

.hero-buttons .btn.secondary {
    border: 2px solid #fff;
    color: #fff;
}
.hero-buttons .btn.secondary:hover {
    background-color: #fff;
    color: #000;
}

/* =========================================
   7. SECTIONS & LAYOUT UTILITIES
   ========================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
}
.section-title::after {
    content: ''; display: block; width: 80px; height: 4px;
    background: var(--primary); margin: 15px auto 0; border-radius: 2px;
}

.bg-light { background-color: rgba(255, 255, 255, 0.8); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

/* General Card Styling */
.card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--primary);
    transition: transform 0.3s;
}
.card:hover { transform: translateY(-5px); }

/* Updates Badge */
.badge-new {
    background: #ff0000;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: bold;
}

/* =========================================
   8. CAMPAIGNS STYLES
   ========================================= */
.campaign-card {
    padding: 0 !important;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.campaign-img {
    position: relative;
    height: 220px;
    width: 100%;
    overflow: hidden;
}
.campaign-img img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.campaign-card:hover .campaign-img img { transform: scale(1.1); }

/* Status Badges */
.status-badge {
    position: absolute; top: 15px; right: 15px; padding: 5px 12px;
    border-radius: 20px; font-size: 0.75rem; font-weight: 700;
    color: #fff; text-transform: uppercase; z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.status-badge.live { background: #ff0000; animation: pulse 2s infinite; }
.status-badge.completed { background: #28a745; }
.status-badge.upcoming { background: #ffc107; color: #000; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255,0,0,0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255,0,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,0,0,0); }
}

.campaign-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.campaign-content .date { font-size: 0.85rem; color: #888; margin-bottom: 15px; font-weight: 600; }

/* =========================================
   9. NEWS STYLES
   ========================================= */
.news-card { display: flex; gap: 20px; padding: 25px; align-items: flex-start; }
.news-date {
    background: #f8f9fa; padding: 10px 5px; border-radius: 8px;
    text-align: center; min-width: 70px; border: 1px solid #e9ecef;
}
.news-date .day { display: block; font-size: 1.8rem; font-weight: 800; color: var(--primary); line-height: 1; }
.news-date .month { display: block; font-size: 0.85rem; text-transform: uppercase; color: #6c757d; font-weight: 600; }
.news-content { flex: 1; }
.news-content .category { font-size: 0.75rem; text-transform: uppercase; color: #999; letter-spacing: 1.5px; font-weight: 700; }
.news-content h3 { margin: 5px 0 10px 0; font-size: 1.15rem; font-weight: 700; }
.read-more { font-size: 0.9rem; color: var(--primary); font-weight: 700; text-decoration: none; }
.read-more:hover { text-decoration: underline; }

/* =========================================
   10. FORMS
   ========================================= */
input, select {
    width: 100%; padding: 12px; margin-bottom: 15px;
    border: 1px solid var(--border); border-radius: 5px; font-size: 1rem;
}
input:focus, select:focus { border-color: var(--primary); outline: none; }

/* =========================================
   11. 3-COLUMN FOOTER STYLES
   ========================================= */
footer {
    background-color: #111;
    color: #ccc;
    padding: 60px 0 20px 0;
    margin-top: auto;
    font-size: 0.95rem;
}

.footer-grid-3col {
    display: grid;
    /* Wide Col | Medium Col | Medium Col */
    grid-template-columns: 1.5fr 1fr 1fr; 
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col { padding: 0 20px; }

/* Borders for Desktop */
.footer-left { padding-left: 0; border-right: 1px solid #333; }
.footer-middle { border-right: 1px solid #333; }
.footer-right { padding-right: 0; }

.footer-logo { height: 50px; margin-bottom: 15px; filter: brightness(0) invert(1); }
.footer-col h4 {
    color: var(--primary); margin-bottom: 20px;
    text-transform: uppercase; font-size: 1.1rem; letter-spacing: 1px; font-weight: 700;
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: #bbb; text-decoration: none; transition: all 0.3s;
    font-size: 0.95rem; display: inline-block;
}
.footer-links a:hover { color: var(--primary); transform: translateX(5px); }

.contact-details p { margin-bottom: 10px; line-height: 1.6; }

/* Social Icons */
.social-icons-row { display: flex; gap: 10px; }
.social-icon {
    width: 35px; height: 35px; background: #222;
    display: flex; align-items: center; justify-content: center;
    border-radius: 4px; color: #fff; text-decoration: none;
    font-size: 0.8rem; font-weight: bold; transition: background 0.3s;
}
.social-icon:hover { background: var(--primary); color: #000; }

.footer-divider { border: 0; height: 1px; background: #333; margin: 30px 0; }
.footer-bottom { display: flex; justify-content: space-between; font-size: 0.85rem; color: #666; }

/* =========================================
   12. RESPONSIVE DESIGN (Mobile)
   ========================================= */
.hamburger {
    display: none; flex-direction: column; cursor: pointer; gap: 6px;
}
.hamburger span { width: 30px; height: 3px; background: #222; border-radius: 2px; }

@media (max-width: 900px) {
    /* Mobile Nav */
    .nav-links {
        position: fixed; right: -100%; top: 80px;
        height: calc(100vh - 80px); width: 100%;
        background: #ffffff; flex-direction: column;
        padding-top: 60px; transition: right 0.3s;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    .nav-links.active { right: 0; }
    .hamburger { display: flex; }
    
    /* Layout Stacking */
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.2rem; }
    .hero-buttons .btn { display: block; width: 100%; margin: 10px 0; }
    
    /* Mobile Language Button Adjust */
    .lang-btn { top: 90px; right: 15px; padding: 6px 12px; font-size: 0.75rem; }

    /* Mobile Footer */
    .footer-grid-3col { grid-template-columns: 1fr; gap: 0; }
    .footer-left, .footer-middle {
        border-right: none; border-bottom: 1px solid #333;
        padding-bottom: 30px; margin-bottom: 30px;
        padding-left: 0; padding-right: 0;
    }
    .footer-right { padding-left: 0; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
}