@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  --navy: #101b2d;
  --gold: #c5a46d;
  --gold-light: #e0c993;
  --cream: #f5f2eb;
  --white: #fff;
  --text: #29313c;
  --muted: #727780;
  --border: #dedad2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, 90%);
  margin: auto;
}

.section {
  padding: 110px 0;
}

/* =========================================================
   WHAT WE ARE
========================================================= */

.what-we-are {
  padding: 120px 0;
  background: #eaeaea;
  color: #000000;
}

.what-we-are-container {
  width: min(1180px, 90%);
  margin: 0 auto;
}

/* =========================================================
   HEADER
========================================================= */

.what-we-are-header {
  text-align: center;
  margin-bottom: 80px;
}

.what-we-are-header span {
  display: inline-block;
  color: #000000;
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 6px;
}

/* =========================================================
   MAIN CONTENT
========================================================= */

.what-we-are-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 100px;
  align-items: center;
}

/* =========================================================
   LEFT SIDE
========================================================= */

.what-we-are-text h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 500;
  line-height: 1;
  color: #000000;
  margin: 0 0 35px;
}

.what-we-are-text p {
  max-width: 720px;
  color: #000000;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 22px;
}

.what-we-are-text p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   RIGHT SIDE / LOGO
========================================================= */

.what-we-are-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
}

