/* links */

@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Fleur+De+Leah&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Oswald:wght@200..700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Fleur+De+Leah&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Oswald:wght@200..700&display=swap');



:root{

    --primary-color:#00bf63;

    --hover-color:#20cd8d;

    --nunito-font:"Nunito", sans-serif;

    --inter-font:"Inter", sans-serif;

    --h1-fontSize: clamp(1rem, 5vw, 4.5rem);

    --h2-fontSize:clamp(1rem,3vw,2.5rem);

    --h3-fontSize:clamp(1rem, 2vw, 2rem);

    --p-fontSize:clamp(1rem, 1.5vw, 1.2rem);

}

@media(max-width:700px){

    :root{

    --h1-fontSize: clamp(2rem, 5dvw, 4.5rem);

    --h2-fontSize:clamp(.8rem,3vw,2.5rem);

    --h3-fontSize:clamp(.8rem, 2vw, 2rem);

    --p-fontSize:clamp(.65rem, 1.5vw, 1.2rem);

    }

}









*,*::before,*::after{

    box-sizing: border-box;

    padding: 0;margin: 0;

}



html{

    scroll-behavior: smooth;

}

body{

    font-family: var(--inter-font);

}

h1{

    font-size: var(--h1-fontSize);

}



h2{

    font-size: var(--h2-fontSize);

}



h3{

    font-size:var(--h3-fontSize)   

}



p{font-size: var(--p-fontSize);}

a{

    text-decoration: none;

}



/* #openSideBar,#closeSideBar,.nav-vet,.sidebarbt{display: none;} */





#backtotop {

    position: fixed;

    bottom: 30px;

    right: 30px;

    width: 45px;

    height: 45px;

    border: none;

    border-radius: 50%;

    background-color: var(--second-box-color);

    color: white;

    font-size: 1.5rem;

    cursor: pointer;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

    opacity: 0;

    visibility: hidden;

    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.3s ease, color ease 0.3s;

    z-index: 1000;

    display: flex;

    justify-content: center;

    align-items: center;

    color: var(--secondary-color);

}



#backtotop:hover {

    background-color: var(--hover-color);

    transform: translateY(-4px);

    color: white;

}



#backtotop.show {

    opacity: 1;

    visibility: visible;

}



/* !!!!!head section!!! */

.head-container{

    display: flex;

    background: black;

    color: white;

    justify-content: space-between;

    align-items: center;

    padding: clamp(1rem, 1dvw,2rem);

}



.nav-logo-con{

    background: black;

    color: white;

}



.nav-logo-con h3{

    letter-spacing:clamp(.5rem, .5vw, 1rem) ;

}



@media(max-width:600px){

    .nav-logo-con h3{

        letter-spacing:.5dvw;

    }

}



.head-vet{

    color: white;

    display: flex;

    gap: 5px;

    align-items: center;

}

.head-vet i{

    color: var(--primary-color);

}



/* !!!!!!!!!hero section!!!!!!!!!! */



.hero{

    display: flex;

    flex-direction: column;

    position: relative;

    height: 90dvh;

}



.hero-background{

    position: absolute;

    z-index: 0;

    inset: 0;

    object-fit: cover;

    width: 100%;

    height: 100%;

}



.overlay{

    position: absolute;

    z-index: 1;

    background: rgba(0, 0, 0, 0.577);

    inset: 0;

}

/* ........................ */

.nav-container{

    z-index: 2;

    display: flex;

    justify-content: center;

    padding:clamp(1rem, 2dvw, 2rem) 0 ;

}



.nav-container ul{

    display: flex;

    list-style: none;

    gap: clamp(1rem, 3dvw, 3rem);

}



.nav-container ul li a{

    color: white;

    text-decoration: none;

    font-size: var(--p-fontSize);

    transition: all 0.5s ease;

    display: block;

    position: relative;

    transition: all 0.5s ease;

}



