/* Global Styles */
* {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}

/* Navbar Styles - Exact match from React */
.navbar {
  background-color: #2f2b66;
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  width: 100%;
}

.navbar-logo {
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
  flex-shrink: 0;
  margin-right: auto;
}

.navbar-logo:hover {
  color: #ffffff;
}

.navbar-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.navbar-item {
  margin: 0;
  padding: 0;
  position: relative;
}

.navbar-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  display: block;
}

.navbar-link:hover {
  color: #019fe0;
  background-color: rgba(1, 159, 224, 0.1);
}

.navbar-link.active {
  color: #019fe0;
  background-color: rgba(1, 159, 224, 0.2);
}

/* Dropdown Styles */
.dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.dropdown-hover {
  cursor: pointer;
  display: flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.dropdown-hover:hover {
  color: #019fe0;
  background-color: rgba(1, 159, 224, 0.1);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #2f2b66;
  border: 1px solid rgba(1, 159, 224, 0.3);
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  z-index: 1000;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  display: none;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  display: block;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-link {
  display: block;
  color: #ffffff;
  text-decoration: none;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  font-weight: 400;
}

.dropdown-link:hover {
  color: #019fe0;
  background-color: rgba(1, 159, 224, 0.1);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.hamburger:hover {
  background-color: rgba(1, 159, 224, 0.1);
}

.hamburger span {
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  margin: 2px 0;
  transition: 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-4px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-4px, -5px);
}

/* Footer Styles - Exact match from React */
.footer {
  background: no-repeat center center;
  background-size: cover;
  color: #fff;
  padding: 3rem 1.5rem 1rem;
  position: relative;
  margin-top: auto;
  width: 100%;
}

.footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.footer-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-logo {
  width: 15rem;
  height: auto;
}

.footer-column h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: bold;
  color: #fff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #019fe0;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-socials a {
  font-size: 1.5rem;
  color: #fff;
  transition: transform 0.3s ease, color 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
}

.footer-socials a:hover {
  transform: scale(1.2);
  color: #019fe0;
  background-color: rgba(1, 159, 224, 0.2);
}

.footer-bottom {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1rem;
  font-size: 0.875rem;
}

.footer p {
  color: #fff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .navbar-container {
    position: relative;
    padding: 0 1rem;
  }

  .navbar-logo {
    font-size: 1.5rem;
  }

  .hamburger {
    display: flex;
  }

  .navbar-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #2f2b66;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(1, 159, 224, 0.3);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
  }

  .navbar-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .navbar-item {
    margin: 0.5rem 0;
  }

  .navbar-link {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    display: block;
    text-align: center;
    border-radius: 5px;
    transition: all 0.3s ease;
  }

  .navbar-link:hover {
    background-color: rgba(1, 159, 224, 0.2);
  }

  .dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .dropdown-menu {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    background-color: rgba(1, 159, 224, 0.1);
    border: none;
    border-radius: 5px;
    box-shadow: none;
    margin: 0.5rem 0 0 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: block;
  }

  .dropdown-menu.active {
    max-height: 300px;
    opacity: 1;
    visibility: visible;
  }

  .dropdown-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    text-align: center;
    display: block;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .footer-logo {
    width: 10rem;
  }
}

@media (max-width: 480px) {
  .navbar-logo {
    font-size: 1.3rem;
  }

  .navbar-link {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}

/* Homepage Styles */
.home {
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Banner News Section */
.banner-news {
  background: linear-gradient(135deg, #2f2b66 0%, #019fe0 100%);
  padding: 60px 0;
  color: white;
}

.banner-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-news {
  position: relative;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.main-news-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.main-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-news-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  padding: 50px 30px 30px;
  z-index: 2;
}

.main-news-content h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: white;
  font-weight: 700;
}

.main-news-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #e0e0e0;
  line-height: 1.5;
}

.banner-btn {
  display: inline-block;
  background: #019fe0;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.banner-btn:hover {
  background: #0186c7;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(1, 159, 224, 0.4);
}

/* News Slider */
.news-slider {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.slider-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.slider-image {
  width: 100%;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.slider-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-content h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: white;
  font-weight: 600;
  line-height: 1.3;
}

.slider-content p {
  font-size: 0.85rem;
  color: #e0e0e0;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
  .news-slider {
    grid-template-columns: repeat(2, 1fr);
  }
  .main-news {
    height: 300px;
  }
  .main-news-content h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .news-slider {
    grid-template-columns: 1fr;
  }
  .main-news {
    height: 250px;
  }
  .main-news-content h2 {
    font-size: 1.2rem;
  }
}

/* President Section */
.president-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.president-content {
  display: flex;
  gap: 60px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.president-image {
  text-align: center;
  flex-shrink: 0;
  width: 280px;
}

.president-image img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #019fe0;
  box-shadow: 0 4px 20px rgba(1, 159, 224, 0.3);
}

.president-text {
  flex: 1;
}

.president-text h2 {
  font-size: 2rem;
  color: #2f2b66;
  margin-bottom: 5px;
}

.president-text h3 {
  font-size: 1.2rem;
  color: #019fe0;
  margin-bottom: 20px;
}

.president-text blockquote {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  font-style: italic;
  border-left: 4px solid #019fe0;
  padding-left: 20px;
  margin: 0;
  text-align: justify;
  word-wrap: break-word;
}

/* Statistics Section */
.statistics-section {
  background: #2f2b66;
  padding: 60px 0;
  color: white;
}

.statistics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item {
  padding: 30px 20px;
  border-radius: 10px;
  background: rgba(1, 159, 224, 0.1);
  border: 2px solid rgba(1, 159, 224, 0.3);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  border-color: #019fe0;
}

.stat-icon {
  font-size: 3rem;
  color: #019fe0;
  margin-bottom: 20px;
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: white;
  margin-bottom: 10px;
}

.stat-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #019fe0;
}

.stat-description {
  font-size: 0.9rem;
  color: #e0e0e0;
}

/* Gallery Section */
.gallery-section {
  padding: 80px 0;
  background: white;
  text-align: center;
}

.gallery-section h2 {
  font-size: 2rem;
  color: #2f2b66;
  margin-bottom: 30px;
}

.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-thumbnail {
  position: relative;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-thumbnail:hover {
  transform: scale(1.05);
}

.gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  padding: 15px 8px 8px;
  font-size: 0.8rem;
  text-align: center;
}

/* Links and News Section */
.links-news-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.links-news-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}

