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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fff;
    color: #333;
    line-height: 1.6;
}

/* Top Info Bar */
.top-bar {
    background: #0f1c2e;
    color: #fff;
    padding: 12px 0;
    font-size: 0.85rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.top-bar-left, .top-bar-right {
    display: flex;
    gap: 30px;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
}

.top-bar a:hover {
    color: #00bcd4;
}

.site-header {
    background: #fff;
    color: #333;
    padding: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    display: block;
    max-height: 70px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: #444;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    color: #00bcd4;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 3px;
    background: #00bcd4;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.main-nav a:hover::after {
    width: 100%;
}

.btn-donate {
    background: #00bcd4;
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-donate:hover {
    background: #0097a7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
}

.container {
    width: min(1200px, 94%);
    margin: 0 auto;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(0, 188, 212, 0.6) 100%);
    color: #fff;
    padding: 180px 0;
    text-align: left;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: #fff;
}

.hero-text .tagline {
    color: #00bcd4;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-text h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 30px;
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5), 0 0 1px rgba(255,255,255,0.3);
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 1.4rem;
    margin-bottom: 45px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    max-width: 650px;
    font-weight: 500;
}

/* Buttons */
.button, .btn-donate {
    display: inline-block;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    padding: 14px 35px;
    margin: 10px 15px 10px 0;
}

.button-primary {
    background: #00bcd4;
    color: #fff;
}

.button-primary:hover {
    background: #0097a7;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 188, 212, 0.3);
}

.button-secondary {
    background: #ff9800;
    color: #fff;
}

.button-secondary:hover {
    background: #f57c00;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 152, 0, 0.3);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section.light {
    background: #f9f9f9;
}

.section h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: #1a1a1a;
    font-weight: 700;
}

.section > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
}

/* Page Grid */
.page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
}

/* Cards */
.card {
    background: #fff;
    border-radius: 8px;
    padding: 45px 30px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 5px solid #00bcd4;
    text-align: center;
}

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

.card h2 {
    color: #1a1a1a;
    margin: 20px 0 15px;
    font-size: 2rem;
    font-weight: 700;
}

.card p {
    color: #666;
    line-height: 1.8;
}

