

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url('loginmodal.css');
@import url('signup.css');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* text-transform: capitalize; */
  text-decoration: none;
  /* overflow: hidden; */
  /* cursor: pointer; */
}
.text-align-j {
  text-align: justify;
}
.text-align-c {
  text-align: center;
}
.my-t {
  margin-top: 40px;
}
.my-b {
  margin-bottom: 20px;
}
.my-t-b {
  margin-top: 40px;
  margin-bottom: 20px;
}
.py-t-60 {
  padding-top: 60px;
}
.py-t-23{
  padding-top: 23px;
}
:root {
  --navbtn: #8c52ff;
  --textwhite: #fff;
  --textdark: #3f4144;
  --herobox: #cb6be6;
  --sectioncolor: #f4e1fa;
  --cardtitle: #7c4391;
  --cardsubtitle: #ec407a;
  --sidenav:rgba(255, 255, 255, 0.5);
  --sidenavhover: rgba(255, 255, 255, 0.4);
}
body {
  background-color: var(--textwhite);
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  /* border: 2px solid; */
}
/* navbar section */
header {
  width: 100%;
  height: 80px;
  /* Safari */
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.1);
  /* box-shadow: 0px 5px 15px 2px rgba(0, 0, 0, 0.1); */
  background-color: var(--textwhite);
  z-index: 1;
  display: block;
}
.navbar {
  display: flex;
  justify-items: center;
  justify-content: space-between;
  align-items: center;
}
nav .logo {
  margin-left: 50px;
}
nav img {
  margin-top: 9px;
  width: 60px;
}
nav ul {
  display: flex;
  align-items: center;
  gap: 3rem;
}
nav ul li {
  /* padding: 0 12px; */
  list-style: none;
}

nav ul li a {
  padding: 10px 12px;
  text-decoration: none;
  font-size: 20px;
  text-transform: capitalize;
  font-weight: bold;
  color: var(--textdark);
  transition: all 0.5s;
}
ul li span {
  font-size: 20px;
  text-transform: capitalize;
  font-weight: bold;
  color: var(--textdark);
  transition: all 0.5s;
  cursor: pointer;
}
nav ul li a:hover {
  background-color: var(--herobox);
  color: var(--textwhite);
  border-radius: 10px;
}
nav button {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-items: center;
  background-color: var(--navbtn);
  color: var(--textwhite);
  /* margin-right: 10px; */
  
}
nav button img {
  width: 20px;
}
.hamburger {
  /* display: block; */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  cursor: pointer;
  margin-right: 30px;
    
}
.hamburger span {
  display: none;
  width: 100%;
  height: 3px;
  background-color: var(--navbtn);
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}
.btn {
  padding: 6px 15px;
  border-radius: 10px;
  cursor: pointer;
}
.btn-form {
  padding: 10px 15px;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
}
.side-nav{
  position: fixed;
  top:0px;
  right: 0px;
  /* left: -100%; */
  width: 250px;
  height: 100vh;
  background-color: var(--sidenav);
  backdrop-filter: blur(10px);
  box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.1);
  z-index: 2;
  transition: left 0.3s ease-in-out;
  display:none;
  align-items: self-start;
  flex-direction: column;
}
.side-nav button img {
  width: 20px;
}
.side-nav button{
  display: flex;
  align-items: center;
  justify-content: center;
  justify-items: center;
  background-color: var(--navbtn);
  color: var(--textwhite);
  margin-right: 50px;
  
}
.side-nav ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  padding: 20px;
  list-style: none;
}
.side-nav ul li a {
  padding: 10px 12px;
  text-decoration: none;
  font-size: 20px;
  text-transform: capitalize;
  /* font-weight: bold; */
  color: var(--textdark);
  transition: 0s ease-in;
}
.side-nav ul li a:hover {
  background-color: var(--herobox);
  color: var(--textwhite);
  border-radius: 10px;
}
.side-nav .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color:transparent;
  border: none;
  cursor: pointer;
  color: #000;
  
}

.side-nav .close-btn:hover {
  background-color: var(--herobox);
  color: var(--textwhite);
  border-radius: 10px;
}
.side-nav .close-btn img {
  width: 30px;
}
/* hero section */

.h-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  justify-items: center;
  align-items: center;
}
#hero .right-h img {
  margin-top: 60px;
}
#hero .left-h {
  text-align: center;
}
#hero .left-h p {
  padding: 10px;
  font-size: 1.25rem;
}
#hero .left-h h1 {
  font-size: 2.19rem;
}
/* Notice Section */

.notice-bar {
    width: 100%;
    overflow: hidden;
    background: #cb6be6;
    height: 30px;
    display: flex;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
  
}

.scroll-text {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: scroll-left 15s linear infinite;
}

/* Pause animation on hover */
.notice-bar:hover .scroll-text {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}



