* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0f172a;
  color: #e5e7eb;
}
.home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* Deep dark base */
  background-color: #020617; 
  /* Layered gradients for a "cloudy" glow effect */
  background-image: 
    radial-gradient(at 0% 0%, rgba(56, 189, 248, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(129, 140, 248, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(56, 189, 248, 0.1) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(15, 23, 42, 1) 0px, transparent 50%);
  overflow: hidden;
}
/* ANIMATION BASE */
.hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* NAVBAR */
header {
  background: rgba(2, 6, 23, 0.8); /* Semi-transparent */
  backdrop-filter: blur(12px);    /* The "frosted glass" effect */
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* NAVBAR - Centering the links */
.navbar {
  max-width: 1100px;
  margin: auto;
  padding: 15px;
  display: flex;
  justify-content: center; /* Changed from space-between to center */
  align-items: center;
  position: relative;
}

/* Position the logo to the left so links stay truly centered */
.logo {
  color: #38bdf8;
  position: absolute; 
  left: 15px;
}

.nav-links {
  display: flex;
  gap: 30px; /* Increased gap for a cleaner look */
  list-style: none;
}

/* Removing the underline and styling links */
.nav-links a {
  text-decoration: none; /* This removes the default underline */
  color: #cbd5e1;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #38bdf8;
}

/* HERO */
.hero {
  height: 90vh;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}

.hero span {
  color: #38bdf8;
}

.btn {
  align-self: center;
  padding: 12px 30px;
  background: #38bdf8;
  color: #020617;
  border-radius: 5px;
  transition: transform 0.3s;
}

.btn:hover {
  transform: scale(1.05);
}

/* SECTIONS */
.section {
  max-width: 1100px;
  margin: auto;
  padding: 80px 20px;
}

.section h2 {
  color: #38bdf8;
  margin-bottom: 30px;
}

/* PROJECTS GRID */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.project-card {
  background: #020617;
  padding: 20px;
  border-radius: 12px;
  transition: transform 0.4s, box-shadow 0.4s;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(56,189,248,0.3);
}

.project-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.project-links {
  margin-top: 10px;
  display: flex;
  gap: 15px;
}

.project-links a {
  color: #38bdf8;
}

/* CONTACT */
.socials {
  font-size: 30px;
  display: flex;
  gap: 25px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #020617;
}
/* HOME SECTION */
.home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #020617, #0f172a);
  padding: 80px 20px;
}

.home-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

/* TEXT */
.home-text h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.home-text span {
  color: #38bdf8;
}

.home-text h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #cbd5f5;
}

.home-text p {
  max-width: 500px;
  color: #cbd5e1;
  line-height: 1.7;
}
.home-text h1 {
  font-size: 64px; /* Increased size */
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 15px;
}

/* Gradient effect for your name */
.home-text h1 span {
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Add this to your CSS */
.home-image::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}
/* BUTTONS */
.home-buttons {
  margin-top: 30px;
  display: flex;
  gap: 20px;
}

.btn {
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn.primary {
  background: #38bdf8;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.2);
}

.btn.primary:hover {
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.5); /* Glow effect */
  transform: translateY(-3px);
}

.btn.outline {
  border: 1px solid #38bdf8;
  color: #38bdf8;
}

.btn.outline:hover {
  background: #38bdf8;
  color: #020617;
}

/* IMAGE */
.home-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.home-image img {
  width: 320px;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  animation: float 4s ease-in-out infinite;
}

/* FLOATING TAGS */
.tag {
  position: absolute;
  background: rgba(15,23,42,0.9);
  border: 1px solid #38bdf8;
  color: #38bdf8;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
  animation: tagFloat 3s ease-in-out infinite;
}

.tag-top {
  top: -20px;
  right: 40px;
}

.tag-left {
  left: -30px;
  top: 50%;
}

.tag-right {
  right: -30px;
  bottom: 40px;
}

/* ANIMATIONS */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

