/* Contact Section Styling */
.contact-section {
    position: relative;
    width: 100%;
    background: linear-gradient(90deg, #004aad, #26cb2d);
    padding: 80px 5%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    overflow: visible;
    min-height: 450px;
}

.contact-section .contact-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    width: 100%;
    position: relative;
}

.contact-section .contact-image {
    position: absolute;
    left: 0;
    bottom: -60px;
    width: 40%;
    z-index: 5;
    overflow: visible;
    transform: translateX(100px);
    opacity: 0;
    animation: contact-slideInRight 1.2s ease-out forwards;
}

/* @keyframes contact-slideInRight {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
} */

.contact-section .contact-image img {
    width: 100%;
    height: auto;
    margin-left: -80px;
}

.contact-section .contact-content {
    width: 60%;
    text-align: right;
    color: white;
    z-index: 1;
    margin-left: 40%;
}

.contact-section .contact-content h2 {
    font-size: 3.9rem;
    font-weight: bold;
    font-style: italic;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(-50px);
    opacity: 0;
    animation: contact-slideDown 1s ease-out forwards 0.3s;
}

/* @keyframes contact-slideDown {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
} */

.contact-section .contact-info {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact-section .contact-number {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 2.3rem;
    font-weight: bold;
    font-style: italic;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    white-space: nowrap;
}

.contact-section .contact-number span {
    display: inline-block;
    opacity: 0;
    animation: contact-letterFade 1s ease forwards;
}



.contact-section .contact-number img {
    width: 40px;
    height: auto;
    margin-left: 10px;
}

.contact-section .contact-bottom-mask {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background-color: white;
    z-index: 6;
}





@keyframes contact-letterFade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes contact-slideInRight {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes contact-slideDown {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes contact-letterFade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablets & Below */
@media (max-width: 991px) {
    .contact-section {
      padding: 60px 20px;
      min-height: auto;
    }
  
    .contact-section .contact-container {
      flex-direction: column;
      align-items: center;
      gap: 40px;
    }
  
    .contact-section .contact-image {
      display: none !important;
    }
  
    .contact-section .contact-content {
      width: 100%;
      margin-left: 0;
    }
  
    .contact-section .contact-content h2 {
      font-size: 2.6rem;
      text-align: center; 
      margin-bottom: 20px;
    }
  
    .contact-section .contact-info {
      align-items: flex-end; 
    }
  
    .contact-section .contact-number {
      justify-content: flex-end;
      font-size: 1.9rem;
      text-align: right;
    }
  
    .contact-section .contact-number img {
      width: 32px;
      margin-left: 10px;
    }
  }
  
  /* Phones */
  @media (max-width: 576px) {
    .contact-section {
      padding: 50px 15px;
    }
  
    .contact-section .contact-content h2 {
      font-size: 2rem;
    }
  
    .contact-section .contact-number {
      font-size: 1.5rem;
    }
  
    .contact-section .contact-number img {
      width: 26px;
    }
  }
  
  
  