/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background-color: #000000;
  color: #ffffff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');


html{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body{
    background-color: black;
    color:white;
    margin: 0px;
    padding: 0px;
}


.box:hover , .btn-box:hover , .more-btn:hover{
  transform: scale(1.1);
  transition: all 0.1s ease;

}

a {
  font-size: 1.5rem;
  text-decoration: none;
  color: rgb(255, 255, 255);
} 
a:hover{
  color: aqua;
}
.btn-box button{
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  padding: 0.7rem;
  border-radius: 10px;
  font-size: 1.2rem;
  font-weight: bold;
}
.btn-box button:hover {
  background-color: aqua;
  color: black;
}

.menu-item:hover{
 /* background-color: aqua; */
  border-bottom: 2px solid aqua;
 border-radius: 2rem;
 transform: scale(1.05);
 color: white;
 transition: all 0.3s ease-out;
} 
.menu-item:hover a{
  color: white;
}
/* Achievement Image Styles */
.achievement-image-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  margin-bottom: 2rem;
  border-radius: 8px;
  border: 1px solid #333;
  position: relative;
}

.achievement-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.achievement-card:hover .achievement-image {
  transform: scale(1.05);
}

/* Achievement Section Styles */
.achievement-section {
  max-width: 1200px;
  margin: 7rem auto 4rem;
  padding: 0 2rem;
}

.achievement-header {
  text-align: center;
  font-size: 3.5rem;
  margin-bottom: 3rem;
  margin-top: 8rem;
  padding-top: 20px;
}

.achievement-header .aqua {
  color: #00ffff;
  font-weight: 700;
  text-transform: uppercase;
}

.achievement-header .white {
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
}

/* Updated Achievement Card Styles to match inner cards */
.achievement-card {
  background: #121212;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  border: 1px solid #333;
  transition: all 0.3s ease;
}

/* Add hover effect similar to the inner cards */
.achievement-card:hover {
  box-shadow: 0 8px 20px rgba(0, 255, 255, 0.2);
  border-color: #00ffff;
  transform: translateY(-5px);
}

/* Keep the competition title styling without the added border */
.competition-title {
  font-size: 2rem;
  color: #00ffff;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 700;
}

.achievement-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #cccccc;
  margin-bottom: 2.5rem;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.achievement-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2.5rem;
}

.competition-category {
  background: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding: 2rem;
  width: 28%;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  border: 1px solid #333;
}

.competition-category:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 255, 255, 0.2);
  border-color: #00ffff;
}

.trophy-icon {
  margin-bottom: 1.5rem;
  text-align: center;
}

.trophy-icon img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  pointer-events: none;              /* Prevent right-click/interaction */
  -webkit-user-drag: none;           /* Chrome, Safari */
  user-select: none;                 /* Prevent text/image selection */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.category-content {
  text-align: center;
  width: 100%;
}

.category-content h3 {
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.category-content p {
  font-size: 1.2rem;
  color: #00ffff;
  font-weight: 700;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .competition-category {
    width: 45%;
  }

  .achievement-card {
    padding: 2rem;
  }
  
  .achievement-image-container {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .achievement-details {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .competition-category {
    width: 85%;
  }

  .achievement-header {
    font-size: 2rem;
    margin-top: 6.5rem;
  }

  .competition-title {
    font-size: 1.8rem;
  }

  .achievement-card {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .achievement-image-container {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .navbar {
    padding: 1rem;
  }

  .achievement-section {
    padding: 0 1rem;
    margin: 4rem auto 2rem;
  }

  .achievement-card {
    padding: 1.5rem;
  }

  .competition-category {
    width: 95%;
    padding: 1.5rem;
  }

  .trophy-icon img {
    width: 55px;
    height: 55px;
    pointer-events: none;              /* Prevent right-click/interaction */
    -webkit-user-drag: none;           /* Chrome, Safari */
    user-select: none;                 /* Prevent text/image selection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
  }

  .category-content h3 {
    font-size: 1.3rem;
  }

  .category-content p {
    font-size: 1.1rem;
  }

  .achievement-description {
    font-size: 1rem;
    text-align: center;
  }

  .competition-title {
    font-size: 1.6rem;
  }
  
  .achievement-image-container {
    height: 180px;
  }
}

@media (max-width: 400px) {
  .achievement-header {
    font-size: 1.8rem;
  }

  .competition-title {
    font-size: 1.5rem;
  }

  .achievement-description {
    font-size: 0.95rem;
    text-align: center;
  }

  .category-content h3 {
    font-size: 1.2rem;
  }

  .category-content p {
    font-size: 1rem;
  }
  
  .achievement-image-container {
    height: 150px;
  }
}