@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;700&display=swap');

:root {
  --violet: #9532aa;
  --yellow: #ECB602;
  --darkviolet: #34013f;
  --gradient: linear-gradient(60deg, var(--yellow), var(--violet));
  --box-animation-duration: .6s;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: uppercase;
  font-weight: 600;
}

* {
  font-family: 'Nunito', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  text-transform: capitalize;
  transition: all .2s ease-out;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

html::-webkit-scrollbar {
  width: 1rem;
}

html::-webkit-scrollbar-track {
  background: #333;
}

html::-webkit-scrollbar-thumb {
  background: #fff;
  border-radius: 5rem;
}

section {
  padding: 2rem 7%;
}

.heading {
  color: transparent;
  background: var(--darkviolet);
  -webkit-background-clip: text;
  background-clip: text;
  padding: 0 1rem;
  padding-top: 2.5rem;
  text-align: center;
  font-size: 2.8rem;
  text-transform: uppercase;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: .8rem 3rem;
  border-radius: .5rem;
  background: #333;
  color: #fff;
  cursor: pointer;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.btn:hover {
  background: var(--gradient);
}

/*--------------------------------------------------------------------------------------------*/
/*home page*/
/*common nav bar*/

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem 7%;
  border-bottom: .1rem solid rgba(0, 0, 0, .1);
  position: relative;
  z-index: 1000;
}

header .logo {
  font-size: 2.5rem;
  color: var(--violet);
  font-weight: bold;
}

header .logo span {
  color: var(--yellow);
}

header .navbar a {
  text-transform: uppercase;
}

header .navbar a {
  margin-left: 2rem;
  font-size: 1.8rem;
  font-weight: 500;
  color: #333;
}

header .navbar a:hover {
  color: var(--yellow);
}

#menu {
  font-size: 2.5rem;
  padding: .5rem 1rem;
  border-radius: .3rem;
  border: .1rem solid rgba(0, 0, 0, .2);
  cursor: pointer;
  display: none;
}

