:root{
  --ink:#07131f;
  --muted:#607080;
  --red:#d71920;
  --gold:#f5c400;
  --paper:#f6f7f9;
  --white:#fff;
  --line:#e3e7eb;
  --radius:22px;
}

*{
  box-sizing:border-box;
}

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

body{
  margin:0;
  font-family:'Noto Sans Tamil',system-ui,sans-serif;
  color:var(--ink);
  background:#fff;
  line-height:1.65;
  overflow-x:hidden;
}

img{
  max-width:100%;
  height:auto;
}

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

.container{
  width:min(1120px,92%);
  margin:0 auto;
}

/* ================= HEADER ================= */

.site-header{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}

.nav-wrap{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.site-logo{
  width:52px;
  height:52px;
  min-width:52px;
  object-fit:contain;
  display:block;
  border-radius:50%;
}

.brand>div:last-child{
  display:flex;
  flex-direction:column;
  min-width:0;
}

.brand strong{
  font-size:20px;
  line-height:1.2;
  white-space:nowrap;
}

.brand small{
  color:var(--red);
  font-weight:800;
  line-height:1.2;
}

.brand-mark{
  width:52px;
  height:52px;
  flex-shrink:0;
  border-radius:50%;
  background:#fff;
  border:3px solid var(--ink);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  line-height:1.05;
  position:relative;
  overflow:hidden;
}

.brand-mark:before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(
    135deg,
    var(--red) 0 42%,
    transparent 42%
  );
}

.brand-mark span,
.brand-mark b{
  position:relative;
  z-index:1;
  font-size:8px;
}

.brand-mark b{
  margin-top:2px;
  font-size:7px;
  color:var(--red);
}

nav{
  display:flex;
  gap:24px;
  font-weight:600;
  font-size:14px;
}

nav a:hover{
  color:var(--red);
}

.menu{
  display:none;
  border:0;
  background:none;
  font-size:28px;
  cursor:pointer;
  padding:4px;
}

/* ================= HERO ================= */

.hero{
  background:
    linear-gradient(
      135deg,
      #07131f 0%,
      #102d42 58%,
      #7d1116 100%
    );
  color:#fff;
  padding:90px 0;
}

.hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
  gap:60px;
  align-items:center;
}

.eyebrow{
  display:inline-block;
  font-size:12px;
  letter-spacing:.12em;
  font-weight:800;
  color:var(--red);
  margin-bottom:12px;
}

.hero .eyebrow{
  color:#ffd526;
}

.hero h1{
  font-size:clamp(38px,5.5vw,50px);
  line-height:1.12;
  margin:0 0 20px;
  font-weight:800;
}

.hero h1 em{
  font-style:normal;
  color:var(--gold);
}

.hero p{
  font-size:18px;
  color:#d9e2e9;
  max-width:680px;
}

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

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 20px;
  border-radius:999px;
  font-weight:800;
}

.primary{
  background:var(--gold);
  color:#161616;
}

.ghost{
  border:1px solid #6e8190;
}

.light{
  background:#fff;
  color:var(--ink);
}

.hero-card{
  min-height:390px;
  border-radius:32px;
  background:
    linear-gradient(
      160deg,
      rgba(255,255,255,.16),
      rgba(255,255,255,.04)
    );
  border:1px solid rgba(255,255,255,.2);
  display:flex;
  align-items:end;
  padding:30px;
  position:relative;
  overflow:hidden;
}

.ring{
  position:absolute;
  width:280px;
  height:280px;
  border:38px solid rgba(245,196,0,.9);
  border-radius:50%;
  right:-50px;
  top:-50px;
  box-shadow:0 0 80px rgba(245,196,0,.25);
}

.hero-card-content{
  position:relative;
  z-index:1;
}

.hero-card-content span{
  color:var(--gold);
  font-weight:800;
}

.hero-card h2{
  font-size:36px;
  line-height:1.2;
  margin:10px 0;
}

.hero-card p{
  font-size:13px;
}

/* ================= TICKER ================= */

.ticker{
  background:var(--gold);
  font-size:14px;
}

.ticker .container{
  display:flex;
  gap:18px;
  padding:11px 0;
  align-items:center;
}

.ticker b{
  color:#000;
  flex-shrink:0;
}

