/* Responsive Design */
@media (max-width: 900px) {
    .header {
        padding: 0 2%;
    }
    .header nav ul {
        gap: 20px;
    }
    .language-selector {
        margin-left: 10px;
    }

    .card, .card.reverse {
        grid-template-columns: 1fr;
        max-width: 90%; /* Maintain 90% width on smaller screens */
        margin: 0 auto; /* Keep centered */
    }
    .card.reverse .card-text {
        order: 0;
    }
    .card.reverse .card-image {
        order: 0;
    }

    .card-image {
        height: 250px; /* Adjust height for tablets/large phones */
    }

    /* Card text padding adjustment for smaller screens */
    .card-text {
        padding: 2rem 5%; /* Adjusted padding for tablet/smaller screens */
    }

    .about-section {
        padding: 3rem 5%;
    }
    .about-section h3 {
        font-size: 1.8rem;
    }
    .about-section p {
        font-size: 1rem;
    }
    .hero h2 {
        font-size: 2.2rem; /* Adjusted for a classier style */
    }
    .hero-content .subtitle {
        font-size: 1.2rem;
    }

    .scroll-down-arrow {
        font-size: 2.5rem; /* Slightly adjust size for mobile */
        bottom: 70px; /* Adjust position for better visibility */
    }

    .content-grid {
        padding: 2rem 0 2rem; /* Adjusted padding for mobile, still 0 horizontal for full width */
        gap: 2rem; /* Reduced gap between cards */
    }
    .card {
        max-width: 90%; /* Maintain 90% width on very small screens */
        margin: 0 auto; /* Keep centered */
    }
    .card-image {
        height: 180px; /* Further reduce height for mobile */
    }
    .card-text {
        padding: 1.5rem 5%; /* Adjusted padding for mobile */
    }
    .card-text h3 {
        font-size: 1.4rem;
    }
    .card-text p {
        font-size: 0.9rem;
    }

    .sectors-section {
        padding: 2.5rem 5% 3rem; /* Adjusted padding for section */
    }

    .sectors-section .section-title {
        padding-bottom: 2rem; /* Adjusted padding */
    }

    .sectors-grid {
        grid-template-columns: 1fr; /* Force single column on very small screens */
        gap: 1.5rem; /* Reduced gap */
    }
    .sector-card {
        height: 250px; /* Fixed height for consistent look on mobile single column */
    }
    .sector-card h4 {
        font-size: 1rem;
    }
    .sector-overlay {
        padding: 0.8rem 1rem;
    }

    .footer {
        padding: 1.5rem 5%;
        font-size: 0.9rem;
    }

    .contact-content h3 {
        font-size: 1.8rem;
    }
    .contact-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .animated-hero .reveal-text {
        font-size: 3rem;
        text-align: center;
    }

    .animated-hero .line {
        height: 40px;
    }

    .contact-content p {
        font-size: 1rem;
    }
}