/* ==========================================================================
   GlobSol Power Pvt Ltd - Custom Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   00. Global Layout & Mobile Overflow Prevention
   -------------------------------------------------------------------------- */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
}

/* Reusable Utility Gradients */
.bg-gs-gradient,
.bg-primary-gradient,
.page-banner-gradient {
  background: linear-gradient(135deg, #3763eb 0%, #6f58e8 100%) !important;
}

.icon-gradient-bg {
  background: linear-gradient(135deg, #3763eb 0%, #6f58e8 100%) !important;
  color: #ffffff !important;
}


/* --------------------------------------------------------------------------
   Translucent Frosted-Glass Navbar (All pages, desktop & mobile, unscrolled & scrolled)
   -------------------------------------------------------------------------- */
.header.navbar-area {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(14px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(180%) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;
  transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.header.navbar-area .navbar {
  padding: 14px 0 !important;
  transition: padding 0.3s ease !important;
}

/* Translucent when scrolled down (sticky) */
.header.navbar-area.sticky {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.header.navbar-area.sticky .navbar {
  padding: 8px 0 !important;
}

/* Navigation Links Crisp Styling */
.navbar-nav .nav-item a {
  font-weight: 600 !important;
  color: #051441 !important;
  transition: color 0.25s ease !important;
}

.navbar-nav .nav-item:hover > a,
.navbar-nav .nav-item a.active {
  color: #3763EB !important;
}

/* Desktop Dropdown Submenu Frosted Glass */
@media (min-width: 992px) {
  .navbar-nav .nav-item a {
    padding: 12px 18px !important;
  }

  .navbar-nav .nav-item .sub-menu {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
    padding: 8px 0 !important;
  }

  .navbar-nav .nav-item .sub-menu::after {
    background: rgba(255, 255, 255, 0.95) !important;
  }
}

/* Submenu Toggle Button for Mobile Navigation (< 992px) */
.sub-menu-toggle {
  display: none;
}

/* Mobile Navbar Header & Navigation Enhancements (< 992px) */
@media (max-width: 991px) {
  .header.navbar-area .navbar {
    padding: 10px 0 !important;
  }

  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    padding: 15px 20px !important;
    border-radius: 0 0 12px 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    max-height: calc(100vh - 85px) !important;
    overflow-y: auto !important;
  }

  .navbar-nav .nav-item {
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  }

  .navbar-nav .nav-item:last-child {
    border-bottom: none;
  }

  /* Make room for the toggle button on parent links */
  .navbar-nav .nav-item a.dd-menu {
    padding-right: 50px !important;
  }

  /* Hide pseudo-chevron on mobile since we have a dedicated button */
  .navbar-nav .nav-item a.dd-menu::after {
    display: none !important;
  }

  /* Dedicated chevron toggle button */
  .sub-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
    width: 48px;
    height: 44px;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    z-index: 5;
    color: #051441;
    font-size: 13px;
    padding: 0;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .sub-menu-toggle:hover,
  .sub-menu-toggle:focus {
    color: #3763EB;
    background-color: rgba(55, 99, 235, 0.06);
  }

  .sub-menu-toggle i {
    display: inline-block;
    transition: transform 0.3s ease;
    pointer-events: none;
  }

  .sub-menu-toggle.active i,
  .sub-menu-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
    color: #3763EB;
  }

  /* Mobile Submenu Accordion */
  .navbar-nav .nav-item .sub-menu {
    position: static !important;
    width: 100% !important;
    background-color: #f8faff !important;
    border-radius: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transform: scaleY(0);
    transform-origin: top;
    transition: max-height 0.35s ease, opacity 0.3s ease, transform 0.35s ease, visibility 0.35s ease !important;
  }

  .navbar-nav .nav-item .sub-menu.show {
    max-height: 500px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: scaleY(1) !important;
    margin: 0 !important;
    padding: 4px 0 !important;
  }

  .navbar-nav .nav-item .sub-menu > li > a {
    padding: 10px 16px 10px 20px !important;
    font-size: 14px !important;
    color: #334155 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.04) !important;
    display: flex !important;
    align-items: center;
    justify-content: flex-start !important;
  }

  .navbar-nav .nav-item .sub-menu > li:first-child > a {
    border-top: none !important;
  }

  .navbar-nav .nav-item .sub-menu > li > a:hover,
  .navbar-nav .nav-item .sub-menu > li > a:active {
    color: #3763EB !important;
    background-color: rgba(55, 99, 235, 0.06) !important;
    padding-left: 24px !important;
    transition: all 0.2s ease;
  }
}

/* --------------------------------------------------------------------------
   01. Hero Section Customizations
   -------------------------------------------------------------------------- */

/* Reduce excessive vertical padding in hero section */
.hero-section .hero-content-wrapper {
  padding-top: 130px;
  padding-bottom: 40px !important;
}

/* Unclip hero image by using relative in-grid container positioning */
.hero-section .hero-img {
  position: relative !important;
  top: 0 !important;
  right: 0 !important;
  width: 100% !important;
  text-align: right;
  margin-top: 20px;
}

.hero-section .hero-img .hero-img-right {
  position: relative !important;
  display: inline-block;
  max-width: 100%;
  width: 100%;
}

.icon-box-lg {
  width: 60px;
  height: 60px;
}

.thumb-img {
  width: 70px;
  height: 55px;
  object-fit: cover;
  border-radius: 6px;
}

.card-img-container {
  height: 300px;
  overflow: hidden;
  position: relative;
}

.hero-section .hero-img .hero-main-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
}

/* Position dots shape and play icon inside the image (to the left inside) */
.hero-section .hero-img img.dot-shape {
  position: absolute !important;
  left: 20px !important;
  bottom: 20px !important;
  z-index: 1;
  opacity: 0.6;
}

.hero-section .hero-img .video-btn {
  position: absolute !important;
  left: 30px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 2;
}

/* Hero Section Mobile Styles (< 992px) */
@media (max-width: 991px) {
  .hero-section {
    padding-top: 80px;
  }
  .hero-section .hero-content-wrapper {
    padding: 40px 0 20px !important;
    text-align: center;
  }
  .hero-section .hero-content-wrapper h1 {
    font-size: 32px !important;
    line-height: 42px !important;
    margin-bottom: 15px !important;
  }
  .hero-section .hero-content-wrapper h2 {
    font-size: 20px !important;
    line-height: 30px !important;
  }
  .hero-section .hero-content-wrapper p {
    font-size: 16px !important;
    line-height: 24px !important;
    margin-bottom: 25px !important;
  }
  .hero-section .hero-img {
    position: relative !important;
    right: auto !important;
    top: 0 !important;
    width: 100% !important;
    text-align: center !important;
    margin: 10px 0 30px !important;
    overflow: hidden;
  }
  .hero-section .hero-img .hero-img-right {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }
  .hero-section .hero-img .hero-main-img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    max-height: 500px !important;
    display: block !important;
    margin: 0 auto !important;
  }
  .hero-section .hero-img img.dot-shape {
    display: none !important;
  }
  .hero-section .hero-img .video-btn {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
  }
}

/* --------------------------------------------------------------------------
   02. Client Logo Section Customizations
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   02. Client Logo Infinite Auto-Carousel / Marquee
   -------------------------------------------------------------------------- */
.client-logo-section {
  width: 100% !important;
  max-width: 100% !important;
  background: #ffffff !important;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 24px 0 !important;
  overflow: hidden !important;
  position: relative;
}

.client-marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.client-marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  will-change: transform;
  animation: gsClientMarquee 42s linear infinite;
}

