/* FAQ page hero */
.faq-hero { background: linear-gradient(180deg, #ffffff, #f8fafc); }
.faq-search .form-control:focus { box-shadow: none; border-color: #c7d2fe; }
.faq-search .input-group-text { border-color: #dee2e6; }
/* Prevent horizontal scroll */
html, body { overflow-x: hidden; }
@media (max-width: 576px) {
  .faq-hero h1, .faq-hero p { text-align: center; }
  .faq-search { max-width: 480px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 768px) { .faq-illustration { display: none !important; } }
:root {
  --brand-primary: #0d6efd; /* Bootstrap primary fallback */
  /* Modern theme inspired by high-contrast product sites */
  --bg-dark: #0b1220;
  --bg-darker: #0a0f1b;
  --text-muted: #9fb2d3;
  --surface: #0f172a;
  --surface-2: #0d1324;
  --border-subtle: rgba(255,255,255,.08);
  --blue: #3b82f6;
  --indigo: #6366f1;
  --purple: #8b5cf6;
  --cyan: #22d3ee;
  --amber: #f59e0b;
}

html, body {
  scroll-behavior: smooth;
}
/* Page transitions */
body { opacity: 0; transition: opacity .35s ease; }
body.page-loaded { opacity: 1; }
body.page-leave { opacity: 0; }

.object-fit-cover {
  object-fit: cover;
}

/* Glassy navbar */
.glass-nav {
  background: rgba(10, 14, 23, 0.55);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(2,6,23,.25);
  padding: 1.5rem 0;
  min-height: 80px;
}
.glass-nav .navbar-brand { font-weight: 800; letter-spacing: .2px; }
.glass-nav .navbar-brand,
.glass-nav .navbar-brand:visited { color: #fff; }
.glass-nav .navbar-brand .brand-accent { background: linear-gradient(90deg, var(--indigo), var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Brand logo styling - positioned outside navbar */
.brand-logo {
  height: 200px;
  width: auto;
  max-width: 400px;
  object-fit: contain;
  filter: brightness(1.1);
  position: fixed;
  top: -55px;
  left: 245px;
  z-index: 1051;
  transition: transform 0.3s ease;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .brand-logo {
    height: 160px;
    max-width: 280px;
    top: -40px;
    left: -10px;
  }
  
  .glass-nav {
    padding: 0.75rem 0;
    min-height: 80px;
  }
  
  .navbar-toggler {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1052;
  }
}
.glass-nav .nav-link { position: relative; color: rgba(255,255,255,0.82); padding: .5rem .75rem; transition: color .2s ease; }
.glass-nav .nav-link:hover, .glass-nav .nav-link.active { color: #fff; }
.glass-nav .nav-link:not(.dropdown-toggle)::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .35rem; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; border-radius: 1px; }
.glass-nav .nav-link:hover:not(.dropdown-toggle)::after, .glass-nav .nav-link.active:not(.dropdown-toggle)::after { transform: scaleX(1); }
/* Caret for dropdown toggle in navbar */
.glass-nav .dropdown-toggle::after { display: inline-block; margin-left: .35rem; vertical-align: .15em; content: ""; border-top: .4em solid #fff; border-right: .4em solid transparent; border-left: .4em solid transparent; border-bottom: 0; }
/* Remove blue focus ring/outline from navbar links/dropdowns */
.glass-nav .nav-link:focus,
.glass-nav .nav-link:active,
.glass-nav .nav-link:focus-visible,
.glass-nav .dropdown-toggle:focus,
.glass-nav .dropdown-toggle:focus-visible { outline: none !important; box-shadow: none !important; background: transparent !important; }
.glass-nav .nav-link { -webkit-tap-highlight-color: transparent; }
.glass-nav.nav-scrolled { background: rgba(10,14,23,.9); }
.glass-nav .btn.btn-primary { box-shadow: 0 10px 30px rgba(59,130,246,.45); padding: .5rem .9rem; border-radius: .65rem; }
.glass-nav .navbar-toggler { border: 1px solid rgba(255,255,255,.25); }
.glass-nav .navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(59,130,246,.35); }
.lang-toggle { padding: .35rem .6rem !important; border: 1px solid rgba(255,255,255,.25); border-radius: .6rem; color: #e2e8f0 !important; }
.lang-toggle:hover { color: #fff !important; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.06); }
.lang-menu .dropdown-item { display: flex; align-items: center; gap: .5rem; }
.flag-icon { width: 18px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.05) inset; }

/* Hero */
.hero.hero-gradient {
  background: radial-gradient(1200px 600px at -10% 10%, rgba(13, 110, 253, 0.15), transparent 60%),
              radial-gradient(1000px 500px at 110% -10%, rgba(111, 66, 193, 0.18), transparent 60%),
              linear-gradient(180deg, #0b1220 0%, #0e1627 40%, #0f172a 100%);
  color: #e9eef8;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(60% 60% at 30% 20%, rgba(0,0,0,.5), transparent 80%);
}
.gradient-text {
  background: linear-gradient(90deg, #6f42c1, #0d6efd 60%, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .hero-media { height: 420px; }
@media (min-width: 992px) { .hero .hero-media { height: 520px; } }
.hero .badge { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.play-overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.play-btn { width: 64px; height: 64px; border-radius: 999px; display: grid; place-items: center; color: #0b1220;
  background: #fff; box-shadow: 0 18px 40px rgba(2,6,23,.35); transition: transform .2s ease, box-shadow .2s ease; }
.play-btn:hover { transform: scale(1.06); box-shadow: 0 22px 46px rgba(2,6,23,.45); }

/* Modal backdrop blur */
.modal-backdrop { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); background-color: rgba(3,7,18,.55); }

.btn-glass { border: 1px solid rgba(255,255,255,.25); color: #eaf2ff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04)); }
.btn-glass:hover { color: #fff; border-color: rgba(255,255,255,.4); }

.kpi-row { gap: 18px; }
.kpi-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.kpi-value { font-weight: 800; color: #fff; }
.kpi-label { color: #9fb2d3; font-size: 12px; letter-spacing: .2px; text-transform: uppercase; }

.headline-glow { text-shadow: 0 10px 30px rgba(99,102,241,.35); }

/* Rotating tagline - horizontal */
.rotator { position: relative; display: inline-block; min-height: 1.6em; white-space: nowrap; }
.rotator-item { position: absolute; left: 0; top: 0; opacity: 0; transform: translateX(16px); transition: opacity .5s ease, transform .5s ease; white-space: nowrap; }
.rotator-item.is-active { opacity: 1; transform: translateX(0); }

/* Mobile tweak: start hero title a bit lower */
@media (max-width: 576px) {
  .hero { padding-top: 5.5rem; padding-bottom: 1.5rem; }
  .hero .headline-glow { margin-top: .5rem !important; }
  .hero .badge { display: inline-block; margin-left: auto; margin-right: auto; }
  .hero .headline-glow, .hero .gradient-text { text-align: center; display: block; }
  .hero .mt-4.d-flex.gap-2 { justify-content: center; }
  .hero .kpi-row { justify-content: center; }
  /* Make rotating text wrap nicely on small screens */
  .rotator { display: block; min-height: auto; text-align: center; white-space: normal; }
  .rotator-item { position: static; display: none; opacity: 0; transform: none; }
  .rotator-item.is-active { display: block; opacity: 1; }
}

/* Footer mobile centering */
@media (max-width: 576px) {
  .footer-dark .row > [class^="col-"], .footer-dark .row > [class*=" col-"] { text-align: left; }
  .footer-dark .d-flex { justify-content: flex-start !important; }
  .footer-dark .brand-badge { margin-left: 0; margin-right: 0; }
  .footer-dark .row.g-4 > [class^="col-"], .footer-dark .row.g-4 > [class*=" col-"] { margin-bottom: 1rem; }
  .footer-dark h6 { margin-top: .5rem; margin-bottom: .5rem; }
  .footer-dark .footer-list { padding: 0; margin: 0; max-width: none; }
  .footer-dark .footer-list li { margin-bottom: .35rem; }
  .footer-dark .social-btn { width: 40px; height: 40px; }
  .footer-dark hr { margin: 1rem 0; }
  /* Center brand row on mobile */
  .footer-dark .row.g-4 > .col-12.col-lg-3:first-child { text-align: center; }
  .footer-dark .row.g-4 > .col-12.col-lg-3:first-child .brand-row { justify-content: center; gap: 6px; width: fit-content; margin-left: auto; margin-right: auto; }
  .footer-dark .row.g-4 > .col-12.col-lg-3:first-child .brand-row .brand-badge { margin-right: 4px; }
  .footer-dark .row.g-4 > .col-12.col-lg-3:first-child .brand-badge { margin-left: auto; margin-right: auto; }
}

/* Center overall footer layout on medium screens and below */
@media (max-width: 992px) {
  .footer-dark .row.g-4 { justify-content: center; }
  .footer-dark .row.g-4 > [class^="col-"], .footer-dark .row.g-4 > [class*=" col-"] { text-align: center; }
  .footer-dark .d-flex.gap-2 { justify-content: center; }
}

/* Center the copyright line on mobile */
@media (max-width: 576px) {
  .footer-dark .d-flex.flex-column.flex-md-row { align-items: center; text-align: center; }
}

/* Decorative shapes */
.shape {
  position: absolute;
  filter: blur(40px);
  opacity: 0.6;
  pointer-events: none;
}
.shape-1 { width: 280px; height: 280px; left: -60px; top: -60px; background: #2563eb; opacity: .25; border-radius: 50%; }
.shape-2 { width: 340px; height: 340px; right: -80px; bottom: 80px; background: #7c3aed; opacity: .25; border-radius: 50%; }
.wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 120px; }

/* Footer */
.footer-dark { background: #0b1220; color: #c6d3ee; }
.footer-dark .footer-link { color: #c6d3ee; text-decoration: none; }
.footer-dark .footer-link:hover { color: #fff; }
.designer-link { color: #fff; text-decoration: none; font-weight: 700; }
.designer-link:hover { color: #e2e8f0; text-decoration: none; }
.brand-badge { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, #0d6efd, #6f42c1); color: #fff; display: grid; place-items: center; font-weight: 700; }
.footer-list li { margin-bottom: 6px; }
.social-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); color: #e2e8f0; text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease; }
.social-btn:hover { background: rgba(255,255,255,.08); color: #fff; transform: translateY(-2px); }

/* Content sections */
.section-heading { max-width: 760px; margin-left: auto; margin-right: auto; }
.feature-card {
  border: 1px solid var(--border-subtle);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(2, 6, 23, .26); border-color: rgba(99, 102, 241, .45); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; font-size: 22px;
  background: linear-gradient(135deg, rgba(99,102,241,.18), rgba(34,211,238,.14)); color: #c7d2fe;
}
.project-card img { height: 200px; object-fit: cover; }
.badge-safety { background: rgba(245, 158, 11, .15); color: var(--amber); }
.stat-tile { background: var(--surface-2); border: 1px solid rgba(255,255,255,.06); }
.stat-value { font-weight: 800; letter-spacing: .5px; }
.stat-label { color: #90a4c7; }

/* Project cards */
.project-card { transition: transform .25s ease, box-shadow .25s ease; border: 1px solid #e5e7eb; }
.project-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(2,6,23,.12); }
.project-card .card-img-top { transition: transform .4s ease; }
.project-card:hover .card-img-top { transform: scale(1.04); }
.project-card .card-title { font-weight: 700; }

/* Metrics strip */
.metrics {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}
.metrics .metric { padding: 8px 0; border-right: 1px solid #e5e7eb; }
.metrics .metric:last-child { border-right: none; }
.metrics .h3 { font-weight: 800; }
.metrics .text-secondary { color: #6b7280 !important; }

/* Marquee */
.marquee {
  overflow: hidden;
  padding: 8px 0;
  background: linear-gradient(180deg, #fff, #f9fbff);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; gap: 56px; width: max-content; animation: marquee 28s linear infinite; will-change: transform;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-pill {
  display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 999px;
  border: 1px solid #e5e7eb; background: #fff; color: #111827; font-weight: 700;
  transition: box-shadow .2s ease, background-color .2s ease, border-color .2s ease; cursor: default; user-select: none;
}
.logo-pill:hover { box-shadow: 0 10px 24px rgba(2,6,23,.12); border-color: #d1d5db; background: linear-gradient(180deg, #ffffff, #f8fafc); }
.logo-pill:active { transform: scale(.98); box-shadow: 0 6px 12px rgba(2,6,23,.16); }
.logo-pill:focus-visible { outline: 3px solid rgba(99,102,241,.35); outline-offset: 2px; }

/* Prevent hover "sticking" when cursor leaves area */
.marquee:hover .logo-pill { will-change: transform; }

.marquee-section-title { font-weight: 800; letter-spacing: .2px; }
.marquee-subtitle { color: #6b7280; }
.partners-card { border: 1px solid #e5e7eb; border-radius: 16px; background: linear-gradient(180deg, #ffffff, #f8fafc); box-shadow: 0 10px 30px rgba(2,6,23,.06); }

/* Contact info cards */
.info-card { border: 1px solid #eef2f7; border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgba(2,6,23,.05); }
.icon-pill { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(99,102,241,.15), rgba(34,211,238,.15)); color: #1e3a8a; font-size: 20px; }
.map-card { border: 1px solid #eef2f7; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 18px rgba(2,6,23,.05); }
.section-accent { width: 56px; height: 3px; background: linear-gradient(90deg, var(--indigo), var(--blue), var(--cyan)); border-radius: 2px; }

/* Contact - modern minimal */
.contact-hero { background: linear-gradient(180deg, #0b1220 0%, #0e1627 45%, #0f172a 100%); }
.contact-title { color: #0f172a; letter-spacing: .2px; }
.contact-sub { color: #6b7280; max-width: 640px; margin-left: auto; margin-right: auto; }
.card-modern { border: 1px solid #e5e7eb; border-radius: 16px; background: #fff; box-shadow: 0 8px 28px rgba(2,6,23,.06); }
.card-modern .form-control, .card-modern .form-select { border-radius: 12px; border: 1px solid #e5e7eb; padding: .9rem .95rem; }
.card-modern .form-control:focus, .card-modern .form-select:focus { border-color: #c7d2fe; box-shadow: 0 0 0 .25rem rgba(99,102,241,.15); }
.btn-modern { border: 0; border-radius: 12px; padding: .9rem 1.1rem; background-image: linear-gradient(90deg, var(--indigo), var(--blue), var(--cyan)); color: #fff; font-weight: 600; box-shadow: 0 14px 30px rgba(34,211,238,.22); }
.btn-modern:hover { filter: brightness(1.06); }
.info-card-min { border: 1px solid #e5e7eb; border-radius: 14px; background: #fff; padding: 16px; box-shadow: 0 6px 18px rgba(2,6,23,.05); }
.info-card-min .label { color: #6b7280; font-size: .85rem; }
.info-card-min .value { color: #111827; font-weight: 600; }
.map-modern { border: 1px solid #e5e7eb; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 28px rgba(2,6,23,.07); }
.map-modern { position: relative; }
.map-modern .map-pin { position: absolute; z-index: 2; width: 12px; height: 12px; border-radius: 999px; background: #ef4444; border: 2px solid #ffffff; box-shadow: 0 4px 10px rgba(239,68,68,.45); right: 14px; top: 14px; }

/* Modal - glassy minimal */
.modal-modern .modal-content { border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 16px; box-shadow: 0 20px 60px rgba(2,6,23,.25); }
.modal-modern .modal-header { border-bottom: 1px solid rgba(0,0,0,.06); }
.modal-modern .modal-footer { border-top: 1px solid rgba(0,0,0,.06); }
.modal-modern .result-icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; margin-right: 10px; background: linear-gradient(135deg, rgba(99,102,241,.18), rgba(34,211,238,.18)); color: #1e3a8a; }

/* Gradient buttons */
.btn-gradient {
  background-image: linear-gradient(90deg, var(--indigo), var(--blue), var(--cyan));
  border: none; color: #fff; box-shadow: 0 12px 32px rgba(34, 211, 238, .25);
}
.btn-gradient:hover { filter: brightness(1.08); }
.btn-outline-light { border-color: rgba(255,255,255,.45) !important; color: #eaf2ff !important; }

/* Accordion modern */
.accordion-modern .accordion-item { border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; margin-bottom: 12px; }
.accordion-modern .accordion-button { padding: 18px 20px; font-weight: 600; }
.accordion-modern .accordion-body { padding: 18px 20px; background: #fff; }
.accordion-modern .accordion-button:not(.collapsed) { background: #f8fafc; box-shadow: inset 0 -1px 0 #e5e7eb; }

/* FAQ mobile centering */
@media (max-width: 576px) {
  .faq-section .row > [class^="col-"], .faq-section .row > [class*=" col-"] { text-align: center; }
  .faq-section .accordion-modern { text-align: left; }
}

/* Services list */
.service-card { border: 1px dashed #e5e7eb; border-radius: 14px; padding: 14px; transition: border-color .2s ease, transform .2s ease; }
.service-card:hover { border-color: #c7d2fe; transform: translateY(-3px); }

/* Process steps */
.step-card { position: relative; }
.step-card .feature-icon { background: linear-gradient(135deg, rgba(59,130,246,.22), rgba(99,102,241,.16)); color: #fff; }
.step-card:hover { transform: translateY(-6px); }

/* Scrollbar - navy track, lighter blue thumb */
html { scrollbar-width: thin; scrollbar-color: #93c5fd #0b1220; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0b1220; }
::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background-image: linear-gradient(180deg, #bfdbfe, #052b57 50%, #000000 100%);
  border: 2px solid #0b1220;
}
::-webkit-scrollbar-thumb:hover { background-image: linear-gradient(180deg, #dbeafe, #a5bffb 50%, #7fb1ff 100%); }

/* Preloader */
.preloader { position: fixed; inset: 0; background: #0b1220; z-index: 2000; display: grid; place-items: center; }
.preloader-inner { text-align: center; color: #c6d3ee; }
.spinner { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 999px; border: 3px solid rgba(255,255,255,.4); border-top-color: transparent; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.preloader-brand { font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; font-weight: 800; letter-spacing: .35rem; font-size: 28px; }
.preloader-yaman { background: linear-gradient(90deg, #6366f1, #3b82f6, #22d3ee); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.preloader-grup { color: #ffffff; margin-left: .35rem; }
.preloader-sub { margin-top: 8px; font-size: 12px; letter-spacing: .35em; text-transform: uppercase; color: #9fb2d3; }
.preloader.fade-out { animation: preloaderFade .6s ease forwards; }
@keyframes preloaderFade { to { opacity: 0; visibility: hidden; } }

/* Projects – Compass year filter */
.year-compass { display: grid; place-items: center; padding: 10px 0 2px; }
.year-compass .compass-ring {
  position: relative; width: 220px; height: 220px; border-radius: 50%;
  border: 1px solid #e5e7eb; background: radial-gradient(ellipse at center, #ffffff, #f8fafc);
  box-shadow: inset 0 10px 24px rgba(2,6,23,.04);
  transform: rotate(var(--rotate, 0deg));
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.year-compass .compass-item {
  position: absolute; left: 50%; top: 50%;
  transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(calc(-1 * var(--rotate, 0deg)));
  padding: 6px 10px; border-radius: 999px; border: 1px solid #e5e7eb; background: #fff; color: #111827;
  font-weight: 600; font-size: 12px; box-shadow: 0 8px 18px rgba(2,6,23,.06);
  transition: box-shadow .2s ease, background-color .2s ease, color .2s ease; cursor: pointer; user-select: none;
}
.year-compass .compass-item:hover { box-shadow: 0 12px 28px rgba(2,6,23,.12); }
.year-compass .compass-item.is-active { background: linear-gradient(90deg, #6366f1, #3b82f6, #22d3ee); color: #fff; border-color: transparent; }
.year-compass .compass-needle { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 10px solid #2563eb; filter: drop-shadow(0 2px 4px rgba(37,99,235,.35)); }
.year-compass .compass-center { margin-top: 10px; }
@media (max-width: 992px) { .year-compass .compass-ring { width: 200px; height: 200px; } }
@media (max-width: 576px) { .year-compass .compass-ring { width: 180px; height: 180px; } }