@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&family=Balsamiq+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  scroll-padding-top: 3rem;
  font-family: var(--font-family-2);
}
/* Variables */
:root {
  --main-color: #4d5bf8;
  --green-color: #88c927;
  --blue-color: #3664ae;
  --text-color: #fff;
  --text-dark: #121212;
  --container-color: #252525;
  /* --body-color: rgb(17 18 21); */
  --body-color: #060413;
  --bg-color: #f9f6f2;
  /* --text-alter-color: #94908e; */
  --text-alter-color: #8b8b8b;
  --font-family-1: "Balsamiq Sans", sans-serif;
  --font-family-2: "Baloo 2", sans-serif;
  --font-family-3: "Kode Mono", monospace;
}
body {
  color: var(--text-dark);
  /* background: var(--text-color); */
}
/* a {
  text-decoration: none;
} */
img {
  width: 100%;
}
section {
  padding: 3rem 0 2rem;
}
.container {
  max-width: 1120px;
  margin: auto;
  width: 100%;
}
header {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--text-color);
  border-bottom: 1px solid #e5e7eb;
  z-index: 1000;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}
.logo img {
  width: 85px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.user-icon {
  font-size: 20px;
  cursor: pointer;
}
/* Menu Icon */
.menu-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 5px;
  cursor: pointer;
  z-index: 200;
  transform: 0.3s;
}
.menu-icon div {
  display: block;
  background: var(--text-dark);
  height: 3px;
  width: 25px;
  border-radius: 14px;
  transition: 0.3s;
}
.move .line1 {
  transform: rotate(-45deg) translate(-5px, 5px);
}
.move .line2 {
  opacity: 0;
}
.move .line3 {
  transform: rotate(45deg) translate(-5px, -5px);
}
.navbar {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background: rgb(255 255 255 / 97%);
  z-index: 106;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.open-menu {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.navbar a {
  padding: 8px 17px;
  font-size: 1.4rem;
  color: var(--text-dark);
  font-weight: 500;
  transition: 0.2s all linear;
}
.navbar a:hover {
  background: green;
  font-size: 1.6rem;
  color: var(--bg-color);
}
.home-grid-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.home-grid-item {
  position: relative;
  height: 300px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.home-grid-item img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}
.home-grid-item-title {
  color: var(--text-color);
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  padding: 7px;
  z-index: 1;
}
.why h2 {
  font-size: 5rem;
  line-height: 1;
  font-weight: 700;
}
.why h2 span {
  color: var(--green-color);
}
.why-list {
  font-size: 24px;
  color: var(--text-alter-color);
}
.bar-title {
  font-size: 3.5rem;
  line-height: 2.5rem;
  font-weight: 700;
  color: var(--green-color);
  margin: 2rem 0;
}
.find-out {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;
  overflow: hidden;
}
.find-out img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0.75rem;
  z-index: -1;
}
.find-btn {
  z-index: 1;
  background: var(--container-color);
  color: var(--text-color);
  padding: 0.5rem 1.1rem;
  border-radius: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.find-btn:hover {
  background: var(--green-color);
  transition: all 0.3s ease-in-out;
}
.welcome-title {
  font-size: 5rem;
  line-height: 1;
  font-weight: 700;
  text-align: center;
}
.welcome-title span {
  color: var(--green-color);
  text-transform: uppercase;
}
.welcome-content p {
  margin: 10px 0;
  color: var(--blue-color);
  font-size: 1.2rem;
  font-weight: 600;
  text-align: justify;
}
.find {
  margin: 1.5rem 0;
}
.find-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.map-find iframe {
  width: 100%;
  border-radius: 1rem;
}
/* Pitch Hire */
.page-banner {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 370px;
  overflow: hidden;
}
.page-banner img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0.75rem;
  z-index: -1;
}
.page-banner-title {
  z-index: 1;
  background: var(--container-color);
  color: var(--text-color);
  padding: 0.5rem 1.1rem;
  border-radius: 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.page-banner-title:hover {
  background: var(--green-color);
  transition: all 0.3s ease-in-out;
}
.page-content {
  margin: 2rem 0;
}
.page-content h1 {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--green-color);
}
.page-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-color);
}
.page-content p {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--blue-color) !important;
  text-align: justify;
  margin: 1rem 0;
}
/* Add to your custom.css */
.ql-toolbar {
  border-radius: 4px 4px 0 0;
  border-color: #e5e7eb !important;
}
/* Add to custom.css */
.sortable-item {
  transition: transform 0.15s ease;
}

