/* ==========================================================================
   Supported Company Logos Section - Pure Logo 3D Flip Styling
   Rehan Ayaz Portfolio Website
   ========================================================================== */

.our-supported-company-area {
  position: relative;
  z-index: 2;
  padding-top: 70px;
  padding-bottom: 40px;
}

/* Reset any legacy borders from older templates */
.our-supported-company-area .row.companies-cards-grid {
  border: none !important;
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}

/* Section Header Styling */
.our-supported-company-area .section-head {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.our-supported-company-area .section-head .subtitle {
  font-family: var(--font-primary, "Montserrat", sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 30px;
  background: rgba(19, 253, 253, 0.08);
  border: 1px solid rgba(19, 253, 253, 0.25);
  box-shadow: 0 0 20px rgba(19, 253, 253, 0.12);
  margin-bottom: 16px;
  color: #13fdfd !important;
  -webkit-text-fill-color: #13fdfd !important;
}

.our-supported-company-area .section-head .subtitle i {
  color: #139bfd;
  font-size: 14px;
}

.our-supported-company-area .section-head .title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--color-white, #ffffff);
  margin-bottom: 14px;
  line-height: 1.25;
}

.our-supported-company-area .section-head .description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-body, #a4a9b6);
  margin-bottom: 0;
}

/* ==========================================================================
   Company Card Container (Static & Clean - No Card-Level Hover Effects)
   ========================================================================== */
.company-card-wrapper {
  height: 100%;
}

.company-logo-card {
  position: relative;
  height: 140px;
  width: 100%;
  background: linear-gradient(145deg, rgba(10, 26, 38, 0.75) 0%, rgba(3, 13, 20, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s ease;
}

.company-logo-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

/* Card Content Area */
.company-card-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 30px;
}

.company-card-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

/* Logo 3D Flip Container */
.company-logo-flip-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  perspective: 800px;
  transform-style: preserve-3d;
}

/* Brand Logo Image */
.company-brand-logo {
  max-height: 48px;
  max-width: 175px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(1.2) contrast(1.05);
  transform-style: preserve-3d;
  backface-visibility: visible;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 991px) {
  .our-supported-company-area {
    padding-top: 55px;
  }
  .company-logo-card {
    height: 125px;
  }
  .company-brand-logo {
    max-height: 42px;
    max-width: 160px;
  }
}

@media (max-width: 767px) {
  .our-supported-company-area {
    padding-top: 45px;
  }
  .company-logo-card {
    height: 115px;
    border-radius: 16px;
  }
  .company-card-content {
    padding: 18px 22px;
  }
  .company-brand-logo {
    max-height: 38px;
    max-width: 140px;
  }
}

@media (max-width: 575px) {
  .company-logo-card {
    height: 105px;
  }
  .company-brand-logo {
    max-height: 34px;
    max-width: 125px;
  }
}

/* ==========================================================================
   Site Text Logo - Heading Typography Style
   Matches Site Heading Aesthetics (Montserrat 800, White + Cyan Gradient Accent)
   ========================================================================== */
.site-text-logo {
  display: inline-flex !important;
  flex-direction: column !important;
  text-decoration: none !important;
  line-height: 1.15 !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  vertical-align: middle;
}

.site-text-logo:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 16px rgba(19, 253, 253, 0.35));
}

.site-text-logo .logo-brand-name {
  font-family: var(--font-primary, "Montserrat", sans-serif) !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  text-transform: none !important;
}

.site-text-logo .logo-accent {
  background: linear-gradient(312deg, #13fdfd 0%, #139bfd 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-family: var(--font-primary, "Montserrat", sans-serif) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  display: inline-block !important;
  margin-left: 3px !important;
  filter: drop-shadow(0 0 10px rgba(19, 253, 253, 0.5));
}

.site-text-logo .logo-brand-tagline {
  font-family: var(--font-secondary, "Poppins", sans-serif) !important;
  font-size: 9.5px !important;
  font-weight: 600 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.6) !important;
  margin-top: 4px !important;
  display: block !important;
  line-height: 1 !important;
}

/* Footer text logo adjustments */
.footer-text-logo {
  align-items: center !important;
  text-align: center !important;
  margin-bottom: 16px !important;
}

.footer-text-logo .logo-brand-name {
  font-size: 36px !important;
  justify-content: center !important;
}

.footer-text-logo .logo-accent {
  font-size: 30px !important;
}

.footer-text-logo .logo-brand-tagline {
  font-size: 11px !important;
  letter-spacing: 1.5px !important;
  color: rgba(255, 255, 255, 0.65) !important;
  margin-top: 6px !important;
}

@media only screen and (max-width: 991px) {
  .site-text-logo .logo-brand-name {
    font-size: 22px !important;
  }
  .site-text-logo .logo-accent {
    font-size: 19px !important;
  }
  .site-text-logo .logo-brand-tagline {
    font-size: 8.5px !important;
  }
  .footer-text-logo .logo-brand-name {
    font-size: 28px !important;
  }
}

@media only screen and (max-width: 575px) {
  .site-text-logo .logo-brand-name {
    font-size: 19px !important;
  }
  .site-text-logo .logo-accent {
    font-size: 16px !important;
  }
  .site-text-logo .logo-brand-tagline {
    font-size: 7.5px !important;
    letter-spacing: 0.8px !important;
  }
  .footer-text-logo .logo-brand-name {
    font-size: 24px !important;
  }
}
