/* 
========================================
   ANAN SHEIKH - BNP POLITICAL WEBSITE
   Style Sheet
   Theme: Patriotic, Modern, Trusted
========================================
*/

:root {
  --bnp-red: #c4161c;
  --bnp-green: #006a4e;
  --white: #ffffff;
  --black: #1a1a1a;
  --gray-light: #f8fafc;
  --gray-dark: #1e293b;
  --text-color: #334155;
  --transition-speed: 0.5s;
  --font-bangla: "Hind Siliguri", "Tiro Bangla", sans-serif;
  --font-english: "Inter", "Roboto", sans-serif;
  
  /* Theme Colors (Default Light) */
  --bg-color: #f8fafc;
  --section-bg: #ffffff;
  --card-bg: #ffffff;
  --nav-bg: rgba(255, 255, 255, 0.9);
  --header-text: #1e293b;
  --nav-text: #334155;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --border-color: #e2e8f0;
}

[data-theme="dark"] {
  --bg-color: #020617;
  --section-bg: #0f172a;
  --card-bg: #1e293b;
  --nav-bg: rgba(2, 6, 23, 0.9);
  --white: #f8fafc;
  --text-color: #cbd5e1;
  --header-text: #f8fafc;
  --nav-text: #f8fafc;
  --gray-light: #1e293b;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  --border-color: #334155;
}

/* Reset & Basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-bangla);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 1.5s ease, color 0.5s ease;
  
  /* Advanced Mesh Gradient Background */
  background: var(--bg-color);
  min-height: 100vh;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  transition: color 0.5s ease;
  position: relative;
}

/* Moving Mesh Hotspots */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: 
    radial-gradient(circle at 10% 20%, rgba(0, 106, 78, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(196, 22, 28, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(0, 106, 78, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 10%, rgba(196, 22, 28, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 20% 90%, rgba(0, 106, 78, 0.15) 0%, transparent 40%);
  filter: blur(35px);
  animation: meshMove 15s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes meshMove {
  0% { transform: scale(1) translate(0, 0); }
  25% { transform: scale(1.1) translate(2%, 3%); }
  50% { transform: scale(1.05) translate(-3%, 2%); }
  75% { transform: scale(1.15) translate(1%, -4%); }
  100% { transform: scale(1) translate(0, 0); }
}

/* Subtle Animated Grain Overlay for Texture */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  animation: grainShift 8s steps(10) infinite;
}

@keyframes grainShift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-1%, -1%); }
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-speed);
}

/* Cinematic Light Rays Backdrop */
.bg-light-rays {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.01) 0px,
    rgba(255, 255, 255, 0.01) 100px,
    transparent 100px,
    transparent 200px
  );
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
}

/* Organic Floating Blobs (Nationalist Colors) */
.bg-blob {
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 106, 78, 0.07) 0%, transparent 70%);
  z-index: -1;
  filter: blur(100px);
  animation: blobMove 25s infinite alternate ease-in-out;
  pointer-events: none;
}

.bg-blob-red {
  display: none; /* Re-ensuring cleanup */
}

