
   :root{
  --bg-1:#f8fafc;
  --bg-2:#eef2f6;
  --bg-3:#d9e1ea;
  --bg-4:#b4c0ce;
  --bg-5:#94a3b8;

  --blue-1:#1e90ff;
  --blue-2:#60a5fa;
  --blue-3:#bfdbfe;
  --blue-4:#38bdf8;

  --purple-1:#8b5cf6;
  --purple-2:#a78bfa;

  --teal-1:#14b8a6;
  --teal-2:#5eead4;

  --pink-1:#ec4899;

  --text-1:#2b3c4f;
  --text-2:#5d738c;
  --white:#ffffff;

  --border:rgba(30,144,255,.14);
  --soft-border:rgba(51,65,85,.10);

  --shadow:0 18px 55px rgba(30,144,255,.12);
  --shadow-soft:0 10px 30px rgba(15,23,42,.08);

  --hero-grad:linear-gradient(135deg, rgba(255,255,255,.98), rgba(235,239,244,.96), rgba(212,220,229,.94), rgba(191,219,254,.40), rgba(139,92,246,.16));
  --card-grad:linear-gradient(180deg, rgba(255,255,255,.98), rgba(242,246,250,.97), rgba(229,236,243,.96), rgba(236,72,153,.05));
  --button-grad:linear-gradient(135deg, #7b8da3, #9aa9ba, #1e90ff, #79b8ff, #8b5cf6, #14b8a6);
  --title-grad:linear-gradient(90deg, #6b7280, #94a3b8, #1e90ff, #38bdf8, #8b5cf6, #64748b);
  --top-grad:linear-gradient(90deg, #6b7280, #94a3b8, #1e90ff, #38bdf8, #8b5cf6, #94a3b8, #6b7280);
  --footer-grad:linear-gradient(180deg, rgba(248,250,252,.96), rgba(230,236,242,.98), rgba(215,224,234,.98), rgba(139,92,246,.06));
  --glow:0 0 0 1px rgba(255,255,255,.45) inset;
}

*{box-sizing:border-box;}

html{
  scroll-behavior:smooth;
  overflow-x:hidden;
}

body{
  margin:0;
  top:0 !important;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--text-1);
  background:
    radial-gradient(circle at 10% 10%, rgba(30,144,255,.10), transparent 22%),
    radial-gradient(circle at 90% 20%, rgba(148,163,184,.18), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(191,219,254,.22), transparent 28%),
    radial-gradient(circle at 80% 75%, rgba(139,92,246,.10), transparent 22%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f6 38%, #e3e8ef 100%);
  overflow-x:hidden;
}

body.menu-open{
  overflow:hidden;
  touch-action:none;
}

a{
  text-decoration:none;
  color:inherit;
}

img{
  max-width:100%;
  display:block;
}

button,
input,
select{
  font:inherit;
}

.skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
}

.skip-link:focus{
  left:16px;
  top:16px;
  z-index:99999;
  background:#fff;
  padding:10px 14px;
  border-radius:12px;
  box-shadow:var(--shadow-soft);
}

.page-decor{
  position:fixed;
  inset:0;
  pointer-events:none;
  overflow:hidden;
  z-index:-1;
}

.orb{
  position:absolute;
  border-radius:50%;
  filter:blur(45px);
  opacity:.25;
  animation:floatOrb 10s ease-in-out infinite;
}

.orb.one{
  width:260px;
  height:260px;
  background:rgba(30,144,255,.18);
  top:40px;
  left:-50px;
}

.orb.two{
  width:320px;
  height:320px;
  background:rgba(148,163,184,.16);
  top:220px;
  right:-70px;
  animation-delay:1.8s;
}

.orb.three{
  width:220px;
  height:220px;
  background:rgba(139,92,246,.18);
  bottom:20px;
  left:34%;
  animation-delay:3s;
}

@keyframes floatOrb{
  0%,100%{transform:translateY(0) translateX(0);}
  50%{transform:translateY(-20px) translateX(10px);}
}

@keyframes gradientFlow{
  0%{background-position:0% 50%;}
  100%{background-position:100% 50%;}
}

@keyframes shineSweep{
  from{transform:translateX(-120%);}
  to{transform:translateX(120%);}
}

@keyframes pulseSoft{
  0%,100%{transform:scale(1);}
  50%{transform:scale(1.04);}
}

@keyframes glowPulse{
  0%{
    color:#2563eb;
    text-shadow:0 0 5px rgba(37,99,235,.45);
  }
  100%{
    color:#f59e0b;
    text-shadow:0 0 15px rgba(245,158,11,.55);
  }
}

@keyframes floatMini{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-4px);}
}

