/* LPF Ghana Navbar Styles */

:root {
    --primary-red: #e71e28;
    --success-green: #297848;
    --trust-blue: #14a5db;
    --white: #fff;
    --dark-gray: #222;
    --light: #f8f9fa;
}

/* Enhanced Navbar */
.navbar {
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    padding: 0.25rem 0;
}

.navbar-brand {
    transition: transform 0.3s ease;

}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand img {
    max-height: 70px !important;
    width: auto;
}

/* Desktop Navigation */
.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-red);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease, left 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
    left: 10%;
}

/* Enhanced Dropdown */
.dropdown-menu {
    border: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 0.5rem;
    margin-top: 0.5rem;
    min-width: 260px;
    display: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateY(-10px);
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu:hover {
    display: block;
    opacity: 1;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dropdown-item i {
    width: 20px;
    color: var(--primary-red);
}

.dropdown-item:hover {
    background-color: var(--light);
    transform: translateX(5px);
}

/* CTA Buttons */
.btn-donate-nav {
    background-color: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 0.725rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.btn-donate-nav:hover {
    background-color: #c41820;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 30, 40, 0.3);
}

.btn-registry-nav {
    background-color: transparent;
    color: var(--trust-blue);
    border: 2px solid var(--trust-blue);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.btn-registry-nav:hover {
    background-color: var(--trust-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 165, 219, 0.3);
}

/* Mobile Menu Toggle */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.hamburger {
    width: 28px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary-red);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 8px;
}

.hamburger span:nth-child(3) {
    top: 16px;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 350px;
    max-width: 90vw;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 25px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-drawer.active {
    right: 0;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.drawer-close {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.drawer-close:hover {
    background: var(--light);
}

.drawer-close i {
    font-size: 1.5rem;
    color: #333;
}

.drawer-content {
    padding: 1.5rem;
}

.drawer-nav-item {
    margin-bottom: 0.5rem;
}

.drawer-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.drawer-nav-link:hover {
    background: var(--light);
    color: var(--primary-red);
}

.drawer-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 1rem;
}

.drawer-submenu.active {
    max-height: 800px;
}

.drawer-submenu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #666;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.drawer-submenu-item:hover {
    background: var(--light);
    color: var(--primary-red);
}

.drawer-submenu-item i {
    width: 18px;
    color: var(--primary-red);
}

.drawer-cta {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.drawer-cta .btn-donate-nav,
.drawer-cta .btn-registry-nav {
    width: 100%;
    justify-content: center;
}

.drawer-contact {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: 12px;
}

.drawer-contact h6 {
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #666;
}

.contact-item i {
    color: var(--primary-red);
    width: 20px;
}

.contact-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-red);
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-nav {
        display: none;
    }
}

@media (min-width: 992px) {
    .navbar-toggler {
        display: none;
    }

    .mobile-drawer,
    .drawer-overlay {
        display: none;
    }
}

/* Navbar shrink on scroll */
#navbar.shrink {
    padding: 0.25rem 0;
}

#navbar.shrink .navbar-brand {
    font-size: 1.3rem;
}

#navbar.shrink .navbar-brand i {
    font-size: 1.5rem;
}


        
/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    color: var(--white);
    text-align: center;
    padding: 2rem;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Who We Are Section */
.who-we-are {
    background-color: #f8f9fa;
}

.who-we-are img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.icon-card {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    margin-bottom: 1.5rem;
    height: 170px;
}

.icon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.icon-card i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

/* Mission & Vision */
.mission-vision {
    background: linear-gradient(90deg, var(--primary-red) 50%, var(--white) 50%);
}

.mission-box, .vision-box {
    padding: 3rem;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mission-box {
    color: var(--white);
}

.mission-box h3, .vision-box h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Impact Section */
.impact-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1631815588090-d4bfec5b1ccb?w=1600') center/cover fixed;
    color: var(--white);
}

.counter-box {
    text-align: center;
    padding: 2rem;
}

.counter-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--trust-blue);
    margin-bottom: 0.5rem;
}

.counter-label {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Help Cards */
.help-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
    margin-bottom: 2rem;
    border-top: 4px solid var(--primary-red);
    height: 100%;
}

.help-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.help-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.help-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* News Section */
.news-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.news-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.news-card-body {
    padding: 1.5rem;
}

.countdown-box {
    background: linear-gradient(135deg, var(--primary-red), #c41820);
    color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.countdown-item {
    text-align: center;
}

.countdown-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Why LPF Section */
.why-lpf {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.feature-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    border-left: 5px solid var(--success-green);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--success-green);
    margin-bottom: 1rem;
}

/* Final CTA */
.final-cta {
    background: var(--primary-red);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.final-cta h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.final-cta p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-red);
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    transition: all 0.3s;
}

.btn-white:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255,255,255,0.3);
}

.btn-outline-white {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    background: transparent;
    transition: all 0.3s;
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary-red);
}

/* Footer */
footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 3rem 0 1rem;
}

footer h5 {
    color: var(--success-green);
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.3rem;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 0.8rem;
}

footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--primary-red);
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--success-green);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin: 0 0.3rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
    color: var(--white);
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 25px 0 0 25px;
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    background: var(--success-green);
    color: var(--white);
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: var(--primary-red);
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #888;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .mission-vision {
        background: var(--white);
    }
    
    .mission-box {
        background: var(--primary-red);
        border-radius: 10px;
        margin-bottom: 2rem;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
        gap: 1rem;
    }
}