/* 
===================
   News Ticker (Top Bar)
===================
*/
.news-ticker-top {
  position: sticky;
  top: 70px; /* Right after navbar */
  width: 100%;
  background: var(--nav-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  height: 45px;
  display: flex;
  align-items: center;
  z-index: 999;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.ticker-live-badge {
  background: var(--bnp-red);
  color: white;
  padding: 0 15px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 1px;
  z-index: 10;
  clip-path: polygon(0 0, 85% 0, 100% 100%, 0% 100%);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(255, 255, 255, 0.4);
  animation: pulseLive 1.5s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.ticker-wrapper {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-list {
  display: flex;
  white-space: nowrap;
  animation: scrollLeftNews 30s linear infinite;
  gap: 50px;
}

.ticker-list:hover {
  animation-play-state: paused;
}

@keyframes scrollLeftNews {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  color: var(--nav-text);
  font-weight: 500;
  font-size: 0.95rem;
}

.ticker-item a:hover {
  color: var(--bnp-green);
}

@keyframes blobMove {
  0% { transform: translate(-10%, -10%) scale(1); }
  50% { transform: translate(50%, 40%) scale(1.2); }
  100% { transform: translate(20%, 80%) scale(1); }
}

/* Theme Toggle Button */
.theme-toggle {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--shadow);
}

.theme-toggle:hover {
  transform: rotate(30deg) scale(1.1);
  background: var(--bnp-green);
  color: white;
}

/* Lightbox Styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 6, 23, 0.98);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(10px);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox.active .lightbox-content {
  transform: translateY(0);
}

#lightbox-container img,
#lightbox-container video {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
  position: absolute;
  top: -60px;
  right: -20px;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  transition: transform 0.3s;
}

.lightbox-close:hover {
  transform: rotate(90deg);
  color: var(--bnp-red);
}

.lightbox-caption {
  color: #fff;
  text-align: center;
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: 500;
}

/* 
===================
   NAVIGATION
===================
 */
.navbar {
  background-color: var(--nav-bg);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

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

.logo {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--bnp-green);
  letter-spacing: -1px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, var(--bnp-green), #00a87d, var(--bnp-green));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: logoShimmer 3s linear infinite;
}

.logo span {
  background: linear-gradient(90deg, var(--bnp-red), #ff4d5a, var(--bnp-red));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: logoShimmer 3s linear infinite;
}

@keyframes logoShimmer {
  0% { background-position: 0% center; }
  100% { background-position: -200% center; }
}

.logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(0, 106, 78, 0.3));
}

.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  color: var(--nav-text);
  font-size: 1rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--bnp-green);
  transition: width 0.3s ease;
}

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

.nav-links a:hover {
  color: var(--bnp-green);
  transform: translateY(-1px);
}

/* Glassmorphism Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .navbar {
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: var(--header-text);
  text-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

[data-theme="dark"] h1, 
[data-theme="dark"] h2, 
[data-theme="dark"] h3 {
  text-shadow: 0 0 20px rgba(0, 106, 78, 0.2);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  padding: 10px 24px;
  background-color: var(--bnp-green);
  color: var(--white);
  border-radius: 8px;
  font-weight: bold;
  border: 2px solid var(--bnp-green);
  cursor: pointer;
  transition: all 0.3s;
}

.btn:hover {
  background-color: transparent;
  color: var(--bnp-green);
  transform: translateY(-2px);
}

.btn-red {
  background-color: var(--bnp-red);
  border-color: var(--bnp-red);
}

.btn-red:hover {
  color: var(--bnp-red);
}

.section-padding {
  padding: 100px 0;
}

.text-center { text-align: center; }
.text-red { color: var(--bnp-red); }
.text-green { color: var(--bnp-green); }

/* 
===================
   LOADING SCREEN
===================
 */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.8s;
  overflow: hidden;
}

.loader-bg-glow {
  position: absolute;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 106, 78, 0.2), transparent 40%),
              radial-gradient(circle at 70% 70%, rgba(196, 22, 28, 0.2), transparent 40%);
  animation: glowMove 10s ease-in-out infinite alternate;
  pointer-events: none;
}

.loader-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.premium-loader {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.loader-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid transparent;
  border-top-color: var(--bnp-green);
  border-bottom-color: var(--bnp-green);
  border-radius: 50%;
  animation: ringSpin 1.5s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite;
}

.loader-ring-outer {
  position: absolute;
  width: 140%;
  height: 140%;
  border: 2px dashed var(--bnp-red);
  border-radius: 50%;
  animation: ringSpinReverse 4s linear infinite;
  opacity: 0.3;
}

.loader-logo {
  font-family: var(--font-english);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
  animation: logoPulse 1.5s ease-in-out infinite, floating 3s ease-in-out infinite;
}

