@import url("https://fonts.googleapis.com/css?family=Open+Sans:100,200,300,400,500,600,700,800,900");

html {
  font-size: 16px;
}

:root {
  --primary-color: #ff511a;
  --secondary-color: #43ba7f;
  --text-color: #212741;
  --bg-color: #fff;
  --link-color: #e36402;
  --dark-bg-color: #181d30;
}
body {
  background: var(--bg-color);
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  overflow-x: hidden;
}

header {
  background-color: rgb(116, 113, 113);
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo img {
  height: 5rem;
  border-radius: 50%;
}

.navlist {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navlist li {
  padding: 0 1rem;
}

.navlist li a {
  color: var(--bg-color);
  text-decoration: none;
  font-weight: 300;
  font-size: 1rem;
  transition: all 0.3s ease 0s;
}

.navlist li a:hover,
.navlist li a.active {
  color: var(--link-color);
}

.hamburger-menu {
  display: none;
}

.hero {
  background-image: url(hero-bg.jpg);
  width: 100%;
  height: 100vh;
  left: 0;
  background-size: cover;
  animation: slide-in 2s ease-out forwards;
}

@keyframes slide-in {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text {
  width: 50%;
  padding-top: 2rem;
  padding-left: 1rem;
}

.hero-text h2 {
  font-size: 3.5rem;
  color: var(--bg-color);
  font-weight: 700;
  line-height: 4.375rem;
  margin-bottom: 2.5rem;
}

.hero-text h2 em {
  font-style: normal;
  color: var(--primary-color);
}

.divider {
  width: 5rem;
  height: 0.375rem;
  border-radius: 0.1875rem;
  background-color: var(--bg-color);
  margin-bottom: 2.5rem;
}

.hero-text p {
  color: var(--bg-color);
  margin-right: 3.75rem;
  margin-bottom: 3.125rem;
}

/* Section heading */

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading h6 {
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--primary-color);
  font-weight: 700;
}

.section-heading h4 {
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: capitalize;
  color: var(--text-color);
}

/* Services */

.service-item {
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: 0px 0px 1rem rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
  width: 95%;
}

.service-item h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.service-item p {
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--primary-color);
}

.service-item i {
  transition: all 0.5s;
  float: right;
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  /* margin-right: -8%; */
}

.services i:hover {
  margin-top: 1rem;
}

/* banner */

.banner {
  background-image: url(banner-bg.jpg);
  background-size: cover;
  padding: 5rem 0;
  margin-top: 2%;
}

.banner .buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.banner h4 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--bg-color);
  line-height: 3rem;
  text-align: center;
  margin-bottom: 2rem;
}

.banner h4 em {
  font-style: normal;
  color: var(--secondary-color);
}

.banner h4 strong {
  color: var(--primary-color);
  font-weight: 700;
}

.btn a {
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border-radius: 10px;
  transition: all 0.3s;
  text-decoration: none;
}

.btn a:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.btn1 a {
  color: var(--primary-color);
  background-color: var(--bg-color);
}

.btn2 a {
  color: var(--bg-color);
  background-color: var(--primary-color);
}

/* About us */

.about-us {
  margin-top: 3%;
  text-align: center;
}

