
/* Reset & base styles */
:root{
  --background-color: #2f358D;
  --text-color: #4986c6;
  --light-color:#ffffff;

}
.styled-footer {

background: linear-gradient(
  135deg,
  #161b33,
  #1f2d52,
  #25426f
); 


  color: #ffffff;
  padding: 60px 0 20px;
  font-family: 'Segoe UI', Arial, sans-serif;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow-x: hidden;
  border-radius: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding: 0 40px;
  margin-bottom: 30px;
  align-items: stretch;
}

.footer-column {
  min-width: 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 1px 16px 0 rgba(0, 0, 0, 0.2);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.footer-column h4 {
color: var(--light-color) ;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--text-color);
  padding-bottom: 10px;
  text-align:center;

}

.about-company {
  /* background: linear-gradient(120deg, #1a3476 80%, #2946a0 100%); */
  /* Adjusted gradient for a deeper blue */
  /* box-shadow: 0 6px 58px 0 rgba(0, 0, 0, 0.3), 0 1px 16px 0 rgba(0, 0, 0, 0.25); */
  border-radius: 24px;
  text-align: center;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.company-logo {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  background: #fff;
  padding: 15px;
  border-radius: 12px;


}

.company-logo img {
  max-width: 120px;
  height: auto;
  display:block;
  /* border-radius:6px; */
}

.social-icons {
  display: flex;
  gap: 15px;
  padding-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-icons a {
  background: var(--text-color);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  /* Adjusted shadow */
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.social-icons a:hover {
  transform: translateY(-4px) scale(1.07);
  box-shadow: 0 0 22px rgba(192, 200, 219, 0.7);
}

.social-icons svg {
  width: 30px;
  height: 30px;
}

.social-icons a svg path {
  fill: #ffffff;
}

.social-icons a svg path[fill="#fff"] {
  fill: #2F358D;
}

.footer-column ul {
    max-width: 400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    list-style-type: none;
    text-align:center;
}

.footer-column li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 15px;
  gap: 12px;
  color: #ffffff;
  line-height: 1.6;
  text-align:left;
}

.footer-column li i {
  color: var(--text-color);
  font-size: 16px;
  margin-top: 4px;
  min-width: 20px;
  text-align: center;
}


.map-container {
  flex-grow: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
  min-height: 250px;
  display: flex;
    max-width: 400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;

}

.map-container iframe {
  width: 100%;
  height: 100%;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 40px 40px 0;
  padding: 20px 0 0;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 0 30px;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    padding: 0 20px;
  }

  .contact-details,
  .about-company {
    align-items: flex-start;
    text-align: center;
    grid-column: 1 / -1;
  }

  .footer-column h4 {
    width: 100%;
  }

  .footer-column ul {
    width: 100%;
    max-width: 400px;
    text-align:center;
  }

  .about-company {
    align-items: center;
    text-align: center;
  }

  .company-logo {
    justify-content: center;
  }

  .company-logo img {
    margin-left: 0;
    /* Remove fixed margin */
  }
}

@media (max-width: 680px) {
  .contact-details li span {
    word-break: break-word;
  }

  /* Specific adjustments for phone numbers to wrap and display clearly */
  .contact-details li:nth-child(2) span {
    display: block;
    line-height: 1.8;
  }

  .contact-details li:nth-child(2) span br {
    display: none;
  }

  .contact-details li:nth-child(2) span::after {
    content: "\A";
    white-space: pre;
  }

  .contact-details li:nth-child(2) span:last-of-type::after {
    content: "";
  }
   .footer-column,
  .about-company {
    align-items: flex-start;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-column h4 {
    font-size: 17px;
  }

  .footer-column li {
    font-size: 14px;
  }
   
  .footer-column,
  #location {
    align-items: flex-start;
    text-align: center;
    grid-column: 1 / -1;
  }

  .company-logo img {
    width: 100px;
    height: 100px;
    margin-left: 0;
    /* Ensure no left margin on very small screens */
  }
}

@media (max-width: 320px) {
  .footer-column li {
    font-size: 13px;
    gap: 8px;
  }
   .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    padding: 0 20px;
  }


  .footer-column h4 {
    font-size: 16px;
  }

  .social-icons a {
    width: 40px;
    height: 40px;
  }
 .footer-column,
  .about-company {
    align-items: flex-start;
    text-align: center;
  }
  .social-icons svg {
    width: 20px;
    height: 20px;
  }

  .company-logo img {
    margin-left: 0;
  }
}