/* navbar */
@media (max-width : 1260px) {
    .hero_container .navbar .logo img{
        width: 15.313rem;
        height: 3.875rem;
    }

    .hero_container .navbar .navbar-links{
        gap: 6rem;
    }
}

@media (max-width : 480px) {
    .hero_container .navbar {
        /* border: 1px solid black; */
        width: 100%;
        height: auto;
        padding: 30px 0px;
    }
    
    .hero_container .navbar .logo img{
        width: 11.313rem;
        height: 2.875rem;
    }

    .toggle-button {
        display: flex;
    }

    .hero_container .navbar .navbar-links{
        /* border: 1px solid black; */
        display: none;
        width: 100%;
    }

    .hero_container .navbar{
        flex-direction: column;
        align-items: flex-start;
    }

    .hero_container .navbar .navbar-links{
        width: 100%;
        flex-direction: column;
        padding-top: 1rem;
        gap: 1.35rem;
    }

    .hero_container .navbar .navbar-links li a{
        text-align: center;
        padding: .5rem 1rem;
        font-size: 1rem;
        font-weight: 600;
    }

    .hero_container .navbar .navbar-links.active {
        display: flex;
    }
}



/* hero content */ 
@media (min-height : 950px) {
    .hero_container .article {
        width: 100%;
        gap: 1rem;
        padding: 18rem 0rem;
    }

    .hero_container .article h1 {
        width: 60%;
    }
}

@media (max-width : 1260px) {
    .hero_container .article {
        width: 100%;
        gap: 1rem;
        padding: 13rem 0rem;
    }
    
    .hero_container .article h1 {
        width: 80%;
    }
}

