*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins";
}
html, body{
    width: 100%;
    overflow-x: hidden;
}
.social_links{
    min-height: 100dvh;
    display: flex;
    flex-direction: column;

    align-items: center;
}
#head_social{
    color: rgba(247, 141, 2);
    text-align: center;
}
.head_logo_wrapper{
    background-color: aqua;
    width: 100%;
}
.head_logo{
    /* background-color: rgba(247, 141, 2, 0.185); */
    /* color: rgba(247, 141, 2); */
    /* padding: 12px; */
    position: relative;
    background-image: url('yelo.jpg');
    object-fit: contain;
    box-shadow: 0px -6px 10px 0px;
    width: 100%;
    height: 100px;
    margin-bottom: 5%;
    /* border-radius: 0% 0% 28% 28%; */
}
.logo_wrapper{
    
    background-color: #ffffff;
    border-radius: 50%;
    /* margin-left: auto; */
    position: absolute;
    /* width: 44%; */
    top: 30%;
    box-shadow: 0px 5px 20px 0px #c5c5c5;
    left: 45%;
    /* right: auto; */
}
#logo{
    width: 120px;
    padding: 26px 14px;
    /* background-color: white; */
    border-radius: 27%;
    /* margin-left: auto; */
    /* position: absolute; */
    top: 1%;
    /* box-shadow: 1px 1px 7px -5px #f78d02; */
    left: 32%;
    /* right: auto; */
}
#web_logo{
    width: 36px !important;
}
.social_links_grid{
    flex-grow: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    gap: 15px;
    a{
        text-decoration: none;
    }
}
.mini_socail_links_grid{
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 10px;
    /* margin-top: 8%; */
    i{
        font-size: 36px;
    }

        h1{
            margin-top: -4px;
            font-size: 19px;
        }
    
}
.whatsapp, .mail, .phone{
    background-color: #4285f4;
    padding: 10px 17px;
    text-align: center;
    border-radius: 12px;
    color: white;

}
.whatsapp{
    background-color: #00d757;
}
.phone{
    background-color: #188038;
}
.map{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    border-radius: 12px;
    width: 100%;
    color: white;
    margin-bottom: 3%;
    background-color: aliceblue;
    #map_frame{
        width: 100%;
        height: 100%;
        border-radius: 12px;
    }
}
.facebook,.viber, .youtube, .instagram,.threads, .linkedln, .tiktok, .github, .web{
    color: white;
}
.g_review{
    color: black;
    h1{
        color: black;
    }
    .child_g_review{
        color: black;
    }
}
.web,.github{
     display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    border-radius: 8px;
    padding: 20px;
    width: 100%;

    
    box-shadow: 0px 5px 10px 0px rgb(154, 154, 154);
    h1{
        white-space: nowrap;
        margin-left: 10%;
        font-size: 24px;
    }
    i{
        font-size: 34px;
        float: left;
    }
    .child_fb, .child_yt, .child_ig,.child_threads, .child_linke, .child_tiktok, .child_git, .child_w3, .child_g_review{
        
        display: flex;
        flex-direction: row;
        align-items: center;
        
    }
}
.facebook,.viber, .youtube, .instagram,.threads, .linkedln, .tiktok, .g_review{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    border-radius: 8px;
    padding: 20px;
    width: 100%;

    height: 100%;
    box-shadow: 0px 5px 10px -1px rgb(177, 177, 177);
    h1{
        white-space: nowrap;
        margin-left: 10%;
        font-size: 24px;
    }
    i{
        font-size: 34px;
        float: left;
    }
    
    .child_fb, .child_viber, .child_yt, .child_ig,.child_threads, .child_linke, .child_tiktok, .child_git, .child_w3, .child_g_review{
        
        display: flex;
        flex-direction: row;
        align-items: center;
        
    }

}
.viber,.threads{
    img{height: 35px;}
}
.viber{
    background: #6B50C9;
}
.facebook{
    background-color: rgba(8, 107, 255, 0.8);
    /* color: rgba(8, 107, 255); */
}
.youtube{
    background-color: #FF0033;
    /* color: rgb(255, 0, 51); */
}
.threads{
    background: #2c2c2c;
}
.instagram{
     background: #833ab4;
  background: linear-gradient(
    to right,
    #833ab4,#fd1d1d,#fcb045
  );
    /* color: rgb(213, 71, 134); */
}
.linkedln{
    background-color: #0A66C2;
    /* color: rgb(47, 125, 174); */
}
.tiktok{
    background-color: rgb(0, 0, 0, 0.8);
    /* color: rgb(0, 0, 0); */
}
.github{
    background-color: rgb(31, 35, 40, 0.8);
    /* color: rgb(31, 35, 40); */
}
.web{
    background-color: rgb(247, 139, 2, 0.8);
    /* color: rgb(247, 139, 2); */
    img{
        width: 50px;
        background-color: white;
        border-radius: 50%;
        }
}