.nav-container ul li a::after{

    content: "";

    position: absolute;

    width: 0;

    bottom: 0;

    height: 2px;

    background: white;

    left: 0;

    transition: width 0.5s ease-in;

}



.nav-container ul li a:hover::after{

    width: 100%;

}

.nav-container ul li a:hover{

    color: var(--hover-color);

    transform: translateY(-3px) scale(1.03);

}

/* ............................ */



.hero-container{

    z-index: 2;

    color: white;

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex:1;

    padding-right: clamp(1rem, 4dvw,5rem);

}



.hero-heading{

    

    animation: headFadeIn 2s ease 1 forwards;

}



@keyframes headFadeIn{

    0%{opacity: 0;}

    100%{opacity: 1;}

}



/* @@@@@@@@@@@@@@@@@@ */

@media(max-width:630px) {

    .hero-container{

        justify-content: center;

    }

    .empty-cont{display: none;}



    .hero-heading{text-align: center; font-size: rem;}



}

/* ------------------- */



/* !!!!!!!about section!!!!!!!!! */



.about{

    padding: clamp(1rem, 2dvw, 2rem);

    padding-bottom: 0;

    height: 100dvh;

}



.border-content-container{

    display: flex;

    height: 100%;

    border: 4px solid var(--primary-color);

    border-bottom: none;

    

    border-radius: clamp(1rem, 3dvw, 2rem) clamp(1rem, 3dvw, 2rem) 0 0;

}



/* ............ */

.abt-logo-container{

    flex: 1;

    display: flex;

    justify-content: center;

    align-items: center;

    max-width: 100%;

}



.abt-logo-container img{

    width: 100%;

    max-width: 70%;

}

/* ..................... */

.abt-content{

    display: flex;

    flex-direction: column;

    justify-content: space-evenly;

    flex: 1;

    padding: clamp(1rem,4dvw,5rem);


}



.abt-cont-box{

    display: flex;

    flex-direction: column;

    align-items: center;

}



.cont-box-header{

    display: flex;

    align-items: center;

    gap: clamp(20px, 2dvw, 50px);

}

.cont-box-header svg{

    color: var(--primary-color);

}

.cont-box-header h3{

    color: var(--primary-color);

    font-weight: 300;

}

.line{

    height: 3px;

    background: var(--primary-color);

    width: clamp(50px, 10dvw, 150px);

}

/* .......... */

.cont-box-para{

    width: clamp(10rem, 32dvw, 35rem);

    text-align: center;

}



/* @@@@@@@@@@@@@@@@@@ */

@media(max-width:630px) {

    .about-mobile{

        flex-direction: column;

    }

    .abt-content{gap: clamp(1rem,2dvw,1.5rem);}



    .about{height: auto;}

}

/* -------------------- */



/* !!!!!!!why choose!!!!!!!! */

:root{

    --section-padding:0 clamp(1rem, 2dvw, 2rem) ;

}

.why-choose{

    padding: var(--section-padding);

    background: black;

}



.body-borders{

    border-top: none;

    border-radius: 0;

    padding: clamp(1rem, 2dvw, 2rem);

    display: flex;

    flex-direction: column;

}

.choose-content-container{

    padding: clamp(1rem, 2dvw, 2rem);

    display: flex;

    flex-direction: column;

    gap:clamp(2rem, 3dvw, 5rem) ;

    padding:clamp(2rem, 10dvw, 15rem);

}



.choose-container{

    display: flex;

    color: white;

    align-items: center;

    gap: clamp(2rem, 8dvw, 10rem);

    text-align: left;

}



.choose-container img{

    max-width: 100%;

}



.sho-cont-head{

    color: var(--primary-color);

}

/* .................... */



/* !!!!!!!!!!Services section!!!!!!!!!!!!!! */

:root{

    --second-box-color:#20cd8d;

}

.services-grid{

    padding: var(--section-padding);

}