@keyframes buttonShine{
  from{right:-40%;}
  to{right:120%;}
}

@keyframes dropLetters{
  0%{
    opacity:0;
    transform:translateY(-40px) scale(1.35) rotate(-8deg);
  }
  18%{
    opacity:1;
    transform:translateY(0) scale(1) rotate(0deg);
  }
  72%{
    opacity:1;
    transform:translateY(0) scale(1) rotate(0deg);
  }
  100%{
    opacity:1;
    transform:translateY(0) scale(1) rotate(0deg);
  }
}

@keyframes waveLetters{
  0%,100%{transform:translateY(0) scale(1);}
  50%{transform:translateY(-5px) scale(1.05);}
}

@keyframes gradientMove{
  0%{background-position:0% 50%;}
  50%{background-position:100% 50%;}
  100%{background-position:0% 50%;}
}

@keyframes marquee{
  from{transform:translateX(0);}
  to{transform:translateX(-50%);}
}

@keyframes waveLettersTitle{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-5px);}
}

/* top badge */
.top-badge-bar{
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  padding:11px 16px;
  color:#fff;
  background:var(--top-grad);
  background-size:260% 260%;
  animation:gradientFlow 9s linear infinite;
  box-shadow:0 8px 24px rgba(0,0,0,.07);
}

.top-badge-bar::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, transparent 0%, rgba(255,255,255,.28) 45%, transparent 70%);
  transform:translateX(-120%);
  animation:shineSweep 4.5s linear infinite;
}

.top-pill{
  position:relative;
  z-index:1;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.20);
  font-weight:800;
  letter-spacing:.2px;
  backdrop-filter:blur(8px);
  animation:pulseSoft 2.6s ease-in-out infinite;
}

.top-badge-bar p{
  position:relative;
  z-index:1;
  margin:0;
  font-weight:800;
  line-height:1.6;
  text-align:center;
}

/* header */
.header{
  position:sticky;
  top:0;
  z-index:9998;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  padding:4px 12px;
  min-height:auto;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(148,163,184,.14);
}

.header .logo{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  text-decoration:none;
  flex-shrink:0;
  line-height:1;
  margin:0;
  padding:0;
  gap:2px;
}

.header .logo-image{
  width:300px;
  height:100px;
  display:block;
  margin:0;
  padding:0;
  line-height:0;
  flex-shrink:0;
}

.header .logo-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.header .logo-text{
  display:flex;
  flex-direction:column;
  justify-content:center;
  text-align:left;
  margin:0;
  line-height:1.1;
}

.header .logo-text strong{
  display:block;
  font-size:18px;
  font-weight:800;
  color:#2563eb;
  animation:glowPulse 2s infinite alternate;
}

.header .logo-text span{
  display:block;
  font-size:12px;
  color:#666;
}

.logo-mark{
  width:54px;
  height:54px;
  border-radius:18px;
  display:grid;
  place-items:center;
  color:#fff;
  background:var(--button-grad);
  background-size:240% 240%;
  animation:gradientFlow 7s linear infinite;
  box-shadow:var(--shadow);
  flex-shrink:0;
}


/* nav sdsdadads-------------------dfsfsfdfdf---------------d*/

.reveal{
  opacity:1;
  transform:none;
}

@media (min-width: 901px){
  .reveal{
    opacity:0;
    transform:translateY(28px);
    transition:opacity .8s ease, transform .8s ease;
  }

  .reveal.show{
    opacity:1;
    transform:translateY(0);
  }
}

/* navsdsdsdsdsds uuu------------------ ------------------  */


/* nav */
.main-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  padding-top:10px;
}

.nav-links{
  display:flex;
  list-style:none;
  margin:0;
  padding:0;
  gap:18px;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
}

.nav-links a{
  font-weight:800;
  position:relative;
  padding:6px 0;
  white-space:nowrap;
}

.nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0;
  height:2px;
  border-radius:999px;
  background:var(--button-grad);
  transition:width .28s ease;
}

