@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@1,300;1,400&family=Poppins:wght@400;500;600&family=Salsa&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#nav {
  height: 100px;
  /* height: auto; */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5vh 6vw;
  border-bottom: 2px solid #dadada;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
}

#nav .logo {
  height: 80px;
  width: 80px;
  border-radius: 50%;
  border: 5px solid #01415b;
}

#nav .logo img {
  height: 70px;
  width: 70px;
  border-radius: 50%;
}

#nav .nav-list {
  display: flex;
  gap: 4vh;
  font-size: 1.2rem;
  justify-content: center;
  align-items: center;
}

#nav .nav-list a {
  text-decoration: none;
  color: #01415b;
}

#nav .nav-list i {
  font-size: 1.5rem;
  font-weight: 500;
  display: none;
}

#nav .nav-list a:hover {
  color: blue;
  transition: 0.3s ease;
  transform: translateY(4px);
}

/* !------Sidebar---- */
.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  z-index: 2;
  background-color: rgba(167, 154, 154, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  display: none;
  border-top-left-radius: 30px;
}

.sidebar .logo1 {
  margin: 20px;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
}

.sidebar .logo1 i {
  margin-left: 100px;
  font-size: 2.5rem;
  font-weight: 700;
  cursor: pointer;
}

#nav .nav-list-sidebar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  font-size: 1.2rem;
  padding-left: 20px;
}

#nav .nav-list-sidebar a {
  text-decoration: none;
  color: #fff;
  padding: 10px;
  padding-right: 10px;
  width: 100%;
  border: 1px solid #fafaf1;
  border-bottom: none;
  border-top: none;
  border-radius: 10px;
}

#nav .nav-list-sidebar a:hover {
  color: blue;
  transition: 0.3s ease;
  background-color: #fafaf1;
}

/* !------Nav2---------section */
#nav2 {
  width: 100%;
  height: 30px;
  background-color: #ebf3f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.3rem;
  padding: 0 6vw;
  color: #000d13;
}

/* !----marquee------ */
.top-marq {
  height: 30px;
  width: 100%;
  background-color: #005148;
  padding-top: 5px;
  color: #fff;
}

/* !-----mobile section------- */
#mobile-img {
  font-family: "Poppins", sans-serif;
  background-image: url("heroImage/1.jpg");
  width: 100%;
  /* height: 77vh; */
  height: auto;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.heroImage {
  background-color: rgba(0, 0, 0, 0.3);
  width: 100%;
  /* height: 77vh; */
  height: auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

#mobile-img h1 {
  font-size: 3.2rem;
  letter-spacing: 1px;
  margin: 4vh;
  /* margin-bottom: 10px; */
}

#mobile-img .heroImage p {
  margin: 4vw;
  margin-bottom: 2vh;
}

#mobile-img .heroImage .btn {
  margin: 6vw;
  /* margin-bottom: 2vh; */
}

#mobile-img .btn > a {
  text-decoration: none;
  font-size: 0.9rem;
  padding: 10px 35px;
  background-color: #fff;
  border-radius: 5px;
}

#mobile-img .btn > a.blue {
  color: #fff;
  background-color: rgb(21, 21, 100);
  transition: 0.3s ease;
  margin-right: 10px;
}

#mobile-img .btn > a.blue:hover {
  color: rgb(21, 21, 100);
  background-color: #fff;
}

#mobile-img a.yellow {
  color: #fff;
  background-color: #fdc93b;
  transition: 0.3s ease;
}

#mobile-img a.yellow:hover {
  color: #fdc93b;
  background-color: #fff;
}

/* !-------Second Navbar---------- */
#second-nav {
  width: 100%;
  height: 50px;
  margin: auto;
  /* border: 2px solid red; */
  background-color: #6a89cc;
  z-index: 1;
  position: sticky;
  top: 0;
  color: #fff;
}

#second-nav > ul {
  display: flex;
  list-style-type: none;
}

