
/* ========================================
   ADMIN / INTERNAL ACCESS
======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  min-height: 100vh;
  background: #f4f8f6;
  color: #16352a;
}


/* ========================================
   MAIN
======================================== */

.internal-access {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}


/* Background decoration */

.internal-access::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(42, 157, 112, 0.08);
  top: -250px;
  left: -180px;
}

.internal-access::after {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: rgba(42, 157, 112, 0.06);
  bottom: -250px;
  right: -150px;
}


/* ========================================
   CONTAINER
======================================== */

.internal-container {
  width: 100%;
  max-width: 1050px;
  position: relative;
  z-index: 1;
}


/* ========================================
   HEADER
======================================== */

.internal-header {
  text-align: center;
  margin-bottom: 45px;
}

.internal-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #26966b;
  margin-bottom: 14px;
}

.internal-header h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 15px;
}

.internal-header p {
  color: #6b7d75;
  font-size: 15px;
  line-height: 1.7;
}


/* ========================================
   CARDS
======================================== */

.internal-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}


/* Card */

.internal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 35px;
  text-decoration: none;
  color: inherit;

  background: rgba(255, 255, 255, 0.88);

  border: 1px solid rgba(42, 157, 112, 0.12);
  border-radius: 24px;

  box-shadow:
    0 15px 40px rgba(20, 65, 48, 0.07);

  overflow: hidden;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}


/* Hover */

.internal-card:hover {
  transform: translateY(-8px);

  border-color: rgba(42, 157, 112, 0.35);

  box-shadow:
    0 25px 55px rgba(20, 65, 48, 0.12);
}


/* Green glow */

.internal-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;

  background: rgba(42, 157, 112, 0.07);

  top: -80px;
  right: -60px;

  transition: transform 0.5s ease;
}

.internal-card:hover::before {
  transform: scale(1.4);
}


/* ========================================
   ICON
======================================== */

.internal-icon {
  width: 65px;
  height: 65px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 18px;

  background: #e8f6ef;

  font-size: 28px;

  margin-bottom: 28px;

  position: relative;
  z-index: 1;

  transition:
    transform 0.35s ease,
    background 0.35s ease;
}

.internal-card:hover .internal-icon {
  transform: scale(1.08) rotate(-3deg);
  background: #d9f1e5;
}


/* ========================================
   CONTENT
======================================== */

.internal-content {
  position: relative;
  z-index: 1;
}

.internal-content h2 {
  font-size: 25px;
  font-weight: 750;
  margin-bottom: 12px;
}

.internal-content p {
  color: #71817a;
  font-size: 14px;
  line-height: 1.8;
  max-width: 420px;
}


/* ========================================
   BUTTON
======================================== */

.internal-button {
  display: inline-flex;
  align-items: center;

  margin-top: auto;
  padding-top: 28px;

  color: #26966b;

  font-size: 14px;
  font-weight: 700;

  position: relative;
  z-index: 1;

  transition:
    gap 0.3s ease,
    color 0.3s ease;
}

.internal-card:hover .internal-button {
  color: #197a55;
}


/* ========================================
   BACK LINK
======================================== */

.back-link {
  display: flex;
  justify-content: center;

  width: fit-content;
  margin: 35px auto 0;

  color: #71817a;

  font-size: 13px;
  font-weight: 600;

  text-decoration: none;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.back-link:hover {
  color: #26966b;
  transform: translateX(-3px);
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 768px) {

  .internal-access {
    padding: 50px 18px;
  }

  .internal-header {
    margin-bottom: 32px;
  }

  .internal-header h1 {
    font-size: 38px;
  }

  .internal-header p {
    font-size: 14px;
  }

  .internal-cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .internal-card {
    min-height: 290px;
    padding: 28px;
    border-radius: 20px;
  }

}


/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 480px) {

  .internal-access {
    padding: 40px 15px;
  }

  .internal-header h1 {
    font-size: 32px;
  }

  .internal-label {
    font-size: 10px;
    letter-spacing: 1.7px;
  }

  .internal-card {
    min-height: 275px;
    padding: 25px;
  }

  .internal-icon {
    width: 58px;
    height: 58px;
    font-size: 25px;
    border-radius: 16px;
    margin-bottom: 22px;
  }

  .internal-content h2 {
    font-size: 22px;
  }

  .internal-content p {
    font-size: 13px;
  }

}

