@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --card-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .display-font {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Glassmorphism Navigation */
.navbar-custom {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--accent);
    padding: 0.8rem 1rem;
    transition: var(--transition);
}

.navbar-custom .navbar-brand {
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.navbar-custom .navbar-brand span {
    color: var(--accent);
}

.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--accent);
}

/* Premium Hero Carousel */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 8rem 0 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-tagline {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

/* Objective Card Styles */
.objective-card {
    background: var(--white);
    border: none;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}

.objective-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.15);
}

.objective-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    font-weight: bold;
}

.objective-number {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--white);
    background-color: var(--accent);
    padding: 0.2rem 0.6rem;
    border-radius: 30px;
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
}

/* Campaigns and news cards */
.ngo-card {
    background: var(--white);
    border: none;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    overflow: hidden;
}

.ngo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.12);
}

.ngo-card-img-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #e2e8f0;
}

.ngo-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.ngo-card:hover .ngo-card-img {
    transform: scale(1.05);
}

.ngo-card-body {
    padding: 1.5rem;
}

.ngo-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 30px;
    border: 1px solid var(--accent);
}

.progress-custom {
    height: 8px;
    border-radius: 30px;
    background-color: #f1f5f9;
}

.progress-bar-custom {
    background-color: var(--accent);
}

/* Floating WhatsApp and Call buttons */
.floating-widgets {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1) rotate(5deg);
    color: var(--white);
}

.btn-whatsapp {
    background-color: #25d366;
}

.btn-call {
    background-color: #3b82f6;
}

/* Core management team section */
.team-card {
    text-align: center;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    padding: 2rem 1.5rem;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 4px solid var(--accent);
    margin-bottom: 1rem;
}

/* Dynamic Stats Grid */
.stat-counter-box {
    background: var(--white);
    border-bottom: 4px solid var(--accent);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    padding: 2rem;
    text-align: center;
    height: 100%;
}

.stat-counter-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Custom Letterhead Layout */
.letterhead-container {
    background: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    border-top: 15px solid var(--primary);
    border-bottom: 15px solid var(--accent);
    padding: 3rem;
    font-family: serif;
    font-size: 1.1rem;
    color: #333;
}

/* Certificate Previews */
.certificate-preview-box {
    border: 15px solid var(--primary);
    background-color: #fff9e6;
    padding: 3rem;
    position: relative;
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
}

.certificate-border-inner {
    border: 2px solid var(--accent);
    padding: 2rem;
    height: 100%;
}

/* Admin Dashboard layout */
.admin-sidebar {
    background-color: var(--primary);
    color: var(--white);
    min-height: calc(100vh - 56px);
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.75);
    padding: 0.8rem 1.5rem;
    border-left: 4px solid transparent;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: var(--white);
    background-color: var(--primary-light);
    border-left-color: var(--accent);
}

/* Fix navbar button text color on hover */
.navbar-custom .btn-warning:hover,
.navbar-custom .btn-warning:focus,
.navbar-custom .btn-warning:active,
.navbar-custom .btn-warning.show {
    color: var(--primary) !important;
}

.navbar-custom .btn-outline-warning:hover,
.navbar-custom .btn-outline-warning:focus,
.navbar-custom .btn-outline-warning:active,
.navbar-custom .btn-outline-warning.show {
    color: var(--primary) !important;
}
