* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Mukta Malar", "Noto Sans Tamil", sans-serif;
}

:root {
  --primary-color: #aa110a;
  /* Bold red matching the logo */
  --primary-dark: #8b0d07;
  --primary-light: #d91407;
  --secondary-color: #eeca00;
  /* Vibrant yellow */
  --accent-color: #111111;
  --white-color: #ffffff;
  --light-bg: #f8f8f9;
  --font-inter: "Inter", sans-serif;
  --btn-radius: 50px;
}

html,
body {
  background-color: var(--white-color);
  color: #222;
  line-height: 1.3;
  font-family: "Mukta Malar", "Noto Sans Tamil", sans-serif;
  overflow-x: hidden;
  width: 100vw;
  max-width: 100%;
}

/* ----- container / utility ----- */
section, .page-content-padding {
  padding: 70px 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* full width container for banner */
.full-width {
  width: 100%;
  padding: 0;
}

/* ----- top bar ----- */
.top-bar {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 3px solid var(--secondary-color);
  /* Yellow bottom border */
  position: relative;
  z-index: 10;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.divider {
  width: 2px;
  height: 20px;
  background-color: var(--white-color);
  opacity: 0.5;
}

.join-btn {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--white-color);
  padding: 8px 22px;
  border-radius: var(--btn-radius);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.join-btn:hover {
  background-color: var(--white-color);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* ----- floating translate button ----- */
.lang-switch {
  position: fixed;
  top: 150px;
  right: 20px;
  z-index: 999;
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(217, 20, 7, 0.4);
  cursor: pointer;
  border: 2px solid var(--secondary-color);
  transition: 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(4px);
  letter-spacing: 0.3px;
}

.lang-switch i {
  font-size: 1.2rem;
}

.lang-switch:hover {
  background: var(--primary-dark);
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 12px 25px rgba(217, 20, 7, 0.6);
}

/* ----- header / navigation (logo updated) ----- */
.header {
  background-color: var(--white-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--primary-light);
}

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

.logo-area {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-icon img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.party-name h2 {
  margin: 0;
  /* font-size: 36px; */
  /* increase size */
  font-weight: 800;
  color: var(--primary-dark);
}

.party-name .tamil-text {
  display: block;
  font-size: 32px;
  /* Tamil size */
  font-family: "Noto Sans Tamil", sans-serif;
}

.party-short-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
}

.tamil-text {
  display: block;
  font-family: "Noto Sans Tamil", sans-serif;
}

/* logo img + name TPK */
.logo-icon {
  width: 60px;
  height: 60px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--primary-color);
  /* image style for custom logo: using a placeholder but with text "TPK" as fallback */
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  /* box-shadow: 0 2px 8px var(--primary-light); */
}

.party-name h2 {
  /* font-size: 1.4rem; */
  color: var(--primary-dark);
  font-weight: 700;
}

.party-name span {
  font-size: 0.8rem;
  color: var(--primary-dark);
  letter-spacing: 0.3px;
  font-weight: 500;
}

/* desktop menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu a {
  text-decoration: none;
  font-weight: 600;
  color: var(--accent-color);
  font-size: 1rem;
  transition: 0.2s;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* hamburger */
.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
}

/* mobile menu */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100vh;
  background: var(--accent-color);
  z-index: 1000;
  padding: 60px 24px;
  transition: right 0.3s ease;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.4);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a {
  display: block;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  padding: 14px 0;
  border-bottom: 1px solid #333;
  font-weight: 500;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--secondary-color);
  background: rgba(238, 202, 0, 0.1);
  /* transparent yellow */
  padding-left: 10px;
}

