/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #e74c3c;
}

.nav-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

/* Logo image styling */
.nav-logo img {
    height: 40px;
    max-height: 40px;
    width: auto;
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #e74c3c;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #e74c3c;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #e74c3c;
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
}

.btn-outline {
    background: transparent;
    color: #e74c3c;
    border: 2px solid #e74c3c;
}

.btn-outline:hover {
    background: #e74c3c;
    color: white;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: #f8f9fa;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.stat-item p {
    color: #666;
    font-size: 1.1rem;
}

/* Causes Section */
.causes {
    padding: 100px 0;
    background: white;
}

.causes h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.causes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.cause-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.cause-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.cause-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.cause-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cause-card:hover .cause-image img {
    transform: scale(1.1);
}

.cause-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(231, 76, 60, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cause-card:hover .cause-overlay {
    opacity: 1;
}

.cause-overlay i {
    font-size: 3rem;
    color: white;
}

.cause-content {
    padding: 30px;
}

.cause-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.cause-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.cause-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.cause-stats span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
}

.cause-stats i {
    color: #e74c3c;
}

.cause-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: #f8f9fa;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #333;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
}

.testimonial-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 25px;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #333;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #e74c3c;
    width: 30px;
}

.contact-item h4 {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.contact-item p {
    color: #666;
}

.social-links h4 {
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #e74c3c;
}

.amount-options {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.amount-btn {
    padding: 10px 20px;
    border: 2px solid #e1e5e9;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-btn:hover,
.amount-btn.active {
    border-color: #e74c3c;
    background: #e74c3c;
    color: white;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 15px;
}

.footer-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.footer-logo img {
    height: 40px;
    max-height: 40px;
    width: auto;
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
}

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #e74c3c;
}

.footer-section p {
    color: #bdc3c7;
    margin-bottom: 10px;
}

.footer-section p i {
    margin-right: 10px;
    color: #e74c3c;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: white;
    margin: 0;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close:hover {
    color: #e74c3c;
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .causes-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .mission-vision-grid {
        gap: 40px;
    }
    
    .story-content {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 20px 60px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .impact-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .featured-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .collaboration-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 50px;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item {
        padding: 20px;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .causes-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cause-card {
        margin: 0 10px;
    }

    .cause-actions {
        flex-direction: column;
        gap: 10px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .amount-options {
        justify-content: center;
        flex-wrap: wrap;
    }

    .amount-btn {
        flex: 1;
        min-width: 80px;
    }

    .modal-content {
        margin: 0;
        padding: 30px 20px;
        width: 95%;
        max-height: 90vh;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .mission-card, .vision-card {
        padding: 30px 20px;
    }

    .story-stats {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .help-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .opportunities-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stories-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .posts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .collaboration-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .newsletter-form .form-group {
        flex-direction: column;
        gap: 15px;
    }

    .newsletter-form input {
        width: 100%;
    }

    .newsletter-features {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo span {
        font-size: 1.2rem;
    }

    .hero {
        padding: 80px 15px 40px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 200px;
    }

    .page-hero {
        padding: 100px 0 60px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }

    .causes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cause-card {
        margin: 0 5px;
    }
    
    .cause-content {
        padding: 20px;
    }
    
    .cause-stats {
        flex-direction: column;
        gap: 10px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-item {
        padding: 15px;
    }

    .stat-item h3 {
        font-size: 1.8rem;
    }
    
    .stat-item i {
        font-size: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial {
        padding: 30px 20px;
    }

    .contact-content {
        gap: 30px;
    }
    
    .contact-form {
        padding: 20px 15px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 20px;
    }

    .modal-content {
        margin: 0;
        padding: 20px 15px;
        width: 98%;
        max-height: 90vh;
    }
    
    .amount-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .amount-btn {
        width: 100%;
        padding: 12px;
    }

    .mission-card, .vision-card {
        padding: 25px 15px;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
    }
    
    .card-icon i {
        font-size: 1.5rem;
    }

    .story-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .story-stats .stat h4 {
        font-size: 1.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .value-card {
        padding: 25px 15px;
    }
    
    .value-icon {
        width: 50px;
        height: 50px;
    }
    
    .value-icon i {
        font-size: 1.3rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .member-image {
        height: 200px;
    }
    
    .member-info {
        padding: 20px;
    }

    .impact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .impact-item {
        padding: 25px 15px;
    }
    
    .impact-icon {
        width: 60px;
        height: 60px;
    }
    
    .impact-icon i {
        font-size: 1.5rem;
    }
    
    .impact-stats {
        flex-direction: column;
        gap: 15px;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .partner-item {
        padding: 25px 15px;
    }

    .help-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .help-card {
        padding: 25px 15px;
    }
    
    .help-icon {
        width: 60px;
        height: 60px;
    }
    
    .help-icon i {
        font-size: 1.5rem;
    }

    .opportunities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .opportunity-content {
        padding: 20px;
    }
    
    .opportunity-details {
        flex-direction: column;
        gap: 10px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefit-item {
        padding: 25px 15px;
    }
    
    .benefit-icon {
        width: 50px;
        height: 50px;
    }
    
    .benefit-icon i {
        font-size: 1.3rem;
    }

    .stories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .story-card {
        padding: 25px 15px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .category-card {
        padding: 20px 15px;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
    }
    
    .category-icon i {
        font-size: 1.2rem;
    }

    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .post-content {
        padding: 20px;
    }

    .collaboration-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .collaboration-card {
        padding: 25px 15px;
    }
    
    .collaboration-icon {
        width: 60px;
        height: 60px;
    }
    
    .collaboration-icon i {
        font-size: 1.5rem;
    }

    .newsletter-content {
        gap: 30px;
    }
    
    .newsletter-form {
        padding: 25px 15px;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-form input {
        width: 100%;
        padding: 12px 15px;
    }
    
    .newsletter-form button {
        width: 100%;
        padding: 12px 20px;
    }
    
    .newsletter-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-features span {
        font-size: 0.85rem;
    }

    .featured-content {
        gap: 30px;
    }
    
    .featured-image img {
        height: 250px;
    }
    
    .story-highlights {
        flex-direction: column;
        gap: 20px;
    }
    
    .highlight h4 {
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cause-card,
.testimonial,
.stat-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* Page Hero */
.page-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Mission & Vision */
.mission-vision {
    padding: 100px 0;
    background: white;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.mission-card, .vision-card {
    text-align: center;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

.mission-card h3, .vision-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.mission-card p, .vision-card p {
    color: #666;
    line-height: 1.6;
}

/* Our Story */
.our-story {
    padding: 100px 0;
    background: #f8f9fa;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
}

.story-text p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.story-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.story-stats .stat {
    text-align: center;
}

.story-stats .stat h4 {
    font-size: 2rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 5px;
}

.story-stats .stat p {
    color: #666;
    font-size: 0.9rem;
}

.story-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Values */
.values {
    padding: 100px 0;
    background: white;
}

.values h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #333;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.value-icon i {
    font-size: 1.8rem;
    color: white;
}

.value-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

/* Team */
.team {
    padding: 100px 0;
    background: #f8f9fa;
}

.team h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-member {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 30px;
}

.member-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.member-role {
    color: #e74c3c;
    font-weight: 500;
    margin-bottom: 15px;
}

.member-bio {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.member-social {
    display: flex;
    gap: 15px;
}

.member-social a {
    width: 35px;
    height: 35px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.member-social a:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* Impact */
.impact {
    padding: 100px 0;
    background: white;
}

.impact h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #333;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.impact-item {
    text-align: center;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.impact-item:hover {
    transform: translateY(-5px);
}

.impact-icon {
    width: 80px;
    height: 80px;
    background: #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.impact-icon i {
    font-size: 2rem;
    color: white;
}

.impact-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #333;
}

.impact-stats {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.impact-stats .stat {
    text-align: center;
}

.impact-stats .stat h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 5px;
}

.impact-stats .stat p {
    color: #666;
    font-size: 0.9rem;
}

/* Partners */
.partners {
    padding: 100px 0;
    background: #f8f9fa;
}

.partners h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.partner-item {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
}

.partner-logo {
    width: 70px;
    height: 70px;
    background: #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.partner-logo i {
    font-size: 1.8rem;
    color: white;
}

.partner-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.partner-item p {
    color: #666;
    line-height: 1.6;
}

/* CTA */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Ways to Help */
.ways-to-help {
    padding: 100px 0;
    background: white;
}

.ways-to-help h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #333;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.help-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.help-card:hover {
    transform: translateY(-5px);
}

.help-icon {
    width: 80px;
    height: 80px;
    background: #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.help-icon i {
    font-size: 2rem;
    color: white;
}

.help-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.help-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.help-features {
    list-style: none;
    margin-bottom: 30px;
}

.help-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #666;
}

.help-features i {
    color: #e74c3c;
    font-size: 0.9rem;
}

/* Volunteer Opportunities */
.volunteer-opportunities {
    padding: 100px 0;
    background: #f8f9fa;
}

.volunteer-opportunities h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #333;
}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.opportunity-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.opportunity-card:hover {
    transform: translateY(-5px);
}

.opportunity-image {
    height: 200px;
    overflow: hidden;
}

.opportunity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.opportunity-content {
    padding: 30px;
}

.opportunity-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.opportunity-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.opportunity-details {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.opportunity-details span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 0.9rem;
}

.opportunity-details i {
    color: #e74c3c;
}

/* Volunteer Benefits */
.volunteer-benefits {
    padding: 100px 0;
    background: white;
}

.volunteer-benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #333;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.benefit-item {
    text-align: center;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.benefit-icon i {
    font-size: 1.8rem;
    color: white;
}

.benefit-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
}

/* Volunteer Stories */
.volunteer-stories {
    padding: 100px 0;
    background: #f8f9fa;
}

.volunteer-stories h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #333;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.story-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
}

.story-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 25px;
    font-style: italic;
    line-height: 1.6;
}

.story-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.story-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.story-author h4 {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.story-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Featured Story */
.featured-story {
    padding: 100px 0;
    background: white;
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.featured-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #e74c3c;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.story-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.story-category {
    background: #e74c3c;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.story-date {
    color: #666;
    font-size: 0.9rem;
}

.featured-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.3;
}

.featured-text p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.story-highlights {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.highlight {
    text-align: center;
}

.highlight h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 5px;
}

.highlight p {
    color: #666;
    font-size: 0.9rem;
}

/* Blog Categories */
.blog-categories {
    padding: 100px 0;
    background: #f8f9fa;
}

.blog-categories h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #333;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.category-card {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover,
.category-card.active {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: #e74c3c;
    color: white;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon,
.category-card.active .category-icon {
    background: white;
}

.category-icon i {
    font-size: 1.5rem;
    color: white;
    transition: color 0.3s ease;
}

.category-card:hover .category-icon i,
.category-card.active .category-icon i {
    color: #e74c3c;
}

.category-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.category-card p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Blog Posts */
.blog-posts {
    padding: 100px 0;
    background: white;
}

.blog-posts h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #333;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.blog-post {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.post-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e74c3c;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.post-content {
    padding: 30px;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.post-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.4;
}

.post-excerpt {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #c0392b;
}

.load-more {
    text-align: center;
}

/* Collaboration Opportunities */
.collaboration-opportunities {
    padding: 100px 0;
    background: #f8f9fa;
}

.collaboration-opportunities h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #333;
}

.collaboration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.collaboration-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.collaboration-card:hover {
    transform: translateY(-5px);
}

.collaboration-icon {
    width: 80px;
    height: 80px;
    background: #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.collaboration-icon i {
    font-size: 2rem;
    color: white;
}

.collaboration-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.collaboration-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.collaboration-benefits {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.collaboration-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #666;
}

.collaboration-benefits i {
    color: #e74c3c;
    font-size: 0.9rem;
}

/* Newsletter */
.newsletter {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.newsletter h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.newsletter p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.newsletter-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.newsletter-form .form-group {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
}

.newsletter-form button {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    background: #e74c3c;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.newsletter-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.newsletter-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.newsletter-features i {
    color: #e74c3c;
}

/* Enhanced Mobile Navigation */
@media (max-width: 768px) {
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }
    
    .cause-card:hover {
        transform: none;
    }
    
    .testimonial:hover {
        transform: none;
    }
    
    .stat-item:hover {
        transform: none;
    }
    
    .team-member:hover {
        transform: none;
    }
    
    .value-card:hover {
        transform: none;
    }
    
    .benefit-item:hover {
        transform: none;
    }
    
    .story-card:hover {
        transform: none;
    }
    
    .blog-post:hover {
        transform: none;
    }
    
    .collaboration-card:hover {
        transform: none;
    }
    
    .partner-item:hover {
        transform: none;
    }
    
    .impact-item:hover {
        transform: none;
    }
    
    .help-card:hover {
        transform: none;
    }
    
    .opportunity-card:hover {
        transform: none;
    }
}

/* Improved form inputs for mobile */
@media (max-width: 768px) {
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 15px 12px;
    }
    
    .newsletter-form input {
        font-size: 16px;
    }
}

/* Better spacing for mobile */
@media (max-width: 480px) {
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .cause-content h3 {
        font-size: 1.2rem;
    }
    
    .cause-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .member-info h3 {
        font-size: 1.1rem;
    }
    
    .member-bio {
        font-size: 0.9rem;
    }
    
    .value-card h3 {
        font-size: 1.1rem;
    }
    
    .value-card p {
        font-size: 0.9rem;
    }
    
    .benefit-item h3 {
        font-size: 1.1rem;
    }
    
    .benefit-item p {
        font-size: 0.9rem;
    }
    
    .post-title {
        font-size: 1.1rem;
    }
    
    .post-excerpt {
        font-size: 0.9rem;
    }
    
    .collaboration-card h3 {
        font-size: 1.2rem;
    }
    
    .collaboration-card p {
        font-size: 0.9rem;
    }
}

/* Touch device optimizations */
.touch-device .btn:hover {
    transform: none;
}

.touch-device .cause-card:hover {
    transform: none;
}

.touch-device .testimonial:hover {
    transform: none;
}

.touch-device .stat-item:hover {
    transform: none;
}

.touch-device .team-member:hover {
    transform: none;
}

.touch-device .value-card:hover {
    transform: none;
}

.touch-device .benefit-item:hover {
    transform: none;
}

.touch-device .story-card:hover {
    transform: none;
}

.touch-device .blog-post:hover {
    transform: none;
}

.touch-device .collaboration-card:hover {
    transform: none;
}

.touch-device .partner-item:hover {
    transform: none;
}

.touch-device .impact-item:hover {
    transform: none;
}

.touch-device .help-card:hover {
    transform: none;
}

.touch-device .opportunity-card:hover {
    transform: none;
}

/* Touch active states */
.btn.touch-active {
    transform: scale(0.95);
    opacity: 0.8;
}

/* Form focus states */
.form-group.focused input,
.form-group.focused textarea,
.form-group.focused select {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* Image loading states */
img {
    transition: opacity 0.3s ease;
}

/* Mobile-specific button styles */
@media (max-width: 768px) {
    .btn {
        min-height: 44px; /* iOS recommended touch target size */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .amount-btn {
        min-height: 44px;
    }
    
    .social-link {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Improved mobile typography */
@media (max-width: 480px) {
    body {
        font-size: 14px;
        line-height: 1.5;
    }
    
    h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    
    h4 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #e74c3c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
