/* Motibha Foundation - Corporate V4 (MNC Standard) */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;700;800&display=swap');

:root {
    /* Corporate Palette */
    --mf-blue-900: #0F172A;
    /* Midnight */
    --mf-blue-800: #1E3A8A;
    /* Royal Blue */
    --mf-blue-700: #1D4ED8;
    /* Primary Blue */
    --mf-blue-50: #EFF6FF;
    /* Lightest Blue */

    --mf-gold-600: #D97706;
    /* Corporate Gold */
    --mf-gold-500: #F59E0B;
    /* Amber */
    --mf-gold-100: #FEF3C7;
    /* Pale Gold */

    --mf-gray-900: #111827;
    --mf-gray-700: #374151;
    --mf-gray-500: #6B7280;
    --mf-gray-200: #E5E7EB;
    --mf-gray-50: #F9FAFB;

    /* Semantic Assignments */
    --mf-primary: var(--mf-blue-800);
    --mf-secondary: var(--mf-blue-900);
    --mf-accent: var(--mf-gold-600);
    --mf-bg-body: var(--mf-gray-50);
    --mf-bg-white: #FFFFFF;
    --mf-text-main: var(--mf-gray-700);
    --mf-text-head: var(--mf-gray-900);
    --mf-border: var(--mf-gray-200);

    /* Dimensions & Spacing */
    --mf-radius-sm: 4px;
    /* Professional/Sharp */
    --mf-radius-md: 6px;
    --mf-radius-lg: 8px;

    /* Shadows (Subtle & Professional) */
    --mf-shadow-card: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.06);
    --mf-shadow-float: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* --- Global Reset & Typography --- */
body {
    font-family: 'Inter', sans-serif;
    color: var(--mf-text-main);
    background-color: var(--mf-bg-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.mf-heading,
.navbar-brand {
    font-family: 'Outfit', sans-serif;
    color: var(--mf-text-head);
    letter-spacing: -0.01em;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--mf-primary);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--mf-blue-700);
}

/* --- Header (Corporate Mega Menu) --- */
.navbar-main {
    background: var(--mf-bg-white) !important;
    border-bottom: 1px solid var(--mf-gray-200);
    padding: 0;
    /* Tight & Professional */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    height: 80px;
    display: flex;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
}

.navbar-brand .brand-logo {
    height: 48px;
    width: auto;
}

.navbar-brand .brand-top {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--mf-blue-900);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.navbar-brand .brand-bottom {
    font-size: 0.75rem;
    color: var(--mf-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
}

/* Nav Links - The "MNC" Look */
.navbar-nav .nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mf-gray-700) !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1.8rem 1rem !important;
    /* Full height hover */
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--mf-primary) !important;
    background: var(--mf-blue-50);
    border-bottom-color: var(--mf-primary);
}

/* Dropdown / Mega Menu */
.dropdown-menu {
    border: none;
    border-top: 2px solid var(--mf-primary);
    border-radius: 0 0 var(--mf-radius-md) var(--mf-radius-md);
    box-shadow: var(--mf-shadow-float);
    margin-top: 0;
    padding: 1.5rem;
    background: var(--mf-bg-white);
}

.mega-menu {
    width: 100%;
    min-width: 800px;
    left: 50%;
    transform: translateX(-50%);
}

.menu-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--mf-gray-500);
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--mf-gray-200);
    padding-bottom: 0.5rem;
    display: block;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 0.8rem;
    color: var(--mf-gray-700);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--mf-radius-sm);
    transition: all 0.2s;
}

.menu-item:hover {
    background: var(--mf-gray-50);
    color: var(--mf-primary);
    transform: translateX(4px);
}

.menu-item i {
    color: var(--mf-accent);
    width: 20px;
    text-align: center;
}

/* Donate Button (Professional) */
.btn-donate-header {
    background: var(--mf-accent);
    color: #fff !important;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--mf-radius-sm);
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(217, 119, 6, 0.3);
}

.btn-donate-header:hover {
    background: var(--mf-gold-500);
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(217, 119, 6, 0.4);
}

/* --- Hero Section (Clean & Sharp) --- */
.hero-carousel .hero-slide::before {
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.15rem;
    color: #cbd5e1;
    /* Slate 300 */
    max-width: 650px;
    font-weight: 300;
}

.highlight {
    color: var(--mf-gold-500);
}

/* --- Component: Professional Cards --- */
.modern-card {
    background: var(--mf-bg-white);
    border: 1px solid var(--mf-border);
    border-radius: var(--mf-radius-md);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.modern-card:hover {
    border-color: var(--mf-primary);
    box-shadow: var(--mf-shadow-float);
}

.modern-card-icon {
    width: 60px;
    height: 60px;
    background: var(--mf-blue-50);
    color: var(--mf-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: var(--mf-radius-sm);
    margin-bottom: 1.5rem;
}

/* --- Component: Section Containers --- */
.section-crisp-white {
    background: var(--mf-bg-white);
    padding: 6rem 0;
}

.section-crisp-gray {
    background: var(--mf-gray-50);
    padding: 6rem 0;
    border-top: 1px solid var(--mf-border);
    border-bottom: 1px solid var(--mf-border);
}

.section-title-wrapper {
    margin-bottom: 4rem;
    text-align: center;
}

.section-subtitle {
    display: block;
    color: var(--mf-accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--mf-secondary);
    font-weight: 700;
}

/* --- Footer (Corporate) --- */
.footer {
    background: var(--mf-secondary);
    color: #cbd5e1;
    padding-top: 5rem;
    border-top: 4px solid var(--mf-accent);
}

.footer-logo {
    filter: brightness(0) invert(1);
    height: 40px;
    margin-bottom: 1.5rem;
}

.footer h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    border-left: 3px solid var(--mf-accent);
    padding-left: 1rem;
}

.footer .btn-link {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s;
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.footer .btn-link:hover {
    color: rgba(15, 23, 42, 0.92);
    padding-left: 5px;
}

.footer-bottom {
    background: #0b1120;
    /* Darker than footer */
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

/* Newsletter Custom */
.mf-newsletter {
    background: var(--mf-blue-800);
    border-radius: var(--mf-radius-lg);
    padding: 3rem;
    margin-bottom: -3rem;
    position: relative;
    z-index: 10;
    box-shadow: var(--mf-shadow-float);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mf-newsletter-input {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

/* Utility: Primary Button */
.btn-primary {
    background: var(--mf-primary);
    border: 1px solid var(--mf-primary);
    border-radius: var(--mf-radius-sm);
    padding: 0.6rem 1.4rem;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: var(--mf-blue-700);
    border-color: var(--mf-blue-700);
    box-shadow: 0 4px 6px -1px rgba(30, 58, 138, 0.4);
}

.highlight-bg {
    background: var(--mf-accent);
    color: white;
    padding: 0 5px;
}