/* --- Hero Section ---  */

.section-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url(Image/school.jpg);
  background-size: cover;
  height: 100vh;
  color: #fff;
  justify-content: center !important;
}

.hero-container {
  height: 100%;
}

.hero-container .grid {
  align-items: center;
}

.site-heading {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  padding: 2rem 5rem;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.199);
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.heading-container{
  transform: translateY(6.4rem);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 3rem;
}

.hero-container {
  max-width: 120rem;
  height: 100vh;
  margin: 0 auto;
  padding: 0 4.5rem;
}

.heading-container {
  grid-column: 1/2;
}

.heading-container .primary-heading span {
  color: #fe9a02;
}

.sep {
  width: 10%;
}

/* --- Intro Section ---  */

.section-intro {
  gap: 4.5rem;
}

.intro-img {
  position: relative;
  max-width: 30rem;
  height: 40rem;
}

.intro-img img {
  width: 100%;
  height: 100%;
}

.intro-img::before {
  content: "";
  position: absolute;
  height: 50rem;
  width: 50rem;
  background-color: #ffebcc;
  z-index: -1;
  top: -5rem;
  left: -3rem;
  border-radius: 30% 70% 70% 30% / 70% 30% 70% 30%;
}

.intro-desc {
  grid-column: 2/-1;
  align-self: center;
}

/* --- Feature Section ---  */

.section-feature {
  background-color: #fff5e6;
}

.section-feature .container {
  gap: 6rem;
}

.section-feature .secondary-heading {
  grid-column: 1/-1;
}

.card-container {
  position: relative;
  max-width: 30rem;

  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
}

.card-container::before {
  content: "";
  position: absolute;
  width: 4.5rem;
  height: 8rem;
  border-top: 1px solid #333;
  border-left: 1px solid #333;
  top: -3rem;
  left: -3rem;
}

.card-container::after {
  content: "";
  position: absolute;
  width: 4.5rem;
  height: 8rem;
  border-bottom: 1px solid #333;
  border-right: 1px solid #333;
  bottom: -3rem;
  right: -3rem;
}

.img-container {
  overflow: hidden;
  height: 35rem;
}

.card-img {
  width: 100%;
  height: 100%;
  transition: all, 1s;
}

.card-img:hover {
  transform: scale(1.2);
}

.card-details {
  background-color: #fff;
  padding: 3rem;
}

/* --- CTA Section ---  */

.cta-container {
  gap: 6rem;
}

.cta-desc {
  grid-column: 1/3;
}

.section-cta .btn {
  align-self: center;
}

/* --- CTA Section ---  */
.site-footer {
  background-color: #333;
  padding: 2rem;
  color: #fff;
  border-top: 3px solid #fe9a02;
  font-size: 1.8rem;
}

.footer-link:link,
.footer-link:visited {
  color: #fe9a02;
  text-decoration: none;
}

.footer-link:hover,
.footer-link:active {
  color: #cb7b02;
}

/* Mobile-Nav 22022023*/

.mobile-nav{
  background: none;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  display: none;

}

.mobile-nav-icon,
.mobile-nav-icon-2{
  color: white;
  width: 30px;
  height: 30px;
}

.mobile-nav-icon-2{
  display: none;
}