/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== VARIABLES CSS ===== */
:root {
  --header-height: 3.5rem;

  /* ========== Colors ========== */
  --primary-color: #DC143C;
  --primary-color-alt: #B91C3C;
  --secondary-color: #2C2C2C;
  --title-color: #1F2937;
  --text-color: #6B7280;
  --text-color-light: #9CA3AF;
  --body-color: #FFFFFF;
  --container-color: #F8F9FA;
  --border-color: #E5E7EB;
  --shadow-color: rgba(0, 0, 0, 0.1);

  /* ========== Font and typography ========== */
  --body-font: 'Inter', sans-serif;
  --biggest-font-size: 3rem;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.875rem;
  --h3-font-size: 1.5rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.75rem;

  /* ========== Font weight ========== */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /* ========== Margins Bottom ========== */
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-25: 1.25rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;

  /* ========== z index ========== */
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* Responsive typography */
@media screen and (max-width: 992px) {
  :root {
    --biggest-font-size: 2.25rem;
    --h1-font-size: 1.875rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.75rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body,
button,
input,
textarea {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
}

/* ===== REUSABLE CSS CLASSES ===== */
.container {
  max-width: 1200px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid {
  display: grid;
}

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

.section__header {
  text-align: center;
  margin-bottom: var(--mb-3);
}

.section__title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  margin-bottom: var(--mb-0-75);
  position: relative;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-color-alt));
  border-radius: 2px;
}

.section__subtitle {
  color: var(--text-color);
  font-size: var(--normal-font-size);
}

/* ===== BUTTONS ===== */
.button {
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
  background-color: var(--primary-color);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: var(--font-medium);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.button:hover::before {
  left: 100%;
}

.button:hover {
  background-color: var(--primary-color-alt);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 20, 60, 0.3);
}

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

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

.button__icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.button:hover .button__icon {
  transform: translateX(0.25rem);
}

/* ===== HEADER & NAV ===== */
.header {
  width: 100%;
  background-color: var(--body-color);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: box-shadow 0.3s ease;
}

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

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

.logo-img {
  height: 100px;
  width: auto;
  margin-top: 20px;
}

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

.nav__link {
  color: var(--title-color);
  font-weight: var(--font-medium);
  transition: color 0.3s ease;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav__link:hover::after,
.active-link::after {
  width: 100%;
}

.nav__link:hover,
.active-link {
  color: var(--primary-color);
}

.nav__toggle,
.nav__close {
  display: none;
}

/* Show header shadow */
.scroll-header {
  box-shadow: 0 2px 20px var(--shadow-color);
}

/* ===== HOME ===== */
.home {
  padding: 8rem 0 2rem;
}

.home__container {
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}

.home__content {
  padding-right: 2rem;
}

.home__title {
  font-size: var(--biggest-font-size);
  font-weight: var(--font-bold);
  margin-bottom: var(--mb-1);
  line-height: 1.2;
}

.home__title-accent {
  color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-alt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home__description {
  margin-bottom: var(--mb-2);
  font-size: 1.125rem;
  line-height: 1.7;
}

.home__buttons {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

.home__img {
  position: relative;
}

.home__img-main {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 20px 40px var(--shadow-color);
  transition: transform 0.3s ease;
}

.home__img-main:hover {
  transform: translateY(-10px);
}

/* ===== ABOUT ===== */
.about__container {
  gap: 3rem;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}

.about__img {
  position: relative;
}

.about__img-main {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 15px 30px var(--shadow-color);
}

.about__content {
  padding-left: 2rem;
}

.about__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: var(--primary-color);
}

.about__description {
  margin-bottom: var(--mb-2);
  line-height: 1.7;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: var(--mb-2);
}

.about__stat {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--container-color);
  border-radius: 0.75rem;
  transition: transform 0.3s ease;
}

.about__stat:hover {
  transform: translateY(-5px);
}

.about__stat-number {
  font-size: var(--h3-font-size);
  color: var(--primary-color);
  font-weight: var(--font-bold);
  margin-bottom: var(--mb-0-5);
}

.about__stat-text {
  font-size: var(--small-font-size);
  color: var(--text-color);
}

/* ===== MISSION ===== */
.mission__container {
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

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

.mission__card {
  background-color: var(--container-color);
  padding: 2rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-color);
}

.mission__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.mission__title {
  font-size: var(--h3-font-size);
  color: var(--primary-color);
  margin-bottom: var(--mb-1);
}

.mission__description {
  line-height: 1.7;
  color: var(--text-color);
}

.mission__img-main {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 15px 30px var(--shadow-color);
}

/* ===== CULTURE ===== */
.culture {
  background-color: var(--container-color);
}

.culture__container {
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.culture__content {
  padding-right: 2rem;
}

.culture__description {
  margin-bottom: var(--mb-2);
  line-height: 1.7;
  color: var(--text-color);
}

.culture__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: var(--mb-2);
}

.culture__feature {
  display: flex;
  align-items: center;
  column-gap: 1rem;
  padding: 1rem;
  background-color: var(--body-color);
  border-radius: 0.75rem;
  transition: transform 0.3s ease;
}

.culture__feature:hover {
  transform: translateX(10px);
}

.culture__feature i {
  font-size: 1.5rem;
  color: var(--primary-color);
  width: 30px;
  text-align: center;
}

.culture__feature span {
  font-weight: var(--font-medium);
  color: var(--title-color);
}

.culture__img-main {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 15px 30px var(--shadow-color);
}

/* ===== COMPLIANCE ===== */
.compliance__container {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.compliance__card {
  background-color: var(--body-color);
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 8px 25px var(--shadow-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--primary-color);
}

.compliance__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px var(--shadow-color);
}

.compliance__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-alt));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--mb-1);
  transition: transform 0.3s ease;
}

