:root {
  --primary-color: #4a2c82;
  --secondary-color: #f5c518;
  --background-color: #fef7ff;
  --tertiary-color :#5A3700;
  --second-background-color:#F2ECF4;
  --text-color: #7a757d;

  --font-heading: 'Inter', sans-serif;
  --font-body: 'Public Sans', sans-serif;
  --font-ui: 'Inter', sans-serif;

  --font-family: system-ui, -apple-system, sans-serif;
  --transition: all 0.25s ease;
}
/* ===========================
   Footer
   =========================== */
.footer {
  background-color: var(--primary-color, #4a2c82);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.3em;
}
.footer_desc {
  
}

/* ===== Main grid ===== */
.footer_main {
  display: grid;
  grid-template-columns: 28% 18% 18% 1fr;
  gap: 3rem;
  padding: 5rem 6rem 4rem;
}

/* ===========================
   Col 1 — Brand
   =========================== */

.footer_logo {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.footer_logo_box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background-color: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
}

.footer_logo_text {
  display: flex;
  flex-direction: column;
}

.fl_title {
  font-family: var(--font-heading, 'Inter', sans-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  letter-spacing: 0.03em;
}

.footer_desc {
  font-family: var(--font-body, 'Public Sans', sans-serif);
  font-size: 1.3rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 2rem 0;
}

/* Social icons */
.footer_socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer_social_link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1.4rem;
  transition: var(--transition, all 0.25s ease);
}

.footer_social_link:hover {
  background-color: var(--secondary-color, #f5c518);
  border-color: var(--secondary-color, #f5c518);
  color: var(--primary-color, #4a2c82);
}

/* ===========================
   Col 2 & 3 — Links
   =========================== */

.footer_col_heading {
  font-family: var(--font-heading, 'Inter', sans-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--secondary-color, #f5c518);
  letter-spacing: 0.08em;
  margin: 0 0 1.8rem 0;
  text-transform: uppercase;
}

.footer_links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer_links li a {
  font-family: var(--font-body, 'Public Sans', sans-serif);
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: var(--transition, all 0.25s ease);
  position: relative;
  padding-left: 1.2rem;
}

.footer_links li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transition: background-color 0.25s ease;
}

.footer_links li a:hover {
  color: var(--secondary-color, #f5c518);
  padding-left: 1.6rem;
}

.footer_links li a:hover::before {
  background-color: var(--secondary-color, #f5c518);
}

/* ===========================
   Col 4 — Reach Us
   =========================== */

.footer_contact_list {
  list-style: none;
  margin: 0 0 2rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.footer_contact_list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-family: var(--font-body, 'Public Sans', sans-serif);
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.footer_contact_list li .material-symbols-outlined {
  font-size: 2rem;
  color: var(--secondary-color, #f5c518);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.footer_contact_list li a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer_contact_list li a:hover {
  color: var(--secondary-color, #f5c518);
}

/* Gov logos row */
.footer_gov_logos {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 0.5rem;
}

.footer_gov_img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.footer_gov_img:hover {
  opacity: 1;
}

/* ===========================
   Bottom bar
   =========================== */

.footer_bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.8rem 6rem;
  text-align: center;
}

.footer_bottom p {
  font-family: var(--font-body, 'Public Sans', sans-serif);
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}


/* ===========================
   RESPONSIVE
   =========================== */

/* Small Phones (max 480px) */
@media (max-width: 480px) {
  .footer_main {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 1.8rem 3rem;
  }
  .footer_bottom {
    padding: 1.5rem 1.8rem;
  }
  .footer_bottom p {
    font-size: 1.1rem;
  }
}

/* Large Phones (481–767px) */
@media (min-width: 481px) and (max-width: 767px) {
  .footer_main {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2rem;
    padding: 4rem 2rem 3rem;
  }
  .footer_brand {
    grid-column: 1 / -1;
  }
  .footer_bottom {
    padding: 1.5rem 2rem;
  }
}

/* Tablets (768–1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .footer_main {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2.5rem;
    padding: 4rem 3rem 3rem;
  }
  .footer_brand {
    grid-column: 1 / -1;
  }
  .footer_bottom {
    padding: 1.5rem 3rem;
  }
}

/* Small Laptops (1025–1280px) */
@media (min-width: 1025px) and (max-width: 1280px) {
  .footer_main {
    padding: 5rem 3rem 4rem;
    grid-template-columns: 26% 18% 18% 1fr;
    gap: 2rem;
  }
  .footer_bottom {
    padding: 1.8rem 3rem;
  }
}

/* Large Desktop (1601px+) */
@media (min-width: 1601px) {
  .footer_main {
    padding: 6rem 10rem 5rem;
  }
  .footer_bottom {
    padding: 2rem 10rem;
  }
}