/* about us section */
#about {
  background-color: var(--sectioncolor);
  height: 70vh;
}
.grid-container-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  justify-items: center;
  align-items: center;
}

.about-left img {
  width: 350px;
}
.about-right p{
font-size: 1.0rem;
padding: 10px;
}
/* department section */

.grid-container-dept {
  display: grid;
  /* grid-template-columns: repeat(3, 1fr); */
   grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}
#department .card-dept {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 20px;
  box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.1);
}
#department .card-dept img {
  width: 100%;
}
#department .card-dept,
h3,
p,
button {
  margin: 5px;
}
#department .card-dept h3 {
  color: var(--cardtitle);
}
/* doctor chamber */

#doctors .doc-phone {
  display: flex;
  align-items: center;
  justify-content: center;
}
#doctors {
  background-color: var(--sectioncolor);
  /* height: 100vh; */
  padding-bottom: 40px;
}
#doctors .grid-container-doct {
  display: grid;
  /* grid-template-columns: repeat(3, 1fr); */
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  align-items: center;
}
#doctors .card-doct {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 20px;
  box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.1);
  background-color: var(--textwhite);
  gap: 0.5rem;
}
#doctors .doct-card-img {
  width: 100px;
}
#doctors .doct-card-img img {
  width: 100%;
}
#doctors .card-doct h2,
h3,
h4 {
  color: var(--cardtitle);
}
#doctors .card-doct p {
  color: var(--cardsubtitle);
}

#load-more {
  margin-top: 20px;
  display: inline-block;
  padding: 10px 30px;
  border: 1px solid #334;
  color: #334;
  font-size: 16px;
  background-color: #fff;
  border-radius: 9px;
  cursor: pointer;
  margin-left: 50%;
  transform: translateX(-50%);
}
#load-more:hover {
  background-color: crimson;
  color: #fff;
}
/* contact us section */
#contact{
  height: 60vh;
  margin-top: 62px;
  
}
.grid-container-cont {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.form-area {
  display: flex;
  flex-direction: column;
  padding: 10px;
  gap: 1.2rem;
}
.form-area input,
textarea {
  padding: 10px;
  border-radius: 8px;
}
.right-cont .address-cont {
  display: flex;
  align-items: center;
}
.right-cont .address-cont img {
  width: 20px;
}
.right-cont .cont-img img {
  width: 100%;
}
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;

  background-color: #25D366;
  color: #fff;

  border-radius: 50%;
  text-align: center;
  font-size: 32px;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);

  z-index: 9999999;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #1ebc5a;
}

/* footer section */
footer {
  background-color: var(--sectioncolor);
  width: 100%;
  height: 80px;
  color: var(--textdark);
  display: flex;
  align-items: center;
  justify-content: center;
  justify-items: center;

}
/* Responsive */
@media only screen and (max-width:1024px){
  nav ul{
    gap: 1rem;
  }
 nav ul li a {
  font-size: 14px;
 }
 .form-area {
    
    padding:8px;
    gap: 0.5rem;
}
}
@media only screen and (max-width:768px){
  nav ul{
    gap: 0.5rem;
  }
 nav ul li a {
  font-size: 11px;
 }
 /* nav ul li a span {
  font-size: 11px;
 } */
  ul li span {
    font-size: 16px;
  font-weight: normal;
    
  }
 nav button img {
  width: 15px;
}
.btn {
  padding: 4px 5px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 10px;
}
 #hero .left-h p {
    padding: 10px;
    font-size: 16px;
}
#hero .left-h h1 {
    font-size: 1.5rem;
}
#hero .left-h h2 {
    font-size: 1rem;
}
#hero .right-h img{
width: 250px;
}
 .form-area {
    padding:6px;
    gap: 0.3rem;
}
.form-area input,
textarea {
  padding: 6px;
  border-radius: 4px;
}
}
@media only screen and (max-width:480px){
  .hamburger span {
    display: block;
  }
  nav ul {
    display: none;
  }
  nav button {
    display: none;
  }
  nav .logo{
    margin: 0 auto;
  }
  /* .side-nav {
    display: flex;
  } */
  .side-nav ul {
    padding: 10px;
  }
  .side-nav ul li a {
    font-size: 16px;
  }
  .side-nav button img {
    width: 15px;
  }
  .h-grid-container{
    grid-template-columns: 1fr;
   
  }
  #hero .right-h{
    order: -1;
  }
  #about{
    height: auto;
  }
 
  .grid-container-about {
    grid-template-columns: 1fr;

    justify-items: center;
  }
  #contact{
    height: auto;
  }
  #contact .grid-container-cont{
  grid-template-columns: 1fr;
  }
}
@media only screen and (max-width:330px){
  #about .about-left img {
    width: auto;
  }
 
}