/* mobile screen */
@media only screen and (max-width: 440px){
    section {
        padding: 1rem 0.5rem;
    } 
    section h2 {
        font-size: 1.5rem;
      }
    header {
        overflow: hidden;
    }    
    header .hero-section {
        padding: 4rem 0.5rem 0rem 0.5rem !important;
        flex-direction: column;
        justify-content: flex-start;
    }
    header .hero-section .hero-content {
        width: 100% !important;
        margin: 3rem 0 0 0 !important;
    }
    .hero-section .social-bar {
        margin: 0.5rem 0 !important;
    }
    .hero-section .social-bar .social-link {
        padding: 0 0.6rem;
        background-color: var(--bg-color);
        border-radius: 5px;
        margin: 0 0.5rem;
    }
    .hero-section .hero-content p {
        font-size: 0.8rem !important;
        padding: 0rem !important;
    }
    
    .hero-section .hero-stats {
        align-items: center;
    }
    .hero-section .hero-stats div {
        height: 74px !important;
        width: 76px !important;
        font-size: 0.5rem !important;
    }
    .hero-section .hero-stats div span {
        font-size: 0.8rem !important;
    }
    section .container {
        margin: 1rem 0;
        padding: 0;
    }
    .slider {
        height: 335px;
    }
    .community {
        width: 240px !important;
    }
    #why-us .container .headers {
        font-size: 0.8rem;
    }
    #why-us .container p {
        font-size: 0.8rem;
    }
  .swiper-slide {
    border-radius: 18px;
    width: 230px !important;
    height: 310px !important;
  }
  .swiper {
        display: none !important;
    }
    .wrapper {
        display: block;
    }
    .subscribe p {
        font-size: 0.58rem !important;
    }
    .extra-contact ul li {
        font-size: 0.6rem;
    }
    .contact-form input {
        width: 80%;
      }
}
@media only screen and (max-width: 700px) {
    .bt {
        padding: 0.5rem 0.7rem;
        transition: 0.5s;
    }
    iconify-icon {
        font-size: 1.5rem;
      }
      .callout {
        padding: 1rem;
    }
    /* navbar */

    /* navbar */
    header .hero-section .hero-content .hero-title {
        width: 95%;
    }
    header .hero-section .hero-content .welcome {
        font-size: 1rem !important;
    }
    header .hero-section .hero-content .typewriter {
        font-size: 1rem !important;
    }
    header .hero-section .hero-content {
        width: 100% !important;
        padding: 0;
        width: 100% !important;
        margin-bottom: 8rem;
    }
    .hero-img {
        left: 0 !important;
        right: unset;
        top: unset;
        width: 100%;
        bottom: -33px !important;
    }
    
    header p {
        padding: 0 1rem;
        font-size: 0.9rem !important;
    }
    .hero-section .hero-stats div {
        height: 100px;
        width: 102px;
        font-size: 0.7rem;
    }
    .hero-section .hero-stats div span {
        font-size: 1.1rem;
    } 
    .community {
        font-size: 1rem;
        z-index: 2;
    }
    #why-us .container {
        display: flex;
        flex-direction: column;
        padding: 1rem 0;
        align-items: center;
    }
    #why-us .intro {
        padding: 0;
        margin: 0.5rem 0;
        font-size: 1.1rem;
        text-align: center;
    }
    .right {
        width: 100%;
      }
    .right p {
        font-size: 0.7rem;
    }
    .p_right span {
        font-size: 1rem;
    }
    .left {
        width: 100%;
    }
    .gallery {
        width: 100%;
        height: 400px;
    }
    .project-card {
        margin: 1rem 0;
    }
    footer .upper-footer {
        display: flex;
        flex-direction: column;
        height: auto;
    }
    footer .upper-footer div {
        margin: 1rem 0;
    }
    footer .upper-footer .footer-logo {
        width: auto;
    }
    footer .upper-footer .footer-hyperlinks ul {
        padding: 0 2rem;
    }
    .subscribe p {
        font-size: 0.7rem;
    }
    footer .lower-footer {
        margin: 0;
    }
    .lower-footer h6 {
        font-size: 8px;
        margin: 0;
    }
    
    .social-bar .social-link {
        padding: 0 0.4rem;
    }
    .contact-form input {
        width: 70%;
      }
}


/* Tablet screen */

/* navbar */
.side-bar{
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    width: 290px;
    height: 100%;
    position: fixed;
    top: 0;
    right: -100%;
    overflow-y: auto;
    transition: 0.6s ease;
    transition-property: right;
    z-index: 9999;
   }
   
   .side-bar.active{
    right: 0;
   }
   
   .side-bar .menu{
    width: 100%;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
   }
   
   .side-bar .menu .item{
    position: relative;
    cursor: pointer;
   }
   
   .side-bar .menu .item a{
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    display: block;
    padding: 5px 30px;
    line-height: 60px;
   }
   
   .side-bar .menu .item a:hover{
    background: var(--main-color);
    transition: 0.3s ease;
   }
   
   .side-bar .menu .item i{
    margin-right: 15px;
   }
   
   .side-bar .menu .item a .dropdown{
    position: absolute;
    right: 0;
    margin: 20px;
    transition: 0.3s ease;
   }
   
   .side-bar .menu .item .sub-menu{
    background: rgba(255, 255, 255, 0.1);
    display: none;
   }
   
   .side-bar .menu .item .sub-menu a{
    padding-left: 80px;
    font-size: 12px;
   }
   
   .rotate{
    transform: rotate(90deg);
   }
   
   .close-btn{
    position: absolute;
    color: #fff;
    font-size: 20px;
    right: 0;
    margin: 25px;
    cursor: pointer;
   }
   
   .menu-btn{
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 10000;
    display: none;
   }

   
   @media (max-width: 1120px){
    body {
        font-size: 95%;
    }
    .main h1{
      font-size: 40px;
      line-height: 60px;
    }
    .menu-btn {
       display: block;
    }
    nav .nav-extra {
        display: none;
    }
    nav .main-list, nav .bt {
       display: none;
    }
    .our_team .team-info {
        width: 100%;
    }
    #about .container {
        flex-direction: column;
    }
   }