@keyframes tagFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* RESPONSIVE */
@media (min-width: 900px) {
  .home-text p, .home-buttons {
    margin-left: 60px;
  }
}
  .home-buttons {
    justify-content: center;
  }

  .home-image {
    margin-top: 40px;
  }
}
/* Move paragraph and buttons slightly to the right */
.home-text p,
.home-buttons {
  margin-left: 60px; /* adjust: 20px / 30px / 40px */
}
.nav-links a {
  color: #cbd5e1;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #38bdf8;
}

/* underline animation */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #38bdf8;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}
.nav-links a.active {
  color: #38bdf8;
}

.nav-links a.active::after {
  width: 100%;
}
/* PROJECTS PAGE */
.projects-section {
  text-align: center;
  padding: 60px 20px;
  min-height: 100vh;
  background: #0f172a;
  color: #e5e7eb;
}

.section-title {
  font-size: 36px;
  color: #38bdf8;
  margin-bottom: 40px;
  font-weight: 600;
}

/* Projects Grid */
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
  padding-bottom: 40px;
}

/* Project Card */
.project-card {
  background: #020617;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(56,189,248,0.4);
}

.project-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* Project Info */
.project-info {
  padding: 18px 22px;
  text-align: left;
}

.project-info h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #38bdf8;
}

.project-info p {
  font-size: 15px;
  margin-bottom: 12px;
  color: #cbd5e1;
}

/* Tags */
.project-tags span {
  display: inline-block;
  margin-right: 8px;
  font-size: 13px;
  color: #38bdf8;
}

/* Project Links */
.project-links {
  margin-top: 12px;
}
.project-links a {
  font-size: 15px;
  margin-right: 15px;
  color: #38bdf8;
  transition: color 0.3s ease;
}

.project-links a:hover {
  color: #7dd3fc;
}
/* --- PREMIUM HERO STYLING --- */
.home {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.05) 0%, transparent 50%), #020617;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Background Outline Text */
.bg-text {
  position: absolute;
  font-size: clamp(100px, 20vw, 300px);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(56, 189, 248, 0.04);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

/* Typing Effect Cursor */
.cursor {
  color: #38bdf8;
  animation: blink 0.8s infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* 3D Image Wrapper */
.image-wrapper {
  position: relative;
  perspective: 2000px;
}

.home-image img {
  width: 320px;
  border-radius: 24px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  transform: rotateY(-15deg) rotateX(10deg);
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.5);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.home-image:hover img {
  transform: rotateY(0deg) rotateX(0deg) scale(1.05);
  border-color: #38bdf8;
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.2);
}

/* Glassmorphism Tags */
.tag {
  position: absolute;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  padding: 8px 16px;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.4s;
}

.tag:hover {
  background: #38bdf8;
  color: #020617;
}

/* Shimmer Button Effect */
.btn.primary {
  position: relative;
  overflow: hidden;
}

.btn.primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20%;
  height: 200%;
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(30deg);
  transition: none;
}

.btn.primary:hover::after {
  left: 140%;
  transition: all 0.6s ease-in-out;
}

/* Scroll Mouse Icon */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.mouse {
  width: 22px;
  height: 35px;
  border: 2px solid #cbd5e1;
  border-radius: 20px;
  position: relative;
}

.mouse::before {
  content: '';
  width: 4px;
  height: 4px;
  background: #38bdf8;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  animation: mouse-scroll 1.5s infinite;
}

@keyframes mouse-scroll {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 15px); opacity: 0; }
}
/* PROJECTS PAGE SPECIFIC */
.projects-section {
  position: relative;
  padding: 100px 20px;
  background: #020617;
}

.section-title span {
  color: #38bdf8;
  font-weight: 800;
}

/* Card Styling */
.project-card {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover {
  transform: translateY(-12px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Image Hover Effect */
.project-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.1);
}

/* Badge Tags */
.tag-badge {
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(56, 189, 248, 0.2);
  margin-right: 5px;
}

/* Link Styling */
.project-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 15px;
  font-size: 14px;
}

.project-links i {
  font-size: 16px;
}

