/* =====================================================
 STUDY DETAIL PAGE
 OIA UNISSULA
===================================================== */

/* =====================================================
 HERO
===================================================== */

.detail-hero {
  padding: 120px 0 100px;

  background: radial-gradient(
      circle at top right,
      rgba(52, 211, 153, 0.25),
      transparent 35%
    ),
    linear-gradient(135deg, #063b2c, #075c43);

  background-size: cover;

  background-position: center;

  color: white;

  position: relative;

  overflow: hidden;
}

.detail-hero::after {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(90deg, rgba(0, 0, 0, 0.15), transparent);
}

.detail-hero .container {
  position: relative;

  z-index: 2;
}

.detail-hero-content {
  max-width: 850px;
}

.detail-badge {
  display: inline-flex;

  padding: 8px 18px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.15);

  border: 1px solid rgba(255, 255, 255, 0.2);

  backdrop-filter: blur(12px);

  font-size: 13px;

  font-weight: 700;

  letter-spacing: 1px;

  margin-bottom: 25px;
}

.detail-hero h1 {
  font-size: clamp(42px, 6vw, 72px);

  font-weight: 900;

  line-height: 1.1;

  margin-bottom: 25px;
}

.detail-faculty {
  display: flex;

  align-items: center;

  gap: 12px;

  font-size: 18px;

  color: #d1fae5;
}

.detail-intro {
  margin-top: 25px;

  max-width: 780px;

  font-size: 19px;

  line-height: 1.8;

  color: #ecfdf5;
}

.detail-button {
  margin-top: 40px;

  display: inline-flex;

  align-items: center;

  gap: 12px;

  padding: 15px 35px;

  border-radius: 999px;

  background: #10b981;

  color: white;

  font-weight: 700;

  text-decoration: none;

  transition: 0.35s;
}

.detail-button:hover {
  background: #059669;

  transform: translateY(-5px);

  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.35);
}

/* =====================================================
 MAIN INFORMATION
===================================================== */

.detail-section {
  padding: 100px 0;

  background: #f8fafc;
}

.detail-grid {
  display: grid;

  grid-template-columns: 1.5fr 0.8fr;

  gap: 60px;

  align-items: start;
}

.detail-content h2 {
  font-size: 38px;

  font-weight: 800;

  color: #0f172a;

  margin-bottom: 20px;

  margin-top: 45px;
}

.detail-content h2:first-child {
  margin-top: 0;
}

.detail-content p {
  font-size: 17px;

  line-height: 1.9;

  color: #64748b;
}

/* =====================================================
 INFORMATION CARD
===================================================== */

.detail-card {
  padding: 35px;

  border-radius: 28px;

  background: white;

  border: 1px solid #e2e8f0;

  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.detail-item {
  display: flex;

  align-items: center;

  gap: 18px;

  padding: 22px 0;

  border-bottom: 1px solid #e2e8f0;
}

.detail-item:last-child {
  border: none;
}

.detail-icon {
  width: 52px;

  height: 52px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 16px;

  background: rgba(16, 185, 129, 0.12);

  color: #059669;

  font-size: 24px;
}

.detail-item span {
  display: block;

  font-size: 13px;

  color: #64748b;
}

.detail-item strong {
  display: block;

  margin-top: 5px;

  font-size: 16px;

  color: #0f172a;
}

/* =====================================================
 SECTION TITLE
===================================================== */

.section-title {
  text-align: center;

  max-width: 750px;

  margin: 0 auto 50px;
}

.section-title h2 {
  font-size: 42px;

  font-weight: 800;

  color: #0f172a;

  margin-bottom: 15px;
}

.section-title p {
  font-size: 17px;

  color: #64748b;

  line-height: 1.8;
}

/* =====================================================
 HIGHLIGHT
===================================================== */

.highlight-section {
  padding: 100px 0;

  background: white;
}

.highlight-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;
}

.highlight-card {
  padding: 35px;

  border-radius: 28px;

  background: #f8fafc;

  border: 1px solid #e2e8f0;

  transition: 0.35s;
}

.highlight-card:hover {
  transform: translateY(-8px);

  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.1);
}

.highlight-card i {
  font-size: 38px;

  color: #10b981;
}

.highlight-card h3 {
  font-size: 22px;

  font-weight: 800;

  margin: 20px 0 10px;

  color: #0f172a;
}

.highlight-card p {
  color: #64748b;

  line-height: 1.7;
}

/* =====================================================
 ADMISSION
===================================================== */

