:root {
  --primary: #16A4A0;
  --logo-start: #16A4A0;
  --gray-text: #64748B;
  --light-gray: #F3F4F6;

}

* {

  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  color: #1e293b;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: #16A4A0;
}

/* ================= CONTAINER ================= */

.container {
  max-width: 1200px;
  margin: auto;
  padding: 80px 20px;
}

/* ================= NAVBAR ================= */

.navbar {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  background: white;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1400px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(90deg, var(--logo-start), var(--logo-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: saturate(1.5) brightness(1.1);
}

.search-box {
  position: relative;
  flex: 0 1 300px;
}

.search-box input {
  width: 100%;
  padding: 8px 12px 8px 35px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fafc;
}

.search-box i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--gray-text);
  transition: .3s;
}

.nav-item i {
    font-size: 18px;
  display: block;
  margin-bottom: 4px;
}
.nav-item:hover {
  background: #f1f5f9;
  color: #16A4A0;
}

.nav-item:hover i {
  color: #16A4A0;
}

.nav-buttons {
  display: flex;
  gap: 12px;
}

/* ================= BUTTONS ================= */

.btn {
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: .3s;
  border: none;
}

.btn.primary {
  background: var(--primary);
  color: white;
}

.btn.outline {
  border: 1.5px solid var(--primary);
  background: transparent;
  color: var(--primary);
}

.btn.social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 320px;
  background:#16A4A0 ;
  border: 1px solid #000;
}
.btn.social a{
  color: white;
}
.btn.social img {
  width: 20px;
}

.btn.social svg{
  background-color: white;
  border-radius: 50%;
  padding: 2px;
}

.btn.email {
  width: 320px;
  background: white;
  border: 1px solid #000;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

}

.btn:hover {
  transform: translateY(-2px);
  opacity: .9;
}

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

.hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-left h1 {
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.terms {
  font-size: 12px;
  color: var(--gray-text);
  max-width: 380px;
  margin-bottom: 15px;
}

.terms span {
  color: var(--primary);
  cursor: pointer;
}

.hero-note span {
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
}

.hero-right img {
  max-width: 520px;
  width: 100%;
}


/* ================= FEATURE GRID ================= */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 420px;
  text-align: center;
}

.feature-card img {
  height: 180px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

.feature-card h3 {
  min-height: 60px;

  margin-bottom: 20px;
  font-weight: 500;
}

/* ================= WHO SECTION ================= */

.who-text h2 {
  font-size: 24px;
  font-weight: 500;
  color: #16A4A0;
}

.who-text {
  background-color: #F3F2F0;
  padding: 40px;
  border-radius: 20px;
  flex: 1;
}

.two-col {
  display: flex;
  align-items: center;
  gap: 80px;
  background: transparent;
}

.who-text p {
  margin: 10px 0 25px;
  color: var(--gray-text);
}

.who-box {
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 15px;
  background: #EAE6DF;
  cursor: pointer;
  transition: .2s;
}

.circle-img-large {
  margin-left: 110px;
  width: 450px;
  border-radius: 12px;
}

/* ================= JOIN ================= */

.join-section {
  background: linear-gradient(to bottom, #EEF2FF, #ffffff);
  text-align: center;
  padding: 10px 10px;
}

.join-section h2 {
  color: #000000;
  font-size: 34px;
  font-weight: 500;
  margin-bottom: 25px;
}

/* ================= FOOTER ================= */

.footer-illustration img {
  width: 100%;
  display: block;
}

.footer {
  background: #F6F4EF;
  margin-top: 120px;
}

/* Illustration */
.footer-image img {
  width: 100%;
  display: block;
}

/* Content Area */
.footer-content {
  text-align: center;
  padding: 70px 0;
}

/* Links */
.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 70px;
  padding: 0;
  margin-bottom: 40px;
}

.footer-links a {
  text-decoration: none;
  color: #000000;
  font-weight: 500;
  font-size: 16px;
  transition: 0.3s;
}

.footer-links a:hover {
  opacity: 0.7;
}

/* Social Icons */
.footer-social {
  margin-bottom: 25px;
}

.footer-social a {
  color:var(--primary);
  font-size: 18px;
  margin: 0 12px;
  transition: 0.3s;
}

.footer-social a:hover {
  opacity: 0.7;
}

/* Copyright */
.footer-copy {
  font-size: 13px;
  color: #9A9A9A;
}



.footer-links a {
  color:var(--primary);
  text-decoration: none;
  cursor: pointer;
}

.footer-links-auth a:hover {
  color: var(--primary);
}

.footer-links a:hover{
  color: var(--primary);
}

/* ================= DESKTOP NAVBAR OVERRIDES ================= */
.burger-menu {
  display: none; /* Hide burger button on desktop */
  border: none;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
  color: #16A4A0;
}

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

/* ================= RESPONSIVE (MOBILE VIEW) ================= */
@media (max-width: 992px) {
  
  /* --- Mobile Navbar Logic --- */
  .navbar {
    position: relative;
  }

  .burger-menu {
    display: block; /* Show burger button on mobile */
  }

  .nav-links-wrapper {
    display: none; /* Hide the menu links by default */
    flex-direction: column;
    position: absolute;
    top: 100%; /* Position the dropdown right below the header */
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    gap: 20px;
    z-index: 999;
  }

  /* This is the class your JS adds when the burger is clicked */
  .nav-links-wrapper.active {
    display: flex; 
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .nav-buttons {
    flex-direction: column;
    width: 100%;
  }

  .nav-buttons .btn {
    width: 100%;
    text-align: center;
  }

  /* --- General Page Responsiveness Fixes --- */
  .hero-wrapper,
  .explore-wrapper,
  .two-col,
  .open-work {
    flex-direction: column;
    text-align: center;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  /* Prevent large images from overflowing the screen */
  .circle-img-large, .hero-right img {
    margin-left: 0;
    width: 100%;
    max-width: 450px;
    height: auto;
  }
}