/* Background Glow */
.glow-bg {
  position: absolute;
  top: 10%;
  left: 50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
  transform: translateX(-50%);
  z-index: 0;
}
/* CERTIFICATIONS PAGE */
.cert-section {
  position: relative;
  padding: 100px 20px;
  min-height: 100vh;
  background: #020617;
  text-align: center;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 40px auto;
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(10px);
  padding: 25px;
  border-radius: 15px;
  border-left: 4px solid #38bdf8; /* Accent line */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: left;
  transition: all 0.3s ease;
}

.cert-card:hover {
  transform: translateX(10px); /* Slides slightly right on hover */
  background: rgba(56, 189, 248, 0.1);
  box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.3);
}

.cert-icon {
  font-size: 35px;
  color: #38bdf8;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.3));
}

.cert-content h3 {
  font-size: 18px;
  margin-bottom: 5px;
  color: #f8fafc;
}

.issuer {
  color: #38bdf8;
  font-weight: 600;
  font-size: 14px;
}

.date {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 12px;
}

.verify-link {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #e2e8f0;
  text-decoration: none;
  border-bottom: 1px dotted #38bdf8;
  padding-bottom: 2px;
  transition: 0.3s;
}

.verify-link:hover {
  color: #38bdf8;
  border-bottom-style: solid;
}
/* RECOGNITION PAGE STYLES */
.recognition-section {
  padding: 100px 20px;
  background: #020617;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.recognition-container {
  max-width: 1000px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
}

/* Featured Award Card */
.featured-award {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  box-shadow: 0 0 50px rgba(56, 189, 248, 0.1);
}

.award-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
  border: 1px solid #38bdf8;
}

.award-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.award-text h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #fff;
}

.award-issuer {
  color: #38bdf8;
  font-weight: 600;
  margin-bottom: 15px;
}

.award-description {
  line-height: 1.8;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.award-meta {
  display: flex;
  gap: 20px;
  color: #94a3b8;
  font-size: 14px;
}

/* Award Image with "Shine" animation */
/* This controls the container size */
.award-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  
  /* ADD THESE TWO LINES */
  max-width: 400px; /* Adjust this number (300px, 400px, etc.) to your liking */
  margin: 0 auto;   /* Centers it if the column is wider than the image */
}
.section-title {
  text-align: center;   /* This centers the text */
  width: 100%;          /* Ensures it takes up the full width of the container */
  margin-bottom: 40px;  /* Adds some space below the title */
  font-size: 36px;      /* Matches the modern look we've been building */
}

/* If you want the blue span to be even more prominent when centered */
.section-title span {
  display: inline-block; 
  color: #38bdf8;
}
/* This ensures the image stays inside the container */
.award-image img {
  width: 50%;
  height: auto;     /* Maintains the original proportions */
  display: block;
  transition: transform 0.5s ease;
}
.img-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  animation: shine 4s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: 150%; }
  100% { left: 150%; }
}

/* Responsive */
@media (max-width: 850px) {
  .award-content {
    grid-template-columns: 1fr;
  }
}
.bg-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* Keeps it behind text */
  pointer-events: none;
}

.blob {
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(56, 189, 248, 0.2);
  filter: blur(80px); /* This creates the "glow" look */
  border-radius: 50%;
  z-index: -1;
}

.blob-1 {
  top: -100px;
  right: -100px;
  animation: move1 20s infinite alternate;
}

.blob-2 {
  bottom: -100px;
  left: -100px;
  background: rgba(129, 140, 248, 0.15); /* Slightly different color */
  animation: move2 25s infinite alternate;
}

@keyframes move1 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-200px, 200px) scale(1.2); }
}

@keyframes move2 {
  from { transform: translate(0, 0) scale(1.2); }
  to { transform: translate(200px, -200px) scale(1); }
}
.home::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px; /* Size of the grid squares */
  pointer-events: none;
  z-index: 1;
}
/* LIGHT ANIMATION STYLES */
#spotlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none; /* Important: allows clicking buttons through the light */
  z-index: 1;
  transform: translate(-50%, -50%); /* Centers the light on the mouse tip */
  transition: opacity 0.3s ease;
  opacity: 0; /* Hidden until mouse moves */
}

.home:hover #spotlight {
  opacity: 1; /* Shows light when mouse enters the home section */
}

