

.header{
  /* display: flex;
  justify-content: space-between;
  align-items: center; */
  background-color: #121B22;
  /* height: 5.6rem; */
  position: relative;
  font-size: 1.6rem;
}

.top-header{
  height: 5.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4.8rem;
}

.left-top-header{
  display: flex;
  gap: 2rem;
}

.header-email,.header-phone{
  display: flex;
  align-items: center;
  gap:1rem;
}




/*    Bottom Header  */
.bottom-header{
  display: flex;
  height: 5.6rem;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 0 4.8rem;
}
.logo-img{
  height: 12.2rem;
}



.main-nav-link:link,.main-nav-link:visited{
  display: inline-block;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1.6rem;
  transition: all 0.3s;
}

.main-nav-link:hover,.main-nav-link:active{
  color:#027FFE;
}

.main-nav-link.nav-cta:link, .main-nav-link.nav-cta:visited{
  padding: 1.2rem 2.4rem;
  border-radius: 9px;
  color: #fff;

}
.main-nav-list{
  list-style: none;
  display: flex;
  gap: 4.8rem;
  align-items: center;

}


/* Page CSS */


.container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
  }
  
  .grid {
    display: grid;
    grid-template-rows: repeat(4, auto);
    gap: 50px;
  }
  
  /* Each Row */
  .grid-item {
    display: flex;
    position: relative;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 10px;
    width: 100%; /* 470px + 470px */
    height: 35rem;
  }
  
  /* Text and Image sides */
  .text-content{
    width: 50%;
    padding: 40px;
    position: relative;
    z-index: 1;
    /* width: 47rem;
    height: 33.5rem; */
  }

  .image-content {
    width: 50%;
    position: relative;
    z-index: 1;
    /* width: 47rem;
    height: 33.5rem; */
  }
  
  .text-content {
    background: linear-gradient(135deg, #004aad, #007fff);
    font-size: 2rem;
    color: white;
    line-height: 1.3;
  }
  
  .image-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* The V-like divider */
  /* .grid-item::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: white;
    transform: skewX(-20deg);
    z-index: 2;
  }
   */
  /* Responsive */
/* Responsive */
@media (max-width: 1020px) {
    .grid-item {
      flex-direction: column;
      width: 100%;
      height: auto;
    }
  
    .text-content, .image-content {
      width: 100%;
      height: 250px;
    }
  
    .grid-item::before {
      display: none;
    }
  }



/* Modal Styles */


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    display: none;
  }

  .modal {
    background-color: #ffffff;
    color: #006EE5;
    width: 90%;
    max-width: 500px;
    height: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .modal-header {
    height: 30%;
    background-color: #0056b3;
  }

  .modal-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #006EE5;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
  }

  .modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
  }

  .form-group {
    margin-bottom: 15px;
  }

  .form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    color: #006EE5;
  }

  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #006EE5;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
    color: #006EE5;
  }

  .form-group textarea {
    resize: vertical;
    min-height: 60px;
  }

  .submit {
    width: 100%;
    padding: 12px;
    background-color: #006EE5;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: 10px;
  }

  .submit:hover {
    background-color: #0056b3;
  }

  @media (max-width: 600px) {
    .modal {
      max-width: 90%;
      height: auto;
    }

    .modal-header {
      height: 150px;
    }
  }