/*
   BASE / GLOBAL
 */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/*
   LOGO MEANING SECTION
 */
.logo-meaning {
    padding: 120px clamp(5%, 8vw, 10%);
    display: flex;
    flex-direction: column;
    gap: clamp(80px, 12vw, 160px);
}

/*
   ROW LAYOUT (DESKTOP)
 */
.meaning-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "logo text";
    align-items: center;
    column-gap: clamp(40px, 6vw, 80px);
}

/* DESKTOP REVERSE (SECTION KE-2) */
.meaning-row.reverse {
    grid-template-areas: "text logo";
}

/*
   GRID AREAS
 */
.meaning-logo {
    grid-area: logo;
    display: flex;
    justify-content: center;
    align-items: center;
}

.meaning-text {
    grid-area: text;
    max-width: 560px;
}

/*
   LOGO SIZE
 */
.meaning-logo img {
    width: 100%;
    max-width: 300px;
}

/*
   TEXT
 */
.meaning-text p {
    font-size: 18px;
    line-height: 1.85;
    color: #4b5563; /* gray-600 */
    margin-bottom: 1rem;
}

.meaning-text .highlight {
    font-weight: 600;
    color: #1f2937; /* gray-900 */
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: block;
}

/*
   COLOR DOTS
 */
.color-dots {
    display: flex;
    gap: clamp(12px, 2vw, 18px);
    margin-bottom: 28px;
}

.dot {
    width: clamp(28px, 4vw, 46px);
    height: clamp(28px, 4vw, 46px);
    border-radius: 50%;
}

/* BLUE */
.blue-1 { background-color: #443DFF; }
.blue-2 { background-color: #91A3FF; }
.blue-3 { background-color: #B3D1FF; }

/* GREEN */
.green-1 { background-color: #17C500; }
.green-2 { background-color: #85C98D; }
.green-3 { background-color: #AFFFB0; }

/*
   DIVIDER LINES
 */
.divineB {
    width: 300px;
    height: 3px;
    background-color: #443DFF;
    border-radius: 2px;
    margin: 26px 0;
}

.divineG {
    width: 300px;
    height: 3px;
    background-color: #17C500;
    border-radius: 2px;
    margin: 26px 0;
}

/* TABLET (≤ 1024px) */
@media (max-width: 1024px) {
    .logo-meaning {
        padding: 100px 7%;
        gap: 120px;
    }

    .meaning-text p {
        font-size: 16.5px;
        line-height: 1.8;
    }

    .meaning-logo img {
        max-width: 260px;
    }
    
    .divineB,
    .divineG {
        width: 250px;
    }
}

/*
   MOBILE (≤ 768px)
 */
@media (max-width: 768px) {
    .logo-meaning {
        padding: 80px 6%;
        gap: 100px;
    }

    .meaning-row,
    .meaning-row.reverse {
        grid-template-columns: 1fr;
        grid-template-areas:
            "logo"
            "text";
        row-gap: 28px;
    }

    .meaning-text p {
        font-size: 15.5px;
        line-height: 1.75;
    }

    .meaning-logo img {
        max-width: 180px;
    }
    
    .divineB,
    .divineG {
        width: 200px;
    }
}

/*
   SMALL MOBILE (≤ 480px)
 */
@media (max-width: 480px) {
    .logo-meaning {
        padding: 56px 5%;
        gap: 72px;
    }

    .meaning-logo img {
        max-width: 150px;
    }

    .meaning-text p {
        font-size: 15px;
    }
    
    .divineB,
    .divineG {
        width: 180px;
    }
}

/* CUSTOM UTILITIES */
.group:hover .group-hover\:translate-x-1 {
    transform: translateX(0.25rem);
}

/* Ryzcle Divisions */
.ryzcle-divisions {
  padding: clamp(4rem, 8vw, 6rem) 1rem;
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
}

.ryzcle-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* GRID */
.ryzcle-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: stretch;
}

/* CARD */
.division-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: clamp(2rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
  border-top: 4px solid;
}

.division-card.labs { border-color: #2563eb; }
.division-card.tech { border-color: #10b981; }

/* BADGE */
.division-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  margin-bottom: 1.4rem;
}

/* HEAD */
.division-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.6rem;
}

.division-head img {
  height: 56px;
  margin-bottom: 0.9rem;
}

.division-head h3 {
  font-size: 1.55rem;
  font-weight: 700;
  color: #0f172a;
}

.tagline {
  font-size: 0.95rem;
  font-style: italic;
  color: #6b7280;
}

/* BODY */
.division-body {
  flex-grow: 1;
}

.division-lead {
  margin-bottom: 1.2rem;
  color: #334155;
  line-height: 1.65;
  font-size: 1.05rem;
}

/* LIST STYLING YANG ELEGAN */
.division-body ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1.5rem;
}

.division-body li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.8rem;
  color: #475569;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Bullet point kustom */
.division-body li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #3B82F6;
  font-size: 1.5rem;
  line-height: 1;
  top: -0.1rem;
}

.labs .division-body li::before {
  color: #3B82F6; 
}

.tech .division-body li::before {
  color: #10B981; 
}

/* FOOTER */
.division-footer {
  margin-top: 2rem;
  text-align: center;
}

.deliverables {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1.2rem;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: 0.6rem;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn.primary { background: #2563eb; }
.btn.success { background: #10b981; }

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.link {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.9rem;
  color: #64748b;
  text-decoration: none;
}

.link:hover {
  color: #2563eb;
}

/* DIVIDER */
.ryzcle-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: #94a3b8;
  font-size: 0.85rem;
  text-align: center;
}

.ryzcle-divider span {
  width: 1px;
  height: 48px;
  background: #757575;
}

.ryzcle-divider p {
  margin: 0;
  font-weight: 500;
  white-space: nowrap;
}

/* TABLET & MOBILE */
@media (max-width: 900px) {

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

  .division-card.labs { order: 1; }
  .ryzcle-divider      { order: 2; }
  .division-card.tech { order: 3; }

  .ryzcle-divider {
    flex-direction: row;
    margin: 1rem 0 1.5rem;
  }

  .ryzcle-divider span {
    width: 40px;
    height: 1px;
  }

  .ryzcle-divider p {
    margin: 0 0.75rem;
  }
}