/* ATNAAB theme (ITology-style)
   Loaded after each page's own styles. It restyles the look only: text, sections and links stay as they are.
   Delete the <link> to this file in a page to return to the original look. */

:root {
  --atn-ink: #120a1c;           /* darkest: navbar, footer */
  --atn-ink-2: #1A0D26;
  --atn-r-sm: 8px;
  --atn-r: 12px;
  --atn-r-lg: 16px;
  --atn-ease: cubic-bezier(.22,.8,.28,1);
  --atn-shadow-sm: 0 1px 2px rgba(56,25,82,.06);
  --atn-shadow: 0 12px 28px rgba(56,25,82,.10);
  --atn-line-dark: rgba(255,255,255,.10);
}

html { scroll-padding-top: calc(var(--nav-h, 72px) + 8px); }
body { -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font-family: inherit; }
:focus-visible { outline: 2px solid var(--p4, #9B59D0); outline-offset: 2px; }
img { max-width: 100%; }

/* =============== Navbar: dark, like ITology =============== */
.site-header {
  background: rgba(18,10,28,.94) !important;
  border-bottom: 1px solid var(--atn-line-dark) !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: saturate(1.2) blur(12px); backdrop-filter: saturate(1.2) blur(12px);
}
.site-header .logo-img { width: auto !important; height: 40px !important; object-fit: contain; }
.site-header .nav-links a { color: rgba(255,255,255,.78) !important; font-weight: 600 !important; letter-spacing: .06em; }
.site-header .nav-links a:hover, .site-header .nav-links a.active { color: #fff !important; }
.site-header .nav-links a::after { background: var(--p5) !important; height: 2px; }
/* language switch: compact pills, current language highlighted */
.site-header .nav-links[style] { height: auto !important; gap: 4px; padding: 3px; border: 1px solid var(--atn-line-dark); border-radius: 10px; }
.site-header .nav-links[style] a { height: auto !important; padding: 7px 12px !important; border-radius: 8px; font-size: 12px !important; text-transform: none; letter-spacing: 0; }
.site-header .nav-links[style] a::after { display: none; }
.site-header .nav-links[style] a[style] { background: var(--p3); color: #fff !important; }
.site-header .btn-outline { color: #fff !important; border-color: rgba(255,255,255,.35) !important; background: transparent !important; }
.site-header .btn-outline:hover { background: rgba(255,255,255,.1) !important; border-color: #fff !important; }
.hamburger { border: 1px solid var(--atn-line-dark); border-radius: 10px; padding: 9px 8px !important; }
.hamburger span { background: #fff !important; width: 22px !important; }
.mobile-menu { background: var(--atn-ink) !important; border-bottom: 1px solid var(--atn-line-dark) !important; box-shadow: 0 20px 40px rgba(0,0,0,.35) !important; }
.mobile-menu a { color: rgba(255,255,255,.88) !important; border-bottom-color: var(--atn-line-dark) !important; }
.mobile-menu a[style*="var(--p3)"] { color: var(--p5) !important; }
.mobile-menu > div { border-bottom-color: var(--atn-line-dark) !important; }
.mobile-menu .btn-outline { color: #fff !important; border-color: rgba(255,255,255,.4) !important; }
/* inquiry pages use a simpler header */
.header-wrap .logo-img { height: 40px !important; width: auto !important; }

/* =============== Hero =============== */
.hero {
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(155,89,208,.30), transparent 62%),
    radial-gradient(700px 500px at -10% 110%, rgba(56,25,82,.55), transparent 60%),
    linear-gradient(118deg, #120a1c 0%, #1E0F2E 45%, #2D1348 100%) !important;
}
.hero .atn-orbit {
  position: absolute; z-index: 1; pointer-events: none;
  width: min(900px, 80vw); height: auto; right: -12%; top: 50%; transform: translateY(-50%);
}
html[dir="rtl"] .hero .atn-orbit { right: auto; left: -12%; transform: translateY(-50%) scaleX(-1); }
.hero .atn-sat { transform-origin: 400px 400px; animation: atnOrbit 38s linear infinite; }
@keyframes atnOrbit { from { transform: rotate(-18deg) rotate(0deg); } to { transform: rotate(-18deg) rotate(360deg); } }
.hero-card {
  border-radius: var(--atn-r-lg) !important;
  background: linear-gradient(160deg, rgba(56,25,82,.55), rgba(26,13,38,.55)) !important;
  border-color: rgba(201,164,232,.22) !important;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.hc-tag { border-radius: 6px; }
.hc-tag:hover { background: rgba(155,89,208,.18); color: #fff; }

/* =============== Buttons =============== */
.btn, .cf-submit { border-radius: 10px !important; }
.btn { transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s var(--atn-ease); }
.btn:hover { transform: translateY(-1px); }
.btn-solid, .cf-submit { box-shadow: none; }
.btn-solid:hover, .cf-submit:hover { box-shadow: 0 8px 20px rgba(107,47,160,.28); }

/* =============== Section labels and titles =============== */
.lbl { letter-spacing: .16em; }
.sh { letter-spacing: -.02em; }

/* =============== About =============== */
.about-img-main { border-radius: var(--atn-r-lg); border-width: 1px !important; box-shadow: var(--atn-shadow); }
.about-img-badge { border-radius: var(--atn-r); }
.about-stats-row { border-radius: var(--atn-r); overflow: hidden; background: #fff; box-shadow: var(--atn-shadow-sm); }
.as-item { transition: background .25s; }
.as-item:hover { background: var(--off); }

/* =============== Global network and how it works =============== */
.fn-node { border-radius: var(--atn-r); position: relative; overflow: hidden; box-shadow: var(--atn-shadow-sm); }
.fn-node::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--p3), var(--p5)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--atn-ease); }
html[dir="rtl"] .fn-node::before { transform-origin: right; }
.fn-node:hover { transform: translateY(-3px); box-shadow: var(--atn-shadow); }
.fn-node:hover::before { transform: scaleX(1); }
.falcon-how { counter-reset: atnstep; }
.fh-step {
  background: #fff; border: 1px solid var(--border); border-radius: var(--atn-r-lg);
  padding: 26px 22px 24px; box-shadow: var(--atn-shadow-sm);
  transition: transform .35s var(--atn-ease), box-shadow .35s, border-color .35s;
}
.fh-step:hover { transform: translateY(-4px); box-shadow: var(--atn-shadow); border-color: rgba(107,47,160,.35); }
.fh-num { border-radius: 9px !important; width: 34px !important; height: 34px !important; margin-bottom: 14px !important; }
.fh-step::after, .fh-step::before { display: none !important; }

/* Quote: dark block like ITology */
.falcon-quote {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #2D1348, #120a1c) !important;
  border-left: 4px solid var(--p4) !important;
  border-radius: var(--atn-r);
  padding: 52px 56px !important;
  box-shadow: 0 24px 48px rgba(26,13,38,.25);
}
html[dir="rtl"] .falcon-quote { border-left: none !important; border-right: 4px solid var(--p4) !important; }
.falcon-quote::before {
  content: '\201C'; position: absolute; top: -18px; left: 24px;
  font: 700 120px/1 Georgia, serif; color: rgba(201,164,232,.18);
}
html[dir="rtl"] .falcon-quote::before { left: auto; right: 24px; content: '\201D'; }
.fq-text { color: rgba(255,255,255,.9) !important; position: relative; }
.fq-text strong { color: var(--p5) !important; }

/* =============== Vision / Mission / Values: photo header + icon =============== */
.vmv-card { padding: 0 0 30px !important; border-width: 1px !important; border-radius: var(--atn-r-lg); overflow: hidden; }
.vmv-photo {
  position: relative; height: 160px; margin-bottom: 0; overflow: hidden;
  background:
    radial-gradient(240px 120px at 80% 20%, rgba(155,89,208,.55), transparent 70%),
    linear-gradient(135deg, #381952, #120a1c);
}
.vmv-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--atn-ease); }
.vmv-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,10,28,0) 40%, rgba(18,10,28,.45)); }
.vmv-card:hover .vmv-photo img { transform: scale(1.05); }
.vmv-card .vmv-icon { margin: -32px auto 16px !important; position: relative; z-index: 1; border: 4px solid #fff; box-shadow: 0 10px 24px rgba(56,25,82,.25); }
.vmv-card > *:not(.vmv-photo):not(.vmv-card-top) { padding-left: 28px; padding-right: 28px; }
.vmv-card .vmv-icon { padding: 0 !important; }
.vmv-card-top { z-index: 2; }

/* =============== Solutions =============== */
.sol-card { border-width: 1px !important; border-radius: var(--atn-r-lg); box-shadow: var(--atn-shadow-sm); transition: transform .35s var(--atn-ease), box-shadow .35s, border-color .35s; }
.sol-card:hover { transform: translateY(-4px) !important; box-shadow: var(--atn-shadow) !important; }
.sol-card-img { transition: transform .6s var(--atn-ease); }
.sol-card:hover .sol-card-img { transform: scale(1.04); }
.atn-ic { width: 1em; height: 1em; display: block; flex-shrink: 0; }
.sol-icon {
  width: 46px; height: 46px; border-radius: var(--atn-r);
  display: grid; place-items: center; font-size: 22px;
  background: rgba(107,47,160,.08); color: var(--p3);
  transition: background .3s, color .3s;
}
.sol-card:hover .sol-icon { background: var(--p3); color: #fff; }
.vmv-icon { font-size: 28px; color: #fff; border-radius: 14px; }
.sol-link { transition: gap .25s, letter-spacing .25s; }

/* =============== Industries =============== */
.ind-card { border-radius: var(--atn-r-lg); border-width: 1px !important; box-shadow: var(--atn-shadow-sm); }
.ind-card:hover img { transform: scale(1.05); }
.ind-ov { background: linear-gradient(to top, rgba(18,10,28,.95) 0%, rgba(18,10,28,.55) 45%, rgba(18,10,28,.05) 100%) !important; padding: 22px !important; }
.ind-cat { display: block; line-height: 1.4; margin-bottom: 6px !important; }
.ind-name { line-height: 1.2; font-size: clamp(16px, 1.6vw, 19px) !important; }
.ind-arr { border-radius: 50%; }
.ind-card { background: radial-gradient(300px 160px at 75% 20%, rgba(155,89,208,.45), transparent 70%), linear-gradient(135deg, #2D1348, #120a1c); }

/* =============== Philosophy (dark) =============== */
.p-card { border-radius: var(--atn-r); transition: background .3s, border-color .3s; }
.p-card:hover { background: rgba(255,255,255,.08); border-color: rgba(201,164,232,.28); }
.phil-img { border-radius: var(--atn-r); }

/* =============== Contact =============== */
.ci-ic { border-radius: 10px; color: var(--p3); font-size: 18px; transition: background .3s, color .3s; }
.ci-item:hover .ci-ic { background: var(--p3); color: #fff; }
.map-wrap { border-radius: var(--atn-r-lg); border-width: 1px !important; }
.cf-g input, .cf-g select, .cf-g textarea { border-width: 1px !important; border-radius: var(--atn-r-sm); transition: border-color .2s, box-shadow .2s, background .2s; }
.cf-g input:focus, .cf-g select:focus, .cf-g textarea:focus { box-shadow: 0 0 0 4px rgba(107,47,160,.12); }

/* =============== Footer: dark, like ITology =============== */
.site-footer { background: var(--atn-ink) !important; border-top: 1px solid var(--atn-line-dark) !important; color: rgba(255,255,255,.72); }
.footer-top { border-bottom-color: var(--atn-line-dark) !important; }
.ft-logo { height: 46px; width: auto; display: block; margin-bottom: 10px; }
.ft-full { color: rgba(255,255,255,.55) !important; }
.ft-desc, .ft-nl-t, .ft-ci { color: rgba(255,255,255,.68) !important; }
.ft-ci a { color: rgba(255,255,255,.85) !important; }
.ft-ci .atn-ic { font-size: 15px; color: var(--p5); margin-top: 2px; }
.ft-col-t { color: #fff !important; border-bottom-color: var(--p4) !important; }
.ft-links a { color: rgba(255,255,255,.66) !important; transition: color .2s, padding .2s; }
.ft-links a:hover { color: #fff !important; padding-inline-start: 4px; }
.ft-soc { border: 1px solid var(--atn-line-dark) !important; color: rgba(255,255,255,.75) !important; border-radius: 10px; }
.ft-soc:hover { background: var(--p3) !important; border-color: var(--p3) !important; color: #fff !important; }
.ft-copy, .ft-leg a { color: rgba(255,255,255,.5) !important; }
.ft-leg a:hover { color: #fff !important; }
.ft-nl-i { background: rgba(255,255,255,.06) !important; border: 1px solid rgba(255,255,255,.16) !important; color: #fff !important; border-radius: 10px 0 0 10px; }
.ft-nl-i::placeholder { color: rgba(255,255,255,.45); }
.ft-nl-b { border-radius: 0 10px 10px 0; }
html[dir="rtl"] .ft-nl-i { border-radius: 0 10px 10px 0; }
html[dir="rtl"] .ft-nl-b { border-radius: 10px 0 0 10px; }

/* =============== Reveal, progress, floating buttons =============== */
.reveal { transform: translateY(14px); }
.atn-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1001; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--p3), var(--p5)); pointer-events: none; }
html[dir="rtl"] .atn-progress { transform-origin: right; }
.atn-float { position: fixed; z-index: 900; inset-inline-end: 22px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: none; cursor: pointer; color: #fff; box-shadow: 0 10px 24px rgba(26,13,38,.25); transition: transform .3s var(--atn-ease), opacity .3s; }
.atn-float svg { width: 24px; height: 24px; }
.atn-wa { bottom: 84px; background: #25d366; }
.atn-wa:hover { transform: scale(1.06); }
.atn-top { bottom: 24px; background: var(--p3); opacity: 0; pointer-events: none; transform: translateY(12px); }
.atn-top.show { opacity: 1; pointer-events: auto; transform: none; }
.atn-top svg { width: 20px; height: 20px; }

/* Inquiry page buttons: never fall back to a serif font */
.btn.prev, .btn.next, .btn.submit { font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif; }

/* =============== Responsive =============== */
@media (max-width: 1100px) {
  .site-header .nav-links a { padding: 0 11px !important; font-size: 12px !important; }
}
@media (max-width: 900px) {
  .hero .atn-orbit { right: -40%; width: 140vw; opacity: .5; }
  html[dir="rtl"] .hero .atn-orbit { left: -40%; }
  .falcon-quote { padding: 40px 28px !important; }
  .fq-text { font-size: 20px !important; }
}
@media (max-width: 768px) {
  .wrap { padding-left: 20px !important; padding-right: 20px !important; }
  .sec { padding-top: 64px !important; padding-bottom: 64px !important; }
  .site-header .logo-img { height: 34px !important; }
  .about-stats-row { grid-template-columns: 1fr !important; }
  .as-item { border-right: none !important; border-bottom: 1px solid var(--border); text-align: start; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 16px !important; }
  .as-item:last-child { border-bottom: none; }
  .fn-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .fn-node { padding: 18px 12px !important; }
  .fn-loc { font-size: 15px !important; }
  .falcon-how { grid-template-columns: 1fr 1fr !important; gap: 14px !important; margin-bottom: 56px !important; }
  .ind-card { aspect-ratio: 16/10; }
  .ind-desc { opacity: 1 !important; transform: none !important; }
  .footer-top { gap: 32px !important; }
}
@media (max-width: 560px) {
  .falcon-how { grid-template-columns: 1fr !important; }
  .fq-text { font-size: 18px !important; }
  .falcon-quote::before { font-size: 90px; }
  .vmv-photo { height: 140px; }
  .atn-float { inset-inline-end: 16px; width: 46px; height: 46px; }
  .atn-wa { bottom: 76px; }
  .atn-top { bottom: 18px; }
  .footer-bot { flex-direction: column; align-items: flex-start !important; }
}
@media (max-width: 380px) {
  .fn-grid { grid-template-columns: 1fr !important; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .atn-sat { animation: none; }
  .sol-card, .vmv-card, .fn-node, .fh-step, .btn { transition: none; }
}

/* Values cards centre their content; the photo strip must span the full card */
.vmv-card .vmv-photo { width: 100%; align-self: stretch; flex-shrink: 0; }
