/* Variables for a clean, gold-accented theme */
:root {
      --primary-blue: #0077b6;
      --secondary-blue: #00b4d8;
      --light-blue: #b3e4f5;
      --dark-blue: #023e8a;
      --text-color: #ecf0f1;
      --bg-light: #f9fbff;
      --card-bg: white;
      --dark-navy: #0a192f;
      --heading-font: 'Poppins', sans-serif;
      --body-font: 'Roboto', sans-serif;
      --link-hover: #0077b6;
      --transition-duration: 0.3s;
      --border-radius: 12px;
      --accent-cyan: #00c6ff;

    }
/* Basic Footer Styles */
.main-footer {
  background-color: rgba(10, 25, 47, 0.85);
  color: #ecf0f1;
  padding: 3rem 1.5rem;
  font-family: var(--body-font);
  line-height: 1.6;
  border-top: .4rem solid var(--accent-cyan);
}

.main-footer a {
  color: #ecf0f1;
  text-decoration: none;
  transition: color var(--transition-duration);
}

.main-footer a:hover {
  color: var(--secondary-blue);
}

/* Footer Grid Layout */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid var(--light-blue);
  padding-bottom: 2rem;
}

/* Column Styles - Adjusted */
.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* Brand Info column alignment */
.brand-info {
  align-items: flex-start;
  /* Aligns content to the left */
  text-align: left;
}
.brand-info h3 {
  text-align: left;
}
.brand-info img {
  margin-bottom: -0.1rem;
}
/* Quick Links column alignment */
.quick-links {
  align-items: flex-start;
  /* Aligns content to the left */
}

/* Contact Info column alignment */
.contact-info {
  align-items: flex-start;
  /* Aligns content to the left */
}
.other-service-links {
  align-items: flex-start;
  /* Aligns content to the left */
  margin-left: -4rem;
}
.contact-info .map-link {
    /* UPDATED RULE */
    align-items: flex-start; 
}

.footer-column h3,
.footer-column h4 {
  color: var(--secondary-blue);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  position: relative;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 30px;
  height: 2px;
  background-color: var(--secondary-blue);
  border-radius: 2px;
}

.footer-column p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ecf0f1;
  margin-bottom: 0.1rem;
}

/* Quick Links and Contact List */
.link-list,
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.link-list li,
.contact-list li {
  margin-bottom: 0.6rem;
}

.link-list a,
.contact-list a {
  font-size: 1rem;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  transition: all var(--transition-duration);
}

.link-list a:hover,
.contact-list a:hover {
  transform: translateX(6px);
  color: var(--accent-cyan);
}

.contact-list i {
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

/* Social Media Icons */
.social-links {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links a {
  font-size: 1.5rem;
  color: #ecf0f1;
  transition: transform var(--transition-duration), color var(--transition-duration);
}

.social-links a:hover {
  color: var(--secondary-blue);
  transform: scale(1.2);
}

/* Specific Social Icon Colors (optional) */
.social-links .fa-facebook-f:hover {
  color: #3b5998;
}

.social-links .fa-instagram:hover {
  color: #E1306C;
}

.social-links .fa-linkedin-in:hover {
  color: #0077B5;
}

.social-links .fa-map-marker-alt:hover {
  color: #EA4335;
}

.social-links .fa-youtube:hover {
  color: #EA4335;
}

/* Footer Bottom Section (Copyright) */
.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #ecf0f1;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: #ecf0f1;
}

.footer-bottom a {
  color: var(--secondary-blue);
  font-weight: 500;
  transition: color var(--transition-duration);
}

.footer-bottom a:hover {
  color: var(--accent-cyan);
}

.footer-logo-img {
  width: 15rem;
  height: auto;
  margin-bottom: 1rem;
}

/* 1. Add the icon before each link in the "Other Services" list */
.other-service-links .link-list a::before {
    /* This uses the Font Awesome "angle-right" icon */
    content: '\f105'; 
    font-family: "Font Awesome 5 Free";
    font-weight: 900; /* Required for solid Font Awesome icons */
    
    /* Style the icon */
    margin-right: 0.6rem;
    opacity: 0; /* Initially hide the icon */
    transform: translateX(-10px); /* Start it slightly to the left */

    /* Add a smooth transition for the animation */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 2. Animate the icon when the user hovers over the link */
.other-service-links .link-list a:hover::before {
    opacity: 1; /* Fade the icon in */
    transform: translateX(0); /* Slide it into its normal position */
}

/* 3. Optional: Adjust the main link's hover effect for a better look */
/* This makes the text move slightly less to make room for the new icon */
.other-service-links .link-list a:hover {
    transform: translateX(4px); 
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
   .other-service-links {
    align-items: center;
    margin-left: -12rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-column {
    align-items: center;
  }

  .footer-column p {
    max-width: 90%;
    text-align: center;
  }

  .brand-info {
    align-items: center;
  }
  .brand-info h3 {
    text-align: center;
  }

  .link-list,
  .contact-list {
    text-align: center;
  }
  .other-service-links {
    align-items: center;
    margin-left: 0;
  }

  .social-links {
    justify-content: center;
  }

  .footer-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
}