/*
Theme Name: Tabas Lojistik
Theme URI: https://tabaslojistik.com.tr
Author: Tabas Lojistik
Author URI: https://tabaslojistik.com.tr
Description: Tabas Lojistik kurumsal web sitesi teması — Güvenilir lojistik ve taşımacılık çözümleri.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tabas-lojistik
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
*/

/* =============================
   TABAS LOJİSTİK — V5 DESIGN SYSTEM
   Inspired by: Netlog Logistics
   Theme: Deep Indigo + Light Gray + Clean White
   Layout: Video Hero, Centered Sections, Card Solutions
   ============================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #1a237e;
  --primary-light: #3949ab;
  --primary-dark: #0d1259;
  --accent: #c8a415;
  --accent-light: #e6c642;
  --navy: #0a0e2a;
  --dark: #111540;
  --white: #ffffff;
  --light-bg: #edf0f7;
  --gray-50: #f5f6fa;
  --gray-100: #ebedf5;
  --gray-200: #dde0ed;
  --gray-300: #c4c8d8;
  --gray-400: #9198b0;
  --gray-600: #525a76;
  --gray-800: #1e2240;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.08);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Typography — Netlog style: uppercase labels, centered big text */
.section-label {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--primary);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.35;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 24px;
}

.section-desc {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.8;
}

/* Buttons — Clean, minimal */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background: var(--gray-100);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--primary-dark);
}

.btn-link {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  padding: 0;
  border-bottom: 2px solid var(--primary);
  border-radius: 0;
  font-size: 0.9rem;
}

.btn-link:hover {
  border-color: var(--accent);
  color: var(--primary-dark);
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  padding: 0;
}

.btn-icon:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

/* ====== HEADER — Transparent over video, becomes white on scroll ====== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

/* WordPress admin bar offset */
.admin-bar .header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .header {
    top: 46px;
  }
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 48px;
  width: auto;
}

.header.scrolled .logo {
  color: var(--navy);
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--navy);
}

.logo .sub {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--accent);
  display: block;
  line-height: 1;
}

/* Cookie Consent Banner */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 14, 42, 0.95);
  backdrop-filter: blur(12px);
  color: var(--white);
  padding: 20px 0;
  z-index: 9999;
  transform: translateY(100%);
  animation: slideUp 0.5s 1s forwards;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
  }
}

.cookie-consent .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-consent p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  flex: 1;
  min-width: 200px;
  margin: 0;
}

.cookie-consent p a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-consent .cookie-btns {
  display: flex;
  gap: 12px;
}

.cookie-consent .cookie-btns .btn {
  padding: 10px 24px;
  font-size: 0.82rem;
}

.cookie-consent.hidden {
  display: none;
}

/* Legal Pages */
.legal-content {
  padding: 60px 0 80px;
}

.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 32px 0 12px;
}

.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin: 24px 0 8px;
}

