/* Reset */
* {
  margin: 0;
  padding: 0;

  box-sizing: border-box;
}

/* Body and container */


body {
  position: relative;
  background-color: #f7f1e1;
  margin: 0;
}

body::before {
  content: "";
  position: fixed; /* or absolute relative to body */
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('img/633.jpg'); /* Path to your background image */
  background-repeat: repeat;
  opacity: 0.15;  /* adjust transparency */
  pointer-events: none; /* so it doesn’t block clicks */
  z-index: 0;
  background-repeat: no-repeat;
background-position: center;
background-size: cover; /* or specify exact size */

}

/* make sure your content has a higher z-index */
main, header, footer {
  position: relative;
  z-index: 1;
}

/* Reset default margins and paddings */
body, header, .navbar, .slider {
  margin: 0;
  padding: 0;
}

/* Ensure the navbar and slider are flush with each other */
header, .navbar, .slider {
  margin-bottom: 0;
  padding-bottom: 0;
}
main {
  margin: 0;
  padding: 0;
}



.container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar layout */
.navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem 20px; /* or 20px 20px */
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  height: 30px;
  width: 30px;
  border-radius: 8px;
}

nav {
  font-family: 'Cairo', 'Amiri', serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: #2e2e2e; /* dark
   but soft color */
}

.site-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #005A9C;
    font-family: 'Cairo', 'Amiri', serif;

}
/* 1. Ensure header/nav are on top */
header {
  position: relative;
  z-index: 1000;

}

/* 2. Style nav to overlay over slider on mobile */

/* 3. Responsive nav menu */

/* 4. Lower z-index for the slider */
.slider {
  position: relative;
  z-index: 10;
  
}


/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.nav-links li a {
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: #005A9C;
  border-bottom: 2px solid transparent;
  padding-bottom: 5px;
  transition: all 0.3s ease;
}
/* Entire navbar container */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  flex-wrap: wrap;
}


.nav-links li a:hover {
  color: #E0B14B;
  border-bottom-color: #E0B14B;
}

.nav-social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding-right: 1rem;
  display: flex;

}

.nav-social-icons a {
  color: #444;
  font-size: 1.2rem;
  transition: color 0.3s ease;
  text-decoration: none;

}

.nav-social-icons a:hover {
  color: #559dc4; /* highlight color */
}


/* Header */
header {
  padding: 30px 0 15px;
  border-bottom: 1.5px solid #E0B14B;
  background: #fff;
  box-shadow: 0 2px 6px rgb(224 177 75 / 0.2);
}

header h1 {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  color: #005A9C;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

/* Navigation inside header */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

nav ul li a {
  color: #005A9C;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.15rem;
  padding: 8px 0;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover,
nav ul li a:focus {
  border-bottom-color: #E0B14B;
  color: #E0B14B;
}

/* Main sections */
main {
  padding: 40px 0 60px;
}

/* Welcome */
.welcome p {
  font-size: 1.35rem;
  text-align: center;
  color: #4a4a4a;
  max-width: 700px;
  margin: 0 auto 50px;
  font-weight: 500;
}

/* About Section */
.about,
.president-word,
.literary-section {
  background-color: #fffdf9;
  padding: 60px 30px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(224, 177, 75, 0.15);
  margin-bottom: 80px;
  max-width: 1024px;
  margin-inline: auto;
}

.about h2,
.president-word h2,
.literary-section h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #005A9C;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.about h2::after,
.president-word h2::after,
.literary-section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #E0B14B;
  margin: 12px auto 0;
  border-radius: 3px;
}

.about p,
.president-text p,
.literary-section p {
  font-size: 1.2rem;
  line-height: 2.2;
  color: #333333;
  margin-bottom: 24px;
  text-align: justify;
  position: relative;
  font-weight: 400;
  padding: 0 10px;
}

.about p::before,
.president-text p::before,
.literary-section p::before {
  content: "❝";
  font-size: 2rem;
  color: #E0B14B;
  position: absolute;
  right: -10px;
  top: -10px;
  font-family: serif;
}

.about p:last-of-type::after,
.president-text p:last-of-type::after,
.literary-section p:last-of-type::after {
  content: "❞";
  font-size: 2rem;
  color: #E0B14B;
  position: absolute;
  left: -10px;
  bottom: -10px;
  font-family: serif;
}

/* Honorary President */

.honorary {
  background-color: #fffdf9; /* same as team-section */
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(224, 177, 75, 0.15);
  margin-bottom: 60px;
  max-width: 1024px;
  margin-inline: auto;
}

.honorary h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: #005A9C;
  margin-bottom: 30px;
  position: relative;
}

