/* ==========================================================================
   Modern theme overrides — sits on top of style.css / responsive.css
   ========================================================================== */

:root {
  --brand: #10b0be;
  --brand-dark: #0c8a95;
  --brand-light: #e5f8fa;
  --ink: #000024;
  --text-muted: #667085;
  --surface: #ffffff;
  --surface-alt: #f6fafb;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 12px 30px -10px rgba(16, 24, 40, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(16, 24, 40, 0.28);
}

html {
  scroll-behavior: smooth;
}

/* ---------------- Typography ----------------
   style.css already declares body -> lato and headings -> roboto, but the
   two @font-face stylesheets it used to import were 404ing (silently
   falling back to the browser's generic system font on every page). The
   master template now loads both families properly; these re-declarations
   just make the intent explicit and give every page the same scale. */
body {
  font-family: 'Lato', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
}

.page-title-content h2 {
  font-size: clamp(1.75rem, 4vw, 3.125rem);
}

.section-title h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.single-services-box .services-content h3 {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
}

.single-product h3 {
  font-size: clamp(1rem, 1.5vw, 1.0625rem);
}

.single-contact-info h3 {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
}

.footer-area .single-footer-widget h3 {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
}

.product-details-desc h3 {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
}

::selection {
  background: var(--brand);
  color: #fff;
}

/* ---------------- Top info bar ---------------- */
.top-header {
  background: linear-gradient(120deg, var(--ink) 0%, #103b45 100%);
  padding: 10px 0;
}

.top-header .header-left-content {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 0;
}

.top-header .header-left-content li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

.top-header .header-left-content li i {
  color: var(--brand);
  font-size: 17px;
}

.top-header .header-left-content li a {
  color: rgba(255, 255, 255, 0.85);
}

.top-header .header-left-content li a:hover {
  color: var(--brand);
}

.header-right-content {
  display: flex;
  justify-content: flex-end;
}

/* ---------------- Language switcher (Google Translate) ---------------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  padding: 5px 14px 5px 12px;
  transition: background 0.3s ease;
}

.lang-switch:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lang-switch .bx-globe {
  color: var(--brand);
  font-size: 16px;
}

.lang-switch--light {
  background: var(--surface-alt);
  border: 1px solid #e6ecee;
}

.lang-switch--light .bx-globe {
  color: var(--brand-dark);
}

.goog-translate-slot .goog-te-gadget {
  font-size: 0;
  line-height: 1;
}

.goog-translate-slot .goog-te-gadget .goog-te-combo {
  font-size: 13px !important;
  font-family: inherit !important;
  color: #fff !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  padding: 2px 0 !important;
  margin: 0 !important;
  cursor: pointer;
}

.lang-switch--light .goog-te-gadget .goog-te-combo {
  color: var(--ink) !important;
}

.goog-translate-slot .goog-te-gadget > span > a {
  display: none !important;
}

/* The closed select shows white-on-dark, but the native dropdown popup
   always renders with a light system background — force dark option text
   there so choices aren't invisible until hovered. */
.goog-translate-slot .goog-te-gadget .goog-te-combo option {
  color: var(--ink) !important;
  background: #fff !important;
}

.lang-switch-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 2px;
}

.lang-switch-btn:hover,
.lang-switch-btn.active {
  color: #fff;
}

.lang-switch-sep {
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
}

/* Hide Google's injected top banner + tooltip chrome site-wide */
body {
  top: 0 !important;
}
.goog-te-banner-frame.skiptranslate,
.goog-te-balloon-frame {
  display: none !important;
}
.goog-tooltip,
.goog-tooltip:hover,
.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* ---------------- Navbar ---------------- */
.navbar-area {
  background: var(--surface);
  transition: all 0.35s ease;
}

.navbar-area.modern-sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  box-shadow: var(--shadow-md);
  animation: modernFadeDown 0.4s ease;
}

@keyframes modernFadeDown {
  from { transform: translateY(-12px); opacity: 0.6; }
  to { transform: translateY(0); opacity: 1; }
}

.navbar-area .desktop-nav .navbar {
  padding-top: 14px;
  padding-bottom: 14px;
}

