*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* header image....................................................................... */

.mage-container2 img{

    width: 100%;
    height: auto;
    margin-top:50px ;
    border-radius: 20px;
  }

/* services project........................................................... */

.project-heading1 h1{
  
    text-align: center;
    font-family:sans-serif ;
    justify-content: center;
    color: #3d3d3d;

    
}
.gal1 hr{
	text-align: center;
	width: 200px;
	margin: auto;
	/* margin-top: 8px 8px; */
    margin-bottom: 10px;
}
.gal1 h1{
    text-align: center;
    size: 8px;
}

.spara p{
    font-size: large;
    text-align: center;
    color: #30b5b0;
    padding-bottom: 12px;
    padding-top: 6px;
    margin-left:  20px;
    margin-right: 20px;
    line-height: 24px;
}


.project1{
    font-family: Arial, sans-serif;
    /* background-color: #f7f7f7; */
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.card-container1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card1 {
    background-color: white;
    width: 300px;
    /* border-radius: 10px; */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transform: scale(1);
    transition: transform 0.3s ease-in-out;
}

.card1:hover {
    transform: scale(1.05);
}

.card1 img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    /* border-bottom: 2px solid #f1f1f1; */
    filter: brightness(0.9);
 
}

.card-body1 {
    padding: 20px;
}

.card-title1 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.card-description1 {
    font-size: 16px;
    color: #6b6b6b;
    margin-bottom: 20px;
}

/* .card-button1 {
    background-color: #159bf5;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    display: inline-block;
    text-decoration: none;
}

.card-button1:hover {
    background-color: #3d3d3d;
    color: #fff;
} */

/* Responsive Styles */
@media (max-width: 1024px) {
    .card1 {
        width: 280px;
        gap:40px;
    }
}

