@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  --bg-primary: #f8fafc; /* Light Slate */
  --bg-secondary: #f1f5f9; /* Slate 100 */
  --primary-accent: #2563eb; /* Royal Indigo Blue */
  --primary-accent-rgb: 37, 99, 235;
  --highlight-accent: #d97706; /* Golden Amber */
  --highlight-accent-rgb: 217, 119, 6;
  --text-main: #0f172a; /* Slate 900 */
  --text-muted: #475569; /* Slate 600 */
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(15, 23, 42, 0.08);
  --glass-glow: rgba(37, 99, 235, 0.08);
  --card-border-radius: 16px;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(217, 119, 6, 0.03) 0%, transparent 40%);
  background-attachment: fixed;
  position: relative;
}

/* Background Ambient Orbs */
.ambient-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
  animation: orbFloat 20s infinite ease-in-out alternate;
}
.orb-1 {
  background: radial-gradient(circle, var(--primary-accent), transparent 70%);
  top: 15%;
  left: -15%;
}
.orb-2 {
  background: radial-gradient(circle, var(--highlight-accent), transparent 70%);
  top: 60%;
  right: -15%;
  animation-delay: -7s;
}
@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.15); }
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-accent);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 2rem;
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 0.75rem 2rem;
  background: rgba(248, 250, 252, 0.95);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo span {
  background: linear-gradient(135deg, var(--text-main) 60%, var(--highlight-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-main);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-accent), var(--highlight-accent));
  transition: var(--transition-smooth);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--text-main);
  transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  overflow: hidden;
}

.hero-banner-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.22;
  z-index: 0;
  transition: opacity 0.4s ease;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(15, 23, 42, 0.04) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  z-index: 1;
  pointer-events: none;
}


.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  margin-top: 4rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--primary-accent);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-main) 50%, var(--primary-accent) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-accent), #1d4ed8);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.3);
  filter: brightness(1.1);
}

.btn-secondary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.15);
  transform: translateY(-2px);
}

/* Sections & Layouts */
section.wrapper {
  padding: 8rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-main) 60%, var(--primary-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Glass Card */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 12px 40px -12px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.02), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--card-border-radius);
  padding: 2.5rem;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 20px 40px -15px rgba(37, 99, 235, 0.15), 0 1px 4px rgba(15, 23, 42, 0.02);
  transform: translateY(-6px);
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Info Cards / Features (Home page) */
.info-grid {
  margin-top: -4rem;
  position: relative;
  z-index: 10;
  padding: 0 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.info-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-card .icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-accent);
  font-size: 1.75rem;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.info-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Core Members Page & Executive Cards */
.member-card {
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.member-image {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 3px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transition: var(--transition-smooth);
}

.member-card:hover .member-image {
  border-color: var(--highlight-accent);
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.15);
}

.member-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.member-card .role {
  color: var(--highlight-accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Tables Styling (Circulars, Orders, Letters) */
.table-controls {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.search-wrapper {
  position: relative;
  flex: 1;
  min-width: 280px;
}

.search-input {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 2.75rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: var(--transition-smooth);
}

.search-input:focus {
  border-color: var(--primary-accent);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.15);
}

.search-wrapper i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: rgba(255, 255, 255, 0.65);
}

.custom-table th {
  background: rgba(37, 99, 235, 0.05);
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  border-bottom: 2px solid var(--glass-border);
}

.custom-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.custom-table tr:last-child td {
  border-bottom: none;
}

.custom-table tr:hover td {
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.01);
}

.download-link {
  color: var(--highlight-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.download-link:hover {
  color: #fff;
  transform: translateX(3px);
}

/* Contact & Forms */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.info-item {
  display: flex;
  gap: 1.5rem;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary-accent);
  margin-top: 0.25rem;
}

.info-item h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.info-item p {
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--primary-accent);
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Photo Gallery & Lightbox */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  border: 1px solid var(--glass-border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item::after {
  content: '\f00e';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  font-size: 2rem;
  color: #fff;
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 2;
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(37, 99, 235, 0.3);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 1;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover::before, .gallery-item:hover::after {
  opacity: 1;
}

.gallery-item:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(12px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85%;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 2rem;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-smooth);
}

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

/* Copy Bank Details */
.bank-details {
  border: 1px dashed rgba(217, 119, 6, 0.4);
  background: rgba(217, 119, 6, 0.03);
}

.bank-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.bank-detail-row:last-child {
  border-bottom: none;
}

.copy-btn {
  background: none;
  border: none;
  color: var(--highlight-accent);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition-smooth);
  margin-left: 0.5rem;
}

.copy-btn:hover {
  color: var(--primary-accent);
}

/* Timeline/Activities style */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-accent), var(--highlight-accent));
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  margin-bottom: 2rem;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  right: -8px;
  background-color: var(--bg-primary);
  border: 4px solid var(--primary-accent);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.left-item {
  left: 0;
}

.right-item {
  left: 50%;
}

.right-item::after {
  left: -8px;
}

.timeline-content h3 {
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}