.honorary h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #E0B14B;
  margin: 12px auto 0;
  border-radius: 3px;
}

.honorary-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: center;
}


.honorary-img {
  width: 200px;
  height: 200px;
  border-radius: 50%; /* 🔁 makes it a circle */
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border: 4px solid #E0B14B;
  background: #fff;
}

.honorary-gallery {
  margin-top: 40px;
  padding: 20px;
  background: #fffdf9;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(224, 177, 75, 0.12);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  text-align: center;
}
.cv-button {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  background-color: #e0b14b;
  color: #fff;
  font-size: 0.9rem;
  border-radius: 6px;
  text-decoration: none;
  
}



.gallery-item img {
  width: 100%;
  height: 350px;
  cursor: zoom-in;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.03);
}

.gallery-item p {
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 500;
  color: #444;
}

.bio {
  flex: 1 1 460px;
  background: #ffffff;
  border-radius: 14px;
  padding: 20px 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-size: 1.1rem;
  line-height: 1.9;
  color: #333;
  text-align: justify;
}

/* Responsive */
@media (max-width: 768px) {
  .honorary-content {
    flex-direction: column;
    align-items: center;
  }
  .bio {
    text-align: center;
  }
}



.photo-placeholder {
  width: 260px;
  height: 260px;
  background-color: #E0B14B;
  color: #005A9C;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 18px;
  font-size: 1.1rem;
  text-align: center;
  padding: 15px;
  box-shadow: 0 5px 15px rgb(224 177 75 / 0.4);
}



/* Committees section */
.committees {
  display: flex;
  gap: 35px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 70px;
}

.committees article {
  background: #fff;
  border-radius: 14px;
  padding: 25px 30px;
  flex: 1 1 28%;
  box-shadow: 0 4px 10px rgb(0 0 0 / 0.12);
  transition: box-shadow 0.3s ease;
}

.committees article:hover {
  box-shadow: 0 8px 20px rgb(224 177 75 / 0.3);
}

.committees h2 {
  color: #005A9C;
  margin-bottom: 15px;
  font-size: 1.6rem;
  font-weight: 700;
}

/* Team Section */
.team-section {
  margin-bottom: 80px;
  background: #fffdf9;
  padding: 60px 30px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(224, 177, 75, 0.15);
}

.team-section h2 {
  text-align: center;
  font-size: 2.3rem;
  color: #005A9C;
  font-weight: 800;
  margin-bottom: 40px;
  position: relative;
}

.team-section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #E0B14B;
  margin: 12px auto 0;
  border-radius: 3px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Reset all cards to auto positioning first */
.cards-grid > .card {
  grid-column: auto;
}

/* Center last 3 cards (cards 5, 6, 7) */
.cards-grid > .card:nth-child(5) {
  grid-column: 2;
}
.cards-grid > .card:nth-child(6) {
  grid-column: 3;
}
.cards-grid > .card:nth-child(7) {
  grid-column: 4;
}


.profile-frame {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #E0B14B;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  margin: 0 auto 15px;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Card style */
.card {
  background-color: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.card img, .card-1 img {
  max-width: 100%;
}


.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  margin-top: 10px;
  color: #2b2b2b;
  font-size: 1.1rem;
}

.card p {
  font-size: 0.95rem;
  color: #555;
}

.card a {
  display: inline-block;
  margin-top: 10px;
  color: #1a4ea0;
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px dotted #1a4ea0;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.card a:hover {
  color: #E0B14B;
  border-bottom-color: #E0B14B;
}

/* Profile image */
.profile-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 15px auto;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  display: block;
}


.card,
.card-1 {
  min-height: 360px; /* Adjust based on how much text you have */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cards-grid,
.cards-grid-1 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}



/* Footer */
.site-footer {
  background-color:  #005A9C;
  color: #ffffff;
  padding: 40px 0 20px;
  font-family: 'Cairo', sans-serif;
  text-align: right;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-section {
  flex: 1 1 250px;
}

.footer-section h4 {
  margin-bottom: 15px;
  font-size: 18px;
  color: #E0B14B;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #E0B14B;
}

.social-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-links a img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(0); /* 👈 makes them black */
  transition: transform 0.3s ease;
}


