/* General Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #333;
}

/* Container */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 2rem;
}

/* Header */
header {
    background: linear-gradient(135deg, #1a3a52 0%, #2c5f8d 100%);
    color: #fff;
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
}

header nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

header nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s, transform 0.3s;
    font-size: 0.95rem;
    white-space: nowrap;
}

header nav a:hover {
    color: #ffc107;
    transform: translateY(-2px);
}

header nav a .fa-shopping-cart {
    font-size: 1.2rem; /* Adjust as needed to match other nav links */
}

/* Hero Section */
.hero {
    background: url('images/website-image-home-screen.png') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn {
    background: #ffc107;
    color: #1a3a52;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: #ffca28;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #1a3a52;
}

/* Sections */
section {
    padding: 5rem 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a3a52;
    font-weight: 700;
}

section > .container > p {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.light-section {
    background-color: #f0f4f8;
}

/* Mission Stats */
.mission-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box h3 {
    font-size: 2.5rem;
    color: #ffc107;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-box p {
    color: #666;
    font-weight: 600;
}

/* Cards for programs, news, products */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex; /* Added for vertical alignment */
    flex-direction: column; /* Added for vertical alignment */
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-img {
    width: 100%;
    height: 450px; /* Increased height for board members images */
    object-fit: cover;
    object-position: 50% 29%; /* Further adjustment to move face up */
    background: #e0e0e0;
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1; /* Allows content to take up remaining space */
    display: flex; /* Added for content alignment */
    flex-direction: column; /* Added for content alignment */
    justify-content: space-between; /* Pushes buttons to bottom */
}

.card h3 {
    margin-bottom: 0.5rem;
    color: #1a3a52;
    font-size: 1.3rem;
}

.card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
}

.values-card .card-content {
    padding: 2rem 1.5rem;
}

.values-card .card-content h3 {
    margin-bottom: 1rem;
}

.values-card .card-content p {
    margin-bottom: 0;
    line-height: 1.5;
}

.impact-card .card-content {
    padding: 2rem 1.5rem;
}

.impact-card .card-content p {
    line-height: 1.6;
}

.impact-card .card-content p:first-child {
    font-style: italic;
    margin-bottom: 1rem;
}

.impact-card .card-content p:last-child {
    margin-bottom: 0;
    margin-top: 1rem;
}

.card .price {
    font-size: 1.5rem;
    color: #ffc107;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card .btn {
    width: 100%;
    text-align: center;
    padding: 0.8rem;
}

/* Product Grid / Merchandise Grid */
.product-grid,
.merchandise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.merch-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.merch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.merch-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: #f0f4f8;
}

.merch-info {
    padding: 1.5rem;
}

.merch-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1a3a52;
    display: block;
    visibility: visible;
}

.merch-category {
    display: inline-block;
    padding: 3px 10px;
    background: #f0f4f8;
    border-radius: 15px;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.merch-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffc107;
    margin: 0.5rem 0;
}

.merch-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.merch-meta {
    font-size: 0.85rem;
    color: #666;
    margin: 0.5rem 0;
    line-height: 1.4;
}

.merch-meta strong {
    color: #1a3a52;
    font-weight: 600;
}

.btn-add-to-cart {
    width: 100%;
    padding: 0.75rem;
    background: #ffc107;
    color: #1a3a52;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-add-to-cart:hover {
    background: #ffca28;
    transform: translateY(-2px);
}

/* Events Section */
#events-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.event-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.event-image-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.event-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.event-card:hover .event-image-container img {
    transform: scale(1.05);
}

.event-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.featured-badge {
    background: #ffc107;
    color: #1a3a52;
}

.soldout-badge {
    background: #dc3545;
    color: #fff;
}

.almostsoldout-badge {
    background: #ff9800;
    color: #fff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.event-details {
    padding: 1.5rem;
}

