/* ==========================================================================
   Visual Upgrade — Global Industrial Leader Aesthetic
   Deep Navy + Slate Gray palette, Inter font, Glassmorphism header
   ========================================================================== */

/* WOW.js Safety Net — prevent content from hiding if animate.css fails to load */
.wow {
  visibility: visible !important;
  animation: none !important;
}

:root {
  --navy-deep: #0c1f3f;
  --navy: #0f3460;
  --navy-light: #1a5276;
  --slate: #334155;
  --slate-light: #4b5563;
  --surface: #f1f5f9;
  --surface-warm: #f8fafc;
  --white: #ffffff;
  --border: rgba(15, 52, 96, 0.1);
  --shadow-sm: 0 1px 3px rgba(12, 31, 63, 0.06);
  --shadow-md: 0 4px 16px rgba(12, 31, 63, 0.08);
  --shadow-lg: 0 12px 40px rgba(12, 31, 63, 0.12);
  --radius: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ---- Typography ---- */

body {
  font-family: 'Inter', sans-serif !important;
  color: var(--slate) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.sec-title h2,
.sec-title .title,
.content-box h2 {
  font-family: 'Space Grotesk', 'Inter', sans-serif !important;
  color: var(--navy-deep) !important;
  letter-spacing: -0.02em;
}

/* White headings on dark backgrounds */
.hero-title,
.hero-title .word,
.hero-title .char {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

/* Working-section active tab sits on dark navy background — keep h4 white */
.working-section .tab-btns li.active-btn h4,
.working-section .tab-btns li.active-btn span {
  color: #ffffff !important;
}

.hero-title,
.hero-title .word,
.hero-title .char,
.cta-section h2,
.cta-section .section-title,
.appointment-section h2,
.appointment-section h3 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.hero-title .text-gradient,
.hero-title .text-gradient .word,
.hero-title .text-gradient .char,
.hero-title .highlight.text-gradient,
.hero-title .highlight.text-gradient .word,
.hero-title .highlight.text-gradient .char,
.cta-section .text-gradient,
.cta-section .text-gradient .word,
.cta-section .text-gradient .char {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Keep headings white in dark sections */
.page-title h1,
.page-title h2,
.page-title .bread-crumb li,
.page-title .bread-crumb li a,
.page-banner h1,
.main-footer h1,
.main-footer h2,
.main-footer h3,
.main-footer h4,
.main-footer h5,
.appointment-section h2,
.appointment-section h3,
.appointment-section p {
  color: #ffffff !important;
}

p {
  color: var(--slate);
  line-height: 1.75;
}

input, button, select, textarea {
  font-family: 'Inter', sans-serif !important;
}


/* ---- Navigation Typography ---- */

.main-menu .navigation > li > a {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  color: var(--navy-deep) !important;
  transition: var(--transition);
}

.main-menu .navigation > li.current > a,
.main-menu .navigation > li:hover > a {
  color: var(--navy) !important;
}

.main-menu .navigation > li > a:before,
.main-menu .navigation > li > a:after {
  color: var(--navy) !important;
}

.main-menu .navigation > li > ul > li > a {
  font-family: 'Inter', sans-serif !important;
  font-weight: 500;
  color: var(--slate) !important;
}

.main-menu .navigation > li > ul > li > a:hover,
.main-menu .navigation > li > .megamenu li > a:hover {
  color: var(--navy) !important;
}

.main-header .menu-right-content .btn-box a {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
}


/* ---- Glassmorphism Sticky Header ---- */

.sticky-header {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(15, 52, 96, 0.06) !important;
  box-shadow: 0 1px 20px rgba(12, 31, 63, 0.06);
}

.fixed-header .sticky-header {
  box-shadow: 0 4px 30px rgba(12, 31, 63, 0.08);
}

/* Also apply glass to main header on scroll */
.main-header .header-lower {
  transition: background 0.4s ease, box-shadow 0.4s ease;
}


/* ---- Color Overrides (Deep Navy replacing #00357c) ---- */

.main-header .menu-right-content .option-list li a:hover {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
}

.main-header .menu-right-content .btn-box a:hover {
  color: var(--navy) !important;
}

.theme-btn.btn-one,
.theme-btn.btn-two,
.theme-btn,
.message-btn button,
.message-btn input[type="submit"] {
  background: var(--navy) !important;
  border-radius: 50px !important;
  font-family: 'Space Grotesk', 'Inter', sans-serif !important;
  font-weight: 600;
  font-size: 14px !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 14px 32px !important;
  border: none !important;
  color: #fff !important;
  transition: var(--transition);
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.theme-btn.btn-one:hover,
.theme-btn.btn-two:hover,
.theme-btn:hover,
.message-btn button:hover,
.message-btn input[type="submit"]:hover {
  background: var(--navy-deep) !important;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* Gallery filter pills */
.filter-btn {
  border-radius: 50px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px !important;
  transition: var(--transition);
}

.theme-btn.btn-one:hover span:before {
  color: var(--navy) !important;
}

/* Sub-title decorations */
.sec-title .sub-title:before {
  background: var(--navy) !important;
}

.sec-title .sub-title {
  color: var(--navy) !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Banner */
.banner-carousel .content-box h2 span:before {
  border-bottom-color: var(--navy) !important;
}

.banner-carousel .owl-nav button:hover {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
}

/* About section */
.about-section .image-box .text h5:before {
  background: var(--navy) !important;
}


/* ---- Section Spacing ---- */

section,
.section-padding {
  padding-top: 100px !important;
  padding-bottom: 100px !important;
}

.sec-title {
  margin-bottom: 50px !important;
}



/* ---- Card Refinements (global) ---- */

.inner-box,
.service-block .inner-box,
.news-block .inner-box,
.team-block .inner-box,
.project-block .inner-box {
  border-radius: var(--radius) !important;
  overflow: hidden;
  box-shadow: var(--shadow-sm) !important;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.inner-box:hover,
.service-block .inner-box:hover,
.news-block .inner-box:hover,
.team-block .inner-box:hover,
.project-block .inner-box:hover {
  box-shadow: var(--shadow-lg) !important;
  transform: translateY(-4px);
}


/* ---- Footer ---- */

.main-footer {
  background: var(--navy-deep) !important;
}

.main-footer .footer-widget h3,
.main-footer .footer-widget h4,
.main-footer .footer-widget .widget-title,
.main-footer h3 {
  color: var(--white) !important;
  font-family: 'Inter', sans-serif !important;
}

.main-footer .footer-widget p,
.main-footer .footer-widget li a,
.main-footer .footer-widget .text,
.main-footer p,
.main-footer li a,
.main-footer .info-box p,
.main-footer .info-box a {
  color: var(--slate-light) !important;
}

.main-footer .footer-widget li a:hover,
.main-footer li a:hover,
.main-footer .info-box a:hover {
  color: var(--white) !important;
}

.main-footer .social-links a,
.main-footer .social-links i {
  color: var(--slate-light) !important;
}

.main-footer .social-links a:hover,
.main-footer .social-links a:hover i {
  color: var(--white) !important;
}

.main-footer .footer-logo img {
  filter: brightness(0) invert(1) !important;
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.15) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}


/* ---- Inquire Now Button ---- */

.main-header .menu-right-content .btn-box a {
  color: var(--navy) !important;
  transition: var(--transition);
}

.main-header .menu-right-content .btn-box a:hover {
  color: var(--navy-light) !important;
}


/* ---- Dropdown Menus ---- */

.main-menu .navigation > li > ul {
  border-radius: 8px !important;
  box-shadow: var(--shadow-lg) !important;
  border: 1px solid var(--border);
}

.main-menu .navigation > li > ul > li > ul {
  border-radius: 8px !important;
  box-shadow: var(--shadow-lg) !important;
}


/* ---- Smooth scroll behavior ---- */

html {
  scroll-behavior: smooth;
}


/* ---- Mobile Menu Refinement ---- */

.mobile-menu .menu-box {
  background: var(--white) !important;
}

.mobile-menu .nav-logo {
  background: var(--surface);
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
}

.mobile-menu .navigation li a {
  font-family: 'Inter', sans-serif !important;
  font-weight: 500;
  color: var(--navy-deep) !important;
}

.mobile-menu .navigation li a:hover,
.mobile-menu .navigation li.current > a {
  color: var(--navy) !important;
}

.mobile-menu .navigation li.dropdown .dropdown-btn {
  color: var(--slate) !important;
}

.mobile-menu .navigation li li a {
  color: var(--slate) !important;
}

.mobile-menu .navigation li li a:hover {
  color: var(--navy) !important;
}

.mobile-menu .contact-info h4 {
  font-family: 'Inter', sans-serif !important;
  color: var(--navy-deep) !important;
}

.mobile-menu .contact-info ul li,
.mobile-menu .contact-info ul li a {
  color: var(--slate) !important;
}

.mobile-menu .social-links ul li a {
  color: var(--navy) !important;
}

.mobile-menu .social-links ul li a:hover {
  color: var(--navy-light) !important;
}

.mobile-menu .close-btn {
  color: var(--navy-deep) !important;
}

.mobile-menu .menu-backdrop {
  background: rgba(12, 31, 63, 0.5) !important;
}


/* ---- Form Elements ---- */

.form-group input,
.form-group textarea,
.form-group select {
  border-radius: 10px !important;
  border: 1px solid #d1d5db !important;
  background: #ffffff !important;
  padding: 14px 18px !important;
  font-size: 15px !important;
  color: var(--navy-deep) !important;
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #6b7280;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--navy) !important;
  box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.12) !important;
  outline: none;
}

.form-group {
  margin-bottom: 22px !important;
}


/* ---- Preloader ---- */

.preloader-close {
  color: var(--navy) !important;
}


/* ---- Product Page Images — Compact & Uniform ---- */

/* ALL images inside product detail pages */
.project-details img {
  max-width: 380px !important;
  max-height: 320px !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* Carousel wrapper */
.project-details .image-box {
  max-width: 420px;
  margin: 0 auto 30px;
}

/* Figure wrappers */
.project-details figure.image {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Tab content images slightly smaller */
.project-details .tab-content img,
.project-details .tabs-content img {
  max-width: 340px !important;
  max-height: 280px !important;
}

@media (max-width: 767px) {
  .project-details img {
    max-width: 280px !important;
    max-height: 250px !important;
  }

  .project-details .tab-content img,
  .project-details .tabs-content img {
    max-width: 260px !important;
    max-height: 220px !important;
  }

  .project-details .image-box {
    max-width: 300px;
  }
}


/* ---- Responsive fine-tuning ---- */

@media (max-width: 991px) {
  section,
  .section-padding {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }

  .sec-title {
    margin-bottom: 35px !important;
  }

  .page-title {
    padding: 100px 0 60px !important;
  }

  .page-banner {
    padding: 130px 0 60px !important;
  }
}

@media (max-width: 575px) {
  section,
  .section-padding {
    padding-top: 45px !important;
    padding-bottom: 45px !important;
  }

  .sec-title {
    margin-bottom: 28px !important;
  }

  .page-banner {
    padding-top: 110px !important;
    padding-bottom: 45px !important;
  }
}

/* Blog article page has no banner section — keep content clear of the
   fixed header, and hide the rotated watermark that overlaps on small screens */
@media (max-width: 991px) {
  .sidebar-page-container.blog-details {
    padding-top: 120px !important;
  }
  .blog-details-content .big-text {
    display: none;
  }
}

/* Stretched link for series cards — make entire card clickable */
.service-style-three .service-block-three .inner-box h3 {
  position: static;
}

.service-style-three .service-block-three .inner-box h3 a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.service-style-three .service-block-three .inner-box {
  cursor: pointer;
}


/* ---- Related Product — uniform image sizes ---- */

.related-project .image-box img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover;
}

@media (max-width: 767px) {
  .related-project .image-box img {
    height: 180px !important;
  }
}


/* ---- Product page inline images — uniform height ---- */

.upper-box .text.centred img {
  width: 100% !important;
  height: 280px !important;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (max-width: 767px) {
  .upper-box .text.centred img {
    height: 200px !important;
  }
}


/* ==========================================================================
   PREMIUM UPGRADE #1 — Page Title Banners
   ========================================================================== */

.page-title {
  position: relative;
  padding: 100px 0 80px !important;
  min-height: 280px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0c1f3f;
}

.page-title .bg-layer {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  filter: brightness(0.7) contrast(1.05) saturate(1.1);
  transition: transform 8s ease;
}

.page-title:hover .bg-layer {
  transform: scale(1.04);
}

/* Gradient overlay on top of bg-layer */
.page-title::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(12, 31, 63, 0.55) 0%,
    rgba(15, 52, 96, 0.3) 50%,
    rgba(12, 31, 63, 0.55) 100%
  );
  z-index: 1;
}

/* Subtle bottom accent line */
.page-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #c59d5f 0%, #e8c87c 50%, #c59d5f 100%);
  z-index: 2;
}

.page-title .auto-container {
  position: relative;
  z-index: 2;
}

.page-title .content-box h1,
.page-title .content-box h2 {
  font-family: 'Space Grotesk', 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: 42px !important;
  letter-spacing: 1px;
  color: #fff !important;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  margin-bottom: 16px !important;
}

/* Hide the line-box decoration */
.page-title .line-box {
  display: none;
}

/* Premium breadcrumb styling */
.page-title .bread-crumb {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-title .bread-crumb li {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.3px;
}

.page-title .bread-crumb li a {
  color: #c59d5f !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-title .bread-crumb li a:hover {
  color: #e8c87c !important;
}

.page-title .bread-crumb li:not(:last-child)::after {
  content: '\f054';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 10px;
  margin-left: 10px;
  color: rgba(255,255,255,0.35);
  vertical-align: middle;
}

/* Remove old separator from style.css */
.page-title .bread-crumb li span,
.page-title .bread-crumb li:before {
  display: none !important;
}

@media (max-width: 767px) {
  .page-title {
    padding: 110px 0 50px !important;
    min-height: 200px;
  }
  .page-title .content-box h1,
  .page-title .content-box h2 {
    font-size: 28px !important;
  }
}


/* ==========================================================================
   PREMIUM UPGRADE #2 — Scroll Reveal Animations
   ========================================================================== */

/* Fade-up animation for legacy page sections */
@keyframes fadeUpIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInSoft {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Apply to legacy content sections */
.sec-title,
.project-details .upper-box,
.project-details .lower-content,
.contact-section .form-inner,
.contact-info-section .info-column,
.team-section .team-block,
.faq-section .accordion-box,
.sidebar-page-container .content-side,
.sidebar-page-container .sidebar-side {
  opacity: 0;
  animation: fadeUpIn 0.7s ease forwards;
}

/* Stagger the delays */
.sec-title { animation-delay: 0.1s; }
.contact-section .form-inner { animation-delay: 0.15s; }
.contact-info-section .info-column:nth-child(1) { animation-delay: 0.1s; }
.contact-info-section .info-column:nth-child(2) { animation-delay: 0.2s; }
.contact-info-section .info-column:nth-child(3) { animation-delay: 0.3s; }
.team-section .team-block:nth-child(1) { animation-delay: 0.1s; }
.team-section .team-block:nth-child(2) { animation-delay: 0.2s; }
.team-section .team-block:nth-child(3) { animation-delay: 0.3s; }
.team-section .team-block:nth-child(4) { animation-delay: 0.4s; }

/* Smooth image reveal */
.project-details figure img,
.about-section .image-box img {
  opacity: 0;
  animation: fadeInSoft 0.8s ease 0.2s forwards;
}

/* Subtle hover lift on content blocks */
.news-block-one .inner-box,
.team-block .inner-box,
.info-column .inner-box {
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
}

.news-block-one .inner-box:hover,
.team-block .inner-box:hover,
.info-column .inner-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}


/* ==========================================================================
   PREMIUM UPGRADE #3 — Series Cards (icons, descriptions, category tags)
   ========================================================================== */

.service-style-three .service-block-three .inner-box {
  padding: 32px 24px !important;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.service-style-three .service-block-three .inner-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), #c59d5f);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-style-three .service-block-three .inner-box:hover::before {
  transform: scaleX(1);
}

.service-style-three .service-block-three .inner-box:hover {
  border-color: transparent;
  box-shadow: 0 12px 40px rgba(12, 31, 63, 0.12);
  transform: translateY(-6px);
}

/* Series icon */
.service-style-three .service-block-three .inner-box .series-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.service-style-three .service-block-three .inner-box .series-icon i {
  color: #c59d5f;
  font-size: 22px;
}

/* Series title */
.service-style-three .service-block-three .inner-box h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--navy-deep) !important;
  margin-bottom: 8px !important;
}

.service-style-three .service-block-three .inner-box h3 a {
  color: inherit !important;
}

.service-style-three .service-block-three .inner-box h3 a:hover {
  color: var(--navy) !important;
}

/* Series description */
.service-style-three .service-block-three .inner-box .series-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--slate);
  margin-bottom: 12px;
}

/* Series tag */
.service-style-three .service-block-three .inner-box .series-tag {
  display: inline-block;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 20px;
  background: var(--surface);
  color: var(--navy);
}

/* Arrow indicator */
.service-style-three .service-block-three .inner-box .series-arrow {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
}

.service-style-three .service-block-three .inner-box .series-arrow i {
  font-size: 12px;
  color: var(--navy);
}

.service-style-three .service-block-three .inner-box:hover .series-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* MF tag color */
.service-style-three .series-tag.tag-mf { background: #e0f2fe; color: #0369a1; }
/* HF tag color */
.service-style-three .series-tag.tag-hf { background: #fef3c7; color: #92400e; }
/* EF tag color */
.service-style-three .series-tag.tag-ef { background: #dcfce7; color: #166534; }

/* ==========================================================================
   Certification Badges — ISO 9001:2015 / TÜV / RoHS
   ========================================================================== */
.cert-badges-section {
    padding: 60px 0 20px;
    background: #ffffff;
}
.cert-badges-wrap {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.cert-badges-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 28px;
    position: relative;
    display: inline-block;
    padding: 0 24px;
}
.cert-badges-title::before,
.cert-badges-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #cbd5e1);
}
.cert-badges-title::before { right: 100%; }
.cert-badges-title::after {
    left: 100%;
    background: linear-gradient(90deg, #cbd5e1, transparent);
}
.cert-badges-row {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: stretch;
}
.cert-badge {
    position: relative;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px 28px;
    min-width: 220px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(12, 31, 63, 0.04);
    overflow: hidden;
}
.cert-badge::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0f3460, #0f3460);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}
.cert-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(12, 31, 63, 0.12);
    border-color: #0f3460;
}
.cert-badge:hover::before { transform: scaleX(1); }

.cert-badge-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0c1f3f 0%, #0f3460 100%);
    box-shadow: 0 4px 14px rgba(15, 52, 96, 0.25);
}
.cert-badge-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba( 15,  52,  96, 0.3);
}
.cert-badge-icon i {
    color: #0f3460;
    font-size: 26px;
}
.cert-badge-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 4px;
}
.cert-badge-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: #0c1f3f;
    line-height: 1.2;
    margin-bottom: 2px;
}
.cert-badge-desc {
    font-size: 12px;
    color: #64748b;
    margin: 6px 0 0;
    font-weight: 500;
}

