/* =========================================
                Mobile Menu
============================================ */

.navbar-header {
  position: relative;
}

#mobile-nav-open-btn {
  font-size: 30px;
  color: #f4c613;
  cursor: pointer;
  z-index: 2;
  position: absolute;
  right: 0;
  top: 6px;
  /* hide mobile nav open btn */
  display: none;
}

#mobile-nav {
  /* by default, mobile nav will be hidden with height 0% */
  height: 0%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3;
  background-color: rgba(255, 255, 255, 0.9);
  -webkit-transition: all 300ms linear;
  transition: all 300ms linear;
  overflow-y: hidden;
}

#mobile-nav-close-btn {
  font-family: 'Raleway', sans-serif;
  font-size: 70px;
  color: #212226;
  font-weight: 400;
  cursor: pointer;
  position: absolute;
  top: -9px;
  right: 13px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

#mobile-nav-content {
  text-align: center;
  width: 100%;
  margin-top: 30px;
  position: relative;
  top: 10%;
}

#mobile-nav ul li {
  margin-bottom: 20px;
}

#mobile-nav a {
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  color: #212226;
  font-weight: 400;
  text-transform: uppercase;
  display: inline;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

#mobile-nav a:hover,
#mobile-nav a:focus,
#mobile-nav-close-btn:hover,
#mobile-nav-close-btn:focus {
  color: #f4c613;
  background: none;
}

/* Mobile nav scroll spy active state */

.white-nav-top #mobile-nav ul.nav > li.active > a {
  color: #f4c613;
  font-weight: 500;
}

/*==================================================
			Bootstrap 3 Media Queries        
==================================================*/

/* Large Devices (Desktops & Laptops) */

@media (min-width: 1200px) and (max-width: 1299px) {
  /* Navigation */
  .site-nav-wrapper {
    padding: 0 20px;
  }
}

/* Medium Devices (Landscape Tablets & Medium Desktops) */

@media (min-width: 992px) and (max-width: 1199px) {
  /* Navigation */
  .site-nav-wrapper {
    padding: 0;
  }
  /* Generic */
  .vertical-heading h2 {
    font-size: 29px;
  }
  /* Services 02 */
  #services-tabs .tab-bg {
    padding: 16px 30px;
    min-height: 300px;
  }
  .service-tab p {
    line-height: 20px;
  }
}

/* Small Devices (Portrait Tablets & Small Desktops) */

@media (min-width: 768px) and (max-width: 991px) {
  /* Navigation */
  .site-nav-wrapper {
    padding: 0;
  }
  /* Home */
  #home-heading h1 {
    font-size: 41px;
  }
  #home-text p {
    font-size: 13px;
  }
  /* Generic */
  .btn-general {
    padding: 8px 35px 8px 35px;
    font-size: 10px;
  }
  /* Generic */
  .vertical-heading h2 {
    font-size: 29px;
  }
  /* Tech Statement */
  #tech-statement h3 {
    font-size: 20px;
    line-height: 30px;
  }
  /* Services 02 */
  .r-tabs-accordion-title {
    text-align: center;
    margin-bottom: 10px;
  }
  .r-tabs-accordion-title a {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    color: #212226;
    text-transform: uppercase;
    font-weight: 400;
    padding: 0;
    text-decoration: none;
  }
  /* Tab active state */
  .r-tabs-accordion-title.r-tabs-state-active a {
    color: #f4c613;
    font-weight: 700;
    border-bottom: 3px solid #f4c613;
    padding-bottom: 5px;
    -webkit-transition: border-color 300ms linear;
    transition: border-color 300ms linear;
  }
  /* Pricing */
  .pricing-table .price h2 {
    margin: 0 0 0 6px;
    font-size: 35px;
  }
  /* Stats */
  .stats-item p {
    line-height: 18px;
  }
  /* Blog */
  .blog-post .post-meta p {
    line-height: 14px;
  }
  /* Contact */
  ul.office-details li {
    margin-right: 15px;
  }
  ul.office-details li i {
    width: 25px;
  }
}

/* Extra Small Devices (Landscape Phones & Portrait Tablets) */

