/* ============ PrimeBridge custom polish ============ */

/* Logo size — keep brand readable on every breakpoint */
.header-logo img,
.offcanvas__logo img,
.contact-info-area-2 .logo-image img { max-height: 90px; width: auto; }
@media (max-width: 575px) {
  .header-logo img { max-height: 60px; }
}

/* Hero — better text wrapping & spacing */
.hero-section-2 .hero-content h1 { font-weight: 800; letter-spacing: -0.5px; }
.hero-section-2 .hero-content p  { font-size: 17px; line-height: 1.7; max-width: 560px; }
.hero-section-2 .hero-cta-group  { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-section-2 .hero-cta-group .theme-btn { display: inline-flex; align-items: center; }
.hero-section-2 .hero-cta-group .ghost-btn {
  background: transparent; border: 2px solid #0c1e35; color: #0c1e35;
  padding: 14px 28px; border-radius: 8px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px; transition: .25s;
}
.hero-section-2 .hero-cta-group .ghost-btn:hover { background:#0c1e35; color:#fff; }
.hero-section-2 .hero-cta-group .wa-btn {
  background:#25D366; color:#fff; border:none;
  padding:14px 28px; border-radius:8px; font-weight:600;
  display:inline-flex; align-items:center; gap:10px; transition:.25s;
}
.hero-section-2 .hero-cta-group .wa-btn:hover { background:#1ebe57; color:#fff; }
.hero-section-2 .hero-cta-group .wa-btn i { font-size: 22px; }

/* Mobile hero polish — hide image, tighten spacing, center content */
@media (max-width: 991px) {
  .hero-section-2 {
    padding-top: 90px; padding-bottom: 50px;
    text-align: center;
    background-position: center center !important;
  }
  .hero-section-2 .container .row { --bs-gutter-y: 0; }
  .hero-section-2 .hero-content { max-width: 640px; margin: 0 auto; }
  .hero-section-2 .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-section-2 .hero-cta-group { justify-content: center; margin-top: 20px; }
  .hero-section-2 .hero-content h1 { font-size: 36px; line-height: 1.18; margin-bottom: 14px; }
  /* Hide all hero imagery on tablet & phones — including the wrapping column */
  .hero-section-2 .col-lg-6:has(.hero-image),
  .hero-section-2 .hero-image,
  .hero-section-2 .hero-shape,
  .hero-section-2 .hero-shape-2,
  .hero-section-2 .box-shape-1,
  .hero-section-2 .box-shape-2 { display: none !important; }
}
@media (max-width: 575px) {
  .hero-section-2 { padding-top: 80px; padding-bottom: 40px; }
  .hero-section-2 .hero-content h1 { font-size: 26px; line-height: 1.22; margin-bottom: 12px; }
  .hero-section-2 .hero-content p  { font-size: 14px; line-height: 1.55; margin-bottom: 0; }
  .hero-section-2 .hero-content .sub-title { font-size: 12px; padding: 5px 12px !important; margin-bottom: 12px !important; }
  .hero-section-2 .hero-cta-group  { gap: 10px; margin-top: 18px; }
  .hero-section-2 .hero-cta-group .theme-btn,
  .hero-section-2 .hero-cta-group .ghost-btn,
  .hero-section-2 .hero-cta-group .wa-btn {
    width: 100%; justify-content: center;
    padding: 12px 20px; font-size: 14px;
  }
}

/* Section padding — tighter rhythm on every breakpoint */
.section-padding { padding-top: 90px; padding-bottom: 90px; }
@media (max-width: 1199px) {
  .section-padding { padding-top: 80px; padding-bottom: 80px; }
}
@media (max-width: 575px) {
  .section-padding { padding-top: 50px; padding-bottom: 50px; }
  .section-title { margin-bottom: 26px; }
  .section-title h2 { font-size: 24px; line-height: 1.22; }
  .section-title h2 br { display: none; }
  .section-title .sub-title { font-size: 12px; padding: 4px 12px; margin-bottom: 10px; }
}

/* Floating WhatsApp button — visible on every page */
.float-whatsapp {
  position: fixed; right: 20px; bottom: 24px; z-index: 9990;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; box-shadow: 0 6px 22px rgba(37,211,102,.45);
  transition: transform .25s ease, box-shadow .25s ease;
  animation: pb-pulse 2.2s infinite;
}
.float-whatsapp:hover {
  color:#fff; transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(37,211,102,.55);
}
@keyframes pb-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70%  { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 575px) {
  .float-whatsapp { width: 52px; height: 52px; font-size: 24px; right: 14px; bottom: 18px; }
}

/* Header — logo & menu spacing */
@media (min-width: 1200px) {
  .header-1 .main-menu ul li { margin: 0 14px; }
}

/* Footer — consistent text colour & link hover */
.footer-section .single-footer-widget .list-items li { margin-bottom: 10px; }
.footer-section .single-footer-widget a,
.footer-section .single-footer-widget li { color: #cfd3dc; transition: color .2s; }
.footer-section .single-footer-widget a:hover { color: #ff5f2c; }
.footer-section .footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; }

/* Breadcrumb spacing */
.breadcrumb-wrapper { padding: 130px 0 80px; }
@media (max-width: 575px) { .breadcrumb-wrapper { padding: 100px 0 50px; } }
.breadcrumb-wrapper h1 { font-size: 44px; }
@media (max-width: 575px) { .breadcrumb-wrapper h1 { font-size: 30px; } }

/* Buttons — accessibility */
.theme-btn, .ghost-btn, .wa-btn { letter-spacing: .2px; }
.theme-btn:focus, .ghost-btn:focus, .wa-btn:focus,
.float-whatsapp:focus { outline: 3px solid #ffb38a; outline-offset: 2px; }

/* Cards & images — soft consistent radius */
.news-box-items, .service-box-items-2, .testimonial-card-items-two,
.team-image, .portfolio-image-items img, .about-image img {
  border-radius: 14px; overflow: hidden;
}

/* Form polish */
.contact-form-items input,
.contact-form-items textarea {
  border: 1px solid #e3e6ec !important; border-radius: 10px !important;
  padding: 14px 18px !important; font-size: 15px !important;
}
.contact-form-items textarea { min-height: 140px; }
.contact-form-items button[type="submit"] {
  background:#ff5f2c; color:#fff; padding:14px 32px; border:none;
  border-radius:10px; font-weight:600; transition:.25s;
}
.contact-form-items button[type="submit"]:hover { background:#0c1e35; }

/* Hide horizontal scroll bug on small phones */
html, body { overflow-x: hidden; }

/* ========================================================================
   Social icons — circular buttons (footer + anywhere .social-icon is used)
   ======================================================================== */
.social-icon { gap: 10px; flex-wrap: wrap; }
.social-icon a {
  width: 40px; height: 40px;
  display: inline-flex !important;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff !important;
  font-size: 15px;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
  text-decoration: none;
  margin: 0;
}
.social-icon a:hover {
  background: #ff5f2c;
  border-color: #ff5f2c;
  color: #fff !important;
  transform: translateY(-3px);
}
/* Brand-coloured hover for each platform */
.social-icon a:has(.fa-whatsapp):hover  { background:#25D366; border-color:#25D366; }
.social-icon a:has(.fa-facebook-f):hover { background:#1877F2; border-color:#1877F2; }
.social-icon a:has(.fa-linkedin-in):hover{ background:#0A66C2; border-color:#0A66C2; }
.social-icon a:has(.fa-envelope):hover,
.social-icon a:has(.fa-envelope-open):hover { background:#ea4335; border-color:#ea4335; }
.social-icon a:has(.fa-instagram):hover {
  background: linear-gradient(45deg,#feda75,#fa7e1e,#d62976,#962fbf,#4f5bd5);
  border-color: transparent;
}
.social-icon a:has(.fa-x-twitter):hover,
.social-icon a:has(.fa-twitter):hover   { background:#000; border-color:#000; }
.social-icon a:has(.fa-youtube):hover   { background:#ff0000; border-color:#ff0000; }

/* Footer-bottom row spacing on mobile */
@media (max-width: 767px) {
  .footer-section .footer-bottom .footer-wrapper {
    flex-direction: column; gap: 14px; text-align: center;
  }
  .footer-section .footer-bottom .social-icon { justify-content: center; }
}

/* ========================================================================
   General mobile polish across all pages
   ======================================================================== */
@media (max-width: 991px) {
  .breadcrumb-wrapper { padding: 110px 0 60px; text-align: center; }
  .breadcrumb-wrapper h1 { font-size: 36px; }
  .section-padding { padding-top: 70px; padding-bottom: 70px; }
  .section-title h2 br { display: none; }

  /* Stop heavy decorative imagery from overflowing on mobile */
  .about-section-2 .about-image-items .left-img,
  .about-section-2 .about-image-items .right-img,
  .about-section-2 .experience-box,
  .feature-section .shape-icon,
  .cta-section .shape,
  .testimonial-section .shape,
  .project-section .shape { display: none !important; }

  /* Footer columns gap */
  .footer-section .footer-widget-wrapper .row > [class*="col-"] { margin-bottom: 28px; }
  .footer-section .single-footer-widget .widget-head h3 { font-size: 20px; margin-bottom: 14px; }
  .footer-section .contact-info-area {
    flex-direction: column; gap: 18px; text-align: center;
    padding: 28px 0;
  }
  .footer-section .contact-info-area .section-title h2 { font-size: 26px; line-height: 1.25; }
  .footer-section .contact-info-area .section-title h2 br { display: none; }
}

@media (max-width: 575px) {
  .section-padding { padding-top: 50px; padding-bottom: 50px; }
  .section-title h2 { font-size: 24px; }
  .section-title p  { font-size: 14px; }
  .breadcrumb-wrapper { padding: 90px 0 45px; }
  .breadcrumb-wrapper h1 { font-size: 26px; }

  /* Card images — keep aspect tidy */
  .news-box-items img,
  .service-box-items-2 img,
  .portfolio-image-items img { width: 100%; height: auto; }

  /* Tighter container gutters */
  .container, .container-lg, .container-md, .container-sm { padding-left: 16px; padding-right: 16px; }

  /* Buttons — finger-friendly */
  .theme-btn { padding: 12px 22px; font-size: 14px; }

  /* Footer */
  .footer-section { padding-top: 50px; }
  .footer-section .footer-widget-wrapper { padding-top: 30px; padding-bottom: 10px; }
  .footer-section .single-footer-widget p,
  .footer-section .single-footer-widget li,
  .footer-section .single-footer-widget a { font-size: 14px; }
}

/* Header — make mobile menu trigger always visible & tappable */
@media (max-width: 991px) {
  .header-1 .header-right .mobile-menu-bar { display: inline-flex; align-items: center; }
  .header-1 .header-right .mobile-menu-bar i { font-size: 26px; }
  .header-logo img { max-height: 56px !important; }
}

/* Offcanvas / mean-menu polish */
.mean-container .mean-bar { background: #0c1e35; }
.mean-container .mean-nav ul li a { font-size: 15px; padding: 12px 18px; }

/* ========================================================================
   Service cards — compact on mobile, peek-next via Swiper auto width
   ======================================================================== */
.service-section-3 .swiper { padding-bottom: 10px; }
.service-section-3 .swiper-slide { height: auto; }
.service-section-3 .service-box-items-2 { height: 100%; }

@media (max-width: 991px) {
  .service-section-3 { padding-top: 60px; padding-bottom: 60px; }
  .service-section-3 .section-title { margin-bottom: 30px; }
  .service-box-items-2 { padding: 22px 20px !important; border-radius: 14px; }
  .service-box-items-2 .icon { width: 56px; height: 56px; margin-bottom: 14px; }
  .service-box-items-2 .icon img { max-width: 36px; height: auto; }
  .service-box-items-2 .content h3,
  .service-box-items-2 .content h3 a { font-size: 18px; line-height: 1.3; margin-bottom: 10px; }
  .service-box-items-2 .content ul li { font-size: 13px; line-height: 1.55; margin-bottom: 6px; }
  .service-box-items-2 .content .link-btn { font-size: 13px; margin-top: 8px; }
}
@media (max-width: 575px) {
  .service-section-3 { padding-top: 44px; padding-bottom: 44px; }
  .service-box-items-2 { padding: 20px 18px !important; }
  .service-box-items-2 .content h3,
  .service-box-items-2 .content h3 a { font-size: 17px; }
  .service-box-items-2 .content ul li { font-size: 12.5px; }
  .service-section-3 .swiper-dot-3 { margin-top: 22px !important; }
}

/* Hide the empty col on mobile that wraps hero-image (extra peace of mind) */
@media (max-width: 991px) {
  .hero-section-2 .row > .col-lg-6:nth-child(2) { display: none !important; }
}

/* Desktop \u2014 trim oversized rhythm on common sections */
@media (min-width: 992px) {
  .breadcrumb-wrapper { padding: 140px 0 90px; }
  .footer-section { padding-top: 80px; }
  .footer-section .footer-bottom { padding: 18px 0; }
}

