/**
 * Responsive Styles for FTEC Group Website
 */

/* ============================================
   Mobile Navigation
   ============================================ */
@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    max-width: 300px;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    gap: 0;
  }

  .navbar.navbar-mobile ul {
    right: 0;
  }

  .navbar ul li {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--secondary-color);
  }

  .navbar ul li:last-child {
    border-bottom: none;
  }

  .navbar ul li a {
    padding: 10px 0;
    width: 100%;
  }

  .navbar ul li:has(i) {
    padding: 15px 0;
  }

  .phone-numbers {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .phone-numbers i {
    margin-right: 0;
    margin-bottom: 5px;
  }

  .phone-item {
    display: block;
    width: 100%;
  }

  .phone-separator {
    display: none;
  }
}

/* ============================================
   Tablet Styles
   ============================================ */
@media (max-width: 991px) {
  .hero {
    min-height: auto;
    padding: 60px 0 40px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero h2 {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta h2 {
    font-size: 2rem;
  }

  .about2-right ul li {
    flex-direction: column;
    text-align: center;
  }

  .about2-right ul li i {
    margin: 0 auto 15px;
  }

  .icon-box {
    flex-direction: column;
    text-align: center;
  }

  .icon-box i {
    margin: 0 auto 15px;
  }
}

/* ============================================
   Mobile Styles
   ============================================ */
@media (max-width: 768px) {
  #topbar {
    display: none;
  }

  #header {
    padding: 10px 0;
  }

  .logo img {
    max-height: 40px;
  }

  .hero {
    padding: 40px 0 30px;
    text-align: center;
  }

  .hero h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .hero h2 {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .hero .btn-get-started {
    width: 100%;
    justify-content: center;
    margin: 0 auto;
  }

  section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .section-desc {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .about2 {
    padding: 50px 0;
  }

  .about-img {
    margin-bottom: 30px;
  }

  .about2-right ul li {
    margin-bottom: 25px;
  }

  .about2-right ul li h4 {
    font-size: 1.1rem;
  }

  .cta {
    padding: 50px 0;
    text-align: center;
  }

  .cta h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .cta p {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .btn-read-more {
    width: 100%;
    justify-content: center;
  }

  .services {
    padding: 50px 0;
  }

  .service-box {
    margin-bottom: 20px;
  }

  .features {
    padding: 50px 0;
  }

  .srv-section-header h2 {
    font-size: 1.8rem;
  }

  .srv-section-header p {
    font-size: 1rem;
  }

  .icon-box {
    margin-bottom: 20px;
    padding: 20px;
  }

  .contact {
    padding: 50px 0;
  }

  .contactus-header {
    padding: 60px 0 40px;
    text-align: center;
  }

  .contactus-header p {
    font-size: 1.5rem;
  }

  .info-box {
    margin-bottom: 20px;
  }

  .footer-top {
    padding: 40px 0 30px;
  }

  .footer-info,
  .footer-links,
  .footer-contact {
    margin-bottom: 30px;
    text-align: center;
  }

  .footer-contact {
    text-align: center;
  }

  .footer-contact .table {
    margin: 0 auto;
    max-width: 300px;
  }

  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 15px;
    right: 15px;
    font-size: 18px;
  }
}

/* ============================================
   Small Mobile Styles
   ============================================ */
@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .hero h2 {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .cta h2 {
    font-size: 1.5rem;
  }

  .contactus-header p {
    font-size: 1.2rem;
  }

  .service-box {
    padding: 20px;
  }

  .service-box .icon {
    width: 60px;
    height: 60px;
  }

  .icon-box {
    padding: 15px;
  }

  .icon-box i {
    font-size: 2rem;
  }

  .info-box {
    padding: 20px;
  }

  .info-box i {
    font-size: 2rem;
  }
}

/* ============================================
   Large Desktop Styles
   ============================================ */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .hero h2 {
    font-size: 1.4rem;
  }

  .section-title {
    font-size: 3rem;
  }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
  #topbar,
  #header,
  .back-to-top,
  .btn-get-started,
  .btn-read-more {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  .hero,
  section {
    page-break-inside: avoid;
  }
}

