:root {
  /* Color Variables */
  --primary: #003366;
  --primary-light: #1a4d80;
  --accent: #e74c3c;
  --light: #f8f9fa;
  --dark: #2c3e50;
  --white: #ffffff;
  --gray: #95a5a6;
  --light-gray: #ecf0f1;
  --transition: all 0.3s ease;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
  padding-top: 85px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ====================== */
/* HEADER & NAVIGATION */
/* ====================== */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: var(--transition);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* Logo Group */
.logo-group {
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 1001;
}

.logo-img {
  height: 55px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.3px;
}

.logo-dept {
  font-size: 0.82rem;
  color: var(--dark);
  margin: 2px 0 0 0;
  font-weight: 500;
  line-height: 1.3;
}

.logo-inst {
  font-size: 0.72rem;
  color: var(--gray);
  margin: 2px 0 0 0;
  font-weight: 400;
  font-style: italic;
  display: none;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

/* Navigation Links */
.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 18px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 0.92rem;
  position: relative;
  padding: 8px 0;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--accent);
}

.nav-links a.active {
  color: var(--accent);
  font-weight: 600;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  /* background-color: var(--accent); */
  transition: width 0.3s ease;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 0.92rem;
  position: relative;
  padding: 8px 0;
  transition: color 0.3s;
  white-space: nowrap;
  /* Add these two new lines */
  outline: none;
  box-shadow: none;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--accent);
  /* Add this to maintain accessibility */
  text-decoration: underline;
}

.nav-links a.active {
  color: var(--accent);
  font-weight: 600;
}

/* Keep the after pseudo-element but make it inactive */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0; /* Changed from 2px to 0 */
  transition: width 0.3s ease;
}
/* Improved focus visibility for keyboard users */
.nav-links a:focus-visible {
  outline: 2px dotted var(--accent);
  outline-offset: 3px;
  text-decoration: none;
}

/* Remove focus ring for mouse users */
.nav-links a:focus:not(:focus-visible) {
  outline: none;
}
/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--primary);
  transition: var(--transition);
}

/* Nav Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ====================== */
/* HERO SECTION */
/* ====================== */
.hero {
  background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), 
              url('assets/images/home.png') no-repeat center center/cover;
  color: var(--white);
  text-align: center;
  padding: 100px 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 2rem;
}

/* ====================== */
/* SECTION STYLES */
/* ====================== */
.section {
  padding: 80px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section.bg-light {
  background-color: var(--light-gray);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent);
}

/* ====================== */
/* ABOUT SECTION */
/* ====================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.about-image img:hover {
  transform: scale(1.02);
}

.timeline {
  list-style: none;
  margin: 1rem 0;
}

.timeline li {
  margin-bottom: 1rem;
  display: flex;
  gap: 15px;
}

.timeline .year {
  font-weight: 600;
  color: var(--primary);
  min-width: 100px;
}

.awards-list {
  list-style: none;
  margin: 1rem 0;
}

.awards-list li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 20px;
}

.awards-list li::before {
  content: '•';
  color: var(--accent);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1rem;
}

.tags span {
  background-color: var(--primary);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  transition: var(--transition);
}

.tags span:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

/* ====================== */
/* RESEARCH SECTION */
/* ====================== */
.filter-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, 
.filter-btn:hover,
.filter-btn:focus {
  background: var(--primary);
  color: var(--white);
}

