/* Responsive Design */
@media (max-width: 768px) {
    .strengths-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* General Responsive Styles */
@media (max-width: 1400px) {
    header {
        padding: 1.5rem 5rem;
    }

    .hero-content {
        padding: 8rem 5rem;
    }

    .container {
        max-width: 1140px;
    }
}

@media (max-width: 1200px) {
    header {
        padding: 1.5rem 3rem;
    }

    .hero-content {
        padding: 6rem 3rem;
    }

    .container {
        max-width: 960px;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    .services-grid,
    .strengths-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        padding: 6rem 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section-header {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }

    .section-description {
        padding: 0;
        font-size: 1rem;
    }
    
    .service-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    nav ul {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .container {
        max-width: 540px;
        padding: 0 1rem;
    }

    .services-grid,
    .strengths-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card,
    .strength-card {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-social,
    .social-links {
        justify-content: center;
    }

    .strengths-grid {
        gap: 2rem;
    }

    .footer-content {
        text-align: center;
    }

    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .footer-links ul li {
        margin-bottom: 0;
    }

    .footer-social {
        align-items: center;
    }

    .social-links {
        justify-content: center;
        gap: 1.5rem;
    }

    .services-section .section-description {
        font-size: 1rem;
        padding: 0;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        padding: 0.8rem;
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 4rem 1rem;
        width: auto;
        max-width: 90%;
        margin: 0 auto;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 1rem;
    }

    .button {
        width: auto;
        min-width: 200px;
        max-width: 100%;
        text-align: center;
        padding: 0.8rem 1.5rem;
        margin: 0 auto;
        display: block;
    }

    .hero-content p {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .services-section {
        padding: 4rem 0;
    }
    
    .service-header {
        flex-direction: row;
        align-items: center;
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .service-icon {
        padding: 0.6rem;
        font-size: 1.8rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }

    .section-header {
        padding: 0;
    }

    .section-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

/* Add a new media query for even smaller screens */
@media (max-width: 400px) {
    .hero-content {
        padding: 3rem 0.5rem;
        max-width: 95%;
    }

    .button {
        min-width: 180px;
        font-size: 0.8rem;
        padding: 0.7rem 1.2rem;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
}

/* Fix for very small devices */
@media (max-width: 360px) {
    .logo-text {
        font-size: 1.4rem;
    }

    .logo-text span {
        font-size: 1.1rem;
    }

    nav ul {
        gap: 1rem;
    }

    nav ul li a {
        font-size: 0.8rem;
    }
}

/* Add to existing media queries */
@media (max-width: 768px) {
    .mission-content {
        padding: 1.5rem;
    }

    .mission-content p {
        padding: 0;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {

    .mission-content h2 {
        font-size: 1.8rem;
    }

    .mission-icon {
        font-size: 3rem;
        padding: 1.2rem;
    }
}

/* Add to existing media queries */
@media (max-width: 992px) {
    .mission-points {
        padding: 1.2rem;
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .mission-points {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }

    .point-item {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .mission-points {
        margin: 1.5rem 0;
    }

    .point-item h3 {
        font-size: 1rem;
    }

    .point-item p {
        font-size: 0.85rem;
    }

    .point-header {
        gap: 0.4rem;
    }

    .point-icon {
        font-size: 1.1rem;
    }

    .point-item h3 {
        font-size: 0.95rem;
    }
}

/* Add to existing media queries */
@media (max-width: 768px) {
    .projects-table th,
    .projects-table td {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .projects-table th,
    .projects-table td {
        padding: 0.8rem;
        font-size: 0.85rem;
    }
}