.g_review{
    background: #ededed;
    .child_g_review{

        display: flex;
       align-items: center;
       color: rgb(34, 34, 34);

        h1{
            margin-top: 5px;
            margin-left: 17px;
        }
    }
   
    /* background: Linear-gradient(120Deg,#4285F4,#DB4437,#F4B400,#0F9D58); */
    padding: 0px 20px;
    display: block;
   align-items: center;
   .stars{
    margin-top: px;
    margin-left: 15px;
    img{
        height: 20px;
        
    }
   }
}
.w3_copywrite{
     flex-grow: 1;
    /* background-color: #e79a27; */
    color: white;
    font-weight: 500;
    width: 100%;
   
    display: flex;
    align-items: end;
   
   
}
#w3_copywrite{
    width: 100%;
padding: 10px;
 background: #26468F;
    text-align: center;
    margin-top: 4%;
}   
@media screen and (max-width: 990px) {

    .social_links_grid{
    grid-template-columns: auto auto;
    }
    .head_logo{
        margin-bottom: 20%;
           
    }
    .logo_wrapper{
        left: 45%;
        top: 20%;
    }
}
@media screen and (max-width: 620px) {
    .social_links_grid{
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
        gap: 10px;
        }
        #head_social{
        font-size: 24px !important;
        padding: 22px 12px;
    }
    .facebook,.viber, .youtube, .instagram,.threads, .linkedln, .tiktok, .github, .web, .g_review{
        font-size: 13px !important;
        padding: 12px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .head_logo{
        margin-bottom: 12%;   
    }
    .logo_wrapper{
        left: 40%;
    }
    /* Show standalone Google review on mobile, hide grid item */
    #google-review{
        display: none;
    }
    #google-review-phone{
        display: block;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 12px;
        text-decoration: none;
    }
    /* Move map out of grid and make it full width/height on mobile */
    .map{ 
          grid-column: span 3; 
     }
    #map-phone{
        display: block;
        width: 100%;
        height: 80vh;
        margin: 12px 0 0 0;
        background-color: aliceblue;
        border-radius: 0;
    }
    #map-phone #map_phone_frame{
        width: 100%;
        height: 100%;
        border: 0;
        border-radius: 0;
    }
    /* Make mini social items participate directly in the main grid */
    .mini_socail_links_grid{
        display: contents;
    }
    /* Polished mobile layout for the standalone Google review card */
    #google-review-phone .g_review{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 26px 22px;
        border-radius: 12px;
    }
    #google-review-phone .child_g_review{
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    #google-review-phone .child_g_review h1{
        margin: 0;
        font-size: 20px;
        font-weight: 700;
        color: #2c2c2c;
    }
    #google-review-phone .child_g_review img{
        margin: 0;
        height: 28px;
    }
    #google-review-phone .stars{
        margin: 10px 0 0 0;
        display: flex;
        gap: 6px;
    }
    #google-review-phone .stars img{
        height: 20px;
    }

    /* Stack icon and text for all social cards on mobile */
    .threads h1, .facebook h1,.viber h1, .youtube h1, .instagram h1, .linkedln h1, .tiktok h1, .github h1, .web h1{
        white-space: normal;
        margin: 6px 0 0 0;
        font-size: 16px;
    }
    .facebook i, .youtube i, .instagram i, .linkedln i, .tiktok i, .github i{
        font-size: 24px;
    }
    .viber img{
        height: 30px;
    }
    .threads img{
        height: 30px;
    }
    .child_fb,.child_viber, .child_yt, .child_ig,.child_threads, .child_linke, .child_tiktok, .child_git, .child_w3{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        width: 100%;
    }
    .web img#web_logo{
        width: 36px !important;
    }
}
@media screen and (max-width: 440px) {
    .social_links_grid{
        padding: 10px;
    }
    .mini_socail_links_grid
{
    .whatsapp, .mail, .phone{
        padding: 20px 10px;
    }
    h1{
        
        margin-top: 0;
        font-size: 16px;
    }
}    
    .facebook,.viber, .youtube, .instagram,.threads, .linkedln, .tiktok, .github, .web, .g_review{
        i{
            font-size: 35px;
        }
        font-size: 12px !important;
        padding: 10px;
        flex-direction: column;
        .child_fb,.child_viber, .child_yt, .child_ig, .child_threads, .child_linke, .child_tiktok, .child_git, .child_w3, .child_g_review{
        
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0px;
        padding: 10px 0px;
         
    }
    }
    .head_logo{
        margin-bottom: 18%;   
    }
    .logo_wrapper{
        left: 35%;
    }
    #w3_copywrite{
        font-size: 12px;
    }
    


}
@media screen and (max-width: 350px) {
    .facebook, .youtube,.viber, .instagram,.threads, .linkedln, .tiktok, .github, .web, .g_review{
    padding: 8px !important;
    font-size: 11px !important;
    }
    .logo_wrapper{
        left: 32%;
    }
}
.child_g_review > img{
    height: 35px;
}
#google-review-phone{
    display: none;
}
#map-phone{
    display: none;
}

/* Ensure mobile override comes after default to win cascade */
@media screen and (max-width: 620px) {
    #google-review{
        display: none;
    }

    #google-review-phone{
      
        .stars{
           margin-top: 0;
           
          
            
        }
        .g_review{
            .child_g_review > img{
                height: 50px;
            }
            margin-bottom: 0;
        }
        height: 90px;
        display: flex;
        flex-direction: column;
        width: calc(100% - 20px);
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px;
        text-decoration: none;
    }
}