/* ===== COLOR PALETTE ===== */
:root {
  --blue-900: #005bbb;   /* dark brand blue */
  --blue-200: #4f9bff;   /* lighter accent blue */
  --white    : #ffffff;  /* white */
}

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

body {
  font-family: "Noto Sans Oriya", sans-serif;
  background: var(--white);
  color: #222;
  line-height: 1.5;
}

/* ---------- HEADER ---------- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 1.2rem;
  background: var(--blue-900);
  color: var(--white);
  position: relative; 
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  white-space: nowrap;
}

.brand img { height: 42px; width: auto; }

/* ---------- NAV LINKS ---------- */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.4rem;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}


.nav-links a:hover, 
.nav-links a.active {
    color: #e3e7ec;
}

/* ---------- HAMBURGER ---------- */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--blue-200);
  padding: 0.35rem 0.4rem;
  border-radius: 4px;
  cursor: pointer;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s;
}

.hamburger::before { transform: translateY(-6px); }
.hamburger::after  { transform: translateY( 4px); }

/* ---------- BREAKPOINT ---------- */
@media (max-width: 680px) {
 .nav-toggle {
    display: block;
    position: absolute;          /* pin so Flex doesn’t push it away */
    right: 1rem;                 /* same padding as navbar */
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;               /* above drop-down panel */
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #3f55d5ab;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000; 
  }

  .nav-links.open { display: block; }
  .nav-links li { text-align: center; }
}

/* ---------- MAIN CONTENT ---------- */
main {
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1rem;
}

section   { margin-bottom: 2.5rem; }
h1        { font-size: 1.9rem; margin-bottom: 0.8rem; color: var(--blue-900); }
p         { font-size: 1rem; }

a         { color: var(--blue-900); }
a:hover   { color: var(--blue-200); }

/* ───── WELCOME / HERO ───────────────────────────── */
#welcome, .welcome { }   /* keep the old anchor working if linked elsewhere */

