/**
 * Viyuha site — all page/component rules (moved from inline <style>).
 * Load after responsive.css, before viyuha-ui.css.
 * Colours: use variables from viyuha-ui.css :root.
 */

html {
  font-size: 14px;
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--primary-navy);
}

.main-menu .navigation li a {
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
}

/* ----- Preloader: animated bird-V + wordmark (no white box) ----- */
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
}

.preloader-wordmark {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(1.35rem, 4.5vw, 2.1rem);
  letter-spacing: 0.32em;
  color: var(--accent-teal);
  margin: 0;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.preloader-tagline {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.72rem, 2vw, 0.92rem);
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 600;
}

/* ----- Hero (base; viyuha-corporate lightens overlay) ----- */
.static-hero {
  position: relative;
  background: linear-gradient(rgba(15, 39, 68, 0.8), rgba(15, 39, 68, 0.9)),
    url("../images/slider/1.PNG") center/cover no-repeat;
  padding: 120px 0;
  color: #fff;
  text-align: center;
}

.static-hero h1 {
  color: #fff;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.static-hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #e5e7eb;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.btn-group-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary-custom {
  background: var(--accent-teal);
  color: #fff;
  padding: 14px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-teal);
  min-height: 54px;
  box-sizing: border-box;
}

.btn-primary-custom:hover {
  background: var(--hover-teal);
  color: #fff;
  text-decoration: none;
  border-color: var(--hover-teal);
}

.btn-secondary-custom {
  background: transparent;
  color: #fff;
  padding: 14px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  min-height: 54px;
  box-sizing: border-box;
}

.btn-secondary-custom:hover {
  background: #fff;
  color: var(--primary-navy);
  text-decoration: none;
}

.trust-strip {
  background: #fff;
  padding: 30px 0;
  border-bottom: 1px solid #e5e7eb;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 10px;
}

.trust-item img {
  max-height: 50px;
  margin-right: 15px;
}

.trust-item h4 {
  font-size: 1.2rem;
  margin: 0;
  color: var(--primary-navy);
}

.trust-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-gray);
}

.section-padding {
  padding: 80px 0;
}

.section-title-clean {
  text-align: center;
  margin-bottom: 50px;
}

.section-title-clean h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title-clean h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--accent-teal);
}

.service-card {
  background: #fff;
  padding: 30px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  border-top: 4px solid var(--accent-teal);
  text-align: left;
  margin-bottom: 30px;
  transition: box-shadow 0.3s;
}

.service-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.service-card h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-gray);
  margin-bottom: 20px;
}

.service-card a {
  font-weight: 600;
  color: var(--accent-teal);
  text-transform: uppercase;
  font-size: 0.9rem;
}

.service-card a:hover {
  color: var(--primary-navy);
  text-decoration: none;
}

.project-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 30px;
}

.project-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.project-content {
  padding: 25px;
}

.project-content h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.project-meta {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 15px;
  display: flex;
  gap: 15px;
}

.project-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-content p {
  color: var(--text-gray);
  margin-bottom: 0;
}

.why-us-section {
  background: var(--primary-navy);
  color: #fff;
}

.why-us-section h2 {
  color: #fff;
}

.why-us-section .section-title-clean h2::after {
  background: var(--accent-teal);
}

.feature-box {
  text-align: center;
  margin-bottom: 30px;
}

.feature-box i {
  font-size: 2.5rem;
  color: var(--accent-teal);
  margin-bottom: 15px;
}