@media (max-width: 767px) {
  /* Navigaiton */
  .navbar {
    padding: 20px 0;
  }
  .site-nav-wrapper,
  .white-nav-top {
    padding: 0;
  }
  /* show mobile nav open btn */
  #mobile-nav-open-btn {
    display: block;
  }
  /* Home */
  #home-heading h1 {
    font-size: 22px;
  }
  #home-text p {
    font-size: 13px;
    line-height: 18px;
    margin: 8px 2px 30px 2px;
  }
  /* Generic */
  .btn-general {
    padding: 8px 25px 6px 25px;
    font-size: 10px;
  }
  /* About 01 */
  /* Large Content Box */
  .content-box-lg {
    padding: 90px 0;
  }
  /* Vertical heading */
  .vertical-heading {
    text-align: center;
  }
  .vertical-heading h5 {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    display: block;
    position: static;
    margin-bottom: 15px;
  }
  .vertical-heading h2 {
    font-size: 29px;
    line-height: normal;
    margin: 0;
  }
  #about-left {
    margin-bottom: 50px;
  }
  #about-right {
    text-align: center;
  }
  /* About 02 */
  /* Medium Content Box */
  .content-box-md {
    padding: 80px 0;
  }
  .about-item {
    padding: 55px 30px;
    margin-bottom: 35px;
  }
  .about-item i {
    font-size: 30px;
  }
  .about-item h3 {
    font-size: 18px;
  }
  /* Team */
  #team-left .vertical-heading {
    min-height: 130px;
  }
  .skill h4 {
    font-size: 14px;
    line-height: 35px;
  }
  /* Tech Statement */
  #tech-statement h3 {
    font-size: 20px;
    line-height: 30px;
  }
  /* Services 01 */
  /* Horizontal heading */
  .horizontal-heading {
    margin-bottom: 40px;
  }
  .horizontal-heading h2 {
    font-size: 30px;
  }
  #services-01 img {
    margin: 35px 0;
  }
  .service,
  .service .icon {
    text-align: center;
  }
  .service h4 {
    font-size: 18px;
  }
  /* Services 02 */
  .r-tabs-accordion-title {
    text-align: center;
    margin-bottom: 10px;
  }
  .r-tabs-accordion-title a {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    color: #212226;
    text-transform: uppercase;
    font-weight: 400;
    padding: 0;
    text-decoration: none;
  }
  /* Tab active state */
  .r-tabs-accordion-title.r-tabs-state-active a {
    color: #f4c613;
    font-weight: 700;
    border-bottom: 3px solid #f4c613;
    padding-bottom: 5px;
    -webkit-transition: border-color 300ms linear;
    transition: border-color 300ms linear;
  }
  #services-tabs .tab-bg {
    text-align: center;
    padding: 40px 30px;
  }
  #services-tabs h2 {
    font-size: 40px;
  }
  #services-tabs h3 {
    font-size: 28px;
  }
  /* Portfolio */
  #portfolio {
    padding-bottom: 0;
  }
  #isotope-filters button {
    padding-right: 15px;
  }
  /* Testimonials */
  #testimonials {
    padding-top: 45px;
  }
  #testimonial-slider {
    top: 0;
  }
  #testimonials .vertical-heading {
    padding: 0;
  }
  .testimonial .row {
    margin: 0;
  }
  .testimonial h3 {
    font-size: 20px;
  }
  .testimonial .stars {
    font-size: 16px;
  }
  .author img {
    width: 80px !important;
  }
  /* Pricing */
  .pricing-table {
    margin-bottom: 30px;
  }
  .pricing-table .price h2 {
    font-size: 28px;
    margin: 0 0 0 16px;
  }
  /* Stats */
  .stats-item {
    margin-bottom: 20px;
    padding: 25px 5px;
  }
  .stats-item i {
    font-size: 30px;
  }
  .stats-item h3 {
    font-size: 24px;
  }
  /* Blog */
  #blog-left {
    text-align: center;
    margin-bottom: 30px;
  }
  .blog-post {
    margin-bottom: 25px;
  }
  /* Contact */
  #contact-left {
    text-align: center;
  }
  .office {
    margin-bottom: 40px;
  }
  ul.office-details li {
    display: block;
    margin-top: 25px;
  }
  ul.office-details li i {
    width: auto;
    display: block;
    margin-bottom: 3px;
  }
  ul.social-list {
    margin-bottom: 40px;
  }
}

/* Extra Small Devices (Portrait Phones & Smaller Devices) */

@media (max-width: 480px) {
  /* Home */
  #home-heading h1 {
    font-size: 18px;
  }
  #home-text p {
    font-size: 11px;
    line-height: 16px;
    margin: 8px 10px 25px 10px;
  }
  /* Generic */
  .vertical-heading h2 {
    font-size: 22px;
  }
  /* Portfolio */
  #isotope-filters {
    text-align: center;
  }
  #isotope-filters button {
    font-size: 10px;
    padding-right: 14px;
  }
  /* Testimonials */
  .testimonial h3 {
    font-size: 14px;
    line-height: 18px;
  }
  .testimonial .stars {
    font-size: 13px;
  }
  .web,.mobile,.desktop{
    left: 0px;
  }
}

/* Extra Small Devices (Portrait Phones & Smaller Devices) */

@media (max-width: 320px) {
  /* Testimonials */
  .testimonial h3 {
    font-size: 12px;
    line-height: 16px;
  }
  .testimonial .stars {
    font-size: 10px;
  }
}

.img-responsive {
  width: 100%;
}


/* Portfolio Grid - Clean & Responsive */
#portfolio-wrapper {
    margin: 0 -15px;
}

.isotope-container {
    width: 100%;
    overflow: hidden;
}

.portfolio-item {
    padding: 15px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 30px;
}

.portfolio-image-container {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    overflow: hidden;
    border-radius: 16px;
    background: #111;
}

    .portfolio-image-container img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
    transition: 0.3s ease;
}

.portfolio-item:hover::before {
    background: rgba(0, 0, 0, 0.4);
}

.portfolio-item-detail {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    color: #fff;
    text-align: left;
}

    .portfolio-item-detail h3 {
        font-size: 24px;
        margin: 0;
        color: #fff;
        font-weight: 600;
    }

    .portfolio-item-detail p {
        font-size: 15px;
        color: #b2dfdb;
        margin: 5px 0 0;
    }

.portfolio-item:hover .portfolio-item-detail h3 {
    color: #00e0b6;
}

.portfolio-item:hover .portfolio-item-detail p {
    color: #80cbc4;
}

/* Responsive */
@media (max-width: 991px) {
    .portfolio-item {
        padding: 10px;
    }
}

@media (max-width: 767px) {
    .portfolio-item {
        margin-bottom: 20px;
    }
}