:root {
  --primary-color: #0055b6;
  --secondary-color: #001e33;
  --accent-color: #000000;
  --text-color: #fcfcfc;
  --background-color: #001e33;
  --section-padding: 4rem 2rem;
}

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

body {
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background-color);
}

a {
  color: var(--text-color);
  text-decoration: none;
}

/* Header & Navigation */
header {
  background-color: rgba(0, 30, 51, 0.9);
  position: fixed;
  width: 100%;
  z-index: 100;
  transition: all 0.3s ease;
}

.header-scrolled {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
}

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

.nav-links a {
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-button {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 30, 51, 0.8), rgba(0, 30, 51, 0.8)),
              url('./img/home.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.highlight {
  color: var(--accent-color);
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  margin: 0.5rem;
  cursor: pointer;
}

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

.btn-primary:hover {
  background-color: transparent;
  color: var(--text-color);
}

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

.btn-secondary:hover {
  background-color: var(--text-color);
  color: var(--secondary-color);
}

.event-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-item i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

/* About Section */
.about {
  background-color: var(--primary-color);
  padding: var(--section-padding);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background-color: var(--accent-color);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-text p {
  margin-bottom: 1.5rem;
}

/* Speakers Section */
.speakers {
  padding: var(--section-padding);
  background-color: var(--secondary-color);
}

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

.speaker-card {
  background: linear-gradient(145deg, rgba(0, 98, 40, 0.1), rgba(0, 50, 40, 0.2));
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.speaker-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.speaker-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.speaker-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.speaker-card:hover .speaker-image img {
  transform: scale(1.1);
}

.speaker-info {
  padding: 1.5rem;
}

.speaker-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.speaker-role {
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 1rem;
}

.speaker-bio {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Schedule Section */
.schedule {
  padding: var(--section-padding);
  background-color: var(--primary-color);
}

.schedule-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
.schedule-tab2 {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
.tab-button {
  padding: 1rem 2rem;
  background: none;
  border: none;
  color: var(--text-color);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.tab-button.active {
  opacity: 1;
}

.tab-button.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 3px;
  background-color: var(--accent-color);
}

.schedule-content {
  max-width: 800px;
  margin: 0 auto;
}

.schedule-item {
  display: flex;
  margin-bottom: 2rem;
  background: rgba(0, 15, 25, 0.3);
  border-radius: 10px;
  overflow: hidden;
}

.schedule-time {
  background-color: var(--accent-color);
  color: var(--secondary-color);
  padding: 1.5rem;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: 600;
}

.schedule-details {
  padding: 1.5rem;
  flex: 1;
}

.schedule-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.schedule-speaker {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-weight: 500;
}

/* Registration Section */
.registration {
  padding: var(--section-padding);
  background: linear-gradient(rgba(0, 30, 51, 0.9), rgba(0, 30, 51, 0.9)),
              url('/images/registration-bg.jpg');
  background-size: cover;
  background-attachment: fixed;
  text-align: center;
}

.registration p {
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

.registration .btn {
  padding: 1rem 3rem;
}

/* Partners Section */
.partners {
  padding: var(--section-padding);
  background-color: var(--secondary-color);
  text-align: center;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.partner-logo {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  transform: scale(1.05);
  background-color: rgba(255, 255, 255, 0.1);
}

.partner-logo img {
  max-width: 100%;
  max-height: 80px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partner-logo:hover img {
  opacity: 1;
}

/* Contact Section */
.contact {
  padding: var(--section-padding);
  background-color: var(--primary-color);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-item i {
  margin-right: 1rem;
  color: var(--accent-color);
  font-size: 1.25rem;
}

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

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--accent-color);
  color: var(--secondary-color);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  padding: 2rem 0;
  text-align: center;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 40px;
}

.copyright {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 {
  animation-delay: 0.2s;
}

.animate-delay-2 {
  animation-delay: 0.4s;
}

.animate-delay-3 {
  animation-delay: 0.6s;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.8rem;
  }
}

@media screen and (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    padding: 2rem;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }

  .nav-links.active {
    display: flex;
  }

  .menu-button {
    display: block;
  }

  .schedule-item {
    flex-direction: column;
  }

  .schedule-time {
    width: 100%;
    min-width: auto;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

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

@media screen and (max-width: 576px) {
  :root {
    --section-padding: 3rem 1.5rem;
  }

  .event-info {
    gap: 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
}
