/* Modern Ministry Global Design System */
:root {
    --primary: #1e3a8a;
    /* Deep Indigo */
    --accent: #f59e0b;
    /* Vibrant Gold */
    --accent-hover: #d97706;
    --text-dark: #1f2937;
    --text-light: #ffffff;
    --text-muted: #6b7280;
    --bg-light: #ffffff;
    --bg-dark: #005292;
    --bg-grey: #f8fafc;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
}

/* Global Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0.75rem;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(30, 58, 138, 0.3);
    color: white;
}

.btn-secondary {
    /* background: var(--accent); */
    color: white;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.2);
}

.btn-secondary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.3);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.2);
}

.btn-white {
    background: white;
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background: #f8fafc;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.btn i {
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

/* Header & Navigation */
/* Multi-Tier Header */
header {
    position: relative;
    width: 100%;
    z-index: 1000;
}

.top-header {
    background: var(--bg-light);
    padding: 0 0;
    border-bottom: 1px solid #eee;
}

.container-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 100px;
    width: auto;
}

.logo-text {
    font-size: 1.8rem;
    color: #444;
    text-transform: uppercase;
}

.logo-text span {
    font-weight: 300;
}

.header-quote {
    max-width: 400px;
    text-align: center;
}

.header-quote p {
    font-size: 0.95rem;
    color: #888;
    line-height: 1.4;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.btn-header {
    padding: 0.65rem 1.7rem !important;
    font-size: 0.85rem !important;
    letter-spacing: 1px;
    border-radius: 0 !important;
}

.header-socials {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.header-socials a {
    color: var(--primary);
    font-size: 1.15rem;
    text-decoration: none !important;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f8fafc;
    border-radius: 50%;
}

.header-socials a:hover {
    color: white;
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.2);
}

/* Main Navigation Bar */
.main-nav {
    background: var(--bg-dark);
    position: sticky;
    top: 0;
    z-index: 999;
}

.container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 !important;
}

.nav-links-wrapper {
    display: flex;
    align-items: stretch;
}

.nav-home-btn {
    background: var(--accent);
    color: white;
    padding: 0.75rem 1.25rem;
    /* Reduced padding */
    font-size: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.links {
    display: flex;
}

.links a,
.dropdown-trigger {
    color: white;
    text-decoration: none;
    padding: 0 1.70rem;
    /* Reduced from 1.5rem */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 0.9rem;
    /* Slightly smaller font */
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    height: 55px;
    /* Reduced from 58px */
    cursor: pointer;
}

.links a:hover,
.links a.active,
.dropdown-trigger.active {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 -3px 0 var(--accent);
}


/* Mobile Navigation Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 1rem;
}

.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-dark);
    min-width: 200px;
    padding: 0;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border-top: 4px solid var(--accent);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1001;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block !important;
    padding: 1rem 1.5rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    text-align: left;
    width: 100%;
}

.dropdown-content a:hover {
    background: var(--accent) !important;
    color: white !important;
    padding-left: 2rem !important;
}

/* Hero Carousel Section - Screenshot Style */
.hero-carousel {
    position: relative;
    height: 540px;
    /* Reduced by 10% from original 600px */
    width: 100%;
    overflow: hidden;
    background-color: #000;
}

.hero-carousel::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
    z-index: 20;
    opacity: 0.9;
}

.slides {
    position: relative;
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 5;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.3s;
}

.slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-subtitle {
    display: inline-block;
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 5px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: white;
}

.hero-title span {
    color: var(--accent);
    display: block;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 700px;
    line-height: 1.6;
}

.btn-small-text {
    padding: 0.6rem 1.25rem !important;
    font-size: 0.85rem !important;
    margin-top: 1rem;
    height: auto !important;
}

.hero-btns {
    display: flex;
    gap: 1.25rem;
}

/* Redesigned Carousel Controls */
.carousel-controls {
    position: absolute;
    bottom: 30px;
    right: 50px;
    display: flex;
    gap: 0.5rem;
    z-index: 100;
}

.control-btn {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.control-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50px;
    display: flex;
    gap: 8px;
    z-index: 100;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.dot.active {
    background: var(--accent);
    transform: scale(1.2);
    border-color: white;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Components */
.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(212, 160, 23, 0.1);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    line-height: 1.2;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.85rem;
    }
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.text-white {
    color: white !important;
}

.opacity-70 {
    opacity: 0.7;
}

.white-text h2,
.white-text p {
    color: white !important;
}

/* About Our Ministry Section */
.about-section {
    background: var(--bg-light);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.about-img {
    width: 100%;
}

.about-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.img-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.main-img {
    width: 90%;
    height: 500px;
}

.main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 250px;
    border: 8px solid white;
    z-index: 2;
}

.floating-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    animation: fadeInUp 1s ease;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 768px) {
    .about-content {
        padding: 0;
        text-align: center;
    }
}

