/* =========================================================
   OkuIT — ENGLISH CSS (LTR, responsive, no RTL leakage)
   Save as: style-en.css
   ========================================================= */

/* ---------------- THEME ---------------- */
:root{
  --bg1:#0E1A24;
  --bg2:#142836;
  --bg3:#1B3446;

  --neon:#7CFF00;
  --ocean:#2E7BD9;
  --orange:#FFA500;

  --text:#D8E3EA;
  --muted:#9FB3C3;

  --border: rgba(255,255,255,.10);
  --panel: rgba(255,255,255,.04);
  --shadow: 0 10px 30px rgba(0,0,0,.35);

  /* Navbar height (used for body padding-top) */
  --nav-h: 92px;
}

*{ box-sizing:border-box; }

html,body{
  margin:0;
  height:100%;
}

html{ scroll-behavior: smooth; }

body{
  background: linear-gradient(135deg,var(--bg1),var(--bg2),var(--bg3));
  color: var(--text);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  direction: ltr;
  text-align: left;

  /* Prevent content from hiding behind fixed navbar */
  padding-top: var(--nav-h);
}

/* Optional: better text rendering */
body, button, input, textarea{ -webkit-font-smoothing: antialiased; }

/* ---------------- NAVBAR (fixed, stable) ---------------- */
.topbar{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,20,30,.90);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: transform .25s ease;
  transform: translateY(0);
}

/* If you use JS hide-on-scroll */
.topbar.nav-hidden{
  transform: translateY(-110%);
}

.nav{
  max-width:1100px;
  margin:auto;
  min-height: var(--nav-h);
  padding: 12px 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 16px;
  direction: ltr;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
  color: var(--text);
}

.logo-img{
  height: 70px;
  width: auto;
  display:block;
}

.brand span{
  font-weight: 900;
  letter-spacing: .2px;
}

/* Menu links */
.nav-links{
  display:flex;
  align-items:center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
  direction: ltr;              /* ✅ EN must be LTR */
}

.nav-links a{
  color:var(--text);
  text-decoration:none;
  font-weight:700;
  padding: 8px 10px;
  border-radius: 10px;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  border: 1px solid transparent;
}

.nav-links a:hover{
  color: var(--neon);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.08);
}

/* ---------------- MOBILE NAV (ONE rule only; no duplicates) ---------------- */
@media (max-width: 768px){
  :root{ --nav-h: 108px; }

  .nav{
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px 12px;
    text-align: center;
  }

  .logo-img{ height: 56px; }

  .nav-links{
    width: 100%;
    justify-content: center;
    gap: 10px 12px;
  }

  .nav-links a{
    padding: 8px 12px;
    font-size: 0.92rem;
    border-radius: 999px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
  }

  .nav-links a:hover{
    background: rgba(124,255,0,.12);
    border-color: rgba(124,255,0,.25);
  }
}

/* ---------------- PAGE WRAPPER ---------------- */
.page,
.why-oku-wrap,
.devops-wrap{
  max-width:1100px;
  margin: 60px auto;
  padding: 0 18px;
}

.card-panel{
  background: rgba(0,0,0,.14);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

/* ---------------- HOME LAYOUT ---------------- */
.home-layout{
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 46px;
  padding: 34px 28px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

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

.image-frame{
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-frame img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.home-right{
  padding: 8px 6px;
}

.home-right h1{
  margin: 0 0 14px;
  font-size: 30px;
  color: var(--neon);
  font-weight: 900;
}

.home-right p{
  margin: 0 0 14px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 650px;
}

@media (max-width: 900px){
  .home-layout{
    grid-template-columns: 1fr;
    padding: 26px 18px;
    gap: 22px;
  }

  .home-right h1{ text-align: center; }

  .home-right p{
    margin-left:auto;
    margin-right:auto;
    text-align: left;
  }

  .image-frame{ width: 300px; height: 300px; }
}

/* ---------------- ABOUT US (EN — LTR, readable blocks) ---------------- */
.about-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:18px;
  direction: ltr;              /* ✅ EN must be LTR */
  margin: 24px 0 10px;
}

.about-block{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 20px 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,.16);
}

.about-block h3{
  margin: 0 0 10px;
  color: var(--ocean);
  font-size: 1.15rem;
  font-weight: 900;
  text-align: left;           /* ✅ EN */
}

.about-block p,
.about-block li{
  margin: 0;
  line-height: 1.85;
  font-size: 0.95rem;
  color: var(--muted);
  text-align: left;           /* ✅ EN */
  direction: ltr;             /* ✅ EN */
}

.about-block ul{
  padding-left: 18px;
  margin: 10px 0 0;
}

@media (max-width: 900px){
  .about-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}

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

/* ---------------- WHY Oku IT ---------------- */
.why-oku{ margin-top: 26px; }

.why-title{
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  color: var(--neon);
  margin: 0 0 10px;
}

.why-sub{
  text-align: center;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto 26px;
  line-height: 1.7;
}

.why-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}

.why-card{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 22px 20px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.why-card:hover{
  transform: translateY(-4px);
  border-color: rgba(124,255,0,0.45);
}

.why-card h3{
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--ocean);
  font-weight: 900;
}

.why-card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

/* ---------------- Slider ---------------- */
.slider{
  width: 100%;
  max-width: 1000px;
  height: 360px;
  margin: 22px auto;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
}

.slides{
  display: flex;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.slides img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

@media (max-width: 600px){
  .slider{ height: 220px; }
}

/* ---------------- DevOps section ---------------- */
.devops-section{ margin-top: 26px; }

.devops-head{ margin-bottom: 12px; }

.devops-title{
  margin: 0 0 8px;
  color: var(--neon);
  font-size: 28px;
  font-weight: 900;
}

.devops-sub{
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  max-width: 920px;
}

.devops-top{
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
}

.loop-card,
.pill-card{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.devops-loop{
  width: 100%;
  height: auto;
  display: block;
}

.pill-title{
  margin: 0 0 6px;
  color: var(--text);
  font-weight: 900;
}

.pill-sub{
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
}

.tool-pills{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill{
  display: inline-block;
  padding: 10px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.pill:hover{
  background: rgba(255,165,0,0.18);
  border-color: rgba(255,165,0,0.45);
  transform: translateY(-1px);
  color: var(--orange);
}

/* Bottom key grid */
.devops-bottom{
  margin-top: 18px;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 18px 16px 14px;
}

.key-title{
  margin: 0 0 14px;
  color: var(--text);
  font-weight: 900;
  text-align: center;
}

.key-grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 12px;
  margin-bottom: 8px;
}

.key{
  padding: 12px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.key-name{
  font-weight: 900;
  margin-bottom: 6px;
  color: var(--neon);
}

.key-desc{
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 980px){
  .devops-top{ grid-template-columns: 1fr; }
  .key-grid{ grid-template-columns: 1fr; }
}

/* ---------------- Footer ---------------- */
.footer{
  margin: 40px 0 16px;
  color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 0 18px;
}

/* ---------------- Safety: prevent any accidental RTL blocks ---------------- */
[dir="rtl"] .about-grid,
[dir="rtl"] .nav-links{
  direction: ltr;
}
