@import url("https://fonts.googleapis.com/css2?family=Poppins: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");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins: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");

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  position: relative;
  max-width: 100vw;
}

:root {
  --green: #517047;
  --yellow: #ebb441;
  --khaki: #f5d594;

  --uscgreen: #007639;
  --uscyellow: #fcc327;
  --uscgold: #ffcc00;
}

body {
  position: relative;
  min-height: 100dvh;
  width: 100%;
  font-family: "Poppins", sans-serif;
  background-color: white;
  color: white;
}

#coverpage {
  height: 85dvh;
  background-image: url(images/hero2.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  transition: all 0.3s ease;
  animation: slidedown 1s ease;
}

@keyframes slidedown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

h1 {
  font-size: 50px;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 5px;
}

.headerline {
  position: absolute;
  top: 70px;
  left: 0px;
  background-color: white;
  height: 3px;
  width: 420px;
  animation: slideLeft 3s ease;
}

@keyframes slideLeft {
  0% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0%);
  }
}
nav ul {
  display: flex;
  gap: 100px;
  padding-right: 10px;
}

nav ul li {
  display: flex;
  list-style: none;
}
nav ul li a {
  font-size: 17px;
  text-decoration: none;
  color: white;

  transition: all 0.3s ease;
}

nav ul li a:hover {
  color: var(--uscgold);
}

.title {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70vh;

  font-size: clamp(20px, 1.7vw, 50px);
  text-align: center;
}

.getstarted {
  position: relative;
  min-height: 75vh;
  width: 100%;
  background-color: white;
}

.getstarted h2 {
  color: #ebb441;
  text-align: center;
  font-size: 3rem;
  padding-top: 20px;
}

.blocks {
  display: flex;
  justify-content: center;
  align-content: center;
  gap: 100px;
  padding-top: 20px;

  animation: appear 0.3s linear;
}
.block {
  height: 300px;
  width: 300px;
  border-radius: 20px;

  background-color: black;

  animation: appear linear;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}