.useful-links-section h3,
.latest-news-section h3 {
  font-size: 1.5rem;
  color: #2f2b66;
  margin-bottom: 20px;
  border-bottom: 2px solid #019fe0;
  padding-bottom: 10px;
}

.useful-links {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.useful-links li {
  margin-bottom: 12px;
}

.useful-links a {
  color: #555;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.useful-links a:hover {
  color: #019fe0;
}

.useful-links i {
  color: #019fe0;
  width: 16px;
}

.latest-news {
  margin-bottom: 30px;
}

.news-item {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.news-date {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 5px;
}

.news-title a {
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.news-title a:hover {
  color: #019fe0;
}

.view-all-btn {
  display: inline-block;
  background: #019fe0;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  text-align: center;
  transition: background 0.3s ease;
}

.view-all-btn:hover {
  background: #0186c7;
}

/* Instagram Section */
.instagram-section {
  padding: 80px 0;
  background: white;
}

.instagram-section h2 {
  font-size: 2rem;
  color: #2f2b66;
  text-align: center;
  margin-bottom: 40px;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.instagram-post {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.instagram-post:hover {
  transform: scale(1.05);
}

.instagram-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instagram-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.instagram-post:hover .instagram-overlay {
  opacity: 1;
}

.instagram-overlay p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Members Banner Section */
.members-banner-section {
  background: #2f2b66;
  padding: 60px 0 40px 0;
  color: white;
  overflow: hidden;
  margin-bottom: 0;
}

.members-banner-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: white;
}

.members-scroll {
  position: relative;
  overflow: hidden;
  height: 120px;
}

.members-track {
  display: flex;
  animation: scroll 30s linear infinite;
  gap: 30px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.member-logo {
  flex-shrink: 0;
  width: 180px;
  text-align: center;
}

.member-logo a {
  display: block;
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.member-logo:hover a {
  transform: scale(1.1);
}

.member-logo img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background: white;
  border-radius: 50%;
  padding: 15px;
  margin-bottom: 15px;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.member-logo:hover img {
  box-shadow: 0 6px 25px rgba(1, 159, 224, 0.6);
}

.member-name {
  font-size: 0.9rem;
  display: block;
  color: #e0e0e0;
  font-weight: 500;
}

.members-footer {
  text-align: center;
  margin-top: 30px;
  padding-bottom: 20px;
}

.all-members-btn {
  display: inline-block;
  background: #019fe0;
  color: white;
  padding: 8px 24px;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.all-members-btn:hover {
  background: transparent;
  border-color: #019fe0;
  color: #019fe0;
  transform: translateY(-2px);
}

/* Additional Responsive Styles */
@media (max-width: 1024px) {
  .president-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .president-image {
    width: 100%;
  }

  .links-news-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .president-image img {
    width: 200px;
    height: 200px;
  }

  .statistics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .gallery-thumbnails {
    grid-template-columns: repeat(2, 1fr);
  }

  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .members-track {
    animation-duration: 20s;
  }

  .members-banner-section {
    padding: 40px 0 30px 0;
  }

  .members-banner-section h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .president-section,
  .statistics-section,
  .gallery-section,
  .instagram-section,
  .members-banner-section {
    padding: 30px 0;
  }

  .president-image img {
    width: 150px;
    height: 150px;
  }

  .statistics-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .gallery-thumbnails {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .instagram-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .member-logo {
    width: 100px;
  }

  .member-logo img {
    width: 50px;
    height: 50px;
    padding: 10px;
  }

  .members-banner-section h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }

  .all-members-btn {
    padding: 6px 20px;
    font-size: 0.85rem;
  }
}
