/* Large devices (desktops, less than 1200px) */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    /* Grid adjustments */
    .about-grid,
    .contact-grid,
    .solutions-grid,
    .sectors-grid,
    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Features and cards */
    .features-grid,
    .partners-grid,
    .values-grid,
    .quality-features {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Text adjustments */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}

/* Small devices (phones, less than 768px) */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 1rem;
    }

    /* Grid adjustments */
    .grid-3,
    .features-grid,
    .partners-grid,
    .values-grid,
    .quality-features {
        grid-template-columns: 1fr;
    }

    /* Section padding */
    section {
        padding: 2rem 0;
    }

    /* Text adjustments */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .intro-text {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Card and content spacing */
    .card,
    .solution-card,
    .sector-card,
    .service-card,
    .product-card {
        padding: 1.5rem;
    }

    /* Form elements */
    .form-group {
        margin-bottom: 1rem;
    }

    input,
    textarea {
        padding: 0.75rem;
    }

    /* Buttons */
    .btn,
    .btn-primary,
    .btn-outline {
        padding: 0.75rem 1.5rem;
    }

    /* Profile page specific */
    .profile-container {
        flex-direction: column;
    }

    .sidenav {
        width: 100%;
        margin-bottom: 2rem;
    }

    .main {
        margin-left: 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1rem;
        box-shadow: var(--shadow-md);
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        margin: 0;
    }

    .nav-menu a {
        padding: 0.75rem 0;
        width: 100%;
        display: block;
    }

    /* Hamburger animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* Extra small devices (small phones, less than 576px) */
@media (max-width: 576px) {
    .container {
        padding: 0 0.75rem;
    }

    /* Further text size reductions */
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    /* Tighter spacing */
    section {
        padding: 1.5rem 0;
    }

    .card,
    .solution-card,
    .sector-card,
    .service-card,
    .product-card {
        padding: 1rem;
    }

    /* Stack elements vertically */
    .message-content,
    .director-message {
        flex-direction: column;
    }

    .director-image {
        margin: 0 auto 1.5rem;
    }
} 

/* Add these styles to your shared-responsive.css */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 100;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger Animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1rem;
        box-shadow: var(--shadow-md);
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        margin: 0;
    }

    .nav-menu a {
        padding: 0.75rem 0;
        width: 100%;
        display: block;
    }

    /* Hamburger animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
} 