.card a {
    display: inline-block;
    color: #00bcd4;
    text-decoration: none;
    font-weight: 700;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.card a:hover {
    color: #0097a7;
    margin-right: -5px;
}

/* Article Cards */
article {
    background: #fff;
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

article:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

article h2 {
    color: #1a1a1a;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
}

article p {
    color: #666;
    line-height: 1.8;
}

article a {
    display: inline-block;
    color: #00bcd4;
    text-decoration: none;
    font-weight: 700;
    margin-top: 15px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.stat-card h3 {
    color: #00bcd4;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.stat-card p {
    color: #666;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 0 30px;
}

.site-footer .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .site-footer .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .site-footer .container {
        grid-template-columns: 1fr;
    }
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-col a {
    color: #00bcd4;
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
}

.site-footer p {
    margin-bottom: 10px;
}

.site-footer a {
    color: #00bcd4;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

/* Page Banner Header */
.page-banner {
    width: 100%;
    height: 250px;
    background: linear-gradient(to right, #72c687 0%, #4db0b8 50%, #4a90e2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 0;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.page-banner h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-banner p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 15px;
    max-width: 800px;
    font-weight: 500;
    text-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .page-banner {
        height: 180px;
    }
}
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    background: #000;
}

.hero-slider .swiper {
    width: 100%;
    height: 100%;
}

.hero-slider .swiper-slide {
    display: flex;
    align-items: center;
}

.hero-slider .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.6;
    width: 12px;
    height: 12px;
}

.hero-slider .swiper-pagination-bullet-active {
    background: #00bcd4;
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: #fff;
    opacity: 0.7;
    background: rgba(0,0,0,0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    opacity: 1;
    background: #00bcd4;
}

.hero-slider .swiper-button-next:after,
.hero-slider .swiper-button-prev:after {
    font-size: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider {
        height: 500px;
    }
}
@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .top-bar-left, .top-bar-right {
        flex-direction: column;
        gap: 10px;
    }

    .header-right {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .section h1 {
        font-size: 2rem;
    }

    .page-grid, .stats-grid {
        grid-template-columns: 1fr;
    }

    .button {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

/* Horizontal Scroll Container */
.horizontal-scroll-container {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #00bcd4 #f0f0f0;
}

.horizontal-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.horizontal-scroll-container::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.horizontal-scroll-container::-webkit-scrollbar-thumb {
    background-color: #00bcd4;
    border-radius: 10px;
}

.scroll-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 30px !important;
    margin-top: 0 !important;
    justify-content: flex-start !important;
    padding: 10px;
}

.scroll-card {
    flex: 0 0 400px !important; /* Fixed width for cards in scroll */
    max-width: 400px !important;
}

@media (max-width: 768px) {
    .scroll-card {
        flex: 0 0 300px !important;
    }
}

/* Gallery - Lightroom Style */
.gallery-section.dark {
    background: #000;
    color: #fff;
    padding: 100px 0;
    min-height: 100vh;
}

.gallery-section.dark h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.gallery-section.dark .page-header p {
    color: #888;
    font-size: 1.1rem;
    max-width: 500px;
}

/* Gallery Filters */
.filter-btn {
    padding: 10px 25px;
    background: #111;
    color: #888;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid #222;
}

.filter-btn:hover {
    background: #222;
    color: #fff;
}

.filter-btn.active {
    background: #00bcd4;
    color: #fff;
    border-color: #00bcd4;
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 300px;
    gap: 20px;
    margin-top: 60px;
}

.masonry-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #111;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.media-container {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

.media-container img, .media-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.video-type .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.media-container:hover img, .media-container:hover video {
    transform: scale(1.08);
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    z-index: 3;
}

.media-container:hover .media-overlay {
    opacity: 1;
}

.overlay-content h3 {
    color: #fff;
    margin: 0 0 8px;
    font-size: 1.2rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.overlay-content p {
    color: #aaa;
    font-size: 0.9rem;
    margin: 0 0 15px;
    transform: translateY(20px);
    transition: transform 0.4s delay 0.1s ease;
}

.view-btn {
    display: inline-block;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #00bcd4;
    padding-bottom: 4px;
    transform: translateY(20px);
    transition: transform 0.4s delay 0.2s ease;
}

.media-container:hover .overlay-content h3,
.media-container:hover .overlay-content p,
.media-container:hover .view-btn {
    transform: translateY(0);
}

.empty-state {
    text-align: center;
    padding: 100px 0;
    color: #444;
}

@media (max-width: 768px) {
    .masonry-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .masonry-item, .masonry-item:nth-child(3n), .masonry-item:nth-child(4n) {
        grid-row: auto;
        grid-column: auto;
        aspect-ratio: 16/10;
    }
    .gallery-section.dark h1 {
        font-size: 2.5rem;
    }
}

/* Blog Specific Styles */
.blog-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.post-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.1);
}

.post-card-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-card h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-card h2 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-card h2 a:hover {
    color: #00bcd4;
}

.post-card p {
    color: #666;
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.7;
    flex-grow: 1;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
    margin-top: auto;
}

.read-more {
    color: #00bcd4;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Single Post Detail */
.post-detail {
    max-width: 850px;
    margin: 0 auto;
}

.post-header {
    text-align: center;
    margin-bottom: 60px;
}

.post-header h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.post-featured-image {
    width: 100%;
    max-height: 550px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-body {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #333;
}

.post-body p {
    margin-bottom: 30px;
}

/* Form Styling */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 20px 80px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a1a;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: #fcfcfc;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00bcd4;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.1);
}

.form-group input[type="file"] {
    padding: 15px;
    background: #f9f9f9;
    border: 2px dashed #ddd;
    border-radius: 10px;
    width: 100%;
}

.alert-error {
    background: #fff5f5;
    border-left: 5px solid #ff4d4d;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    color: #d63031;
}

@media (max-width: 768px) {
    .post-header h1 {
        font-size: 2.5rem;
    }
    .form-container {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .button {
        display: block;
        margin: 10px 0;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }
}

