:root {
  --primary-green: #0a2357;
  --primary-blue: #0a2357; /* Deep Blue from Spectra Plus */
  --accent-pink: #e91e63;
  --cream-bg: #f9f7e8;
  --text-white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
}





/* --- FOOTER MAIN STYLES --- */
.main-footer {
  background-color: #1a2b56;
  color: #ffffff;
  padding: 60px 0 0 0;
  font-family: "Poppins", sans-serif;
  margin-top: 50px;
}

/* --- FOOTER GRID --- */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 0 20px;
}

/* --- COLUMN HEADINGS --- */
.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 25px;
  font-weight: 600;
}

/* --- TEXT --- */
.footer-column p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #d1d8e6;
}

/* --- LINKS --- */
.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #d1d8e6;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.3s;
  display: flex;
  align-items: center;
}

/* Bullet Style */
.footer-column ul li a::before {
  content: "•";
  color: #5687f5;
  font-weight: bold;
  margin-right: 10px;
}

.footer-column ul li a:hover {
  color: #ffffff;
  padding-left: 5px;
}

/* --- SOCIAL ICONS --- */
.social-icons {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #ffffff;
  font-size: 1.1rem;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #5687f5;
  transform: translateY(-3px);
}

/* --- CONTACT INFO --- */
.contact-info p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.contact-info i{
  color:#5687f5;
  min-width:18px;   /* keeps all icons aligned */
  font-size:16px;
  margin-top:3px;
}

.contact-info span{
  display:block;
}

/* --- FOOTER COPYRIGHT --- */
.footer-copyright {
  background-color: #0a2c4f;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 18px 150px;
  font-size: 14px;
}

.xl-logo {
  width: 22px;
  height: 22px;
}

.footer-copyright .copyright-XL {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* -------------------------------- */
/* -------- RESPONSIVE CSS -------- */
/* -------------------------------- */

/* Tablet */
@media (max-width: 992px) {

.footer-container{
  grid-template-columns: repeat(2,1fr);
  gap:30px;
}

}

/* Mobile */
@media (max-width: 768px) {

.footer-container{
  grid-template-columns: 1fr;
  text-align:center;
}

.footer-column ul li a{
  justify-content:center;
}

.social-icons{
  justify-content:center;
}

.contact-info p{
  flex-direction: column;   /* icon on top, text below */
  align-items: center;      /* center everything */
  text-align: center;
}


.footer-copyright{
  flex-direction:column;
  gap:10px;
  text-align:center;
  padding: 18px 20px;
}

}

/* Small Mobile */
@media (max-width:480px){

.footer-column h3{
  font-size:1.1rem;
}

.footer-column p,
.footer-column ul li a{
  font-size:0.85rem;
}

.footer-copyright{
  font-size:12px;
}

}


#goTopBtn {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 999;
  background-color: #a10b35;
  color: #fff;
  border: none;
  padding: 12px 15px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
}

#goTopBtn:hover {
  background-color: #a50b36;
  transform: translateY(-3px);
}

/* ===== QUICK LINKS FIX ===== */

@media (max-width: 768px) {

  .footer-column ul {
    text-align: center;
  }

  .footer-column ul li a {
    display: inline-block;
    text-align: left;   /* keeps dots aligned */
    min-width: 160px;   /* same width for all */
    padding-left: 35px;
    position: relative;
  }

  .footer-column ul li a::before {
    content: "•";
    position: absolute;
    left: 25px;
    color: #5687f5;
    
    
  }

}


@media (max-width: 768px) {

  .contact-info p {
    background: rgba(255,255,255,0.05);
    padding: 12px 15px;
    border-radius: 12px;
    margin: 10px auto;
    width: 90%;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-start;
  }

}





/* for services index page cards sepapration */

@media (max-width: 768px) {

  .service-section {
    margin-bottom: 30px; /* space between sections */
  }

  .service-content h3 {
    margin-top: 20px;
  }

}





/* ================= FLOATING ACTIONS ================= */
.floating-actions {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

/* ICON BASE */
.floating-actions a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

/* HOVER */
.floating-actions a:hover {
  transform: scale(1.1);
}

/* ================= ICON COLORS ================= */
.f-mail {
  background: #4a86ff;
}

.f-phone {
  background: #3b60e4;
}

.f-whatsapp {
  background: var(--whatsapp-green);
}

.f-location {
  background: #ff5722;
}

.f-instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.f-youtube {
  background: #ff0000;
}

/* ================= MOBILE VISIBILITY CONTROL ================= */

/* Hide WhatsApp on desktop */
.floating-actions a.mobile-only {
  display: none;
}

/* Show WhatsApp only on mobile */
@media (max-width: 992px) {
  .floating-actions a.mobile-only {
    display: flex !important;
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {

  .floating-actions {
    right: 10px;
  }

  .floating-actions a {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }

}

/* ================= OPTIONAL ENHANCEMENTS ================= */

/* Smooth click feel */
.floating-actions a:active {
  transform: scale(0.95);
}

/* Shadow improvement */
.floating-actions a {
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}


/* ================= FAB CONTAINER ================= */

.fab-container {
  position: fixed;
  right: 20px;
  bottom: 90px;
  z-index: 9999;
}

/* MAIN BUTTON */
.fab-main {
  width: 50px;
  height: 50px;
  background: #c40d42;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  transition: 0.3s;
}

/* Rotate on open */
.fab-container.active .fab-main {
  transform: rotate(45deg);
}

/* ITEMS WRAPPER */
.fab-items {
  position: absolute;
  bottom: 70px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: 0.3s;
}

/* SHOW ITEMS */
.fab-container.active .fab-items {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* INDIVIDUAL ICON */
.fab-item {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: 0.3s;
}

/* HOVER */
.fab-item:hover {
  transform: scale(1.1);
}

/* COLORS */
.f-mail { background: #4a86ff; }
.f-phone { background: #3b60e4; }
.f-location { background: #ff5722; }
.f-whatsapp { background: #25d366; }
.f-instagram {
  background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4);
}