/* ================= SECTIONS ================= */

.section{
  padding:78px 0;
}

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  margin-bottom:28px;
  gap:20px;
}

.section-head h2,
.source-section h2{
  font-size:34px;
  line-height:1.2;
  margin:0;
}

.section-head>a{
  font-weight:800;
  color:var(--red);
  flex-shrink:0;
}

/* ================= CARDS ================= */

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

.card{
  min-width:0;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  background:#fff;
  box-shadow:0 8px 30px rgba(7,19,31,.06);
}

.thumb{
  height:210px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:78px;
  position:relative;
}

.thumb span{
  position:absolute;
  left:18px;
  bottom:15px;
  background:#fff;
  padding:5px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
}

.gov{
  background:#eaf0f5;
}

.gold{
  background:#fff3b8;
}

.assembly{
  background:#e8e1f2;
}

.card-body{
  padding:22px;
}

.tag{
  font-size:11px;
  color:var(--red);
  font-weight:800;
}

.card h3{
  font-size:20px;
  line-height:1.35;
  margin:8px 0;
}

.card p{
  color:var(--muted);
  font-size:14px;
}

.card a{
  color:var(--red);
  font-weight:800;
  font-size:13px;
}

/* ================= POLITICS ================= */

.alt{
  background:var(--paper);
}

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

.topic-grid>div{
  padding:26px;
  background:#fff;
  border-radius:18px;
  border:1px solid var(--line);
}

.topic-grid b{
  font-size:20px;
}

.topic-grid p{
  color:var(--muted);
  margin-bottom:0;
}

/* ================= SCHEMES ================= */

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

.scheme{
  padding:26px;
  border:1px solid var(--line);
  border-radius:20px;
  display:flex;
  gap:18px;
  min-width:0;
}

.scheme>span{
  font-size:32px;
  color:var(--red);
  font-weight:800;
  flex-shrink:0;
}

.scheme h3{
  margin:0;
}

.scheme p{
  color:var(--muted);
  font-size:14px;
}

/* ================= PEOPLE ================= */

.dark{
  background:#07131f;
  color:#fff;
}

.people-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,.75fr);
  gap:40px;
  align-items:center;
}

.dark .eyebrow{
  color:var(--gold);
}

.dark h2{
  font-size:42px;
  margin:0 0 12px;
}

.dark p{
  color:#b9c8d3;
}

.contact-card{
  padding:30px;
  border:1px solid #294152;
  background:#0e2231;
  border-radius:22px;
}

.contact-card b{
  font-size:20px;
}

.contact-card .btn{
  margin-top:12px;
}

/* ================= ABOUT ================= */