.navbar-area .desktop-nav .navbar .navbar-nav .nav-item > a.nav-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin: 0 4px;
  padding: 10px 14px !important;
  border-radius: 30px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.navbar-area .desktop-nav .navbar .navbar-nav .nav-item > a.nav-link:hover,
.navbar-area .desktop-nav .navbar .navbar-nav .nav-item:hover > a.nav-link {
  color: var(--brand-dark);
  background: var(--brand-light);
}

.navbar-area .desktop-nav .navbar .navbar-nav .nav-item > a.nav-link i {
  font-size: 16px;
  line-height: 1;
  top: 0;
  margin: 0;
}

.navbar-area .desktop-nav .navbar .navbar-nav .nav-item .dropdown-menu {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  margin-top: 10px !important;
}

.navbar-area .desktop-nav .navbar .navbar-nav .nav-item .dropdown-menu li a {
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-weight: 500;
  color: var(--ink);
}

.navbar-area .desktop-nav .navbar .navbar-nav .nav-item .dropdown-menu li a:hover {
  background: var(--brand-light);
  color: var(--brand-dark);
}

/* ---------------- Mobile nav (meanmenu skin) ---------------- */
.mobile-nav .logo img {
  width: 160px !important;
}

.mean-container .mean-bar {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
}

.mean-container .mean-bar a.meanmenu-reveal {
  pointer-events: auto;
}

.mean-container .mean-bar .mean-nav {
  pointer-events: auto;
}

.mean-container a.meanmenu-reveal {
  background: var(--brand-light);
  border-radius: 10px;
  top: 4px;
}

.mean-container a.meanmenu-reveal span {
  background: var(--brand-dark) !important;
}

.mean-container .mean-nav {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.mean-container .mean-nav ul li a {
  color: var(--ink);
  font-weight: 600;
  border-top-color: #eef2f3;
}

.mean-container .mean-nav ul li li a {
  color: var(--text-muted);
  font-weight: 500;
  background: var(--surface-alt);
}

.mean-container .mean-nav ul li a:not(.mean-expand):hover {
  background: var(--brand-light) !important;
  color: var(--brand-dark);
}

.mean-container .mean-nav ul li a.mean-expand {
  color: var(--brand-dark);
  background: transparent !important;
}

/* ---------------- Buttons ---------------- */
.default-btn {
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  letter-spacing: 0.2px;
}

.default-btn:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ---------------- Hero / main slider ---------------- */
.main-slider .slide {
  position: relative;
}

.main-slider .slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 36, 0.55) 0%, rgba(0, 0, 36, 0.15) 60%, rgba(0, 0, 36, 0.05) 100%);
}

/* ---------------- Section titles ---------------- */
.section-title {
  position: relative;
  margin-bottom: 45px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
}

.section-title .top-title {
  display: inline-block;
  color: var(--brand-dark);
  background: var(--brand-light);
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title p {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--text-muted);
}

/* ---------------- About section ---------------- */
.about-content .top-title {
  display: inline-block;
  color: var(--brand-dark);
  background: var(--brand-light);
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.about-img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-standards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0;
  margin: 26px 0;
}

.about-standards li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-alt);
  border: 1px solid #e9eff0;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
}

.about-standards li i {
  color: var(--brand);
  font-size: 24px;
  flex-shrink: 0;
}

.about-standards li small {
  display: block;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 12px;
}

/* ---------------- Product / service cards ---------------- */
.single-services-box {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.35s ease;
  height: 100%;
}

.single-services-box:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.single-services-box .services-img {
  display: block;
  overflow: hidden;
}

.single-services-box .services-img img {
  transition: transform 0.5s ease;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.single-services-box:hover .services-img img {
  transform: scale(1.08);
}

.services-area-two .single-services-box .services-content,
.single-services-box .services-content {
  padding: 16px !important;
  text-align: center;
}

.single-services-box .services-content h3 a {
  color: var(--ink);
  font-size: 16px;
}

.single-services-box .services-content h3 a:hover {
  color: var(--brand-dark);
}

.single-product {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  text-align: center;
  transition: all 0.35s ease;
  height: 100%;
}

.single-product:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.single-product .product-img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-product h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.single-product > span {
  display: inline-block;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 14px;
}

.single-product .default-btn {
  padding: 10px 24px;
  font-size: 14px;
}

/* ---------------- Page title / breadcrumb banner ---------------- */
.page-title-area {
  position: relative;
  background: linear-gradient(120deg, var(--ink) 0%, #103b45 100%);
  overflow: hidden;
}

.page-title-area::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(16, 176, 190, 0.35), transparent 55%);
}