.social-links a:hover img {
  transform: scale(1.2);
}
.card-row-center {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.footer-bottom {
  border-top: 1px solid #444;
  margin-top: 30px;
  padding-top: 15px;
  text-align: center;
  font-size: 14px;
  color: #ccc;
}

/* Responsive */
@media (max-width: 900px) {
  .about,
  .committees,
  .honorary-content {
    flex-direction: column;
    align-items: center;
  }

  nav ul {
    gap: 20px;
  }

  .committees article,
  .about article {
    flex: 1 1 90%;
  }

  .bio {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr; /* Single column cards */
  }
}
.cards-grid,
.cards-grid-1 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .hero-slider {
    height: 60vh;
  }

  .hero-slider .slide {
    object-fit: cover;
  }
}
@media (max-width: 768px) {
  .navbar,
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .nav-social-icons {
    justify-content: center;
    padding: 10px 0;
  }

  .committees {
    flex-direction: column;
    gap: 20px;
  }

  .team-section {
    padding: 30px 15px;
  }
}
@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .about h2,
  .team-section h2,
  .honorary h2 {
    font-size: 1.6rem;
  }

  .about p,
  .bio,
  .goals-list {
    font-size: 1rem;
  }
}


@media (max-width: 400px) {
  header h1 {
    font-size: 2rem;
  }
  .nav-links {
    flex-direction: column;
    gap: 15px;
  }
}
.cards-grid-1 {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
  gap: 20px; /* space between cards */
  max-width: 1200px; /* optional, limits container width */
  margin: 0 auto; /* center container horizontally */
}
.card-1 {
  background: #f9f9f9;
  padding: 15px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.profile-img {
  max-width: 100%;
  height: auto;
  border-radius: 50%; /* circular images if you want */
  margin-bottom: 10px;
}
.hero-slider {
  position: relative;
  width: 100%;
  height: 150vh; /* 👈 increase to 90-100vh */
  overflow: hidden;
  margin-bottom: 70px;
  
}

.slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* 👈 dark overlay, adjust the 0.25 */
  z-index: 2;
  pointer-events: none; /* ensures clicks go through */
}



.hero-slider .slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slider .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit:cover; /* 👈 changed from cover to contain */
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-color: #000; /* optional: black background around the image */
}
main, #hero-slider {
  margin: 0;
  padding: 0;
}
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.cards-grid .card {
  flex: 1 1 250px; /* grow and shrink with minimum width */
  max-width: 300px; /* optional */
}

@media (max-width: 768px) {
  .cards-grid {
    flex-direction: column;
  }

  .cards-grid .card {
    max-width: 100%;
  }
}


.hero-slider .slide.active {
  opacity: 1;
}

.logo-corner {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  
}

.logo-corner img {
  width: 100px;
  height: auto;
    border-radius: 70%; /* 🔁 makes it a circle */

  
}
.goals-list {
  list-style: none;
  padding-right: 25px;
  font-size: 1.15rem;
  color: #333;
  line-height: 2.2;
  margin-bottom: 30px;
}

.goals-list li {
  position: relative;
  padding-right: 25px;
  margin-bottom: 12px;
}

.goals-list li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: #E0B14B;
  font-weight: bold;
}
.festival-presentation {
  text-align: center;
  margin: 40px auto;
}
.festival-description {
  font-size: 1rem;
  color: #444;
  margin-bottom: 10px;
  line-height: 1.6;
}

.presentation-button {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 20px;
  font-size: 1.1rem;
  color: #000;
  background-color: #f1e9dc;
  border: 1px solid #ccc;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.presentation-button:hover {
  background-color: #e0b14b;
  color: #fff;
  border-color: #d4a637;
}
.festival-presentation {
  text-align: center;
  margin: 60px auto;
  max-width: 800px;
  padding: 30px 20px;
  background-color: #f9f9f9;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.festival-presentation h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #222;
}

.festival-presentation p {
  font-size: 1rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 20px;
}

.festival-presentation .presentation-button {
  background-color: #005A9C;
  color: #fff;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.festival-presentation .presentation-button:hover {
  background-color: #E0B14B;
}
@media (max-width: 500px) {
  .site-title {
    font-size: 1.2rem;
    text-align: center;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
    padding: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    display: block;
    width: 100%;
    padding: 10px 0;
  }

  .hero-slider {
    height: 80vh;
  }

  .logo-corner img {
    width: 70px;
  }

  .goals-list {
    font-size: 1rem;
    padding-right: 15px;
  }

  .festival-presentation {
    padding: 20px 15px;
  }
}
/* ========== Mobile Responsive Enhancements ========== */