.home {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.home .content {
  flex: 1 1 40rem;
  opacity: 0;
  animation-name: homeContent;
  animation-duration: .5s;
  animation-delay: .1s;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
}

@keyframes homeContent {
  0% {
    opacity: 0;
    transform: scale(.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.home .image {
  flex: 1 1 40rem;
  opacity: 0;
  animation-name: homeContentImg;
  animation-duration: .3s;
  animation-delay: .3s;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
}

@keyframes homeContentImg {
  0% {
    opacity: 0;
    transform: scale(.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.home .image img {
  width: 100%;
}

.home .content h3 {
  color: transparent;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 3rem;
}

.home .content p {
  padding: .5rem 0;
  font-size: 1.7rem;
  color: #666;
  line-height: 25px;
}

.course-offer-container {
  width: 90%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  gap: 2rem;
}

.course-offer {
  width: 270px;
  height: auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: .1rem solid rgba(0, 0, 0, .1);
}

.course-offer-container .course-offer:nth-child(1) {
  opacity: 0;
  animation-name: courseOffer1;
  animation-duration: var(--box-animation-duration);
  animation-delay: .1s;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
}

@keyframes courseOffer1 {
  0% {
    opacity: 0;
    transform: scale(.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.course-offer-container .course-offer:nth-child(2) {
  opacity: 0;
  animation-name: courseOffer2;
  animation-duration: var(--box-animation-duration);
  animation-delay: .2s;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
}

@keyframes courseOffer2 {
  0% {
    opacity: 0;
    transform: scale(.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.course-offer-container .course-offer:nth-child(3) {
  opacity: 0;
  animation-name: courseOffer3;
  animation-duration: var(--box-animation-duration);
  animation-delay: .3s;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
}

@keyframes courseOffer3 {
  0% {
    opacity: 0;
    transform: scale(.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.course-offer-container .course-offer:nth-child(4) {
  opacity: 0;
  animation-name: courseOffer4;
  animation-duration: var(--box-animation-duration);
  animation-delay: .4s;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
}

@keyframes courseOffer4 {
  0% {
    opacity: 0;
    transform: scale(.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.course-offer-container .course-offer:nth-child(5) {
  opacity: 0;
  animation-name: courseOffer5;
  animation-duration: var(--box-animation-duration);
  animation-delay: .5s;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
}

@keyframes courseOffer5 {
  0% {
    opacity: 0;
    transform: scale(.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.course-offer-container .course-offer:nth-child(6) {
  opacity: 0;
  animation-name: courseOffer6;
  animation-duration: var(--box-animation-duration);
  animation-delay: .6s;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
}

@keyframes courseOffer6 {
  0% {
    opacity: 0;
    transform: scale(.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.course-offer-container .course-offer:nth-child(7) {
  opacity: 0;
  animation-name: courseOffer6;
  animation-duration: var(--box-animation-duration);
  animation-delay: .7s;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
}

@keyframes courseOffer7 {
  0% {
    opacity: 0;
    transform: scale(.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.course-offer a {
  text-decoration: none;
  color: white;
  text-transform: uppercase;
}

.course-offer p {
  padding: .5rem 0;
  font-size: 1.7rem;
  color: #666;
  -webkit-background-clip: text;
  background-clip: text;
}

.course-offer-img {
  width: 200px;
  height: 200px;
}

.course-offer-img img {
  width: 100%;
  height: 100%;
  overflow: hidden;
  object-fit: contain;
  object-position: center;
}

.accordion {
  padding: 10px 20px;
  width: 55%;
  margin: auto;
}

@media (max-width : 768px) {
  .accordion {
    width: 90%;
  }
}

.accordion-items {
  margin-top: 4px;
  margin-bottom: 8px;
}

.accordion-items h2 {
  text-transform: none;
  font-weight: 400;
}

.accordion-items p {
  font-size: 1.5rem;
  color: #666;
}

.accordion-title {
  padding: 10px;
  background-color: #333;
  color: #fff;
  cursor: pointer;
}

.accordion-title:hover {
  background: var(--gradient);
}

.accordion-items.active .accordion-content {
  display: block;
}

.accordion-content {
  padding: 5px;
  display: none;
}

/*--------------------------------------------------------------------------------------------*/
/*course page*/

.course {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.course .box {
  width: 350px;
  border-radius: .5rem;
  border: .1rem solid rgba(0, 0, 0, .1);
  padding: 1rem;
}

.course .box:nth-child(1) {
  opacity: 0;
  animation-name: courseBox1;
  animation-duration: var(--box-animation-duration);
  animation-delay: .1s;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
}

@keyframes courseBox1 {
  0% {
    opacity: 0;
    transform: scale(.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.course .box:nth-child(2) {
  opacity: 0;
  animation-name: courseBox2;
  animation-duration: var(--box-animation-duration);
  animation-delay: .2s;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
}

@keyframes courseBox2 {
  0% {
    opacity: 0;
    transform: scale(.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.course .box:nth-child(3) {
  opacity: 0;
  animation-name: courseBox3;
  animation-duration: var(--box-animation-duration);
  animation-delay: .3s;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
}

@keyframes courseBox3 {
  0% {
    opacity: 0;
    transform: scale(.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.course .box:nth-child(4) {
  opacity: 0;
  animation-name: courseBox4;
  animation-duration: var(--box-animation-duration);
  animation-delay: .4s;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
}

@keyframes courseBox4 {
  0% {
    opacity: 0;
    transform: scale(.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.course .box:nth-child(5) {
  opacity: 0;
  animation-name: courseBox5;
  animation-duration: var(--box-animation-duration);
  animation-delay: .5s;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
}

@keyframes courseBox5 {
  0% {
    opacity: 0;
    transform: scale(.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.course .box:nth-child(6) {
  opacity: 0;
  animation-name: courseBox6;
  animation-duration: var(--box-animation-duration);
  animation-delay: .6s;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
}

@keyframes courseBox6 {
  0% {
    opacity: 0;
    transform: scale(.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.course .box img {
  height: 20rem;
  width: 100%;
  object-fit: contain;
  object-position: center;
}

.course .box h3 {
  color: var(--yellow);
  font-size: 2rem;
  font-weight: 500;
}

.course .box p {
  height: 100px;
  color: #666;
  font-size: 1.3rem;
  padding: .5rem 0;
  line-height: 25px;
}

.course .icons {
  display: flex;
  justify-content: space-between;
  border-top: .1rem solid rgba(0, 0, 0, .1);
  margin-top: 1rem;
  padding: .5rem;
  padding-top: 1rem;
}

.course .icons p {
  color: #666;
  font-size: 1.3rem;
}

.course .icons p i {
  padding-right: .3rem;
  color: var(--yellow);
}

/*--------------------------------------------------------------------------------------------*/
/*aboutUs page*/

.aboutus {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 1rem;
}

.aboutus .about {
  width: 600px;
  opacity: 0;
  animation-name: aboutUs;
  animation-duration: var(--box-animation-duration);
  animation-delay: .1s;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
}

.aboutus .about p {
  padding: .5rem 0;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 30px;
  color: #666;
  text-align: justify;
}

.aboutus .about-img {
  width: 350px;
  height: 350px;
  opacity: 0;
  animation-name: aboutUs;
  animation-duration: var(--box-animation-duration);
  animation-delay: .1s;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
}

@media (max-width:400px) {
  .aboutus .about-img {
    width: 250px;
    height: 250px;
  }
}

.aboutus .about-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.about-2 {
  width: 100%;
  height: auto;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.about-2 h2 {
  text-align: center;
  color: var(--darkviolet);
}

.about-2 p {
  padding: .5rem 0;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 30px;
  color: #666;
  text-align: justify;
}

.ourstory,
.ourmission {
  display: flex;
  flex-direction: column;
  width: 80%;
  margin: auto;
  height: auto;
  margin: 2rem 0;
  opacity: 0;
  animation-name: aboutUs;
  animation-duration: var(--box-animation-duration);
  animation-delay: .1s;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
}

.ourstory h2,
.ourmission h2 {
  font-size: 2.2rem;
  color: var(--darkviolet);
}

@media (max-width : 849px) {

  .ourstory,
  .ourmission {
    width: 100%;
  }
}

@keyframes aboutUs {
  0% {
    opacity: 0;
    transform: scale(.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.au-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation-name: aboutUs;
  animation-duration: var(--box-animation-duration);
  animation-delay: .1s;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
}

.au-container h2 {
  text-align: center;
  font-size: 28px;
  color: var(--darkviolet);
  margin-bottom: 20px;
}

.au-certificate {
  width: 90%;
  height: auto;
  gap: 10px;
  flex-wrap: wrap;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.certificate {
  width: 400px;
  height: auto;
}

.certificate:nth-child(2) {
  width: 300px;
  height: 300px;
}

@media (max-width: 768px) {
  .certificate {
    width: 250px;
    height: auto;
  }

  .certificate:nth-child(2) {
    width: 170px;
    height: 170px;
  }

}

.au-certificate img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/*--------------------------------------------------------------------------------------------*/
/*review page*/

.review {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.review .box {
  border-radius: .5rem;
  border: .1rem solid rgba(0, 0, 0, .1);
  padding: 1rem;
  flex: 1 1 30rem;
}

.review .box:nth-child(1) {
  opacity: 0;
  animation-name: reviewBox1;
  animation-duration: var(--box-animation-duration);
  animation-delay: .1s;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
}

.review .box:nth-child(2) {
  opacity: 0;
  animation-name: reviewBox2;
  animation-duration: var(--box-animation-duration);
  animation-delay: .2s;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
}

.review .box:nth-child(3) {
  opacity: 0;
  animation-name: reviewBox3;
  animation-duration: var(--box-animation-duration);
  animation-delay: .3s;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
}

.review .box:nth-child(4) {
  opacity: 0;
  animation-name: reviewBox4;
  animation-duration: var(--box-animation-duration);
  animation-delay: .4s;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
}

.review .box:nth-child(5) {
  opacity: 0;
  animation-name: reviewBox5;
  animation-duration: var(--box-animation-duration);
  animation-delay: .5s;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
}

@keyframes reviewBox1 {
  0% {
    opacity: 0;
    transform: scale(.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes reviewBox2 {
  0% {
    opacity: 0;
    transform: scale(.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes reviewBox3 {
  0% {
    opacity: 0;
    transform: scale(.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes reviewBox5 {
  0% {
    opacity: 0;
    transform: scale(.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes reviewBox5 {
  0% {
    opacity: 0;
    transform: scale(.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.review .box .student {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review .box .student .student-info {
  display: flex;
  align-items: center;
}

.review .box .student i {
  font-size: 6rem;
  color: var(--yellow);
  opacity: .5;
}

.review .box .student .student-info img {
  border-radius: 50%;
  object-fit: cover;
  height: 7rem;
  width: 7rem;
  margin-right: 1.5rem;
}

.review .box .student .student-info h3 {
  font-size: 2rem;
  color: #333;
}

.review .box .student .student-info span {
  font-size: 1.5rem;
  color: var(--yellow);
}

.review .box .text {
  padding: 1rem 0;
  font-size: 1.6rem;
  color: #666;
}

/*--------------------------------------------------------------------------------------------*/
/*contact page*/

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-evenly;
  align-items: center;
}

.contact .image {
  width: 300px;
}

.contact .image img {
  width: 100%;
}

.contact .contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px 0;
  justify-content: center;
  align-items: flex-start;
}

.contact .contact-details i {
  font-size: 20px;
  margin-right: 4px;
  color: var(--yellow)
}

.contact .contact-details a {
  font-size: 17px;
  color: #666;
  text-transform: none;
  cursor: pointer;
}

.contact .contact-details span {
  display: inline-block;
  margin-top: 1rem;
  padding: .8rem 3rem;
  border-radius: .5rem;
  background: #333;
  color: #fff;
  cursor: pointer;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.contact .contact-details span:hover {
  background: var(--gradient);
}

.contact .contact-details a:hover {
  color: var(--yellow);
}

/*--------------------------------------------------------------------------------------------*/
/*terms and condition page*/

.termsAndCondition {
  width: 60%;
  height: auto;
  margin: auto;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  text-align: justify;
  position: relative;
  z-index: 9999;
}

.termsAndCondition h1 {
  color: transparent;
  font-size: 22px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  text-align: center;
  margin-bottom: 10px;
}

.termsAndCondition p {
  padding: .5rem 0;
  font-size: 1.3rem;
  color: #000;
}

.termsAndCondition b {
  color: transparent;
  font-size: 16px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  text-align: center;
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .termsAndCondition {
    width: 90%;
  }
}

/*--------------------------------------------------------------------------------------------*/
/*common footer*/
/*home page*/

.footer .box-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
}

@media (max-width:768px) {
  .footer .box-container {
    flex-direction: column;
  }

  .footer .box-container .box:nth-child(1) {
    display: none;
  }
}

.footer .box-container .box {
  flex: 1 1 20rem;
}

.footer .box-container .box h3 {
  font-size: 2.5rem;
  color: var(--darkviolet);
  padding: .7rem 0;
}

.footer .box-container .box p {
  font-size: 1.5rem;
  color: #666;
  padding: .7rem 0;
}

.footer .box-container .box a {
  display: block;
  font-size: 1.5rem;
  color: #666;
  padding: .7rem 0;
  text-transform: none;
}

.footer .box-container .box a:hover {
  color: var(--yellow);
}

.footer .box-container .box p i {
  padding-right: .5rem;
  color: black;
}

.footer .credit {
  font-size: 2rem;
  margin-top: 1rem;
  padding: 1rem;
  padding-top: 2rem;
  text-align: center;
  border-top: .1rem solid rgba(0, 0, 0, .1);
  color: #666;
}

.footer .credit span a {
  color: #666;
  padding: 0px 5px;
}

/* ----------------------------Partners section styling - based on your existing CSS-------------------------------- */
.partners-container {
      width: 100%;
      overflow: hidden;
      padding: 2rem 0;
      background-color: #f5f5f5;
      border-radius: 1rem;
      margin: 2rem 0;
      position: relative;
    }

    .partners-scroll {
      display: flex;
      gap: 3rem;
      overflow-x: hidden; /* Changed from auto to hidden */
      scroll-behavior: smooth;
      padding: 1rem 3rem;
      animation: scrollPartners 30s linear infinite;
      width: max-content;
    }

    @keyframes scrollPartners {
      0% {
        transform: translateX(0);
      }
      100% {
        /* Calculate based on width of duplicated content section */
        transform: translateX(-50%);
      }
    }

    /* Pause animation on hover */
    .partners-scroll:hover {
      animation-play-state: paused;
    }

    .partner-logo {
      min-width: 180px;
      height: 160px;
      display: flex;
      flex-direction: column;
      align-items: center;
      transition: all 0.3s ease;
      cursor: pointer;
    }

    /* Hover effect - zoom in and up */
    .partner-logo:hover {
      transform: scale(1.1) translateY(-10px);
      filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.15));
      z-index: 10;
    }

    .logo-container {
      width: 100%;
      height: 100px;
      background-color: #fff;
      border-radius: 0.5rem;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 1rem;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      position: relative;
      overflow: hidden;
    }

    /* Glowing hover effect */
    .logo-container::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 70%);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .partner-logo:hover .logo-container::after {
      opacity: 1;
    }

    .logo-container img {
      max-width: 100%;
      max-height: 80px;
      object-fit: contain;
      transition: all 0.3s ease;
    }

    .college-name {
      margin-top: 0.75rem;
      text-align: center;
      font-size: 16px;
      font-weight: bold;
      color: #333;
      width: 100%;
      white-space: normal;
      word-wrap: break-word;
    }
/* ----------------------------------------Contact Form Centered Layout Styles--------------------------------------- */
.contact-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.contact-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-form-container {
  flex: 1;
  max-width: 500px;
  width: 100%;
}

.contact-form {
  background-color: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 8px rgba(255, 107, 129, 0.2);
  outline: none;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-message {
  margin: 15px 0;
  padding: 15px;
  border-radius: 5px;
  font-weight: 500;
  text-align: center;
  font-size: 16px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.5s forwards;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.5s forwards;
}

#contactForm .btn {
  display: block;
  width: 100%;
  padding: 14px 25px;
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(248, 80, 50, 0.3);
}

#contactForm .btn:hover {
  background: var(--gradient);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(248, 80, 50, 0.4);
}

#contactForm .btn:focus {
  outline: none;
}

#contactForm .btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(248, 80, 50, 0.2);
}

#contactForm .btn:disabled {
  background: rgb(4, 92, 38);
  cursor: not-allowed;
  box-shadow: none;
}

/* Button Animation */
#contactForm .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

#contactForm .btn:hover::before {
  left: 100%;
}

/* Button Press Animation */
@keyframes buttonPress {
  0% { transform: scale(1); }
  50% { transform: scale(0.97); }
  100% { transform: scale(1); }
}

#contactForm .btn:active {
  animation: buttonPress 0.3s forwards;
}

/* Message Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.form-message.success {
  animation: fadeInUp 0.5s, pulse 1.5s 0.5s;
}

/* Media Query for Mobile Responsiveness */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
    padding: 10px;
  }
  
  .contact-form-container {
    width: 100%;
    max-width: 100%;
  }
  
  .contact-form {
    padding: 20px 15px;
  }
  
  .contact-left {
    width: 100%;
    margin-bottom: 30px;
  }
}

/* Media Query for Mobile Responsiveness */
@media (max-width: 768px) {
  .contact-form-container {
    padding: 0 15px;
  }
  
  .contact-form {
    padding: 20px 15px;
  }
}

/* Responsive adjustments with animations */
@media (max-width: 992px) {
  .institutional-services {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .institutional-services {
    flex-direction: column;
    padding: 2rem 1.5rem;
  }
  
  .service-info, 
  .service-image {
    width: 100%;
  }
  
  .service-image {
    order: -1;
    margin-bottom: 1.5rem;
  }
  
  .service-image img {
    max-width: 80%;
  }
}

@media (max-width: 576px) {
  .service-info h2 {
    font-size: 1.8rem;
  }
  
  .service-info p,
  .service-info ul li {
    font-size: 1rem;
  }
  
  .service-image img {
    max-width: 100%;
  }
}

/* media queries  */

@media (max-width:991px) {

  html {
    font-size: 55%;
  }

  body {
    padding: 1.5rem;
  }

  header {
    padding: 2rem;
  }

  section {
    padding: 2rem;
  }

}

@media (max-width:768px) {

  #menu {
    display: initial;
  }

  header .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: .1rem solid rgba(0, 0, 0, .2);
    border-bottom: .1rem solid rgba(0, 0, 0, .2);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  }

  header .navbar.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  header .navbar a {
    font-size: 2.5rem;
    display: block;
    margin: 2rem 0;
    text-align: center;
  }

  .contact form .inputBox input {
    width: 100%;
  }

}

@media (max-width:400px) {

  html {
    font-size: 50%;
  }

}