/* HEADER_FOOTER.css */
/* ================= GLOBAL ================= */
body {
  font-family: 'Poppins', system-ui, sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-size: 14px;
  margin: 0;
}

main {
  flex: 1;
}

/* Button */
.Lets-connect-btn {
  font-family: 'Poppins', system-ui, sans-serif;
  display: inline-block;
  padding: 6px 14px;
  background: #3b82f6;
  color: #fff;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
}

/* Overlay */
.Lets-connect-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Modal Box */
.modal-box {
  background: linear-gradient(87deg, rgb(216 214 230), rgb(199 226 238));
  width: 600px;
  padding: 35px;
  border-radius: 18px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
  position: relative;

  /* 🔥 ADD THIS */
  min-height: 300px;
}

/* Close Icon */
.close-modal {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  font-weight: bold;
}

/* Input fields */
.Lets-connect-input {
  font-family: 'Poppins', system-ui, sans-serif;
  width: 95%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 15px;
}

.Lets-connect-submit-btn {
  font-family: 'Poppins', system-ui, sans-serif;
  width: auto;
  padding: 6px 14px;
  background: #0270e0;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 17px;
  cursor: pointer;
  font-weight: 600;
  display: block;
  /* allows centering */
  margin: 0 auto;
  /* centers horizontally */
}

.Lets-connect-tittle {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;

}

.Lets-connect-description {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
}

.Lets-connect-textarea {
  font-family: 'Poppins', system-ui, sans-serif;
  width: 95%;
  height: 120px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  resize: vertical;
  /* allow user to expand if needed */
  margin-bottom: 18px;
}

.Lets-connect-success {
  font-family: 'Poppins', system-ui, sans-serif;
  margin-top: 15px;
  padding: 12px;
  background: #e6ffe6;
  color: #1a7f1a;
  border: 1px solid #48c048;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

/* ================= HEADER ================= */
.main-header {
  background-color: #ffffff;
  color: #060606;
  padding: 1rem 0 1.1rem 13px;  /* top right bottom left */
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.headercontainer {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 25px;   /* increased space before logo */
    padding-right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.logo-img {
  height: 55px;
  width: auto;
  display: block;
}

.user-role {
  display: flex;
  gap: 8px;
}

/* NAVIGATION */

   .navbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 13px;
    font-size: 15px;
    text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  font-weight: 400;
  color: #060606;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-profile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-transform: uppercase;
}

/* hidden by default */
.user-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  min-width: 140px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  z-index: 1000;
}

/* show on hover */
.nav-profile:hover .user-dropdown {
  display: block;
}

/* dropdown links */
.user-dropdown a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #333;
}

.user-dropdown a:hover {
  background: #3b82f6;
  border-radius: 15px;
  color: #fff;
}

.user-info {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 5px;
  text-transform: uppercase;
}

.user-name {
  text-align: left;
  font-weight: 400;
  text-transform: uppercase;
}

.user-role {
  font-size: 15px;
  font-weight: 400;
  margin-left: 2px;
  text-transform: uppercase;
}