/* Navbar - Stack nav links vertically on small screens with better spacing */
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .site-branding {
    margin-bottom: 1rem;
  }

  /* Nav links become vertical and full width */
  .nav-links {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    display: block;
    width: 100%;
    padding: 12px 10px;
    font-size: 1.1rem;
    border-bottom: 1px solid transparent;
  }

  .nav-links li a:hover,
  .nav-links li a:focus {
    border-bottom-color: #E0B14B;
  }

  .nav-social-icons {
    justify-content: flex-start;
    padding: 10px 0 0 0;
    width: 100%;
  }
}

/* Slightly smaller fonts on very small devices */
@media (max-width: 400px) {
  body {
    font-size: 14px;
  }

  header h1 {
    font-size: 1.8rem;
  }

  .site-title {
    font-size: 1.2rem;
  }

  nav {
    font-size: 1rem;
  }

  .about h2,
  .president-word h2,
  .literary-section h2,
  .honorary h2,
  .team-section h2 {
    font-size: 1.8rem;
  }

  .about p,
  .bio,
  .committees article,
  .card p,
  .goals-list,
  .festival-description {
    font-size: 0.95rem;
  }

  .festival-presentation h3 {
    font-size: 1.3rem;
  }

  .presentation-button {
    font-size: 0.9rem;
    padding: 10px 16px;
  }
}

/* Make images responsive and not overflow */
img, .logo, .profile-img, .honorary-img, .gallery-item img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Grid adjustments for smaller screens */
@media (max-width: 768px) {
  .cards-grid, .cards-grid-1 {
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 0 1rem;
  }

  .committees {
    flex-direction: column;
    gap: 20px;
  }

  .honorary-content {
    flex-direction: column;
    align-items: center;
  }

  .bio {
    text-align: center;
    flex: 1 1 100%;
  }

  .team-section {
    padding: 30px 15px;
  }
}

/* Avoid horizontal overflow for all sections */
body, html {
  overflow-x: hidden;
}

/* Optional: Improve tap target sizes */
.nav-links li a,
.nav-social-icons a,
.cv-button,
.presentation-button {
  min-height: 40px;
  line-height: 40px;
  border-radius: 6px;
}

/* Optional: Smooth scroll behavior for better UX */
html {
  scroll-behavior: smooth;
}

/* Optional: Better padding for main on mobile */
@media (max-width: 600px) {
  main {
    padding: 20px 10px 40px;
  }
}
/* Apply Cairo font globally */
body, main, header, footer, section, article, nav, div, p, h1, h2, h3, h4, h5, h6, ul, li, a, span {
  font-family: 'Cairo', 'Amiri', serif!important;
}
/* Burger button styling */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 20;
}

.burger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #005A9C; /* you can change color */
  border-radius: 2px;
  transition: all 0.3s ease;
}
/* Make navbar fixed or relative with high z-index */
.navbar {
  position: relative; /* or fixed if you want sticky */
  z-index: 1000; /* high enough to overlay slideshow */
}

/* Nav dropdown on mobile */
@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 100%;
    right: 0; /* because you have dir=rtl */
    width: 100%;
    background-color: #fffdf9;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);   
    max-height: 0;
    z-index: 1100; /* good */
  }

  nav.open {
    max-height: 500px;
  }

  nav.open {
    max-height: 500px;
  }
}

/* Check your slideshow */
.hero-slider {
  position: relative; /* if not already */
  z-index: 10; /* low to allow navbar above */
}

/* Show burger on smaller screens */
@media (max-width: 768px) {
  .burger {
    display: flex;
     position: relative; /* or absolute/fixed if needed */
  z-index: 1010; /
  }
  

  .nav-links {
    flex-direction: column;
    gap: 15px;
    padding: 15px 20px;
  }

  .navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
}

  /* Social icons alignment on mobile */
  .nav-social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px 0;
    width: 100%;
  }

  /* Navbar layout adjustments */
  .navbar {
    position: relative;
    flex-wrap: nowrap;
    
  }
}

/* Align social icons horizontally on desktop */
.nav-social-icons {
  display: flex;
  gap: 15px;
  align-items: center;
}

/* Social icon links style */
.nav-social-icons a {
  color: #444;
  font-size: 1.4rem;
  transition: color 0.3s ease;
  text-decoration: none;
}

.nav-social-icons a:hover {
  color: #559dc4;
}
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