@media (max-width: 768px) {
    .card1 {
        width: 310px;
        /* width: 100%; */
        /* max-width: 400px; */
    }

    .card-container1 {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .card1 {
        width: 300px;
        /* width: 100%; */
        max-width: 350px;
    }
    
}




.btext {

    height: 130px;
    text-align: center;
    justify-content: center;
    /* background-color: #aad6f3; */
    padding-top: 28px;
    margin: 30px;
    border-radius: 30px;
    font-family: 'Times New Roman', Times, serif ;
}

.btext h2{
padding-bottom: 20px;
}

.btext a{
    margin-top: 110px;
    border: solid black 1px;
    text-decoration: none;
    color: black;
    font-family: sans-serif;
    padding: 9px;
}
.btext a:hover{
    border: solid white 1px;
    color: white;
}
@media (max-width:700px) {

    .btext h2{
        font-size: 17px;
        }

        .btext a{
  
            border: solid black 1px;
            text-decoration: none;
            color: black;
            font-family: sans-serif;
            padding: 8px;
        }

}
/* .................................................form........................................................... */

.patients{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background-color: #fffffff1;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Hide the scrollbar */
    overflow-y: auto; /* Hide the vertical scroll bar */
  }
  
  .container {
    padding: 20px;
    margin-top: 70px;
  }
  
  .mainheading {
    text-align: center;
    color: #30B5B0;
    margin-top: 30px;
  }
  
  .form-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 69px rgba(1, 119, 255, 0.1);
    width: 60%;
    margin: 0 auto;
  }
  
  .form-container h2 {
    text-align: center;
    color: #9d9e9f;
  }
  
  label {
    color: #30B5B0;
    /* display: block;
    margin-bottom: 8px; */
    font-size: 14px;
    
    font-weight: 400;
  }
  
  .phone-emergency {
    display: flex;
    width: 100%;
    gap: 50px;
  }
  
  .citys input,
  .provinces input,
  .phoneno input,
  .emer input {
    width: 100%;
  }
  
  input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
  }
  
  input:focus, textarea:focus {
    border-color: #30B5B0;
    outline: none;
  }
  
  button {
    width: 100%;
    padding: 15px;
    background-color: #30B5B0;
    color: white;
    border: none;
    border-radius: 5px;
    margin-top:11px ;
    font-size: 16px;
    cursor: pointer;
  }
  
  button:hover {
    background-color: #30B5B0;
  }
  
  .error-message {
    color: red;
    font-size: 12px;
    display: none;
    margin-top: -10px;
  }
  
  .input-error {
    border-color: red;
  }
  
  .success-message {
    color: #466995;
    font-size: 14px;
    text-align: center;
  }
  
  
  
  /* Responsive Styling */
  @media (max-width: 768px) {
    .form-container {
        width: 80%;
    }
    .form-container h2 {
        font-size: 22px;
    }
  
    button {
        padding: 12px;
        font-size: 14px;
    }
  
    label {
        font-size: 12px;
    }
  
    input, textarea {
        font-size: 14px;
    }
  
    .p-citycont,
    .phone-emergency {
        gap: 20px; /* Reduce gap on smaller screens */
    }
  }
  
  /* Apply styles for screens smaller than 768px wide */
  @media (max-width: 767px) {
    
  
    .form-container {
        background-color: #fff;
        padding: 20px;
        width: 90%; /* Slightly wider for smaller screens */
    }
  
    .phoneno input {
        font-size: 12px;
        margin-top: 13px;
    }
  
  
    .emer input {
        font-size: 12px;
        margin-top: 13px;  }
  
    .emer label {
        font-size: 9.88px;
    }
  
    .form-container h2 {
        font-size: 12px;
    }
  .mainheading{
    font-size: 22px;
  }
    label {
        font-size: 10px;
    }
  
    input, textarea {
        font-size: 12px;
        padding: 10px; /* Adjust padding for smaller screens */
    }
  
    .p-citycont,
    .phone-emergency {
        gap: 15px; /* Reduce the gap for smaller devices */
    }
  }
  
  /* Apply styles for screens smaller than 438px wide */
  @media (max-width: 438px) {
   
    .form-container {
        background-color: #fff;
        padding: 20px;
        width: 90%;
    }
  
    .form-container h2 {
        font-size: 10px;
    }
    .mainheading  {
      font-size: 14px;
  }
  
  
    input, textarea {
        padding: 8px; /* Reduce padding on very small screens */
        font-size: 9px;
    }
  
    .p-citycont,
    .phone-emergency {
      margin: 0;
        /* gap: 10px; */
         /* Reduce gap further on small screens */
    }
  
    .phoneno input {
        font-size: 10px;
    }
  
    .emer input {
        font-size: 10px;
    }
  
    .emer label {
        font-size: 8px;
    }
  
    label {
        font-size: 8px; /* Make labels smaller for small screens */
    }
  }
  /* Style for the radio group */
  .radio-group {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 20px; /* Space between radio buttons */
    justify-content: space-between; /* Distribute evenly */
    margin-top: 14px;
  }
  
  /* Style for individual radio options */
  .radio-option {
    display: flex;
    align-items: center; /* Align radio button and label */
    font-size: 14px;
    gap: 8px; /* Space between radio button and label */
    margin-bottom: 10px;
  }
  
  .radio-option input[type="radio"] {
    width: 16px; /* Adjust size of the radio button */
    height: 16px;
    margin: 0;
    cursor: pointer;
  }
  
  /* Focus effect on radio buttons */
  .radio-option input[type="radio"]:focus {
    outline: 2px solid #30B5B0;
  }
  
  /* Responsive adjustments for smaller screens */
  @media (max-width: 768px) {
    /* Adjust the radio buttons' layout for smaller screens */
    .radio-group {
        flex-direction: column; /* Stack radio buttons vertically */
        align-items: flex-start; /* Align radio buttons to the left */
    }
  
    .radio-option {
        font-size: 12px; /* Reduce font size for smaller screens */
        gap: 10px; /* Increase space between radio button and label */
    }
  
    .radio-option input[type="radio"] {
        width: 14px; /* Smaller radio buttons */
        height: 14px;
    }
  }
  
  @media (max-width: 438px) {
    /* For even smaller screens, ensure good spacing and visibility */
    .radio-group {
        gap: 10px; /* Reduce gap */
    }
  
    .radio-option {
        font-size: 10px; /* Further reduce font size */
        gap: 6px; /* Reduce space between radio button and label */
    }
  
    .radio-option input[type="radio"] {
        width: 12px; /* Smaller radio buttons for small screens */
        height: 12px;
    }
  }
  
  
  
  
  
  
  
  
  
  /* for only h1 */
  
  @media (max-width: 870px) and (min-width: 765px) {
  
    /* Adjust header size */
    h1 {
        font-size: 32px;
        margin-top: 20px;
    }
  }







/* ofice ...........................................project... */

.card2 {
  background-color: white;
  width: 300px;
  border-radius: 5px;
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
  overflow: hidden;
  transform: scale(1);
  transition: transform 0.3s ease-in-out;
}

.card2:hover {
  transform: scale(1.05);
}

.card2 img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  /* border-bottom: 2px solid #f1f1f1; */
  filter: brightness(0.9);

}
/* Responsive Styles */
@media (max-width: 1024px) {
  .card2 {
      width: 280px;
      gap:40px;
  }
}

@media (max-width: 768px) {
  .card2 {
      width: 200px;
      /* width: 100%; */
      /* max-width: 400px; */
  }

  .card-container {
      justify-content: center;
  }
}

@media (max-width: 480px) {
  .card2 {
      width: 300px;
      /* width: 100%; */
      max-width: 350px;
  }
  
}
/* service loop........................................ */
.loop{
  /* position: absolute;
  top: 20%; */
  display: flex;
  color: rgb(63, 63, 63);
  height: 100px;
  width: 100%;
  /* background-color: rgb(198, 198, 240); */
  white-space: nowrap;
  align-items: center;
  overflow-x: hidden;

}
.loop h1{
  font-size: 60px;
  animation-name: anim;
  animation-duration: 40s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.loop span{
   -webkit-text-stroke: 2.9px #30b5b0;
   color: transparent;
}
.loop i{
  font-weight: 900;
  color: #30b5b0;
}
@keyframes anim{
  0%{
      transform: translateX(0%);
  }
  100%{
      transform: translateX(-100%);
  }
}
@media (max-width: 780px) {
  .loop h1{
    font-size: 40px;
    animation-duration: 20s;
  }
  .loop{
    height: 60px;
  }
}