/* Footer Styles */
footer {
    background-color: var(--light-gray);
    position: relative;
    padding: 5rem 0 0;
    overflow: hidden;
  }
  
  footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-color: rgba(68, 119, 254, 0.1);
    border-radius: 50%;
    transform: translate(150px, -150px);
    z-index: 1;
  }
  
  .footer-logo {
    margin-bottom: 1.5rem;
  }
  
  .footer-logo img {
    height: 80px;
    width: auto;
    transition: all 0.3s ease;
  }
  
  .footer-about p {
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
    line-height: 1.7;
  }
  
  .footer-contact h4,
  .footer-links h4 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
  }
  
  .footer-contact h4::after,
  .footer-links h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
  }
  
  .footer-contact li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
  }
  
  .footer-contact i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
    transition: all 0.3s ease;
  }
  
  .footer-contact a {
    color: var(--text-color);
    transition: all 0.3s ease;
    text-decoration: none;
  }
  
  .footer-contact a:hover {
    color: var(--primary-color);
  }
  
  .footer-links ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
  }
  
  .footer-links li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 15px;
  }
  
  .footer-links li::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
    transition: all 0.3s ease;
  }
  
  .footer-links a {
    color: var(--text-color);
    transition: all 0.3s ease;
    text-decoration: none;
  }
  
  .footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
  }
  
  .footer-links a:hover + li::before {
    left: 5px;
  }
  
  .footer-social {
    display: flex;
    margin-top: 1.5rem;
  }
  
  .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    margin-right: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
  }
  
  .footer-social a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
  }
  
  .footer-newsletter form {
    position: relative;
    margin-top: 1rem;
  }
  
  .footer-newsletter .form-control {
    height: 50px;
    border-radius: 50px;
    padding-left: 20px;
    padding-right: 60px;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .footer-newsletter .btn {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .footer-bottom {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 1.5rem 0;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
  }
  
  .footer-bottom p {
    margin-bottom: 0;
  }
  
  /* Typing Animation */
  .typing {
    display: inline-block;
    min-width: 150px;
    text-align: left;
    height: 1.6em;
    overflow: hidden;
  }
  
  .typing::after {
    content: '|';
    animation: blink 1s infinite;
  }
  
  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }
  
  /* Chat Widget */
  .chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
  }
  
  .chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
  }
  
  .chat-toggle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
      opacity: 0.7;
    }
    70% {
      transform: scale(1.3);
      opacity: 0;
    }
    100% {
      transform: scale(1.3);
      opacity: 0;
    }
  }
  
  .chat-toggle:hover {
    transform: scale(1.1);
  }
  
  .chat-options {
    position: absolute;
    bottom: 75px;
    right: 0;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
  }
  
  .chat-options.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeIn 0.3s forwards;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .chat-option {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
  }
  
  .chat-option::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 60px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .chat-option:hover::after {
    opacity: 1;
    visibility: visible;
  }
  
  .chat-option:hover {
    transform: scale(1.1) translateX(-5px);
  }
  
  .chat-option.facebook {
    background-color: #1877f2;
    color: var(--white);
  }
  
  .chat-option.line {
    background-color: #06c755;
    color: var(--white);
  }
  
  /* Responsive Footer */
  @media (max-width: 991.98px) {
    footer {
      padding: 4rem 0 0;
    }
    
    .footer-bottom {
      margin-top: 3rem;
    }
  }
  
  @media (max-width: 767.98px) {
    footer {
      padding: 3rem 0 0;
    }
    
    .footer-contact h4::after,
    .footer-links h4::after {
      left: 50%;
      transform: translateX(-50%);
    }
    
    .footer-contact h4,
    .footer-links h4 {
      text-align: center;
    }
    
    .footer-links ul {
      text-align: center;
    }
    
    .footer-links li::before {
      display: none;
    }
    
    .footer-links li {
      padding-left: 0;
    }
    
    .footer-social {
      justify-content: center;
    }
    
    .footer-bottom {
      margin-top: 2rem;
    }
  }
  .typing {
    display: inline-block;
    min-width: 150px;
    text-align: left;
    height: 1.6em;
    overflow: hidden;
    vertical-align: middle; /* Add this to align text properly */
  }
  
  /* You can also add these additional adjustments if needed */
  .footer-bottom p {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
  }
  
  .footer-bottom .typing {
    margin-left: 5px;
  }