@import url("https://fonts.googleapis.com/css2?family=Trirong:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --orange: #f25a06;
  --orange-hover: #c41824;
  --heading-font: "Trirong", serif;
  --rule-line-left: 25px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  text-align: center;
  list-style-type: none;
}

section,
footer {
  overflow-x: hidden;
}

body {
  height: 100vh;
  background: #fafafa;
}

header {
  z-index: 999;
  background-color: rgba(56, 54, 54, 0.6);
}

.collaborate-hero {
  background: url("../assets/bg.jpeg");
  padding: 180px 20px 100px;
  color: white;
  text-align: center;
  position: relative;
}

.collaborate-hero h1 {
  font-family: var(--heading-font);
  font-size: 3rem;
  color: var(--orange);
  font-weight: 800;
}

.collaborate-hero p {
  font-size: 1.2rem;
  font-style: italic;
  color: #f5f5f5;
}

@media (max-width: 480px) {
  .collaborate-hero p,
  .collab-icon-grid .subtitle {
    font-size: 1rem;
  }

  .collaborate-hero h1 {
    font-size: 2rem;
  }
}

/* ------------------ Why ------------------ */
.why-collaborate-columns {
  padding: 100px 6% 80px;
  text-align: center;
}

.why-collaborate-columns h2 {
  font-size: 2.8rem;
  color: var(--orange);
  font-family: var(--heading-font);
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 10px;
}

.why-collaborate-columns .subtitle {
  font-size: 1.2rem;
  color: #444;
  max-width: 700px;
  margin: 0 auto 60px;
}

.columns-wrapper {
  display: flex;
  justify-content: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.column {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
}

.reason {
  display: flex;
  align-items: flex-start;
  justify-content: center; 
  gap: 20px;
  text-align: left;
  max-width: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
  margin-bottom: 40px; 
}

.reason.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reason span {
  font-size: 2.2rem;
  flex-shrink: 0;
  line-height: 1;
}

.reason div {
  max-width: 320px;
}

.reason h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: var(--orange-hover);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.reason h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s ease;
}

.reason:hover h3::after {
  width: 100%;
}

.reason p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .columns-wrapper {
    flex-direction: column;
    gap: 50px;
  }

  .column {
    align-items: center;
    text-align: center;
  }

  .reason {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .why-collaborate-columns h2 {
    font-size: 2rem;
  }

  .why-collaborate-columns .subtitle {
    font-size: 1rem;
  }

  .reason h3 {
    font-size: 1.1rem;
  }

  .reason p {
    font-size: 0.95rem;
  }

  .reason span {
    font-size: 1.8rem;
  }

  .reason {
    flex-direction: row;
    gap: 15px;
  }
}

.visual-divider {
  position: relative;
  height: 100px;
  background: linear-gradient(135deg, var(--orange-hover) 60%, #fafafa 60%);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}


/* ------------------ Ways ------------------ */
.collaborate-section {
  padding: 100px 5%;
  text-align: center;
  color: #222;
}

.collaborate-section h2 {
  font-size: 2.8rem;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 10px;
}

.collaborate-subtitle {
  font-size: 1.2rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 60px;
}

.grid-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px dashed var(--orange);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.grid-item i {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--orange);
}

.grid-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--orange-hover);
}

.grid-item p {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
}

.grid-item:hover {
  transform: translateY(-6px) scale(1.03);
  background: #fff4ec;
  border-color: var(--orange-hover);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.grid-item:hover h3,
.grid-item:hover i {
  color: var(--orange-hover);
}

@media (max-width: 480px) {
  .collaborate-section h2 {
    font-size: 2rem;
  }

  .grid-item {
    padding: 20px;
  }

  .grid-item i {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .grid-item h3 {
    font-size: 1.1rem;
  }

  .grid-item p {
    font-size: 0.95rem;
  }
}
