.contact_main_conteinar{
    width: 100%;
    height: auto;
    /* padding-top: 110px; */
    background-image: url(../../image/Contact.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.contact_main_conteinar_area{
    width: 95%;
    height: auto;
    height: 28vh;
    margin: auto;
    text-align: center
}
.contact_main_conteinar_header{
    position: absolute;
  right: 50px;
}

.contact_main_conteinar_area h1{
    color: #fff;
    font-size: 35px;
    padding-top: 55px;
}
.contact_main_conteinar_area p{
    color: #fff;
    font-size: 15px;
    padding: 10px;
}
.contact_main_conteinar_area p a{
    color: #fff;
    text-decoration: none;
}

.contact_information_conteinar{
    width: 100%;
    height: auto;
    margin: 20px 0px;
}
.contact_information_area{
    width: 95%;
    height: auto;
    margin: auto;

}

.google_map_contact{
    width: 100%;
    height: auto;
    margin-bottom:20px ;
    
}
.google_map_contact_area{
    width: 95%;
    height: auto;
    margin: auto;
}
.office-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 100%;
    margin: auto;
  }

  .office-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 24px;
    flex: 1 1 48%; /* Allow two cards per line with a gap */
    max-width: 48%; /* Restrict max width */
    transition: transform 0.3s ease;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  .office-box:hover {
    transform: translateY(-5px);
  }

  .office-details {
      flex: 1 1 50%;
      min-width: 250px;
  }

  .office-image {
      flex: 1 1 45%;
      min-width: 240px;
      height: 100%;
      display: flex;
      overflow: hidden;
      /* align-items: center; */
      justify-content: center;
  }

  .office-image img {
      max-width: 100%;
      height: auto;
      border-radius: 8px;
  }


  .office-info p {
    padding: 5px 0px;
    line-height: 1.6;
    color: #333;
    display: flex;
    align-items: flex-start;
  }
  
  .office-info p i {
      margin-right: 12px;
      color: #3E3E86;
      font-size: 16px;
      width: 20px;
      text-align: center;
      padding-top: 4px; /* Align icon better with text */
  }

  .office-info p span {
    font-weight: bold;
    color: #3E3E86;
    display: block;
    margin-bottom: 5px;
  }

  @media (max-width: 1200px) {
    .contact_main_conteinar_area h1{
      padding-top: 80px;
    }
    .office-box{
      max-width: 100%;
      flex: 1 1 100%; /* Stack the cards on smaller screens */
    }
  }

    @media (max-width: 768px) {
        .office-box {
            flex-direction: column;
        }
        .office-details, .office-image {
            flex: 1 1 100%;
        }
    }


  .map-section {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    margin: auto;
  }

  .map-block {
    flex: 1 1 49%;
    background: white;
    border-radius: 10px;
    position: relative; /* Crucial for button positioning */
    width: 100%;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    min-width: 300px;
  }

  .map-block h3 {
    margin: 0;
    padding: 12px 16px;
    
    color: #3E3E86;
    font-size: 18px;
  }

  .map-block iframe {
    width: 100%;
    height: 300px;
    border: 0;
    display: block;
  }

  @media (max-width: 768px) {
    .map-block {
      flex: 1 1 100%;
    }
  }
/* Generic Fullscreen rules for any map container */

/* When ANY element goes fullscreen, force iframe to 100vh */
:fullscreen iframe {
    height: 100vh !important;
    width: 100% !important;
}
:-webkit-full-screen iframe {
    height: 100vh !important;
    width: 100% !important;
}

/* Common Button Style */
.fs-map-btn {
    position: absolute;
    top: 50px; /* Adjusted down slightly so it doesn't overlap the H3 title */
    right: 10px;
    background-color: #3E3E86;
    color: #ffffff;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    font-family: sans-serif;
    font-size: 14px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: background-color 0.3s;
}
.fs-map-btn:hover {
    background-color: #2a2a5e;
}