.close-mobile {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 2rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.overlay.active {
  display: block;
}

/* Language Dropdown */
.lang-dropdown {
  position: relative;
  display: inline-block;
  margin-left: 15px;
}

/* Button */
.lang-toggle {
  background: #c8102e;
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Dropdown menu */
.lang-menu {
  position: absolute;
  top: 100%;
  /* IMPORTANT: remove gap */
  right: 0;
  background: #fff;
  min-width: 100px;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  display: none;
  padding-top: 5px;
  /* creates safe hover zone */
}

/* Dropdown link */
.lang-menu a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #333;
}

.lang-menu a:hover {
  background: #f2f2f2;
}

/* Show on hover */
.lang-dropdown:hover .lang-menu {
  display: block;
}

/* ===== NEW HERO: LEFT CONTENT + RIGHT IMAGE ===== */
.hero-section {
  min-height: calc(100vh - 80px);
  display: flex;
  position: relative;
  overflow: hidden;
  padding: 0;
  background-color: var(--secondary-color);
}

.hero-content-side {
  flex: 1.4;
  background:
    linear-gradient(135deg, rgb(211 47 47 / 92%), rgb(161 35 35 / 95%)),
    url(../img/hero-bg.png);
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  align-items: center;
  padding: 0 8% 80px 8%;
  z-index: 1;
  /* Lowest background layer */
  position: relative;
  /* Straight on the left, perfect round bulge on the right */
  clip-path: ellipse(100% 150% at 0% 50%);
  margin-right: 0;
}

/* Leader Portraits - New Design */
.leader-portraits-new {
  display: flex;
  gap: clamp(15px, 1.2vw, 25px);
  margin-top: clamp(40px, 5vw, 80px);
  margin-bottom: 25px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
}

.port-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  flex: 0 0 auto;
  min-width: clamp(80px, 8vw, 120px);
}

.port-item {
  width: clamp(80px, 9vw, 125px);
  height: clamp(80px, 9vw, 125px);
  overflow: hidden;
  background: white;
  border: 4px solid var(--white-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 50% !important;
  flex-shrink: 0;
  position: relative;
}

.port-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 50%;
  display: block;
}

.port-wrapper:hover .port-item {
  transform: translateY(-8px) scale(1.1);
  border-color: var(--secondary-color);
  box-shadow: 0 15px 30px rgba(170, 17, 10, 0.3);
}

.port-wrapper:hover .port-item img {
  transform: scale(1.15);
}

.port-name {
  font-size: clamp(12px, 0.9vw, 15px);
  /* Dynamic font size */
  font-weight: 800;
  color: var(--white-color);
  font-family: "Mukta Malar", "Inter", sans-serif;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
  max-width: 110px;
  line-height: 1.2;
  transition: all 0.3s ease;
}

.port-wrapper:hover .port-name {
  color: var(--secondary-color);
}

.hero-visual-side {
  flex: 1.2;
  position: relative;
  background: transparent;
  margin-left: -15%;
  z-index: 50;
  overflow: visible;
  pointer-events: none;
  /* Prevents this layer from blocking hover on the 6th image */
}

/* Slider Fixes */
.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  /* Changed from contain to cover */
  background-repeat: no-repeat;
  background-position: center top;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.5s ease-in-out;
  /* Smoother transition */
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 30px;
}

.hero-title span {
  color: var(--highlight-color);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 235, 59, 0.5);
  color: var(--highlight-color);
  padding: 8px 22px;
  border-radius: 50px;
  font-weight: 800;
  margin-bottom: 15px;
  font-size: 0.95rem;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-desc {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 550px;
}

