/* Responsive Design */

/* Tablet Styles */
@media screen and (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-left h1 {
        font-size: 40px;
    }
    
    .hero-left h2 {
        font-size: 48px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .vision-mission {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        padding: 15px;
        display: block;
        font-size: 18px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-left h1 {
        font-size: 32px;
    }
    
    .hero-left h2 {
        font-size: 36px;
    }
    
    .hero-left p {
        font-size: 16px;
    }
    
    .volunteer-form {
        margin: 0 20px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .projects-grid,
    .blogs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-tabs {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .tab-btn {
        width: 200px;
        text-align: center;
    }
    
    .about-text h2 {
        font-size: 36px;
    }
    
    .mission-points {
        margin: 30px 0;
    }
    
    .mission-point {
        font-size: 16px;
    }
    
    .vm-item h3 {
        font-size: 20px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-top {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
    
    .footer-main {
        gap: 30px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .chat-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .chat-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Small Mobile Styles */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .logo {
        height: 40px;
    }
    
    .logo-text h1 {
        font-size: 20px;
    }
    
    .logo-text span {
        font-size: 16px;
    }
    
    .hero-left h1 {
        font-size: 28px;
    }
    
    .hero-left h2 {
        font-size: 32px;
    }
    
    .hero-left p {
        font-size: 14px;
    }
    
    .donate-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .volunteer-form {
        margin: 0 10px;
        padding: 15px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 12px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .projects-section,
    .about-section,
    .blogs-section {
        padding: 60px 0;
    }
    
    .project-content,
    .blog-content {
        padding: 20px;
    }
    
    .project-content h3,
    .blog-content h3 {
        font-size: 18px;
    }
    
    .about-text h2 {
        font-size: 28px;
    }
    
    .about-text p {
        font-size: 16px;
    }
    
    .vm-icon {
        width: 60px;
        height: 60px;
    }
    
    .vm-icon img {
        width: 30px;
        height: 30px;
    }
    
    .vm-item h3 {
        font-size: 18px;
    }
    
    .vm-item p {
        font-size: 14px;
    }
    
    .footer-content {
        padding: 0 15px;
    }
    
    .footer-logo-img {
        height: 50px;
    }
    
    .footer-logo-text h3 {
        font-size: 20px;
    }
    
    .footer-logo-text span {
        font-size: 16px;
    }
    
    .contact-info p {
        font-size: 14px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Landscape Mobile */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-content {
        grid-template-columns: 1fr 300px;
        gap: 30px;
    }
    
    .hero-left {
        text-align: left;
    }
}

/* High DPI Displays */
@media screen and (-webkit-min-device-pixel-ratio: 2),
       screen and (min-resolution: 192dpi) {
    .logo,
    .footer-logo-img,
    .hero-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .header,
    .nav-toggle,
    .chat-widget,
    .donate-btn,
    .submit-btn,
    .read-more {
        display: none !important;
    }
    
    .hero {
        background: none !important;
        color: #000 !important;
    }
    
    .footer {
        background: none !important;
        color: #000 !important;
    }
} 