.loader-progress {
  width: 240px;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1px;
  overflow: hidden;
  margin-bottom: 25px;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(to right, var(--bnp-green), var(--bnp-red), var(--bnp-green));
  background-size: 200% 100%;
  animation: progressLoad 4s cubic-bezier(0.65, 0, 0.35, 1) forwards, gradientMove 2s linear infinite;
}

.loading-text {
  font-family: var(--font-bangla);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: letterSpacing 4s ease-in-out infinite, fadeText 1.5s ease-in-out infinite;
}

@keyframes ringSpin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.05); filter: brightness(1.3); }
}

@keyframes progressLoad {
  0% { width: 0%; }
  100% { width: 100%; }
}

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

@keyframes letterSpacing {
  0%, 100% { letter-spacing: 2px; }
  50% { letter-spacing: 6px; }
}

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

@keyframes fadeText {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.lang-toggle {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.85rem;
  transition: all 0.3s;
}

.lang-toggle:hover {
  background: var(--gray-light);
  border-color: var(--bnp-green);
}

/* HERO SECTION */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 106, 78, 0.45), rgba(0, 0, 0, 0.65)),
              url("../assets/images/bnp_hero_bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
  transition: background 0.5s ease;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 900px;
  padding: 40px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 15px;
  text-shadow: 0 5px 15px rgba(0,0,0,0.5);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 40px;
  display: inline-block;
  padding: 12px 35px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 5px solid var(--bnp-green);
  border-right: 5px solid var(--bnp-red);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  font-weight: 500;
  letter-spacing: 1px;
  animation: fadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Hero Text Reveal Effect */
.hero-title {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  overflow: hidden;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-subtitle:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.slogan-slider {
  font-size: 1.8rem;
  font-weight: bold;
  background: var(--card-bg);
  color: var(--header-text);
  padding: 15px 35px;
  display: inline-block;
  border-radius: 100px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  animation: zoomIn 1.5s ease-out;
  min-width: 350px;
}

/* 
===================
   PROFILE SECTION
===================
 */
.profile-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-left: 6px solid var(--bnp-green);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

[data-theme="dark"] .profile-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-card:hover {
  transform: translateY(-15px) scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.profile-img-container {
  flex: 1;
  min-width: 300px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 3px solid var(--bnp-green);
}

.profile-info {
  flex: 2;
  min-width: 300px;
}

.profile-name {
  color: var(--header-text);
  margin-bottom: 5px;
}

.designation-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.designation-list li::before {
  content: "★";
  color: var(--bnp-red);
  position: absolute;
  left: 0;
  top: 2px;
}

.quote-box {
  background: var(--gray-light);
  border-left-color: var(--bnp-red);
  color: var(--text-color);
}

/* 
===================
   TIMELINE SECTION
===================
 */
.timeline-section {
  background-color: var(--section-bg);
  position: relative;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 50px auto;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 4px;
  background: linear-gradient(to bottom, var(--bnp-green), var(--bnp-red), var(--bnp-green));
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  box-shadow: 0 0 10px rgba(0, 106, 78, 0.2);
}

.timeline-item {
  padding: 20px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.timeline-item::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--card-bg);
  border: 4px solid var(--bnp-green);
  top: 25px;
  border-radius: 50%;
  z-index: 1;
}

.left { left: 0; }
.right { left: 50%; }

.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid var(--card-bg);
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent var(--card-bg);
}

.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid var(--card-bg);
  border-width: 10px 10px 10px 0;
  border-color: transparent var(--card-bg) transparent transparent;
}

.right::after { left: -10px; }

.timeline-content {
  padding: 25px 35px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
}

