/* ===================================================
   WELFARE NGO - Laravel HTML Theme
   Colors extracted from original theme settings:
   Primary Accent:  #d43c18
   Text:            #959595
   Heading:         #1e1e1e
   Background:      #f4f4f4
   White:           #ffffff
   Border:          #e1e1e1
   Footer BG:       #1e1e1e
   Dark Section:    #3d3d3d
   =================================================== */

/* --- CSS VARIABLES --- */
:root {
    --color-primary:    #d43c18;
    --color-primary-dk: #b83210;
    --color-text:       #959595;
    --color-heading:    #1e1e1e;
    --color-bg:         #f4f4f4;
    --color-white:      #ffffff;
    --color-border:     #e1e1e1;
    --color-footer-bg:  #1e1e1e;
    --color-dark-sec:   #3d3d3d;
    --color-footer-link:#858585;
    --font-main: 'Roboto', Arial, Helvetica, sans-serif;
    --transition: 0.3s ease;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    overflow-x: clip;
}
body {
    font-family: var(--font-main);
    font-size: 13px;
    line-height: 20px;
    font-weight: 400;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: clip;
}
body.mobile-nav-active {
    overflow: hidden;
}
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: #c0c0c0; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* Remove browser spinner controls on numeric inputs */
input[type="number"] {
    -moz-appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    color: var(--color-heading);
    font-weight: 500;
    line-height: 1.4;
}
h1 { font-size: 28px; line-height: 40px; }
h2 { font-size: 24px; line-height: 36px; }
h3 { font-size: 20px; line-height: 30px; }
h4 { font-size: 16px; line-height: 26px; }
h5 { font-size: 14px; line-height: 22px; }
h6 { font-size: 13px; line-height: 20px; }

/* --- CONTAINER --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- UTILITIES --- */
.bg-white     { background: var(--color-white); }
.bg-light     { background: var(--color-bg); }
.text-center  { text-align: center; }
.mt-40        { margin-top: 40px; }

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 500;
    line-height: 44px;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}
.btn-primary:hover {
    background: var(--color-primary-dk);
    border-color: var(--color-primary-dk);
    color: var(--color-white);
}
.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}
.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-heading);
}
.btn-outline-dark {
    background: transparent;
    color: var(--color-heading);
    border-color: var(--color-heading);
}
.btn-outline-dark:hover {
    background: var(--color-heading);
    color: var(--color-white);
}
.btn-white {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}
.btn-white:hover {
    background: transparent;
    color: var(--color-white);
}
.btn-sm { padding: 6px 16px; font-size: 13px; line-height: 1; }
.btn-full { width: 100%; display: block; text-align: center; }
.btn-donate {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 500;
    transition: background var(--transition);
}
.btn-donate:hover { background: var(--color-primary-dk); color: var(--color-white); }

/* --- TOP BAR --- */
.top-bar {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    height: 35px;
    line-height: 35px;
    font-size: 12px;
}
.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.top-bar-info { display: flex; gap: 20px; }
.top-info-item { color: var(--color-text); }
.top-info-item i { color: var(--color-primary); margin-right: 5px; }
.top-info-item a { color: var(--color-text); }
.top-info-item a:hover { color: var(--color-primary); }
.top-bar-social { display: flex; gap: 8px; }
.top-bar-social .social-icon {
    color: var(--color-text);
    font-size: 12px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    transition: all var(--transition);
}
.top-bar-social .social-icon:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* --- HEADER --- */
.site-header {
    background: var(--color-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-top-row {
    border-bottom: 1px solid var(--color-border);
}
.header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.header-bottom-row {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}
.header-bottom-row .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo */
.site-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}
.site-logo .logo-desktop {
    height: 48px;
    width: auto;
    max-width: 100%;
    display: block;
}
.site-logo .logo-mobile {
    display: none;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #ececec;
    background: #ffffff;
    padding: 0;
}
.site-logo .logo-text {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-heading);
    letter-spacing: 0.5px;
    line-height: 1;
}

/* Header Actions */
.header-top-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Search Box Inline */
.search-box-inline {
    display: none;
    background: #f8f8f8;
    border: 1px solid var(--color-border);
    border-radius: 25px;
    height: 44px;
    align-items: center;
    padding: 0 15px 0 20px;
    position: relative;
    width: 280px;
    transition: all var(--transition);
}
.search-box-inline.open {
    display: flex;
    animation: inlineSearchSlide 0.3s ease forwards;
}
@keyframes inlineSearchSlide {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}
.search-box-inline form {
    display: flex;
    align-items: center;
    width: 100%;
}
.search-box-inline input {
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--font-main);
    font-size: 13px;
    width: 100%;
    color: var(--color-heading);
}
.search-box-inline input::placeholder {
    color: #b0b0b0;
}
.search-clear {
    background: none;
    border: none;
    color: #999;
    font-size: 12px;
    cursor: pointer;
    padding: 5px;
    transition: color var(--transition);
}
.search-clear:hover {
    color: var(--color-primary);
}