@keyframes appear {
  from {
    opacity: 0;
    scale: 0.5;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

.getstarted .block {
  border: 5px solid;
  border-color: var(--uscgreen);
}
#block1 {
  position: relative;
  background-image: url(images/laptop.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(0, 0, 0, 0.5);
  transition: all 0.5s ease;
}

#block2 {
  position: relative;
  background-image: url(images/num2.gif);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

#block3 {
  position: relative;
  background-image: url(images/zoom.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.instructions {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: black;
}

.instructions p {
  width: 250px;
  text-align: center;
  padding-top: 20px;
  font-size: clamp(10px, 1rem, 20px);
}

.line {
  margin-top: 20px;
  height: 3px;
  width: 90%;

  background-color: var(--green);

  margin-inline: auto;
}
.intro {
  position: relative;
  min-height: 50dvh;
  color: white;
}

.intro h2 {
  color: var(--yellow);
  text-align: center;
  padding-top: 20px;
  font-size: 50px;

  animation: fadeup ease;
  animation-timeline: view();
}

@keyframes fadeup {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

.intro p {
  font-size: 20px;
  text-align: center;
  color: black;

  margin: 50px 100px;

  animation: appear ease;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}

.contents {
  position: relative;
  min-height: 70vh;
  padding: 60px 0;
  background: linear-gradient(
    337deg,
    rgb(0, 93, 45) 9%,
    rgba(252, 195, 39, 1) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contents h2 {
  font-size: 2.5rem;
  text-align: center;
  color: white;
  margin-bottom: 40px;
  letter-spacing: 1px;
  position: relative;
}

.contents h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--uscgold);
  border-radius: 2px;
  margin: 10px auto 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.6s ease-in-out;
}

.contents h2.animate::after {
  transform: scaleX(1);
}

.contents .blocks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  padding: 0 40px;
}

.contents .block {
  background-color: white;
  width: 280px;
  min-height: 250px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  padding: 30px 20px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.contents .block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 6px;
  width: 100%;
  background: var(--uscgold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.contents .block:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.contents .block:hover::before {
  transform: scaleX(1);
}

.contents h3 {
  font-size: 1.3rem;
  color: var(--uscgreen);
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.contents p {
  color: #333;
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.85;
  text-align: center;
  transition: all 0.3s ease;
}

.contents .block:hover h3 {
  color: var(--uscyellow);
}
.contents .block:hover p {
  opacity: 1;
}

.types {
  position: relative;
  min-height: 70dvh;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin: 50px 0;
}

.types h2 {
  color: var(--uscgold);
  font-size: 50px;
  text-align: center;
  padding-top: 20px;
  animation: fadeleft linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}

@keyframes fadeleft {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }

  to {
    transform: translateX(0px);
    opacity: 1;
  }
}

.types .line {
  width: 5px;
  border-radius: 5px;
  height: 0;
  background: #00b400;
  transition: height 1s ease, opacity 0.5s ease;

  opacity: 0;
}

.types .line.active {
  height: 400px;
  opacity: 1;
}

.container {
  animation: faderight linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}

@keyframes faderight {
  from {
    transform: translateX(20px);
    opacity: 0;
  }

  to {
    transform: translateX(0px);
    opacity: 1;
  }
}

.card {
  max-width: 1200px;
  margin: 0 60px 35px;
  padding: 20px 10px;
  overflow: hidden;
}

.cards .blk .cardlink {
  user-select: none;
  display: block;
  background-color: white;
  padding: 18px;
  border-radius: 18px;
  border: 3px solid #00b400;
  text-decoration: none;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
}

.cards .blk .cardlink:hover {
  border-color: var(--uscgreen);
  transform: translateY(-10px);
}

.cards .blk .cardimg {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
}

.card .blk .badge {
  color: var(--uscgreen);
  padding: 8px 16px;
  margin: 16px 0 5px;
  font-size: 0.95rem;
  font-weight: 500;
  background: #d6f8d6;
  border-radius: 50px;
  width: fit-content;
}

.card .blk .cardtitle {
  text-align: left;
  font-size: 1.2rem;
  color: var(--uscgold);
  font-weight: 600;
  padding-top: 0px;
}

.card .blk .cardbtn {
  height: 35px;
  width: 35px;
  color: var(--uscgreen);
  border-radius: 50%;
  margin: 10px 0 5px;
  background: none;
  cursor: pointer;
  border: 2px solid var(--uscgreen);
  transform: rotate(-45deg);
  transition: 0.3s ease;

  pointer-events: auto;
}

.blk .cardlink:hover .cardbtn {
  color: var(--uscgold);
  background: var(--uscgreen);
}

.card .swiper-pagination-bullet {
  height: 13px;
  width: 13px;
  opacity: 0.5;
  background: var(--uscgreen);
}

.card .swiper-pagination-bullet-active {
  opacity: 1;
}

.card .swiper-slide-button {
  color: var(--uscgreen);
  margin-top: -35px;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--uscgold);
}

.card-details {
  display: none;
  color: black;
  background-color: white;
  border-radius: 10px;
  padding: 10px;
  transition: opacity 0.3s ease;
}

.cardlink.show-details .cardimg,
.cardlink.show-details .badge {
  opacity: 0;
  display: none;
}

.cardlink.show-details .card-details {
  display: block;
  opacity: 1;
}

.cardlink.show-details .cardbtn {
  transform: rotate(135deg);
  background: var(--uscgreen);
  color: var(--uscgold);
}

.cardimg,
.badge {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cardlink.show-details .cardimg,
.cardlink.show-details .badge {
  opacity: 0;
  transform: translateY(-10px);
}

.card-details {
  display: block;
  color: black;
  background-color: white;
  border-radius: 10px;
  padding: 10px;
  opacity: 0;
  transform: translateY(30px);
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s,
    max-height 0.7s ease 0.5s;
}

.cardlink.show-details .card-details {
  opacity: 1;
  transform: translateY(0);
  max-height: 600px;
}

.table {
  position: relative;
  min-height: 100dvh;
  background-color: #f7f8fa;
  color: #333;
  padding: 40px;
}

.table h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2em;
  color: var(--uscgreen);
}

.table .table-container {
  overflow-x: auto;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 1500px;
  margin: 0 auto;
  animation: fadeleft linear;
  animation-timeline: view();
  animation-range: entry 0% cover 20%;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1000px;
}

th,
td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
}

th {
  background-color: var(--uscgreen);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

tr:nth-child(even) {
  background-color: #f9fafb;
}

tr:hover {
  background-color: rgba(255, 204, 0, 0.1);
  transition: background-color 0.25s ease;
}

td:first-child {
  font-weight: 600;
  color: var(--uscgreen);
}

thead tr {
  border-bottom: 4px solid var(--uscyellow);
}

.table h1::after {
  content: "";
  display: block;
  width: 0;
  height: 4px;
  margin: 8px auto 0;
  background-color: var(--uscgold);
  border-radius: 2px;
  transition: width 1.5s ease-in-out;
}

.table h1.animate::after {
  width: 30%;
}

@media (max-width: 768px) {
  th,
  td {
    padding: 12px;
    font-size: 0.9em;
  }
}

.cnc {
  position: relative;
  min-height: 50dvh;
  background: #01451e;
  background: linear-gradient(
    337deg,
    rgba(1, 69, 30, 1) 0%,
    rgba(88, 145, 51, 1) 35%,
    rgba(221, 185, 41, 1) 68%,
    rgba(252, 195, 39, 1) 100%
  );

  display: flex;
  align-items: center;
  justify-content: center;
}

.table h1 {
  animation: faderight linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}

.references-section {
  background: #fff;
  padding: 80px 20px;
  text-align: center;
}

.references-section h1 {
  font-size: 2.5rem;
  color: var(--uscgreen);
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.references-section h1::after {
  content: "";
  display: block;
  width: 90%;
  height: 4px;
  margin: 10px auto 0;
  background-color: var(--uscgold);
  border-radius: 2px;
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 0.6s ease-in-out;
}

.references-section h1.animate::after {
  transform: scaleX(1);
}

.reference-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  background: white;
  padding: 40px 50px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  line-height: 1.6;
}

.reference-list a {
  text-decoration: none;
  transition: all 0.3s ease;
}

.reference-list a:hover {
  text-decoration: underline;
}

.reference-list p {
  color: #333;
  margin-bottom: 20px;
  font-size: 0.95rem;
  text-align: center;
  transition: all 0.3s ease;
}

.reference-list p:hover {
  transform: scale(1.05);
}

.reference-list p i {
  color: var(--uscgreen);
  font-style: italic;
}

.about {
  position: relative;
  min-height: 100dvh;

  background: #f7f8fa;
}

#me {
  position: absolute;
  bottom: 0;
  height: 600px;

  border-top-right-radius: 50px;
}

.about header {
  justify-content: space-between;
  color: var(--uscgreen);
}
.about nav ul li a {
  padding-top: 20px;
  color: var(--uscgreen);
}

.about nav ul li a:hover {
  color: var(--uscgold);
}

.about .aline {
  width: 25%;
  height: 5px;
  border-radius: 10px;
  background: var(--uscgold);
}

.name {
  color: var(--uscgreen);
  font-size: 100px;

  position: absolute;
  top: 200px;
  right: 50px;
}

.line2 {
  height: 5px;
  width: 47%;
  background-color: var(--uscgold);
  border-radius: 50px;

  position: absolute;
  right: 0;
  top: 315px;
}

.about p {
  color: black;
  font-size: 15px;
  text-align: justify;
  width: 600px;

  position: absolute;
  right: 50px;
  top: 350px;
}

.icons {
  display: flex;
  gap: 100px;
  position: absolute;
  bottom: 100px;
  right: 170px;
}

.icons a img {
  height: 40px;
  transition: all 0.3s ease;
}
.gmail,
.fb,
.ig {
  transition: all 0.3s ease;
}
.gmail:hover {
  filter: drop-shadow(0 0 10px red);
  transform: scale(1.1);
}
.fb:hover {
  filter: drop-shadow(0 0 10px blue);
  transform: scale(1.1);
}
.ig:hover {
  filter: drop-shadow(0 0 10px rgb(232, 65, 226));
  transform: scale(1.1);
}

.tooltip {
  position: absolute;
  left: -80px;
  top: 50px;
  color: var(--uscgreen);
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gmail:hover .tooltip,
.fb:hover .tooltip,
.ig:hover .tooltip {
  opacity: 1;
}

/* LAST MINUTE TWEAKS */

.types h2,
.container,
.cards,
.blk .contents h2,
.intro p,
.intro h2,
.block,
.table h1,
.table .table-container {
  animation: none !important;
}

.about .aboutnav {
  color: var(--uscgold);
}

@media screen and (max-width: 768px) {
  header {
    display: block;
    padding: 10px 20px;
  }
  header h1 {
    font-size: 30px;
    text-align: center;
  }

  .headerline {
    width: 100%;
    top: 80px;
  }

  nav ul {
    gap: 20px;
    justify-content: center;
    padding: 0 10px;
  }

  nav ul li a:hover {
    color: white;
  }

  .about nav ul li a:hover {
    color: var(--uscgreen);
  }

  .blocks {
    display: block;
    width: 100%;
  }

  .instructions {
    padding-bottom: 20px;
  }

  .intro p {
    margin: 50px 20px;
    text-align: center;
  }

  .contents .blocks {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .container {
    animation: none !important;
    width: 100%;
  }

  .card {
    display: block !important;
    max-width: 100%;
    margin: 0 auto 35px;
    padding: 20px 20px;
  }

  .cards .blk .cardlink {
    border-color: var(--uscgreen);
  }

  .swiper-wrapper {
    display: flex !important;
    flex-direction: column !important;
    transform: none !important;
    gap: 20px;
    width: 100%;
  }

  .swiper-slide {
    width: 100% !important;
    margin: 0 !important;
  }

  .swiper-pagination,
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }

  .cnc h1 {
    text-align: center;
    padding: 0 20px;
  }

  .table-container {
    max-width: 100vw;
  }

  table {
    min-width: auto;
    width: 100%;
  }

  .about nav ul li a {
    padding-top: 5px;
  }
  .about nav ul li a:hover {
    color: var(--uscgreen);
  }

  .about .aline {
    width: 100%;
  }

  .name {
    position: static;
    font-size: 70px;
    text-align: center;
    padding-top: 20px;
  }

  .line2 {
    display: none;
  }

  .about p {
    position: static;
    width: 300px;

    margin: 20px auto;
  }

  #me {
    display: none;
  }

  .icons {
    position: static;
    justify-content: center;
    padding-top: 30px;
    gap: 50px;
  }

  .gmail:hover,
  .fb:hover,
  .ig:hover {
    filter: none;
  }

  .tooltip {
    left: -40px;
    top: -30px;
  }
}

@media (min-width: 768px) {
  .card {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto 35px;
    padding: 20px 0;
  }
}
