/* =========================
   GLOBAL RESET
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100%;
}

:root {
  --header-height: 92px;
  --header-offset: 20px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 20% -10%, #0f1c3a, #020617);
  color: #e5e7eb;
  line-height: 1.6;
  padding-top: calc(var(--header-height) + var(--header-offset));
}

/* =========================
   CONTAINER & SECTION
========================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 16px;
}

.section {
  margin-top: 12px;
}

/* Smooth anchor navigation with sticky header */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--header-offset));
}

.sectionHeader {
  margin-bottom: 20px;
}

.sectionHeader h2 {
  font-size: 24px;
  margin-bottom: 6px;
}

.sectionHeader p {
  opacity: 0.85;
  font-size: 14px;
}

/* =========================
   HEADER
========================= */
.header {
  position: fixed;
  top: 0;
  z-index: 50;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  width: 100%;
}

.headerInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  /* Give the header more vertical breathing room */
  padding: 0;
  min-height: var(--header-height);
}

.header .container {
  padding-top: 0;
  padding-bottom: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand img {
  width: 44px;
  height: 44px;
  filter: brightness(0) invert(1);
}

.brand .name {
  font-weight: 600;
  font-size: 15px;
}

.brand .tag {
  font-size: 12px;
  opacity: 0.6;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 13px;
  opacity: 0.85;
}

.nav a:hover {
  opacity: 1;
}

.lang {
  background: rgba(15,23,42,0.88);
  border: 1px solid rgba(148,163,184,0.55);
  color: #e5e7eb;
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.lang:hover {
  transform: translateY(-2px);
  border-color: rgba(34,211,238,0.75);
  box-shadow: 0 16px 34px rgba(0,0,0,0.35);
}

.lang:active {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.32);
}

/* =========================
   CARDS & GENERIC
========================= */
.card {
  background: linear-gradient(180deg, #0b1220, #020617);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 28px;
}

.centerText {
  text-align: center;
}

/* =========================
   BADGES
========================= */
.badge {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(255,255,255,0.06);
  opacity: 0.9;
}

/* =========================
   FOOTER
========================= */
.footer {
  margin-top: 60px;
  padding: 24px 16px;
  text-align: center;
  font-size: 13px;
  opacity: 0.7;
}

.footerLink {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  opacity: 0.85;
  text-decoration: none;
  color: #e5e7eb;
}

/* =========================
   CONTACT (GENEL)
========================= */
.contactCard {
  margin-top: 12px;
}

.contactGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  :root {
    --header-offset: 12px;
  }

  .headerInner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
  }
}

@media (max-width: 700px) {
  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand .name {
    font-size: 14px;
  }

  .lang {
    padding: 6px 10px;
    font-size: 12px;
  }
}

.contactGrid h3 {
  font-size: 14px;
  margin-bottom: 4px;
}

.contactGrid a {
  color: #38bdf8;
  text-decoration: none;
}

/* =========================
   CERT (GENEL)
========================= */
.cert-list {
  line-height: 1.6;
  opacity: 0.92;
}

/* =========================
   MOBILE (GENEL)
========================= */
@media (max-width: 900px) {
  .contactGrid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   BUTTONS – MODERN 3D STYLE
========================= */

.btnPrimary,
.btnGhost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btnPrimary {
  /* Corporate blue (less neon, more premium) */
  background: linear-gradient(180deg, rgba(37,99,235,0.92), rgba(30,58,138,0.92));
  color: #f9fafb;
  border: none;
  box-shadow: 0 16px 36px rgba(0,0,0,0.35);
  position: relative;
}

/* =========================
   LOGO SPLASH
========================= */
.logoSplash {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 380ms ease;
}

/* Half-height splash (used when clicking header anchors) */
.logoSplash.half {
  top: 0;
  left: 0;
  right: 0;
  bottom: auto;
  height: 52vh;
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
}

.logoSplash.show {
  opacity: 1;
  pointer-events: auto;
}

.logoSplash img {
  width: 120px;
  height: 120px;
  transform: scale(0.2) rotate(0deg);
  opacity: 0;
  /* Make the logo white (same feel as header) */
  filter: brightness(0) invert(1);
}

.logoSplash.show img {
  animation: logoSplashSpinGrow 1800ms linear forwards;
}

.logoSplash.hide {
  opacity: 0;
}

@keyframes logoSplashSpinGrow {
  0%   { transform: scale(0.08) rotate(0deg); opacity: 1; }
  35%  { transform: scale(2.8) rotate(180deg); opacity: 0.75; }
  70%  { transform: scale(7.5) rotate(360deg); opacity: 0.35; }
  100% { transform: scale(12) rotate(540deg); opacity: 0; }
}

.btnPrimary:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(0,0,0,0.42);
  background: linear-gradient(180deg, rgba(59,130,246,0.96), rgba(29,78,216,0.96));
}

.btnPrimary:active {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.38);
}

.btnGhost {
  background: linear-gradient(180deg, rgba(15,23,42,0.92), rgba(15,23,42,0.80));
  border: 1px solid rgba(148,163,184,0.55);
  color: #e5e7eb;
  box-shadow: 0 14px 34px rgba(0,0,0,0.32);
}

.btnGhost:hover {
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(31,41,55,0.95), rgba(15,23,42,0.82));
  border-color: rgba(59,130,246,0.75);
  box-shadow: 0 20px 44px rgba(0,0,0,0.42);
}

.btnGhost:active {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.36);
}

/* =========================
   CERTIFICATE CONTENT BLOCKS – FINAL
========================= */

.certContent {
  padding: 60px 0;
  max-width: 1100px;
  margin: 40px auto 0;
}

.certRow {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  padding: 40px;
  margin-bottom: 40px;
  border-radius: 28px;
  background: rgba(15,23,42,0.85);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  overflow: hidden;
}

.certLeft h3 {
  font-size: 26px;
  margin-bottom: 12px;
}

.certText,
.certTextTr {
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: 6px;
  max-width: 480px;
}

.certRight {
  display: flex;
  justify-content: center;
  align-items: center;
}

.certRotator {
  width: 100%;
  height: 260px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.certRotator img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease;
}

.certRotator img.active {
  opacity: 1;
}

@media (max-width: 900px) {
  .certRow {
    grid-template-columns: 1fr;
  }
}

/* =========================
   HERO FIX
========================= */


.heroModern {
  margin-bottom: 120px;
}
.certContent {
  margin-top: 60px;
}