.legal-content p,
.legal-content li {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content ul li {
  margin-bottom: 6px;
}

.header.scrolled .logo .sub {
  color: var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-right .btn {
  padding: 10px 28px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.menu-toggle:hover {
  background: var(--primary-dark);
}

.header.scrolled .menu-toggle {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.header.scrolled .menu-toggle:hover {
  background: var(--primary-dark);
}

/* Header Dropdown Submenu */
.header-dropdown {
  display: none;
  background: rgba(10, 14, 42, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  padding: 20px 0;
  text-align: center;
}

.header-dropdown.active {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-dropdown a {
  display: block;
  padding: 12px 28px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.header-dropdown a:hover {
  color: var(--accent-light);
}

/* Submenu Group — İnsan Kaynakları dropdown */
.nav-submenu-group {
  display: block;
  text-align: center;
}

.nav-submenu-header {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
}

.nav-submenu-header>a {
  display: inline-block;
  padding: 10px 12px 10px 28px;
}

.nav-submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.nav-submenu-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.nav-submenu-toggle svg {
  transition: transform 0.3s ease;
}

.nav-submenu-toggle.active svg {
  transform: rotate(90deg);
}

.nav-submenu {
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 4px 0 8px;
}

.nav-submenu.active {
  display: flex;
}

.nav-submenu a {
  display: block;
  padding: 8px 28px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
}

.nav-submenu a:hover {
  color: var(--accent-light);
}

/* Language Switcher — GTranslate in menu */
.lang-switcher {
  display: flex;
  align-items: center;
  margin-left: 8px;
}

ul.lang-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

/* Main GTranslate parent item */
ul.lang-menu > li {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: flex;
  align-items: center;
}

/* Hide the parent "current language" wrapper link */
ul.lang-menu > li > a.gt-current-wrapper {
  display: none !important;
}

/* Show the sub-menu inline as horizontal flags */
ul.lang-menu .sub-menu,
ul.lang-menu .dropdown-menu {
  display: flex !important;
  align-items: center;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
  position: static !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  min-width: 0 !important;
}

ul.lang-menu .sub-menu > li,
ul.lang-menu .dropdown-menu > li {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1;
}

ul.lang-menu .sub-menu > li > a,
ul.lang-menu .dropdown-menu > li > a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 20px;
  border-radius: 3px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.5;
  transition: var(--transition);
  padding: 0 !important;
  text-decoration: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

ul.lang-menu .sub-menu > li > a:hover,
ul.lang-menu .dropdown-menu > li > a:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
}

ul.lang-menu .sub-menu > li > a.gt-current-lang,
ul.lang-menu .dropdown-menu > li > a.gt-current-lang {
  opacity: 1;
  border-color: var(--primary);
  box-shadow: none;
}

ul.lang-menu .sub-menu > li > a img,
ul.lang-menu .dropdown-menu > li > a img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  max-width: none !important;
}

/* Hide any text GTranslate adds */
ul.lang-menu .sub-menu > li > a span,
ul.lang-menu .dropdown-menu > li > a span {
  display: none !important;
}

/* Also handle if no sub-menu — direct flag links */
ul.lang-menu > li > a:not(.gt-current-wrapper) {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 20px;
  border-radius: 3px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.5;
  transition: var(--transition);
  padding: 0 !important;
  text-decoration: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

ul.lang-menu > li > a:not(.gt-current-wrapper) img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  margin: 0 !important;
  display: block !important;
}

/* Scrolled header */
.header.scrolled ul.lang-menu a {
  border-color: rgba(26, 35, 126, 0.2) !important;
}

.header.scrolled ul.lang-menu a:hover {
  border-color: var(--primary) !important;
}

.header.scrolled ul.lang-menu a.gt-current-lang {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 1px var(--accent);
}

/* Hide GTranslate's floating widget — only use menu */
#gt_float_wrapper {
  display: none !important;
}






/* ====== V5 VIDEO HERO — Netlog style ====== */
.hero-video {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-video video,
.hero-video .hero-fallback-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 42, 0.45);
  z-index: 1;
}

.hero-video .hero-center {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-bottom: 80px;
}

.hero-video .hero-motto {
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: 12px;
  text-transform: lowercase;
}

.hero-video .scroll-chevron {
  display: block;
  margin: 24px auto 0;
  width: 32px;
  height: 32px;
  color: var(--white);
  opacity: 0.7;
  animation: bounceDown 2s ease-in-out infinite;
}

.hero-video .scroll-chevron svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
}

@keyframes bounceDown {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

/* ====== V5 STATS — Netlog bordered cells ====== */
.stats-section {
  padding: 80px 0;
  background: var(--white);
}

.stats-section .section-title {
  margin-bottom: 40px;
}

.stats-cells {
  display: flex;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.stat-cell {
  flex: 1;
  text-align: center;
  padding: 32px 24px;
  border-right: 1px solid var(--gray-200);
}

.stat-cell:last-child {
  border-right: none;
}

.stat-cell .sc-num {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-cell .sc-label {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 8px;
  line-height: 1.3;
}

.stats-link {
  text-align: center;
  margin-top: 36px;
}

/* ====== V5 SOLUTIONS — 6-card grid, Netlog style ====== */
.solutions {
  padding: 100px 0;
  background: var(--light-bg);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.sol-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
}

.sol-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-200);
  transform: translateY(-4px);
}

.sol-card-img {
  height: 200px;
  overflow: hidden;
}

.sol-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.sol-card:hover .sol-card-img img {
  transform: scale(1.04);
}

.sol-card-body {
  padding: 24px 20px 28px;
}

.sol-card-body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 16px;
  line-height: 1.4;
}

.sol-card-body .btn-icon {
  margin: 0 auto;
}

/* ====== V5 ABOUT — Two-column, Netlog "Hakkımızda" style ====== */
.about-block {
  padding: 100px 0;
  background: var(--white);
}

.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text-col .section-label {
  text-align: left;
}

.about-text-col .section-title {
  text-align: left;
  margin: 0 0 16px;
  max-width: none;
}

.about-text-col p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
  text-align: left;
}

.about-img-col {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.about-img-col img {
  border-radius: var(--radius-xl);
  width: 100%;
}

/* Old about grid for subpages */
.about {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.about-image img {
  border-radius: var(--radius-xl);
}

.about-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--primary);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-lg);
}

