/* =====================================================
   MAIN FOOTER
===================================================== */

.main-footer {
    width: 100%;
    background: #fff0e5;
    position: relative;
}


/* =====================================================
   FOOTER CONTAINER
===================================================== */

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 20px;

    display: grid;
    grid-template-columns: 1.4fr 0.9fr 1.4fr;
}


/* =====================================================
   FOOTER COLUMN
===================================================== */

.footer-column {
    padding: 0 20px;
}


/* Vertical dotted separator */

.footer-column + .footer-column {
    border-left: 1px dotted #333;
}


/* =====================================================
   FOOTER HEADING
===================================================== */

.footer-column h3 {
    margin: 0 0 12px;

    font-family: "Roboto Slab", Georgia, serif;
    font-size: 23px;
    font-weight: 700;

    color: #10145c;
}


/* =====================================================
   ABOUT TEXT
===================================================== */

.about-info p {
    margin: 0;

    font-size: 16px;
    line-height: 1.65;
    font-weight: 500;

    color: #111;
}


/* =====================================================
   SERVICES
===================================================== */

.footer-services {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-services li {
    margin-bottom: 16px;
}

.footer-services li a {
    display: flex;
    align-items: center;
    gap: 12px;

    text-decoration: none;

    color: #111;
    font-size: 17px;
    font-weight: 500;

    transition: 0.3s ease;
}

.footer-services li a i {
    font-size: 11px;
}

.footer-services li a:hover {
    color: #e51d2a;
    padding-left: 4px;
}


/* =====================================================
   SOCIAL ICONS
===================================================== */

.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.footer-social a {
    width: 33px;
    height: 33px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #C2272D;
    color: #fff;

    text-decoration: none;

    font-size: 15px;

    transition: 0.3s ease;
}

.footer-social a:hover {
    background: #C2272c;
    transform: translateY(-3px);
}


/* =====================================================
   CONTACT INFO
===================================================== */

.contact-item {
    display: flex;
    align-items: flex-start;

    gap: 12px;
    margin-bottom: 14px;
}

.contact-item > i {
    width: 18px;
    margin-top: 4px;

    color: #222;
    font-size: 16px;
}

.contact-item p {
    margin: 0;

    color: #111;

    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
}

.contact-item a {
    color: #111;
    text-decoration: none;
}

.contact-item a:hover {
    color: #e30620;
}


/* =====================================================
   FOOTER BOTTOM
===================================================== */

.footer-bottom {
    width: 100%;

    background:#C2272DB3;

    text-align: center;

    padding: 13px 20px;
}

.footer-bottom p {
    margin: 0;

    color: #000;

    font-size: 16px;
    font-weight: 600;

    letter-spacing: 0.3px;
}


/* =====================================================
   BACK TO TOP
===================================================== */

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #e2504f 0%, #cf3b3a 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(207, 59, 58, 0.4);
  z-index: 999;

  /* hidden by default, fades in on scroll */
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease, background .3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(135deg, #cf3b3a 0%, #b52d2c 100%);
  transform: translateY(-4px);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .back-to-top {
    width: 42px;
    height: 42px;
    font-size: 16px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .back-to-top {
    width: 38px;
    height: 38px;
    font-size: 14px;
    bottom: 15px;
    right: 15px;
    box-shadow: 0 4px 12px rgba(207, 59, 58, 0.4);
  }
}


/* =====================================================
   RESPONSIVE - TABLET
===================================================== */

@media (max-width: 991px) {

    .footer-container {
        grid-template-columns: 1fr 1fr;
        row-gap: 30px;
    }

    .contact-info {
        grid-column: 1 / -1;
    }

    .contact-info.footer-column {
        border-left: none;
        border-top: 1px dotted #333;
        padding-top: 25px;
    }

}


/* =====================================================
   RESPONSIVE - MOBILE
===================================================== */

@media (max-width: 767px) {

    .footer-container {
        grid-template-columns: 1fr;

        padding: 35px 20px 20px;
    }

    .footer-column {
        padding: 0 0 25px;
    }

    .footer-column + .footer-column {
        border-left: none;
        border-top: 1px dotted #333;

        padding-top: 25px;
    }

    .contact-info {
        grid-column: auto;
    }

    .contact-info.footer-column {
        border-top: 1px dotted #333;
    }

    .footer-column h3 {
        font-size: 21px;
    }

    .about-info p,
    .contact-item p {
        font-size: 15px;
    }

    .footer-bottom {
        padding: 12px 15px;
    }

    .footer-bottom p {
        font-size: 13px;
        line-height: 1.5;
    }

    .back-to-top {
        right: 15px;
        bottom: 15px;
    }

}