/* ============================================================
   ABRARR TALLKS — PREMIUM SKY-BLUE & WHITE THEME
   Used by: index.html, portfolio.html, admin.html
   ============================================================ */

:root {
  --sky-50:  #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-200: #bae6fd;
  --sky-300: #7dd3fc;
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --sky-700: #0369a1;
  --sky-800: #075985;
  --navy:    #0f172a;
  --navy-2:  #1e293b;
  --slate:   #475569;
  --slate-2: #64748b;
  --slate-3: #94a3b8;
  --line:    #e2e8f0;
  --line-2:  #cbd5e1;
  --bg:      #ffffff;
  --bg-2:    #f8fafc;
  --white:   #ffffff;
  --success: #16a34a;
  --warn:    #f59e0b;
  --danger:  #dc2626;
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.04), 0 1px 3px rgba(15,23,42,0.06);
  --shadow:    0 4px 6px -1px rgba(14,165,233,0.06), 0 2px 4px -2px rgba(14,165,233,0.04);
  --shadow-md: 0 10px 15px -3px rgba(14,165,233,0.08), 0 4px 6px -4px rgba(14,165,233,0.05);
  --shadow-lg: 0 20px 25px -5px rgba(14,165,233,0.10), 0 8px 10px -6px rgba(14,165,233,0.05);
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg);
  color: var(--navy);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--sky-200); color: var(--navy); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--sky-300); border-radius: 10px; border: 2px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: var(--sky-500); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--sky-700); }
button { font-family: inherit; cursor: pointer; }

/* HEADINGS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.2;
}

/* ============= NAVBAR ============= */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  z-index: 1000;
  transition: box-shadow var(--transition), background var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); background: rgba(255,255,255,0.95); }
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}
.brand-logo { display: flex; flex-direction: column; line-height: 1.1; }
.brand-main { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.brand-main span { color: var(--sky-500); }
.brand-sub { font-size: 10px; font-weight: 600; color: var(--slate-2); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 16px;
  color: var(--slate);
  font-size: 14.5px;
  font-weight: 500;
  border-radius: 10px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--sky-600); background: var(--sky-50); }
.nav-links a.active { color: var(--sky-700); background: var(--sky-100); }
.nav-cta {
  background: var(--sky-500) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  padding: 10px 22px !important;
  margin-left: 8px;
  box-shadow: 0 4px 14px rgba(14,165,233,0.3);
}
.nav-cta:hover { background: var(--sky-600) !important; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(14,165,233,0.4); }

.menu-btn {
  display: none;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 22px;
}
.menu-btn:hover { border-color: var(--sky-400); color: var(--sky-600); }

