/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue:       #1a3a6c;
  --blue-mid:   #1e5799;
  --blue-light: #2980b9;
  --accent:     #e84c1e;
  --gray-dark:  #333;
  --gray-mid:   #666;
  --gray-light: #f4f6f9;
  --white:      #fff;
  --border:     #dde3ea;
  --shadow:     0 2px 16px rgba(26,58,108,.10);
  --shadow-lg:  0 8px 32px rgba(26,58,108,.22);
  --radius:     8px;
  --transition: .22s ease;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.7;
}
a { color: var(--blue-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
h1,h2,h3,h4 { color: var(--blue); font-weight: 700; line-height: 1.25; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
p { margin-bottom: 1rem; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 25px 0; }
.section-alt { background: var(--gray-light); }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { margin-bottom: 10px; }
.section-title p { color: var(--gray-mid); max-width: 580px; margin: 0 auto; }
.section-title .line { width: 52px; height: 3px; background: var(--accent); margin: 12px auto 0; border-radius: 2px; }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--blue);
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: rgba(255,255,255,.75); }
.topbar a:hover { color: var(--white); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-social { display: flex; gap: 10px; }
.topbar-social a { width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; font-size: .75rem; }
.topbar-social a:hover { background: var(--accent); color: var(--white); }

/* ===== HEADER / NAV ===== */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo img { height: 64px; }
.logo span { display: block; font-size: .7rem; color: var(--blue); font-weight: 600; letter-spacing: .5px; text-transform: uppercase; margin-top: 2px; }

/* NAV */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: block;
  padding: 10px 14px;
  font-weight: 600;
  font-size: .88rem;
  color: var(--blue);
  border-radius: 0;
  transition: color var(--transition);
  text-transform: uppercase;
  letter-spacing: .4px;
  position: relative;
}
.main-nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.main-nav > li > a:hover::after,
.main-nav > li.active > a::after { transform: scaleX(1); }
.main-nav > li > a:hover,
.main-nav > li.active > a { color: var(--accent); background: none; }
.main-nav > li > a .arrow { font-size: .65rem; margin-left: 4px; opacity: .7; }

/* DROPDOWN */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 230px;
  box-shadow: 0 8px 32px rgba(26,58,108,.18);
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
  z-index: 999;
  padding: 8px 0;
  /* Invisible top padding bridges the gap so mouse stays inside li */
  margin-top: 0;
}
/* Transparent bridge so mouse can travel from nav link to dropdown */
.main-nav > li::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 6px;
  background: transparent;
  z-index: 998;
}
.dropdown.mega { min-width: 480px; display: none; }
.dropdown.mega .mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.dropdown a {
  display: block;
  padding: 9px 20px;
  color: var(--gray-dark);
  font-size: .87rem;
  transition: background var(--transition), color var(--transition);
}
.dropdown a:hover { background: var(--gray-light); color: var(--blue); padding-left: 26px; }
.dropdown .drop-head {
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--blue-mid);
  padding: 10px 20px 4px;
  border-top: 1px solid var(--border);
}
.dropdown .drop-head:first-child { border-top: none; }
.main-nav > li:hover > .dropdown { display: block; }

/* HAMBURGER */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.hamburger span { width: 26px; height: 2px; background: var(--blue); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 55%, var(--blue-light) 100%);
  color: var(--white);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
/* Canvas particle network fills the hero */
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
/* Gradient overlay sits above canvas, keeps text readable */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(26,58,108,.82) 0%,
    rgba(30,87,153,.70) 55%,
    rgba(41,128,185,.60) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero-text { flex: 1; }
.hero-text .badge { display: inline-block; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); border-radius: 20px; padding: 5px 16px; font-size: .8rem; margin-bottom: 20px; letter-spacing: .5px; }
.hero-text h1 { font-size: 2.6rem; color: var(--white); margin-bottom: 18px; line-height: 1.2; }
.hero-text h1 span { color: var(--accent); }
.hero-text p { font-size: 1.1rem; opacity: .88; max-width: 520px; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 28px; border-radius: var(--radius); font-weight: 600; font-size: .9rem; cursor: pointer; transition: all var(--transition); border: 2px solid transparent; }
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: #c93e16; border-color: #c93e16; color: var(--white); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline:hover { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-blue { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-mid); border-color: var(--blue-mid); color: var(--white); }
.hero-icon { flex: 0 0 auto; width: 220px; opacity: .22; filter: drop-shadow(0 0 20px rgba(26,58,108,.6)); }

