*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

body{
    display: grid;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    background-image: url('Back1.jpg');
    background-repeat: repeat;
}

.Home {
    margin-top: 0;
    background-image: url('Back2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    min-width: 210vh;
    left: 0;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    color: black;
}

.logo {
    font-size: 20px;
    user-select: none;
    color: red;
}

.navigation {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navigation a {
    position: relative;
    font-weight: 500;
    color: black;
    margin-left: 20px;
    text-decoration: none;
    font-size: 1rem;
}

.navigation .loginbtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 50px;
    text-decoration: none;
    border: 2px solid black;
    border-radius: 20px;
    background: none;
    font-size: 1rem;
    margin-left: 20px;
    cursor: pointer;
    color: black;
    transition: background-color 0.3s, color 0.3s;
}

.navigation .loginbtn:hover {
    color: white;
    background-color: black;
}

#hamburger-nav {
    display: none;
  }
  
  .hamburger-menu {
    justify-content: space-between;
    margin: 20px;
    position: relative;
    display: flex;
    justify-content: space-between;
    z-index: 1;
  }
  
  .hamburger-icon {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    height: 24px;
    width: 30px;
    cursor: pointer;
  }
  
  .hamburger-icon span {
    width: 100%;
    height: 2px;
    background-color: black;
    align-items: flex-end;
    justify-content: right;
    right: 10px;
  }
  
  .menu-links {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: rgb(163, 163, 163);
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    position: absolute;
    z-index: 999;
    border-radius: 2rem;
  }
  
  .menu-links a {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: black;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
  }
  
  .menu-links li {
    list-style: none;
  }
  
  .menu-links.open {
    max-height: 200px;
  }

  .hamburger-icon.open span:first-child {
    transform: rotate(45deg) translate(10px, 5px);
  }
  
  .hamburger-icon.open span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger-icon.open span:last-child {
    transform: rotate(-45deg) translate(10px, -5px);
  }
  
  .hamburger-icon span {
    transform: none;
  }
  
  .hamburger-icon span {
    opacity: 1;
  }  

.head {
    display: grid;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 180px;
    gap: 10px;
    column-gap: 2px;
    margin: 0 auto;
}

.head h3 {
    font-size: 2.5rem;
    color: black;
    margin-bottom: 5px;
}

.head p {
    font-size: 1.2rem;
    color: black;
    margin-bottom: 5px;
}

.get-started-btn {
    padding: 10px 20px;
    background-color: transparent;
    color: black;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 10px;
    border-color: black;
    border-style: solid;
    border-width: 2px;
    transition: background-color 0.3s;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.get-started-btn:hover {
    background-color: brown;
    border: none;
    color: white;
}

section{
    margin: 20px 20px 20px 20px;
}

.speciality {
    justify-content: center;
    align-items: center;
    margin-left: 20px;
}

.box-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 20px 20px;
    flex-wrap: wrap;
    text-align: center;
    padding: 40px;
}

.box {
    flex: 1 1 25rem;
    position: relative;
    overflow: hidden;
    border: .1rem solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    border-radius: 3rem;
    background-color: wheat;
}

.heading {
    font-size: 3.5rem;
    color: black;
    text-align: center;
    padding: 1rem;
}

.box img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: absolute;
    top: -100%;
    left: 0;
}

.box .content {
    text-align: center;
    color: black;
    padding: 2rem;
}

.content i{
    margin: 5px 0;
    font-size: 2rem;
}

.content p {
    padding: 1rem 0;
}

.box:hover img {
    top: 0;
    transition: 0.5s;
}

.box:hover .content {
    transform: translateY(100%);
    height: 40vh;
}

#message {
  backdrop-filter: blur(10px);
  padding: 20px;
  text-align: center;
  font-family: 'Arial', sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 2px none black;
  border-radius: 20px;
  padding: 20px;
  width: 90%;
  margin-left: 75px;
}

#message p {
    font-size: 1.2rem;
    color: #666;
  }
  
  form {
    max-width: 400px;
    margin: 20px auto;
    width: 100%;
  }
  
  label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    width: 100%;
  }
  
  input,
  textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
  }
  
  button {
    background-color: #00688B;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
  }
  
  button:hover {
    background-color: green;
  }

footer {
    background-color: rgb(209, 199, 199);
    color: #333;
    padding: 20px 0;
    text-align: center;
    width: 100%;
  }
  
  .footerContent {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  .contact-info {
    text-align: left;
    width: 100%;
  }
  
  .info a {
    text-decoration: none;
    color: #333;
    margin: 0 5px;
    font-size: 1em;
    line-height: 57px;
    width: 100%;
  }
  
  .copyright {
    margin-top: 20px;
    width: 100%;
  }
  
  .info {
    text-align: center;
    width: 100%;
    margin: 20px;
  }