/* Rounded Donate Button to match image */
.btn-donate-rounded {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--color-primary);
    color: var(--color-white) !important;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 25px;
    transition: background var(--transition);
    line-height: 1.2;
    text-align: center;
}
.btn-donate-rounded:hover {
    background: var(--color-primary-dk);
}

/* Rounded Register Button to match layout */
.btn-register-rounded {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--color-primary);
    color: var(--color-white) !important;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 25px;
    transition: background var(--transition);
    line-height: 1.2;
    text-align: center;
}
.btn-register-rounded:hover {
    background: var(--color-primary-dk);
}
.btn-donate-rounded i,
.btn-register-rounded i {
    display: none;
}

/* Search Toggle Button in top row */
.search-icon-btn {
    background: #e1e1e1;
    border: none;
    color: #555;
    font-size: 15px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.search-icon-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Navigation in bottom row */
.main-nav {
    display: flex;
    justify-content: flex-start;
}
.nav-menu {
    display: flex;
    gap: 0;
    align-items: center;
}
.nav-item {
    position: relative;
}
.nav-item > a {
    display: block;
    padding: 18px 22px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-heading);
    transition: color var(--transition);
    position: relative;
    text-transform: none;
}
.nav-item > a:hover,
.nav-item.active > a {
    color: var(--color-primary);
}
.nav-item.active > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 22px;
    right: 22px;
    height: 3px;
    background: var(--color-primary);
}

/* Dropdown */
.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown.open .dropdown-menu { display: block; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    min-width: 200px;
    box-shadow: var(--shadow);
    border-top: 2px solid var(--color-primary);
    z-index: 200;
}
.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition);
}
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu li a:hover {
    background: var(--color-bg);
    color: var(--color-primary);
    padding-left: 25px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--color-heading);
    cursor: pointer;
    padding: 8px;
    line-height: 1;
    flex-shrink: 0;
    z-index: 1002;
}

/* Mobile nav backdrop (shown via .site-header.mobile-nav-open) */
.mobile-nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1000;
    border: none;
    padding: 0;
    cursor: pointer;
}
.site-header.mobile-nav-open .mobile-nav-backdrop {
    display: block;
}

/* --- HERO SLIDER --- */
.hero-slider { position: relative; overflow: hidden; padding: 0; }
.slider-container { position: relative; }
.slide {
    display: none;
    background-size: cover;
    background-position: center;
    min-height: 560px;
    align-items: center;
}
.slide.active { display: flex; }
.slide-content {
    width: 100%;
    padding: 80px 74px;
    box-sizing: border-box;
}
.slide-text { max-width: 620px; }
.slide-text h1 {
    font-size: 42px;
    line-height: 54px;
    color: var(--color-white);
    font-weight: 500;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.slide-text p {
    font-size: 18px;
    color: rgba(255,255,255,0.88);
    margin-bottom: 30px;
    line-height: 28px;
}
.slide-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.35);
    color: var(--color-white);
    border: none;
    width: 44px;
    height: 44px;
    cursor: pointer;
    font-size: 18px;
    transition: background var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-prev { left: 15px; }
.slider-next { right: 15px; }
.slider-prev:hover, .slider-next:hover { background: var(--color-primary); }
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.slider-dots .dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background var(--transition);
}
.slider-dots .dot.active { background: var(--color-primary); }

/* --- SECTIONS COMMON --- */
section { padding: 60px 0; }
.section-header { margin-bottom: 45px; }
.section-header h2 { margin-bottom: 15px; }
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px auto 18px;
}
.section-divider span {
    display: block;
    width: 50px;
    height: 3px;
    background: var(--color-primary);
    position: relative;
}
.section-divider span::before,
.section-divider span::after {
    content: '';
    position: absolute;
    top: 0;
    height: 3px;
    background: var(--color-border);
    width: 40px;
}
.section-divider span::before { right: calc(100% + 6px); }
.section-divider span::after  { left:  calc(100% + 6px); }
.section-subtitle {
    font-size: 14px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 22px;
}

