:root {
  --maincolor: #a64ba0;
  --maincolorlight: #ffeafe;
  --linearcolor: linear-gradient(135deg, #a64ba0 0%, #c99f3c 100%);
  --white: #ffffff;
  --black: #000000;
  --lightgrey: #dbdbdb;
  --yellow: #ffc107;
  --yellowlight: #fff3cd;
}
h1,
h2,
h3,
h4,
h5,
h6,
label,
p,
b,
a,
div,
span,
strong,
option,
button,
small {
  font-family: "Montserrat" !important;
}
/*  .logo_img {
  position: relative;
  padding: 10px 20px;
  background: white;
  z-index: 1;
  border-radius: 6px;
  overflow: hidden;
}

.logo_img::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: var(--linearcolor);
  background-size: 300% 300%;
  z-index: -1;
  animation: moveBorder 3s linear infinite;
  border-radius: 8px;
}

.logo_img::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  background: white;
  border-radius: 6px;
  z-index: -1;
}

@keyframes moveBorder {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
} */
.gradient-text {
  background: var(--linearcolor);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 600;
  font-size: clamp(18px, 6vw, 28px);
  text-decoration: none;
  white-space: nowrap;
}

.home_background {
  position: relative;
  background-image: url("../image/about.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    /* height: 100%; */
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }
  .home_container {
    position: relative;
    z-index: 2;
    padding: 20px;
    bottom: 0;
    max-width: 900px;
  }
  .nopadding {
    padding: 0px !important;
  }
  .button {
    display: inline-block;
    width: auto;
    height: 47px;
    background: #a64ba0;
    -webkit-transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -ms-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    transition: all 200ms ease;
  }
  .button a {
    display: block;
    position: relative;
    padding-left: 33px;
    padding-right: 77px;
    line-height: 47px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .button_arrow {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 100%;
    background: #a64ba0;
    text-align: center;
    -webkit-transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -ms-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    transition: all 200ms ease;
  }
  .button_arrow i {
    font-size: 20px;
    line-height: 47px;
    color: #a64ba0;
    -webkit-transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -ms-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    transition: all 200ms ease;
  }
  .button:hover {
    background: #a64ba0;
  }
  .button:hover .button_arrow {
    background: #a64ba0;
  }
  .button:hover .button_arrow i {
    color: #a64ba0;
  }
  .section_title h2 {
    font-weight: 600;
  }
  .section_subtitle {
    font-size: 16px;
    color: #6c6a74;
    text-align: center;
    margin-top: 66px;
  }
}

/* Hero Banner Styles */
.hero-banner {
  position: relative;
  background-image: url("../image/medafialabout_image.JPG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;

  /* Dark Overlay */
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
  }

  /* Hero Content */
  .hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 900px;
  }

  .hero-content h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 10px;
  }

  .hero-content p {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--white);
  }

  /* Button Styling */
  .hero-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    background-color: var(--maincolor);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }

  .hero-btn:hover {
    background-color: var(--maincolor);
  }
}
@media (max-width: 767px) {
  .hero-banner {
    min-height: 55vh !important;
  }
  .hero-content h1 {
    font-size: 2rem !important;
  }
}
/* cerification section */
.certification-section {
  /* min-height: 100vh; */
  display: flex;
  /* align-items: center; */
  background-color: var(--white);
  padding: 40px 20px;

  .cert-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  .cert-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--maincolor);
  }
  .cert-text {
    font-size: 1.2rem;
    color: var(--black);
    line-height: 1.6;
    text-align: justify;
  }
}

