@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --primary-color: #007742;
  --secondary-color:#04467b;
  /* --primary-color: #6b8e38; */
  --secondary-hover-color:  #006790;
  --primary-hover-color:#3ea334;
}

.banner .owl-dots {
  position: absolute;
  top: 30%;
  right: 0;
  transform: rotate(-90deg);
}

/* Banner section ends */

/*about shivapuri*/
#about {
  padding: 0px 0 10px 0;
}

.about-image > img {
  height: 528px;
  object-fit: cover;
}

.detail {
  padding-left: 50px;
}

.button1 {
  border-radius: 70px;
  border-style: none;
  align-items: center;
  padding: 10px 18px;
  width: 127px;
  height: 44px;
  background: #007742;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  color: white;
}

/* about shivapuri */

/* Slide */
/*#slides img {
    height: 290px;
    width: 290px;
}*/

.imgtext {
  position: relative;
}

.imgtext:hover {
  transform: scale(1.05);
  transition: all 0.1s ease-out;
}

.text1 {
  bottom: 12px;
  position: absolute;
  width: 100%;
  text-align: center;
}

.text1 a {
  color: white;
  text-decoration: underline;
  font-family: Rubik;
  font-style: SemiBold;
  font-size: 20px;
  text-decoration-color: red;
}

.text1 a:hover {
  color: white;
}

/* Slide */

/* events-notification */
#events-notification {
  background-color: #3ea334;
  padding-bottom: 100px;
  padding-top: 45px;

}

.text2 {
  background-color: white;
  padding: 10px 10px 10px 10px;
  width: 32%;
  margin-bottom: 20px;
  font-family: Rubik;
  font-style: Regular;
  text-align: center;
}

.Lbutton {
  text-decoration: none;
  color: white;
  background: #007742;
  padding: 17px;
  border-radius: 80px;
  text-decoration: none;
}

@media only screen and (max-width: 800px) {
  .text2 {
    width: 100%;
  }
}

/* events-notification ends here */

/* counter section or special features starts */

#counter {
  background: linear-gradient(
      0deg,
      rgb(0,103,144),
      rgb(0,103,144,0.7)
    /* rgb(62,163,52,0.7),
    rgb(62,163,52,0.7) */
    ),
    url(../images/school2.jpg);
  height: 300px;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  background-attachment: fixed;
  margin-bottom: 10rem;
}

.short-link {
  position: relative;
}

.card-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  align-self: center;
  text-align: center;
}

.counts {
  text-align: center;
}

.short-link-name {
  font-family: Rubik;
  font-size: 2rem;
  font-weight: 500;
  line-height: 64px;
  letter-spacing: 0em;
  color: #007742;
}

.btn-short-link {
  font-size: 1rem;
  line-height: 1.5rem;
}

@media only screen and (max-width: 991px) {
  #counter {
    height: 100% !important;
    margin-bottom: 0rem;
  }
}
/* counter ends here */

/* news section start */

.a-card,
.a-card:hover,
.a-card:focus {
  text-decoration: none;
  color: inherit;
}

.event-card-description > p {
  font-family: Rubik sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0em;
  margin-bottom: 10px;
}

.event-card-description > div > h3 {
  font-family: Rubik sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: 0em;
}

.news-description {
  font-family: Rubik sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0em;
  color: #959595;
}

.news-button {
  color: white !important;
  padding: 10px 18px !important;
  background-color: #007742 !important;
  border-radius: 28px;
  white-space: nowrap;

  font-family: Rubik;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
}
/* news section ends */

/* events starts here */
#events {
  background-color: antiquewhite;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.main-box {
  color: black;
  background-color: #fff;
  display: flex;
  align-items: center;
  /* justify-content: space-around; */
  width: 30%;
  margin-bottom: 40px;
  border-left: 4px solid black;
  padding: 20px 0px 20px 0px;
}

@media only screen and (max-width: 724px) {
  .main-box {
    width: 100%;
  }
}

.date {
  width: 70px;
  height: 70px;
  color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.Dcolor {
  color: #fdcb06;
  font-weight: bolder;
  font-size: 20px;
}

.Ebutton {
  text-decoration: none;
  color: white;
  background: #007742;
  padding: 17px;
  border-radius: 80px;
}

/* event section ends */

/* Student Speak start */
.testimonial {
  background: url('../images/testimonial-bg.png') center/cover no-repeat fixed;
}

.testimonial-curve::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100vh;
  min-height: 100%;
  background: #006790;
  border-radius: 50%;
  transform-origin: top;
  transform: translateX(-50%) scale(6);
}

.testimonial-curve {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 12rem;
}

.testimonial-img {
  height: 240px;
  width: 240px !important;
  border-radius: 120px;
  object-fit: cover;
  margin-left: auto;
  margin-right: auto;
}

@media only screen and (max-width: 368px) {
  .testimonial-img {
    height: 140px;
    width: 140px !important;
    border-radius: 70px;
  }
}

.a-card,
.a-card:hover,
.a-card:focus,
.a-card:active {
  text-decoration: none;
  color: inherit;
}

.a-card:hover,
.single-image:hover {
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
  transition: all 0.1s ease-out;
}

.single-image {
  cursor: pointer;
}

.image-card {
  width: 100%;
  min-height: 360px;
  max-height: 360px;
  object-fit: cover;
}

.notice-card {
  width: 100% !important;
}

.about-bg {
  background:
    url('../images/about-bg.png') center/cover no-repeat;
  width: 100%;
  height: 80vh;
}
.facility-bg {
  height: 80vh;
  width: 100%;
  background: linear-gradient(
      0deg,
      rgba(27, 27, 27, 0.4),
      rgba(58, 58, 58, 0.4)
    ),
    url('../images/school2.jpg') center/cover no-repeat;
}

.gallery-bg {
  height: 80vh;
  width: 100%;
  background: linear-gradient(
      0deg,
      rgba(27, 27, 27, 0.4),
      rgba(58, 58, 58, 0.4)
    ),
    url('../images/school2.jpg') center/cover no-repeat;
}