@media (max-width: 900px) {
  .menu-btn { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 16px; }
  .nav-cta { margin-left: 0 !important; text-align: center; }
}

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--sky-500);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(14,165,233,0.28);
}
.btn-primary:hover { background: var(--sky-600); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(14,165,233,0.36); }
.btn-secondary {
  background: var(--white);
  color: var(--sky-700);
  border-color: var(--sky-200);
}
.btn-secondary:hover { background: var(--sky-50); border-color: var(--sky-400); color: var(--sky-700); }
.btn-whatsapp { background: #25d366; color: var(--white); box-shadow: 0 6px 16px rgba(37,211,102,0.3); }
.btn-whatsapp:hover { background: #1da851; color: var(--white); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--sky-50); border-color: var(--sky-300); color: var(--sky-700); }

/* ============= COMMON LAYOUT ============= */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
section { position: relative; }
.section-pad { padding: 80px 0; }
@media (max-width: 768px) { .section-pad { padding: 56px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sky-600);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--sky-500); border-radius: 2px; }

.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--navy);
}
.section-title span { color: var(--sky-500); }
.section-sub {
  font-size: 16.5px;
  color: var(--slate);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ============= FOOTER ============= */
.main-footer {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--sky-50) 100%);
  border-top: 1px solid var(--line);
  padding: 64px 24px 24px;
  margin-top: 0;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 700px)  { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px)  { .footer-grid { grid-template-columns: 1fr; } }

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.footer-col p { font-size: 14px; color: var(--slate); line-height: 1.7; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; font-size: 14px; }
.footer-col a {
  color: var(--slate);
  font-size: 14px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-col a:hover { color: var(--sky-600); }
.footer-col a.external::after { content: "↗"; font-size: 11px; opacity: 0.6; }

.social-links-bottom {
  max-width: 1280px;
  margin: 0 auto 28px;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.social-link {
  width: 40px; height: 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.social-link:hover { border-color: var(--sky-400); background: var(--sky-50); transform: translateY(-2px); }
.social-link svg { width: 18px; height: 18px; fill: var(--slate); transition: var(--transition); }
.social-link:hover svg { fill: var(--sky-600); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  font-size: 13px;
  color: var(--slate-2);
  line-height: 1.8;
}
.footer-bottom p { margin: 4px 0; }
.footer-bottom a { color: var(--sky-600); font-weight: 500; }

/* ============= WHATSAPP FLOAT ============= */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
  z-index: 999;
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(37,211,102,0.55); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* ============= UTILITY ============= */
.skeleton {
  background: linear-gradient(90deg, var(--bg-2) 25%, var(--sky-50) 50%, var(--bg-2) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
  border-radius: var(--radius);
}
@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   ADDITIONS — Updates Banner, Blog Cards, Global SEO additions
   ============================================================ */

/* ── UPDATES TICKER / BANNER (homepage top) ── */
.updates-bar {
  background: linear-gradient(90deg, var(--sky-700), var(--sky-500), var(--sky-700));
  background-size: 200% auto;
  animation: gradient-shift 4s linear infinite;
  color: #fff;
  padding: 0;
  overflow: hidden;
  border-bottom: 2px solid var(--sky-400);
  position: relative;
  z-index: 999;
  margin-top: 68px; /* below fixed navbar */
}
@keyframes gradient-shift {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.updates-bar-inner {
  display: flex;
  align-items: stretch;
  min-height: 44px;
}
.updates-label {
  background: rgba(0,0,0,.25);
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.updates-label .dot {
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255,255,255,.6);
  animation: glow-pulse 1.6s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,.6); }
  50%      { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
}
.updates-track-wrap {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.updates-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 28s linear infinite;
  will-change: transform;
}
.updates-track:hover { animation-play-state: paused; }
.update-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  font-size: 13px;
  font-weight: 600;
  border-right: 1px solid rgba(255,255,255,.2);
  height: 44px;
}
.update-chip .chip-badge {
  background: rgba(255,255,255,.2);
  border-radius: 100px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.updates-close {
  background: transparent;
  border: none;
  color: rgba(255,255,255,.7);
  padding: 0 14px;
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
  transition: color .2s;
}
.updates-close:hover { color: #fff; }

/* ── PROJECT CARDS (portfolio + home) ── */
.pcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.pcard:hover {
  border-color: var(--sky-300);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pcard-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sky-50);
  position: relative;
}
.pcard-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 400ms;
}
.pcard:hover .pcard-thumb img { transform: scale(1.04); }
.pcard-status {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(255,255,255,.95);
  color: var(--success);
  font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 1px;
  backdrop-filter: blur(8px);
}
.pcard-status::before { content: "● "; }
.pcard-status.draft { color: var(--warn); }
.pcard-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.pcard-cat {
  align-self: flex-start;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--sky-700);
  background: var(--sky-100);
  border: 1px solid var(--sky-200);
  padding: 3px 10px; border-radius: 100px;
  margin-bottom: 10px;
}
.pcard-body h3 { font-size: 17px; margin-bottom: 8px; }
.pcard-body p  { font-size: 13.5px; color: var(--slate); line-height: 1.6; margin-bottom: 14px; flex-grow: 1; }
.pcard-tags    { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.ptag {
  font-size: 11px; font-weight: 600; color: var(--slate);
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 3px 8px; border-radius: 100px;
}
.pcard-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--sky-600); font-size: 13.5px; font-weight: 700;
  align-self: flex-start;
  transition: gap var(--transition);
}
.pcard-link:hover { gap: 10px; color: var(--sky-700); }

/* portfolio grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 64px;
}
@media(max-width:600px) { .portfolio-grid { grid-template-columns: 1fr; padding: 0 16px 48px; } }

/* ── BLOG CARDS ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sky-300);
}
.blog-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--sky-50); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms; }
.blog-card:hover .blog-thumb img { transform: scale(1.04); }
.blog-body { padding: 22px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-cat {
  align-self: flex-start;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--sky-700); background: var(--sky-100);
  border: 1px solid var(--sky-200);
  padding: 3px 10px; border-radius: 100px; margin-bottom: 12px;
}
.blog-body h2 { font-size: 18px; margin-bottom: 10px; line-height: 1.35; }
.blog-body h2 a { color: var(--navy); }
.blog-body h2 a:hover { color: var(--sky-600); }
.blog-body p { font-size: 14px; color: var(--slate); line-height: 1.7; margin-bottom: 16px; flex-grow: 1; }
.blog-meta {
  display: flex; align-items: center;
  gap: 10px; font-size: 12px; color: var(--slate-2);
  margin-bottom: 14px;
}
.blog-author-ava {
  width: 26px; height: 26px;
  background: var(--sky-500); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 700;
}
.blog-read {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--sky-600); font-size: 13.5px; font-weight: 700;
  align-self: flex-start;
  transition: gap var(--transition);
}
.blog-read:hover { gap: 9px; }

/* ── FILTER BAR (portfolio) ── */
.filter-bar {
  display: flex; justify-content: center;
  gap: 8px; flex-wrap: wrap;
  padding: 0 24px 36px;
}
.filter-btn {
  padding: 9px 20px;
  background: var(--white);
  border: 1.5px solid var(--line);
  color: var(--slate);
  font-family: inherit; font-size: 13.5px; font-weight: 600;
  border-radius: 100px; cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover { border-color: var(--sky-300); color: var(--sky-700); background: var(--sky-50); }
.filter-btn.active {
  background: var(--sky-500); border-color: var(--sky-500);
  color: #fff; box-shadow: 0 4px 12px rgba(14,165,233,.3);
}

/* ── STATS BAR (portfolio) ── */
.stats-bar { background: var(--white); border-bottom: 1px solid var(--line); padding: 28px 24px; }
.stats-bar-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: center; gap: 56px; flex-wrap: wrap;
}
.stat-pill { text-align: center; }
.stat-pill .num {
  font-family: 'Poppins', sans-serif; font-size: 36px; font-weight: 800;
  color: var(--sky-600); line-height: 1;
}
.stat-pill .lbl {
  font-size: 12px; color: var(--slate-2);
  text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; font-weight: 600;
}

/* ── PAGE HERO (shared) ── */
.page-hero {
  padding: 132px 24px 64px;
  background: radial-gradient(900px 400px at 50% 0%, var(--sky-100) 0%, transparent 60%),
              linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute;
  width: 320px; height: 320px; top: -60px; left: -80px;
  background: radial-gradient(circle, var(--sky-200), transparent 70%);
  filter: blur(80px); opacity: .5; pointer-events: none;
}
.page-hero .breadcrumb {
  display: flex; justify-content: center; gap: 8px;
  font-size: 13px; color: var(--slate-2); margin-bottom: 14px;
  position: relative; z-index: 1;
  opacity: 0; animation: bang-in 500ms .1s forwards;
}
.page-hero .breadcrumb a { color: var(--sky-600); font-weight: 500; }
.page-hero h1 {
  font-size: clamp(32px,5vw,58px); font-weight: 800;
  margin-bottom: 16px; letter-spacing: -.03em;
  position: relative; z-index: 1;
  opacity: 0; transform: translateY(14px);
  animation: bang-in 700ms .22s forwards;
}
.page-hero h1 span { color: var(--sky-500); }
.page-hero > p, .page-hero .hero-desc {
  font-size: 17px; color: var(--slate);
  max-width: 620px; margin: 0 auto;
  line-height: 1.7; position: relative; z-index: 1;
  opacity: 0; transform: translateY(10px);
  animation: bang-in 600ms .38s forwards;
}
@keyframes bang-in { to { opacity:1; transform:translate(0,0); } }

/* ── EMPTY + SKELETON ── */
.empty-state {
  text-align: center; padding: 60px 20px;
  color: var(--slate-2); font-size: 15px;
}

/* ── RESPONSIVE TWEAKS ── */
@media(max-width:480px) {
  .updates-label { display: none; }
  .update-chip { padding: 0 16px; font-size: 12px; }
}