/* ===== HERO SLIDER ===== */
.hero-slider { padding: 0; min-height: 520px; display: flex; flex-direction: column; }
.hero-slides-wrap { flex: 1; position: relative; z-index: 2; }
.hero-slide { display: none; padding: 80px 0 60px; }
.hero-slide.active { display: block; animation: heroFadeIn .6s ease; }
@keyframes heroFadeIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.hero-visual { flex: 0 0 auto; width: 560px; filter: drop-shadow(0 4px 24px rgba(0,0,0,0.5)); opacity: .92; }
.hero-visual svg { width: 100%; height: auto; }
.hero-photo { width: 100%; height: 340px; object-fit: contain; border-radius: var(--radius); }
.hero-visual-stack { display: flex; flex-direction: column; gap: 12px; justify-content: center; height: 340px; }
.hero-photo-stack { width: 100%; max-height: 155px; object-fit: contain; border-radius: var(--radius); }
.hero-placeholder { width: 100%; height: 340px; border-radius: var(--radius); border: 2px dashed rgba(255,255,255,.3); background: rgba(255,255,255,.06); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.hero-placeholder span { color: rgba(255,255,255,.7); font-size: .95rem; font-weight: 600; letter-spacing: .3px; text-align: center; padding: 0 20px; }
.hero-placeholder::before { content: ''; display: block; width: 48px; height: 48px; border: 2px dashed rgba(255,255,255,.35); border-radius: 8px; }
.hero-badge { display: inline-block; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.35); border-radius: 20px; padding: 5px 16px; font-size: .78rem; margin-bottom: 18px; letter-spacing: .6px; color: rgba(255,255,255,.85); text-transform: uppercase; }

/* Slider navigation bar */
.hero-nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 18px 0 24px; }
.hero-prev, .hero-next { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); color: #fff; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.hero-prev:hover, .hero-next:hover { background: var(--accent); border-color: var(--accent); }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.35); border: none; cursor: pointer; transition: background var(--transition), transform var(--transition); padding: 0; }
.hero-dot.active { background: var(--accent); transform: scale(1.3); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  color: var(--white);
  padding: 20px 0;
}
.page-hero h1 { color: var(--white); font-size: 1.9rem; margin-bottom: 6px; }
.page-hero .breadcrumb { font-size: .85rem; opacity: .75; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.8); }
.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero .breadcrumb span { margin: 0 6px; }

/* ===== CARDS ===== */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
  border-bottom: 3px solid transparent;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(26,58,108,.15); border-bottom-color: var(--accent); }
.card-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 1.8rem; margin-bottom: 18px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--gray-mid); font-size: .92rem; margin: 0; }
.card a.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: .85rem; color: var(--blue-light); }
.card a.card-link:hover { color: var(--accent); }