.admission-section {
  padding: 100px 0;

  background: #f8fafc;
}

.admission-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;
}

.admission-card {
  padding: 35px;

  background: white;

  border-radius: 28px;

  border: 1px solid #e2e8f0;

  transition: 0.35s;
}

.admission-card:hover {
  transform: translateY(-8px);

  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.1);
}

.admission-card i {
  font-size: 38px;

  color: #10b981;
}

.admission-card h3 {
  font-size: 22px;

  font-weight: 800;

  margin: 20px 0;

  color: #0f172a;
}

.admission-card ul {
  padding-left: 20px;
}

.admission-card li {
  margin-bottom: 10px;

  color: #64748b;

  line-height: 1.7;
}

/* =====================================================
 HOW TO APPLY
===================================================== */

.apply-section {
  padding: 100px 0;

  background: #ffffff;
}

.apply-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 25px;
}

.apply-card {
  position: relative;

  padding: 35px 25px;

  border-radius: 28px;

  background: #f8fafc;

  border: 1px solid #e2e8f0;

  text-align: center;

  transition: 0.35s ease;
}

.apply-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12);
}

.apply-number {
  position: absolute;

  top: 15px;

  right: 20px;

  font-size: 42px;

  font-weight: 900;

  color: #d1fae5;
}

.apply-card i {
  width: 70px;

  height: 70px;

  display: flex;

  align-items: center;

  justify-content: center;

  margin: auto;

  border-radius: 22px;

  background: rgba(16, 185, 129, 0.12);

  color: #059669;

  font-size: 32px;
}

.apply-card h3 {
  margin-top: 25px;

  font-size: 22px;

  font-weight: 800;

  color: #0f172a;
}

.apply-card p {
  margin-top: 15px;

  color: #64748b;

  line-height: 1.7;
}

/* =====================================================
 CTA BUTTON MULTIPLE
===================================================== */

.cta-buttons {
  display: flex;

  justify-content: center;

  align-items: center;

  gap: 20px;
}

.cta-buttons a {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding: 15px 35px;

  border-radius: 999px;

  background: white;

  color: #047857;

  font-weight: 700;

  text-decoration: none;

  transition: 0.3s;
}

.cta-buttons a:hover {
  transform: translateY(-5px);
}

.cta-buttons a:last-child {
  background: rgba(255, 255, 255, 0.15);

  color: white;

  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* =====================================================
 APPLY ACTION BUTTON
===================================================== */

.apply-action {
  display: flex;

  justify-content: center;

  align-items: center;

  gap: 25px;

  margin-top: 50px;
}

.apply-action a {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 12px;

  padding: 15px 32px;

  border-radius: 999px;

  background: #10b981;

  color: white;

  font-size: 16px;

  font-weight: 700;

  text-decoration: none;

  transition: all 0.35s ease;

  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.25);
}

.apply-action a:hover {
  transform: translateY(-5px);

  background: #059669;

  box-shadow: 0 20px 45px rgba(16, 185, 129, 0.35);
}

.apply-action a i {
  font-size: 20px;
}

/* BUTTON SECOND */

.apply-action a:last-child {
  background: transparent;

  color: #10b981;

  border: 1px solid rgba(16, 185, 129, 0.5);

  box-shadow: none;
}

.apply-action a:last-child:hover {
  background: rgba(16, 185, 129, 0.1);

  color: #059669;
}

/* =====================================================
 DARK MODE
===================================================== */

:is(html.dark, body.dark, html[data-theme="dark"], body[data-theme="dark"])
  .apply-action
  a {
  background: #10b981;

  color: white;
}

:is(html.dark, body.dark, html[data-theme="dark"], body[data-theme="dark"])
  .apply-action
  a:last-child {
  background: rgba(255, 255, 255, 0.05);

  border-color: rgba(255, 255, 255, 0.25);

  color: #d1fae5;
}

:is(html.dark, body.dark, html[data-theme="dark"], body[data-theme="dark"])
  .apply-action
  a:last-child:hover {
  background: rgba(52, 211, 153, 0.15);
}

/* MOBILE */

@media (max-width: 700px) {
  .apply-action {
    flex-direction: column;
  }

  .apply-action a {
    width: 100%;
  }
}

/* =====================================================
 DARK MODE APPLY
===================================================== */

:is(html.dark, body.dark, html[data-theme="dark"], body[data-theme="dark"])
  .apply-section {
  background: #06110d;
}