.hero-btns {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.btn-hero-primary {
  background: var(--primary-color);
  color: white;
  padding: 16px 35px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  transition: all 0.3s ease;
  border-radius: var(--btn-radius);
  border: 2px solid var(--secondary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-hero-secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: 16px 35px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  border-radius: var(--btn-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-hero-primary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-5px);
}

/* Static Image Section */
.hero-static-image {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
  transition: var(--transition);
  position: relative;
  z-index: 100;
  /* Ensuring the image itself is top-tier */
}

/* Slider (Kept for reference or other pages) */
/* Slider styles consolidated above */

.slider-controls {
  position: absolute;
  bottom: 50px;
  right: 50px;
  display: flex;
  gap: 15px;
  z-index: 20;
}

.slider-controls button {
  background: white;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: var(--transition);
}

.slider-controls button:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

/* Floating Logo */
.floating-logo {
  position: absolute;
  bottom: 80px;
  left: -120px;
  width: 240px;
  height: 240px;
  background: var(--primary-color);
  border-radius: 50%;
  z-index: 40;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  border: 8px solid #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bottom Wave Shape Divider - Improved */
.hero-bottom-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 101;
}

.hero-bottom-divider svg {
  display: block;
  width: 100%;
  height: 150px;
  /* More prominent wave curve at the bottom */
}

/* Responsive logic moved to en/responsive.css */

/* about section */
.section-padding {
  padding: 70px 0;
  background: var(--white-color);
}

.about-section {
  padding: 70px 0;
  background: var(--white-color);
}

.about-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.about-img {
  flex: 1 1 40%;
  min-width: 280px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
  border: 4px solid var(--primary-light);
}

.about-img img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content {
  flex: 1 1 50%;
}

.about-content h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 700;
}

.about-content h3 {
  font-size: 1.4rem;
  color: var(--accent-color);
  margin-bottom: 20px;
  font-weight: 500;
}

.about-desc {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #444;
  border-left: 6px solid var(--secondary-color);
  padding-left: 24px;
  font-weight: 400;
}

.readmore-btn {
  background-color: var(--primary-color);
  color: white;
  border: 2px solid var(--secondary-color);
  padding: 14px 45px;
  border-radius: var(--btn-radius);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 30px;
  display: inline-block;
}

.readmore-btn:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* =========================
   MODAL STYLES
========================= */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  padding: 20px;
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.4s ease;
}

@keyframes modalFadeIn {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #333;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close-modal:hover {
  color: var(--primary-color);
}

.modal-header {
  text-align: center;
  margin-bottom: 25px;
}

.modal-header h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.modal-header p {
  color: #666;
  font-size: 0.95rem;
}

.join-form .form-group {
  margin-bottom: 15px;
}

.join-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
}

.join-form input,
.join-form select,
.join-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: 0.3s;
}

.join-form input:focus,
.join-form select:focus,
.join-form textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 5px rgba(170, 17, 10, 0.2);
}

.submit-btn {
  width: 100%;
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 10px;
}

.submit-btn:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 5px 15px rgba(170, 17, 10, 0.3);
}

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

.footer {
  background: #2a2a2a;
  /* Darker more professional grey */
  color: #ddd;
  padding: 50px 0 20px;
  /* Reduced padding for correct height */
  border-top: 5px solid var(--primary-color);
  position: relative;
  width: 100%;
}

.footer-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 50%;
  margin-bottom: 25px;
  display: block;
  transition: transform 0.3s ease;
  background: white;
  /* Clean background for the logo */
  padding: 2px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-about p {
  color: #dfdfdf;
  font-size: 1.05rem;
  max-width: 320px;
}

/* Grid Layout */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* Section Headings */
.footer-col h4 {
  color: var(--white-color);
  font-size: 1.2rem;
  margin-bottom: 20px;
  border-left: 4px solid var(--primary-color);
  padding-left: 12px;
  font-weight: 600;
}

/* Text + Links */
.footer-col p,
.footer-col a {
  color: #bbb;
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

/* Hover Effect */
.footer-col a:hover {
  color: var(--secondary-color);
  transform: translateX(6px);
}

/* Icons inside text */
.footer-col i {
  margin-right: 8px;
  color: var(--primary-light);
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icons a {
  color: var(--white-color);
  /* background: var(--primary-dark); */
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  /* background: var(--primary-color); */
  transform: scale(1.1);
}

/* Bottom Section */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 50px;
  margin-left: 20px;
  /* Added left margin */
  margin-right: 20px;
  /* Added right margin */
  padding-top: 20px;
  border-top: 1px solid #333;
  color: #888;
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
  color: #fff;
}

.footer-bottom a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #fff;
  /*text-decoration: underline;*/
}