.about-text {
    margin: 2rem 0;
}

.about-text p {
    font-size: 1.05rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: center;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .about-text p {
        font-size: 1rem;
    }
}

.detail-about-content {
    text-align: left;
}

@media (max-width: 991px) {
    .detail-about-content {
        text-align: center;
    }
}

.about-footer-text {
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.about-footer-text p {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.about-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

@media (max-width: 768px) {
    .about-grid {
        gap: 3rem;
    }

    .main-img {
        width: 100%;
        height: 350px;
    }

    .floating-img {
        display: none;
        /* Hide for mobile to keep it simple */
    }
}

/* Works Modern Section (Card-Based Alternating Layout) */
.works-modern {
    background: #f8fafc;
    /* Lighter background to make white cards pop */
    padding: 40px 0;
}

.works-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.work-item {
    display: flex;
    align-items: center;
    gap: 60px;
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.work-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.work-item>div {
    flex: 1;
}

/* Alternating layout */
.work-item:nth-child(even) .work-image {
    order: 2;
}

.work-item:nth-child(even) .work-content {
    order: 1;
}

.work-image {
    background: #f1f5f9;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1s ease;
}

.work-item:hover .work-image img {
    transform: scale(1.08);
}

.work-text-expandable {
    position: relative;
    display: flex;
    flex-direction: column;
}

.work-text-inner {
    max-height: 250px;
    /* Adjust to match visual weight of small images */
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    color: #4b5563;
    line-height: 1.8;
}

/* Gradient fade for collapsed state */
.work-text-expandable:not(.expanded) .work-text-inner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, white, transparent);
    pointer-events: none;
}

.work-text-expandable.expanded .work-text-inner {
    max-height: 2000px;
    /* Large enough for full content */
}

.read-more-btn {
    align-self: flex-start;
    background: none;
    border: none;
    color: var(--accent);
    font-weight: 700;
    cursor: pointer;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.read-more-btn:hover {
    color: var(--primary);
}

.read-more-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.work-text-expandable.expanded .read-more-btn i {
    transform: rotate(180deg);
}

.work-content p {
    margin-bottom: 1rem;
}

.work-content h2 {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    position: relative;
    padding-bottom: 15px;
}

/* Accent line under title */
.work-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}


.work-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

/* Mobile Responsiveness for Works */
@media (max-width: 991px) {
    .work-item {
        flex-direction: column;
        gap: 20px;
        padding: 30px;
    }

    .work-item:nth-child(even) .work-image,
    .work-item:nth-child(even) .work-content {
        order: unset;
    }

    .work-image {
        min-height: 300px;
        width: 100%;
    }

    .work-content {
        padding: 10px 0;
    }

    .work-content h2 {
        font-size: 1.85rem;
        margin-bottom: 1.5rem;
    }

    .works-list {
        gap: 40px;
    }
}




/* Donate Section - Modern Split Layout */
.donate-split {
    background: var(--bg-grey);
}

.donate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 6rem;
    align-items: center;
}

.donate-img-side {
    position: relative;
    padding-left: 30px;
    height: 500px;
}

.donate-main-img {
    width: 85%;
    height: 100%;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.donate-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.donate-floating-img {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 55%;
    height: 300px;
    border-radius: 30px;
    overflow: hidden;
    border: 10px solid white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 5;
    animation: float-y 4s ease-in-out infinite;
}

.donate-floating-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes float-y {

    0%,
    100% {
        transform: translateY(-50%);
    }

    50% {
        transform: translateY(-35%);
    }
}

.donate-img-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--accent);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    z-index: 10;
    animation: fadeInUp 1s ease;
}

.donate-img-badge .number {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
}

.donate-img-badge .text {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
}

.donate-description {
    margin: 2rem 0 3rem;
}