.about-badge .num {
  font-size: 1.8rem;
  font-weight: 700;
}

.about-badge .txt {
  font-size: 0.8rem;
  opacity: 0.9;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.9rem;
}

.about-feature:hover {
  border-color: var(--primary-light);
}

.about-feature .icon {
  font-size: 1.2rem;
}

/* ====== V5 CTA — Full-width dark ====== */
.cta-full {
  padding: 80px 0;
  background: var(--navy);
  text-align: center;
}

.cta-full h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-full p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.cta-full .btn {
  background: var(--accent);
  color: var(--navy);
  font-weight: 700;
}

.cta-full .btn:hover {
  background: var(--accent-light);
}

/* ====== V5 FOOTER — Deep indigo, Netlog style ====== */
.footer {
  background: var(--navy);
  padding: 60px 0 0;
  color: rgba(255, 255, 255, 0.65);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.4);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary-light);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
  fill: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-social a:hover svg {
  fill: var(--white);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.8rem;
  margin-bottom: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.footer-contact-item .icon {
  font-size: 0.9rem;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.25);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* Page Hero */
.page-hero {
  background: #1e5792;
  padding: 140px 0 60px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  text-align: center;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
}

.breadcrumb a {
  color: var(--accent);
}

.breadcrumb .sep {
  opacity: 0.3;
}

/* Service Detail */
.service-detail {
  padding: 80px 0;
}

.service-detail:nth-child(even) {
  background: var(--gray-50);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-detail:nth-child(even) .service-detail-grid {
  direction: rtl;
}

.service-detail:nth-child(even) .service-detail-grid>* {
  direction: ltr;
}

.service-detail-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.service-detail-image img {
  border-radius: var(--radius-xl);
  width: 100%;
}

.section-label.left {
  text-align: left;
}

/* Service-specific stats mini bar */
.service-stats {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.service-stat {
  flex: 1;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.service-stat .ss-num {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.service-stat .ss-label {
  font-size: 0.72rem;
  color: var(--gray-400);
  margin-top: 4px;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .service-stats {
    flex-wrap: wrap;
  }

  .service-stat {
    flex: 1 1 45%;
  }
}

/* Old services grid for subpages */
.services {
  padding: 100px 0;
  background: var(--gray-50);
}

.services-header {
  text-align: center;
  margin-bottom: 48px;
}

.services-header .section-desc {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.service-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-image .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 42, 0.5), transparent);
}

.service-card-num {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.service-card-body {
  padding: 24px;
}

.service-card-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--navy);
}

.service-card-body p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 12px;
}

.service-card-link:hover {
  gap: 8px;
}

/* CTA Box */
.cta {
  padding: 80px 0;
  background: var(--gray-50);
}

.cta-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-xl);
  padding: 60px;
  text-align: center;
}

.cta-box h2 {
  color: var(--white);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 12px;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

/* Contact */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  margin-bottom: 16px;
  transition: var(--transition);
}

.contact-info-card:hover {
  border-color: var(--primary-light);
  background: rgba(26, 35, 126, 0.02);
}

.contact-info-card .icon {
  font-size: 1.3rem;
}

.contact-info-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  transition: var(--transition);
  background: var(--gray-50);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.08);
  background: var(--white);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.map-section {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* IK Position Cards */
.ik-position-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  margin-bottom: 16px;
  background: var(--white);
  transition: var(--transition);
}

.ik-position-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .ik-position-card {
    flex-direction: column;
    text-align: center;
  }
}

/* Scroll Reveal */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left {
  transform: translateX(-30px);
}