.footer-logo {
  width: 120px;
  /* Adjust this value as needed */
  height: auto;
  /* Maintains aspect ratio */
  max-width: 100%;
  /* Prevents overflow on mobile */
  display: block;
  /* Removes extra spacing */
  margin-bottom: 15px;
  /* Adds space below logo */
}

/* Optional: If you want a specific height instead */
.footer-logo {
  width: auto;
  height: 60px;
  /* Fixed height */
  max-width: 100%;
  display: block;
  margin-bottom: 15px;
}

/* For mobile devices */
@media (max-width: 768px) {
  .footer-logo {
    width: 100px;
    /* Smaller on mobile */
    height: auto;
    margin: 0 auto 15px auto;
    /* Center the logo on mobile */
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    margin-left: 15px;
    /* Slightly smaller margins on mobile */
    margin-right: 15px;
  }
}

/* =========================
   LANGUAGE TOGGLE SUPPORT
========================= */

/* Default English */
body.english .english-text {
  display: block;
}

body.english .tamil-text {
  display: none;
}

/* Tamil Mode */
body.tamil .english-text {
  display: none;
}

body.tamil .tamil-text {
  display: block;
}

/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .footer {
    padding: 50px 0 20px;
  }

  .footer-col h4 {
    font-size: 1.1rem;
  }
}

/* responsive */
/* Consolidated into responsive.css */

/* ----- LANGUAGE TOGGLE ----- */
.tamil-text,
.tamil-block {
  display: none;
}

.english-text,
.english-block {
  display: inline;
}

.english-block {
  display: block;
}

body.lang-tamil .english-text,
body.lang-tamil .english-block {
  display: none !important;
}

body.lang-tamil .tamil-text,
body.lang-tamil .tamil-block {
  display: inline !important;
}

body.lang-tamil .tamil-block {
  display: block !important;
}

body.lang-tamil .lang-switch .english-text {
  display: none !important;
}

body.lang-tamil .lang-switch .tamil-text {
  display: inline !important;
}

body:not(.lang-tamil) .lang-switch .tamil-text {
  display: none !important;
}

body:not(.lang-tamil) .lang-switch .english-text {
  display: inline !important;
}

/* ===== LEADER BANNER - Clean Center Redesign ===== */
.leader-banner {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 450px;
  background: url("../img/new/newflag.jpg") center center / cover no-repeat;
  background-attachment: fixed;
  /* Parallax effect */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Simple Dark Overlay */
.leader-overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
}

.leader-content {
  color: var(--white-color);
  max-width: 800px;
  width: 90%;
  text-align: center;
  z-index: 5;
}

.leader-title {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.leader-title span {
  color: var(--secondary-color);
  display: block;
  margin-top: 10px;
}

.leader-readmore-btn {
  background: var(--primary-color);
  border: 2px solid var(--secondary-color);
  padding: 14px 40px;
  border-radius: var(--btn-radius);
  color: var(--white-color);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.leader-readmore-btn:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Hidden message */
.leader-message {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease;
  margin-top: 20px;
  font-size: 18px;
}

.leader-message.active {
  max-height: 300px;
}

/* Responsive */
@media (max-width: 768px) {
  .leader-title {
    font-size: 28px;
  }
}

/* updated and events  */
/* ==== Updates Section ==== */
.updates-section {
  padding: 70px 0;
  background: var(--light-bg);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--primary-color);
}

.slider-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.slider-arrows button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--primary-color);
  color: var(--white-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.slider-arrows button:hover {
  background: var(--primary-dark);
}

.updates-wrapper {
  overflow: hidden;
  position: relative;
}

.updates-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease-in-out;
}