.what-we-are-logo img {
  display: block;
  width: min(100%, 380px);
  height: auto;
  object-fit: contain;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {
  .what-we-are {
    padding: 90px 0;
  }

  .what-we-are-header {
    margin-bottom: 60px;
  }

  .what-we-are-header span {
    font-size: 19px;
    letter-spacing: 5px;
  }

  .what-we-are-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .what-we-are-logo {
    min-height: auto;
    order: -1;
  }

  .what-we-are-logo img {
    width: min(100%, 300px);
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 550px) {
  .what-we-are {
    padding: 70px 0;
  }

  .what-we-are-header {
    margin-bottom: 45px;
  }

  .what-we-are-header span {
    font-size: 16px;
    letter-spacing: 4px;
  }

  .what-we-are-text h2 {
    font-size: 48px;
    margin-bottom: 25px;
  }

  .what-we-are-text p {
    font-size: 14px;
    line-height: 1.75;
  }

  .what-we-are-content {
    gap: 45px;
  }

  .what-we-are-logo img {
    width: 240px;
  }
}

/* =========================================
   WHAT WE ARE HEADER
========================================= */

.what-we-are-header {
  width: 100%;
  padding: 0 20px 45px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid #d5d5d5;
}

.what-we-are-header span {
  display: inline-block;

  font-family: "Inter", sans-serif;
  font-size: clamp(55px, 10vw, 90px);
  font-weight: 1000;
  line-height: 0.9;
  letter-spacing: -5px;

  color: #000000;

  opacity: 0;
  transform: translateY(80px);

  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================
   SCROLL ANIMATION
========================================= */

.what-we-are-header.show span {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 850px) {
  .what-we-are-header {
    padding-bottom: 35px;
  }

  .what-we-are-header span {
    font-size: clamp(50px, 11vw, 90px);
    letter-spacing: -3px;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 550px) {
  .what-we-are-header {
    padding: 0 10px 30px;
  }

  .what-we-are-header span {
    font-size: clamp(38px, 13vw, 65px);
    letter-spacing: -2px;
  }
}

/* =========================================
   WHAT WE ARE DESCRIPTIONS
========================================= */

.what-we-are-text p {
  max-width: 720px;
  margin: 0 0 22px;
  padding-left: 25px;

  color: #000000;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.8;

  text-align: justify;
  text-justify: inter-word;
}
.what-we-are-text p {
  max-width: 720px;
  margin: 0 0 22px;

  color: #000000;
  font-family: "Inter", sans-serif;
  font-size: 17 px;
  line-height: 1.8;

  text-align: justify;
  text-justify: inter-word;
  text-indent: 35px;
}

/* =========================================
   WHAT WE ARE CONTENT ANIMATION
========================================= */

/* Description starts off-screen to the left */
.what-we-are-text {
  opacity: 0;
  transform: translateX(-100px);
  transition:
    opacity 0.9s ease,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Logo starts off-screen to the right */
.what-we-are-logo {
  opacity: 0;
  transform: translateX(100px);
  transition:
    opacity 0.9s ease,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* When section becomes visible */
.what-we-are-content.show .what-we-are-text {
  opacity: 1;
  transform: translateX(0);
}

.what-we-are-content.show .what-we-are-logo {
  opacity: 1;
  transform: translateX(0);
}

/* Slight delay for the logo */
.what-we-are-content.show .what-we-are-logo {
  transition-delay: 0.15s;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 850px) {
  .what-we-are-text {
    transform: translateX(-60px);
  }

  .what-we-are-logo {
    transform: translateX(60px);
  }
}

/* =========================================
   RIGHT SIDE / LOGO CONTAINER
========================================= */

.what-we-are-logo {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 380px;

  background: #ffffff;

  padding: 50px;

  border-radius: 0;

  /* Keeps the animation */
  opacity: 0;
  transform: translateX(100px);

  transition:
    opacity 0.9s ease,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Logo image */

.what-we-are-logo img {
  display: block;

  width: min(100%, 380px);
  height: auto;

  object-fit: contain;
}

/* =========================================
   ANIMATION
========================================= */

.what-we-are-content.show .what-we-are-logo {
  opacity: 1;
  transform: translateX(0);

  transition-delay: 0.15s;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 850px) {
  .what-we-are-logo {
    min-height: 320px;
    padding: 40px;

    transform: translateX(60px);
  }

  .what-we-are-logo img {
    width: min(100%, 300px);
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 550px) {
  .what-we-are-logo {
    min-height: 260px;
    padding: 30px;

    transform: translateX(60px);
  }

  .what-we-are-logo img {
    width: 240px;
  }
}

/* =========================================
   MISSION / VISION / VALUES
========================================= */

.mvv-section {
  position: relative;
  width: 100%;
  overflow: hidden;

  padding: 90px 30px;

  background: #bcbcbc;
}

/* =========================================
   PARTICLE CANVAS
========================================= */

#mvvParticles {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  pointer-events: none;
  z-index: 0;
}

/* =========================================
   CONTENT CONTAINER
========================================= */

.mvv-container {
  position: relative;
  z-index: 1;

  width: min(1150px, 100%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 70px;

  text-align: center;
}

/* =========================================
   INDIVIDUAL ITEM
========================================= */

.mvv-item {
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 10px 20px;
}

/* =========================================
   ICON
========================================= */

.mvv-icon {
  width: 55px;
  height: 55px;

  margin-bottom: 12px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.mvv-icon svg {
  width: 45px;
  height: 45px;

  stroke: #101f52;
  stroke-width: 1.8;

  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================
   HEADINGS
========================================= */

.mvv-item h3 {
  margin: 0 0 15px;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 30px;
  font-weight: 700;

  line-height: 1.1;

  color: #000000;
}

/* =========================================
   DESCRIPTION
========================================= */

.mvv-item p {
  max-width: 340px;

  margin: 0 auto;

  color: #333333;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 16px;
  line-height: 1.5;

  text-align: center;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 850px) {
  .mvv-section {
    padding: 75px 25px;
  }

  .mvv-container {
    gap: 35px;
  }

  .mvv-item h3 {
    font-size: 26px;
  }

  .mvv-item p {
    font-size: 15px;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {
  .mvv-section {
    padding: 70px 20px;
  }

  .mvv-container {
    grid-template-columns: 1fr;

    gap: 55px;
  }

  .mvv-item {
    padding: 0 15px;
  }

  .mvv-item h3 {
    font-size: 28px;
  }

  .mvv-item p {
    max-width: 420px;
  }
}

/* =========================================
   MVV SCROLL ANIMATION
========================================= */

.mvv-item {
  opacity: 0;
  transform: translateY(70px);

  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================
   SCROLL DOWN
   MISSION → VISION → VALUES
========================================= */

.mvv-section.mvv-down .mvv-item:nth-child(1) {
  transition-delay: 0s;
}

.mvv-section.mvv-down .mvv-item:nth-child(2) {
  transition-delay: 0.2s;
}

.mvv-section.mvv-down .mvv-item:nth-child(3) {
  transition-delay: 0.4s;
}

/* =========================================
   SCROLL UP
   VALUES → VISION → MISSION
========================================= */

.mvv-section.mvv-up .mvv-item:nth-child(1) {
  transition-delay: 0.4s;
}

.mvv-section.mvv-up .mvv-item:nth-child(2) {
  transition-delay: 0.2s;
}

.mvv-section.mvv-up .mvv-item:nth-child(3) {
  transition-delay: 0s;
}

/* =========================================
   VISIBLE
========================================= */

.mvv-section.mvv-visible .mvv-item {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {
  .mvv-item {
    transform: translateY(50px);
  }
}