/* Ribbon variant (gold corner ribbon) */
.cert-badge.has-ribbon::after {
    content: 'CERTIFIED';
    position: absolute;
    top: 10px;
    right: -28px;
    transform: rotate(45deg);
    background: #0f3460;
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    padding: 2px 30px;
    letter-spacing: 1px;
    font-family: 'Space Grotesk', sans-serif;
}

@media (max-width: 768px) {
    .cert-badges-row { gap: 16px; }
    .cert-badge { min-width: 160px; padding: 18px 20px; }
    .cert-badge-icon { width: 52px; height: 52px; }
    .cert-badge-icon i { font-size: 20px; }
    .cert-badge-name { font-size: 15px; }
}

/* ==========================================================================
   Industry Cards — Photo Style
   ========================================================================== */
.industry-card .industry-img {
    width: 100%;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.industry-card .industry-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.industry-card:hover .industry-img img {
    transform: scale(1.08);
}

.industry-card {
    text-align: center;
    padding: 20px 20px 28px !important;
}

/* Hide product carousel nav arrows */
.project-details .owl-nav {
    display: none !important;
}

/* ============================================
   Inner-page title banners — navy gradient look
   (matches product page heroes)
   ============================================ */
.page-title {
  background: linear-gradient(135deg, #0a1929 0%, #132f4c 55%, #051d2d 100%) !important;
}
.page-title .bg-layer {
  opacity: 0.16 !important;
  mix-blend-mode: luminosity;
}
.page-title h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem) !important;
  letter-spacing: 0.5px !important;
  color: #ffffff !important;
}
.page-title .line-box .line-1,
.page-title .line-box .line-2 {
  background: #0f3460 !important;
}
.page-title .bread-crumb li,
.page-title .bread-crumb li a {
  font-size: 15px !important;
}
.page-title .bread-crumb li a:hover {
  color: #5a7ea8 !important;
}

/* ============================================
   Gallery — uniform tiles with hover zoom
   ============================================ */
.gallery-card {
  border-radius: 12px;
  overflow: hidden;
}
.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}
.gallery-card:hover img {
  transform: scale(1.05);
}

/* ============================================
   Single-colour section headings
   Removes the navy + blue two-tone gradient on light sections
   so every heading reads as one solid near-black colour.
   Dark sections (CTA) are re-protected to stay white below.
   ============================================ */
.section-title .text-gradient,
.seo-block-header .section-title .text-gradient {
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: #0c1f3f !important;
  color: #0c1f3f !important;
}
/* Drop the orange underline under the highlighted words (part of the two-tone) */
.section-title .text-gradient::after {
  display: none !important;
}
/* Keep the 60px heading divider bar, but make it monochrome navy (no colour pop) */
.section-title::after {
  background: #0c1f3f !important;
}
/* Keep the dark CTA section heading white */
.cta-section .section-title,
.cta-section .section-title .text-gradient,
.cta-inner .section-title,
.cta-inner .section-title .text-gradient {
  -webkit-text-fill-color: #ffffff !important;
  color: #ffffff !important;
}