.course-list {
  margin-top: 5.125rem;
  list-style: none;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.course-list li {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
}

.course-list li span {
  flex: 1;
  font-size: 0.9375rem;
  color: var(--text-color);
}

.course-list li:last-child {
  border-bottom: none;
}

.list-head span {
  font-weight: 600;
}

.list-head {
  font-weight: 600;
  background: #f8f9fa;
  color: var(--primary-color);
}

.course-list li.bg-light {
  background: #f6f6f6;
}

.course-list li.bg-white {
  background: #fff;
}

.item-title {
  color: var(--secondary-color) !important;
  font-weight: 600 !important;
}

/* testimonials */

.testimonials {
  margin-top: 1%;
  width: 95%;
  margin-left: 1.7rem;
}

.testimonial-card {
  display: flex;
  background-color: var(--bg-color);
  border-radius: 15px;
  box-shadow: 0px 0px 15px rgba(74, 13, 13, 0.1);
  padding: 2rem;
  margin: 2rem 0;
  border: 2px solid rgb(241, 230, 230);
}

.testimonial-card .content {
  flex: 1;
}

.testimonial-card i {
  font-size: 3vw;
  color: #fff;
  background-color: #ff6347;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.testimonial-card p {
  font-size: 1.4vw;
  font-style: italic;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.testimonial-card h4 {
  font-size: 1.6vw;
  font-weight: 600;
  color: var(--dark-bg-color);
  margin-bottom: 0.5rem;
}

.testimonial-card .subtitle {
  font-size: 1.2vw;
  color: var(--primary-color);
}

.testimonial-card .image-container {
  width: 20%;
  border-radius: 10px;
}

.testimonial-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-control-prev {
  left: -10%;
}

.carousel-control-next {
  right: -10%;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  filter: invert(1);
}

/* Learning Plan */

.learning-plan-section {
  background: url("plan-bg.png") center/cover no-repeat;
  min-height: 500px;
  position: relative;
}

.learning-plan-form .form-control,
.learning-plan-form .form-select {
  border-radius: 8px;
  border: 1px solid var(--primary-color);
  font-size: 1rem;
  margin-bottom: 1rem;
  background: rgba(
    255,
    255,
    255,
    0.7
  ); /* Slight transparency for readability */
}

.learning-plan-form .form-label {
  font-weight: 600;
  color: var(--primary-color);
}

.learning-plan-submit {
  background: var(--primary-color);
  color: #fff;
  border-radius: 8px;
  padding: 0.5rem 2rem;
  font-weight: 600;
  transition: background 0.3s, transform 0.3s;
  border: none;
}

.learning-plan-submit:hover {
  background: var(--secondary-color);
  transform: scale(1.05);
}

.learning-plan-img {
  max-width: 350px;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  display: block;
}

.section-heading h4 {
  color: var(--bg-color);
}

/* maps */
.contact-section {
  background: var(--bg-color);
  padding: 3rem 0 2rem 0;
}

.contact-map iframe {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.contact-card {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 1.25rem 1rem;
  gap: 1rem;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth transition */
}

.contact-card:hover {
  transform: translateY(-50px);
}

.contact-card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-right: 1rem;
}

.contact-card h5 {
  margin: 0 0 0.25rem 0;
  color: var(--secondary-color);
  font-weight: 700;
}

.contact-card p {
  margin: 0;
  color: var(--text-color);
  font-size: 1rem;
}

.contact-form .form-control {
  border-radius: 8px;
  border: 1px solid var(--primary-color);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  background: #fff;
}

.contact-submit {
  background: var(--primary-color);
  color: #fff;
  border-radius: 8px;
  padding: 0.5rem 2rem;
  font-weight: 600;
  transition: background 0.3s, transform 0.3s;
  border: none;
}

.contact-submit:hover {
  background: var(--secondary-color);
  transform: scale(1.05);
}

.site-footer {
  background: var(--dark-bg-color);
  color: #fff;
  text-align: center;
  font-size: 1rem;
  margin-top: 2rem;
  letter-spacing: 0.02em;
}

.site-footer small {
  font-size: 0.9rem;
  color: #bbb;
}

body::-webkit-scrollbar {
  width: 10px;
  background: var(--bg-color);
}
body::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 8px;
}

button,
a,
.contact-card,
.service-item,
.learning-plan-submit,
.contact-submit {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Responsiveness */

@media (max-width: 990px) {
  html {
    font-size: 15px;
  }
  .navlist {
    display: none;
  }
  .hero {
    padding: 4rem;
  }

  .hero-text {
    width: 90%;
    text-align: center;
  }

  .hero-text h2 {
    font-size: 2rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .divider {
    margin: 1rem auto;
  }

  .hero-text p {
    margin-right: 0;
    margin-bottom: 1.5rem;
  }

  .course-list li span.d-lg-inline {
    display: none !important;
  }

  .learning-plan-section {
    min-height: 0;
  }
  .learning-plan-img {
    display: none;
  }
  .col-lg-6.d-flex {
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .navlist {
    display: none;
  }
  .logo img {
    height: 4rem;
  }

  .navlist li a {
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .divider {
    width: 12rem;
  }

  .service-item {
    width: 100%;
    height: auto;
    padding: 0.5rem;
  }

  .service-item i {
    float: none;
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .course-list li {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0.5rem;
  }
  .course-list li span {
    margin-bottom: 0.5rem;
    font-size: 1rem;
  }
  .list-head {
    display: none !important;
  }

  .contact-card {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  .contact-map iframe {
    height: 220px;
  }
  .contact-form .form-control {
    font-size: 0.95rem;
  }

  .site-footer {
    font-size: 0.95rem;
    padding: 1.5rem 0;
  }
}

@media (max-width: 560px) {
  html {
    font-size: 13px;
  }

  .navlist {
    display: none;
  }

  .hamburger-menu {
    display: block;
    margin-left: auto;
    margin-right: 1rem;
    margin-top: 1rem;
  }

  .divider,
  .hero-text p {
    display: none;
  }

  /* About Us */
  .course-list li {
    flex-direction: column;
  }
}

