/* Color System Variables */
:root {
  --bg-primary: #101b23;
  --bg-secondary: #122431;
  --text-primary: #ffffff;
  --text-secondary: #3f627d;
  --border-color: #3f627d;
  --border-opacity: 0.5;
  --accent-accent: #00a6eb;
  --overlay-dark: rgba(16, 27, 35, 0.46);
}


/* ==================== */
/* REVEAL ANIMATIONS    */
/* ==================== */

.reveal {
  opacity: 0;
  transform: translateY(20px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==================== */
/* CARD HOVER EFFECTS   */
/* ==================== */

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* ==================== */
/* SECTION BACKGROUNDS  */
/* ==================== */

.section-with-gradient {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #2c5282 0%,
    #1e3a5f 25%,
    #1a365d 50%,
    #0f172a 75%,
    #020617 100%
  );
}

/* Apply gradient to all main content sections across all pages */
main section:not(.page-hero):not([class*="hero"]) {
  background: linear-gradient(
    135deg,
    #2c5282 0%,
    #1e3a5f 25%,
    #1a365d 50%,
    #0f172a 75%,
    #020617 100%
  );
}




/* ==================== */
/* CARDS & COMPONENTS   */
/* ==================== */

.card-dark {
  background: var(--bg-secondary);
  border: 1px solid rgba(63, 98, 125, var(--border-opacity));
  border-radius: 24px;
  transition: all 0.3s ease;
  margin: 0 auto;
}

.card-dark:hover {
  border-color: rgba(63, 98, 125, 0.8);
  background: rgba(18, 36, 49, 0.9);
}

/* Mobile responsive card styling */
@media (max-width: 640px) {
  .card-dark {
    width: 100% !important;
    max-width: 100%;
    padding: 1.5rem;
  }
}

/* ==================== */
/* BUTTONS & ACTIONS    */
/* ==================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 1px solid #ffffff;
  border-radius: 20px;
  background: transparent;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 1px solid rgba(63, 98, 125, 0.6);
  border-radius: 20px;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(63, 98, 125, 0.15);
  border-color: rgba(63, 98, 125, 1);
  color: #ffffff;
}


/* ==================== */
/* FOOTER STYLES        */
/* ==================== */

.footer-wow {
  position: relative;
  background: var(--bg-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-wow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(
    180deg,
    rgba(63, 98, 125, 0.1) 0%,
    transparent 100%
  );
  pointer-events: none;
}

.footer-link {
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ffffff;
}

/* ==================== */
/* TESTIMONIAL CAROUSEL */
/* ==================== */

.testimonial-carousel {
  scroll-behavior: smooth;
  width: 100%;
  margin: 0 auto;
}

.testimonial-carousel::-webkit-scrollbar {
  display: none;
}

.testimonial-carousel {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.testimonial-track {
  transition: transform 0.25s ease;
  display: flex;
  width: 100%;
}

/* Mobile responsive testimonials */
@media (max-width: 640px) {
  .testimonial-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .testimonial-track {
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
    width: 100%;
  }

  .testimonial-track figure {
    max-width: 100%;
    margin: 0 auto;
    flex-basis: 100%;
  }
}

/* Tablet responsive testimonials - still use scroll but centered */
@media (min-width: 641px) and (max-width: 1024px) {
  .testimonial-carousel {
    display: flex;
    justify-content: center;
  }

  .testimonial-track {
    gap: 1.25rem;
    justify-content: flex-start;
  }
}

.carousel-nav {
  z-index: 10;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.carousel-nav:disabled {
  cursor: not-allowed;
}



/* ==================== */
/* RESPONSIVE STYLES    */
/* ==================== */

@media (max-width: 768px) {
  .section-with-gradient::before {
    height: 150px;
  }
}

@media (max-width: 640px) {
  .section-with-gradient::before {
    height: 100px;
  }
}


/* ==================== */
/* SCROLL SNAP LAYOUT   */
/* ==================== */

.scroll-snap-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.scroll-snap-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Footer special case - should align to top */
.scroll-snap-section.footer-wow {
  justify-content: flex-start;
}

/* Padding and spacing for content sections */
.scroll-snap-section .mx-auto {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* On mobile, reduce padding if content would overflow */
@media (max-width: 768px) {
  .scroll-snap-section .mx-auto {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

@media (max-width: 640px) {
  .scroll-snap-section .mx-auto {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* Hide scrollbar for cleaner look */
.scroll-snap-container::-webkit-scrollbar {
  width: 6px;
}

.scroll-snap-container::-webkit-scrollbar-track {
  background: rgba(63, 98, 125, 0.1);
}

.scroll-snap-container::-webkit-scrollbar-thumb {
  background: rgba(0, 166, 235, 0.5);
  border-radius: 3px;
}

.scroll-snap-container::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 166, 235, 0.8);
}