.update-card {
  flex: 0 0 100%;
  /* Mobile default */
  background: var(--white-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.update-card:hover {
  transform: translateY(-6px);
}

.update-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.update-content {
  padding: 20px;
}

.update-content h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #aa110a;
}

.update-content p {
  font-size: 14px;
  color: #555;
}

/* Tablet - 2 cards */
@media (min-width: 768px) {
  .update-card {
    flex: 0 0 calc(50% - 15px);
  }
}

/* Laptop/Desktop - 3 cards */
@media (min-width: 1024px) {
  .update-card {
    flex: 0 0 calc(33.333% - 20px);
  }
}

/* Tamil hidden by default */
/* Tamil default */
.english-text,
.english-block {
  display: none;
}

.tamil-text {
  display: inline;
}

.tamil-block {
  display: block;
}

/* map section style started  */
/* --- Section Styling --- */
.join-tkp-section {
  padding: 70px 0;
  background: rgb(170 17 10 / 18%);
}

/* --- Grid / Flex for equal height --- */
.grid-2 {
  display: flex;
  gap: 60px;
  align-items: stretch; /* Reverted to stretch so both are the same height */
  flex-wrap: wrap;
}

.map-wrapper,
.content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- Map Styling --- */
.map-wrapper {
  background: #c9e3f6; /* Ocean color to seamlessly hide any gaps */
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0;
  width: 100%;
}

.map-wrapper object,
.map-wrapper svg,
.map-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  display: block;
  object-fit: contain; /* Contain ensures 0 cuts, while the background fills the rest */
}

/* --- Content Styling --- */
.content-wrapper {
  padding: 20px 0;
}

.content-wrapper h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary-color, #d91407);
  margin-bottom: 1.2rem;
}

.content-wrapper .description {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 2rem;
  max-width: 480px;
}

/* --- Image Styling --- */
.join-image {
  margin: 20px 0;
}

.join-image img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 12px;
}

/* --- Buttons --- */
.buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 35px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--btn-radius);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217, 20, 7, 0.25);
}

.btn-outline {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(170, 17, 10, 0.2);
}

/* Right column background image */
.content-wrapper.right-bg {
  background-image: url("../img/new/join.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
  padding: 40px 30px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Optional: add semi-transparent overlay */
.content-wrapper.right-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.4); */
  /* dark overlay for readability */
  border-radius: 16px;
  z-index: 0;
}

.content-wrapper.right-bg h2,
.content-wrapper.right-bg .description,
.content-wrapper.right-bg .buttons {
  position: relative;
  z-index: 1;
  /* make sure text is above overlay */
}

/* --- Responsive --- */
@media (max-width: 767px) {
  .grid-2 {
    flex-direction: column;
    gap: 30px;
  }

  .map-wrapper {
    order: -1;
    height: auto;
    padding: 0;
  }

  .map-wrapper img,
  .map-wrapper object,
  .map-wrapper svg {
    height: auto;
    object-fit: contain; 
  }

  .join-tkp-section {
    padding: 40px 0;
  }

  .content-wrapper h2 {
    font-size: 2rem;
  }

  .buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  /* Specific fix for showing man's face */
  .content-wrapper.right-bg h2, 
  .content-wrapper.right-bg .description {
    display: none;
  }

  .content-wrapper.right-bg {
    min-height: 380px;
    justify-content: flex-end;
    padding: 20px;
  }
}

/* corrected one  */

/* =========================
   ABOUT PAGE CREATIVE STYLES
========================= */

.about-hero {
  height: 60vh;
  min-height: 365px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  z-index: 1;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(170, 17, 10, 0.8), rgba(0, 0, 0, 0.6));
  z-index: -1;
}

.about-hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.about-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 25px;
  text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
}

.about-hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  opacity: 0.95;
  font-weight: 500;
}

/* Breadcrumb */
.breadcrumb-row {
  background: #fdfdfd;
  padding: 25px 0;
  border-bottom: 1px solid #eee;
}

.breadcrumb-list {
  display: flex;
  gap: 15px;
  font-size: 0.95rem;
  color: #888;
}

