/* Theme inspired by rajeev.in — clean, modern, bright blue */
:root {
  --blue: #25B9FB;
  --blue-dark: #1A9AE0;
  --blue-deep: #0D47A1;
  --navy: #0A2540;
  --text: #323232;
  --text-muted: #666666;
  --white: #FFFFFF;
  --light-bg: #F5F7FA;
  --border: rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.1);
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  margin: 0;
}
body.lang-as, body.lang-hi {
  font-family: 'Noto Sans Bengali', 'Noto Sans Devanagari', 'Poppins', system-ui, sans-serif;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
}

/* Navbar — bright blue like rajeev.in */
.navbar {
  background: var(--blue);
  padding: 0.7rem 0;
  box-shadow: 0 2px 10px rgba(37, 185, 251, 0.25);
}
.navbar-brand {
  font-weight: 600;
  font-size: 1.15rem;
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.navbar-brand img { width: 38px; height: 38px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.4); }
.nav-link {
  color: rgba(255,255,255,0.95) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.45rem 0.85rem !important;
}
.nav-link:hover { color: #fff !important; opacity: 0.85; }
.lang-switch .btn {
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: transparent;
}
.lang-switch .btn.active {
  background: #fff;
  color: var(--blue);
  border-color: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: #0A2540;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-podium.png') center 22% / cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 37, 64, 0.82) 0%,
    rgba(13, 71, 161, 0.55) 50%,
    rgba(37, 185, 251, 0.25) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 6.5rem 0 4.5rem;
}
.hero-badge {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  margin-bottom: 1.2rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.8rem;
  font-weight: 700;
}
.hero h1 .accent { color: var(--blue); }
.hero .lead {
  font-size: 1.1rem;
  max-width: 540px;
  opacity: 0.92;
  margin-bottom: 1.8rem;
}
.btn-primary-custom {
  background: var(--blue);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 6px;
  font-size: 0.95rem;
}
.btn-primary-custom:hover { background: var(--blue-dark); color: #fff; }
.btn-outline-custom {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  font-weight: 500;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
}
.btn-outline-custom:hover { background: #fff; color: var(--navy); }

/* Sections */
section { padding: 4.5rem 0; }
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.4rem;
}
.section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.5rem; color: var(--navy); }
.section-subtitle { color: var(--text-muted); max-width: 620px; margin-bottom: 2rem; }

/* Profile */
.profile-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.profile-img { width: 100%; height: 460px; object-fit: cover; object-position: center 15%; }
.designation {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Focus cards */
.focus-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem;
  height: 100%;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.25s ease;
}
.focus-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(37, 185, 251, 0.3);
}
.focus-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #E3F4FF, var(--blue));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem; margin-bottom: 0.9rem;
}

/* Timeline */
.timeline { position: relative; padding-left: 1.6rem; }
.timeline::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--blue);
}
.timeline-item { position: relative; margin-bottom: 1.8rem; padding-left: 1rem; }
.timeline-item::before {
  content: '';
  position: absolute; left: -1.75rem; top: 0.3rem;
  width: 12px; height: 12px;
  background: var(--blue);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--blue);
}
.timeline-date { font-size: 0.8rem; color: var(--blue); font-weight: 600; }
.timeline-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* Gallery */
.gallery-grid { columns: 3; column-gap: 0.9rem; }
.gallery-item {
  break-inside: avoid; margin-bottom: 0.9rem;
  position: relative; cursor: pointer;
  border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-item img { width: 100%; display: block; transition: transform 0.35s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(10,37,64,0.8));
  color: #fff; padding: 1.8rem 0.9rem 0.7rem;
  font-size: 0.82rem; opacity: 0; transition: opacity 0.25s;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* News */
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem;
  height: 100%;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.news-meta { font-size: 0.75rem; color: var(--blue); font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; }

/* Contact */
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  height: 100%;
}
.contact-icon { font-size: 1.8rem; color: var(--blue); margin-bottom: 0.5rem; }
.whatsapp-btn { background: #25D366; color: #fff; border: none; }
.whatsapp-btn:hover { background: #20bd5a; color: #fff; }

/* Footer */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 1.2rem;
}
footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
footer a:hover { color: var(--blue); }
.footer-brand { font-weight: 600; color: #fff; font-size: 1.15rem; }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(10,37,64,0.94); z-index: 9999;
  align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; }
.lightbox-close, .lightbox-nav {
  position: absolute; color: #fff; background: rgba(255,255,255,0.15);
  border: none; cursor: pointer; border-radius: 4px;
}
.lightbox-close { top: 1rem; right: 1rem; font-size: 1.6rem; padding: 0.2rem 0.6rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); font-size: 2rem; padding: 0.3rem 0.8rem; }
.lightbox-prev { left: 0.8rem; }
.lightbox-next { right: 0.8rem; }

/* Mobile contact */
.mobile-contact {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--blue); padding: 0.5rem 0;
  z-index: 1000; justify-content: space-around;
  box-shadow: 0 -3px 12px rgba(0,0,0,0.15);
}
@media (max-width: 991px) {
  .gallery-grid { columns: 2; }
  .mobile-contact { display: flex; }
  .hero { min-height: 80vh; }
  .profile-img { height: 340px; }
}
@media (max-width: 576px) {
  .gallery-grid { columns: 1; }
  .hero-content { padding: 5.5rem 0 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

.form-control:focus, .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 0.2rem rgba(37, 185, 251, 0.2);
}
.bg-light-section { background: var(--light-bg); }