.publications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  padding: 25px;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card:hover,
.card:focus-within {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.authors {
  color: var(--primary-light);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.journal {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.publication-links {
  display: flex;
  gap: 15px;
  margin-top: 1rem;
}

.link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.link:hover,
.link:focus {
  text-decoration: underline;
}

/* ====================== */
/* STUDENTS SECTION */
/* ====================== */
.students-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.student-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.student-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.student-card:hover,
.student-card:focus-within {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.student-photo {
  height: 200px;
  overflow: hidden;
}

.student-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.student-card:hover .student-photo img {
  transform: scale(1.05);
}

.student-info {
  padding: 20px;
}

.student-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.research-topic {
  color: var(--primary-light);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.status {
  color: var(--gray);
  font-size: 0.8rem;
  font-weight: 500;
}

/* ====================== */
/* CONTACT SECTION */
/* ====================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info h3 {
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0,51,102,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group .btn {
  width: auto;
  padding: 12px 30px;
}

/* ====================== */
/* BUTTONS */
/* ====================== */
.btn {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover,
.btn:focus {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn.outline {
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
}

.btn.outline:hover,
.btn.outline:focus {
  background: rgba(255,255,255,0.1);
}

/* ====================== */
/* FOOTER */
/* ====================== */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-about p {
  opacity: 0.8;
}

.footer-links h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover,
.footer-links a:focus {
  opacity: 1;
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover,
.social-icons a:focus {
  background: var(--accent);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ====================== */
/* ACCESSIBILITY */
/* ====================== */
a:focus,
button:focus,
input:focus,
textarea:focus,
[tabindex="0"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 8px;
  z-index: 100;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ====================== */
/* PRINT STYLES */
/* ====================== */
@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  body {
    padding-top: 0;
    font-size: 12pt;
  }
  
  .nav-links, 
  .hamburger, 
  .hero-buttons, 
  footer,
  .nav-overlay {
    display: none;
  }
  
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    font-weight: normal;
  }
  
  .section {
    padding: 40px 0 !important;
    page-break-inside: avoid;
  }
  
  .btn {
    display: none !important;
  }
}

/* ====================== */
/* RESPONSIVE ADJUSTMENTS */
/* ====================== */
@media (max-width: 992px) {
  body {
    padding-top: 82px;
  }
  
  .logo-img {
    height: 50px;
  }
  
  .logo-name {
    font-size: 0.98rem;
  }
  
  .logo-dept {
    font-size: 0.78rem;
  }
  
  .nav-links {
    gap: 15px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px 30px;
    gap: 20px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .logo-inst {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .subtitle {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .publications-grid {
    grid-template-columns: 1fr;
  }
  
  .students-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  body {
    padding-top: 78px;
  }
  
  .logo-group {
    gap: 10px;
  }
  
  .logo-img {
    height: 45px;
  }
  
  .logo-name {
    font-size: 0.9rem;
  }
  
  .logo-dept {
    font-size: 0.72rem;
    margin-top: 1px;
  }
  
  .logo-inst {
    font-size: 0.65rem;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .filter-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .filter-btn {
    width: 100%;
    text-align: center;
  }
}

/* Professor Name Styling */
.professor-name {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 8px 0;
  line-height: 1.1;
  text-align: center;
}

/* Department Styling */
.department-info {
  font-size: 1.1rem;
  color: var(--dark);
  margin: 0 0 24px 0;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

/* Separator Line */
.separator {
  border: none;
  height: 1px;
  background-color: var(--gray);
  margin: 24px auto;
  width: 80%;
}

/* Section Links */
.section-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 24px;
}

.section-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  padding: 8px 16px;
  transition: var(--transition);
}

.section-link:hover,
.section-link:focus {
  color: var(--accent);
  text-decoration: underline;
}
.loading, .error {
    text-align: center;
    padding: 2rem;
    font-style: italic;
}

.loading {
    color: var(--gray);
}

.error {
    color: var(--accent);
}
/* Add to your CSS */
.modern-hover {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
/* Projects Page Styles */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.project-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.project-image {
  height: 200px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

/* Media Page Styles */
.media-tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.tab-btn {
  padding: 10px 25px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.3s;
}

.tab-btn.active {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.media-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

/* Modern animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.section {
  animation: fadeInUp 0.6s ease forwards;
}
/* Media Page Specific Styles */
.media-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 20px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
  color: var(--dark);
}

.tab-btn.active {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.media-card {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.media-thumbnail {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.media-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.media-card:hover .media-thumbnail img {
  transform: scale(1.05);
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
}

.media-details {
  padding: 20px;
}

.media-details .source {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 5px 0 15px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .media-tabs {
    justify-content: center;
  }
  
  .tab-btn {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
}

@media (min-width: 992px) {
  .media-card {
    flex-direction: row;
    height: 200px;
  }
  
  .media-thumbnail {
    width: 300px;
    height: auto;
    flex-shrink: 0;
  }
  
  .media-details {
    padding: 25px;
  }
}
/* Remove focus outline for all elements */
*:focus {
  outline: none !important;
}

/* Alternative focus style for accessibility (optional) */
.tab-btn:focus-visible {
  outline: 2px dashed var(--primary);
  outline-offset: 3px;
}

/* Tab button styles */
.tab-btn {
  /* Your existing styles */
  border: none;
  background: none;
  position: relative;
}

.tab-btn.active {
  color: var(--accent);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
}
/* Projects Page Styles */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.project-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
}

.project-image {
  height: 200px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.project-content {
  padding: 20px;
}

.project-meta {
  display: flex;
  gap: 15px;
  margin: 10px 0;
  align-items: center;
}

.status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.status.ongoing {
  background: rgba(231, 76, 60, 0.1);
  color: var(--accent);
}

.status.completed {
  background: rgba(0, 51, 102, 0.1);
  color: var(--primary);
}

.date {
  color: var(--gray);
  font-size: 0.9rem;
}

.project-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn.small {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Filter Buttons */
.filter-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--primary-light);
  color: var(--primary);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: var(--white);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-buttons {
    justify-content: center;
  }
  
  .filter-btn {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .project-links {
    flex-direction: column;
  }
  
  .btn.small {
    width: 100%;
    text-align: center;
  }
}
