/*--------------------------------------------------------------
# Responsive CSS
--------------------------------------------------------------*/

@media (max-width: 1200px) {
  #hero h2 {
    font-size: 40px;
  }
  .section-title h2 {
    font-size: 28px;
  }
}

@media (max-width: 992px) {
  #header {
    height: 70px;
  }
  .scrolled-offset {
    margin-top: 70px;
  }
  #hero {
    height: 65vh;
  }
  #hero h2 {
    font-size: 36px;
  }
  #hero p {
    width: 90%;
  }
  .about .content h3 {
    font-size: 22px;
  }
  .services .icon-box {
    min-height: 280px;
  }
  .branch-item {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  #hero {
    height: 60vh;
  }
  #hero h2 {
    font-size: 28px;
    line-height: 36px;
  }
  #hero p {
    font-size: 14px;
    width: 100%;
  }
  #hero .btn-get-started {
    font-size: 13px;
    padding: 10px 24px;
  }
  .section-title h2 {
    font-size: 24px;
  }
  .section-title p {
    font-size: 14px;
  }
  .about .content h3 {
    font-size: 20px;
  }
  .services .icon-box {
    margin-bottom: 20px;
    min-height: auto;
  }
  .portfolio .portfolio-wrap .portfolio-info h4 {
    font-size: 18px;
  }
  .news .news-info h4 {
    font-size: 16px;
  }
  .contact .info-box {
    margin-bottom: 20px;
  }
  .contact .contact-form {
    margin-top: 15px;
  }
  #footer .footer-top {
    padding: 40px 0 20px 0;
  }
  #footer .footer-top .footer-links, 
  #footer .footer-top .footer-newsletter {
    margin-top: 20px;
  }
  .breadcrumbs h2 {
    font-size: 24px;
  }
  .timeline .timeline-badge {
    left: 0;
  }
  .timeline .timeline-panel {
    width: calc(100% - 60px);
    float: right;
  }
  .timeline .timeline-inverted .timeline-panel {
    float: right;
    margin-left: 60px;
  }
  .sidebar {
    padding: 20px;
    margin-top: 30px;
  }
  .branch-item {
    margin-bottom: 20px;
  }
  .process-arrow {
    display: none;
  }
  .process-step {
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  #hero {
    height: 55vh;
  }
  #hero h2 {
    font-size: 24px;
    line-height: 32px;
  }
  #hero p {
    font-size: 13px;
  }
  .section-title h2 {
    font-size: 22px;
  }
  .portfolio .portfolio-wrap .portfolio-info h4 {
    font-size: 16px;
  }
  .news .news-info h4 {
    font-size: 15px;
  }
  .testimonials .testimonial-item p {
    font-size: 14px;
  }
  #footer .footer-top .footer-newsletter form input[type="email"] {
    width: calc(100% - 90px);
  }
  #footer .footer-top .footer-newsletter form input[type="submit"] {
    padding: 0 15px;
  }
  .breadcrumbs ol {
    display: none;
  }
  .entry-title {
    font-size: 20px;
  }
  .branch-item {
    margin-bottom: 15px;
  }
  .navbar-mobile {
    z-index: 999;
  }
  .mobile-nav-toggle {
    right: 10px;
  }
  .contact-cta .cta-btn {
    margin-top: 15px;
  }
  .contact-info .info {
    margin-bottom: 20px;
  }
  .back-to-top {
    right: 10px;
    bottom: 10px;
  }
  .footer-links, .footer-info, .footer-newsletter {
    text-align: center;
  }
}

@media (max-width: 480px) {
  #hero {
    height: 50vh;
  }
  #hero h2 {
    font-size: 20px;
    line-height: 28px;
  }
  .btn-get-started,
  .btn-learn-more {
    padding: 8px 20px;
    font-size: 12px;
  }
  .services .icon i {
    font-size: 36px;
  }
  .services .title {
    font-size: 16px;
  }
  .services .description {
    font-size: 13px;
  }
  .contact .info-box h3 {
    font-size: 18px;
  }
  #footer .social-links a {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  .logo {
    font-size: 24px;
  }
  .beian {
    font-size: 12px;
    margin-top: 5px;
  }
}
