/* global rules */
* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(
    -45deg,
    var(--color6),
    var(--color5),
    var(--color4),
    var(--color5),
    var(--color6)
  );
}
:root {
  --color1: #fff9f0;
  --color2: #f7f2eb;
  --color3: #f2f0de;
  --color4: #edf1f6;
  --color5: #d0e3ff;
  --color6: #bad6eb;
  --color7: #7096d1;
  --color8: #334eac;
  --color9: #081f5c;
  --color10: #3a365b;
}
/* end global rules */

.slogan_div {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 300px;
  font-family: "Parkinsans", sans-serif;
  background: linear-gradient(
    -45deg,
    var(--color5),
    var(--color4),
    var(--color3)
  );
  color: var(--color9);
  
}

.slogan_div h1 {
  line-height: 30px;
}

.slogan_div h1 span {
  color: var(--color7);
  margin-left: 30px;
}

.slogan_div img {
  height: 250px;
}

.doctor-grid button {
  border-radius: 5px;
  cursor: pointer;
  padding: 10px;
  border-width: 1px;
  text-align: center;
  background-color: var(--color9);
  color: var(--color2);
}

.doctor-grid button:hover {
  background-color: var(--color1);
  color: var(--color9);
  transition: 0.4s;
}

.navbar {
  text-align: center;
  display: flex;
  justify-content: space-around;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  background: linear-gradient(
    -45deg,
    var(--color9),
    var(--color8),
    var(--color7)
  );
  border-bottom: 1px solid var(--color5);
  height: 60px;
}

.navbar a {
  color: white;
  text-decoration: none;
}

.doctors {
  padding: 40px;
  text-align: center;
}

.doctors h2 {
  margin-bottom: 20px;
  color: var(--color9);
}

.doctor-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.7rem;
}

.doctor-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: white;
  margin: 1rem;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  width: 270px;
  text-align: center;
}

.doctor-card img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  border-radius: 5px;
}

.doctor-card h3 {
  margin: 0.5rem 0;
  color: var(--color8);
}
.doctor-card button {
  margin: 5px;
}
/* Footer */
.footer{
  background-color:var(--color9);
  padding: 50px 0px;
}
.container{
  max-width: 1170px;
  background-color:var(--color9);
  margin: auto;
}
.row{
  display: flex;
  flex-wrap: wrap;
}
.row ul{
  list-style:none;
  margin-left: -35px;
}
.coul{
  width: 25%;
  padding: 0px 15px;
}
.coul h3{
  font-size: 1.7em;
  color: white;
  text-transform: capitalize;
  margin-bottom: 30px;
  font-weight: 500;
  font-weight: 500;
  position: relative;  
  margin-top: 7px;
} 
.coul h3::before{
  content: ''; 
  position: absolute; 
  left: 0;
  bottom: -10px;
  background-color: orange;
  height: 2px;
  width: 50px;
}
.coul ul li a{
  font-size: 16px;
  text-decoration: none; 
  font-weight: 300;
  color: #bbbbbb;
  display: block; 
  transition: all 0.3s ease; 
  margin-top: 7px;
}
.coul ul li a:hover{
  color: #ffff;
  padding-left: 8px;
}
.coul .socialz a{
  display: inline-block;
  height: 40px;
  width: 40px;
  background-color: rgba(255,255,255,.2);
  margin: 0 10px 0;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color:#ffffff;
  transition: all 0.5s ease; 
  margin-top: 7px;
}
.socialz a:hover{
  color: #24262b;
  background-color: white;
}

header{
  background-color:var(--color9);
  align-items:center;
  display: flex;
  padding-top: 6px;
  padding-right: 10px;
  padding-left: 10px;
  justify-content: space-between;
  width: 100%;
} 
.logo{
text-decoration: none;
color:white ;
font-weight: 800;
font-size: 2.2em;
margin-top: -7px;
}
.supermarket{
color: orange;
font-size:0.7em ;
font-weight: 400;
}
.box {
background-color: white; 
border-radius: 20px;
padding-right: 100px ;
margin-bottom: 8px;
display: flex;
width: 500px;
height: 40px;
margin-left: -100px;
} 
.box form {
background-color: var (--light-color);  
border-radius: 150px; 
padding: 10px;
width: 100%;
display: flex;
align-items: center; 
}
.box form i {
padding: 5px;
color: orange;
}
 .box form input[type="search"] {
  flex: 1; 
  min-width: 10px; 
  border: none; 
  padding: 0px 5px; 
}
.box form input[type="submit"] {
background-color:white; 
color: white; 
border-radius: 150px;
padding: 10px;
font-weight:700;
border: none; 
}
.theme-toggle {
position: absolute;
 display: none;  
}
.theme-label {
position: absolute;
top:2px;
margin-left: -55px;
background-color: #131921;
color:orange;
padding: 10px 20px; 
font-size: 1.7em;
font-weight: bold;
cursor:pointer;
}
#icon1{
font-size: 1.5em;
color: white;
margin-right: 25px;
margin-left: 25px;
}
#icon1:hover{
color: orange;
}
#icon2{
font-size: 1.5em;
color: white;
padding-right: 5px;
margin-right: 20px;
margin-left: 20px;
}
#icon2:hover{
color:orange;
}
#icon3{
font-size: 1.5em;
color: white;
padding-left: 10px;
margin-right: 10px;
margin-left: 10px;
}
#icon3:hover{
color:orange;
}
.name-page{
    text-decoration: none;
    font-size:0.9em ;
    font-weight:800 ;
    color: white;
    font-family: "Roboto Slab", serif;
  }

  .submit-button {
    background-color: orange; 
    color: white; 
    border: none;
    border-radius: 5px; 
    padding: 10px 20px; 
    font-size: 16px; 
    cursor: pointer; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); 
    transition: background-color 0.3s ease; 
}

.submit-button:hover {
    background-color: #4CA7F7; 
}