.breadcrumb-list a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.about-intro-grid {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  margin-bottom: 100px;
}

.about-intro-text {
  flex: 1.2;
}

.about-intro-visual {
  flex: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-intro-visual img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 40px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
  /* Multi-layered creative border: Red & Yellow Mix */
  border: 8px solid var(--primary-color);
  outline: 8px solid var(--secondary-color);
  /* outline-offset: 12px; */
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* transform: rotate(-3deg); */
  margin: 30px;
}

.about-intro-visual img:hover {
  /* transform: rotate(0deg) scale(1.05); */
  outline-offset: 8px;
  outline-color: var(--secondary-color);
}

.about-intro-text .section-tag {
  color: var(--primary-color);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.about-intro-text h2 {
  font-size: clamp(1rem, 4vw, 2rem);
  margin-bottom: 20px;
  color: var(--accent-color);
}

.about-intro-text p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 25px;
}

/* Grid for Details */
.struggles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin: 80px 0;
}

.struggle-item {
  background: white;
  padding: 45px;
  border-radius: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  transition: 0.4s;
}

.struggle-item:hover {
  transform: translateY(-10px);
  border-color: var(--secondary-color);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.struggle-item i {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  display: block;
}

.struggle-item h4 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--accent-color);
}

/* Quote Box Creative */
.creative-quote {
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--primary-dark));
  padding: 120px 0;
  color: white;
  text-align: center;
  border-radius: 50px;
  margin: 100px 0;
  position: relative;
  overflow: hidden;
}

.creative-quote::before {
  content: "“";
  position: absolute;
  top: -40px;
  left: 80px;
  color: var(--secondary-color);
  font-size: 15rem;
  opacity: 0.5;
  font-family: serif;
}

.creative-quote blockquote {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  max-width: 900px;
  margin: 0 auto;
  font-style: italic;
}

/* Flag Section */
.identity-section {
  background: #f8f9fa;
  padding: 100px 0;
  border-radius: 60px;
}

.identity-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.identity-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Closer */
.about-closer {
  background: var(--accent-color);
  padding: 100px 50px;
  border-radius: 50px;
  color: white;
  text-align: center;
  margin-top: 100px;
}

.about-closer h3 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--secondary-color);
  margin-bottom: 30px;
}

.about-closer p {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 25px;
  opacity: 0.9;
}

.about-closer .bold-win {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 900;
  display: block;
  margin-top: 30px;
  background: linear-gradient(white, #ccc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0px;
}

@media (max-width: 991px) {
  .about-intro-grid {
    flex-direction: column;
    text-align: center;
  }

  .about-intro-visual img {
    transform: rotate(0);
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
  }
}


/* =========================
   BLOG STYLES
========================= */

.blog-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.blog-item {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 40px;
  align-items: flex-start;
  padding-bottom: 50px;
  border-bottom: 1px solid #f0f0f0;
  transition: 0.3s;
}

.blog-item:last-child {
  border-bottom: none;
}

.blog-item:hover .blog-item-img img {
  transform: scale(1.05);
}

.blog-item-img {
  border-radius: 20px;
  overflow: hidden;
  height: 240px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  position: relative;
}

.blog-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-item-content {
  display: flex;
  flex-direction: column;
}

.blog-category {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-category::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--primary-color);
  display: inline-block;
}

.blog-item-content h3,
.blog-details-header h1 {
  font-size: 1.8rem;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 15px;
  font-family: 'Mukta Malar', sans-serif;
  font-weight: 800;
  transition: 0.3s;
}

.blog-details-header h1 {
  font-size: 2rem;
  margin-top: 10px;
}

.blog-item:hover h3 {
  color: var(--primary-color);
}

.blog-item-meta,
.blog-details-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #777;
  font-weight: 500;
}

.blog-item-meta span,
.blog-details-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-item-meta i,
.blog-details-meta i {
  color: #ccc;
}