.about-box{
  display:grid;
  grid-template-columns:170px minmax(0,1fr);
  gap:45px;
  align-items:center;
  padding:50px;
  border-radius:28px;
  background:linear-gradient(135deg,#fff5f5,#f4f7fa);
  border:1px solid var(--line);
}

.brand-mark.big{
  width:150px;
  height:150px;
}

.brand-mark.big span{
  font-size:18px;
}

.brand-mark.big b{
  font-size:14px;
}

.about h2{
  font-size:34px;
  margin:0 0 12px;
}

.about p{
  color:var(--muted);
}

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

.principles span{
  background:#fff;
  border:1px solid var(--line);
  border-radius:999px;
  padding:7px 12px;
  font-size:12px;
  font-weight:800;
}

/* ================= SOURCES ================= */

.source-section{
  background:#fff8db;
}

.source-pills{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:20px;
}

.source-pills span{
  background:#fff;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid #e9d67b;
  font-size:13px;
  font-weight:700;
}

/* ================= FOOTER ================= */

footer{
  background:#020a11;
  color:#dbe4ea;
  padding:38px 0 18px;
}

.footer-grid{
  display:flex;
  justify-content:space-between;
  gap:20px;
}

.footer-grid strong{
  font-size:20px;
  color:#fff;
}

.footer-grid p{
  margin:4px 0;
  color:#91a2ae;
  font-size:13px;
}

.social{
  display:flex;
  gap:20px;
}

.social a:hover{
  color:var(--gold);
}

.copyright{
  text-align:center;
  border-top:1px solid #1b2b36;
  margin-top:25px;
  padding-top:15px;
  color:#718390;
  font-size:11px;
}

/* ================= TABLET ================= */

@media(max-width:900px){

  .nav-wrap{
    min-height:72px;
  }

  nav{
    display:none;
    position:absolute;
    left:4%;
    right:4%;
    top:72px;
    background:#fff;
    padding:18px;
    border:1px solid var(--line);
    border-radius:16px;
    box-shadow:0 12px 30px rgba(0,0,0,.12);
    flex-direction:column;
    gap:14px;
  }

  .menu{
    display:block;
  }

  .menu-open nav{
    display:flex;
  }

  .hero{
    padding:65px 0;
  }

  .hero-grid{
    grid-template-columns:1fr;
    gap:35px;
  }

  .hero-card{
    min-height:320px;
  }

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

  .people-grid{
    grid-template-columns:1fr;
  }
}

/* ================= MOBILE ================= */

@media(max-width:600px){

  .container{
    width:calc(100% - 28px);
    max-width:none;
  }

  .nav-wrap{
    min-height:68px;
    gap:10px;
  }

  .site-logo{
    width:46px;
    height:46px;
    min-width:46px;
  }

  .brand{
    gap:9px;
    min-width:0;
  }

  .brand strong{
    font-size:17px;
  }

  .brand small{
    font-size:11px;
  }

  .menu{
    font-size:26px;
  }

  nav{
    top:68px;
    left:14px;
    right:14px;
  }

  .hero{
    padding:48px 0;
  }

  .hero-grid{
    gap:30px;
  }

  .hero h1{
    font-size:38px;
    line-height:1.15;
  }

  .hero p{
    font-size:16px;
  }

  .hero-actions{
    width:100%;
    flex-direction:column;
    align-items:stretch;
  }

  .hero-actions .btn{
    width:100%;
  }

  .hero-card{
    min-height:280px;
    padding:24px;
    border-radius:24px;
  }

  .hero-card h2{
    font-size:29px;
  }

  .ring{
    width:210px;
    height:210px;
    border-width:28px;
    right:-60px;
    top:-60px;
  }

  .ticker .container{
    gap:10px;
    flex-wrap:wrap;
    padding:10px 0;
  }

  .section{
    padding:55px 0;
  }

  .section-head{
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
    margin-bottom:22px;
  }

  .section-head h2,
  .source-section h2{
    font-size:28px;
  }

  .cards,
  .topic-grid,
  .scheme-list{
    grid-template-columns:1fr;
  }

  .thumb{
    height:190px;
    font-size:65px;
  }

  .card-body{
    padding:20px;
  }

  .card h3{
    font-size:19px;
  }

  .scheme{
    padding:22px;
  }

  .dark h2{
    font-size:34px;
  }

  .contact-card{
    padding:24px;
  }

  .about-box{
    grid-template-columns:1fr;
    gap:25px;
    padding:28px 22px;
  }

  .brand-mark.big{
    width:130px;
    height:130px;
    margin:0 auto;
  }

  .about h2{
    font-size:28px;
  }

  .footer-grid{
    flex-direction:column;
  }

  .social{
    flex-wrap:wrap;
  }
}
/* FINAL MOBILE TEXT FIX */

@media(max-width:600px){

  .hero,
  .hero-grid,
  .hero-card,
  .hero-card-content,
  .section,
  .card,
  .card-body,
  .about-box,
  .people-grid{
    min-width:0;
    max-width:100%;
  }

  .hero h1,
  .hero p,
  .hero-card h2,
  .hero-card p,
  .card h3,
  .card p,
  .about h2,
  .about p,
  .dark h2,
  .dark p{
    overflow-wrap:anywhere;
    word-break:break-word;
  } 
  .hero h1{
  word-break:keep-all;
  overflow-wrap:normal;
  }

  .hero h1{
  font-size:26px;
  line-height:1.18;
  }

  .hero p{
    font-size:16px;
    line-height:1.7;
  }

  .hero-card h2{
    font-size:28px;
    line-height:1.25;
  }

  .hero-card p{
    font-size:14px;
    line-height:1.6;
  }

  .hero-card{
    overflow:hidden;
  }

  .btn{
    max-width:100%;
    white-space:normal;
    text-align:center;
  }
  .hero-grid{
  grid-template-columns:1fr !important;
  gap:24px;
}

.hero-card{
  width:100%;
  max-width:100%;
}

.hero-card-content{
  width:100%;
  max-width:100%;
}
    }
/* HERO HEADING OVERFLOW FIX */

.hero-grid{
  min-width:0;
  grid-template-columns:minmax(0, 1.3fr) minmax(0, 0.75fr);
}

.hero-grid > div{
  min-width:0;
  max-width:100%;
}

.hero h1{
  width:100%;
  max-width:100%;
  overflow-wrap:normal;
word-break:keep-all;
}
/* SOCIAL ICON FOOTER */

.social{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}

.social a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 12px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  color:#fff;
  text-decoration:none;
  font-size:13px;
  font-weight:600;
  white-space:nowrap;
  transition:.2s ease;
}
.social a i{
  margin-right:6px;
  font-size:14px;
}