.event-details h3 {
    color: #1a3a52;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.event-meta p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.event-meta i {
    color: #ffc107;
    min-width: 20px;
}

.event-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.btn-disabled {
    background: #ccc !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.btn-disabled:hover {
    transform: none !important;
}

/* Event Modal */
.event-modal-content {
    max-width: 900px;
}

.event-modal-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.event-modal-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
}

.event-modal-details h2 {
    margin: 0 0 1rem 0;
    color: #1a3a52;
    font-size: 2rem;
}

.event-modal-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.event-modal-meta p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    color: #666;
}

.event-modal-meta i {
    color: #ffc107;
    min-width: 20px;
}

.event-modal-description {
    margin-bottom: 1.5rem;
}

.event-modal-description h3 {
    color: #1a3a52;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.event-modal-description p {
    color: #666;
    line-height: 1.6;
}

.ticket-selector {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.ticket-selector h3 {
    color: #1a3a52;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.ticket-total {
    margin-top: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a3a52;
    text-align: right;
}

.ticket-total span {
    color: #ffc107;
}

.btn-purchase-ticket {
    width: 100%;
    padding: 1.2rem;
    background: #ffc107;
    color: #1a3a52;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-purchase-ticket:hover {
    background: #ffca28;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.soldout-message {
    text-align: center;
    padding: 2rem;
    font-size: 1.2rem;
    color: #dc3545;
    font-weight: 600;
}

/* Responsive Events */
@media (max-width: 768px) {
    .event-modal-container {
        grid-template-columns: 1fr;
    }
    
    .event-modal-image img {
        height: 250px;
    }
}

/* Plans Section */
.plan-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    border: 3px solid #e0e0e0;
    transition: all 0.3s;
}

.plan-card:hover {
    border-color: #ffc107;
    transform: scale(1.05);
}

.plan-card.featured {
    border-color: #ffc107;
    box-shadow: 0 8px 30px rgba(255, 193, 7, 0.2);
}

.plan-card h3 {
    font-size: 1.8rem;
    color: #1a3a52;
    margin-bottom: 1rem;
}