.feature-box h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature-box p {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.inquiry-bg {
  background: var(--bg-light);
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.inquiry-form {
  background: #fff;
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-control {
  border-radius: 2px;
  border: 1px solid #d1d5db;
  padding: 12px 15px;
  height: auto;
  font-family: "Roboto", sans-serif;
}

.form-control:focus {
  border-color: var(--accent-teal);
  box-shadow: none;
}

.contact-info-block {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.contact-info-block i {
  font-size: 2rem;
  color: var(--accent-teal);
  margin-right: 20px;
  width: 40px;
  text-align: center;
}

.contact-info-block div h5 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
}

.contact-info-block div p {
  margin: 0;
  color: var(--text-gray);
}

.mt-30 {
  margin-top: 30px;
}

.mb-30 {
  margin-bottom: 30px;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(45, 137, 193, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(45, 137, 193, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(45, 137, 193, 0);
  }
}

.navbar-toggle {
  background: transparent !important;
  border: 2px solid var(--accent-teal) !important;
  border-radius: 4px;
  padding: 10px 12px;
  margin-top: 20px;
  transition: 0.3s;
  animation: pulseGlow 2s infinite;
}

.navbar-toggle .icon-bar {
  background-color: var(--accent-teal) !important;
  height: 3px;
  width: 22px;
  transition: 0.3s;
}

.navbar-toggle:hover {
  background: var(--accent-teal) !important;
}

.navbar-toggle:hover .icon-bar {
  background-color: #fff !important;
}

/* Desktop mega panels: open via .is-open + JS (viyuha-corporate.css) — no hover flyout here */

.footer-logo img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.footer-logo img:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important;
}

.link-widget ul li a {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.link-widget ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-teal);
  transition: width 0.3s ease;
}

.link-widget ul li a:hover::after {
  width: 100%;
}

.footer-bottom p {
  color: #e5e7eb !important;
  font-weight: 500;
}

.footer-bottom a {
  color: #e5e7eb !important;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

.footer-bottom a:hover {
  color: var(--accent-teal) !important;
  filter: drop-shadow(0 0 8px rgba(45, 137, 193, 0.6));
}

/* ----- Worked With page ----- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.client-box {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  padding: 35px 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 180px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.client-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-teal);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.client-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(15, 39, 68, 0.1);
  border-color: #e2e8f0;
}

.client-box:hover::before {
  transform: scaleX(1);
}

.client-box h4 {
  font-size: 1.15rem;
  color: var(--primary-navy);
  margin-bottom: 8px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.client-box p {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin: 0;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.client-box img.client-logo {
  max-width: 180px !important;
  max-height: 75px !important;
  width: auto !important;
  height: auto !important;
  margin-bottom: 25px;
  filter: grayscale(100%) opacity(0.7);
  transition: all 0.4s ease;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.client-box:hover img.client-logo {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.08);
}

.sector-title {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 35px;
  border-left: 5px solid var(--accent-teal);
  padding-left: 20px;
}

.sector-title h3 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.5rem;
}

.industrial-bg {
  background-color: #ffffff;
  background-image:
    radial-gradient(var(--accent-teal) 0.5px, transparent 0.5px),
    radial-gradient(var(--accent-teal) 0.5px, #ffffff 0.5px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  opacity: 0.03;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.stat-card {
  text-align: center;
  padding: 20px;
  border-right: 1px solid #e2e8f0;
}

.stat-card:last-child {
  border-right: none;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-navy);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--accent-teal);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 5px;
  display: block;
}

.client-logo-home {
  max-height: 52px !important; /* Scaled down for home page grid impact */
  max-width: 130px !important;
  width: auto !important;
  height: auto !important;
  margin-bottom: 15px;
  filter: grayscale(100%) opacity(0.85);
  transition: all 0.4s ease;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}

.col-md-2:hover .client-logo-home {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

.client-label-home {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary-navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.col-md-2:hover .client-label-home {
  color: var(--accent-teal);
}

@media (max-width: 767px) {
  .stat-card {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    padding: 30px;
  }

  .stat-card:last-child {
    border-bottom: none;
  }
}

/* ----- Mobile header & drawer ----- */
@media (max-width: 991px) {
  .main-header.header-style-one {
    position: relative;
    z-index: 10001;
  }

  .header-style-one .row::before,
  .header-style-one .row::after {
    display: none !important;
  }

  .header-style-one .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 12px 15px;
    min-height: 70px;
    width: 100% !important;
  }

  .header-style-one .logo {
    flex: 0 0 auto;
    margin: 0 !important;
    float: none !important;
    display: flex !important;
    align-items: center;
  }

  .header-style-one .logo a {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
  }

  .header-style-one .logo img {
    max-height: 52px !important;
    width: auto !important;
    margin: 0 !important;
    display: block;
    object-fit: contain;
  }

  .header-style-one .menu {
    flex: 0 0 auto;
    margin: 0 !important;
    float: none !important;
    width: auto !important;
    position: static !important;
    display: flex !important;
    align-items: center;
    height: 100%;
  }

  .main-menu {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    float: none !important;
    position: static !important;
    display: flex !important;
    align-items: center;
    height: 100%;
  }

  .navbar-header {
    margin: 0 !important;
    float: none !important;
    width: auto !important;
    display: flex !important;
    align-items: center;
    padding: 0 !important;
    position: static !important;
    height: 100%;
  }

  .header-style-one .navbar-toggle {
    top: 0 !important;
    margin: 0 0 5px 0 !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 40px;
    padding: 0 10px !important;
    transform: translateY(0);
    margin-right: 0 !important;
    border: 2px solid var(--accent-teal) !important;
    background: transparent !important;
    border-radius: 4px;
  }

  .header-style-one .navbar-toggle .icon-bar {
    background: var(--accent-teal) !important;
    margin: 2px 0 !important;
    height: 3px !important;
    width: 22px !important;
    display: block !important;
  }

  .header-style-one .navbar-toggle:hover {
    background: var(--accent-teal) !important;
  }

  .header-style-one .navbar-toggle:hover .icon-bar {
    background: #fff !important;
  }

  .navbar-collapse {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100vw !important;
    background: var(--primary-navy) !important;
    z-index: 999;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  }

  .navbar-collapse.collapse:not(.in) {
    display: none !important;
  }

  .navbar-collapse.collapse.in {
    display: block !important;
  }

  .main-menu .navbar-collapse > .navigation > li > a,
  .main-menu .navbar-collapse > .navigation > li > ul > li > a {
    background: var(--primary-navy) !important;
    color: #fff !important;
    text-align: left !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 15px 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .main-menu .navbar-collapse > .navigation > li:hover > a {
    background: var(--accent-teal) !important;
  }

  .main-menu .navbar-collapse > .navigation > li > ul {
    display: none;
    background: var(--primary-navy) !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
  }

  .main-menu .navbar-collapse > .navigation > li:hover > ul {
    display: block;
    position: relative !important;
    width: 100% !important;
  }

  .static-hero {
    padding: 80px 0;
  }

  .static-hero h1 {
    font-size: 2rem;
  }

  .static-hero p {
    font-size: 1rem;
    padding: 0 15px;
  }

  .footer-section {
    padding-top: 40px;
    text-align: center;
  }

  .footer-section .fa {
    margin-right: 5px;
  }

  .link-widget {
    padding-left: 0 !important;
    margin-top: 20px;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-bottom ul {
    justify-content: center;
    width: 100%;
    margin-top: 10px !important;
  }
}