.serv-grid{

display: grid;

grid-template-columns: repeat(5, 1fr);

grid-template-rows: repeat(2, 1fr);

gap: clamp(.7rem, 2dvw, 1rem);

}



.serv-head{

    padding: clamp(.7rem, 2dvw, 2rem);

}

.portfolio-at{

    grid-area: 1 / 1 / 4 / 2;

    background: var(--second-box-color);

    display: flex;

    justify-content: center;

    align-items: center;

    color: white;

    border-radius: clamp(.7rem, 3dvw, 2rem);

}



.portfolio-at div{

    writing-mode: sideways-lr;

}



.service-box{

    background: var(--primary-color);

    border-radius: clamp(.7rem, 3dvw, 2rem);

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: space-between;

    text-align: center;

    padding:clamp(1rem,2dvw, 2rem) ;

    color: white;

}



.service-box img{

    max-width: 100%;

}



.scb{

    background: var(--second-box-color);

}



@media(max-width:600px){

    .serv-grid{

        display: flex;

        flex-direction: column;

    }



    .portfolio-at div{

        writing-mode: horizontal-tb;

    }

}

/* !!!!!!!!Testimonials section!!!!!!!!!! */

.testimonials{

    background: var(--primary-color);

    

    color: white;

    position: relative;

    z-index: 0;

}



.testbox-container{

    display: flex;

    gap: 2rem;

    flex-wrap: wrap;

    z-index: 1;

    word-break: keep-all;

    justify-content: space-evenly;

    padding:clamp(1rem, 2dvw, 2rem) 0;

}



.Test-boxes{

    text-align: center;

    display: flex;

    flex-direction: column;

    gap:clamp(.5rem,1dvw, 1rem);

    

    width: clamp(10rem, 18dvw, 24rem);

}



.testimonial-img{

    display: flex;

    justify-content: center;

    flex:1;

}



.testimonial-img img{

    width: 100%;

    max-width: 100%;

    object-fit: cover;

    background: var(--primary-color);

    overflow-y: hidden;

}

/* -------------------------- */

/* !!!!!!!!!contact section!!!!!!!!!! */



.contact{

    background: black;

    color: white ;

    padding: var(--section-padding);

    padding-bottom: clamp(1rem, 2dvw, 2rem);

}



.contact-container{

    display: flex;

    flex-direction: row;

}



.contact-us{

    padding-left: 3rem;

    flex: 1;

    display: flex;

    flex-direction: column;

    justify-content: space-evenly;

    font-size: clamp(.7rem, 1.5dvw, 3rem);

}



.contact-info{

font-weight: 600;

}



.contact-links{

    display: flex;

    flex-direction: column;

}



.contact-links a{

    color: white;

}



/* .................... */

/* .con-form{

    flex: 1;

    background: var(--primary-color);

    padding: clamp(.5rem, 2dvw, 2rem);

} */



/* .con-form form{

    display: grid;

    grid-template-columns: 1fr 1fr;

    grid-template-rows:repeat(6, 1fr);

    column-gap: clamp(1rem, 2dvw, 2rem);

}



.form-group{

    display: flex;

    flex-direction: column;

}



.grid1{

    grid-area: 1/1/2/3;

}



.grid2{

    grid-area: 2/1/3/3;

}



.grid7{

    grid-area: 6/1/-1/-1;

    width: 100%;

    height: 100%;

    display: flex;

    justify-content: center;

    align-items: center;

} */



.con-form{

    width: min(100%, 900px);

    margin: auto;

    padding: clamp(1rem, 3vw, 2rem);

}



.contact-form{

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: clamp(12px, 2vw, 20px);

}



/* Full width items */

.contact-form textarea,

.contact-form select,

.contact-form button,

.form-group:nth-child(3),

.form-group:nth-child(4),

.form-group:nth-child(5),

.form-btn{

    grid-column: span 2;

}



/* form group */

.form-group{

    display: flex;

    flex-direction: column;

    gap: 6px;

}



/* labels */