.nav-links a:hover{
  color:var(--blue-1);
}

.nav-links a:hover::after{
  width:100%;
}

.menu-toggle,
.close-btn{
  cursor:pointer;
}

.menu-toggle{
  display:none;
  width:46px;
  height:46px;
  border:none;
  border-radius:14px;
  background:var(--card-grad);
  box-shadow:var(--shadow-soft), var(--glow);
  align-items:center;
  justify-content:center;
  color:var(--text-1);
}

.sidebar-overlay{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.25);
  backdrop-filter:blur(2px);
  opacity:0;
  visibility:hidden;
  transition:.28s ease;
  z-index:10000;
}

.sidebar-overlay.show{
  opacity:1;
  visibility:visible;
}

.sidebar{
  position:fixed;
  top:0;
  right:0;
  width:340px;
  max-width:92vw;
  height:100vh;
  z-index:10001;
  padding:20px;
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(239,244,249,.98), rgba(225,233,241,.98), rgba(139,92,246,.05));
  box-shadow:-20px 0 40px rgba(0,0,0,.12);
  transform:translateX(100%);
  transition:transform .30s ease;
  overflow-y:auto;
}

.sidebar.open{
  transform:translateX(0);
}

.close-btn{
  width:42px;
  height:42px;
  border:none;
  border-radius:12px;
  display:grid;
  place-items:center;
  margin-left:auto;
  margin-bottom:14px;
  background:#fff;
  box-shadow:var(--shadow-soft);
}

.sidebar ul{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
}

.sidebar a{
  display:block;
  padding:13px 14px;
  border-radius:14px;
  background:var(--card-grad);
  border:1px solid var(--soft-border);
  font-weight:800;
  box-shadow:var(--glow);
  transition:transform .25s ease;
}

.sidebar a:hover{
  color:var(--blue-1);
  transform:translateX(3px);
}

.sidebar-social,
.footer-social{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.sidebar-social{
  margin-top:16px;
}

.sidebar-social a,
.footer-social a{
  display:flex;
  align-items:center;
  justify-content:center;
}

.sidebar-social a i,
.footer-social a i{
  font-size:14px;
  line-height:1 !important;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* main layout */
.page-shell{
  width:min(1280px, calc(100% - 24px));
  margin:20px auto 42px;
}

.hero-panel{
  position:relative;
  overflow:hidden;
  background:var(--hero-grad);
  border:1px solid var(--border);
  border-radius:32px;
  box-shadow:var(--shadow);
}

.hero-panel::before,
.hero-panel::after{
  content:"";
  position:absolute;
  border-radius:50%;
  pointer-events:none;
}

.hero-panel::before{
  width:220px;
  height:220px;
  right:-60px;
  top:-60px;
  background:radial-gradient(circle, rgba(30,144,255,.18), transparent 65%);
}

.hero-panel::after{
  width:180px;
  height:180px;
  left:-50px;
  bottom:-50px;
  background:radial-gradient(circle, rgba(139,92,246,.16), transparent 68%);
}

.hero-inner{
  display:grid;
  grid-template-columns:minmax(0, 1.05fr) minmax(320px, .95fr);
  gap:24px;
  padding:32px;
  align-items:start;
}

.hero-main{
  min-width:0;
}

.hero-badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:16px;
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 13px;
  border-radius:999px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(148,163,184,.14);
  font-weight:800;
  color:var(--text-1);
  box-shadow:var(--glow);
  animation:floatMini 4s ease-in-out infinite;
}

.hero-badge:nth-child(2){animation-delay:.6s;}
.hero-badge:nth-child(3){animation-delay:1.2s;}
.hero-badge:nth-child(4){animation-delay:1.8s;}

.hero-title{
  margin:0 0 12px;
  font-size:clamp(2rem,5vw,3.5rem);
  line-height:1.08;
  background:var(--title-grad);
  background-size:240% 240%;
  animation:gradientFlow 10s linear infinite;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

.hero-sub{
  margin:0 0 18px;
  color:var(--text-2);
  font-size:1.03rem;
  line-height:1.85;
  font-weight:700;
  max-width:65ch;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.hero-btn{
  position:relative;
  overflow:hidden;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:50px;
  padding:12px 18px;
  border-radius:16px;
  font-weight:800;
  border:none;
  cursor:pointer;
  transition:transform .25s ease;
}

.hero-btn:hover{
  transform:translateY(-2px);
}

.hero-btn.primary{
  color:#fff;
  background:var(--button-grad);
  background-size:240% 240%;
  animation:gradientFlow 7s linear infinite;
  box-shadow:var(--shadow);
}

.hero-btn.secondary{
  background:#fff;
  color:var(--text-1);
  border:1px solid var(--border);
  box-shadow:var(--shadow-soft);
}

.hero-btn::after{
  content:"";
  position:absolute;
  inset:auto -35% -120% auto;
  width:140px;
  height:220px;
  background:rgba(255,255,255,.26);
  transform:rotate(28deg);
  animation:buttonShine 3.6s linear infinite;
}

.hero-side{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
  align-content:start;
}

.stat-card{
  position:relative;
  overflow:hidden;
  background:var(--card-grad);
  border:1px solid var(--border);
  border-radius:22px;
  padding:18px;
  box-shadow:var(--shadow-soft);
  transition:transform .25s ease, box-shadow .25s ease;
  min-height:140px;
}

.stat-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 36px rgba(30,144,255,.14);
}

.stat-card::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  background:var(--button-grad);
}

.stat-card strong{
  display:block;
  font-size:1.12rem;
  line-height:1.35;
  margin-bottom:8px;
  padding-right:8px;
}

.stat-card:first-child strong{
  font-size:1.9rem;
  line-height:1.1;
}

.stat-card span{
  color:var(--text-2);
  font-weight:700;
  line-height:1.65;
  display:block;
}

.section-panel{
  margin-top:18px;
  background:var(--card-grad);
  border:1px solid var(--border);
  border-radius:26px;
  padding:22px;
  box-shadow:var(--shadow-soft);
}

.section-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:16px;
}