/* Ensure the home section is the boundary for the light */
.home {
  position: relative;
  overflow: hidden;
}
@keyframes float-light {
  0% { left: 10%; top: 10%; }
  50% { left: 90%; top: 50%; }
  100% { left: 10%; top: 90%; }
}

#spotlight {
  animation: float-light 15s infinite alternate ease-in-out;
}
/* FOOTER IMPROVEMENTS */
.main-footer {
  margin-top: auto; /* This is the "magic" line that pushes it to the bottom */
  background: rgba(2, 6, 23, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(56, 189, 248, 0.1);
  padding: 40px 20px 20px;
  width: 100%;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* Fix for the bottom row */
.footer-bottom {
  max-width: 1100px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-info h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

.footer-info p {
  max-width: 300px;
  line-height: 1.6;
  font-size: 14px;
}

.footer-nav h4, .footer-socials h4 {
  color: #38bdf8;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav ul li {
  margin-bottom: 10px;
}

.footer-nav a {
  text-decoration: none;
  color: #94a3b8;
  transition: 0.3s;
}

.footer-nav a:hover {
  color: #38bdf8;
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  font-size: 20px;
  color: #cbd5e1;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #38bdf8;
  transform: translateY(-3px);
}

/* FOOTER BOTTOM */
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* Back to Top Button */
#backToTop {
  background: #38bdf8;
  color: #020617;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#backToTop:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-info p {
    margin: 0 auto;
  }
  .social-icons {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }
}
.social-icons {
  display: flex;
  gap: 15px;
  margin-left: 15px; /* Adjust this number (10px, 20px, etc.) to shift them right */
}
.footer-socials {
  padding-left: 20px; /* This shifts the entire column to the right */
}
.footer-socials {
  justify-self: end; /* This pushes the entire section to the far right of its grid cell */
}
/* PROJECTS CONTAINER */
.projects-container {
  display: grid;
  /* This creates columns that are smaller (max 300px) */
  grid-template-columns: repeat(auto-fit, minmax(280px, 320px)); 
  gap: 25px;
  justify-content: center; /* Centers the whole grid on the page */
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* SMALLER PROJECT CARDS */
.project-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: #38bdf8;
}

/* FIXED IMAGE HEIGHT (Prevents huge images) */
.project-img {
  width: 100%;
  height: 160px; /* Small fixed height */
  overflow: hidden;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Crops image to fit the small box perfectly */
}

/* COMPACT TEXT */
.project-info {
  padding: 15px;
}

.project-info h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #fff;
}

.project-info p {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.4;
  margin-bottom: 12px;
}

/* TAGS & LINKS */
.project-tags span {
  font-size: 0.75rem;
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  padding: 3px 8px;
  border-radius: 4px;
  margin-right: 5px;
}

.project-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.project-links a {
  font-size: 0.85rem;
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}

.project-links a:hover {
  color: #38bdf8;
}
.projects-section {
  position: relative;
  padding: 100px 20px;
  min-height: 100vh;
  background-color: #020617; /* Deep base */
  
  /* Layered Mesh Gradient */
  background-image: 
    radial-gradient(at 0% 0%, rgba(56, 189, 248, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(129, 140, 248, 0.05) 0px, transparent 50%);
  
  overflow: hidden;
}

/* Add a floating light orb in the background */
.projects-section::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: float-bg 20s infinite alternate ease-in-out;
}

@keyframes float-bg {
  0% { transform: translate(0, 0); }
  100% { transform: translate(300px, 200px); }
}
.projects-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Ensure the projects container stays above the background effects */
.projects-container {
  position: relative;
  z-index: 2;
}

