footer {
    background: linear-gradient(90deg, #E9CE66 6.25%, #E8DBA8 68.75%);
}

.footer-top .footer-aside .footer-logo img {
    width: 250px;
}
@media (max-width: 767px){
    .footer-top .footer-aside .footer-logo img {
        margin: 0 auto;
    }
    .footer-aside p {
        text-align: center;
    }
}


.footer-top .footer-right ul {
    list-style-type: none;
    padding-left: 0;
}

.footer-top .footer-right .quick-links li {
    list-style: none;
    margin-bottom: 20px;
}
.footer-top .upper-footer {
    background: #222222;
}

.footer-top a {
    color: #fff;
    transition: 0.4s;
    font-weight: 400;
}
.footer-top a:hover{
    color: #E9CE66;
}
.footer-top a.bg-primary:hover{
    background-color: #E9CE66;
}

.text-bold {
    font-weight: 700;
}
.footer-top h4 {
    margin-top: 30px;
    margin-bottom: 25px;
}

.footer-top .image-wrapper {
    margin-bottom: 24px;
}
.footer-top .footer-logo-wrapper{
    display: block;
    max-width: 180px;    
}
.footer-top .image-wrapper img {
    width: 100%;
    height: auto;
}

.footer-top .text-wrapper p {
    color: #fff;
    margin-bottom: 24px;
}

.footer-top .contact-detail {
    margin-bottom: 20px;
}

.footer-top .contact-detail h5,
.footer-top .contact-detail p {
    color: #fff;
    margin: 0;
}

.footer-top .contact-detail h5 {
    margin-bottom: 12px;
    font-size: 16px;
}

.footer-top .contact-detail .icon,
.footer-top .contact-detail .text {
    display: inline-block;
    vertical-align: middle;
}

.footer-top .contact-detail .text {
    max-width: calc(100% - 55px);
}

.footer-top .contact-detail .icon {
    width: 45px;
    height: 45px;
    line-height: 45px;
    background-color: #000;
    border-radius: 50%;
    text-align: center;
    margin-right: 10px;
    font-size: 18px;
}
.footer-top .contact-detail .icon i {
    color: #E9CE66;
}

.footer-top .contact-detail .text a,
.footer-top .contact-detail .text p {
    margin: 0;
    text-decoration: none;
    overflow-wrap: anywhere;
    font-size: 18px;
}

.footer-top .lower-footer {
    background: #414141;
    text-align: center;
    padding: 20px;
    color: #fff;
}


.footer-top {
    position: relative;
}
.footer-top .footer-aside{
    padding-right: 50px;
}
.footer-top .footer-right p, .footer-top .footer-right h4, .footer-top .footer-right a, .footer-top .contact-detail .text span {
    color: #000;
}
@media only screen and (min-width: 992px) {
/* @media only screen and (min-width: 768.9px) { */
    .footer-top::before {
        content: '';
        position: absolute;
        width: 66%;
        background-color: #000;
        top: 50%;
        transform: translateY(-50%);
        height: 110%;
        left: auto;
        right: 0;
        border-bottom-left-radius: 340px;
        border-top-left-radius: 340px;
    }
    .footer-top .footer-right p, .footer-top .footer-right h4, .footer-top .footer-right a, .footer-top .contact-detail .text span {
        color: #fff;
        transition: all ease-in-out 0.7s;
    }
    .footer-top .footer-right a:hover {
        color: #E9CE66;
        transition: all ease-in-out 0.7s;
    }
    .footer-top .contact-detail .icon {
        background-color: #E9CE66;
    }
    .footer-top .contact-detail .icon i {
        color: #000;
    }
    .footer-top h4 {
        margin: 40px 0;
    }
}
@media (min-width:992px) {
    .footer-top .description-logo-icon,
    .footer-top .departments-wrapper {
        margin-bottom: 0px;
    }
   
}

@media only screen and (min-width: 1200px) {
    .footer-top::before {
        width: 55%;
    }
}

.footer-aside .btn-animate-10 {
    margin: 0;
}


/* === MOBILE-ONLY FOOTER FIX (≤767px) === */
@media (max-width: 767px) {
  /* Restore Bootstrap gutter balance */
  .footer-top .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .footer-top .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Remove desktop-only spacing that pinches mobile */
  .footer-top .footer-aside { padding-right: 0; }

  /* Center the left column content */
  .footer-top .footer-aside .footer-logo img { display: block; margin: 0 auto; }
  .footer-top .footer-logo-content,
  .footer-top h4,
  .footer-top .get-in-touch-wrapper { text-align: center; }

  /* Quick links: clean list indent on mobile */
  .footer-top .quick-links { padding-left: 0; margin: 0; }
  .footer-top .quick-links li { margin-bottom: 12px; }

  /* Hide the large black arc background on small screens */
  .footer-top::before { display: none; }
}


/* === Fix "Contact Us" button centering on mobile === */
@media (max-width: 767px) {
  /* centre inline content in the left column */
  .footer-top .footer-aside { text-align: center; }

  /* make the button itself center */
  .footer-top .footer-aside .btn-animate-10{
    display: inline-block;
    margin: 12px auto 0 auto !important; /* override the desktop margin:0 */
    float: none;                         /* just in case */
    border-radius: 50px;
  }

  /* optional: if any animation shifts it, neutralize on small screens */
  /* .footer-top .footer-aside .btn-animate-10 { transform: none; } */
}

/* === Mobile alignment for contact rows === */
@media (max-width: 767px) {
  .footer-top .in-touch-list .contact-detail {
    display: flex !important;
    align-items: center;           /* vertical centering */
    gap: 12px;                     /* even spacing between icon and text */
    margin-bottom: 16px;           /* tighter mobile rhythm */
  }

  /* neutralise the old inline-block behaviour */
  .footer-top .contact-detail .icon,
  .footer-top .contact-detail .text {
    display: block;                /* child display is irrelevant inside flex, just override prior rules */
    vertical-align: baseline;      /* cancel previous vertical-align */
  }

  /* consistent icon box + centered glyph */
  .footer-top .contact-detail .icon {
    flex: 0 0 45px;
    width: 45px; height: 45px;
    line-height: 45px;             /* legacy safety */
    display: flex; align-items: center; justify-content: center;
    margin-right: 0;               /* gap handles spacing */
    border-radius: 50%;
  }

  /* text wraps cleanly */
  .footer-top .contact-detail .text {
    flex: 1 1 auto;
  }
  .footer-top .contact-detail .text a,
  .footer-top .contact-detail .text span {
    display: block;
    line-height: 1.4;
  }
}