[data-theme="dark"] .timeline-content {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-content:hover {
  border-color: var(--bnp-green);
  box-shadow: 0 15px 35px rgba(0, 106, 78, 0.1);
  transform: translateY(-5px);
}

.timeline-item::after {
  background-color: var(--card-bg);
  border-color: var(--bnp-green);
}

.timeline-media {
  margin-top: 15px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 15px;
}

.timeline-media img,
.timeline-media .video-container {
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.timeline-media video {
  width: 100%;
  height: auto;
  display: block;
}

.video-container .video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(196, 22, 28, 0.85); /* BNP Red */
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  z-index: 5;
  pointer-events: none; /* Let clicks pass through to container */
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.timeline-media .video-container:hover .video-play-btn {
  background: var(--bnp-green);
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 0 30px rgba(0, 106, 78, 0.5);
}

.timeline-media img:hover,
.timeline-media .video-container:hover {
  transform: scale(1.05) rotate(1deg);
  border-color: var(--bnp-red);
  box-shadow: 0 10px 40px rgba(196, 22, 28, 0.3);
  z-index: 10;
}

/* Image Floating Animation */
.profile-img-container img,
.timeline-media img {
  animation: imageFloat 6s ease-in-out infinite;
}

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

.date-badge {
  background: linear-gradient(45deg, var(--bnp-red), #e60000);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(196, 22, 28, 0.2);
}

/* 
===================
   Extra Pages
===================
*/
.page-header {
  background: linear-gradient(135deg, var(--bnp-green), #004d38);
  color: var(--white);
  padding: 140px 0 60px;
  text-align: center;
}

.iframe-container {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

/* 
===================
   News Ticker (Sidebar)
===================
*/
/* Cleaned up old news ticker */

/* 
===================
   FOOTER
===================
*/
footer {
  background-color: var(--gray-dark);
  color: var(--white);
  padding: 40px 0 20px;
  text-align: center;
}

.social-links {
  margin-bottom: 20px;
}

.social-links a {
  color: var(--white);
  font-size: 1.5rem;
  margin: 0 10px;
}

.social-links a:hover {
  color: var(--bnp-green);
}

/* 
===================
   RESPONSIVE
===================
*/
@media screen and (max-width: 1024px) {
  .nav-links {
    gap: 15px;
  }
}

@media screen and (max-width: 768px) {
  /* Container & Layout */
  .container {
    width: 95%;
    padding: 0 10px;
  }

  body {
    overflow-x: hidden;
  }

  .section-padding {
    padding: 60px 0;
  }

  /* Navbar */
  .navbar {
    padding: 10px 0;
    height: 70px;
    display: flex;
    align-items: center;
  }

  .hamburger {
    display: block;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--bnp-green);
    user-select: none;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px 0;
    gap: 30px;
    z-index: 1001;
    border-top: 1px solid var(--border-color);
  }

  .nav-links.active {
    display: flex;
    animation: slideDown 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-links li a {
    font-size: 1.2rem;
  }

  /* News Ticker */
  .news-ticker-top {
    top: 70px;
    height: 40px;
  }

  .ticker-live-badge {
    padding: 0 10px;
    font-size: 0.7rem;
  }

  .ticker-item {
    font-size: 0.85rem;
  }

  /* Hero Section */
  .hero {
    height: auto;
    min-height: 80vh;
    padding-top: 130px;
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    padding: 10px 20px;
    margin-bottom: 30px;
  }

  .slogan-slider {
    font-size: 1.2rem;
    padding: 12px 25px;
    min-width: unset;
    width: 90%;
  }

  /* Profile Card */
  .profile-card {
    padding: 25px;
    gap: 30px;
    text-align: center;
  }

  .profile-img-container {
    min-width: 100%;
  }

  .profile-info {
    min-width: 100%;
  }

  .designation-list {
    text-align: left;
    display: inline-block;
  }

  /* Timeline */
  .timeline::after {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 10px;
    margin-bottom: 30px;
  }

  .timeline-item::after {
    left: 10px;
  }

  .left::before,
  .right::before {
    left: 40px;
    border: medium solid var(--card-bg);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--card-bg) transparent transparent;
  }

  .right {
    left: 0%;
  }

  .timeline-content {
    padding: 20px;
  }

  .timeline-media {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Lightbox */
  .lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .timeline-media {
    grid-template-columns: 1fr;
  }

  .footer p {
    font-size: 0.9rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  50% {
    opacity: 1;
  }
}
