@import "tailwindcss";

@font-face {
  font-family: Satoshi;
  src: url(../Assets/Fonts/Satoshi.ttf);
}


/* General reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

h1 {

  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
}

body {
  font-family: Satoshi, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: #222222;
}

li {
  list-style-type: none;
  padding: 8px;
}

a {
  text-decoration: none;
  color: #222222;
}

/* ======= GLOBAL STYLES ======= */
.center-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.black-btn {
  display:flex;
  gap:10px;
  background-color: #222222;
  color:white;
  padding:8px 20px;
  width:fit-content;
  border-radius: 56px;
  border: #222222 solid 3px;
  font-size: 18px;
  font-weight: 700;
}

.black-btn:hover {
  background-color: black;
  border: white solid 3px;
  filter: invert(100%);
}

footer {
  background-color: black;
  color: white;
  width:100%;
  padding:5% 10%;
  display:flex;
  gap:10%;
  font-size: 16px;
}

footer a {
  color:white;
}

footer a:hover {
  text-decoration: underline;
  text-decoration-thickness: 0.5px;
}

.footer-div {
  display: flex;
  gap:10%;
  width:100%;

}

.footer-links-div {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width:100%;

}

/* ======= HEADER NAVIGATION ======= */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  color: #222222;
  padding: 0px 10%;
  border-bottom: 3px solid #D2D2D2;
  
}

.logo {
  font-weight: bold;
  font-size: 20px;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-button,
.nav-link {
  background: none;
  border: none;
  color: #222222;
  font-size: 16px;
  font-weight: 400;
  font-family: Satoshi, sans-serif; 
  cursor: pointer;
  position: relative;
  padding: 30px 12px;
  text-decoration: none;
}

.nav-button {
  display: flex;
  justify-content: center;
  gap: 8px;
}

button {
    font-family: Satoshi, sans-serif;
}

.arrow-icon {
  margin-left: 5px;
  vertical-align: middle;
  fill: white;
}

/* DROPDOWN */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  color: pink;
  min-width: 110%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: none;
  flex-direction: column;
  z-index: 10;
  border-radius: 0 0 12px 12px;
  padding: 8px;
}

.dropdown-menu li {
  padding: 10px 14px;
  cursor: pointer;
}

.dropdown-menu li:hover {
  background-color: #dddddd;
  color:#eeeeee;
  border-radius: 8px;
}

.dropdown-menu li:hover a {
  color: black;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: flex;
}

/* ======= SIDEBAR ======= */
.container {
  display: flex;
  flex: 1;
  width: 100%;
}

.sidebar {
  width: 250px;
  background-color: #f4f4f4;
  border-right: 1px solid #ddd;
  padding: 20px;
  position: sticky;
  top: 64px; /* Adjusted for header height */
  height: calc(100vh - 64px);
  overflow-y: auto;
}

.sidebar h2 {
  margin-bottom: 20px;
  font-size: 20px;
}

.category {
  margin-bottom: 10px;
}

.category-header {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 16px;
  padding: 10px;
  cursor: pointer;
  background-color: #e0e0e0;
}

.category-content {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #fafafa;
}

.category-content li {
  padding: 8px 15px;
  cursor: pointer;
}

.category-content li:hover {
  background-color: #ddd;
}

/* Active page style */
.category-content li.active {
  background-color: #c5cae9;
  font-weight: bold;
}

/* ======= MAIN CONTENT ======= */
.content {
  flex: 1;
  overflow-y: auto;
}


/* ======= LANDING PAGE STYLING ====== */

.banner {
  padding: 1% 10%;
  background-color: rgb(255, 244, 193);
  display: flex;
  gap:1%;
  align-items: center;
}

.main-section {

display: flex;
min-height: 80vh;
justify-content: center;
align-items: middle;
padding: 0px 10%;

}

.main-section > div {
  display: flex;
  flex: 1 1 0px;
  justify-content: center;
  align-items: middle;
  margin:0 auto;
  gap: 24px;
}

#hero-div-1 {
  display: flex; 
  flex-direction: column;
  justify-content: center; 
  gap:5%;
}

#checklist-section-text {
  display:flex;
  flex-direction: column;
  gap:24px;
}


/* ======= LANDING PAGE CARD STYLING ====== */

#cards-section {
  display: flex;
  flex-direction: column;
  padding: 10% 10%;
  
}

#cards-container {
  display:grid;
  grid-template-columns: 1fr 1fr;
  justify-content: start;
  align-items: middle;
  height:100vh;
  gap: 9% 5%;
  padding: 5% 0px;
  background-color: white;
}

.card {
  display:flex;
  flex-direction: column;
  border: 1.5px solid #B3B3B3;
  border-radius: 16px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  overflow: hidden;
  cursor:pointer;
  height:fit-content;
}

.card h3 {
  font-size: 20px;
  
}

.card:hover {
  outline: 1px solid black;
  outline-offset: 6px;

}

.card:hover h3 {
  text-decoration: underline;
  text-decoration-color: #666666;

}

.card-img {
  width:100%;
  height:20vh;
  object-fit: cover;
  overflow: hidden;
}

.card-text {
  padding:8% 6%;
  display: flex;
  flex-direction: column;
  gap:6px;
}


/* ======= ABOUT PAGE STYLING ====== */

#about-div {
  
  display:flex;
  flex-direction: column;
  gap:2em;
}

#about-section {
  margin: 5% 0%;
  display: flex;
  min-height: 80vh;
  justify-content: center;
  align-items: middle;
  padding: 0px 10%;
}

#about-section > div {
  display: flex;
  flex: 1 1 0px;
  justify-content: center;
  align-items: start;
  margin:0 auto;
  gap: 10%;
}