.section-heading h2{
  margin:0;
  font-size:clamp(1.5rem,4vw,2.2rem);
  position:relative;
  padding-bottom:8px;
}

.section-heading h2::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:92px;
  height:4px;
  border-radius:999px;
  background:var(--button-grad);
}

.section-heading p{
  margin:0;
  color:var(--text-2);
  font-weight:700;
}

/* animated text */
.latest-tech-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px 10px;
  min-height:90px;
  overflow:hidden;
  border-radius:20px;
  background:linear-gradient(135deg, rgba(255,255,255,.88), rgba(232,238,245,.86), rgba(139,92,246,.08), rgba(20,184,166,.08));
  border:1px solid var(--soft-border);
  position:relative;
}

.latest-tech-wrap::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, transparent 0%, rgba(255,255,255,.30) 45%, transparent 70%);
  transform:translateX(-120%);
  animation:shineSweep 5s linear infinite;
  pointer-events:none;
}

.latest-tech{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:1px;
  margin:0;
  line-height:1;
  position:relative;
  z-index:1;
}

.latest-tech span{
  display:inline-block;
  font-weight:900;
  font-size:clamp(1.7rem,4vw,2.55rem);
  opacity:0;
  transform:translateY(-40px) scale(1.35) rotate(-8deg);
  background:linear-gradient(90deg, #1e90ff, #38bdf8, #8b5cf6, #14b8a6, #ec4899, #64748b);
  background-size:260% 260%;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  text-shadow:0 8px 18px rgba(30,144,255,.08);
  animation:
    dropLetters 4.3s infinite,
    waveLetters 2.4s ease-in-out infinite,
    gradientFlow 6s linear infinite;
  filter:drop-shadow(0 6px 10px rgba(30,144,255,.12));
}

.latest-tech span:nth-child(1){animation-delay:.00s,.00s,.00s;}
.latest-tech span:nth-child(2){animation-delay:.05s,.05s,.05s;}
.latest-tech span:nth-child(3){animation-delay:.10s,.10s,.10s;}
.latest-tech span:nth-child(4){animation-delay:.15s,.15s,.15s;}
.latest-tech span:nth-child(5){animation-delay:.20s,.20s,.20s;}
.latest-tech span:nth-child(6){animation-delay:.25s,.25s,.25s;}
.latest-tech span:nth-child(7){animation-delay:.30s,.30s,.30s;}
.latest-tech span:nth-child(8){animation-delay:.35s,.35s,.35s;}
.latest-tech span:nth-child(9){animation-delay:.40s,.40s,.40s;}
.latest-tech span:nth-child(10){animation-delay:.45s,.45s,.45s;}
.latest-tech span:nth-child(11){animation-delay:.50s,.50s,.50s;}
.latest-tech span:nth-child(12){animation-delay:.55s,.55s,.55s;}
.latest-tech span:nth-child(13){animation-delay:.60s,.60s,.60s;}
.latest-tech span:nth-child(14){animation-delay:.65s,.65s,.65s;}
.latest-tech span:nth-child(15){animation-delay:.70s,.70s,.70s;}
.latest-tech span:nth-child(16){animation-delay:.75s,.75s,.75s;}
.latest-tech span:nth-child(17){animation-delay:.80s,.80s,.80s;}

.dev-note{
  margin:12px 0 0;
  text-align:center;
  color:#4a6786;
  font-weight:800;
}

.slider-track-wrap{
  overflow:hidden;
  border-radius:20px;
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(238,243,248,.96));
  border:1px solid var(--soft-border);
  padding:10px 0;
}

