/* ===============================
   Kajibs Capital — Main Styles (Final Responsive Edition)
=============================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: "Inter", Arial, sans-serif;
  display: flex;
  flex-direction: column;
  background: #f9f9f9;
  scroll-behavior: smooth;
}

/* ===============================
   HEADER
=============================== */
header {
  background: #006400;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  height: 65px;
  width: 100%;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Logo + Company name */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
.company-logo {
  height: 48px;
  width: auto;
}
header h1 {
  font-size: 1.35em;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ===============================
   NAVIGATION LINKS
=============================== */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98em;
  transition: color 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: #c2850a;
  text-decoration: underline;
}

/* ===============================
   SUITEDASH LOGIN BUTTON
=============================== */
.login-btn {
  background: #a3521c;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.login-btn:hover {
  background: #e65c00;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 102, 0, 0.4);
}

/* ===============================
   HAMBURGER MENU (MOBILE)
=============================== */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  margin-left: auto;
}
.menu-toggle span {
  width: 26px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

/* ===============================
   MOBILE DROPDOWN MENU
=============================== */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    position: absolute;
    right: 25px;
    top: 20px;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: #035003e6;
    position: absolute;
    top: 65px;
    right: 25px;
    width: 180px;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);
    animation: dropdownFade 0.3s ease forwards;
  }
  .nav-links.show {
    display: flex;
  }
  @keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .login-btn {
    margin-top: 10px;
    width: 100%;
    text-align: center;
  }
}

/* ===============================
   FOOTER
=============================== */
#site-footer {
  background: #292828;
  color: #ccc;
  padding: 45px 20px 25px;
  font-family: "Inter", Arial, sans-serif;
  margin-top: auto;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 50px;
}

.footer-column {
  flex: 1 1 250px;
  min-width: 240px;
}

/* Brand section */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.footer-logo {
  width: 65px;
  height: auto;
  opacity: 0.95;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.footer-brand-name {
  color: #fff;
  font-size: 1.25em;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.footer-about {
  font-size: 0.95em;
  color: #bbb;
  line-height: 1.6;
  max-width: 420px;
  margin-top: 8px;
}

/* Quick Links */
.footer-column h4 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.1em;
  border-bottom: 2px solid #ff6600;
  display: inline-block;
  padding-bottom: 4px;
}
.footer-column ul {
  list-style: none;
  margin-top: 8px;
  padding: 0;
}
.footer-column ul li {
  margin-bottom: 8px;
}
.footer-column a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-column a:hover {
  color: #ff6600;
}

/* Socials */
.footer-socials {
  margin-top: 15px;
  display: flex;
  gap: 12px;
}
.footer-socials img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}
.footer-socials img:hover {
  transform: translateY(-2px);
  filter: brightness(1) invert(0.2);
  opacity: 1;
}

/* Bottom copyright */
.footer-bottom {
  text-align: center;
  font-size: 0.9em;
  color: #aaa;
  margin-top: 35px;
  border-top: 1px solid #333;
  padding-top: 15px;
  letter-spacing: 0.3px;
}

/* Responsive Footer */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 35px;
  }
  .footer-brand,
  .brand-block {
    align-items: center;
  }
  .footer-about {
    max-width: 90%;
    margin: 10px auto 0;
  }
  .footer-socials {
    justify-content: center;
  }
}

/* ===============================
   BACK TO TOP BUTTON
=============================== */
#back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background-color: #ff6600;
  color: white;
  font-size: 1.4em;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease, background-color 0.3s ease;
  z-index: 1000;
}
#back-to-top:hover {
  background-color: #e65c00;
  transform: scale(1.1);
}
#back-to-top.show {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
#back-to-top::after {
  content: "Back to Top";
  position: absolute;
  bottom: 55px;
  right: 50%;
  transform: translateX(50%);
  background: rgba(0,0,0,0.8);
  color: #fff;
  font-size: 0.8em;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#back-to-top:hover::after {
  opacity: 1;
}

/* ===============================
   UNIVERSAL RESPONSIVENESS
=============================== */
@media (max-width: 480px) {
  header {
    padding: 12px 18px;
  }
  header h1 {
    font-size: 1.1em;
  }
  .company-logo {
    height: 40px;
  }
  .login-btn {
    font-size: 0.85em;
    padding: 7px 12px;
  }
  .footer-column {
    min-width: 100%;
  }
  #back-to-top {
    width: 38px;
    height: 38px;
    font-size: 1.2em;
  }
}