.sortable-ghost {
  opacity: 0.5;
  background: #f3f4f6;
  border: 2px dashed #3b82f6;
}

.ql-container {
  border-radius: 0 0 4px 4px;
  border-color: #e5e7eb !important;
  min-height: 200px;
}

.ql-editor {
  min-height: 200px;
  font-size: 16px;
}
.ql-align-center {
  text-align: center;
}
/* Add this to your CSS */
.dashboard-section {
  display: none;
}

.dashboard-section.active {
  display: block;
}

.sidebar-link.active {
  background-color: #4a5568;
  font-weight: bold;
}
/* Add to your CSS file or style section */
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    left: 0;
    width: 16rem; /* Matches md:w-64 */
    height: 100vh;
    overflow-y: auto;
  }

  .main-content {
    margin-left: 16rem; /* Matches sidebar width */
    max-width: calc(100vw - 16rem);
  }
}

.user-menu {
  position: relative;
}

.user-card {
  display: none;
  position: absolute;
  right: 0;
  background: white;
  padding: 10px;
  border: 1px solid #ccc;
  z-index: 1000;
}

.user-card.show {
  display: block;
}

.user-card a {
  display: block;
  margin: 5px 0;
}
.footer {
  background: var(--text-dark);
  color: var(--bg-color);
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, auto));
  gap: 1.5rem;
}
.footer-box {
  display: flex;
  flex-direction: column;
}
.footer-box h3 {
  color: var(--bg-color);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.footer-box a {
  font-size: 1.2rem;
  color: var(--text-alter-color);
}
.footer-box a:hover {
  color: var(--bg-color);
  transition: all 0.3s ease-in-out;
}
.footer-box p {
  font-size: 1.2rem;
  color: var(--text-alter-color);
}
.brand-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.brand-container img {
  max-width: 80px;
  width: 100%;
  /* height: 100%;
  object-fit: cover; */
  border-radius: 8px;
}
.copyright {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-alter-color);
}
.legal-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 1130px) {
  .container {
    width: 90%;
    margin: 0 auto;
  }
}
@media (max-width: 770px) {
  section {
    padding: 2rem 0;
  }
  .nav {
    padding: 12px 0;
  }
  .logo img {
    width: 70px;
  }
  .home-grid-item {
    height: 240px;
  }
  .home-grid-item-title {
    font-size: 1.5rem;
  }
  .why h2,
  .welcome-title {
    font-size: 3rem;
  }
  .bar-title {
    font-size: 2.5rem;
    line-height: 2rem;
  }
  .find-title {
    font-size: 2rem !important;
    font-weight: 600 !important;
  }
  .page-banner {
    height: 290px;
  }
  .page-banner-title,
  .find-btn {
    font-size: 1rem;
  }
  .page-content h1 {
    font-size: 1.5rem;
  }
  .page-content h2 {
    font-size: 1.1rem;
  }
  .page-content p,
  .welcome-content p {
    font-size: 1rem;
  }
}
@media (max-width: 475px) {
  .home-grid-item {
    height: 160px;
  }
  .home-grid-item-title {
    font-size: 1.025rem;
  }
  .home-grid-content {
    gap: 8px;
  }
  .why h2,
  .welcome-title {
    font-size: 2rem;
  }
  .why-list {
    font-size: 16px;
  }
  .bar-title {
    font-size: 1.7rem;
  }
  .find-out {
    height: 210px;
  }
  .footer-box h3 {
    font-size: 1.5rem;
  }
  .copyright {
    flex-direction: column-reverse;
    gap: 10px;
  }
}
@media (max-width: 380px) {
  .home-grid-item {
    height: 120px;
  }
  .page-banner {
    height: 200px;
  }
}
