.contact-section {
    padding: 60px 20px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.info {
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}
.contact-container {
    position: relative;
    width: 100%;
    max-width: 1250px;
    margin: 0px auto;
    overflow: hidden;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.8rem;
    color: #283e51;
    margin-bottom: 20px;
    margin-top: 20px;
}

.contact-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px;
}

.contact-info,
.contactForm {
    width: 48%;
    height: auto;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    margin-bottom: 20px;
}

.contact-info {
    width: 40%;
    background: #283e51;
    color: #fff;
    padding-left: 23px;
    padding-right: 10px;
    padding-bottom: 10px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
}

.contact-info h3::after {
    content: "";
    display: block;
    width: 35%;
    height: 3px;
    background: linear-gradient(to right, #00aced 50%, #f0f0f0 50%);
    position: absolute;
    bottom: 2px;
    left: 0;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.contact-info i {
    color: #fff;
    margin-right: 10px;
}

.contact-info p a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info p a:hover {
    text-decoration: underline;
    color: #00aced;
}

.contact-info .icon-button {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 2px solid #00aced;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: #00aced;
    margin-right: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.icon-button .fas {   
    overflow: hidden;
}
.contact-info .icon-button:hover {
    background-color: #00aced;
    color: white;
}

.icon-button .fas{
    margin: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item .icon-button {
    margin-right: 15px;
    height: 40px;
    width: 40px;
    line-height: 40px;
    overflow: hidden;
}

.contact-detail {
    display: block;
    line-height: 1.6;
}

.contact-detail span,
.contact-detail strong  {  
    cursor: pointer;
}

.contact-detail span:hover {  
    color: #00aced;
}

.contact-detail a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.socialIco {
    margin: 35px;
    display: flex;
    margin-left: 10px;
}

.socialIco button{
    height: 35px;
    width: 35px; 
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
    border-radius: 5px;
    border: 2px solid #1479C2;
    background-color: #1479C2;
    overflow: hidden;
}

.socialIco a {
    margin-top: 8px;
    font-size: 20px;
}

.socialIco .fa-brands{
    margin: 6px;
    overflow: hidden;
}

.socialIco button:hover{
    border: 2px solid #1479C2;
    background-color: #1479C2;
}

.socialIco button:hover .fa-facebook {
    color: #fff;
}

.socialIco button:hover .fa-instagram {
    color: #FF0953;
}

.socialIco button:hover .fa-whatsapp {
    color: #25D366;
}

.socialIco button:hover .fa-linkedin {
    color: #598AC2;
}

.form-group {
    position: relative;
    margin: 20px 0;
    overflow: visible;
}

.form-group input,
.form-group textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 15px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group input:focus,
.contactForm textarea:focus {
    border-color: #283e51;
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 1rem;
    color: #aaa;
    transition: all 0.3s ease;
    pointer-events: none;
    background-color: white;
    padding: 0 5px;
    opacity: 0;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    opacity: 0;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    font-size: 0.9rem;
    color: #283e51;
    opacity: 1;
}

.contactForm textarea {
    resize: none;
    height: 120px;
}

button[type="submit"] {
    width: 100%;
    margin-bottom: 15px;
    padding: 15px;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px; 
    background: #283e51;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

button[type="submit"]:hover {
    background: #4b79a1;
}

.popup-top {
  display: none;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: rgb(10, 10, 10);
  padding: 15px 30px;
  border-radius: 0 0 10px 10px;
  z-index: 9999;
  font-size: 16px;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translate(-50%, -100%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

.popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

#map-container {
    position: absolute;
    top: 240px;
    left: 28%;
    transform: translateX(-50%);
    width: 35%;
    height: 350px;
    display: none;
    border: 2px solid #00aced;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10; 
}

.close-btn1 {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-btn1:hover {
    background: rgba(0, 0, 0, 0.8);
}

#map {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .contact-info,
    .contactForm {
        width: 100%;
    }

    .contact-container {
        width: 100%;
    }

    .socialIco {
        margin-top: 40px;
    }

    .socialIco button{
        height: 35px;
        width: 35px;
        margin: 0px 8px;
        overflow: hidden;
    }

    #map-container{
        height: 400px;
        width: 80%;
        left: 50%;
    }
}