.slider-track{
  display:flex;
  gap:12px;
  width:max-content;
  animation:marquee 32s linear infinite;
  will-change:transform;
}

.slide{
  padding:12px 18px;
  border-radius:14px;
  background:#fff;
  border:1px solid var(--border);
  box-shadow:var(--shadow-soft);
  white-space:nowrap;
  font-weight:800;
  color:var(--text-1);
  transition:transform .25s ease;
}

.slide:hover{
  transform:translateY(-4px);
}



.business-ads::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, transparent 0%, rgba(255,255,255,.24) 45%, transparent 70%);
  transform:translateX(-120%);
  animation:shineSweep 4.8s linear infinite;
}



.business-ads span:last-child{
  position:relative;
  z-index:1;
}

/* translator - untouched behavior */
.translator-area{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:20px;
  align-items:start;
}

.translator-box,
.moving-text,
.about-content,
.feature-card,
.article-card,
.card{
  background:var(--card-grad);
  border:1px solid var(--border);
  border-radius:22px;
  box-shadow:var(--shadow-soft);
}

.translator-box{
  padding:14px;
  width:100%;
}

.translator-box strong{
  display:block;
  margin-bottom:8px;
  font-weight:800;
}

.translator-box p{
  margin:0 0 6px;
  color:var(--text-2);
  font-weight:700;
  line-height:1.6;
}

#google_translate_element{
  width:100%;
  display:block;
}

.goog-te-gadget{
  font-family:Arial, Helvetica, sans-serif !important;
  color:var(--text-2) !important;
}

.goog-te-gadget .goog-te-combo{
  width:100% !important;
  min-width:100% !important;
  min-height:48px;
  border-radius:12px;
  padding:10px 12px;
  border:1px solid rgba(148,163,184,.24);
  background:#fff;
  color:var(--text-1);
  display:block;
}

.goog-te-gadget-simple{
  width:100% !important;
  max-width:100% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
}

.goog-te-gadget-simple span{
  width:100% !important;
}

.goog-te-gadget-simple .goog-te-menu-value{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:6px !important;
}

.goog-te-gadget-simple .goog-te-menu-value span:last-child{
  display:none !important;
}

.skiptranslate iframe{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
}

/* text / cards */
.moving-text{
  padding:18px 18px;
  color:var(--text-1);
  font-weight:800;
  line-height:1.8;
  overflow-wrap:anywhere;
  word-break:break-word;
  position:relative;
  overflow:hidden;
  min-height:100%;
  display:flex;
  align-items:center;
  flex-direction:column;
  justify-content:center;
  text-align:center;
}

.moving-text::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, transparent 0%, rgba(255,255,255,.40) 45%, transparent 70%);
  transform:translateX(-120%);
  animation:shineSweep 6s linear infinite;
}

.free-books{
  background:linear-gradient(270deg, #2563eb, #10b981, #f59e0b, #ef4444);
  background-size:800% 800%;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  animation:gradientMove 6s ease infinite;
}

.cards-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  margin-top:18px;
}

.card,
.feature-card,
.article-card,
.about-content{
  overflow:hidden;
}

.card{
  padding:20px;
  min-height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  transition:transform .25s ease, box-shadow .25s ease;
}

.card:hover,
.feature-card:hover,
.article-card:hover,
.about-content:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 38px rgba(30,144,255,.14);
}

