/* =================================================
   ROOT VARIABLES
   ================================================= */
:root {
  --blue-1: #6503b2;
  --green-1: #118a5a;
  --accent-orange: #EE9D28;
  --muted-white: rgba(255,255,255,0.88);
  --glass-bg: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.12);
  --card-shadow: 0 8px 24px rgba(6,37,64,0.12);
  --footer-bg: #0e1417;
  --primary-dark: #06314f;

  --footer-text: #c7d1d6;
  --footer-muted: #9fb0b6;
  --footer-light: #80939b;
  --footer-hr: rgba(255,255,255,0.1);
  --social-bg: #1f2a31;
}

/* =================================================
   HEADER / NAVBAR
   ================================================= */
.navbar { 
  background: #ffffff; 
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 0.8rem 0;
  transition: all 0.3s ease;
}

.navbar .navbar-brand { 
  font-family: "Poppins", sans-serif; 
  font-weight: 700; 
  color: var(--blue-1);
  font-size: 1.5rem;
}

.navbar .navbar-brand .hub { 
  color: var(--green-1); 
}

.nav-link { 
  color: #23323b !important; 
  font-weight: 500; 
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color:#EE9D28 !important;
}

/* Responsive Header */
@media (max-width: 991px) {
  .navbar-brand {
    font-size: 1.4rem;
  }
}

@media (max-width: 767px) {
  .navbar {
    padding: 0.6rem 0;
  }
  .navbar-brand {
    font-size: 1.3rem;
  }
  .navbar-toggler {
    border: none;
    padding: 0.4rem;
  }
}

/* =================================================
   FOOTER GENERAL
   ================================================= */
footer {
  background-color:black;
  color: var(--footer-text);
  padding: 3.5rem 0 2rem;
  font-family: "Poppins", sans-serif;
}

footer a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--green-1);
}

footer h6 {
  color: #fff;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

footer ul {
  padding-left: 0;
  margin-bottom: 0;
}

footer ul li {
  margin-bottom: 0.75rem;
}

/* =================================================
   LOGO + DESCRIPTION
   ================================================= */
.footer-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-wrapper h6 {
  color: #fff;
  margin: 0;
  font-weight: 700;
}

.footer-desc {
  color: var(--footer-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =================================================
   SOCIAL ICONS
   ================================================= */
.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-square {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--social-bg);
  color: #fff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-square:hover {
  background: var(--green-1);
  transform: translateY(-3px);
  color: #fff;
  box-shadow: 0 4px 12px rgba(17, 138, 90, 0.3);
}

/* =================================================
   CONTACT INFO
   ================================================= */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer-contact > div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--accent-orange);
  font-size: 1rem;
  width: 18px;
  text-align: center;
}

.footer-contact span {
  color: var(--footer-text);
}

/* =================================================
   DIVIDER & COPYRIGHT
   ================================================= */
.footer-divider {
  border: none;
  border-top: 1px solid var(--footer-hr);
  margin: 2.5rem 0 1.5rem;
}

.footer-copyright {
  color: var(--footer-light);
  font-size: 0.875rem;
}

.footer-copyright a {
  color: var(--footer-light);
  text-decoration: none;
}

.footer-copyright a:hover {
  color: var(--green-1);
  text-decoration: underline;
}

/* =================================================
   LOGO IMAGE
   ================================================= */
.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.08);
}

/* =================================================
   LAYOUT: EVENLY SPACED COLUMNS + CENTERED CONTACT
   ================================================= */
.footer-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Desktop & Tablet: Equal width columns */
@media (min-width: 768px) {
  .row.gy-4.justify-content-between {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .row.gy-4.justify-content-between > [class*="col-"] {
    flex: 1 1 300px;
    max-width: 100%;
  }

  /* Center Quick Links */
  .footer-col:nth-child(2) {
    align-items: left;
    text-align: left;
  }

  /* Center Contact Info */
  .footer-col:nth-child(3) {
    text-align: left !important;
  align-items: flex-start !important;
  }

  .footer-col:nth-child(3) .footer-contact > div {
    justify-content: flex-start !important;
  }
}

/* Mobile: Stack + Center Everything */
@media (max-width: 767px) {
  .footer-col {
    text-align: center;
    margin-bottom: 2rem;
  }

  .footer-logo-wrapper,
  .footer-contact > div,
  .social-links {
    justify-content: center;
  }

  footer {
    padding: 2rem 0 1.5rem;
  }
}

/* Extra Small Devices */
@media (max-width: 576px) {
  .footer-logo-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .logo-img {
    height: 35px;
    margin-bottom: 0.5rem;
  }

  .logo-img + h6 {
    margin-left: 0 !important;
  }

  .social-square {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .footer-contact > div {
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
  }

  .footer-contact i {
    margin-bottom: 0.3rem;
  }
}

@media (max-width: 991px) {
  footer {
    padding: 2.5rem 0 1.5rem;
  }
}

@media (max-width: 575px) {
  .social-square {
    width: 35px;
    height: 35px;
    margin-right: 0.5rem;
  }
}