/* --- WELCOME CARDS --- */
.welcome-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.welcome-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 35px 28px;
    transition: box-shadow var(--transition);
    text-align: center;
}
.welcome-card:hover { box-shadow: var(--shadow-hover); }
.welcome-icon {
    width: 70px; height: 70px;
    background: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--color-primary);
    transition: all var(--transition);
}
.welcome-card:hover .welcome-icon {
    background: var(--color-primary);
    color: var(--color-white);
}
.welcome-card h3 { margin-bottom: 12px; font-size: 18px; }
.welcome-card p { margin-bottom: 18px; line-height: 22px; }
.read-more {
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.read-more:hover { color: var(--color-primary-dk); }

/* --- STATS --- */
.section-stats {
    background: var(--color-dark-sec);
    padding: 50px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-item { text-align: center; }
.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 10px;
}
.stat-label {
    color: rgba(255,255,255,0.65);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- CAMPAIGNS --- */
.campaigns-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.campaign-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: box-shadow var(--transition);
}
.campaign-card:hover { box-shadow: var(--shadow-hover); }
.campaign-img { position: relative; overflow: hidden; }
.campaign-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.campaign-card:hover .campaign-img img { transform: scale(1.05); }
.campaign-overlay {
    position: absolute;
    inset: 0;
    background: rgba(212,60,24,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}
.campaign-card:hover .campaign-overlay { opacity: 1; }
.campaign-body { padding: 22px; }
.campaign-body h3 { font-size: 16px; margin-bottom: 10px; }
.campaign-body h3 a { color: var(--color-heading); }
.campaign-body h3 a:hover { color: var(--color-primary); }
.campaign-body p { margin-bottom: 16px; font-size: 13px; line-height: 20px; }
.campaign-progress { margin-bottom: 18px; }
.progress-bar {
    height: 6px;
    background: var(--color-border);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}
.progress-fill {
    height: 100%;
    background: var(--color-primary);
    border-radius: 3px;
    transition: width 1s ease;
}
.progress-meta { display: flex; justify-content: space-between; font-size: 12px; }
.progress-meta .raised { color: var(--color-primary); font-weight: 500; }

/* --- DONATE CTA --- */
.section-donate-cta {
    background: var(--color-primary);
    padding: 50px 0;
}
.donate-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.donate-cta-text h2 { color: var(--color-white); margin-bottom: 8px; }
.donate-cta-text p { color: rgba(255,255,255,0.85); }
.donate-cta-amounts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.amount-btn {
    display: inline-block;
    padding: 10px 22px;
    background: rgba(255,255,255,0.15);
    color: var(--color-white);
    border: 2px solid rgba(255,255,255,0.5);
    font-size: 16px;
    font-weight: 500;
    transition: all var(--transition);
}
.amount-btn:hover {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

/* --- TEAM --- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.team-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: box-shadow var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-hover); }
.team-img { position: relative; overflow: hidden; }
.team-img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s ease;
}
.team-card:hover .team-img img { transform: scale(1.05); }
.team-social {
    position: absolute;
    inset: 0;
    background: rgba(212,60,24,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity var(--transition);
}
.team-card:hover .team-social { opacity: 1; }
.team-social a {
    color: var(--color-white);
    width: 36px; height: 36px;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background var(--transition);
}
.team-social a:hover { background: rgba(255,255,255,0.2); }
.team-info { padding: 16px 18px; text-align: center; }
.team-info h4 { font-size: 15px; margin-bottom: 4px; }
.team-role { font-size: 12px; color: var(--color-primary); }

/* --- TESTIMONIALS --- */
.section-testimonials { position: relative; }
.testimonials-slider { max-width: 750px; margin: 0 auto; }
.testimonial-item { display: none; }
.testimonial-item.active { display: block; }
.testimonial-content {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 40px;
    text-align: center;
}
.quote-icon {
    font-size: 36px;
    color: var(--color-primary);
    margin-bottom: 20px;
    opacity: 0.4;
}
.testimonial-content > p {
    font-size: 15px;
    line-height: 26px;
    font-style: italic;
    margin-bottom: 28px;
    color: var(--color-heading);
}
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.testimonial-author img {
    width: 55px; height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-primary);
}
.testimonial-author strong { display: block; color: var(--color-heading); font-weight: 500; }
.testimonial-author span { font-size: 12px; color: var(--color-primary); }
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.testimonial-dots .dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--color-border);
    cursor: pointer;
    transition: background var(--transition);
}
.testimonial-dots .dot.active { background: var(--color-primary); }

/* --- BLOG --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
/* News & Activities on home — override inline grids; stack on smaller screens */
.section-blog .blog-grid.news-activities-grid {
    grid-template-columns: repeat(3, 1fr);
}
.blog-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: box-shadow var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-hover); }
.blog-img { position: relative; overflow: hidden; }
.blog-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 11px;
    padding: 3px 10px;
    font-weight: 500;
    text-transform: uppercase;
}
.blog-body { padding: 22px; }
.blog-meta { font-size: 12px; color: var(--color-text); margin-bottom: 10px; }
.blog-meta i { color: var(--color-primary); margin-right: 4px; }
.blog-body h3 { font-size: 15px; margin-bottom: 10px; line-height: 22px; }
.blog-body h3 a { color: var(--color-heading); }
.blog-body h3 a:hover { color: var(--color-primary); }
.blog-body p { font-size: 13px; line-height: 20px; margin-bottom: 14px; }