.feat {
  .section-head {
    margin-bottom: 60px;
  }
  .section-head h4 {
    position: relative;
    padding: 0;
    color: var(--maincolor);
    line-height: 1;
    letter-spacing: 0.3px;
    font-size: 34px;
    font-weight: 700;
    text-align: center;
    text-transform: none;
    margin-bottom: 30px;
  }
  .section-head h4:before {
    content: "";
    width: 60px;
    height: 3px;
    background: var(--maincolor);
    position: absolute;
    left: 0px;
    bottom: -10px;
    right: 0;
    margin: 0 auto;
  }
  .section-head h4 span {
    font-weight: 700;
    padding-bottom: 5px;
    color: #2f2f2f;
  }
  p.service_text {
    color: #cccccc !important;
    font-size: 16px;
    line-height: 28px;
    text-align: center;
  }
  .section-head p,
  p.awesome_line {
    color: #818181;
    font-size: 16px;
    line-height: 28px;
    text-align: center;
  }

  .extra-text {
    font-size: 34px;
    font-weight: 700;
    color: #2f2f2f;
    margin-bottom: 25px;
    position: relative;
    text-transform: none;
  }
  .extra-text::before {
    content: "";
    width: 60px;
    height: 3px;
    background: var(--maincolor);
    position: absolute;
    left: 0px;
    bottom: -10px;
    right: 0;
    margin: 0 auto;
  }
  .extra-text span {
    font-weight: 700;
    color: var(--maincolor);
  }
  .item {
    background: var(--white);
    text-align: center;
    padding: 30px 25px;
    -webkit-box-shadow: 0 0px 25px rgba(0, 0, 0, 0.07);
    box-shadow: 0 0px 25px rgba(0, 0, 0, 0.07);
    border-radius: 20px;
    border: 5px solid rgba(0, 0, 0, 0.07);
    margin-bottom: 30px;
    -webkit-transition: all 0.5s ease 0;
    transition: all 0.5s ease 0;
    transition: all 0.5s ease 0s;
  }
  .item:hover {
    background: var(--maincolor);
    box-shadow: 0 8px 20px 0px rgba(0, 0, 0, 0.2);
    -webkit-transition: all 0.5s ease 0;
    transition: all 0.5s ease 0;
    transition: all 0.5s ease 0s;
  }
  .item:hover .item,
  .item:hover span.icon {
    background: var(--white);
    border-radius: 10px;
    -webkit-transition: all 0.5s ease 0;
    transition: all 0.5s ease 0;
    transition: all 0.5s ease 0s;
  }
  .item:hover h5,
  .item:hover p {
    color: var(--white);
    -webkit-transition: all 0.5s ease 0;
    transition: all 0.5s ease 0;
    transition: all 0.5s ease 0s;
  }
  .item .icon {
    font-size: 40px;
    margin-bottom: 25px;
    color: var(--maincolor);
    width: 90px;
    height: 90px;
    line-height: 96px;
    border-radius: 50px;
  }
  .item .feature_box_col_one {
    background: rgba(247, 198, 5, 0.2);
    color: var(--maincolor);
    padding: 1.2rem 1.5rem;
    i {
      font-size: inherit;
      margin: 0;
    }
  }
  .item .feature_box_col_two {
    background: rgba(255, 77, 28, 0.15);
    color: var(--maincolor);
    padding: 1.2rem 1.5rem;
    i {
      font-size: inherit;
      margin: 0;
    }
  }
  .item .feature_box_col_three {
    background: rgba(0, 147, 38, 0.15);
    color: var(--maincolor);
    padding: 1.2rem 1.5rem;
    i {
      font-size: inherit;
      margin: 0;
    }
  }
  .item .feature_box_col_four {
    background: rgba(0, 108, 255, 0.15);
    color: var(--maincolor);
    padding: 1.2rem 1.5rem;
    i {
      font-size: inherit;
      margin: 0;
    }
  }
  .item p {
    font-size: 16px;
    line-height: 26px;
  }
  .item h5 {
    margin: 22px auto;
    color: #2f2f2f;
  }
  .mission p {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 28px;
    font-weight: 500;
  }
  .mission i {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: var(--maincolor);
    border-radius: 50%;
    color: var(--white);
    font-size: 25px;
  }
  .mission .small-text {
    margin-left: 10px;
    font-size: 13px;
    color: #666;
  }
  .skills {
    padding-top: 0px;
  }
  .skills .prog-item {
    margin-bottom: 25px;
  }
  .skills .prog-item:last-child {
    margin-bottom: 0;
  }
  .skills .prog-item p {
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 10px;
  }
  .skills .prog-item .skills-progress {
    width: 100%;
    height: 10px;
    background: #e0e0e0;
    border-radius: 20px;
    position: relative;
  }
  .skills .prog-item .skills-progress span {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var;
    width: 10%;
    border-radius: 10px;
    -webkit-transition: all 1s;
    transition: all 1s;
  }
  .skills .prog-item .skills-progress span:after {
    content: attr(data-value);
    position: absolute;
    top: -5px;
    right: 0;
    font-size: 10px;
    font-weight: 600;
    color: var(--white);
    background: rgba(0, 0, 0, 0.9);
    padding: 3px 7px;
    border-radius: 30px;
  }
  .important-note {
    background-color: var(--yellowlight);
    border-left: 5px solid var(--yellow);
    padding: 1rem;
    margin-top: 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
  }
  .important-note:hover {
    background-color: var(--yellowlight);
  }
}