/* ================= USER PROFILE (FIXED) ================= */
.user-profile {
  display: flex;
  flex-direction: column;
  /* 🔥 vertical layout */
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-left: 15px;
  gap: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

/* icon */
.user-profile i {
  font-size: 18px;
  margin-bottom: 2px;
}

/* username */
.user-profile span {
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 2px;
  line-height: 1;
}

/* 🔥 LOGOUT LINK: hidden by default, shows on hover */
.user-profile .logout-link {
  all: unset;
  /* removes nav link styling */
  cursor: pointer;
  font-size: 13px;
  color: #0270e0;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Show logout link on hover */
.user-profile:hover .logout-link {
  display: inline;
  opacity: 1;
}

.user-profile .logout-link:hover {
  text-decoration: underline;
  color: #0150b0;
}

/* BUTTON */
.btn-primary {
    background: #2563eb;
    color: white;
    padding: 14px 32px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.2s;
}

.btn-primary:hover {
    background: #1d4ed8;
}

/* ================= FOOTER ================= */
.footer {
  width: 100%;
  font-family: 'Poppins', system-ui, sans-serif;
  background-color: #0b111f;
  padding: 1.5rem 1rem;
  color: #ffffff;
  border-top: 1px solid #2c2c3b;
}

.footer-container {
  padding: 1rem 0rem;
  margin: 0 auto;
  background-color: #0b111f;
}

/* Divider */
.footer-divider {
  border: none;
  width: 85%;
  height: 2px;
  background-color: #ffffff;
}

/* Layout */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

/* Equal columns */
.footer-section,
.footer-bottom,
.footer-social {
  flex: 1;
}

/* LEFT */
.footer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links a {
  font-size: 0.95rem;
  font-weight: 400;
  text-decoration: none;
  color: #fff;
}

.footer-links a:hover {
  color: #3b82f6;
}

/* CENTER */
.footer-bottom {
  text-align: center;
}

.footer-bottom .company {
    font-size: 0.95rem;
    font-weight: 400;
    margin-bottom: 8px;
    color: #fff;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    gap: 6px;
}
.powered {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    flex-wrap: wrap;

    text-align: center;
}


.footer-mission {
  font-size: 0.8rem;
  line-height: 1.5;
  max-width: 400px;
  margin: auto;
  color: #fff;
}

/* RIGHT */
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-social h2 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 400;
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.social-icons a {
  font-size: 1.1rem;
  color: #ffffff;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #3b82f6;
  transform: scale(1.2);
}

/* BUTTONS */
.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.social-btn,
.contact-btn {
  background-color: #2563eb;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 0.8rem;
  width: 150px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

.social-btn:hover,
.contact-btn:hover {
  background-color: #1d4ed8;
}

/* Highlight text */
.powered {
  color: #fff;
  font-weight: 400;
}

.powered img {
  height: 40px;
  width: auto;
  border-radius: 10px;
  margin-left: 6px;
  vertical-align: middle;
}

.footer-section img {
  height: 40px;
  width: auto;
  margin-bottom: 10px;
  margin-left: auto;
}

#contact-info-section {
  scroll-margin-top: 100px;
  /* adjust based on header */
}


/* =========================
   RESPONSIVE - BELOW 1024px
========================= */
@media (max-width: 1024px) {

  .main-header {
    padding: 1rem;
  }

  .headercontainer {
    width: 100%;
    flex-direction: initial;
    gap: 0px;
  }

  .nav-links {
    gap: 15px;
  }

  .navbar {
    font-size: 14px;
    gap: 10px;
  }

  .modal-box {
    width: 85%;
    padding: 28px;
  }


  .footer-content {
    max-width: 800px;
    flex-direction: column;
    text-align: center;
    gap: 2px;
  }

  .footer-mission {
    text-align: left;
  }

  .footer-links {
    flex-direction: row;
  }

  .footer-container {
    padding: 1rem;
  }

  .social-buttons {
    width: 100%;
    flex-direction: row;
  }

  .powered{
    font-weight: 300;
  }

  .fa-brands, .fab{
    font-weight: 300;
    font-size: 15px;
  }

   .footer-social h2{
    font-weight: 400;
    font-size: 15px;
    text-decoration: underline;
   }
}


/* =========================
   RESPONSIVE - BELOW 768px
========================= */
@media (max-width: 768px) {

  .main-header {
    padding: 8px;
  }

  .headercontainer {
    flex-direction: initial;
    gap: 0px;
  }

  .navbar {
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .nav-right {
    justify-content: center;
    width: 100%;
  }

  .logo-img {
    height: 55px;
  }

  .modal-box {
    width: 90%;
    padding: 15px;
    border-radius: 14px;
  }

  .Lets-connect-btn {
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 400;
  }

  .Lets-connect-input,
  .Lets-connect-textarea {
    width: 92%;
    font-size: 12px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 0px;
  }

  

  .footer-section,
  .footer-bottom,
  .footer-social {
    width: 100%;
  }

  .footer-mission {
    text-align: left;
    font-weight: 200;
    font-size: 12px;

  }

  .footer-links {
    flex-direction: row;
    font-weight: 13px;
    font-weight: 300;
  }

  .social-buttons {
    width: 100%;
    flex-direction: row;
    justify-content: center;
  }

  .footer-container {
    padding: 1rem;
  }
}


/* =========================
   RESPONSIVE - BELOW 480px
========================= */
@media (max-width: 480px) {

  body {
    font-size: 13px;
  }

  .main-header {
    padding: 5px;
  }

  .logo-img {
    height: 25px;
  }

  .nav-links {
    gap: 6px;
  }

  .nav-links li a {
    font-size: 12px;
  }

  .user-name,
  .user-role {
    font-size: 12px;
  }

  .modal-box {
    width: 85%;
    padding: 9px;
    min-height: auto;
  }

  .close-modal {
    font-size: 22px;
    top: 12px;
    right: 14px;
  }

  .Lets-connect-input,
  .Lets-connect-textarea {
    width: 90%;
    padding: 10px 12px;
    font-size: 13px;
  }

  .Lets-connect-submit-btn {
    width: 100%;
    font-size: 15px;
  }

  .footer {
    padding: 1rem;
  }

  .footer-links a,
  .footer-bottom .company,
  .footer-social h2 {
    font-size: 11px;
    font-weight: 200;
  }

  .footer-mission {
    font-size: 12px;
  }

  .footer-links {
    flex-direction: row;
    gap: 15px;
  }

  .social-btn,
  .contact-btn {
    width: 100%;
    max-width: 220px;
  }

  .powered img,
  .footer-section img {
    height: 32px;
  }

  .footer-container {
    padding: 1rem;
  }
}