@media (max-width : 480px) {
    .hero_container {
        width: 100%;
        height: 100vh;
        background: url(./service_image/mobile_hero_image.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        display: flex;
        padding: 1.125rem 1.125rem;
    }

    .hero_container .article {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        padding: 10rem 0rem;
    }
    
    .hero_container .article h1 {
        width: 100%;
        font-family: itc-avant-garde-gothic-pro,sans-serif;
        font-weight: 700;
        font-size: 2.125rem;
        line-height: 2.875rem;
        letter-spacing: 0.01em;
        text-transform: uppercase;
        color: #FFFFFF;
    }
}




/* What  make our services differentstarts  */
@media (max-width : 1260px) {
    .details_container .right_card .card_1 {
        width: 25.94rem;
        height: 18.391rem;
        background: #D9D9D9;
        border-radius: 20px;
        display: flex;
        align-items: flex-end;  
        background: url(./service_image/Card-1.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
      
    .details_container .right_card .card_2 {
        width: 22.505rem;
        height: 13.95rem;
        background: #a59c9c;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
        border-radius: 1.25rem;
        position: absolute;
        top: 31%;
        right: 32%; 
        background: url(./service_image/Card-2.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
}

@media (max-width : 480px) {
    .details_container{
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: baseline;
        gap: 2rem;
        padding: 3rem 1.125rem;
    }
      
    .details_container .left_content {
        display: flex;
        flex-direction: column;
        gap: 1.125rem;
        width: 100%;
    }
      
    .details_container .left_content h1 {
        font-size: 1.75rem;
        line-height: 2.25rem;
    }
      
    .details_container .left_content p {
        width: 100%;
        font-size: 1rem;
        line-height: 1.75rem;
    }
    
    .details_container .left_content h4 {
        font-size: 1.5rem;
        line-height: 1.8125rem;
        padding-top: 0.75rem;
    }
    
    .details_container .left_content .order_list {
        gap: 1rem;
        font-size: 1rem;
        line-height: 27px;
    }
    
    .details_container .left_content .order_list li {
        width: 100%;
    }
      
    .details_container .right_card {
        /* border: 1px solid black; */
        width: 100%;
        height: auto;
        display: flex;
        justify-content: flex-end;
        position: relative;
        padding-top: 0rem;
    }
      
    .details_container .right_card .card_1 {
        width: 15.764rem;
        height: 11.368rem;
    }
      
    .details_container .right_card .card_2 {
        width: 13.376rem;
        height: 9.924rem;
        top: 55%;
        right: 38%; 
    }
}




/* Maintainance */
@media (max-width : 1260px) {
    .third_section .left_card {
        width: 50%;
    }
    
    .third_section .left_card .card {
        width: 100%;
        height: 26.336em;
        background: #D9D9D9;
        border-radius: 20px;
        background: url(./service_image/Card-3.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    
    }
}

@media (max-width : 480px) {
    .third_section {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: baseline;
        align-items: flex-start;
        gap: 3rem;
        padding: 5rem 1.125rem;
    }
    
    .third_section .left_card {
        width: 100%;
    }
    
    .third_section .left_card .card {
        width: 100%;
        height: 15em;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .third_section .right_content {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .third_section .right_content h1 {
        font-size: 1.75rem;
        line-height: 2.25rem;
    }
    
    .third_section .right_content p {
        font-size: 1rem;
    }
}



/* COMPANION CAREGIVING SERVICES */
@media (max-width : 1260px) {
    .fourth_section .right_card {
        width: 50%;
    }
    
    .fourth_section .right_card .card {
        width: 100%;
        height: 26.336em;
        background: #D9D9D9;
        border-radius: 20px;
        background: url(./service_image/Card-4.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
}

@media (max-width : 480px) {
    .fourth_section {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: baseline;
        align-items: flex-start;
        gap: 2rem;
        padding: 2rem 1.125rem;
    }
    
    .fourth_section .left_content {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .fourth_section .left_content h1 {
        font-size: 1.75rem;
        line-height: 2.25rem;
    }
    
    .fourth_section .left_content p {
        font-weight: 500;
        font-size: 1rem;
    }
    
    .fourth_section .right_card {
        width: 100%;
    }
    
    .fourth_section .right_card .card {
        width: 100%;
        height: 15em;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}




/* ALZHEIMER'S AND DEMENTIA CARE SERVICE */ 
@media (max-width : 1260px) {
    .fifth_section .left_card {
        width: 50%;
    }
    
    .fifth_section .left_card .card {
        width: 100%;
        height: 26.336em;
        background: #D9D9D9;
        border-radius: 20px;
        background: url(./service_image/Card-5.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
}

@media (max-width : 480px) {
    .fifth_section {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: baseline;
        align-items: flex-start;
        gap: 2rem;
        padding: 2rem 1.125rem;
    }
    
    .fifth_section .left_card {
        width: 100%;
    }
    
    .fifth_section .left_card .card {
        width: 100%;
        height: 15em;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .fifth_section .right_content {
        width: 100%;
    }
    
    .fifth_section .right_content h1 {
        font-size: 1.75rem;
        line-height: 2.25rem;
    }
    
    .fifth_section .right_content p {
        font-size: 1rem;
        line-height: 1.375rem;
    }
}




/* contactUs section */
@media (max-width : 480px) {
    .contact_container {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.35rem;
        padding: 4rem 1.125rem;
    } 
      
    .contact_container h1 {
        width: 100%;
        font-size: 1.75rem;
        line-height: 2.0625rem;
    }
      
    .contact_container p {
        width: 100%;
        font-size: 1rem;
        line-height: 1.375rem;
    }
      
    .contact_container .form {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding-top: 1rem;
    }
      
    .contact_container .form input {
        width: 100%;
        padding: 0.5rem 0rem;
        font-size: 0.875rem;
        line-height: 1.125rem;
    }
      
    .contact_container .form input[type=submit] {
        width: 8.836rem;
        height: 2.209rem;
        margin-top: 0.8125rem;
        font-size: 0.787rem;
        line-height: 0.9375rem;
    }
}


/* footer srction */
@media (max-width : 1260px) {
    .footer_container nav a img {
        width: 15.313em;
        height: 3.875em;
    }
}

@media (max-width : 480px) {
    .footer_container {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 3rem 1.125rem  1rem 1.125rem;
    }
      
    .footer_container nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: baseline;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 1.75rem;
    }
      
    .footer_container nav a img {
        width: 11.473em;
        height: 2.915em;
    }
      
    .footer_container nav ul {
        width: 70%;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
      
    .footer_container nav ul li a {
        font-size: 1rem;
        line-height: 1rem;
    }
      
    .footer_container .articles {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 1.35rem;
        justify-content: baseline;
    }
      
    .footer_container .articles .left_content {
        width: 100%;
    }
      
    .footer_container .articles .left_content p {
        font-size: 1rem;
        line-height: 1.25rem;
    }
      
    .footer_container .articles .right_content {
        width: 100%;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 2rem;
    }
      
    .footer_container .articles .right_content .col1 {
        width: 100%;
        gap: 1.56rem;
    }
      
    .footer_container .articles .right_content .col1 .details h3 {
        font-size: 1rem;
        line-height: 1.187rem;
    }
      
    .footer_container .articles .right_content .col1 .details p {
        width: 90%;
        font-size: 1rem;
        line-height: 1.225rem;
    }
      
    .footer_container .articles .right_content .col2 {
        /* border: 1px solid black; */
        width: 45%;
        display: flex;
        flex-direction: column;
        gap: 1.56rem;
    }
      
    .footer_container .articles .right_content .col2 .details h3 {
        font-size: 1rem;
        line-height: 1.125rem;
    }
      
    .footer_container .articles .right_content .col2 .details p {
        font-size: 1rem;
        line-height: 1.125rem;
    }
      
    .footer_container .line{
        padding-top: 0.675rem;
    }
      
    .footer_container .copyright p {
        font-size: 1rem;
        line-height: 1.5rem;
    }
}