/* ===== SUBPAGE SIDEBAR LAYOUT ===== */
.page-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding: 60px 0; }
.sidebar { align-self: start; }
.sidebar-box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.sidebar-box h4 { background: var(--blue); color: var(--white); padding: 14px 20px; font-size: .85rem; text-transform: uppercase; letter-spacing: .5px; }
.sidebar-box ul li a { display: block; padding: 10px 20px; color: var(--gray-dark); font-size: .9rem; border-bottom: 1px solid var(--border); transition: background var(--transition), color var(--transition), padding var(--transition); }
.sidebar-box ul li a:hover, .sidebar-box ul li a.active { background: var(--gray-light); color: var(--blue); padding-left: 26px; font-weight: 600; }
.sidebar-box ul li:last-child a { border-bottom: none; }
.sidebar-contact { margin-top: 20px; background: linear-gradient(135deg, var(--blue), var(--blue-mid)); color: var(--white); border-radius: var(--radius); padding: 24px; }
.sidebar-contact h4 { color: #f9c74f; font-size: 1rem; margin-bottom: 12px; background: none; padding: 0; }
.sidebar-contact p { font-size: .88rem; opacity: .9; margin-bottom: 6px; }

/* ===== CONTENT AREA ===== */
.content-area h2 { margin-bottom: 18px; }
.content-area h3 { color: var(--blue-mid); margin-bottom: 10px; margin-top: 28px; }
.content-area ul { padding-left: 0; margin-bottom: 1rem; }
.content-area ul li { padding: 4px 0 4px 22px; position: relative; color: var(--gray-mid); font-size: .93rem; }
.content-area ul li::before { content: '›'; position: absolute; left: 6px; color: var(--accent); font-weight: 700; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin: 28px 0; }
.feature-item { background: var(--gray-light); border-radius: var(--radius); padding: 20px; border-left: 3px solid var(--blue-light); }
.feature-item h4 { margin-bottom: 6px; color: var(--blue); }
.feature-item p { font-size: .88rem; color: var(--gray-mid); margin: 0; }
.product-logo { max-width: 160px; margin-bottom: 24px; }
.info-box { background: linear-gradient(135deg, #e8f4fc, #f0f8ff); border: 1px solid #b8d9f0; border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; }
.info-box h4 { color: var(--blue-mid); margin-bottom: 8px; }

/* ===== REFERENCES ===== */
.refs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.ref-item {
  position: relative;
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 100px;
  overflow: hidden;
  cursor: default;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.ref-item img {
  display: block;
  width: 100%;
  height: 100px;
  object-fit: contain;
  padding: 16px 20px;
  transition: opacity .3s ease;
}
.ref-item .ref-overlay {
  position: absolute;
  inset: 0;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s ease;
  padding: 12px;
}
.ref-item .ref-overlay span {
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  text-align: center;
  line-height: 1.3;
}
.ref-item:hover { box-shadow: var(--shadow-lg); border-color: var(--blue); }
.ref-item:hover img { opacity: .15; }
.ref-item:hover .ref-overlay { opacity: 1; }

/* ===== PARTNERS ===== */
.partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
/* ===== VIDEO GRID ===== */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 32px; }
.video-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow var(--transition); }
.video-card:hover { box-shadow: var(--shadow-lg); }
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.video-info { padding: 20px 24px 24px; }
.video-info h3 { font-size: 1rem; color: var(--blue); margin-bottom: 8px; }
.video-info p { font-size: .875rem; color: var(--gray-mid); margin-bottom: 14px; line-height: 1.6; }

.partner-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 12px; text-align: center; font-weight: 600; font-size: .82rem; color: var(--gray-mid); min-height: 70px; display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.partner-item:hover { border-color: var(--blue-light); color: var(--blue); box-shadow: var(--shadow); }

/* ===== TWO-COLUMN FORM ROW (responsive via class) ===== */
.form-row-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.contact-info-box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; }
.contact-info-box h3 { margin-bottom: 24px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-row-icon { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg, var(--blue), var(--blue-light)); color: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; }
.contact-row-text strong { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .5px; color: var(--gray-mid); margin-bottom: 3px; }
.social-icon-btn { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg, var(--blue), var(--blue-light)); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: opacity var(--transition), transform var(--transition); }
.social-icon-btn:hover { opacity: .82; transform: translateY(-2px); color: var(--white); }
.contact-form { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; }
.contact-form h3 { margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--blue); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: .92rem; font-family: inherit; color: var(--gray-dark); transition: border-color var(--transition); outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue-light); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit { width: 100%; }

/* ===== KARIYER ===== */
.career-box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; text-align: center; }
.career-box .big-icon { font-size: 4rem; margin-bottom: 20px; }