.page-title-content {
  position: relative;
  z-index: 1;
}

.page-title-content h2 {
  color: #fff;
}

.page-title-area .page-title-content ul li {
  color: rgba(255, 255, 255, 0.65);
}

.page-title-area .page-title-content ul li::before {
  background-color: var(--brand);
}

.page-title-area .page-title-content ul li a {
  color: rgba(255, 255, 255, 0.85);
}

.page-title-area .page-title-content ul li a:hover {
  color: var(--brand);
}

.page-title-area .page-title-content ul .active {
  color: var(--brand);
}

/* ---------------- Contact info cards ---------------- */
.single-contact-info {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 34px 24px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.single-contact-info:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.single-contact-info i {
  font-size: 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  width: 64px;
  height: 64px;
  line-height: 64px;
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 16px;
}

/* ---------------- Footer ---------------- */
.footer-area {
  background: linear-gradient(180deg, #000024 0%, #001229 100%);
  position: relative;
}

.footer-area .footer-logo {
  display: inline-block;
  background: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.footer-area .footer-logo img {
  width: 170px;
  display: block;
}

.footer-area .single-footer-widget h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

.footer-area .single-footer-widget h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand);
}

.footer-area .single-footer-widget p {
  color: rgba(255, 255, 255, 0.65);
}

.footer-area .import-link,
.footer-area .address {
  list-style: none;
  padding: 0;
}

.footer-area .import-link li {
  margin-bottom: 10px;
}

.footer-area .import-link li a {
  color: rgba(255, 255, 255, 0.65);
  transition: all 0.25s ease;
}

.footer-area .import-link li a:hover {
  color: var(--brand);
  padding-left: 6px;
}

.footer-area .address li {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 12px;
  display: flex;
  gap: 10px;
}

.footer-area .address li i {
  color: var(--brand);
  margin-top: 3px;
}

.footer-area .address li a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-area .address li a:hover {
  color: var(--brand);
}

.copy-right-area {
  background: #000018;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.copy-right-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.copy-right-area p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  margin: 0;
}

/* ---------------- Go to top ---------------- */
.go-top {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)) !important;
  box-shadow: var(--shadow-md);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 991px) {
  .header-right-content {
    justify-content: center;
    margin-top: 8px;
  }

  .copy-right-inner {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .top-header {
    display: none;
  }

  .about-standards {
    grid-template-columns: 1fr;
  }
}

/* ---------------- Mobile header row (logo + language + hamburger) ----------------
   meanmenu injects the actual dropdown (.mean-nav) as a sibling of .logo inside
   this same element (nested inside .mean-bar, not a direct flex child), and
   .mean-bar is absolutely positioned with an implicit "auto" top that gets
   miscalculated once its parent becomes a flex container. Pinning .mean-bar
   to top:0/left:0 (above) and giving .mean-nav a margin-top that clears the
   header row's own height keeps the dropdown anchored directly below the
   logo/lang/hamburger row instead of floating off over the top of the page. */
.mobile-nav .mobile-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 0;
  position: relative;
}

.mobile-nav .mobile-menu .mean-nav {
  margin-top: 76px !important;
}

.mobile-nav .logo {
  width: auto !important;
  flex: 0 1 auto;
  min-width: 0;
}

.mobile-nav .logo img {
  width: 140px !important;
  max-width: 100%;
}

.mobile-lang-switch {
  flex: 0 0 auto;
  margin-right: 44px;
  padding: 6px 10px;
}

.mobile-lang-switch .lang-switch-btn {
  color: var(--ink);
  font-size: 12px;
}

.mobile-lang-switch .lang-switch-btn:hover,
.mobile-lang-switch .lang-switch-btn.active {
  color: var(--brand-dark);
}

.mobile-lang-switch .lang-switch-sep {
  color: #cbd5d8;
}