.timeline-content .date {
  color: var(--highlight-accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.timeline-content img {
  width: 100%;
  border-radius: 8px;
  margin: 1rem 0;
  border: 1px solid var(--glass-border);
}

/* Close button — desktop pe hide */
.nav-close-row { display: none; }

/* ── Homepage Sections ──────────────────────────────────── */
section.wrapper.home-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
section.wrapper.home-section-alt {
  background: var(--bg-secondary);
}
.home-section-header {
  margin-bottom: 2.5rem !important;
}
.home-section-header h2 {
  font-size: 2.2rem;
}

/* Who We Are cards */
.home-grid-stretch {
  align-items: stretch;
  gap: 1.75rem;
}
.home-card {
  padding: 2rem;
}
.home-card-flex {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.home-mv-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.home-icon-box {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: var(--glass-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}
.home-mv-title {
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.home-text-main {
  color: var(--text-main);
  line-height: 1.85;
  font-size: 0.97rem;
  margin-bottom: 1rem;
}
.home-text-muted {
  color: var(--text-muted);
  line-height: 1.85;
  font-size: 0.93rem;
  margin: 0;
}

/* Core Objectives */
.home-obj-grid {
  gap: 1.25rem;
}
.home-obj-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.home-obj-icon {
  width: 40px;
  height: 40px;
  background: var(--glass-glow);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.home-obj-title {
  color: var(--text-main);
  font-size: 0.97rem;
  font-weight: 600;
  margin: 0;
}
.home-obj-text {
  color: var(--text-muted);
  font-size: 0.87rem;
  line-height: 1.7;
  margin: 0;
}
.home-join-card {
  background: rgba(37,99,235,0.05);
  border-color: rgba(37,99,235,0.18);
}
.home-join-list {
  color: var(--text-muted);
  font-size: 0.87rem;
  line-height: 1.9;
  margin: 0 0 0 0;
  padding-left: 1.1rem;
}
.home-join-list li { margin-bottom: 0.25rem; }
.home-join-list strong { color: var(--text-main); }
.home-join-btn {
  margin-top: 1.1rem;
  font-size: 0.88rem;
  padding: 0.55rem 1.1rem;
  align-self: flex-start;
}

/* Responsive – tablet 768-1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  section.wrapper.home-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
  .home-section-header h2 { font-size: 1.9rem; }
  .home-obj-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Responsive – mobile ≤768px */
@media (max-width: 768px) {
  section.wrapper.home-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .home-section-header {
    margin-bottom: 1.75rem !important;
  }
  .home-section-header h2 { font-size: 1.7rem; }
  .home-section-header p  { font-size: 0.95rem; }
  .home-card { padding: 1.25rem; }
  .home-mv-row { gap: 0.75rem; }
  .home-icon-box { width: 36px; height: 36px; min-width: 36px; font-size: 0.9rem; }
  .home-grid-stretch { gap: 1.25rem; }
  .home-obj-grid { gap: 1rem; }
  .home-obj-card { padding: 1.25rem; }
  .home-join-btn { width: 100%; justify-content: center; }
}

/* Footer Styling */
footer {
  background: var(--bg-secondary);
  padding: 4rem 2rem 2rem 2rem;
  border-top: 1px solid var(--glass-border);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--primary-accent);
  padding-left: 5px;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.maintained-by {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.maintained-by img {
  height: 24px;
  width: auto;
  transition: var(--transition-smooth);
}

.maintained-by img:hover {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.footer-bottom a:hover {
  color: var(--highlight-accent);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--primary-accent);
  color: var(--text-main);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline::after {
    left: 40px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 80px;
    padding-right: 20px;
  }
  .timeline-item::after {
    left: 32px;
  }
  .right-item {
    left: 0;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    gap: 0;
    padding: 5rem 1rem 2rem 1rem;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid var(--glass-border);
    box-shadow: -8px 0 32px rgba(15,23,42,0.12);
    z-index: 10000;
    overflow-y: auto;
  }
  .nav-close-row {
    display: flex !important;
    justify-content: flex-end;
    padding: 0 0.5rem 0.5rem 0;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--glass-border);
  }
  .nav-close-btn {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    line-height: 1;
  }
  .nav-close-btn:hover { color: var(--text-main); background: var(--bg-secondary); }
  .nav-links li {
    display: block;
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 0.9rem 1.1rem;
    font-size: 1rem;
    border-radius: 8px;
    color: var(--text-main);
    font-weight: 500;
    width: 100%;
  }
  .nav-links a::after {
    display: none; /* hide underline indicator on mobile panel */
  }
  .nav-links a:hover, .nav-links a:active {
    background: var(--bg-secondary);
    color: var(--primary-accent);
  }
  .nav-links.active {
    right: 0;
  }
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.4);
    z-index: 999; /* below header (1000) so nav panel stays visible */
  }
  .nav-overlay.active {
    display: block;
  }
  .menu-toggle {
    display: flex;
    z-index: 1200; /* above header */
  }
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  .hero-buttons {
    flex-direction: column;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .contact-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding-top: 1.5rem;
  }
  .maintained-by {
    font-size: 0.82rem;
  }
  .maintained-by img {
    height: 22px;
  }
}
