/* Import Unified Color Palette */
@import url('colors.css');
@import url('header.css');
@import url('buttons.css');

/* ================================= */
/* Professional Navbar Enhancements */
/* ================================= */
.navbar.bg-body-tertiary {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: linear-gradient(135deg, var(--greenLight) 0%, rgba(212, 237, 224, 0.98) 100%) !important;
  border-bottom: 1px solid rgba(34, 197, 94, 0.1);
  width: 100%;
}

.navbar .container-fluid {
  padding: 0 30px;
}

.navbar .navbar-brand {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.navbar .navbar-brand:hover {
  transform: scale(1.05);
}

.navbar .navbar-brand img {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: filter 0.3s ease;
}

.navbar .navbar-brand:hover img {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.navbar .nav-link {
  position: relative;
  transition: all 0.3s ease;
  font-weight: 600;
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 0;
  height: 2px;
  background: var(--greenNormal);
  transition: all 0.3s ease;
}

.navbar .nav-link:hover::after {
  width: 100%;
  transform: translateX(-50%) scaleX(1);
}

/* ================================= */
/* Main Content Layout               */
/* ================================= */
.main-content {
  width: 100%;
  padding-top: 0;
  overflow-x: hidden;
  margin-top: 0;
}

/* ================================= */
/* Hero Video Section                */
/* ================================= */
.hero-video-section {
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 80px;
  box-sizing: border-box;
}

.hero-video-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.4) 0%, rgba(20, 83, 45, 0.5) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 0 20px;
}

.hero-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  color: white;
  padding: 0;
  max-width: 900px;
  animation: fadeInUp 1s ease-out;
  position: relative;
  z-index: 3;
  width: 100%;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 64px;
  font-weight: 900;
  margin-bottom: 15px;
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  line-height: 1.15;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 30px;
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  opacity: 0.98;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-btn {
  display: inline-block;
  padding: 20px 50px;
  background: linear-gradient(135deg, white, rgba(255, 255, 255, 0.95));
  color: var(--greenDark);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  overflow: hidden;
}

.hero-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.hero-cta-btn:hover::before {
  left: 100%;
}

.hero-cta-btn:hover {
  transform: translateY(-6px) scale(1.06);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  background: white;
  color: var(--greenDark);
}

.hero-cta-btn:active {
  transform: translateY(-3px) scale(1.03);
}

/* ================================= */
/* Promotional Videos Section        */
/* ================================= */
.promotional-section {
  padding: 80px 40px 100px;
  background: var(--bgGradient);
  position: relative;
}

.container-promo {
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 52px;
  font-weight: 900;
  color: var(--greenDarker);
  margin-bottom: 25px;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--greenNormal), var(--greenDark));
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 22px;
  color: var(--textLight);
  margin-bottom: 60px;
  font-family: 'Poppins', sans-serif;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  font-weight: 400;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 30px;
  margin-top: 0;
}

.video-card {
  background: var(--cardBg);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid rgba(34, 197, 94, 0.1);
  animation: fadeInUp 0.8s ease-out backwards;
  position: relative;
}

.video-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.02), rgba(34, 197, 94, 0.01));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.video-card:hover::before {
  opacity: 1;
}

.video-card:nth-child(1) {
  animation-delay: 0.1s;
}

.video-card:nth-child(2) {
  animation-delay: 0.2s;
}

.video-card:nth-child(3) {
  animation-delay: 0.3s;
}

.video-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 60px rgba(34, 197, 94, 0.3);
  border-color: var(--greenNormal);
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: var(--greenLight);
}

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

.video-card:hover .promo-video {
  transform: scale(1.1);
}


.video-content {
  padding: 35px 30px;
  position: relative;
  z-index: 1;
}

.video-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--greenDarker);
  margin-bottom: 15px;
  font-family: 'Poppins', sans-serif;
  transition: color 0.3s ease;
}

.video-card:hover .video-title {
  color: var(--greenNormal);
}

.video-description {
  font-size: 17px;
  color: var(--textLight);
  line-height: 1.7;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
}