#second-nav > ul > .first {
  /* padding: 12px 30px; */
  border-right: 2px solid #fff;
  position: relative;
  font-size: 1.2rem;
  width: 16.66%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* overflow: hidden; */
}

#second-nav > ul > .first:hover {
  background-color: #82ccdd;
}

#second-nav > ul > li > .sub-domen {
  list-style: none;
  position: absolute;
  width: 100%;
  left: 0;
  top: 100%;
  background-color: #4a69bd;
  padding: 2px 10px;
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  text-align: center;
}

#second-nav > ul > li > .sub-domen > li > a:hover {
  color: #ff0000;
  transition: 0.5s ease-in;
}

#second-nav > ul > .first:hover .sub-domen {
  opacity: 1;
  left: 0px;
  transform: scale(1.05, 1.2);
  /* transform: rotate(360deg); */
  visibility: inherit;
  transition: 1.5s ease;
}

.text {
  color: #fff;
  text-decoration: none;
}

/* !------News upadate */
.news-update {
  width: 100%;
  /* height: 30px; */
  /* border: 2px solid black; */
  display: flex;
  border-bottom: 2px solid #ffe046;
  user-select: none;
}

.news-update .newsUpdate {
  width: 10vw;
  height: 30px;
  /* border: 2px solid red; */
  font-size: 1.1rem;
  background-color: #ffe046;
  padding: 5px;
  border-top-right-radius: 9px;
}

.news-update .news-marq {
  padding-top: 5px;
  font-weight: bold;
}

/* !-----------features section---------- */
#features {
  text-align: center;
  padding: 6vh 6vw 6vh 6vw;
  /* border: 2px solid red; */
}

#features .fea {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  grid-gap: 1rem;
  margin-top: 50px;
  /* border: 2px solid yellow; */
}

#features .fea-box {
  background-color: #f9f9ff;
  text-align: start;
  padding: 20px 20px;
  color: #fff;
}

#features .fea-box i {
  font-size: 2.3rem;
  color: rgb(44, 44, 80);
}

#features .fea-box h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: rgb(46, 46, 59);
  padding: 13px 0 7px 0;
}

#features .fea-box p {
  font-size: 1rem;
  font-weight: 400;
  color: rgb(70, 70, 87);
}

#features .fea-box .fea-btn {
  margin-top: 20px;
  padding: 10px;
  border-radius: 5px;
  border: none;
  font-weight: 700;
  background-color: #f9f9ff;
  box-shadow: 2px 2px 2px 2px #01415b;
  cursor: pointer;
}

#features .fea-box .fea-btn a {
  text-decoration: none;
  color: rgb(46, 46, 59);
}

#features .fea-box .fea-btn:hover {
  box-shadow: 3px 3px 3px #fdc93b;
  background-color: #005148;
  color: #fff;
  transition: 0.3s ease-in;
}

#features .fea-box .fea-btn a:hover {
  color: #fff;
}

/* !-----Upcoming section--------- */
#upcoming {
  padding: 6vh 6vw 6vh 6vw;
  width: 100%;
  height: auto;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(heroImage/c.jpg);
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#upcoming #name {
  font-size: 3vw;
}

#upcoming .reminder {
  color: #fff;
}

#upcoming .reminder .time {
  font-family: poppins;
  display: flex;
  margin-top: 20px;
  /* width: 100%; */
}

#upcoming .time .date {
  text-align: center;
  padding: 13px 33px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(40px);
  box-shadow: 0 8px 32px 0 rgba(135, 31, 31, 0.37);
  margin: 0 5px 10px 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
}

#upcoming .time .date P {
  font-size: 30px;
  font-weight: 700;
}

#upcoming .form {
  background-color: #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  padding: 40px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

#upcoming .form input {
  margin: 15px 0;
  padding: 15px 10px;
  border: 1px solid rgb(84, 40, 241);
  outline: none;
}