.plan-card .price {
    font-size: 2.5rem;
    color: #ffc107;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.plan-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.plan-card ul li {
    padding: 0.5rem 0;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.plan-card ul li:before {
    content: "✓ ";
    color: #4caf50;
    font-weight: 700;
    margin-right: 0.5rem;
}

/* Social Media Section */
.social-media {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #1a3a52 0%, #2c5f8d 100%);
    color: #fff;
}

.social-media h2 {
    color: #fff;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.social-icon:hover {
    background: #ffc107;
    color: #1a3a52;
    transform: translateY(-5px);
    border-color: #ffc107;
}

.social-icon i {
    font-size: 2rem;
    text-align: center;
}

/* Social icons on a light background (contact page) */
.social-media-light .social-icon {
    background: #f0f4f8; /* Light grey background */
    color: #1a3a52; /* Dark blue icon color */
}

.social-media-light .social-icon:hover {
    background: #1a3a52; /* Dark blue background on hover */
    color: #fff; /* White icon color on hover */
}

/* Donation Section */
.donation-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.donation-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.donation-card:hover {
    transform: translateY(-5px);
}

.donation-card h3 {
    color: #1a3a52;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.donation-amount {
    font-size: 2rem;
    color: #ffc107;
    font-weight: 700;
    margin: 1rem 0;
}

/* Footer */
footer {
    background: #1a3a52;
    color: #fff;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #ffc107;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #ffc107;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Contact Form */
.contact-form {
    background: #fff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1a3a52;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a3a52;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    background: #fff;
}

/* Image Placeholders */
.img-placeholder {
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: 600;
}

/* Logo Styles */
.header-logo {
    max-height: 60px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    header nav {
        gap: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .product-modal-container {
        padding: 10px;
    }
    
    .product-modal-content {
        width: 95%;
        max-height: 95vh;
        margin: 2.5vh auto;
    }

    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    header h1 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .logo-text-container {
        width: 100%;
        justify-content: center;
    }

    header nav {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    header nav a {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        white-space: nowrap;
    }
    
    header nav a:hover {
        background: rgba(255, 193, 7, 0.2);
    }

    .hero {
        padding: 4rem 1rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }

    section {
        padding: 3rem 0;
    }

    section h2 {
        font-size: 2rem;
    }
    
    section > .container > p {
        font-size: 1rem;
    }

    .event-card {
        flex-direction: column;
    }

    .cards-container,
    .product-grid,
    .merchandise-grid,
    #events-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mission-stats {
        grid-template-columns: 1fr;
    }
    
    .donation-options {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem auto;
        padding: 1.5rem;
    }
    
    .product-modal-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.25rem;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero-content h2 {
        font-size: 1.75rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    section h2 {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .stat-box h3 {
        font-size: 2rem;
    }
    
    .card-img {
        height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .modal-content {
        padding: 1rem;
        max-height: 95vh;
    }
    
    .cart-actions {
        flex-direction: column;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* News Grid Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.news-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #1a3a52;
}

.news-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #666;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-meta i {
    color: #ffc107;
}

/* Blogs Section */
.blogs .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.blogs .box {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.blogs .box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blogs .box .image {
    height: 250px; /* Adjusted height for blog images */
    width: 100%;
    overflow: hidden;
}

.blogs .box .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.blogs .box .content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blogs .box .content .icon {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #999;
}

.blogs .box .content .icon a {
    color: #999;
    text-decoration: none;
}

.blogs .box .content .icon a:hover {
    color: #ffc107;
}

.blogs .box .content .icon i {
    padding-right: 0.5rem;
    color: #ffc107;
}

.blogs .box .content h3 {
    font-size: 1.3rem;
    color: #1a3a52;
    margin-bottom: 0.5rem;
}

.blogs .box .content p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}
/* Existing styles for other cards, sections, etc. */
#mission-goals {
    background: linear-gradient(135deg, #1a3a52 0%, #2c5f8d 100%);
    padding: 5rem 0;
}

#mission-goals .container > h2,
#mission-goals .container > p {
    color: #fff;
}

.mission-goals-header {
    text-align: center;
    margin-bottom: 4rem;
}

.rocket-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.mission-goals-header h2 {
    color: #ffc107;
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.mission-goals-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

.goal-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.goal-card:hover {
    transform: translateY(-5px);
}

.goal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.goal-icon {
    font-size: 2rem;
}

.goal-header h3 {
    color: #1a3a52;
    font-size: 1.8rem;
    margin: 0;
}

.annual-goal .goal-header h3 {
    color: #ffc107;
}

.monthly-goal .goal-header h3 {
    color: #2196f3;
}

.written-goals .goal-header h3 {
    color: #9c27b0;
}

.goal-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

/* Circular Progress */
.circular-progress {
    position: relative;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-circle {
    transition: stroke-dashoffset 0.5s ease;
    stroke-linecap: round;
}

.progress-ring-circle-bg {
    opacity: 0.2;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.progress-text .percent {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffc107;
}

.progress-text .complete-text {
    display: block;
    font-size: 0.9rem;
    color: #666;
}

/* Linear Progress */
.linear-progress-container {
    width: 100%;
    margin-bottom: 2rem;
}

.linear-progress {
    position: relative;
    height: 30px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #2196f3, #64b5f6);
    border-radius: 15px;
    transition: width 0.5s ease;
}

.progress-percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Goal Details */
.goal-details {
    flex: 1;
    min-width: 250px;
    background: rgba(0, 0, 0, 0.03);
    padding: 1.5rem;
    border-radius: 15px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row span:first-child {
    color: #666;
    font-weight: 600;
}

.amount {
    font-size: 1.3rem;
    font-weight: 700;
}

.amount.raised {
    color: #4caf50;
}

.amount.goal {
    color: #ffc107;
}

.amount.remaining {
    color: #ff9800;
}

/* Written Goals */
.goals-list {
    margin-bottom: 1.5rem;
}

.goal-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.goal-item.completed {
    border-color: #4caf50;
    background: rgba(76, 175, 80, 0.05);
}

.goal-item.in-progress {
    border-color: #ff9800;
    background: rgba(255, 152, 0, 0.05);
}

.goal-item-icon {
    font-size: 1.5rem;
    min-width: 30px;
}

.goal-item-text {
    flex: 1;
    font-size: 1rem;
    color: #333;
}

.goal-item.completed .goal-item-text {
    text-decoration: line-through;
    color: #4caf50;
}

.goal-item.in-progress .goal-item-text {
    color: #ff9800;
}

.goals-summary {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    padding: 1.5rem;
    background: rgba(156, 39, 176, 0.1);
    border-radius: 12px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.summary-icon {
    font-size: 1.3rem;
    min-width: 25px;
    text-align: center;
}

.summary-icon.completed {
    color: #4caf50;
}

.summary-icon.in-progress {
    color: #ff9800;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

/* Responsive Mission Goals */
@media (max-width: 768px) {
    .goal-content {
        flex-direction: column;
    }
    
    .goal-details {
        width: 100%;
    }
    
    .goals-summary {
        flex-direction: column;
        gap: 1rem;
    }
    
    .mission-goals-header h2 {
        font-size: 2rem;
    }
    
    .rocket-icon {
        font-size: 3rem;
    }
}

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ffc107;
    color: #1a3a52;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

header nav a[href="#cart"] {
    position: relative;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #fff;
    margin: 2rem auto;
    padding: 0;
    border-radius: 15px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #666;
    z-index: 10;
    background: none;
    border: none;
    transition: color 0.3s;
}

.close-button:hover {
    color: #1a3a52;
}

/* Product Modal */
.product-modal-content {
    max-width: 700px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.product-modal-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    padding: 2rem;
    overflow-y: auto;
}

.product-modal-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}

.product-modal-details {
    display: flex;
    flex-direction: column;
}

.product-modal-details h2 {
    margin: 0 0 0.5rem 0;
    color: #1a3a52;
    font-size: 1.8rem;
}

.product-modal-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffc107;
    margin: 0.5rem 0;
}

.product-modal-category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: #f0f4f8;
    border-radius: 15px;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
}

.product-modal-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.product-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.product-option {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-option label {
    font-weight: 600;
    color: #1a3a52;
}

.product-option select {
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: border-color 0.3s;
}

.product-option select:focus {
    outline: none;
    border-color: #1a3a52;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.quantity-selector button:hover {
    background: #ffc107;
    color: #1a3a52;
    border-color: #ffc107;
}

.quantity-selector input {
    width: 60px;
    text-align: center;
    padding: 0.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
}

.btn-add-to-cart-modal {
    width: 100%;
    padding: 1rem;
    background: #ffc107;
    color: #1a3a52;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-add-to-cart-modal:hover {
    background: #ffca28;
    transform: translateY(-2px);
}

/* Cart Modal */
.cart-modal-content {
    max-width: 700px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #1a3a52;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 400px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    margin: 0 0 0.5rem 0;
    color: #1a3a52;
}

.cart-item-size {
    font-size: 0.9rem;
    color: #666;
    margin: 0.25rem 0;
}

.cart-item-price {
    color: #ffc107;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0.25rem 0 0 0;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-actions button {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.cart-item-actions button:hover {
    background: #ffc107;
    color: #1a3a52;
    border-color: #ffc107;
}

.cart-item-actions span {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

.btn-remove {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-remove:hover {
    background: #c82333;
}

.cart-total-section {
    text-align: right;
    margin-bottom: 1rem;
}

.cart-total-section h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #1a3a52;
}

.cart-total-section span {
    color: #ffc107;
}

.cart-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.cart-actions .btn-secondary {
    background: white;
    border: 2px solid #1a3a52;
    color: #1a3a52;
}

.cart-actions .btn-secondary:hover {
    background: #1a3a52;
    color: white;
}

/* Notification */
@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* Checkout Styles */
.checkout-section {
    margin-bottom: 2rem;
}

.checkout-section h3 {
    color: #1a3a52;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Stripe Card Element Styling */
#checkout-card-element,
#ticket-card-element {
    padding: 15px !important;
    border: 1px solid #ccc !important;
    border-radius: 8px !important;
    background: white !important;
    min-height: 50px !important;
}

.StripeElement {
    padding: 15px !important;
    min-height: 50px !important;
}

.StripeElement--focus {
    border-color: #1a3a52 !important;
    box-shadow: 0 0 0 3px rgba(26, 58, 82, 0.1) !important;
}

.StripeElement--invalid {
    border-color: #fa755a !important;
}

.StripeElement iframe {
    min-height: 20px !important;
}

.checkout-items-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.checkout-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.checkout-total {
    text-align: right;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 1rem;
}

.checkout-total h3 {
    margin: 0;
    color: #1a3a52;
    font-size: 1.5rem;
}

/* Responsive Cart */
@media (max-width: 768px) {
    .product-modal-container {
        grid-template-columns: 1fr;
    }
    
    .product-modal-image img {
        height: 250px;
    }
    
    .cart-actions {
        flex-direction: column;
    }
    
    .cart-actions button {
        width: 100%;
    }
}

/* Auth Modal Styles */
.auth-modal {
    padding: 0 !important;
    overflow-y: auto;
}

.auth-header {
    background: linear-gradient(135deg, #1a3a52 0%, #2c5f8d 100%);
    color: white;
    padding: 3rem 2rem 2rem;
    text-align: center;
    position: relative;
}

.auth-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 193, 7, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 3px solid #ffc107;
}

.auth-icon i {
    font-size: 2.5rem;
    color: #ffc107;
}

.auth-header h2 {
    color: white;
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
}

.auth-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

.auth-form {
    padding: 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1a3a52;
    font-weight: 600;
    font-size: 0.95rem;
}

.auth-form .form-group label i {
    color: #ffc107;
    margin-right: 0.5rem;
}

.auth-form .form-group input {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.auth-form .form-group input:focus {
    outline: none;
    border-color: #ffc107;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto !important;
    margin-top: 0.25rem;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.checkbox-group label {
    margin: 0 !important;
    font-weight: normal !important;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-group label i {
    color: #ffc107;
    margin-right: 0.5rem;
}

.auth-error {
    background: #fee;
    color: #d32f2f;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: none;
    border-left: 4px solid #d32f2f;
}

.auth-error:not(:empty) {
    display: block;
}

.auth-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.auth-btn i {
    font-size: 1.2rem;
}

.auth-footer {
    padding: 1.5rem 2rem 2rem;
    text-align: center;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.auth-footer p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

.auth-link {
    color: #ffc107;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s;
}

.auth-link:hover {
    color: #1a3a52;
    text-decoration: underline;
}

/* Auth Modal Close Button */
.auth-modal .close-button {
    color: white;
    font-size: 2rem;
    top: 1rem;
    right: 1.5rem;
    z-index: 10;
}

.auth-modal .close-button:hover {
    color: #ffc107;
}

/* Responsive Auth Modals */
@media (max-width: 480px) {
    .auth-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .auth-icon {
        width: 60px;
        height: 60px;
    }
    
    .auth-icon i {
        font-size: 2rem;
    }
    
    .auth-header h2 {
        font-size: 1.5rem;
    }
    
    .auth-form {
        padding: 1.5rem;
    }
    
    .auth-footer {
        padding: 1rem 1.5rem;
    }
}