.section-title {
  position: relative;
  z-index: 2;
}
/* --- EVENTS PAGE STYLING --- */
.events-body { background-color: #020617; color: white; font-family: sans-serif; }
.events-page { padding: 120px 5%; max-width: 1200px; margin: 0 auto; }

.section-divider {
    border: 0; height: 1px;
    background: linear-gradient(90deg, transparent, #38bdf8, transparent);
    margin: 60px 0;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; margin-top: 40px;
}

.event-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px; overflow: hidden;
    cursor: pointer; transition: 0.3s;
}

.event-card:hover { border-color: #38bdf8; transform: translateY(-5px); }

.event-banner { position: relative; height: 150px; }
.event-banner img { width: 100%; height: 100%; object-fit: cover; }

.badge {
    position: absolute; top: 10px; right: 10px;
    background: #38bdf8; color: #020617;
    padding: 3px 10px; font-size: 11px; font-weight: bold; border-radius: 4px;
}

.event-info { padding: 20px; }
.event-meta { color: #38bdf8; font-size: 13px; margin-bottom: 15px; }

.impact-evidence { display: flex; gap: 10px; }
.evidence-box {
    flex: 1; background: rgba(15, 23, 42, 0.8);
    border-radius: 8px; padding: 5px; text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05); transition: 0.3s;
}
.evidence-box:hover { background: rgba(56, 189, 248, 0.1); }
.evidence-box img { width: 100%; height: 60px; object-fit: cover; border-radius: 5px; }
.evidence-box span { font-size: 10px; color: #94a3b8; display: block; margin-top: 5px; }

/* --- MODAL & LIGHTBOX --- */
.modal, .lightbox {
    display: none; position: fixed; inset: 0;
    background: rgba(2, 6, 23, 0.95); z-index: 10000;
    backdrop-filter: blur(10px);
}

.modal-content {
    background: #1e293b; border: 1px solid #38bdf8;
    width: 90%; max-width: 500px; margin: 100px auto;
    padding: 30px; border-radius: 20px; position: relative;
}

.close-modal { float: right; font-size: 24px; cursor: pointer; color: #38bdf8; }

.lightbox { justify-content: center; align-items: center; cursor: zoom-out; }
#lightboxImg { max-width: 90%; max-height: 80%; border: 2px solid #38bdf8; border-radius: 10px; }
.details-btn {
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    background: transparent;
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.details-btn i {
    font-size: 14px;
}

.details-btn:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: #38bdf8;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
    transform: translateY(-2px);
}

/* Ensure the card doesn't look clickable as a whole now */
.event-card {
    width: 350px; /* Or whatever width you prefer */
    border-radius: 12px;
    overflow: hidden; /* Keeps the image corners rounded */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s;
}

.event-banner {
    width: 100%;
    height: 200px; /* Fixed height for the "box" */
    position: relative;
    overflow: hidden;
}

.event-banner img {
    width: 100%;
    height: 100%;
    /* 'cover' fills the box, 'contain' shows the WHOLE image with letterboxing */
    object-fit: cover; 
    display: block;
}

.event-footer {
    padding: 15px;
    display: flex;
    gap: 10px;
    justify-content: center;
}
:root {
    --primary: #0366d6;
    --bg: #f6f8fa;
    --text: #24292e;
    --card-bg: #ffffff;
    --border: #e1e4e8;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

nav {
    background: #24292e;
    color: white;
    padding: 1rem 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul { display: flex; list-style: none; gap: 20px; }
nav a { color: #fff; text-decoration: none; font-weight: 500; }

#hero {
    padding: 60px 0;
    text-align: center;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.badge {
    background: #dbedff;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 8px;
    margin: 20px 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    text-align: center;
    padding: 20px;
    border-radius: 8px;
}

.stat-card h3 { color: var(--primary); font-size: 2rem; margin: 0; }

footer {
    text-align: center;
    padding: 40px;
    font-size: 0.9rem;
    color: #6a737d;
}
/* Container for the filter buttons */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    
    /* This pushes the filter down from the Navbar */

    
    padding: 0 20px;
    flex-wrap: wrap;
}

/* Base button style */
.filter-btn {
    padding: 10px 24px;
    border: 2px solid #3b82f6; /* Adjust to your logo color */
    background: rgba(59, 130, 246, 0.1); /* Slight transparent fill */
    color: white;
    cursor: pointer;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

/* Active and Hover states */
.filter-btn:hover, 
.filter-btn.active {
    background: #3b82f6;
    color: white;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}