.about {
  .card {
    background: var(--white);
    /* border-radius: 12px; */
    /* box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05); */
    padding: 30px;
    border: none;
    margin-bottom: 40px;
    /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
  }

  /* .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  } */
  img {
    width: 100%;
  }
  h2 {
    color: var(--maincolor);
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  p {
    margin-bottom: 12px;
    text-align: justify;
  }

  @media (max-width: 600px) {
    .card {
      padding: 20px;
    }
    p {
      font-size: 1.1rem;
    }
  }
}

.bi {
  margin-right: 1rem;
  font-size: 1.2rem;
  color: var(--maincolor);
}

/* service */

.services {
  width: 100%;
  background: #ffffff;
  padding-top: 94px;
  padding-bottom: 94px;
  .card {
    border-radius: 0.3rem;
    display: flex;
    margin: 1rem auto;
    padding: 1rem;
    justify-content: center;
    /* background-image: url("../image/bgimage.jpeg"); */
    align-items: center;
    .service-text {
      color: var(--maincolor);
      margin: 1rem auto;
      font-weight: 500;
      font-size: 1.2rem;
    }
    .service-icon {
      padding: 1rem;
      background-color: var(--lightgrey);
      border-radius: 50%;
      width: 5rem;
      height: 5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      i {
        color: var(--maincolor);
        font-size: 2.5rem;
        margin-right: 0rem;
      }
    }
  }
  .card:hover {
    background: var(--linearcolor);
    .service-text {
      color: var(--white);
    }
    .service-icon {
      background-color: var(--white);
      i {
        color: var(--maincolor);
      }
    }
  }
}

.enroll_button,
.enroll_button:hover {
  background: var(--linearcolor);
  color: var(--white);
  border: 1px solid transparent;
  border-radius: 5px;
  width: 60%;
  padding: 0.5rem;
  margin: 1rem 0rem;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  i.bi {
    color: var(--white);
    margin: 0px 5px !important;
    line-height: 0px;
    font-weight: 700;
  }
}

.contactdiv {
  border-right: 1px solid lightgrey;
}
.enroll_contact {
  margin: 1rem;
}
.enrollmodalheading {
  color: var(--black);
  margin: 1rem;
  font-size: 1.3rem;
}
.enroll_title {
  color: var(--black);
  font-weight: 600;
  font-size: 1.2rem;
}
.enroll_contact_item {
  margin: 1rem 0rem;
}
.enroll_contact_title {
  color: var(--maincolor);
  font-weight: 500;
  margin-bottom: 1rem;
}
.enroll_contact_line {
  display: flex;
  align-items: center;
  i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 0.8rem;
    border: 1px solid var(--maincolor);
    border-radius: 100px;
    color: var(--maincolor);
    transition: all 0.3s ease;
    cursor: pointer;
  }
  i:hover {
    background: var(--linearcolor);
    color: var(--white);
    border-color: var(--maincolor);
  }

  a {
    color: var(--black);
    text-decoration: none;
  }
  a:hover {
    color: var(--maincolor);
    text-decoration: none;
  }
}

.benefit-section {
  background-color: #f9f9fb;
  padding: 2rem;
  border-radius: 8px;
}
.benefit-title {
  color: var(--maincolor);
  font-weight: 700;
}
.benefit-point {
  font-size: 1.1rem;
  list-style-type: disc;
  strong {
    color: var(--maincolor);
    font-weight: normal;
  }
}

.faculty {
  width: 100%;
  background: #ffffff;
  padding-top: 94px;
  padding-bottom: 94px;
  .card {
    padding: 1rem;
    margin: 1rem auto;
  }
  .card:hover {
    padding: 1rem;
    border: 1px solid var(--maincolor);
    border-top: 5px solid var(--maincolor);
    margin: 1rem auto;
  }
  img {
    width: 100%;
    height: 13rem;
    margin: 0 auto;
    border-radius: 0.3rem;
  }
  @media screen and (max-width: 767px) {
    .card {
      padding: 0.5rem;
    }
    img {
      width: 70%;
      margin: 0 15%;
      height: auto;
      border-radius: 0.3rem;
    }
    p {
      font-size: 1rem;
    }
  }
  .card-body {
    display: flex;
    justify-content: center;
    /* align-items: center; */
    b {
      color: var(--black);
    }
  }
  p {
    margin-bottom: 0;
  }
}

.home_slider_nav_container {
  top: 50% !important;
}
.Conference {
  p {
    font-size: 1rem;
    text-align: justify;
  }
  h4 {
    color: var(--maincolor);
    font-weight: 600;
    font-size: 2rem;
  }
}

/* certification sction home */

.certification_section {
  .section-title {
    text-align: center;
    margin: 3rem auto;
    font-weight: 600;
    color: #343a40;
    span {
      font-size: 1.5rem;
    }
  }
  .info-box {
    background: var(--maincolorlight);
    border-left: 5px solid var(--maincolor);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease-in-out;
  }
  li,
  p {
    font-size: 1.1rem;
  }
  span {
    font-size: 1rem;
  }
  .info-box:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
  }
  .info-icon {
    font-size: 1rem;
    color: var(--maincolor);
    margin-right: 10px;
  }
  .highlight-box {
    background-color: var(--maincolorlight);
    border-left: 5px solid var(--maincolor);
  }
  .optional-box {
    background-color: var(--maincolorlight);
    border-left: 5px solid var(--maincolor);
  }
}

/* faq section */
.faq {
  h2 {
    margin: 2rem 0rem;
    text-align: center;
  }
  .accordion {
    margin-top: 1rem;
  }
  .accordion-item {
    border-radius: 0.5rem !important;
    filter: drop-shadow(1px 1px 2px black);
    margin: 1.5rem;
  }
  .accordion-header {
    margin-bottom: 0;
    border-left: 4px solid var(--maincolor);
    margin-top: 0.5rem;
    border-radius: 0rem;
    button {
      font-size: 1.2rem;
    }
  }
  .accordion-body {
    border: 1px solid var(--maincolor);
    border-radius: 0 0 0.5rem 0.5rem;
    margin: 0;
  }
  .accordion-button,
  .accordion-button:not(.collapsed) {
    background-color: var(--maincolorlight) !important;
  }
  .accordion-button:focus {
    box-shadow: none !important;
  }
}