.reveal-right {
  transform: translateX(30px);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .about-two-col,
  .about-grid,
  .service-detail-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-detail:nth-child(even) .service-detail-grid {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .solutions-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-cells {
    flex-wrap: wrap;
  }

  .stat-cell {
    flex: 1 1 45%;
    border-bottom: 1px solid var(--gray-200);
  }

  .stat-cell:nth-child(2) {
    border-right: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {

  .solutions-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-video .hero-motto {
    font-size: 1.2rem;
    letter-spacing: 6px;
  }

  .stat-cell {
    flex: 1 1 100%;
    border-right: none;
  }
}

/* ====== QUOTE MODAL ====== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(30px) scale(0.95);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}

.modal-overlay.active .modal-box {
  transform: translateY(0) scale(1);
}

.modal-header {
  background: var(--white) !important;
  padding: 28px 32px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  position: relative;
  border-bottom: 1px solid var(--gray-200);
}

.modal-header h3 {
  color: var(--navy);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
}

.modal-header h3 img {
  height: 28px;
  width: auto;
  vertical-align: middle;
  object-fit: contain;
}

.modal-header p {
  color: var(--gray-400);
  font-size: 0.82rem;
  margin: 6px 0 0;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-100);
  border: none;
  color: var(--navy);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--gray-200);
}

.modal-body {
  padding: 28px 32px 32px;
}

.modal-body .form-group {
  margin-bottom: 18px;
}

.modal-body label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-600);
  margin-bottom: 6px;
}

.modal-body input,
.modal-body select,
.modal-body textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--gray-800);
  transition: all 0.2s;
  background: var(--gray-50);
}

.modal-body input:focus,
.modal-body select:focus,
.modal-body textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.08);
}

.modal-body textarea {
  resize: vertical;
  min-height: 80px;
}

.modal-body .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.modal-body .modal-submit {
  width: 100%;
  padding: 14px;
  margin-top: 8px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-body .modal-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.modal-body .modal-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.modal-body .modal-submit.success {
  background: #16a34a;
}

.modal-body .modal-submit.error {
  background: #dc2626;
}

/* Address Picker — Dropdown Select Style */
.ap-block {
  margin-top: 14px;
  padding: 14px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}

.ap-block-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.ap-row {
  display: flex;
  gap: 10px;
}

.ap-col {
  flex: 1;
  position: relative;
}

.ap-select-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s;
  user-select: none;
}

.ap-select-box:hover {
  border-color: var(--primary);
}

.ap-select-box.ap-selected {
  border-color: var(--primary);
  background: rgba(26, 35, 126, 0.03);
}

.ap-select-box.ap-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ap-select-text {
  font-size: 0.82rem;
  color: var(--gray-500);
  font-family: inherit;
}

.ap-select-box.ap-selected .ap-select-text {
  color: var(--primary-dark);
  font-weight: 500;
}

.ap-arrow {
  color: var(--gray-400);
  flex-shrink: 0;
}

.ap-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  margin-top: 4px;
  overflow: hidden;
}

.ap-dd-search {
  width: 100%;
  padding: 9px 12px;
  border: none;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.82rem;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
}

.ap-dd-search:focus {
  background: var(--gray-50);
}

.ap-dd-list {
  max-height: 200px;
  overflow-y: auto;
}

.ap-dd-list::-webkit-scrollbar {
  width: 4px;
}

.ap-dd-list::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 4px;
}

.ap-dd-item {
  padding: 8px 14px;
  font-size: 0.82rem;
  color: var(--gray-700);
  cursor: pointer;
  transition: background 0.1s;
  border-bottom: 1px solid var(--gray-50);
}

.ap-dd-item:hover {
  background: rgba(26, 35, 126, 0.06);
  color: var(--primary);
}

.ap-dd-item:last-child {
  border-bottom: none;
}

.ap-addr-wrap {
  margin-top: 10px;
}

.ap-address-text {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-family: inherit;
  resize: vertical;
  min-height: 50px;
  background: var(--white);
  box-sizing: border-box;
}

.ap-address-text:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(26, 35, 126, 0.08);
}

@media (max-width: 600px) {
  .ap-row {
    flex-direction: column;
    gap: 8px;
  }
}

.modal-body .form-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 14px;
}

/* Form Success/Error Messages */
.form-message {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.form-message.success {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.form-message.error {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

@media (max-width: 540px) {
  .modal-body {
    padding: 20px;
  }

  .modal-header {
    padding: 22px 20px;
  }

  .modal-body .form-row {
    grid-template-columns: 1fr;
  }
}

/* Service Quote Buttons */
.srv-quote-btn {
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .srv-quote-btn {
    background: var(--primary-light) !important;
    width: 100%;
    justify-content: center;
  }

  .srv-quote-btn:hover {
    background: var(--primary) !important;
  }

  .nav-right .btn {
    padding: 8px 16px;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
  }

  .header .logo img {
    height: 36px;
  }

  .container-wide {
    padding: 0 16px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}