.welcome{
  /* full-width banner with soft gradient top+bottom */
  background: linear-gradient(180deg, #f1f7ff 0%, #ffffff 60%);
  /* optional subtle texture
     background-image:url('../img/pattern.svg'); background-size:280px; */
  border-top: 4px solid var(--blue-900);
  padding-block: clamp(3rem, 6vw, 5rem);
}

.welcome-inner{
  max-width: 960px;
  margin-inline: auto;
  padding-inline: 1.2rem;
}

.welcome h1{
  font-size: clamp(2.2rem, 4vw + 1rem, 3rem);
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 1.2rem;
  text-align: center;
}

.welcome h1 span{            /* Odia word in same font but bigger weight */
  font-family: "Noto Sans Oriya", sans-serif;
  font-weight: 700;
}

.welcome p{
  font-size: 1.15rem;
  line-height: 1.9;
  letter-spacing: .005em;
  text-align: justify;
  color:#222;
  /* two columns on wide screens for magazine feel */
  column-width: 340px;
  column-gap: 2.2rem;
}

.welcome p:first-letter{
  float:left;
  font-size:3.8rem;
  line-height:1;
  padding-right:.35rem;
  padding-left:.05rem;
  font-weight:700;
  color: var(--blue-900);
  font-family: "Noto Sans Oriya", sans-serif;
}

/* fade-in animation */
@keyframes fadeSlide{
  from{opacity:0; transform:translateY(20px);}
  to  {opacity:1; transform:none;}
}
.welcome-inner{ animation: fadeSlide .8s ease-out both; }

@media (max-width: 680px) {
  .nav-links li a {
    display: block;          /* take full row width */
    padding: 0.6rem 0;       /* nicer tap target */
    white-space: nowrap;     /* ⬅ NO wrapping between letters */
  }
}
/* ==== Home / About helpers ==== */
/* ==== HERO (improved) ======================================= */

.beautiful-hero{
  position: relative;
  /* deep blue gradient with subtle vignette */
  background: radial-gradient(circle at 20% 20%, #0f5fbf 0%, #0b4ea1 35%, #083d80 100%);
  overflow: hidden;
}

.beautiful-hero::after{
  /* soft vignette edge */
  content:"";
  position:absolute; inset:0;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.06),
              inset 0 0 160px rgba(0,0,0,.28);
  pointer-events:none;
}

.beautiful-hero .hero-inner{
  min-height: clamp(440px, 64vh, 640px);
  max-width: 1200px;
  margin-inline: auto;
  padding: clamp(28px, 6vw, 72px) clamp(20px, 6vw, 48px);

  display: grid;
  align-items: center;
  gap: clamp(28px, 6vw, 56px);

  /* mobile: single column */
  grid-template-columns: 1fr;
}

/* desktop: two columns */
@media (min-width: 960px){
  .beautiful-hero .hero-inner{
    grid-template-columns: minmax(220px, 320px) 1fr;
  }
}

.hero-media{
  display: grid;
  place-items: center;
}

.hero-logo{
  width: clamp(140px, 22vw, 260px);
  height: auto;
  background: #fff;
  border-radius: 999px;
  padding: clamp(10px, 1.8vw, 18px);
  box-shadow:
    0 22px 60px rgba(0,0,0,.35),
    0 8px 18px rgba(0,0,0,.18),
    0 0 0 10px rgba(255,255,255,.2);   /* white ring */
}

/* Right side copy */
.hero-copy{
  text-align: center;
}
@media (min-width: 960px){
  .hero-copy{ text-align: left; }
}

.hero-title{
  margin: 0 0 clamp(10px, 2vw, 16px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: 0.5px;
  font-size: clamp(32px, 6vw, 56px);
  text-shadow:
    0 6px 18px rgba(0,0,0,.35),
    0 2px 6px rgba(0,0,0,.25);
}

.hero-tagline{
  margin: 0 0 clamp(22px, 5vw, 36px);
  color: rgba(255,255,255,.92);
  font-size: clamp(16px, 2.8vw, 22px);
  line-height: 1.6;
  max-width: 720px;
}

/* Buttons */
.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
@media (min-width: 960px){
  .hero-actions{ justify-content: flex-start; }
}

.btn{
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}

.btn-primary{
  background: #ffffff;
  color: #0a4a96;
  box-shadow: 0 12px 28px rgba(0,0,0,.22), 0 4px 10px rgba(0,0,0,.18);
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,0,0,.26), 0 6px 14px rgba(0,0,0,.20);
}

.btn-outline{
  border: 2px solid rgba(255,255,255,.6);
  color: #fff;
  background: transparent;
}
.btn-outline:hover{
  border-color: #fff;
  background: rgba(255,255,255,.08);
  transform: translateY(-2px);
}

/* Accessibility: reduce animation if user prefers */
@media (prefers-reduced-motion: reduce){
  .btn,
  .btn-primary,
  .btn-outline{
    transition: none;
  }
}

.hero-actions { margin-top: 1.5rem; display: inline-flex; gap: .75rem; flex-wrap: wrap; }
.btn { border: 1px solid #fff; color: #fff; padding: .65rem 1rem; border-radius: .5rem; text-decoration: none; display: inline-block; }
.btn.primary { background: #fff; color: #0a4a96; font-weight: 600; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.15); }

/* President message */
.president-section { max-width: 1100px; margin: 2rem auto; padding: 0 1rem; }
.president-card { display: grid; grid-template-columns: 140px 1fr; gap: 1rem; background: #fff; border-radius: 16px; border: 1px solid #e7eef6; box-shadow: 0 6px 18px rgba(10,70,150,.06); padding: 1rem; }
.president-photo { width: 140px; height: 160px; object-fit: cover; border-radius: 16px; border: 2px solid #c9ddf3; }
.president-content h2 { margin: 0 0 .5rem; color: #0a4a96; }
.president-name { margin-top: .75rem; color: #334155; }
@media (max-width: 640px) { .president-card { grid-template-columns: 1fr; text-align: center; } .president-photo { margin: 0 auto; } }

/* Leaders grid */
.leaders-section { max-width: 1200px; margin: 3rem auto; padding: 0 1rem; }
.leader-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.leader-card { background: #fff; border: 1px solid #e7eef6; border-radius: 16px; padding: 1rem; text-align: center; box-shadow: 0 6px 18px rgba(10,70,150,.06); }
.leader-card img { width: 100%; height: 250px; object-fit: cover; border-radius: 12px; margin-bottom: .5rem; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.leader-card h4 { margin: .25rem 0 .25rem; color: #0a4a96; font-size: 1.05rem; }
.leader-card .role { margin: 0; color: #475569; font-size: .95rem; }

.cards-grid { 
  --maxw: 1200px; max-width: var(--maxw); margin: 2rem auto; 
  padding: 0 1rem; display: grid; gap: 1rem; 
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card { background: #fff; border-radius: 16px; padding: 1.25rem; text-decoration: none; color: #0a2540; border: 1px solid #e7eef6; box-shadow: 0 6px 18px rgba(10,70,150,.06); }
.card h3 { margin: 0 0 .5rem; color: #0a4a96; }
.card:hover { border-color: #c9ddf3; box-shadow: 0 8px 28px rgba(10,70,150,.12); }

.section-title { text-align: center; color: #0a4a96; margin: 3rem 0 1rem; }
.content-wrap { max-width: 1100px; margin: 0 auto; padding: 1.5rem; }

/* Odia text readability */
.odia-text { font-size: 1.05rem; line-height: 1.9; }
.odia-text p { text-align: justify; }

.updates { max-width: 1000px; margin: 0 auto 3rem; padding: 0 1rem; }
.updates-list { list-style: none; padding: 0; margin: 0; }
.updates-list li { background: #f6f9fe; border: 1px solid #e7eef6; border-radius: 12px; padding: .9rem 1rem; margin-bottom: .75rem; }

.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #f7fafc; /* light background */
  color: #2d3748; /* dark text for contrast */
  font-family: 'Noto Sans Oriya', sans-serif;
  border-top: 1px solid #e2e8f0;
}

.footer-content {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.visitor-counter {
  margin: 0.5rem 0;
  height: 30px;
}


/* ─── scrolling ticker ───────────────────────────────────────── */
/* ─── scrolling ticker (instant, seamless) ───────────────────── */
.ticker{
  --dur: 22s;                  /* speed: lower = faster */
  background:#0A4A96;
  color:#fff;
  overflow:hidden;
  line-height:1;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track{
  display:flex;
  width:max-content;           /* shrink-wrap content */
  gap:0;
  animation: ticker-slide var(--dur) linear infinite;
}
.ticker__item{
  flex:0 0 auto;               /* prevent shrinking */
  white-space:nowrap;
  padding-block:10px;
  font-size:1rem;
  font-weight:700;
  letter-spacing:.3px;
  padding-right:2rem;          /* space between repeats */
}
@keyframes ticker-slide{
  from{ transform: translateX(0); }
  to  { transform: translateX(-50%); } /* move by half (because we duplicated content) */
}

/* pause on hover */
.ticker:hover .ticker__track{ animation-play-state: paused; }

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  .ticker__track{ animation:none; transform:none; }
}

/* ── Make hero full‑bleed even when inside <main> ───────────── */
/* Full‑bleed hero (you already added hero-full earlier) */
.hero-full{
  width:100vw; position:relative; left:50%; right:50%;
  margin-left:-50vw; margin-right:-50vw;
}

/* Base hero gradient */
.hero{
  position:relative;
  background: radial-gradient(circle at 10% 10%, #1769d1 0%, #0e55b3 45%, #093e83 100%);
  overflow:hidden;
}

/* Two-column responsive grid */
.hero .hero-inner{
  min-height: clamp(460px, 60vh, 640px);
  max-width: min(1400px, 90vw);
  margin-inline:auto;
  padding: clamp(32px, 6vw, 72px) clamp(24px, 6vw, 56px);
  display:grid; gap: clamp(28px, 6vw, 56px);
  align-items:center;
  grid-template-columns: 1fr;
}
@media (min-width: 960px){
  .hero .hero-inner{ grid-template-columns: minmax(240px, 360px) 1fr; }
}

/* Title & text */
.hero-title{
  color:#fff; font-weight:800; line-height:1.05; letter-spacing:.4px;
  font-size: clamp(34px, 6vw, 64px);
  text-shadow: 0 10px 30px rgba(0,0,0,.35), 0 3px 10px rgba(0,0,0,.25);
  margin:0 0 clamp(12px, 2vw, 18px);
}
.hero-tagline{
  color:#eaf2ff; font-size: clamp(16px, 2.5vw, 22px); line-height:1.65;
  margin:0 0 clamp(24px, 5vw, 36px);
}

/* Buttons */
.hero-actions{ display:flex; flex-wrap:wrap; gap:12px; }
.btn{
  display:inline-block; border-radius:999px; padding:12px 22px; font-weight:700;
  text-decoration:none; transition:transform .15s, box-shadow .15s, background .15s, border-color .15s, color .15s;
}
.btn-primary{
  background:#fff; color:#0a4a96;
  box-shadow:0 16px 40px rgba(0,0,0,.22), 0 6px 16px rgba(0,0,0,.18);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 22px 48px rgba(0,0,0,.28); }
.btn-outline{
  border:2px solid rgba(255,255,255,.65); color:#fff; background:transparent;
}
.btn-outline:hover{ border-color:#fff; background:rgba(255,255,255,.08); transform:translateY(-2px); }

/* Logo with animated glow rings */
.logo-wrap{
  position:relative; width: clamp(180px, 26vw, 320px); aspect-ratio:1/1;
  border-radius:50%; display:grid; place-items:center;
  box-shadow:
    0 30px 80px rgba(0,0,0,.35),
    0 10px 24px rgba(0,0,0,.22);
}
.logo-wrap::before,
.logo-wrap::after{
  content:""; position:absolute; inset:-18px; border-radius:50%;
  background: conic-gradient(from 0deg, #ffffff30 0 25%, #ffffff08 25% 50%, #ffffff30 50% 75%, #ffffff08 75% 100%);
  filter: blur(4px);
  animation: spin 30s linear infinite;
}
.logo-wrap::after{
  inset:-36px; opacity:.45; animation-duration: 50s;
  background: conic-gradient(from 0deg, #7cc1ff30 0 25%, #ffffff05 25% 50%, #7cc1ff30 50% 75%, #ffffff05 75% 100%);
}
@keyframes spin{ to{ transform:rotate(360deg); } }

.hero-logo{
  width: 100%; height: 100%; border-radius:50%;
  background:#fff; padding: clamp(12px, 2vw, 18px);
  box-shadow: inset 0 0 0 12px rgba(255,255,255,.22),
              0 0 0 10px rgba(255,255,255,.20);
  object-fit:contain;
}

/* Base placement (desktop) */
/* Hero grid */
.hero { position: relative; }
.hero .hero-inner{
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 72px) clamp(20px, 6vw, 48px);
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  grid-template-columns: 1fr;                 /* mobile default */
}

/* Laptop: two columns (logo | copy), QR sits at end of copy column */
@media (min-width: 960px){
  .hero .hero-inner{
    grid-template-columns: minmax(220px, 380px) 1fr;
  }
}

/* Desktop-wide: three columns (logo | copy | QR) */
@media (min-width: 1280px){
  .hero .hero-inner{
    grid-template-columns: minmax(240px, 400px) 1fr auto;
  }
  .qr-badge{
    grid-column: 3;                /* right column */
    grid-row: 1 / span 2;          /* vertically centered beside hero */
    align-self: center;
    justify-self: end;
  }
}

/* QR badge base style (no absolute positioning) */
.qr-badge{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 240px;
  padding: 16px;
  background: linear-gradient(135deg,#ffffff,#e9eef4);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(8,37,96,.28), 0 6px 14px rgba(8,37,96,.18);
  text-decoration: none;
}
.qr-canvas{ width:100%; aspect-ratio:1/1; }
.qr-canvas canvas,
.qr-canvas img,
.qr-canvas svg{ width:100%; height:100%; display:block; }
.qr-caption{
  font-size:14px; font-weight:700; color:#0a3e84; text-align:center;
}

/* Tablet: slightly smaller and placed to the right of copy */
@media (min-width: 960px) and (max-width: 1279px){
  .qr-badge{
    grid-column: 2;            /* same column as text, aligned right */
    justify-self: end;
    width: 220px;
    border-radius: 20px;
    padding: 14px;
  }
}

/* Phone: stack below content, centered */
@media (max-width: 959px){
  .qr-badge{
    grid-column: 1;
    width: 160px;
    margin: 4px auto 0;
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 12px 26px rgba(8,37,96,.18), 0 4px 10px rgba(8,37,96,.12);
  }
  .qr-caption{ font-size:12px; }
}

/* Very small phones */
@media (max-width: 400px){
  .qr-badge{ width: 140px; }
}


@media (max-width: 640px){
  .qr-badge{ display: none; }
}