.card a{
  width:100%;
  font-weight:800;
  color:var(--text-1);
}

.card .icon-wrap{
  width:56px;
  height:56px;
  border-radius:16px;
  margin:0 auto 12px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, rgba(30,144,255,.14), rgba(148,163,184,.18), rgba(139,92,246,.14));
  font-size:1.25rem;
  animation:floatMini 4s ease-in-out infinite;
}

.card h4,
.card p,
.feature-card p,
.article-card p,
.about-content p{
  overflow-wrap:anywhere;
  word-break:break-word;
}

.card .card-desc{
  margin-top:8px;
  color:var(--text-2);
  line-height:1.65;
  font-weight:700;
}

.book-section,
.about-section,
.feature-section,
.articles-section{
  margin-top:22px;
}

.about-content{
  padding:24px;
}

.about-content h3,
.feature-card h3,
.articles-section h2{
  margin-top:0;
}

.about-content p,
.feature-card p,
.article-card p{
  color:var(--text-2);
  line-height:1.75;
  font-weight:700;
}


.wave-text{
  display:flex;
  flex-wrap:wrap;
  gap:1px;
  line-height:1.15;
}

.wave-text span{
  display:inline-block;
  animation:waveLettersTitle 2.1s ease-in-out infinite;
  background:var(--title-grad);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  font-weight:900;
}

.wave-text span:nth-child(2){animation-delay:.05s;}
.wave-text span:nth-child(3){animation-delay:.10s;}
.wave-text span:nth-child(4){animation-delay:.15s;}
.wave-text span:nth-child(5){animation-delay:.20s;}
.wave-text span:nth-child(6){animation-delay:.25s;}
.wave-text span:nth-child(7){animation-delay:.30s;}
.wave-text span:nth-child(8){animation-delay:.35s;}
.wave-text span:nth-child(9){animation-delay:.40s;}
.wave-text span:nth-child(10){animation-delay:.45s;}
.wave-text span:nth-child(11){animation-delay:.50s;}
.wave-text span:nth-child(12){animation-delay:.55s;}
.wave-text span:nth-child(13){animation-delay:.60s;}
.wave-text span:nth-child(14){animation-delay:.65s;}
.wave-text span:nth-child(15){animation-delay:.70s;}
.wave-text span:nth-child(16){animation-delay:.75s;}
.wave-text span:nth-child(17){animation-delay:.80s;}
.wave-text span:nth-child(18){animation-delay:.85s;}
.wave-text span:nth-child(19){animation-delay:.90s;}
.wave-text span:nth-child(20){animation-delay:.95s;}

.btn-link,
.read-all{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:10px 16px;
  border-radius:14px;
  background:var(--button-grad);
  background-size:240% 240%;
  animation:gradientFlow 7s linear infinite;
  color:#fff;
  font-weight:800;
  box-shadow:var(--shadow);
  margin-top:8px;
}

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

.feature-card{
  padding:22px;
  position:relative;
}

.feature-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:5px;
  background:var(--button-grad);
}

.articles-section{
  background:transparent;
  padding:0;
  box-shadow:none;
  border:none;
}

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

.article-card{
  padding:20px;
  position:relative;
}

.article-card .date{
  display:inline-block;
  font-size:.92rem;
  color:var(--blue-1);
  font-weight:800;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(30,144,255,.08);
}

.reveal{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .8s ease, transform .8s ease;
}

.reveal.show{
  opacity:1;
  transform:translateY(0);
}

/* =========================
   FOOTER
   ========================= */
/* =========================
   LIGHT DODGER BLUE FOOTER
   ========================= */
footer{
  margin-top:32px;
  padding:28px 20px 34px;

  background:linear-gradient(
    135deg,
    #e6f2ff,   /* very light blue */
    #dbeafe,   /* soft blue */
    #bfdbfe    /* light dodger tone */
  );

  color:#fff; /* dark text for contrast */
  border-top:1px solid rgba(37,99,235,.15);
}

.footer-wrap{
  width:min(1280px, calc(100% - 24px));
  margin:0 auto;
}

/* Brand on top, columns under it */
.footer-top{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:22px;
  align-items:start;
}

/* Brand takes full row */
.footer-brand{
  grid-column:1 / -1;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:12px;
  margin-bottom:8px;
}

.footer-logo-animated{
  margin:0;
}

