* {
  margin: 0px;
  padding: 0px;
  font-family: Arial, Helvetica, sans-serif;
}

.header {
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(123.png);
  background-position: center;
  background-size: cover;
  position: relative;
}
nav {
  display: flex;
  padding: 2% 6%;
  justify-content: space-between;
  align-items: center;
}
nav img {
  width: 150px;
}
.nav-link {
  flex: 1;
  text-align: right;
}
.nav-link ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 12px;
  position: relative;
}
.nav-link a {
  text-decoration: none;
  color: white;
  font-size: 13px;
}
.nav-link ul li::after {
  content: "";
  width: 0%;
  height: 2px;
  background-color: #f44336;
  display: block;
  margin: auto;
  transition: 0.5s;
}
.nav-link ul li:hover::after {
  width: 100%;
}
.text-box {
  color: white;
  width: 90%;
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  text-align: center;
}
h1 {
  font-size: 62px;
  text-align: center;
}
.text-box p {
  color: white;
  padding: 16px 0px 38px;
  font-size: 14px;
}
.text-box-1 {
  color: white;
  text-decoration: none;
  border: 1px solid white;
  font-size: 13px;
  background: transparent;
  cursor: pointer;
  padding: 12px 34px;
}
.text-box-1:hover {
  background-color: #f44336;
  transition: 1s;
}
#menu {
  color: white;
}
nav .fa {
  display: none;
}
@media (max-width: 700px) {
  h1 {
    font-size: 20px;
  }
  .nav-link ul li {
    display: block;
  }
  .nav-link {
    background-color: #f44336;
    height: 100vh;
    width: 200px;
    top: 0;
    right: -200px;
    position: absolute;
    text-align: left;
    z-index: 2;
    transition: 1s;
  }
  nav .fa {
    display: block;
    color: white;
    font-size: 22px;
    margin: 10px;
    cursor: pointer;
  }
  .nav-link ul {
    padding: 30px;
  }
}

/* COURSES */

.courses {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}
h1 {
  font-size: 36px;
  font-weight: 600;
}
p {
  color: #777;
  line-height: 22px;
  padding: 10px;
  font-size: 14px;
  font-weight: 300;
  padding: 10px;
}
.row {
  margin-top: 5%;
  display: flex;
  justify-content: space-between;
}
.course-col {
  flex-basis: 31%;
  background-color: #fff3f3;
  padding: 20px 12px;
  border-radius: 10px;
  margin-bottom: 5%;
  box-sizing: border-box;
}
.course-col:hover {
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
}
@media (max-width: 700px) {
  .row {
    flex-direction: column;
  }
}

/* CAMPUS */

.campus {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 50px;
}
.campus-col {
  flex-basis: 32%;
  border-radius: 10px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}
.campus-col img {
  width: 100%;
  display: block;
}
.layer {
  background-color: transparent;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transform: 0.5s;
}
.layer:hover {
  background-color: rgba(226, 0, 0, 0.7);
}
.layer h3 {
  width: 100%;
  font-size: 26px;
  font-weight: 500;
  color: #fff;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  opacity: 0;
  transition: 0.5s;
}
.layer:hover h3 {
  bottom: 49%;
  opacity: 1;
}

/* FACILITIES */

.facilities {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}
.facilities-col {
  flex-basis: 32%;
  border-radius: 10px;
  margin-bottom: 5%;
  text-align: left;
}
.facilities-col img {
  width: 100%;
  border-radius: 10px;
}
.facilities-col p {
  padding: 0;
}
.facilities-col h3 {
  margin-top: 16px;
  margin-bottom: 15px;
}

/* TESTIMONIALS */

.testimonial {
  width: 80%;
  margin: -125px auto;
  padding-top: 100px;
  text-align: center;
}
.testimonial-col {
  flex-basis: 44%;
  border-radius: 10px;
  margin-bottom: 10%;
  text-align: left;
  background: #fff3f3;
  padding: 25px;
  display: flex;
  cursor: pointer;
  
}
.testimonial-col img {
  height: 40px;
  margin-left: 5px;
  margin-right: 30px;
  border-radius: 50%;
}
.testimonial-col p {
  padding: 0;
}
.testimonial-col h3 {
  margin-top: 15px;
  padding-bottom: 20px;
  text-align: left;
}
.testimonial-col i {
  color: #f44336;
}
.cta {
  width: 80%;
  margin: 100px auto;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(123.png);
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  text-align: center;
  padding: 100px 0;
}
.cta h1 {
  color: white;
  padding: 0;
  margin-bottom: 40px;
}

/* footer */
footer {
  background-color: #232F3E;
  color: #fff;
  padding: 20px 0;
  font-family: Arial, sans-serif;
}

.back-to-top {
  text-align: center;
  padding: 10px;
  background-color: #37475A;
}

.back-to-top a {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}

.back-to-top a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  justify-content: space-around;
  padding: 20px 0;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #3A4553;
  border-bottom: 1px solid #3A4553;
}

.footer-section h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #ddd;
  font-size: 14px;
  text-decoration: none;
}

.footer-section ul li a:hover {
  text-decoration: underline;
  color: #fff;
}

.footer-bottom {
  text-align: center
}
#cc{
  display: flex;
  text-align: center;
}

/* About */
.about {
  width: 80%;
  margin: 100px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about-container {
  display: flex;
  flex-direction: row;
  gap: 20px; 
}

.about-image img {
  max-width: 100%;
  border-radius: 10px; 
  width: 500px;
  height: 500px;
}

.about-content {
  flex: 1; 
  margin-left: 100px;
  border-radius: 10px;
  text-align: left;
  background: #fff3f3;
  padding: 25px;
}

.about-content h1 {
  font-size: 36px; 
  margin-bottom: 20px;
}

.about-content p {
  line-height: 1.6; 
  margin-bottom: 15px; 
}
