/* UTTARSURI NGO Website Styles */
:root {
    --primary-dark: #00123A;
    --primary-medium: #243673;
    --accent-orange: #FF6B35;
    --light-gray: #F8F9FA;
    --text-dark: #2C3E50;
    --text-light: #6C757D;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 18, 58, 0.7);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.slide-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid var(--white);
}

.slide-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: slideInUp 1s ease-out;
}

.slide-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    animation: slideInUp 1s ease-out 0.2s both;
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.slider-dot.active {
    background: var(--accent-orange);
    transform: scale(1.2);
}

/* Quick Links Section */
.quick-links {
    padding: 80px 0;
    background: var(--light-gray);
}

.quick-link-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.quick-link-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.quick-link-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 24px;
    transition: all 0.3s ease;
}

.quick-link-card:hover .quick-link-icon {
    background: var(--accent-orange);
    transform: scale(1.1);
}

.quick-link-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--white);
}

.about-logo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-medium);
}

.about-content h2 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 36px;
}

.about-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 30px;
}

/* News Section */
.news-section {
    padding: 60px 0;
    background: var(--light-gray);
}

.news-container {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    max-height: 400px;
    overflow-y: auto;
}

.news-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-item:hover {
    background: var(--light-gray);
    padding-left: 10px;
}

.news-item:last-child {
    border-bottom: none;
}

.news-title {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.news-date {
    color: var(--text-light);
    font-size: 14px;
}

/* Goals Section */
.goals-section {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--primary-dark);
    margin-bottom: 50px;
}

.goal-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.goal-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-orange);
}

.goal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-medium), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 32px;
    transition: all 0.3s ease;
}

.goal-card:hover .goal-icon {
    transform: scale(1.1) rotate(5deg);
}

.goal-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

/* Detailed Goals */
.detailed-goals {
    padding: 60px 0;
    background: var(--light-gray);
}

.goal-detail {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

.goal-detail h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 24px;
}

.goal-detail ul {
    list-style: none;
    padding: 0;
}

.goal-detail li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.goal-detail li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
}

/* Members Section */
.members-section {
    padding: 80px 0;
    background: var(--white);
}

.member-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.member-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-medium), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 40px;
}

.member-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.gallery-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-slide {
    min-width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
}

.gallery-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.gallery-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-btn:hover {
    background: var(--accent-orange);
    color: var(--white);
}

/* Donation Section */
.donation-section {
    padding: 80px 0;
    background: var(--white);
}

.donation-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.donation-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-orange);
}

.donation-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-orange), #FF5722);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 36px;
}

.donation-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.donation-description {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 14px;
}

/* Contact CTA */
.contact-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
    color: var(--white);
    text-align: center;
}

.social-follow {
    margin-top: 30px;
}

.social-follow a {
    color: var(--white);
    font-size: 24px;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.social-follow a:hover {
    color: var(--accent-orange);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.footer-section h5 {
    color: var(--accent-orange);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    padding: 5px 0;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-orange);
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--accent-orange);
    width: 20px;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .slide-title {
        font-size: 32px;
    }
    
    .slide-subtitle {
        font-size: 16px;
    }
    
    .hero-slider {
        height: 400px;
    }
}

/* Campaigns Grid Styles */
.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.campaign-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.campaign-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.campaign-card.featured {
    border: 2px solid var(--accent-orange);
    transform: scale(1.02);
}

.campaign-card.featured:hover {
    transform: scale(1.02) translateY(-5px);
}

.campaign-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.campaign-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.campaign-card:hover .campaign-image img {
    transform: scale(1.05);
}

.campaign-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-orange);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.campaign-badge.upcoming {
    background: var(--primary-medium);
}

.campaign-content {
    padding: 25px;
}

.campaign-content h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1.4rem;
    font-weight: 700;
}

.campaign-category {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.campaign-description {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.campaign-progress {
    margin-bottom: 25px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.raised {
    color: var(--primary-dark);
    font-weight: 600;
}

.goal {
    color: var(--text-light);
}

.progress-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-medium));
    border-radius: 10px;
    transition: width 0.5s ease;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.stat {
    flex: 1;
}

.stat .number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.stat .label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.campaign-dates {
    margin-bottom: 25px;
}

.date-info, .goal-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.date-info i, .goal-info i {
    color: var(--primary-medium);
    width: 16px;
}

.campaign-actions {
    display: flex;
    gap: 12px;
}

.btn-donate {
    background: linear-gradient(135deg, var(--accent-orange), #ff8c42);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-donate:hover {
    background: linear-gradient(135deg, #ff8c42, var(--accent-orange));
    transform: translateY(-2px);
    color: var(--white);
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-outline:hover {
    background: var(--primary-dark);
    color: var(--white);
    text-decoration: none;
}

.no-campaigns {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.no-campaigns-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-campaigns h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.no-campaigns p {
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .campaigns-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .campaign-card.featured {
        transform: scale(1);
    }
    
    .campaign-card.featured:hover {
        transform: scale(1) translateY(-5px);
    }
    
    .campaign-content {
        padding: 20px;
    }
    
    .campaign-content h3 {
        font-size: 1.2rem;
    }
    
    .campaign-actions {
        flex-direction: column;
    }
    
    .btn-donate, .btn-outline {
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .campaigns-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .campaign-image {
        height: 200px;
    }
    
    .campaign-content {
        padding: 15px;
    }
    
    .progress-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .stat {
        text-align: center;
    }
}
