*{
    padding: 0%;
    margin: 0%;
    box-sizing: border-box;
}

:root{
    --header:hsl(168, 70%, 43%);
    --text:hsl(0, 0%, 100%);
    --sub:hsl(39, 92%, 52%);
    --dark:hsl(0, 0%, 0%);
}


header{
    top: 0%;
    background: var(--header);
    display: flex;
    gap: 100px;
}
.logo span{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5em;
    color:var(--text);
    font-size: 2em;
    font-family: Arial, Helvetica, sans-serif;
}
.logo span:hover{
    color: var(--sub);
}

.nav{
    display: flex;
    justify-content: center;
    align-items: center;
    
}
header .nav ul{
    display: flex;
    justify-content: center;
    align-items: center;
    display: flex;
    padding: 1.5em;
    gap: 40px;
}
.nav ul li{
    list-style: none;
}
.nav ul li a{
    font-size: 1.4em;
    text-decoration: none;
    color: var(--text);
}
.nav ul li a:hover{
    color: var(--sub);
    text-decoration: underline;
}
.nav ul li a:active{
    color: var(--sub);
}

.header_btn{
    display: flex;
    justify-content: center;
    align-items: center;
}
.header_btn button{
    background: var(--sub);
    color: var(--text);
    font-size: 1.3em;
    border:0cap;
    padding: 10px;
}


.hero {
    height: 100vh;
    background-image:url(/assets/images/home.png) ;
    background-size: cover;
    background-position: center;
    justify-content: center;
    color: var(--text);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    margin-bottom: 4.5em;
}
.hero_text {
    color:var(--text);
    max-width: 800px;
}

.hero h1{
    font-family: 'Times New Roman', Times, serif;
    font-size: 4em;
    font-style: bolder;
}
.hero p{
    font-size: 20px;
}


.about{
    display: flex;
    gap: 30px;
    margin-bottom: 4.5em;
}
.about_text{
    margin: 60px;
    padding-left: 30px;
}
.about_text h3{
    font-size: 40px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
    padding-bottom: 20px;
}
.about_text p{
    font-size: 1.2em;
    font-style: initial;
}
.about_image{
    display: flex;
    justify-content: center;
    align-items: center;
}
.about_image img{
    height: 450px;
    margin: 20px;
}


.service{
    margin-bottom: 3.5em;
}
.service .top{
    text-align: center;
    justify-content: center;
}
.service .top h3{
    font-size: 2.4em;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
.service_box{
    margin: 20px 50px;
    display: flex;
    gap: 20px;
    display: flex;
    text-align: center;
    justify-content: center;
}
.box{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    border: 1px solid;
    height: 250px;
    width: 300px;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.box:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.box i{
    background: var(--dark);
    color: var(--header);
    font-size: 2.5em;
    display: flex;
    text-align: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;    
    margin: 0 auto;  
}
.box span{
    padding:0 10px;
    display: flex;
    text-align: center;
    justify-content: center;
}
.box p{
    padding: 10px;
    display: flex;
    text-align: center;
    justify-content: center;
}
.box a{
    display: flex;
    text-align: center;
    justify-content: center;
    text-decoration: none;
}
.box a:active{
    text-decoration: underline;
}


.doctors{
    margin-bottom: 4.5em;
}
.top{
    text-align: center;
    justify-content: center;
}
.top h3{
    font-size: 2.4em;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.arrows{
    gap: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#left{
    height: 40px;
    width: 40px;
    font-size: 1.5em;
    padding: 2px;
    border-radius: 50%;
    text-align: center;
    background: var(--header);
    color: var(--sub);
}
#right{
    height: 40px;
    width: 40px;
    font-size: 1.5em;
    padding: 2px;
    border-radius: 50%;
    text-align: center;
    background: var(--header);
    color: var(--sub);
}

.doc_gallery img{
    height: 300px;
}
.doc1{
    height: 350px;
}
.doc1 span{
    font-size: 1.5em;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}
.doc1 p{
    font-size: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery{
    width: 800px;
    display: grid;
    grid-template-columns: auto auto auto;
    grid-gap: 20px;
    padding: 10px;
    flex: none;
}

.blogs{
    margin-bottom: 5.5em;
}
.blog_box{
    display: grid;
    grid-template-columns: auto auto auto;
    grid-gap: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.post img{
    height: 250px;
}
.post{
    height:250px;
}
.post span{
    font-size: 1.5em;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}
.post p{
    font-size: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
}


.book_box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5em;
    padding: 2rem 0;
}
.book_img {
    flex: 1 1 45%;
    max-width: 45%;
}
.book_img img {
    height: 300px;
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.book_content {
    flex: 1 1 45%;
    max-width: 45%;
}

.book_table form {
    width: 100%;
    padding: 1.5rem;
    border: 1px solid var(--header);
    border-radius: 5px;
    text-align: center;
    background-color: #f9f9f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.book_table h3 {
    color: var(--dark);
    font-size: 2rem;
    padding-bottom: 1rem;
}

.book_table form input {
    width: 100%;
    margin-bottom: 1rem;
    padding: 0.75rem;
    font-size: 1.1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-transform: none;
}

.book_table form button {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 5px;
    background-color: #007BFF;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.book_table form button:hover {
    background-color: #0056b3;
}



.footers{
    background: var(--header);
}
.footer{
    background: var(--header);
    color: var(--text);
    font-size: 1.5em;
    display: flex;
    gap: 100px;
    align-items: center;
    justify-content: center;
}
.copyright span{
    align-items: center;
    justify-content: center;
    display: flex;
    color: var(--dark);
    padding-bottom: 70px;
    padding-top: 20px;
    font-size: 1.5em;
}
.footer a{
    text-decoration: none;
    color: var(--text);
}
.foot_list span{
    color: var(--sub);
}
.footer a:hover{
    text-decoration: underline;
}


/* Modal container */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
  }
  
  /* Modal box */
  .modal-content {
    background-color: #fff;
    padding: 2em;
    border-radius: 10px;
    text-align: center;
    width: 300px;
    position: relative;
  }
  
  /* Close button */
  .close-btn {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 1.5em;
    cursor: pointer;
  }
  
  /* Form styles */
  .modal-content input {
    width: 90%;
    padding: 10px;
    margin-bottom: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  .modal-content button {
    padding: 10px 20px;
    border: none;
    background-color: var(--header);
    color: white;
    border-radius: 5px;
    cursor: pointer;
  }
  .modal-content button:hover {
    background-color: var(--sub);
  }
  