.footer-desc{
  margin:0;
  max-width:800px;
  line-height:1.7;
  color:var(--text-2);
  font-weight:500;
}

/* =========================
   FOOTER SOCIAL (COMPACT + BIG ICONS)
   ========================= */
.footer-social{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;

  gap:5px;              /* less space between icons */
  margin-top:6px;       /* reduce top space */
}

/* icon container */
.footer-social a{
  width:34px;           /* bigger icon box */
  height:34px;
  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  background:rgba(255,255,255,.06);
  color:var(--text-1);

  transition:all .25s ease;
}

/* icon itself */
.footer-social i{
  font-size:20px;       /* bigger icon */
}

/* HOVER EFFECT (ORANGE) */
.footer-social a:hover{
  background:#f97316;   /* orange */
  color:#fff;
  transform:translateY(-3px) scale(1.08);
  box-shadow:0 6px 14px rgba(249,115,22,.4);
}
.footer-ad{
  margin:0;
  color:var(--text-2);
  font-weight:600;
}

.footer-ad a{
  margin-left:6px;
  font-weight:800;
  color:var(--text-1);
  text-decoration:none;
}

/* 3 columns under brand */
.footer-column{
  display:grid;
  gap:10px;
  justify-items:center;
  text-align:center;
}

.footer-column h4,
.footer-column strong{
  margin:0 0 4px;
  font-size:1.05rem;
  color:var(--text-1);
}

.footer-column a{
  color:var(--text-2);
  font-weight:800;
  text-decoration:none;
}

.footer-column a:hover{
  color:var(--text-1);
}

.copyright,
.footer-bottom{
  margin-top:22px;
  color:var(--text-2);
  line-height:1.7;
  font-weight:500;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
}

/* =========================
   GO TOP
   ========================= */
#goTopBtn{
  position:fixed;
  right:18px;
  bottom:18px;
  width:54px;
  height:54px;
  border:none;
  border-radius:18px;
  color:#fff;
  cursor:pointer;
  z-index:9997;
  background:var(--button-grad);
  background-size:240% 240%;
  animation:gradientFlow 7s linear infinite;
  box-shadow:var(--shadow);
  display:none;
}

#goTopBtn.show{
  display:block;
}

/* =========================
   MEDIA QUERIES AT END
   ========================= */