.compliance__card:hover .compliance__icon {
  transform: scale(1.1);
}

.compliance__icon i {
  font-size: 2rem;
  color: #fff;
}

.compliance__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: var(--title-color);
}

.compliance__description {
  line-height: 1.6;
  color: var(--text-color);
  text-align: left;
}

/* ===== VALUES ===== */
.values {
  background-color: var(--container-color);
}

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

.values__card {
  background-color: var(--body-color);
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 8px 25px var(--shadow-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.values__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-color-alt));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.values__card:hover::before {
  transform: scaleX(1);
}

.values__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px var(--shadow-color);
}

.values__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-alt));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--mb-1);
  transition: transform 0.3s ease;
}

.values__card:hover .values__icon {
  transform: scale(1.1);
}

.values__icon i {
  font-size: 2rem;
  color: #fff;
}

.values__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: var(--title-color);
}

.values__description {
  line-height: 1.6;
  color: var(--text-color);
}

/* ===== CONTACT ===== */
.contact__container {
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.contact__info {
  display: grid;
  gap: 1.5rem;
}

.contact__card {
  display: flex;
  align-items: flex-start;
  column-gap: 1rem;
  padding: 1.5rem;
  background-color: var(--container-color);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.contact__card:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 25px var(--shadow-color);
}

.contact__card-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-alt));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__card-icon i {
  font-size: 1.25rem;
  color: #fff;
}

.contact__card-title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-5);
  color: var(--title-color);
}

.contact__card-description {
  color: var(--text-color);
  line-height: 1.6;
}

.contact__img-main {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 15px 30px var(--shadow-color);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--secondary-color);
  padding: 3rem 0 2rem;
}

.footer__container {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: var(--mb-2);
}

.footer__logo-img {
  height: 90px;
  width: auto;
  margin-bottom: var(--mb-1);
}

.footer__description {
  color: #D1D5DB;
  line-height: 1.6;
  margin-bottom: var(--mb-1);
}

.footer__title {
  font-size: var(--h3-font-size);
  color: #fff;
  margin-bottom: var(--mb-1);
}

.footer__links {
  display: grid;
  gap: 0.5rem;
}

.footer__link {
  color: #D1D5DB;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: var(--primary-color);
}

.footer__text {
  color: #D1D5DB;
  font-size: var(--small-font-size);
}

.footer__bottom {
  border-top: 1px solid #374151;
  padding-top: var(--mb-1-5);
}

.footer__copy {
  text-align: center;
  color: #9CA3AF;
  font-size: var(--small-font-size);
  line-height: 1.6;
}

/* ===== SCROLL UP ===== */
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background-color: var(--primary-color);
  opacity: 0.8;
  padding: 0.5rem;
  border-radius: 0.4rem;
  z-index: var(--z-tooltip);
  transition: all 0.4s ease;
}

.scrollup:hover {
  background-color: var(--primary-color-alt);
  opacity: 1;
  transform: translateY(-3px);
}

.scrollup__icon {
  font-size: 1.5rem;
  color: #fff;
}

/* Show scroll */
.show-scroll {
  bottom: 5rem;
}

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

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

/* ===== BREAKPOINTS ===== */
/* For large devices */
@media screen and (max-width: 992px) {
  .container {
    margin-left: var(--mb-1-5);
    margin-right: var(--mb-1-5);
  }

  .home__container,
  .about__container,
  .mission__container,
  .culture__container,
  .contact__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home__content,
  .about__content,
  .culture__content {
    padding-right: 0;
    padding-left: 0;
  }

  .home__img,
  .about__img,
  .mission__img {
    order: -1;
  }

  .about__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .culture__features {
    grid-template-columns: 1fr;
  }

  .values__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .compliance__container {
    grid-template-columns: 1fr;
  }
}

/* For medium devices */
@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background-color: var(--body-color);
    padding: 2rem 1.5rem 4rem;
    box-shadow: 0 4px 20px var(--shadow-color);
    border-radius: 0 0 1rem 1rem;
    transition: top 0.3s ease;
  }

  .nav__list {
    flex-direction: column;
    row-gap: 1.5rem;
  }

  .nav__link {
    font-size: var(--h3-font-size);
  }

  .nav__close,
  .nav__toggle {
    display: block;
  }

  .nav__close {
    position: absolute;
    right: 1.3rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--title-color);
  }

  .nav__toggle {
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--title-color);
  }

  .show-menu {
    top: 0;
  }

  .home__buttons {
    flex-direction: column;
    align-items: stretch;
    row-gap: 1rem;
  }

  .about__stats {
    grid-template-columns: 1fr;
  }

  .culture__features {
    grid-template-columns: 1fr;
  }

  .values__container {
    grid-template-columns: 1fr;
  }

  .compliance__container {
    grid-template-columns: 1fr;
  }

  .contact__container {
    grid-template-columns: 1fr;
  }

  .contact__img {
    order: -1;
  }
}

/* For small devices */
@media screen and (max-width: 350px) {
  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }

  .home__buttons {
    flex-direction: column;
  }

  .values__card {
    padding: 2rem 1.5rem;
  }
}