.blog-item-excerpt {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 25px;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.3s;
}

.blog-read-more i {
  width: 30px;
  height: 30px;
  background: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: 0.3s;
}

.blog-read-more:hover {
  color: var(--primary-color);
}

.blog-read-more:hover i {
  background: var(--primary-color);
  color: white;
  transform: translateX(5px);
}

.blog-section-header {
  text-align: left;
  margin-bottom: 60px;
  border-left: 5px solid var(--primary-color);
  padding-left: 25px;
}

.blog-section-header h2 {
  font-size: 2.8rem;
  color: #1a1a1a;
  font-family: 'Mukta Malar', sans-serif;
  font-weight: 800;
  line-height: 1.1;
}

.blog-section-header p {
  font-size: 1.1rem;
  color: #666;
  margin-top: 10px;
}

/* Blog Details Layout */
.blog-details-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 50px;
  align-items: flex-start;
}

.blog-details-main {
  background: #fff;
}

.blog-details-img {
  width: 100%;
  height: 450px;
  border-radius: 30px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog-details-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-details-content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #444;
}

.blog-details-content p {
  margin-bottom: 25px;
}

.blog-details-content blockquote {
  background: #f9f9f9;
  border-left: 5px solid var(--primary-color);
  padding: 30px;
  margin: 40px 0;
  font-size: 1.2rem;
  font-style: italic;
  color: #1a1a1a;
  font-weight: 500;
}

.blog-details-content h4 {
  font-size: 1.6rem;
  color: #1a1a1a;
  margin: 40px 0 20px;
  font-weight: 700;
}

/* Sidebar Styles */
.blog-sidebar {
  position: sticky;
  top: 120px;
}

.sidebar-widget {
  background: #fff;
  border: 1px solid #eee;
  padding: 30px;
  border-radius: 20px;
  margin-bottom: 30px;
}

.widget-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f5f5f5;
  position: relative;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
}

.recent-post-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  text-decoration: none;
  align-items: center;
}

.recent-post-thumb {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-post-info h5 {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.4;
  transition: 0.3s;
  margin-bottom: 5px;
}

.recent-post-item:hover h5 {
  color: var(--primary-color);
}

.recent-post-info span {
  font-size: 0.8rem;
  color: #999;
}

.share-post {
  display: flex;
  gap: 10px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #eee;
  align-items: center;
}

.share-post span {
  font-weight: 700;
  color: #1a1a1a;
  margin-right: 10px;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.share-btn.fb {
  background: #3b5998;
}

.share-btn.tw {
  background: #1da1f2;
}

.share-btn.wa {
  background: #25d366;
}

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
  .blog-details-wrapper {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    margin-top: 50px;
  }
}

@media (max-width: 868px) {
  .blog-item {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .blog-item-img {
    height: 280px;
  }

  .blog-item-content h3 {
    font-size: 1.5rem;
  }

  .blog-details-header h1 {
    font-size: 2rem;
  }

  .blog-details-img {
    height: 300px;
  }
}

@media (max-width: 400px) {

  .blog-item-meta,
  .blog-details-meta {

    font-size: 0.85rem;
    /* smaller text */

  }
}

/* Sidebar Socials */
.sidebar-socials {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.sidebar-socials .social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: white;
  transition: 0.3s;
  font-size: 18px;
}

.sidebar-socials .fb {
  background: #3b5998;
}

.sidebar-socials .tw {
  background: #00acee;
}

.sidebar-socials .in {
  background: #e4405f;
}

.sidebar-socials .yt {
  background: #ff0000;
}

.sidebar-socials .social-icon:hover {
  opacity: 0.8;
  transform: translateY(-3px);
}

.share-post {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.share-post .share-btn {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  font-size: 16px;
  transition: 0.3s;
}

.share-post .fb {
  background: #3b5998;
}

.share-post .tw {
  background: #00acee;
}

.share-post .share-btn:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.visions{
	padding-bottom:0 !important;
}