.form-group label{

    font-weight: 600;

    font-size: 0.9rem;

    color: white;

}



/* inputs */

.form-group input,

.form-group select,

.form-group textarea{

    padding: 12px 14px;

    border-radius: 8px;

    border: 1px solid #dcdcdc;

    font-size: 0.95rem;

    background: var(--primary-color);

    transition: all .25s ease;

}



.form-group input::placeholder,

.form-group select::placeholder,

.form-group textarea::placeholder{

    color: white;

}

/* focus effect */

.form-group input:focus,

.form-group select:focus,

.form-group textarea:focus{

    outline: none;

    border-color: #d89b00;

    background: white;

    box-shadow: 0 0 0 3px rgba(216,155,0,0.15);

}



/* button */

.form-btn{

    margin-top: 10px;

}



.form-btn button{

    width: fit-content;

    padding: 14px 26px;

    border-radius: 8px;

    border: none;

    background: #d89b00;

    color: white;

    font-weight: 600;

    font-size: 0.95rem;

    cursor: pointer;

    transition: all .25s ease;

}



.form-btn button:hover{

    background: #b88400;

    transform: translateY(-2px);

}



/* mobile */

@media (max-width: 700px){



.contact-form{

    grid-template-columns: 1fr;

}



.contact-form textarea,

.contact-form select,

.contact-form button,

.form-group,

.form-btn{

    grid-column: span 1;

}



}



@media(max-width:600px) {

    .contact-container{

        flex-direction: column;

        align-items: center;

    }



    .contact-form{

        display: flex;

        flex-direction: column;

    }

}



/* !!!!!!!footer!!!!!!!! */

.footer {

    background: #000000;

    color: #e5e7eb;

    padding: 60px 20px 20px;

    font-family: sans-serif;

}



.footer-container {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

    gap: 40px;

    max-width: 1200px;

    margin: auto;

}



.footer-col h2,

.footer-col h3 {

    color: #22c55e;

    margin-bottom: 15px;

}



.footer-col p {

    font-size: 14px;

    line-height: 1.6;

}



.footer-col ul {

    list-style: none;

    padding: 0;

}



.footer-col ul li {

    margin-bottom: 10px;

}



.footer-col ul li a {

    color: #e5e7eb;

    text-decoration: none;

    font-size: 14px;

    transition: 0.3s ease;

}



.footer-col ul li a:hover {

    color: #22c55e;

    padding-left: 5px;

}



.footer-bottom {

    border-top: 1px solid #1f2937;

    margin-top: 40px;

    text-align: center;

    padding-top: 15px;

    font-size: 13px;

    color: #9ca3af;

}

/* !!!!!!!!!portfolio page!!!!!!!!!!!!! */

.portfolio-header{
    background: black;
    padding: clamp(1rem, 2dvw, 2rem);
}

.portfolio-header nav ul{
    display: flex;
    align-items: center;
    gap: clamp(1rem,2dvw, 2rem);
}


.portfolio-header nav ul a{
    color: white;
    transition: all 0.5s ease;
    font-size: clamp(.7rem,2dvw,1.5rem);
}

.portfolio-header nav ul a:hover{
    color: var(--second-box-color);
}
.portfolio-home{
    margin-right: auto;
}
/* .......... */
.p-sections{
    padding:clamp(1rem, 2dvw, 2rem);
    display: flex;

    flex-direction: column;
}

.p-head-area{

}

.head-line{
    border: 2px solid var(--primary-color);
    height: 2px;
    width: 100%;
}

.port-img-grid{
    display: grid;
    grid-template-columns:  repeat(auto-fill, minmax(250px, 1fr));
    padding: clamp(.7rem, 1dvw, 2rem);
    gap: clamp(1rem, 1dvw, 1.5rem);
}

.port-img-grid img,video{
    max-width: 100%;
}


.image-modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80vh;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

video.modal-content {
  max-width: 90%;
  max-height: 80vh;
}