/* ===== RESPONSIVE STYLES ===== */

/* Large tablets and small desktops */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-container {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .contact-content {
        gap: 2rem;
    }
}

/* Tablets */
@media screen and (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #FFFFFF;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .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);
    }

    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-tagline {
        font-size: 1.3rem;
    }
    
    .heartrate-animation {
        width: 250px;
        height: 120px;
    }
    
    /* Team Section */
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    .team-name {
        font-size: 1.2rem;
    }
    
    .coming-soon-title {
        font-size: 2rem;
    }
    
    .coming-soon-text {
        font-size: 1.1rem;
    }
    
    /* Apply Page */
    .apply-intro-title {
        font-size: 1.7rem;
    }
    
    .apply-intro-text {
        font-size: 1.1rem;
    }
    
    .positions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Page Headers */
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    /* Articles Grid */
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Preview Grid */
    .preview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Founders Grid */
    .founders-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    /* Contact Page */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Involvement Ways */
    .involvement-ways {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    /* Modal */
    .modal-content {
        width: 95%;
        margin: 2% auto;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
}

/* Mobile phones */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }

    /* Hero Section */
    .hero {
        padding: 90px 0 50px;
    }
    
    .hero-container {
        padding: 0 15px;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    /* Page Headers */
    .page-header {
        padding: 90px 0 30px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }

    /* Articles */
    .article-card {
        margin-bottom: 1rem;
    }
    
    .article-title {
        font-size: 1.2rem;
    }
    
    .article-summary {
        font-size: 0.95rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.25rem;
    }

    /* Individual Article */
    .article-content {
        padding: 2rem 0;
    }
    
    .article-text h2 {
        font-size: 1.5rem;
    }
    
    .article-text h3 {
        font-size: 1.3rem;
    }
    
    .article-placeholder-image {
        height: 200px;
        font-size: 3rem;
    }

    /* About Page */
    .founders-grid {
        grid-template-columns: 1fr;
    }
    
    .founder-photo {
        width: 120px;
        height: 120px;
    }
    
    .founder-name {
        font-size: 1.2rem;
    }

    /* Contact Form */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
    
    .submit-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    /* Contact Methods */
    .contact-method {
        padding: 1.5rem;
    }
    
    .contact-method h3 {
        font-size: 1.1rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
    }

    /* Modal Adjustments */
    .modal-content {
        width: 98%;
        margin: 1% auto;
    }
    
    .modal-body {
        padding: 1rem;
        max-height: 85vh;
    }
    
    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 1.5rem;
    }

    /* Spacing Adjustments */
    .mission,
    .featured-preview,
    .about-mission,
    .founders,
    .get-involved {
        padding: 2rem 0;
    }
}

/* Very small phones */
@media screen and (max-width: 320px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .cta-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .heartrate-animation {
        width: 200px;
        height: 100px;
    }
}

/* Landscape mobile phones */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 90px 0 40px;
        min-height: auto;
    }
    
    .page-header {
        padding: 90px 0 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .heartrate-animation {
        width: 180px;
        height: 90px;
    }
}
