@import url("https://fonts.googleapis.com/css2?family=Lisu+Bosa:wght@600;800&family=Poppins:wght@400;500;600;700&display=swap");

:root {
    --primary-color: #0063a6;
    --primary-color-light: #20242f;
    --secondary-color: #f49e09;
    --extra-light: rgba(255, 255, 255, 0.5);
    --white: #ffffff;
    --max-width: 1200px;
    --header-font: "Lisu Bosa", serif;
}

/* 🔹 Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.main-content {
    margin-bottom: 0;
}

/* 🔹 Footer Wrapper */
.footer {
    position: relative;
    width: 100vw;
    min-height: 60vh;
    margin-top: 5vh;
    display: flex;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
}

/* 🔹 Footer Content */
.footer-content {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: 4rem;
}

.footer-content p {
    font-size: 12px;
    margin-bottom: 15px;
    font-family: "Poppins", sans-serif;
    color: var(--white);
}

/* 🔹 CTA Button */
.cta-button {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 18px 42px;
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    color: var(--white);
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary-color);
}

/* 🔹 Social Icons with Tooltip */
.social-icons {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 21px;
}

.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip-container a {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--white);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.tooltip-container a:hover {
    transform: scale(1.1);
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Tooltip Text Below the Icon */
.tooltip-text {
    visibility: hidden;
    opacity: 0;
    font-size: 12px;
    padding: 6px 10px;
    white-space: nowrap;
    position: absolute;
    top: 110%;
    /* BELOW the icon */
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
    color: #003366;
    border-radius: 6px;
    font-family: "Poppins", sans-serif;
    text-align: center;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: opacity 0.3s ease;
}

/* Triangle Pointer */
.tooltip-text::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent var(--white) transparent;
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* 🔹 Footer Bottom */
.footer-bottom {
    margin-top: 30px;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    color: var(--white);
    opacity: 0.85;
    line-height: 1.6;
}

.footer-bottom strong {
    font-weight: 600;
    color: var(--secondary-color);
}

/* 🔹 Responsive Styles */
@media (max-width: 600px) {
    .cta-button {
        padding: 14px 30px;
        font-size: 18px;
    }

    .social-icons {
        gap: 15px;
    }

    .tooltip-container a {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .tooltip-text {
        font-size: 11px;
        padding: 5px 8px;
    }
}

.footer-bottom {
  margin-top: 30px;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  color: #ffffff;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: #ffffff;
}

.xl-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.xl-link:hover {
  text-decoration: underline;
}

.xl-logo {
  height: 16px;
  width: auto;
  vertical-align: middle;
}
.scroll-container {
  position: absolute;
  top: 10px;        /* Adjust vertical position */
  right: 20px;      /* Push to the right side */
  z-index: 10;
}

.scroll-to-top-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 20px;
  background-color: var(--primary-color); /* Adjust your theme */
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.scroll-to-top-footer:hover {
  background-color: #004080; /* professional deep blue */
  color: white; /* ensures arrow/icon stays visible */
  transform: scale(1.1);
}