#upcoming .form input::placeholder {
  color: #413c3c;
  font-weight: 500;
  font-size: 0.9rem;
}

#upcoming .form .btn {
  margin-top: 20px;
}

#upcoming .form .btn a {
  text-decoration: none;
  font-size: 0.9rem;
  padding: 10px 35px;
  background-color: #fff;
  border-radius: 5px;
}

#upcoming .form .btn a {
  text-decoration: none;
  color: #fff;
}

#upcoming .form .btn a {
  color: #fff;
  background-color: #fdc93b;
  transition: 0.3s ease;
}

#upcoming .form .btn a:hover {
  color: #fdc93b;
  background-color: #fff;
}

/* !----------Expert section--------- */
#expert {
  text-align: center;
  padding: 6vh 6vw 6vh 6vw;
}

.expert-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  grid-gap: 1rem;
  margin-top: 50px;
}

.expert-box .profile {
  background-color: #fafaf1;
  padding: 30px 10px;
}

.first-pic {
  width: 190px;
  /* height: 150px; */
}

.social-line {
  margin-top: 20px;
}

.social-line i {
  padding: 10px 13px;
  border: 1px solid rgb(21, 21, 100);
  font-size: 1.4rem;
  cursor: pointer;
  transition: 0.3s ease;
}

.social-line i:hover {
  background: rgb(21, 21, 100);
  color: #fff;
  border: 1px solid rgb(21, 21, 100);
  cursor: pointer;
}

/* !-----Counter member------ */
#counter {
  padding: 4vh 6vw;
  /* border: 2px solid red; */
  text-align: center;
}

#counter > .count {
  /* border: 2px solid yellow; */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1rem;
  margin-top: 20px;
  margin-bottom: 20px;
  font-family: tahoma;
}

.first-counter {
  background-color: #f9f7f3;
  color: #000;
  padding: 30px 20px;
  text-align: center;
  font-size: 1.3rem;
}

.first-counter .num {
  font-size: 2rem;
  padding-top: 17px;
  margin: 20px;
  color: rgb(250, 183, 0);
}

.first-counter > i {
  padding: 10px;
  font-size: 2vw;
  border-radius: 40%;
  box-shadow: 1px 2px 8px 2px black;
}

.first-counter > .name {
  font-size: 1.2rem;
}

/* !-----Footer section------- */
#footer {
  width: 100%;
  /* height: 350px; */
  height: auto;
  background-color: #101c32;
  display: flex;
  justify-content: space-between;
  color: rgb(241, 240, 245);
  flex-wrap: wrap;
}

#footer .footer-col {
  color: #fff;
  padding: 6vw;
}

#footer .footer-col li {
  list-style-type: none;
  padding-top: 20px;
  color: #7b838a;
  transition: all 0.5s ease;
}

#footer .footer-col li:hover {
  color: rgb(241, 240, 245);
  transform: translate(7px);
  cursor: pointer;
}

#footer .social {
  margin-top: 40px;
}

#footer .social i {
  padding: 10px 13px;
  border: 1px solid rgb(241, 240, 245);
  font-size: 1.4rem;
  cursor: pointer;
  transition: 0.3s ease;
}

#footer .social i:hover {
  background: rgb(178, 227, 18);
  color: #fff;
  border: 1px solid rgb(178, 212, 85);
  cursor: pointer;
}

/* !------Foot Section----- */
.foot {
  width: 100%;
  height: auto;
  background-color: #1d2e4f;
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: #fff;
  font-family: poppins;
  flex-wrap: wrap;
  padding: 15px;
}

.foot span {
  color: #5c6468;
  padding-left: 10px;
}

/* !-----Contact part section------ */
#form {
  width: 100%;
  height: auto;
  padding: 10vh 10vw;
  font-family: poppins;
}

#form-reg {
  width: 100%;
  padding: 20px 20px;
}

.name {
  width: 100%;
}