:is(html.dark, body.dark, html[data-theme="dark"], body[data-theme="dark"])
  .apply-card {
  background: linear-gradient(160deg, #12271f, #091812);

  border: 1px solid rgba(255, 255, 255, 0.08);
}

:is(html.dark, body.dark, html[data-theme="dark"], body[data-theme="dark"])
  .apply-number {
  color: rgba(52, 211, 153, 0.15);
}

:is(html.dark, body.dark, html[data-theme="dark"], body[data-theme="dark"])
  .apply-card
  h3 {
  color: #f8fafc;
}

:is(html.dark, body.dark, html[data-theme="dark"], body[data-theme="dark"])
  .apply-card
  p {
  color: #94a3b8;
}

/* =====================================================
 MOBILE
===================================================== */

@media (max-width: 1100px) {
  .apply-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .apply-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }
}

/* =====================================================
 CTA
===================================================== */

.detail-cta {
  padding: 100px 0;

  text-align: center;

  background: linear-gradient(135deg, #075c43, #063b2c);

  color: white;
}

.detail-cta h2 {
  font-size: 44px;

  font-weight: 900;
}

.detail-cta p {
  font-size: 18px;

  color: #d1fae5;

  margin: 20px 0 35px;
}

.detail-cta a {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding: 15px 35px;

  background: white;

  color: #047857;

  border-radius: 999px;

  font-weight: 700;

  text-decoration: none;
}

/* =====================================================
 DARK MODE
===================================================== */

:is(html.dark, body.dark, html[data-theme="dark"], body[data-theme="dark"])
  .detail-section,
:is(html.dark, body.dark, html[data-theme="dark"], body[data-theme="dark"])
  .admission-section {
  background: #06110d;
}

:is(html.dark, body.dark, html[data-theme="dark"], body[data-theme="dark"])
  .highlight-section {
  background: #06110d;
}

:is(html.dark, body.dark, html[data-theme="dark"], body[data-theme="dark"])
  .detail-content
  h2,
:is(html.dark, body.dark, html[data-theme="dark"], body[data-theme="dark"])
  .section-title
  h2 {
  color: #f8fafc;
}

:is(html.dark, body.dark, html[data-theme="dark"], body[data-theme="dark"])
  .detail-content
  p,
:is(html.dark, body.dark, html[data-theme="dark"], body[data-theme="dark"])
  .section-title
  p {
  color: #94a3b8;
}

:is(html.dark, body.dark, html[data-theme="dark"], body[data-theme="dark"])
  .detail-card,
:is(html.dark, body.dark, html[data-theme="dark"], body[data-theme="dark"])
  .highlight-card,
:is(html.dark, body.dark, html[data-theme="dark"], body[data-theme="dark"])
  .admission-card {
  background: linear-gradient(160deg, #12271f, #091812);

  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

:is(html.dark, body.dark, html[data-theme="dark"], body[data-theme="dark"])
  .detail-item {
  border-color: rgba(255, 255, 255, 0.1);
}

:is(html.dark, body.dark, html[data-theme="dark"], body[data-theme="dark"])
  .detail-item
  strong,
:is(html.dark, body.dark, html[data-theme="dark"], body[data-theme="dark"])
  .highlight-card
  h3,
:is(html.dark, body.dark, html[data-theme="dark"], body[data-theme="dark"])
  .admission-card
  h3 {
  color: #f8fafc;
}

:is(html.dark, body.dark, html[data-theme="dark"], body[data-theme="dark"])
  .highlight-card
  p,
:is(html.dark, body.dark, html[data-theme="dark"], body[data-theme="dark"])
  .admission-card
  li {
  color: #94a3b8;
}

.apply-section,
.apply-card,
.apply-card h3,
.apply-card p,
.apply-number {
  transition: background 0.35s ease, color 0.35s ease, border 0.35s ease;
}
/* =====================================================
 TRANSITION
===================================================== */

.detail-card,
.highlight-card,
.admission-card,
.detail-section,
.highlight-section,
.admission-section {
  transition: background 0.35s ease, border 0.35s ease, color 0.35s ease;
}

/* =====================================================
 REVEAL
===================================================== */

.reveal {
  opacity: 0;

  transform: translateY(30px);

  transition: 0.7s ease;
}

.reveal.show {
  opacity: 1;

  transform: none;
}

/* =====================================================
 RESPONSIVE
===================================================== */

@media (max-width: 1000px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .highlight-grid,
  .admission-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .detail-hero {
    padding: 80px 0;
  }

  .detail-hero h1 {
    font-size: 38px;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .detail-content h2 {
    font-size: 30px;
  }
}