@media (max-width:1100px){
  .hero-inner{
    grid-template-columns:1fr;
  }

  .hero-side{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .cards-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .feature-section,
  .articles-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .translator-area{
    grid-template-columns:1fr 280px;
  }
}

@media (max-width:900px){
  /* Contents after 3bar menu is being shown */
  .reveal{
    opacity:1 !important;
    transform:none !important;
  }

  .main-nav{
    display:none;
  }

  .menu-toggle{
    display:flex;
    margin:0;
  }

  .header{
    display:flex;
    align-items:center;
    justify-content:space-between;
  }

  .sidebar-social{
    margin-bottom:32px;
  }

  .cards-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .translator-area{
    grid-template-columns:1fr;
  }

  /* keep 3 footer columns under brand */
  .footer-top{
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:18px;
  }
}

@media (max-width:768px){
  .hero-inner{
    padding:22px 18px;
  }

  .hero-side{
    grid-template-columns:1fr;
  }

  .stat-card{
    min-height:auto;
  }

  .header{
    justify-content:center;
    padding:4px 8px;
  }

  .header .logo{
    align-items:center;
    width:80vw;
    max-width:80vw;
    gap:2px;
  }

  .header .logo-image{
    width:100%;
    height:auto;
    aspect-ratio:3 / 1;
  }

  .header .logo-text{
    text-align:center;
  }

  /* still 3 columns */
  .footer-top{
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:16px;
  }

  .footer-column a{
    font-size:.95rem;
  }
}

@media (max-width:640px){
  .page-shell,
  .footer-wrap{
    width:min(100% - 16px, 1280px);
  }

  .cards-grid,
  .feature-section,
  .articles-grid{
    grid-template-columns:1fr;
  }

  /* still 3 columns under brand on small devices */
  .footer-top{
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:12px;
  }

  .footer-brand{
    gap:10px;
  }

  .footer-social{
    gap:10px;
  }

  .footer-social a{
    width:38px;
    height:38px;
  }

  .footer-column h4,
  .footer-column strong{
    font-size:.98rem;
  }

  .footer-column a{
    font-size:.88rem;
    line-height:1.5;
  }

  .latest-tech-wrap{
    min-height:64px;
    padding:8px;
  }

  .latest-tech span{
    font-size:clamp(1.35rem,7vw,1.95rem);
  }

  .business-ads{
    min-height:58px;
    padding:12px;
  }

 .ads-here{
    font-size:16px;
  }



  .top-badge-bar{
    padding:10px 12px;
  }
}

/* =========================
   FOOTER LOGO ANIMATION
   ========================= */
.footer-logo-animated{
  font-size:2rem;
  font-weight:900;
  letter-spacing:1px;

  /* Gradient colors */
  background:linear-gradient(
    270deg,
    #3b82f6,   /* blue */
    #22c55e,   /* green */
    #a855f7,   /* purple */
    #0ea5e9,   /* light blue */
    #3b82f6
  );

  background-size:400% 400%;

  /* Make gradient visible on text */
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  color:transparent;

  /* Animation */
  animation:footerGradientFlow 6s ease infinite,
             footerGlowPulse 2.5s ease-in-out infinite;
}

/* Gradient moving animation */
@keyframes footerGradientFlow{
  0%{ background-position:0% 50%; }
  50%{ background-position:100% 50%; }
  100%{ background-position:0% 50%; }
}

/* Glow + scale pulse */
@keyframes footerGlowPulse{
  0%,100%{
    transform:scale(1);
    text-shadow:0 0 8px rgba(59,130,246,.4);
  }
  50%{
    transform:scale(1.05);
    text-shadow:
      0 0 12px rgba(168,85,247,.6),
      0 0 18px rgba(34,197,94,.5);
  }
}
   
   /* Footer Ad Styling */
.footer-ad{
  color:#f97316; /* ORANGE text */
  font-weight:700;
  margin-top:6px;
}

.footer-ad a{
  color:#2563eb; /* BLUE link */
  font-weight:900;
  text-decoration:none;
  margin-left:6px;
}

.footer-ad a:hover{
  text-decoration:underline;
}

/* =========================================================
   BUSINESS ADS WRAP
   ========================================================= */
.business-ads-wrap{
  width:100%;
  text-align:center;
  margin-top:14px;
}

/* =========================================================
   BUSINESS ADS BANNER
   Same animated gradient style as article buttons
   ========================================================= */
.business-ads{
  position:relative;
  overflow:hidden;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;

  width:100%;
  min-height:68px;
  padding:14px 16px;
  border-radius:18px;

  cursor:pointer;
  text-align:center;
   color:#0f172a; /* sharp readable color */
  font-weight:900;

  background:var(--button-grad);
  background-size:240% 240%;
  animation:gradientFlow 7s linear infinite;

  box-shadow:var(--shadow);
  transition:transform .3s ease, box-shadow .3s ease, filter .3s ease;
}

/* Hover effect */
.business-ads:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 38px rgba(30,144,255,.14);
  filter:brightness(1.03);
}

/* Shine sweep */
.business-ads::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.24) 45%,
    transparent 70%
  );
  transform:translateX(-120%);
  animation:shineSweep 4.8s linear infinite;
}

/* =========================================================
   BUSINESS ADS TITLE
   ========================================================= */
.ads-here{
  position:relative;
  z-index:1;

  display:inline-block;
  padding:5px 10px;
  border-radius:999px;

  font-size:18px;
  font-weight:1000;
  letter-spacing:.5px;
  line-height:1.1;
  color:#0f172a; /* font color  */

  background:rgba(255,255,255,.35); /* keep contrast but lighter */

  animation:
    adsScale 1.6s ease-in-out infinite,
    glow 2s ease-in-out infinite;
}

/* =========================================================
   BUSINESS ADS DESCRIPTION
   ========================================================= */
.business-ads span:last-child{
  position:relative;
  z-index:1;

  display:block;
  font-size:14px;
  font-weight:600;
  line-height:1.5;
  opacity:.95;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes adsScale{
  0%,100%{
    transform:scale(1);
  }
  50%{
    transform:scale(1.15);
  }
}

@keyframes glow{
  0%,100%{
    text-shadow:0 0 5px rgba(255,255,255,.3);
  }
  50%{
    text-shadow:0 0 15px rgba(255,255,255,.8);
  }
}
