/* Reset & Base Styles */
:root {
  --primary: #00bfa6;
  --secondary: #020a13;
  --text-light: #ffffff;
  --text-dark: #333333;
  --accent: #f1c40f;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --nav-top: 44px;
}

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

/* FIX: Single scrollbar - html scrolls, body does not */
html {
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  overflow: hidden;
  font-family: var(--font-body);
  background-color: var(--secondary);
  color: var(--text-light);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}


/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10%;
  overflow: hidden;
}

/* Improved Announcement Ticker Bar */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 44px;
  background: linear-gradient(90deg, #051421, #00222a, #051421);
  background-size: 200% 200%;
  animation: gradientShimmer 8s ease infinite;
  border-bottom: 1px solid rgba(0, 191, 166, 0.4);
  z-index: 1001;
  /* Higher than nav */
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

@keyframes gradientShimmer {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.announcement-badge {
  position: absolute;
  left: 0;
  height: 100%;
  padding: 0 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, #00d2ff 100%);
  color: #000;
  display: flex;
  align-items: center;
  font-weight: 900;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  z-index: 102;
  box-shadow: 10px 0 25px rgba(0, 0, 0, 0.5);
}

.ticker-content {
  display: flex;
  white-space: nowrap;
  animation: ticker 50s linear infinite;
  gap: 10rem;
  padding-left: 280px;
  /* Space for the badge */
}

.ticker-item {
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.ticker-item i {
  color: var(--primary);
  font-size: 1.2rem;
  filter: drop-shadow(0 0 8px var(--primary));
}

.ticker-item strong {
  color: var(--primary);
  font-weight: 800;
}

.ticker-link {
  color: #000;
  text-decoration: none;
  font-weight: 800;
  padding: 8px 18px;
  background: var(--primary);
  border-radius: 50px;
  margin-left: 15px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 191, 166, 0.3);
}

.ticker-link:hover {
  background: #fff;
  color: var(--primary);
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 191, 166, 0.5);
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 992px) {}

@media (max-width: 768px) {
  .announcement-bar {
    height: 40px;
  }

  .announcement-badge {
    padding: 0 1.2rem;
    font-size: 0.7rem;
    letter-spacing: 1px;
  }

  .ticker-content {
    padding-left: 200px;
    animation-duration: 40s;
    gap: 4rem;
  }

  .ticker-item {
    font-size: 0.8rem;
  }

  .ticker-link {
    padding: 6px 12px;
    font-size: 0.65rem;
  }
}

.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10%;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.slide-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.moving-media {
  animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.15) translate(-2%, -2%); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 850px;
  color: white;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.4s;
}

.hero-slide.active .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 900;
}

.hero-title span {
  display: block;
}

.hero-title .line2 {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  line-height: 1.6;
}

/* Buttons */
.cta-button {
  display: inline-block;
  padding: 12px 35px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.discover-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 191, 166, 0.3);
}

.outline-btn {
  background: transparent;
  border: 2px solid #0ff;
  color: #0ff;
}

.outline-btn:hover {
  background: #0ff;
  color: #000;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

.gradient-btn {
  background: linear-gradient(145deg, #6c5ce7, #341f97);
  color: white;
  border: none;
}

.gradient-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(108, 92, 231, 0.4);
}

.yellow-btn {
  background: #f1c40f;
  color: #111;
  border: none;
}

.yellow-btn:hover {
  background: #f39c12;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(241, 196, 15, 0.4);
}

/* Slide Specific Content Styles */
.slide-tag {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: rgba(0, 191, 166, 0.2);
  color: var(--primary);
  border: 1px solid rgba(0, 191, 166, 0.3);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.slide-btns {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Sections */
section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 5%;
}

.intro-video-bg,
.section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.section-bg video,
.intro-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.section-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 4rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
}

/* Content Cards */
.content-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-card.reverse {
  flex-direction: row;
}

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

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  filter: brightness(0.4);
}

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

.card-text {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem;
  max-width: 800px;
}

.card-text h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.card-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Footer */
.main-footer {
  position: relative;
  background: #01050a;
  padding: 4rem 5% 2rem;
  color: white;
}

.footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  z-index: 0;
}

.footer-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.footer-col {
  display: flex;
  flex-direction: column;
}

.brand-col {
  align-items: center;
  text-align: center;
}

.footer-logo {
  width: 120px;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.social-links img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.social-links a:hover img {
  transform: scale(1.2);
}

.map-col iframe {
  max-width: 100%;
}

.contact-col h3 {
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  color: white;
  font-family: var(--font-body);
  width: 100%;
}

.contact-form button {
  padding: 12px;
  background: var(--accent);
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #f39c12;
}

.footer-bottom {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
  margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .content-card,
  .content-card.reverse {
    flex-direction: column;
    padding: 2rem;
    gap: 2rem;
  }

  .card-image {
    width: 100%;
    height: 300px;
    position: relative;
  }

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

@media (max-width: 768px) {
  nav {
    padding: 0 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-section {
    padding-left: 5%;
    justify-content: center;
    text-align: center;
  }

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

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

  .section-content {
    margin-top: 0;
  }

  .card-text h3 {
    font-size: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
}