@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body{
    margin: 0;
    padding: 0;
}

.title-header{
    background: url('../images/landing/contactus-header1.jpg') no-repeat;
    background-position: center 40%;
    background-size: cover;
    top: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    padding: 120px;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
}

.title-header h1 {
    color: lightgray;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 60px;
    margin: 0;
}

/* Responsive font-size for smaller screens */
@media screen and (max-width: 768px) {
    .title-header h1 {
        font-size: 40px;
    }
}

@media screen and (max-width: 480px) {
    .title-header h1 {
        font-size: 28px;
    }
}


.contact {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center; 
}

  
  @media (max-width: 991.98px) {
    
    .contact .contact-form-card {
      border-bottom: 1px solid #dee2e6;
    }
    .contact .contact-form-card,
    .contact .contact-info-card {
      min-height: auto !important;
    }
  }
  
.company-location {
        background-color: #f8f9fa;
        padding: 20px 0;
    }

    .branch-title {
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        font-size: 24px;
        color: #333;
        margin-bottom: 20px;
    }

    .location-card {
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        height: 100%;
    }

    .location-item {
        transition: all 0.3s ease;
        cursor: pointer;
        margin-bottom: 15px;
    }

    .location-item:hover {
        background: #e9f7fe !important;
        transform: translateY(-2px);
    }

    .location-list {
        max-height: calc(100vh - 200px);
        overflow-y: auto;
        padding: 10px;
    }

    .map-container {
        position: relative;
        height: 100%;
        min-height: 400px;
    }

    .map {
        width: 100%;
        height: 100%;
        min-height: 400px;
        background: #e9ecef;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    /* Responsive adjustments */
    @media (max-width: 991.98px) {
        .location-list {
            max-height: 300px;
            margin-bottom: 20px;
        }
        
        .map-container {
            min-height: 350px;
        }
    }

    @media (max-width: 767.98px) {
        .company-location .row {
            flex-direction: column-reverse; /* Map on top for mobile */
        }
        
        .map-container {
            min-height: 300px;
            margin-bottom: 20px;
        }
        
        .location-list {
            max-height: none;
            overflow-y: visible;
        }
    }

    @media (max-width: 575.98px) {
        .map-container {
            min-height: 250px;
        }
    }
  
  .contact .contact-form-card,
  .contact .contact-info-card {
    padding: 30px;
    background: #fff;
    min-height: 500px;
    box-shadow: 0 2px 10px rgba(95, 89, 89, 0.1);
  }
  
  .contact .contact-info-card {
    padding-right: 20px;
  }
  
  .contact .contact-title {
    margin-bottom: 30px;
  }
  
  .contact .contact-title::after {
    content: '';
    width: 20px;
    height: 2px;
    background: #F85C70;
    display: block;
    margin-top: 10px;
  }

  .social-icons {
    margin-right: 30px; 
    display: flex;
    justify-content: center; /* Centers the icons */
    gap: 15px; /* Adds spacing between icons */
    padding-top: 20px;
}

.social-item {
    list-style: none;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px; 
    height: 50px;
    border-radius: 50%; 
    background-color: #f0f0f0; 
    transition: all 0.3s ease; 
    text-decoration: none;
    font-size: 20px; 
    color: #333; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}

.social-link:hover {
    background-color: #007bff; 
    color: #fff; 
    transform: scale(1.1); 
    box-shadow: 0 8px 12px rgba(0, 123, 255, 0.3); 
}