/* ================================= */
/* Responsive Design                 */
/* ================================= */
@media (max-width: 1200px) {
  .videos-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-cta-btn {
    padding: 14px 35px;
    font-size: 16px;
  }

  .section-title {
    font-size: 36px;
  }

  .section-subtitle {
    font-size: 18px;
  }

  .videos-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .promotional-section {
    padding: 60px 20px;
  }

  .video-wrapper {
    height: 250px;
  }

  .play-btn {
    width: 60px;
    height: 60px;
  }

  .play-btn i {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .video-wrapper {
    height: 200px;
  }
}

/* ================================= */
/* Professional Footer               */
/* ================================= */
.main-footer {
  background: linear-gradient(135deg, var(--greenDark) 0%, var(--greenDarker) 100%);
  color: #ffffff;
  padding: 60px 40px 30px;
  margin-top: 0;
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow: hidden;
}

.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.footer-heading {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.5px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  width: fit-content;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--greenLight);
  transition: width 0.3s ease;
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.footer-link:hover::after {
  width: 100%;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
}

.footer-copyright {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.5px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.legal-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.legal-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.separator {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin: 0 2px;
}

/* Back to Top Button */
#backToTop {
  cursor: pointer;
  position: relative;
}

#backToTop::after {
  display: none;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .main-footer {
    padding: 50px 30px 25px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .separator {
    display: none;
  }
}

@media (max-width: 480px) {
  .main-footer {
    padding: 40px 20px 20px;
  }

  .footer-heading {
    font-size: 18px;
  }

  .footer-link {
    font-size: 14px;
  }

  .footer-copyright,
  .legal-link {
    font-size: 13px;
  }
}

/* ================================= */
/* Partners/Sponsors Section          */
/* ================================= */
.partners-section {
  padding: 100px 40px;
  background: linear-gradient(135deg, var(--greenDarker) 0%, var(--greenDark) 100%);
  position: relative;
  overflow: hidden;
}

.partners-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.partners-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.partner-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 50px 40px;
  display: flex;
  align-items: flex-start;
  gap: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.partner-card:hover::before {
  left: 100%;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.partner-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
}

.partner-logo-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--greenDarker);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
}

.partner-card:hover .partner-logo-circle {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.partner-logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.logo-main {
  font-size: 28px;
  font-weight: 900;
  color: var(--greenDarker);
  font-family: 'Poppins', sans-serif;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 2px;
}

.logo-sub {
  font-size: 12px;
  font-weight: 700;
  color: var(--greenDark);
  font-family: 'Poppins', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
}

.partner-icon-wrapper {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.partner-icon-wrapper i {
  font-size: 80px;
  color: white;
  transition: all 0.4s ease;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.partner-card:hover .partner-icon-wrapper i {
  transform: scale(1.15) rotate(-5deg);
  filter: drop-shadow(0 6px 15px rgba(0, 0, 0, 0.4));
}

.partner-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.partner-label {
  font-size: 24px;
  font-weight: 700;
  color: white;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 1px;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.partner-card:hover .partner-label {
  transform: translateX(10px);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.partner-description {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Poppins', sans-serif;
  line-height: 1.8;
  margin: 0;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.partner-card:hover .partner-description {
  color: rgba(255, 255, 255, 0.95);
  transform: translateX(5px);
}

/* Responsive Design for Partners */
@media (max-width: 768px) {
  .partners-section {
    padding: 60px 30px;
  }

  .partner-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 30px;
    gap: 30px;
    align-items: center;
  }

  .partner-logo-wrapper {
    justify-content: center;
  }

  .partner-logo-circle {
    width: 100px;
    height: 100px;
  }

  .logo-main {
    font-size: 24px;
  }

  .logo-sub {
    font-size: 10px;
  }

  .partner-icon-wrapper {
    width: 100px;
    height: 100px;
  }

  .partner-icon-wrapper i {
    font-size: 60px;
  }

  .partner-content {
    text-align: center;
    align-items: center;
  }

  .partner-label {
    font-size: 20px;
  }

  .partner-description {
    font-size: 13px;
    text-align: center;
  }

  .partner-card:hover .partner-label,
  .partner-card:hover .partner-description {
    transform: none;
  }
}

@media (max-width: 480px) {
  .partners-section {
    padding: 40px 20px;
  }

  .partner-card {
    padding: 30px 20px;
    gap: 25px;
    align-items: center;
  }

  .partner-logo-wrapper {
    justify-content: center;
  }

  .partner-logo-circle {
    width: 80px;
    height: 80px;
  }

  .logo-main {
    font-size: 20px;
  }

  .logo-sub {
    font-size: 9px;
  }

  .partner-icon-wrapper {
    width: 80px;
    height: 80px;
  }

  .partner-icon-wrapper i {
    font-size: 50px;
  }

  .partner-content {
    text-align: center;
    align-items: center;
  }

  .partner-label {
    font-size: 18px;
  }

  .partner-description {
    font-size: 12px;
    text-align: center;
  }

  .partner-card:hover .partner-label,
  .partner-card:hover .partner-description {
    transform: none;
  }
}