.donate-description p {
    font-size: 1.15rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.btn-donate-highlight {
    padding: 1.25rem 3.5rem !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    border-radius: 50px !important;
    box-shadow: 0 10px 40px rgba(245, 158, 11, 0.3);
    animation: pulse-glow 3s infinite;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.btn-donate-highlight:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(245, 158, 11, 0.5);
    background: var(--accent-hover);
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(245, 158, 11, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

.donate-btns-wrap {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.btn-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.btn-link:hover {
    color: var(--accent);
    transform: translateX(5px);
    border-bottom-color: var(--accent);
}

@media (max-width: 991px) {
    .donate-grid {
        gap: 4rem;
    }

    .donate-img-side {
        padding-left: 0;
        max-width: 500px;
        margin: 0 auto;
    }

    .donate-img-badge {
        left: 20px;
        bottom: 20px;
        padding: 1rem 1.5rem;
    }
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.news-img {
    height: 250px;
    position: relative;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-body {
    padding: 2rem;
}

.news-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.news-body h3 {
    margin: 0.75rem 0;
    font-size: 1.4rem;
    line-height: 1.3;
}

/* Contact Us Section - Professional Layout */
.contact-section {
    background: #ffffff;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.contact-info-card {
    padding-right: 40px;
}

.contact-info-card .section-title span {
    color: var(--accent);
}

.contact-tagline {
    font-size: 1.15rem;
    color: #4b5563;
    margin: 2rem 0 3.5rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.detail-item i {
    width: 60px;
    height: 60px;
    background: #f1f5f9;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.detail-item:hover i {
    background: var(--primary);
    color: white;
    transform: rotateY(360deg);
}

.detail-item h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.detail-item p {
    color: #64748b;
    font-weight: 500;
}

.contact-form-wrapper {
    background: white;
    padding: 60px;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    padding: 1.2rem 1.5rem;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
}

.submit-btn {
    margin-top: 1rem;
    padding: 1.25rem !important;
    width: 100%;
}

/* Footer Section */
footer {
    background: #0b1121;
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}


.footer-about p {
    opacity: 0.6;
    margin-top: 1.5rem;
    max-width: 400px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.footer-links nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-contact p {
    display: flex;
    gap: 1rem;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .social-links a:nth-child(n+2) {
        display: none;
    }
}

.social-links a {
    color: white;
    font-size: 1.25rem;
    opacity: 0.7;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent);
    opacity: 1;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .container {
        padding: 0 1.5rem;
    }

    .container-top {
        flex-direction: column;
        padding: 1.5rem;
        text-align: center;
    }

    .container-nav {
        padding: 0 1.5rem !important;
    }

    .header-quote {
        display: none;
    }

    .header-socials {
        display: none;
    }

    .header-right {
        order: 3;
    }

    .logo-img {
        height: 70px;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        z-index: 1001;
    }

    .mobile-menu-toggle span {
        width: 30px;
        height: 3px;
        background: white;
        border-radius: 3px;
        transition: var(--transition);
        display: block;
    }

    /* Animate hamburger to X */
    .mobile-menu-toggle.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 80px 0;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        overflow-y: auto;
    }

    .links.active {
        right: 0;
    }

    .links a,
    .dropdown-trigger {
        width: 100%;
        padding: 1.5rem 2rem;
        justify-content: flex-start;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        height: auto;
    }

    .dropdown {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .dropdown-content {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: rgba(0, 0, 0, 0.15);
        border-top: none;
        box-shadow: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-trigger i {
        margin-left: auto;
    }

    .btn-header {
        margin: 2rem;
        width: calc(100% - 4rem);
        border-radius: 8px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-info-card {
        padding-right: 0;
        text-align: center;
    }

    .contact-details {
        align-items: center;
    }

    .detail-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-form-wrapper {
        padding: 40px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Page Header for Inner Pages */
.page-header {
    padding: 120px 0 80px;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    position: relative;
    z-index: 10;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
}

/* Lightbox Modal */
.gallery-item {
    cursor: pointer;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    animation: zoom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes zoom {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: 300;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10001;
    line-height: 0.5;
}

.close-lightbox:hover {
    color: var(--accent);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: var(--accent);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
    left: 30px;
}

.lightbox-nav.next {
    right: 30px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .lightbox-nav.prev {
        left: 15px;
    }

    .lightbox-nav.next {
        right: 15px;
    }

    .close-lightbox {
        top: 20px;
        right: 20px;
        font-size: 40px;
    }
}

.country-toggle {
    display: inline-flex;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 50px;
}

.country-btn {
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    background: transparent;
    transition: 0.3s;
}

.country-btn.active {
    background: var(--primary);
    color: white;
}

.section {
    padding: 50px 0;
}

.donate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    margin-top: 40px;
}

.way-item {
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #eee;
    margin-bottom: 20px;
    background: #fff;
}

.donation-card {
    padding: 40px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.amount-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.amount-buttons button {
    height: 50px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
}

.amount-input {
    width: 100%;
    height: 55px;
    margin-bottom: 20px;
    padding: 0 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.donate-btn {
    width: 100%;
    display: block;
    text-align: center;
    padding: 15px;
    border-radius: 50px;
}

.secure-text {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #64748b;
}

.donation-section {
    display: none;
}

.active-section {
    display: block;
}

.country-toggle {
    display: inline-flex;
    gap: 16px;
    padding: 10px;
}

.country-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    border-radius: 16px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.3s;
    background: #f1f5f9;
}

.country-card:hover {
    background: #e2e8f0;
}

.country-card.active {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.flag-img {
    width: 56px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.country-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
}

.country-card.active .country-label {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .donate-grid {
        grid-template-columns: 1fr;
    }
}

/* Form Validation & Feedback */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.shake {
    animation: shake 0.3s cubic-bezier(.36,.07,.19,.97) both;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
}

.contact-form .form-group:focus-within label {
    color: var(--primary);
    font-weight: 600;
}