/* --- PARTNERS --- */
.section-partners { background: var(--color-white); border-top: 1px solid var(--color-border); }
.partners-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; align-items: center; }
.partner-logo {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-border);
    padding: 20px;
    border: 1px solid var(--color-border);
    letter-spacing: 1px;
    transition: all var(--transition);
    cursor: pointer;
}
.partner-logo:hover { color: var(--color-primary); border-color: var(--color-primary); }

/* --- FOOTER --- */
.site-footer { background: var(--color-footer-bg); }
.footer-main { display: none; padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }

.footer-logo .logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}
.footer-about-text {
    color: var(--color-footer-link);
    font-size: 13px;
    line-height: 22px;
    margin-bottom: 20px;
}
.footer-social { display: flex; gap: 8px; }
.footer-social a {
    width: 32px; height: 32px;
    background: rgba(255,255,255,0.07);
    border: 1px solid #2e2e2e;
    color: var(--color-footer-link);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border-radius: 50%;
    transition: all var(--transition);
}
.footer-social a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}
.footer-widget-title {
    color: var(--color-white);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}
.footer-links li { border-bottom: 1px solid #2e2e2e; }
.footer-links li:last-child { border-bottom: none; }
.footer-links a {
    display: block;
    padding: 8px 0;
    color: var(--color-footer-link);
    font-size: 13px;
    transition: all var(--transition);
}
.footer-links a:hover {
    color: var(--color-white);
    padding-left: 8px;
}

/* Footer Bottom */
.footer-bottom {
    background: #141414;
    padding: 18px 0;
    border-top: 1px solid #2e2e2e;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-copyright { color: var(--color-footer-link); font-size: 12px; }
.footer-nav { display: flex; gap: 20px; }
.footer-nav a { color: var(--color-footer-link); font-size: 12px; }
.footer-nav a:hover { color: var(--color-white); }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .nav-item > a { padding: 0 12px; font-size: 13px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .header-top-inner { height: 70px; }
    .header-top-row .container { padding: 0 8px; }
    .header-top-inner { padding: 0; }
    /* Keep bottom row in DOM so nav can open; collapse when menu is closed */
    .header-bottom-row {
        border: none;
        background: transparent;
        height: 0;
        overflow: visible;
    }
    .header-bottom-row .container {
        padding: 0;
    }
    .main-nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-white);
        box-shadow: var(--shadow);
        z-index: 1001;
        padding: 8px 0 24px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .main-nav.open {
        display: block;
    }
    .nav-menu { flex-direction: column; align-items: stretch; }
    .nav-item > a {
        height: auto;
        line-height: 1.4;
        padding: 14px 20px;
        min-height: 48px;
        border-bottom: 1px solid var(--color-border);
    }
    .nav-item.active > a::before { display: none; }
    .nav-item.active > a {
        background: rgba(212, 60, 24, 0.06);
        border-left: 3px solid var(--color-primary);
        padding-left: 17px;
    }
    .dropdown-menu { position: static; box-shadow: none; border-top: none; background: var(--color-bg); }
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #f1f1f1;
        font-size: 18px;
    }
    .btn-donate-rounded,
    .search-icon-btn {
        display: none;
    }
    .btn-register-rounded {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 38px;
        padding: 0 14px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 700;
        white-space: nowrap;
        gap: 0;
    }
    .btn-register-rounded i {
        display: none;
    }
    .btn-register-rounded .action-text {
        display: inline-block;
    }
    .site-logo .logo-desktop {
        display: none !important;
    }
    .site-logo .logo-mobile {
        display: block;
    }
    .site-logo .logo-desktop {
        height: 40px;
    }
    .search-box-inline { width: min(180px, 42vw); }
    .header-top-actions { gap: 6px; }

    .slide-text h1 { font-size: 28px; line-height: 36px; }
    .slide-text p { font-size: 15px; line-height: 22px; }
    .slide-content { padding: 60px 64px; }
    .welcome-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .campaigns-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid,
    .section-blog .blog-grid.news-activities-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .donate-cta-inner { flex-direction: column; }
    .footer-bottom-inner { flex-direction: column; gap: 10px; text-align: center; }
    #main-content { min-width: 0; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .slide { min-height: 400px; }
    .slide-content { padding: 48px 58px; }
    .slide-text h1 { font-size: 22px; line-height: 30px; }
    section { padding: 40px 0; }
}
