/* ================== GOOGLE FONTS ================== */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@700;900&family=Open+Sans:wght@400;600&display=swap');

/* ================== CSS VARIABLES ================== */
:root {
  /* Colors (Split-Complementary: Blue base, Orange & Yellow accents) */
  --primary-color: #0052CC; /* Strong Blue for trust and professionalism */
  --secondary-color: #FF8B00; /* Vibrant Orange for action and energy */
  --accent-color: #FFC400; /* Bright Yellow/Gold for value and attention */
  --dark-color: #1a1a1a; /* Near-black for neo-brutalism elements and text */
  --dark-color-lighten: #2c2c2c;
  --text-color: #333;
  --text-color-light: #e0e0e0;
  --body-color: #F4F7FA; /* Light, clean background */
  --white-color: #FFFFFF;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.2);
  --glass-bg-dark: rgba(26, 26, 26, 0.4);
  --glass-border: 1px solid rgba(255, 255, 255, 0.3);
  --glass-border-dark: 1px solid rgba(255, 255, 255, 0.1);
  --backdrop-blur: blur(12px);

  /* Neo-Brutalism */
  --neo-shadow: 4px 4px 0px var(--dark-color);
  --neo-shadow-light: 4px 4px 0px rgba(0, 0, 0, 0.1);
  --border-strong: 2px solid var(--dark-color);

  /* Typography */
  --font-body: 'Open Sans', sans-serif;
  --font-header: 'Raleway', sans-serif;

  /* Sizing & Z-index */
  --header-height: 4.5rem;
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ================== BASE STYLES ================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  font-weight: 900;
  color: var(--dark-color);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

ul {
  list-style: none;
}

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

a:hover {
    color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ================== UTILITY & REUSABLE CLASSES ================== */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.section {
  padding: 6rem 0 2rem;
}

.section__title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section__title::after {
  content: '';
  position: absolute;
  width: 70%;
  height: 4px;
  background-color: var(--secondary-color);
  bottom: -10px;
  left: 15%;
}

/* ================== BUTTONS ================== */
.button {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-header);
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}

.button--primary {
  background-color: var(--secondary-color);
  color: var(--white-color);
  border: var(--border-strong);
  box-shadow: var(--neo-shadow);
}

.button--primary:hover {
  background-color: var(--accent-color);
  color: var(--dark-color);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--dark-color);
}

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

.button--secondary:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.button--link {
    font-weight: bold;
    color: var(--primary-color);
    position: relative;
    padding: 0.25rem 0;
}

.button--link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: margin-left 0.3s ease;
}

.button--link:hover::after {
    margin-left: 1rem;
}

/* ================== HEADER & NAV ================== */
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background: var(--glass-bg-dark);
  backdrop-filter: var(--backdrop-blur);
  border-bottom: var(--glass-border-dark);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo, .nav__toggle, .nav__close {
  color: var(--white-color);
}

.nav__logo {
  font-family: var(--font-header);
  font-weight: 900;
  font-size: 1.5rem;
}

.nav__toggle {
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
}

.nav__list {
  display: flex;
  column-gap: 3rem;
}

.nav__link {
  color: var(--text-color-light);
  font-family: var(--font-header);
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.5rem;
}

.nav__link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  background-color: var(--secondary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav__link:hover::after {
  width: 100%;
}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  cursor: pointer;
  display: none;
}

/* ================== HERO SECTION ================== */
.hero {
  height: 95vh;
  display: grid;
  place-items: center;
  text-align: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: var(--white-color);
}

.hero__container {
  max-width: 800px;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--white-color);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero__subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--white-color);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* ================== SERVICES & CARDS ================== */
