/**
 * ICS Expo Global Connect
 * Complete Multi-Device Responsive Stylesheet - responsive.css
 * Optimized for Desktops, Laptops, Tablets, and Small/Large Mobile Devices
 */

/* ==========================================================================
   Global Responsive Foundations
   ========================================================================== */
html,
body {
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   Large Desktops & Laptops (max-width: 1200px)
   ========================================================================== */
@media (max-width: 1200px) {
  .carousel-caption-heading-two {
    font-size: 110px;
    line-height: 0.92;
  }

  .carousel-caption-heading-three {
    font-size: 42px;
  }

  .carousel-caption-heading-one {
    font-size: 30px;
  }

  .team-grid-4-col {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .team-grid-5-col {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 18px;
    row-gap: 22px;
  }
}

/* ==========================================================================
   Tablets & Medium Screens (max-width: 991.98px)
   ========================================================================== */
@media (max-width: 991.98px) {
  /* Main Hero Navbar */
  .ftco-navbar-light {
    background: #0f1626 !important;
    padding: 14px 0;
    position: relative;
  }

  .ftco-navbar-light .navbar-collapse {
    background: #0f1626;
    padding: 20px;
    margin-top: 14px;
    border-radius: var(--border-radius-sm, 8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
    color: #ffffff !important;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .ftco-navbar-light .navbar-nav > .nav-item:last-child > .nav-link {
    border-bottom: none;
  }

  .ftco-navbar-light .navbar-nav > .nav-item > .nav-link::after {
    display: none;
  }

  .ftco-navbar-light .menu-btn-contact {
    margin-left: 0;
    margin-top: 16px;
    display: block;
    text-align: center;
    width: 100%;
  }

  .ftco-navbar-light.scrolled {
    background: #ffffff !important;
  }

  .ftco-navbar-light.scrolled .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.2);
  }

  .ftco-navbar-light.scrolled .navbar-toggler-icon {
    filter: invert(1);
  }

  .ftco-navbar-light.scrolled .navbar-collapse {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #eeeeee;
  }

  .ftco-navbar-light.scrolled .navbar-nav > .nav-item > .nav-link {
    color: #111111 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  /* Inner Pages Navbar */
  .about-header-nav .navbar {
    padding: 12px 0;
  }

  .about-header-nav .navbar-collapse {
    background: #ffffff;
    padding: 18px 20px;
    margin-top: 12px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #eeeeee;
  }

  .about-header-nav .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .about-header-nav .separator-slash {
    display: none !important;
  }

  .about-header-nav .nav-link {
    padding: 12px 10px !important;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
  }

  .about-header-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  .about-header-nav .about-nav-contact-btn {
    margin: 16px 0 0 0 !important;
    display: block;
    text-align: center;
    width: 100%;
  }

  /* Hero Banner */
  .hero-content {
    padding: 90px 0 50px 0;
  }

  .carousel-caption-heading-two {
    font-size: 80px;
    line-height: 0.95;
  }

  .carousel-caption-heading-three {
    font-size: 34px;
    line-height: 1.1;
  }

  .carousel-caption-heading-one {
    font-size: 24px;
    line-height: 1.2;
  }

  /* Sections Padding */
  .section-padding,
  .section-padding-inner,
  .industries-represent-section,
  .upcoming-events-section,
  .why-choose-section,
  .faq-connect-section,
  .about-overview-section,
  .about-leadership-quote-section,
  .people-intro-section,
  .services-intro-section,
  .service-block-section,
  .contact-intro-section,
  .contact-content-section,
  .careers-intro-section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  .about-section-img-box-main {
    margin-top: 36px;
  }

  .why-choose-heading {
    font-size: 28px;
  }

  /* Team Grids */
  .team-grid-4-col,
  .team-grid-3-col {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .team-grid-5-col {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 16px;
    row-gap: 20px;
  }

  /* Leadership Quote Section */
  .leadership-quote-box {
    padding-left: 0 !important;
    padding-top: 24px !important;
  }

  .leadership-portrait-img {
    max-width: 100%;
    width: 260px;
    height: auto;
    margin: 0 auto;
  }

  /* Regional Offices */
  .regional-offices-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ==========================================================================
   Portrait Tablets & Large Phones (max-width: 767.98px)
   ========================================================================== */
@media (max-width: 767.98px) {
  /* Hero Carousel */
  .hero-banner-wrapper {
    min-height: 60vh;
  }

  .carousel-caption-heading-one {
    font-size: 20px;
  }

  .carousel-caption-heading-two {
    font-size: 60px;
    line-height: 0.94;
    letter-spacing: 0.5px;
  }

  .carousel-caption-heading-three {
    font-size: 26px;
    margin-bottom: 16px;
  }

  .carousel-caption-btn {
    font-size: 13.5px;
    padding: 10px 30px 10px 16px;
  }

  /* Why Choose */
  .why-choose-title {
    font-size: 26px;
  }

  .why-choose-content-box {
    padding-right: 0;
  }

  .why-choose-content-box::after {
    display: none;
  }

  /* Sector Icons Row */
  .service-icons-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .service-icon-item {
    min-width: unset;
    padding: 10px 6px;
  }

  .service-icon-img {
    height: 32px;
  }

  .service-icon-label {
    font-size: 11px;
  }

  /* Team Grids */
  .team-grid-4-col,
  .team-grid-3-col {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .team-grid-5-col {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 14px;
    row-gap: 18px;
  }

  /* Regional Offices */
  .regional-offices-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Contact Head Office */
  .connect-head-office {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .head-office-divider {
    width: 60px;
    height: 1.5px;
    margin: 0 auto;
  }

  .head-office-title,
  .head-office-address,
  .head-office-contact {
    text-align: center;
  }

  /* WhatsApp Floating Button */
  .whatsapp-button {
    width: 48px;
    height: 48px;
    font-size: 25px;
    bottom: 20px;
    right: 20px;
  }

  /* Footer */
  .footer-heading {
    margin-top: 24px;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-link-bottom {
    margin-top: 12px;
    text-align: center;
    line-height: 1.8;
  }
}

/* ==========================================================================
   Standard Smartphones (max-width: 575.98px)
   ========================================================================== */
@media (max-width: 575.98px) {
  /* Hero */
  .carousel-caption-heading-one {
    font-size: 17px;
  }

  .carousel-caption-heading-two {
    font-size: 48px;
  }

  .carousel-caption-heading-three {
    font-size: 22px;
  }

  /* Main Headings */
  .industries-section-title,
  .about-page-main-heading,
  .people-main-heading,
  .services-main-heading,
  .contact-main-heading,
  .careers-main-heading {
    font-size: 26px !important;
    line-height: 1.25;
  }

  .services-intro-para,
  .people-intro-para,
  .contact-intro-para,
  .careers-intro-para {
    font-size: 14.5px;
    line-height: 1.6;
  }

  /* Team Grid 1-Column or Clean 2-Column */
  .team-grid-4-col,
  .team-grid-3-col {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .team-member-name {
    font-size: 14px !important;
  }

  .team-member-designation {
    font-size: 12px !important;
  }

  .team-member-info {
    padding: 12px 8px !important;
  }

  /* Sector Icons Row */
  .service-icons-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* Industry Cards */
  .industry-card-item {
    height: 340px;
    border-radius: 20px;
  }

  .industry-card-name {
    font-size: 14.5px;
    padding: 14px;
  }

  /* FAQ */
  .faq-card {
    padding: 24px 16px;
    border-radius: 12px;
  }

  .faq-card-title {
    font-size: 20px;
  }

  .faq-accordion-item .accordion-button {
    font-size: 14px;
    padding: 14px 12px;
  }

  .faq-accordion-item .accordion-body {
    font-size: 13.5px;
    padding: 0 12px 14px 12px;
  }

  /* Email Pill */
  .connect-email-pill {
    font-size: 14px;
    padding: 12px 20px;
    word-break: break-all;
    max-width: 100%;
    display: inline-block;
  }

  /* About Photo Frame */
  .about-photo-wrapper {
    padding: 6px;
  }

  .about-photo-frame {
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-width: 2.5px;
  }

  .director-quote-statement {
    font-size: 14px;
    line-height: 1.6;
  }

  .director-fullname {
    font-size: 19px;
  }

  .director-designation {
    font-size: 13px;
  }
}

/* ==========================================================================
   Small Mobile Devices (max-width: 420px)
   ========================================================================== */
@media (max-width: 420px) {
  .section-padding,
  .section-padding-inner,
  .industries-represent-section,
  .upcoming-events-section,
  .why-choose-section,
  .faq-connect-section,
  .about-overview-section,
  .about-leadership-quote-section,
  .people-intro-section,
  .services-intro-section,
  .service-block-section,
  .contact-intro-section,
  .contact-content-section,
  .careers-intro-section {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }

  /* Navbar Brand Logo */
  .navbar-brand img,
  .about-nav-logo {
    height: 36px !important;
    max-height: 36px !important;
  }

  .carousel-caption-heading-one {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .carousel-caption-heading-two {
    font-size: 40px;
    line-height: 0.95;
    letter-spacing: 0;
  }

  .carousel-caption-heading-three {
    font-size: 19px;
    margin-bottom: 12px;
  }

  .carousel-caption-btn {
    font-size: 12.5px;
    padding: 8px 24px 8px 14px;
  }

  /* Single Column Team on Very Narrow Screens */
  .team-grid-4-col,
  .team-grid-3-col {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 280px;
    margin: 0 auto;
  }

  .about-page-main-heading,
  .industries-section-title,
  .people-main-heading,
  .services-main-heading,
  .contact-main-heading {
    font-size: 23px !important;
  }

  .service-desc-text,
  .why-choose-para,
  .about-main-desc-para {
    font-size: 14px;
    line-height: 1.6;
  }

  .connect-email-pill {
    font-size: 13px;
    padding: 10px 16px;
  }

  .head-office-title {
    font-size: 16px;
  }

  .head-office-address,
  .head-office-contact {
    font-size: 13px;
  }

  .footer-link-bottom {
    font-size: 12px;
  }

  .whatsapp-button {
    width: 44px;
    height: 44px;
    font-size: 22px;
    bottom: 16px;
    right: 16px;
  }
}

/* ==========================================================================
   Extra Small / Compact Screens (max-width: 360px)
   ========================================================================== */
@media (max-width: 360px) {
  .navbar-brand img,
  .about-nav-logo {
    height: 32px !important;
    max-height: 32px !important;
  }

  .carousel-caption-heading-two {
    font-size: 34px;
  }

  .carousel-caption-heading-three {
    font-size: 17px;
  }

  .connect-email-pill {
    font-size: 12px;
    padding: 9px 12px;
  }

  .service-icons-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .service-icon-img {
    height: 28px;
  }

  .service-icon-label {
    font-size: 10px;
  }
}
