/* --------------------------- */
/* ✅ Modern CSS + Variables   */
/* --------------------------- */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --primary-glow: #60a5fa;
  --secondary: #f59e0b;
  --accent: #ec4899;
  --dark: #1f2937;
  --darker: #111827;
  --light: #f8fafc;
  --gray: #64748b;
  --success: #10b981;

  --glass-light: rgba(255, 255, 255, 0.1);
  --glass-dark: rgba(0, 0, 0, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);

  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);

  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  --gradient-accent: linear-gradient(135deg, var(--primary-light), var(--accent));
}

/* --------------------------- */
/* ✅ GLASSMORPHIC NAVBAR      */
/* --------------------------- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.navbar.scrolled {
  padding: 0.8rem 5%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.03);
}

/* ✅ Added your image styling */
.logo img {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 6px rgba(37, 99, 235, 0.2));
}

.logo:hover img {
  transform: scale(1.05) rotate(3deg);
}

.logo h1 {
  font-size: 1.9rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
}

/* Nav Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 10px;
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Login Button */
.btn-login {
  background: var(--gradient-primary);
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-login::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.btn-login:hover::before {
  left: 100%;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37,99,235,0.3);
}

/* --------------------------- */
/* ✅ ABOUT PAGE STYLES         */
/* --------------------------- */

.hero {
  text-align: center;
  padding: 5rem 2rem;
  background: var(--gradient-primary);
  color: rgb(255, 255, 255);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
}

.hero p {
  margin-top: 10px;
  font-size: 1.2rem;
  opacity: 0.9;
}

.about-main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 10%;
  gap: 3rem;
}

.about-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
}

.about-text h2 {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--dark);
}

.about-text p {
  margin-top: 12px;
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.6;
}

.btn-secondary {
  background: var(--accent);
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  border: none;
  margin-top: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.btn-secondary:hover {
  opacity: 0.8;
}

/* Stats Section */
.stats-section {
  text-align: center;
  padding: 4rem 5%;
  background: #f5f7fa;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.stat-box h1 {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.stat-box {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.stat-box h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

/* Mission */
.mission-section {
  margin-top: 4rem;
  background: url('../images/mission-bg.jpg') center/cover no-repeat;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-overlay {
  background: rgba(0,0,0,0.5);
  padding: 2rem 3rem;
  border-radius: 12px;
  text-align: center;
  color: white;
}

.mission-overlay h2 {
  font-size: 2rem;
  font-weight: 700;
}

/* ✨ Animated gradient glow at the top of footer */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 120%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
  transform: translateX(-50%);
  animation: glowSlide 4s linear infinite;
  opacity: 0.6;
}

@keyframes glowSlide {
  0% { background-position: 0 0; }
  100% { background-position: 200% 0; }
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left {
  max-width: 400px;
}

.footer-logo {
  height: 60px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 6px rgba(37, 99, 235, 0.25));
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-desc {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--gray);
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
  text-shadow: 0 0 5px rgba(37, 99, 235, 0.3);
}

.footer-contact p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact i {
  color: var(--primary);
}

/* 🌐 Social Media Icons */
.footer-social {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--gray);
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: var(--primary);
  transform: translateY(-3px);
  text-shadow: 0 0 8px rgba(37, 99, 235, 0.3);
}

/* 🔻 Bottom Copyright Bar */
.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
  color: var(--gray);
  background: transparent;
}

.footer-bottom strong {
  color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-contact p {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-logo {
    margin: 0 auto;
  }
}