* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #f97316;
  --secondary-color: #fb923c;
  --dark-bg: #0f172a;
  --darker-bg: #020617;
  --card-bg: #1e293b;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --accent: #fbbf24;
  --border-color: #334155;
  --navbar-height: 100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--darker-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.5);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-brand img {
  width: auto;
  height: 7rem;
  border-radius: 8px;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--navbar-height);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(249, 115, 22, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(251, 146, 60, 0.1) 0%, transparent 50%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.team-number {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--darker-bg);
  transform: translateY(-2px);
}

/* Section Styles */
.section {
  padding: 6rem 0;
  position: relative;
  scroll-margin-top: calc(var(--navbar-height) + 20px);
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 4rem;
}

/* Projects Section */
.projects {
  background: var(--dark-bg);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(249, 115, 22, 0.2);
}

.project-icon {
  width: 60px;
  height: 60px;
  background: rgba(249, 115, 22, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.project-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary-color);
}

.project-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.project-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.project-stats span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  background: rgba(249, 115, 22, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

.project-stats span svg {
  width: 16px;
  height: 16px;
  color: var(--primary-color);
}

.project-detail-btn {
  align-self: flex-start;
  margin-top: auto;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

/* Awards Section */
.awards {
  background: var(--darker-bg);
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.award-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.award-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(251, 191, 36, 0.2);
}

.award-icon {
  width: 80px;
  height: 80px;
  background: rgba(251, 191, 36, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.award-icon svg {
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.award-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.award-card p {
  color: var(--text-secondary);
}

/* Gallery Section (Slick Carousel) */
.gallery-section {
  background: var(--dark-bg);
}

.gallery-slider {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.gallery-item {
  padding: 0 15px;
  outline: none;
}

.gallery-item > div {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
  background: var(--card-bg);
}

.gallery-item > div:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item > div:hover img {
  transform: scale(1.05);
}

/* Slick Customization */
.slick-slide {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.slick-slide.slick-active {
  opacity: 1;
}

.slick-prev,
.slick-next {
  width: 50px;
  height: 50px;
  z-index: 10;
}

.slick-prev:before,
.slick-next:before {
  color: var(--primary-color) !important;
  font-size: 40px !important;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.slick-prev:hover:before,
.slick-next:hover:before {
  opacity: 1;
}

.slick-prev {
  left: 0px !important;
}

.slick-next {
  right: 0px !important;
}

.slick-dots {
  bottom: -50px !important;
}

.slick-dots li button:before {
  color: var(--text-secondary) !important;
  font-size: 12px !important;
  opacity: 0.5;
}

.slick-dots li.slick-active button:before {
  color: var(--primary-color) !important;
  opacity: 1;
}

.slick-list {
  margin: 0 -15px;
}

/* Stats Section */
.stats {
  background: var(--darker-bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.stat-icon {
  width: 70px;
  height: 70px;
  background: rgba(249, 115, 22, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.stat-icon svg {
  width: 35px;
  height: 35px;
  color: var(--primary-color);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1.125rem;
  font-weight: 500;
}

/* Sponsors Section */
.sponsors {
  background: var(--dark-bg);
}

.sponsors-image-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 4rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.sponsors-image-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(249, 115, 22, 0.2);
  border-color: var(--primary-color);
}

.sponsors-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.sponsors-image-container:hover .sponsors-image {
  transform: scale(1.02);
}

.sponsor-cta {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  border: 2px dashed var(--border-color);
}

.sponsor-cta h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.sponsor-cta p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background: var(--darker-bg);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-section h4 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-section p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-section ul li svg {
  width: 18px;
  height: 18px;
  color: var(--primary-color);
}

.footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--card-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.social-links a svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-bottom p {
  color: var(--text-secondary);
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-container {
  position: relative;
  max-width: 800px;
  margin: 2rem auto;
  background: var(--card-bg);
  border-radius: 16px;
  padding: 3rem;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal.active .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: rgba(249, 115, 22, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--primary-color);
}

.modal-close svg {
  width: 24px;
  height: 24px;
  color: var(--text-primary);
}

.modal-content h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.modal-content h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.modal-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.modal-content ul {
  list-style: none;
  padding-left: 0;
}

.modal-content ul li {
  color: var(--text-secondary);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-content ul li:last-child {
  border-bottom: none;
}

.modal-content ul li::before {
  content: "→";
  color: var(--primary-color);
  font-weight: bold;
}

/* Image Modal (Gallery Pop-up) */
.image-modal {
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-modal .modal-container {
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  background: transparent;
  padding: 0;
  overflow: visible;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
}

.image-modal.active .modal-container {
  transform: translate(-50%, -50%) scale(1);
}

.image-modal .image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 90vh;
}

.image-modal #fullImage {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.image-modal .modal-close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2010;
  background: var(--dark-bg);
  border: 2px solid var(--primary-color);
  width: 50px;
  height: 50px;
}

.image-modal .modal-close:hover {
  background: var(--primary-color);
  transform: rotate(90deg);
}

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --navbar-height: 80px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--navbar-height);
    right: -100%;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.98);
    width: 250px;
    height: calc(100vh - var(--navbar-height));
    padding: 2rem;
    transition: right 0.3s ease;
    border-left: 1px solid var(--border-color);
  }

  .nav-links.active {
    right: 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .team-number {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .projects-grid,
  .awards-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .gallery-slider {
    padding: 0 40px;
  }

  .gallery-item img {
    height: 250px;
  }

  .slick-prev,
  .slick-next {
    width: 35px;
    height: 35px;
  }

  .slick-prev:before,
  .slick-next:before {
    font-size: 28px !important;
  }

  .slick-prev {
    left: 0px !important;
  }

  .slick-next {
    right: 0px !important;
  }

  .slick-dots {
    bottom: -40px !important;
  }

  .image-modal .image-wrapper {
    max-width: 95vw;
    max-height: 85vh;
  }

  .image-modal #fullImage {
    max-height: 85vh;
    border-radius: 8px;
  }

  .image-modal .modal-close {
    width: 45px;
    height: 45px;
    top: 15px;
    right: 15px;
  }

  .sponsors-image-container {
    margin-bottom: 2rem;
  }

  .modal-container {
    margin: 1rem;
    padding: 2rem;
  }

  .sponsor-cta {
    padding: 2rem;
  }

  .sponsor-cta h3 {
    font-size: 1.5rem;
  }

  .nav-brand img {
    height: 5rem;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}