.social a:nth-child(1) i{
  color:#E4405F;
}

.social a:nth-child(2) i{
  color:#FF0000;
}

.social a:nth-child(3) i{
  color:#1877F2;
}

.social a:nth-child(4) i{
  color:#ffffff;
}

.social a:nth-child(5) i{
  color:#25D366;
}

.social a:nth-child(6) i{
  color:#229ED9;
}

.social a:nth-child(7) i{
  color:#ffffff;
}

.social a:hover{
  transform:translateY(-2px);
  border-color:#f5c400;
}

@media(max-width:600px){
  .social{
    justify-content:flex-start;
    margin-top:14px;
  }

  .social a{
  min-height:34px;
  padding:0 10px;
  font-size:12px;
}
}
.no-break{
  white-space:nowrap;
}
/* SMALL DESKTOP / MOBILE DESKTOP VIEW */
@media (min-width:901px) and (max-width:1100px){
  .hero-grid{
    grid-template-columns:minmax(0,1.3fr) minmax(0,0.75fr);
    gap:30px;
  }

  .hero h1{
    font-size:38px;
    line-height:1.12;
  }
}
.language-switcher{
  display:flex;
  gap:6px;
  margin-left:16px;
}

.language-switcher button{
  border:1px solid rgba(255,255,255,.35);
  background:transparent;
  color:#07131f;
  padding:6px 10px;
  border-radius:6px;
  cursor:pointer;
  font-weight:600;
}

.language-switcher button.active{
  background:#f5c400;
  color:#07131f;
}
/* ================= MOBILE HEADER FIX ================= */

@media (max-width:600px){

  .nav-wrap{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto auto;
    align-items:center;
    gap:8px;
    flex-wrap:nowrap;
  }

  .brand{
    min-width:0;
    width:100%;
  }

  .brand > div:last-child{
    min-width:0;
    overflow:hidden;
  }

  .brand strong{
    font-size:16px;
    white-space:nowrap;
  }

  .brand small{
    font-size:10px;
  }

  .language-switcher{
    display:flex;
    flex:0 0 auto;
    margin-left:0;
    gap:4px;
    white-space:nowrap;
  }

  .language-switcher button{
    flex:0 0 auto;
    padding:6px 8px;
    white-space:nowrap;
  }

  .menu{
    display:block;
    flex:0 0 auto;
    margin-left:0;
    padding:4px;
    line-height:1;
    position:relative;
    z-index:2;
  }
}
/* Mobile language selector */

.mobile-language-switcher{
  display:none;
}

@media (max-width:600px){

  .language-switcher{
    display:none;
  }

  .mobile-language-switcher{
    display:block;
    flex:0 0 auto;
    width:auto;
    min-width:72px;
    padding:7px 8px;
    border:1px solid #ddd;
    border-radius:10px;
    background:#fff;
    color:#07131f;
    font-family:inherit;
    font-size:15px;
    font-weight:600;
  }

}
/* Mobile header final alignment */
@media (max-width:600px){

  .nav-wrap{
    position:relative;
    display:flex;
    align-items:center;
    min-height:90px;
  }

  .brand{
    width:auto;
    flex:1;
  }

  .mobile-language-switcher{
    position:absolute;
    right:55px;
    top:50%;
    transform:translateY(-50%);
    margin:0;
  }

  .menu{
    position:absolute;
    right:10px;
    top:50%;
    transform:translateY(-50%);
    margin:0;
  }

}
