/* Mobile Menu Styles */
.hamburger {
    display: none;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0.5rem;
    z-index: 1002;
}

.hamburger svg {
    width: 24px;
    height: 24px;
    color: #2563eb;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-text {
        padding-right: 0;
    }

    .about-image {
        height: 400px;
        order: -1;
    }

    .services-top-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .services-bottom-row {
        display: grid;
        grid-template-columns: repeat(2, calc((100% - 4rem) / 3));
        gap: 2rem;
        justify-content: center;
    }

    .contact-container {
        gap: 3rem;
    }

    .policy-content {
        padding: 3rem 2.5rem;
        margin: 0 1rem;
    }

    .policy-content h1 {
        font-size: 2.5rem;
    }

    .policy-section h2 {
        font-size: 1.75rem;
    }

    .responsibilities {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 934px) {
    .services-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        grid-template-areas: 
            "card1 card2"
            "card3 card4"
            "card5 .";
    }
    
    .services-top-row {
        display: contents;
    }
    
    .services-bottom-row {
        display: contents;
    }
    
    .services-top-row .service-card:nth-child(1) {
        grid-area: card1;
    }
    
    .services-top-row .service-card:nth-child(2) {
        grid-area: card2;
    }
    
    .services-top-row .service-card:nth-child(3) {
        grid-area: card3;
    }
    
    .services-bottom-row .service-card:nth-child(1) {
        grid-area: card4;
    }
    
    .services-bottom-row .service-card:nth-child(2) {
        grid-area: card5;
    }
}

@media (max-width: 768px) {
    
.logo  img {
    max-height: 65px;
}

    .navbar {
        height: 60px;
        padding: 0 1rem;
        background: white;
    }

    .hamburger {
        display: block;
        position: relative;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        padding: 5rem 2rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -2px 0 4px rgba(0,0,0,0.1);
        align-items: flex-start;
        gap: 1rem;
        margin-left: 0;
        overflow-y: auto;
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        width: 100%;
        padding: 1rem 0;
        display: block;
        color: #333;
    }

    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        cursor: pointer;
    }

    .overlay.active {
        display: block;
    }

    body.menu-open {
        overflow: hidden;
    }

    .services {
        padding: 4rem 1rem;
    }

    .services h2, 
    .about h2,
    .contact h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .services-wrapper {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        grid-template-areas: none;
    }

    .service-content {
    padding: 1rem;
    }
    
    .services-top-row {
        display: contents;
    }
    
    .services-bottom-row {
        display: contents;
    }
    
    .services-top-row .service-card:nth-child(1),
    .services-top-row .service-card:nth-child(2),
    .services-top-row .service-card:nth-child(3),
    .services-bottom-row .service-card:nth-child(1),
    .services-bottom-row .service-card:nth-child(2) {
        grid-area: auto;
    }

    .service-icon {
        height: 200px;
    }

    .hero {
        padding: 6rem 1rem 4rem;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }

    .stat-box {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .policy-container {
        padding-top: 80px;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .policy-content {
        padding: 2rem;
    }

    .policy-content h1 {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .policy-section {
        margin-bottom: 2.5rem;
    }

    .policy-section h2 {
        font-size: 1.5rem;
    }

    .policy-section h3 {
        font-size: 1.25rem;
    }

    .policy-section p,
    .policy-section ul li {
        font-size: 1rem;
    }

    .method-block {
        padding: 1.5rem;
    }

    .method-block h3 {
        font-size: 1.25rem;
    }

    .footer {
        padding: 4rem 1rem 0;
    }
    
    .footer-content {
        gap: 2rem;
    }

    .footer h3 {
        font-size: 1.2rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
    }

    .footer-contact li {
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    .services-wrapper {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0 0;
        padding: 0 1rem;
    }

    .about {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    .container {
        padding: 0 0;
    }
    
    .services-top-row {
        display: contents;
    }
    
    .services-bottom-row {
        display: contents;
    }
}

@media (max-width: 480px) {
    
.logo  img {
    max-height: 60px;
}

    .services h2, 
    .about h2,
    .contact h2 {
        font-size: 1.75rem;
    }

    .service-card h3 {
        font-size: 1.25rem;
        margin: 1rem;
    }

    .service-card p {
        padding: 0 1rem 1rem;
    }

    .service-icon {
        height: 180px;
    }

    .about-image {
        height: 300px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-text h3 {
        font-size: 1.5rem;
    }

    .stat-box {
        padding: 1.25rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 1rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .form-group {
        margin-bottom: 0.75rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .submit-button {
        width: 100%;
        padding: 1rem 1.5rem;
    }

    .social-links {
        justify-content: center;
    }

    .hero-content {
        padding: 0;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }

    .cta-section .cta-button {
        justify-content: center;
        text-align: center;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-info h3,
    .contact-info > p {
        text-align: center;
    }

    .policy-container {
        padding-top: 70px;
    }

    .policy-content {
        padding: 1.5rem;
    }

    .policy-content h1 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .policy-section {
        margin-bottom: 2rem;
    }

    .policy-section h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .policy-section h3 {
        font-size: 1.1rem;
    }

    .policy-section p,
    .policy-section ul li {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .method-block {
        padding: 1.25rem;
    }

    .responsibility-block {
        padding: 1.25rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 3rem 1rem 0;
    }

    .footer-section {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact li {
        flex-direction: column;
        align-items: center;
        text-align: center;
        font-size: 0.9rem;
    }

    .footer-contact svg {
        margin-bottom: 0.5rem;
    }

    .footer-bottom {
        padding: 1.5rem 0;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    .service-icon-wrapper {
        height: 140px;
    }

    .hero-buttons .cta-button {
        justify-content: center;
        text-align: center;
    }

    .container {
        padding: 0 0;
    }
}

@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .service-icon {
        height: 160px;
    }

    .about-image {
        height: 250px;
    }

    .policy-content h1 {
        font-size: 1.5rem;
    }

    .policy-content {
        padding: 1.25rem;
    }

    .policy-section ul {
        padding-left: 1rem;
    }

    .policy-section ul li {
        padding-left: 1.25rem;
    }

    .footer {
        padding: 2rem 1rem 0;
    }

    .footer h3 {
        font-size: 1.1rem;
    }

    .footer-links li {
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 400px) {
    .contact,
    .contact > .container,
    .contact-form-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
    .contact-form-wrapper {
        padding: 0.5rem !important;
        border-radius: 10px !important;
    }
}