.client-marquee-track:hover {
  animation-play-state: paused;
}

.client-marquee-group {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  padding-right: 3.5rem;
  flex-shrink: 0;
}

.client-marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  min-width: 120px;
  max-width: 160px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.client-marquee-item img {
  max-height: 44px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.88;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: block;
}

.client-marquee-item:hover img {
  opacity: 1;
  transform: scale(1.08);
}

@keyframes gsClientMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 767px) {
  .client-logo-section {
    padding: 16px 0 !important;
  }
  .client-marquee-group {
    gap: 2.2rem;
    padding-right: 2.2rem;
  }
  .client-marquee-item {
    height: 44px;
    min-width: 95px;
    max-width: 125px;
  }
  .client-marquee-item img {
    max-height: 36px;
    max-width: 110px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-marquee-track {
    animation: none;
  }
  .client-marquee-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
/* --------------------------------------------------------------------------
   03. About Us Section Customizations
   -------------------------------------------------------------------------- */

.about-section .about-img-wrapper {
  max-width: 580px !important;
  width: 100% !important;
}

.about-section .about-img-wrapper .about-img {
  max-width: 580px !important;
  width: 100% !important;
}

.about-section .about-img-wrapper img {
  max-height: 540px !important;
  max-width: 580px !important;
  width: 100% !important;
  object-fit: cover !important;
  border-radius: 20px !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
}

.about-section .about-img-wrapper .about-experience {
  width: 250px !important;
  padding: 25px 20px !important;
  border-radius: 18px !important;
  right: -20px !important;
  bottom: -20px !important;
  border: 4px solid #eff2f9 !important;
}

.about-section .about-img-wrapper .about-experience h3 {
  font-size: 22px !important;
  line-height: 28px !important;
  margin-bottom: 10px !important;
}

.about-section .about-img-wrapper .about-experience p {
  font-size: 14px !important;
  line-height: 20px !important;
}

@media (max-width: 991px) {
  .about-section {
    padding: 60px 0 !important;
  }

  .about-section .about-img-wrapper {
    position: relative !important;
    top: 0 !important;
    transform: none !important;
    width: 100% !important;
    margin-bottom: 35px !important;
    text-align: center !important;
  }

  .about-section .about-img-wrapper .about-img {
    display: block !important;
    width: 100% !important;
  }

  .about-section .about-img-wrapper img {
    max-height: 320px !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .about-section .about-img-wrapper .about-experience {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 15px !important;
    padding: 20px 22px !important;
    border-radius: 14px !important;
    text-align: left !important;
    display: block !important;
    border: none !important;
  }
}

/* --------------------------------------------------------------------------
   04. Inner Page Testimonial & Icon Styling Overrides
   -------------------------------------------------------------------------- */

/* Disable polygon clip-paths globally across all sections to eliminate mismatched slanted gaps */
.testimonial-section,
.testimonial-section::before,
.team-section,
.team-section::before,
.team-section.img-bg::before,
.feature-section.img-bg::before,
.subscribe-section,
.subscribe-section.img-bg::before,
.contact-section,
.contact-section.cta-bg,
.carousel-section-wrapper .carousel-section.clip-bg,
.about-section,
[style*="clip-path"],
section {
  -webkit-clip-path: none !important;
  clip-path: none !important;
}

/* Clean straight full-bleed background for Team Section */
.team-section {
  background-color: #EFF2F9 !important;
  padding-top: 100px !important;
  padding-bottom: 90px !important;
  position: relative !important;
  z-index: 1 !important;
}
.team-section.img-bg::before {
  display: none !important;
}

/* Clean straight full-bleed background for Testimonials Section */
.testimonial-section {
  background-color: #EFF2F9 !important;
  background-image: none !important;
  padding-top: 100px !important;
  padding-bottom: 100px !important;
  position: relative !important;
  z-index: 1 !important;
}


/* Match icon backgrounds & icon colors to homepage primary shades (#3763eb / #6f58e8) */
.feature-box .box-icon-style,
.service-box-style-2 .box-icon-style,
.single-timeline .box-icon-style,
.icon-box-primary {
  background: rgba(55, 99, 235, 0.1) !important;
  color: #3763eb !important;
  border-color: rgba(55, 99, 235, 0.2) !important;
}

.feature-box .box-icon-style i,
.service-box-style-2 .box-icon-style i,
.single-timeline .box-icon-style i {
  color: #3763eb !important;
}

.feature-box:hover .box-icon-style,
.service-box-style-2:hover .box-icon-style {
  background: linear-gradient(135deg, #3763eb 0%, #6f58e8 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

.feature-box:hover .box-icon-style i,
.service-box-style-2:hover .box-icon-style i {
  color: #ffffff !important;
}

/* High-contrast White CTA Buttons on Gradient Sections */
.subscribe-section .theme-btn,
.subscribe-section .contact-btn a,
.page-banner-section .btn-light,
#connect .btn-light {
  background-color: #ffffff !important;
  color: #3763eb !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s ease !important;
}

.subscribe-section .theme-btn:hover,
.subscribe-section .contact-btn a:hover,
.page-banner-section .btn-light:hover,
#connect .btn-light:hover {
  background-color: #f8fafc !important;
  color: #1d4ed8 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22) !important;
}

/* Eliminate white space gaps between sections & page banners */
.page-banner-section,
section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.page-banner-section + section,
section + section {
  margin-top: 0 !important;
}

/* Ensure Page Banner Section clears fixed header navbar on mobile & desktop */
.page-banner-section {
  padding-top: 130px !important;
  padding-bottom: 60px !important;
}

@media (max-width: 991px) {
  .page-banner-section {
    padding-top: 120px !important;
    padding-bottom: 50px !important;
  }
}

/* --------------------------------------------------------------------------
   05. Testimonial Profile Avatar Enhancement
   -------------------------------------------------------------------------- */
.testimonial-section .testimonial-wrapper .single-testimonial .testimonial-img img {
  object-fit: cover !important;
  object-position: center top !important;
  background-color: #f1f5f9;
  border: 3px solid rgba(55, 99, 235, 0.15) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

/* --------------------------------------------------------------------------
   06. Developer Credit Gradient Styling
   -------------------------------------------------------------------------- */
.footer .copyright-area a.developer-credit,
.footer .copyright-area p a.developer-credit,
a.developer-credit {
  display: inline-block !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.footer .copyright-area a.developer-credit:hover,
.footer .copyright-area p a.developer-credit:hover,
a.developer-credit:hover {
  text-decoration: none !important;
  border: none !important;
  outline: none !important;
}

.footer .copyright-area .developer-credit-text,
.developer-credit-text {
  display: inline-block !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  background: linear-gradient(90deg, #3763eb 0%, #6f58e8 50%, #3763eb 100%) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  animation: creditGradientFlow 3s linear infinite !important;
  transition: filter 0.3s ease-in-out, transform 0.2s ease-in-out !important;
}

.footer .copyright-area a.developer-credit:hover .developer-credit-text,
.developer-credit-text:hover {
  text-decoration: none !important;
  filter: brightness(1.25) !important;
  transform: translateY(-1px) !important;
}

@keyframes creditGradientFlow {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