/* ===== STATS BAR ===== */
.stats-bar { background: var(--blue); color: var(--white); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item h3 { font-size: 2.4rem; color: var(--white); }
.stat-item p { opacity: .8; font-size: .88rem; margin: 0; }

/* ===== CTA BANNER ===== */
.cta-banner { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%); color: var(--white); padding: 60px 0; text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p { opacity: .85; margin-bottom: 28px; }

/* ===== FOOTER ===== */
.site-footer { background: #111827; color: rgba(255,255,255,.75); }
.footer-top { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr; gap: 40px; }
.footer-brand img { height: 52px; margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; line-height: 1.7; opacity: .7; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: .85rem; color: rgba(255,255,255,.75); transition: all var(--transition); }
.footer-social a:hover { background: var(--accent); color: var(--white); }
.footer-col h5 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: .88rem; color: rgba(255,255,255,.65); transition: color var(--transition), padding var(--transition); }
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }
.footer-contact-row { display: flex; gap: 10px; margin-bottom: 12px; font-size: .88rem; }
.footer-contact-row strong { color: var(--white); }
.footer-bottom { background: rgba(0,0,0,.3); padding: 18px 0; text-align: center; font-size: .82rem; opacity: .6; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.35rem; }
  .logo img { height: 45px; }

  /* Topbar */
  .topbar .topbar-left { display: none; }

  /* Section vertical padding */
  .section { padding: 20px 0; }
  .stats-bar { padding: 28px 0; }

  /* Page hero */
  .page-hero { padding: 16px 0; }
  .page-hero h1 { font-size: 1.55rem; }

  /* Mobile nav: hide desktop list, show on .open */
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    padding: 8px 0 16px;
    gap: 0;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 999;
  }
  .main-nav.open { display: flex; }
  .main-nav > li > a { border-radius: 0; padding: 12px 24px; }

  /* Dropdown: collapsed by default in mobile nav, toggled by JS */
  .dropdown {
    display: none;
    position: static;
    box-shadow: none;
    border-top: none;
    border-radius: 0;
    background: var(--gray-light);
    padding: 4px 0;
    /* override desktop hover rule */
    min-width: 0;
    width: 100%;
  }
  /* Override desktop hover-to-open — mobile uses JS click instead */
  .main-nav > li:hover > .dropdown { display: none; }
  .main-nav > li.drop-open > .dropdown { display: block; }

  /* Mega dropdown: single column on mobile */
  .dropdown.mega { min-width: 0; width: 100%; }
  .dropdown.mega .mega-grid { grid-template-columns: 1fr; }

  /* Dropdown links indent */
  .dropdown a { padding-left: 36px; }
  .dropdown .drop-head { padding-left: 36px; }

  .hamburger { display: flex; }

  /* Hero */
  .hero { padding: 44px 0; }
  .hero .container { flex-direction: column; }
  .hero-icon { display: none; }
  .hero-visual { width: 100%; max-width: 400px; margin: 0 auto; }
  .hero-slide { padding: 50px 0 30px; }
  .hero-slider { min-height: auto; }
  .hero-text h1 { font-size: 1.9rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }

  /* Contact social buttons: wrap on narrow screens */
  .contact-social-row { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.2rem; }

  /* Container padding so content doesn't touch edges */
  .container { padding: 0 16px; }

  /* Section vertical padding */
  .section { padding: 16px 0; }

  /* Cards: single column */
  .cards-grid { grid-template-columns: 1fr; }

  /* Refs: two columns is fine on 480px; drop to 1 below */
  .refs-grid { grid-template-columns: repeat(2,1fr); }

  /* Video: single column */
  .video-grid { grid-template-columns: 1fr; }

  /* Stats: 2x2 grid works; keep it */
  .stats-grid { grid-template-columns: 1fr 1fr; }

  /* Hero: less padding, smaller font */
  .hero { padding: 32px 0; }
  .hero-text h1 { font-size: 1.55rem; }
  .hero-text p { font-size: 1rem; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns .btn { text-align: center; }

  /* Page hero */
  .page-hero { padding: 12px 0; }
  .page-hero h1 { font-size: 1.35rem; }

  /* Contact form two-col row collapses to single column */
  .form-row-2col { grid-template-columns: 1fr; }

  /* Contact social buttons row: full-width stack */
  .contact-social-row { flex-direction: column; }
  .contact-social-row .btn { width: 100%; text-align: center; justify-content: center; }

  /* Footer grid: reduce gap */
  .footer-grid { gap: 24px; }
  .footer-top { padding: 36px 0 28px; }

  /* CTA banner */
  .cta-banner { padding: 36px 0; }

  /* Stats bar */
  .stats-bar { padding: 20px 0; }
  .stat-item h3 { font-size: 1.8rem; }
}