.services__container {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
  background: var(--white-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
  border: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

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

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

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card__title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card__description {
  margin-bottom: 1rem;
  text-align: left;
}

/* ================== STATISTICS ================== */
.statistics {
  background-color: var(--dark-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Parallax Effect */
  padding: 6rem 0;
  text-align: center;
}

.statistics__container {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  color: var(--white-color);
}

.statistic-item__number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.statistic-item__text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color-light);
}

/* ================== PARTNERS ================== */
.partners__container {
  overflow: hidden;
}

.partners__carousel {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.partner__logo {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition-smooth);
}

.partner__logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* ================== RESOURCES ================== */
.resources__container {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.resource-card {
  background-color: var(--white-color);
  border: var(--border-strong);
  padding: 2rem;
  transition: var(--transition-smooth);
}

.resource-card:hover {
  box-shadow: var(--neo-shadow);
  transform: translate(-2px, -2px);
}

.resource-card__title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.resource-card__description {
  margin-bottom: 1.5rem;
}

/* ================== MEDIA ================== */
.media__gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.media-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.media-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    transition: var(--transition-smooth);
}

.media-card__title {
    color: var(--white-color);
    font-size: 1.2rem;
    margin: 0;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s ease;
}

.media-card:hover .media-card__title {
    transform: translateY(0);
    opacity: 1;
}

/* ================== CAREERS (ACCORDION) ================== */
.careers__container {
    max-width: 800px;
    margin: 0 auto;
}

.careers__intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.accordion__item {
    background-color: var(--white-color);
    border: var(--border-strong);
    margin-bottom: 1rem;
}

.accordion__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    cursor: pointer;
}

.accordion__title {
    font-size: 1.2rem;
    margin: 0;
}

.accordion__toggle {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: transform 0.4s ease;
}

.accordion__item.active .accordion__toggle {
    transform: rotate(45deg);
}

.accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 1.5rem;
}

.accordion__content p {
    margin-bottom: 1rem;
}

/* ================== CONTACT FORM ================== */
.contact__container {
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 992px) {
    .contact__container {
        grid-template-columns: 1fr 1.2fr;
    }
}

.contact__info-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact__details p {
    margin-bottom: 0.5rem;
}

.contact__form {
    width: 100%;
}

.form__group {
    position: relative;
    margin-bottom: 2rem;
}

.form__input {
    width: 100%;
    padding: 1rem;
    border: none;
    border-bottom: 2px solid var(--text-color);
    background-color: transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form__label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: #999;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form__input:focus,
.form__input:valid {
    border-bottom-color: var(--primary-color);
}

.form__input:focus + .form__label,
.form__input:valid + .form__label {
    top: -1rem;
    left: 0;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.button--full {
    width: 100%;
}

/* ================== FOOTER ================== */
.footer {
  background-color: var(--dark-color);
  color: var(--text-color-light);
  padding: 4rem 0 2rem;
}

.footer__container {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  row-gap: 2rem;
}

.footer__title {
  font-size: 1.25rem;
  color: var(--white-color);
  margin-bottom: 1rem;
}

.footer__description {
  margin-bottom: 1rem;
}

.footer__link {
  color: var(--text-color-light);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer__link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.footer__copy {
  text-align: center;
  margin-top: 4rem;
  border-top: 1px solid var(--dark-color-lighten);
  padding-top: 2rem;
  font-size: 0.9rem;
}

/* ================== SPECIFIC PAGE STYLES ================== */

/* Success Page */
.success-page-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    background-color: var(--body-color);
}
.success-container {
    background: var(--white-color);
    padding: 3rem 4rem;
    border: var(--border-strong);
    box-shadow: var(--neo-shadow);
    max-width: 600px;
}
.success-container h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Legal Pages (Privacy, Terms) */
.legal-page-body {
    background-color: var(--white-color);
}
.legal-content {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 3rem;
}
.legal-content h1 {
    margin-bottom: 2rem;
}
.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}
.legal-content p, .legal-content li {
    margin-bottom: 1rem;
}

/* ================== RESPONSIVENESS ================== */
@media screen and (max-width: 768px) {
  .nav__list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: var(--dark-color-lighten);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: right 0.4s ease-in-out;
  }

  .nav__menu.show-menu {
    right: 0;
  }

  .nav__toggle {
    display: block;
  }

  .nav__close {
    display: block;
  }

  .section {
      padding: 4rem 0 1rem;
  }

  .section__title {
      font-size: 2rem;
  }
}