/* Reset margins and paddings */
* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Helvetica, Arial, Roboto, sans-serif !important;
  margin: 0;
}

/* Navbar */
/* .navbar-dark {
  background-color: #111827; /* Dark background 
} */

.navbar-brand img {
  width: 59%;
}

.nav-link {
  /* color: #fff !important; */
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #F59E0B !important;
}

/* Mobile view: Stack navbar items vertically */
@media (max-width: 767px) {
  .navbar-collapse {
    text-align: center; /* Center all navbar items */
  }

  .navbar-nav {
    flex-direction: column; /* Stack items vertically */
    align-items: center;    /* Center navbar items */
    width: 100%;
    padding: 0;
  }

  .navbar-nav .nav-item {
    width: 100%; /* Make each item take full width */
    /* margin: 0.5rem 0;  Add some margin between items */
  }

  .navbar-nav .nav-link {
    display: block; /* Ensure links span full width */
    width: 100%;
    /* padding: 10px 0;  Increase the clickable area */
  }

  .navbar-brand {
    width: 80%;
    margin: 0;
    padding: 0;
  }

  .navbar-brand img {
    width: 100%; /* Adjust logo width on mobile */
  }
}

/* Tablet view (portrait): Adjust navbar layout */
@media (min-width: 768px) and (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
    width: 100%;
  }
  .navbar-brand {
    width: 80%;
    margin: 0;
    padding: 0;
  }
}

/* Remove the border of the toggle button */
.navbar-toggler {
  border: none; /* Removes the border */
}


/* Hero Section */
/*.hero {*/
/*  background: url(../images/1.jpg) center/cover no-repeat;*/
/*  height: 100vh;*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*  color: white;*/
  /* text-align: center; */
/*}*/

/* .hero {
  position: relative;
  background: url(../images/banner1.jpg) center/cover no-repeat;
  height: 87vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* color: white; 
  z-index: 1;
  overflow: hidden;
  text-align: center;
} */


.hero {
  position: relative;
  background: url(../images/banner1.jpg) center/cover no-repeat;
  height: 87vh;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* change here */
  z-index: 1;
  overflow: hidden;
  text-align: center; /* keep this or remove as needed */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Adjust 0.5 for more or less darkness */
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 2;
}

/* .container.mobile {
  max-width: 60%;
  margin-right: 30px;
} */
@media (min-width: 768px) {
  .container.mobile {
    max-width: 60%;
    margin-right: 30px;
  }
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  /*color: #333333;*/
  /*color: wheat;*/
  color: #F3F4F6;
}

.hero img{
    width: 55%;
}
    
    
.hero p {
  font-size: 1.8rem;
  margin-top: 15px;
    /*color: #333333;*/
   color: #D1D5DB;
    font-weight: 600;
}

.hero .btn-primary {
  margin-top: 25px;
  background-color: #F59E0B;
  border: none;
  color: #000;
  border-radius: 5px;
  font-weight: 550;
  font-size: 15px;
}

.hero .btn-primary:hover {
  background-color: #D97706;
  transform: scale(1.05);
}

.moving-image {
  position: absolute;
  top: 35%;
  left: 2px;
  width: 35% !important;
  z-index: 5;
  animation: floatImage 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes floatImage {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Mobile view: Stack navbar items vertically */
@media (max-width: 767px) {
    /* .hero {
      /* background: linear-gradient(rgb(0 0 0 / 6%), rgb(0 0 0 / 19%)), url(../images/mobile.png) center/cover no-repeat; 
      height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      text-align: center;
    } */

    .container.mobile {
      margin-top: 25%;
    }

    .hero {
      justify-content: center;
    }
    .container.mobile {
      margin-right: 0;
      width: 100%;
    }
    
    .hero img{
        width: 100%;
    }
    
    .hero h1 {
    font-size: 40px;
    font-weight: 700;
    color: white;
    }
    
    .hero p {
    font-size: 1.5rem;
    margin-top: 15px;
    color: #dfb649;
     font-weight: 600;
    }

    .moving-image {
      display: none !important;
    }
}




/* About Section */
.para {
  font-weight: bold;
}

.data {
  /*font-family: Montserrat, Arial, Helvetica, sans-serif;*/
  font-size: 17px;
  /*font-weight: 300;*/
  line-height: 22.4px;
  color: rgb(55, 55, 55);
  text-align: justify;
}

#down {
    background-color: #F59E0B;
    margin-top: 15px; 
    border: none;
    color: #111827;
    font-weight: 550;
    border-radius: 5px;
    font-size: 15px;
}

#down:hover{
  background-color: #D97706;
}

/* Key facts counter */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@700&display=swap');

.counter-box {
  background-color: #fdf7e9;
  /* Light grey background color */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin: 10px;
  padding: 20px;
  height: 130px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /*width: 100%;*/
  /* Make the box width 100% of its column container */
}

.counter-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.counter-number {
  /*font-family: 'Roboto', sans-serif;*/
  /* Using Roboto font */
  font-size: 36px;
  font-weight: 600;
  color: #86514f;
  /* Dark color for number */
}

.counter-number span {
  font-size: inherit;
}

.counter-number .plus {
  font-weight: normal;
}

.cdata {
  font-size: 1rem;
  color: #86514f;
  margin-top: 8px;
  /* font-family: 'Tagesschrift', system-ui; */
  font-weight: 500px;
}

@media (max-width: 767px) {

  /* On smaller screens, you may want to adjust the column width */
  .col-sm-6 {
    max-width: 100%;
  }
}


/* Fees structure */
/* Fees structure */
.payment-box {
  margin-left: 15px;
  border-radius: 15px;
}

.section-title {
  font-weight: 600;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.label-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.label-row:last-child {
  border-bottom: none;
}

.highlight {
  font-weight: 600;
  color: #0d6efd;
}

.discount-box {
  background-color: #e7f8ecb8;
  border-left: 4px solid #28a74552;
  padding: 15px;
  border-radius: 8px;
  margin: 25px 0;
}

.installment-box {
  background-color: #feffdb52;
  border-left: 4px solid #ffc10752;
  padding: 15px;
  border-radius: 8px;
}

.cta {
  text-align: center;
  margin-top: 30px;
}

.cta .btn:hover {
  background: linear-gradient(159deg, rgba(0, 71, 171, 1) 0%, rgba(28, 169, 201, 1) 100%);
}

.cta .btn {
  background: rgb(0, 71, 171);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
}

/* ISO */
.iso {
  background-color: #f0eff0;
  border-radius: 10px;
}

.iso img {
  width: 100%;
}

#downReg {
  background-color: #066ac9;
  color: white;
}

/* Small screens */
@media (max-width: 390px) {
  .iso img {
    margin: 6px;
  }
}

@media (min-width: 390px) {
  .iso img {
    margin: 10px;
  }
}

/* Tablet-specific styles */
@media (min-width: 768px) and (max-width: 991px) {
  .fees .container {
    padding: 15px;
  }

  .payment-box {
    margin-left: 0;
  }

  .section-title {
    font-size: 1.5rem;
    text-align: center;
  }

  .label-row {
    font-size: 0.95rem;
    padding: 8px 0;
  }

  .discount-box,
  .installment-box {
    font-size: 0.95rem;
  }

  #Register form input,
  #Register form button {
    font-size: 0.95rem;
  }

  .iso img {
    max-width: 100px;
    margin: auto;
  }
}

/* Overlay image styles */
.overlay-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.overlay-container img {
  display: block;
  width: 100%;
  height: auto;
}

.overlay-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.overlay-text {
  position: absolute;
  bottom: 15px;
  left: 20px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
}

.img-effect {
  transition: all 0.4s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.img-effect:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/*Fees structure End*/

/* MERN section */
.custom-height {
  height: 270px;
}

.box2, .box3, .box4, .box5 {
  flex-shrink: 0;
}

.box3{
  background-color: #087ea4;
}

.flex-grow-1 {
  flex: 1;
}

.flex-grow-2 {
  flex: 2;
}

.box2 p, .box3 p, .box4 p, .box5 p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.box2 {
  /*background: url('../images/mongo.jpg') no-repeat center center;*/
  background-color: #d9ccbd;;
  background-size: cover;
  color: white;
  position: relative;
  overflow: hidden;
}

.box2 .overlay {
  position: absolute;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: rgba(0, 0, 0, 23%);
  z-index: 0;
}

.box2 > *:not(.overlay) {
  position: relative;
  z-index: 1;
}

.box5 {
  /*background: url('../images/pex.jpg') no-repeat center center;*/
  background-color: #6a8b44;
  background-size: cover;
  color: white;
  position: relative; 
  overflow: hidden;
}

.box5 .overlay {
  position: absolute;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: rgba(0, 0, 0, 25%);
  z-index: 0;
}

.box5 > *:not(.overlay) {
  position: relative;
  z-index: 1;
}

.object-fit-cover {
  object-fit: cover;
}

/* Default box styles */
.box2, .box3, .box4, .box5 {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for each box */
.box2:hover, .box3:hover, .box4:hover, .box5:hover {
  transform: scale(1.05);  /* Slightly scale the box */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);  /* Add shadow on hover */
}

@media (max-width: 767.98px) {
  .flex-grow-1, .flex-grow-2 {
    flex: unset;
  }
}



/* Extra small devices (phones, <576px) */
@media (max-width: 575.98px) {
  .img-column {
    width: 100%;
    height: auto;
  }
}

/* Small devices (≥576px and <768px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .img-column {
    width: 100%;
    height: auto;
  }
}

/* Medium devices (tablets, ≥768px and <992px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .img-column {
    width: 100%;
    height: 100%;
  }
}

/* Large devices (≥992px and <1200px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .img-column {
    width: 100%;
    height: 585px;
  }
}

/* Extra large devices (≥1200px and <1300px) */
@media (min-width: 1200px) and (max-width: 1299.98px) {
  .img-column {
    width: 100%;
    height: 524px;
  }
}

/* XX-Large devices (≥1300px and <1400px) */
@media (min-width: 1300px) and (max-width: 1399.98px) {
  .img-column {
    width: 100%;
    height: 502px;
  }
}

/* XXX-Large devices (≥1400px and <1500px) */
@media (min-width: 1400px) and (max-width: 1499.98px) {
  .img-column {
    width: 100%;
    height: 480px;
  }
}

/* Huge devices (≥1500px) */
@media (min-width: 1500px) {
  .img-column {
    width: 100%;
    max-height: 502px;
  }
}
/*MERN Section End*/

 /*MERN RoadMap section start*/
 .mern {
    height: 400px;
    display: flex;
    justify-content: center;
  }

  .timeline {
    position: relative;
    width: 100%;
    margin-top: 8%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 40px 0px;
    box-sizing: border-box;
    flex-wrap: wrap;
  }

  .timeline::before {
    content: '';
    position: absolute;
    height: 4px;
    background: #F59E0B;
    width: 77%;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 2px;
    /* animation: glowLine 4s linear infinite; */
    z-index: 0;
  }

  @keyframes glowLine {
    0% {
      box-shadow: 0 0 10px #0ff, 0 0 20px #0ff;
    }

    50% {
      box-shadow: 0 0 25px #0ff, 0 0 50px #0ff;
    }

    100% {
      box-shadow: 0 0 10px #0ff, 0 0 20px #0ff;
    }
  }

  .timeline-item {
    position: relative;
    flex: 1;
    text-align: center;
    max-width: 140px;
    z-index: 1;
  }

  .timeline-item .content {
    /*background: #4d0000;*/
    /*color: #ffffff;*/
    /*padding: 12px;*/
    /*border-radius: 10px;*/
    /*position: absolute;*/
    /*width: 100%;*/
    /*left: 50%;*/
    /*transform: translateX(-50%);*/
    /*box-shadow: 0 0 8px #fdac7caa, inset 0 0 10px #ff0404bb;*/
    /*transition: transform 0.3s ease, box-shadow 0.3s ease;*/
    /*font-size: 0.9rem;*/
    
    background: #ffffff;
    color: black;
    padding: 12px;
    border-radius: 10px;
    position: absolute;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 8px #ff690faa, inset 0 0 10px #0000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 0.9rem;
  }

  .timeline-item .content:hover {
    transform: translateX(-60%) scale(1.05);
    /* box-shadow: 0 0 15px #00fff7ff, inset 0 0 20px #00fff7ff; */
  }

  .timeline-item:nth-child(odd) .content {
    top: -110px;
  }

  .timeline-item:nth-child(even) .content {
    bottom: -110px;
  }

  .line-arrow {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    fill: #0ff;
    animation: moveArrow 8s linear infinite;
    z-index: 2;
  }

  @keyframes moveArrow {
    0% {
      left: 10%;
      opacity: 0;
    }

    10% {
      opacity: 1;
    }

    90% {
      opacity: 1;
    }

    100% {
      left: 90%;
      opacity: 0;
    }
  }

  /* Mobile Styles */
  @media (max-width: 768px) {
    .mern {
      height: auto;
    }

    .timeline {
      flex-direction: column;
      align-items: flex-start;
      padding: 20px 10px;
      /* remove fixed height or set min-height */
      height: auto;
      /* ensure container grows */
    }

    .timeline::before {
      width: 4px;
      height: 100%;
      /* fill vertical space */
      left: 20px;
      top: 0;
      transform: none;
    }

    .timeline-item {
      max-width: 90%;
      text-align: left;
      padding-left: 40px;
      margin-bottom: 40px;
      /* increase spacing */
      position: relative;
      /* ensure relative for ::before dot */
    }

    .timeline-item .content {
      position: relative !important;
      /* override any absolute */
      transform: none !important;
      left: 0 !important;
      top: 0 !important;
      bottom: auto !important;
      padding: 15px 20px;
      font-size: 1rem;
      /* box-shadow: 0 0 8px #00fff7aa, inset 0 0 10px #00fff7bb; */
    }

    .timeline-item::before {
      content: '';
      position: absolute;
      left: 10px;
      top: 15px;
      width: 15px;
      height: 15px;
      background-color: #F59E0B;
      border-radius: 50%;
      box-shadow: 0 0 10px #181818;
    }

    .line-arrow {
      display: none;
    }
  }
 /*MERN RoadMap section end*/

/* key benefits section */
.features{
  /* background-color:  #f1eebd61; */
  background-color: #f0eff0;
}

.list-style {
  margin: 15px;
  font-size: 16px;
  /*font-weight: 600;*/
  color: grey;
}

/* Steps */
.rect-box {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  /*background-color: #f9eae5;*/
  /*background-color: #F59E0B;*/
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  box-shadow: inset -1px -1px 20px 9px #d5d5d5;
}

.icon {
  font-size: 24px;
  color: black;
  /*background-color: #86514f;*/
  /* background-color: #F59E0B; */
  width: 70px;
  height: 70px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.icon img{
  width: 100px;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .icon {
    width: 90px;
  }

  .rect-box {
    padding: 6px;
  }
}

/* ******************* */
/*certificate*/

  /* Enhanced Certificate Container */
/*  .cert-column-container {*/
/*    margin-top:0;  */
/*    display: flex;*/
/*    flex-wrap: wrap;*/
/*    justify-content: center;*/
/*    align-items: flex-end;*/
    /* Aligns the bottom edges of certificates */
/*    gap: 10px;*/
/*    padding: 6px 10px;*/
    /* background: #f9f9f9; */
/*    border-radius: 12px;*/
/*    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);*/
/*  }*/

  /* Unified Card Styling */
/*  .certificate-card {*/
    /* background: white; */
/*    border-radius: 12px;*/
/*    overflow: hidden;*/
/*    padding: 16px;*/
    /*box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);*/
/*    transition: transform 0.3s ease, box-shadow 0.3s ease;*/
/*    width: 100%;*/
/*    max-width: 350px;*/
/*    position: relative;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    align-items: center;*/
/*  }*/

  /* Landscape-specific styling */
/*  .certificate-card.landscape img {*/
/*    width: 100%;*/
/*    max-height: 220px;*/
/*    object-fit: cover;*/
/*  }*/

  /* Portrait-specific styling */
/*  .certificate-card.portrait img {*/
/*    width: auto;*/
/*    max-height: 350px;*/
/*    max-width: 100%;*/
/*    object-fit: contain;*/
/*  }*/

  /* Certificate label */
/*  .cert-label {*/
/*    position: absolute;*/
/*    top: 0px;*/
/*    left: 20px;*/
/*    background: #162e48bf;*/
/*    color: white;*/
/*    padding: 4px 12px;*/
/*    border-radius: 20px;*/
/*    font-size: 14px;*/
/*    font-weight: 600;*/
/*    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);*/
/*    display: none;*/
/*  }*/
  
/*.certificate-card:hover .cert-label {*/
/*  display: block;*/
/*}*/

/*  @media (max-width: 768px) {*/
/*    .cert-column-container {*/
/*      flex-direction: column;*/
/*      align-items: center;*/
/*    }*/
/*  }*/


/* CERTIFICATE 1 - Zoom + slight tilt */
/*.cert-hover-1:hover {*/
 /* animation: none; /* stop float on hover */
/*  transform: scale(1.2) rotateZ(0deg);*/
/*  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);*/
/*  z-index: 10;*/
/*}*/

/* CERTIFICATE 2 - Stronger zoom + reverse tilt */
/*.cert-hover-2:hover {*/
/*  animation: none;*/
/*  transform: scale(1.2) rotateZ(0deg);*/
/*  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);*/
/*  z-index: 10;*/
/*}*/


/* Tablet layout: two side-by-side */
/*@media (min-width: 768px) and (max-width: 991px) {*/
/*  .cert-column-container {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    gap: 15px;*/
/*  }*/

/*  .certificate-box {*/
/*    flex: 0 0 48%;*/
/*    position: static;*/
/*  }*/

/*  .certificate-box img {*/
/*    width: 100%;*/
/*    height: auto;*/
/*  }*/
 
/*}*/

/* Certificate Column */
.cert-column-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  height: 100%;
  gap: 30px;
  padding: 20px;
  border-radius: 12px;
  /*background-color: #f9f9f9;*/
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

/* Certificate Card */
.certificate-card {
  /*background: #fff;*/
  border-radius: 12px;
  overflow: hidden;
  padding: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);*/
  position: relative;
}

/* Certificate Label */
.cert-label {
  position: absolute;
  top: 10px;
  left: 20px;
  background: #162e48e6;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  display: none;
}

.cert-label-1 {
  position: absolute;
  top: 10px;
  left: 30%;
  background: #162e48e6;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  display: none;
}
.certificate-card:hover .cert-label  {
  display: block;
}

.certificate-card-1:hover .cert-label-1  {
  display: block;
}

/* Images */
.certificate-card img {
  width: 80%;
  height: auto;
  object-fit: contain;
}

.certificate-card-1 img {
  width: 70%;
  height: auto;
  margin-left:30%;
  object-fit: contain;
}

/* Hover Effects */
.cert-hover-1:hover,
.cert-hover-2:hover {
  transform: scale(1.02);
  /*box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);*/
}

/* Responsive */
@media (max-width: 768px) {
  .cert-column-container {
    padding: 10px;
    gap: 20px;
  }
}


/* Floating Animation Keyframes */
@keyframes floatY {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes floatX {
  0%   { transform: translateX(0px); }
  50%  { transform: translateX(10px); }
  100% { transform: translateX(0px); }
}

/* Apply continuous animation to both certificates */
.certificate-card {
  animation: floatY 4s ease-in-out infinite;
}

.certificate-card-1 {
  animation: floatX 4.5s ease-in-out infinite;
}

/* Hover: slight zoom for interactivity */
.cert-hover-1:hover,
.cert-hover-2:hover {
  transform: scale(1.05);
  /*box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);*/
  transition: all 0.3s ease;
}


/* certificate end */

/* Courses */
.card img {
  height: 220px;
   width: 300px; 
  /* object-fit: cover; */
}

 .card{
  width: 300px;
} 

.course-text{
  color: #86514f;
}

  .course-button {
    position: relative;
    background-color: #86514f;
    color: white;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
  }

  .course-button .hover-text {
    display: none;
  }

  .card:hover .course-button .default-text {
    display: none;
  }

  .card:hover .course-button .hover-text {
    display: inline;
  }

  .course-button:hover {
    background-color: #4e201e;
  }

 .explore-btn {
    background-color: #F59E0B;
    color: #111827;
    border: none;
    border-radius: 5px;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
  }

  .explore-btn a {
    color: white;
    text-decoration: none;
  }

  .explore-btn:hover {
    background-color:  #D97706;
  }

@media (min-width: 768px) and (max-width: 1024px) {
    .carousel-inner .row {
      display: flex;
      flex-wrap: nowrap;
    }
  
    .carousel-inner .card {
      width: 90%;
      max-width: 280px;
      margin: auto;
    }
  
    .carousel-inner .col-md-4 {
      flex: 0 0 45%;
      max-width: 45%;
      display: block !important;
    }
  
    .carousel-inner .col-md-4.d-none.d-md-block {
      display: block !important;
    }
  
    .card img {
      width: 100%;
      height: auto;
    }
  
    .explore-btn {
      width: 80%;
      max-width: 300px;
    }
  }
  

/* contact form */

.contact {
  position: relative;
  background: url('../images/contact.jpg') no-repeat center center;
  background-size: cover;
  padding: 40px 0;
  margin-top: -18px;
  min-height: 50vh;
  display: flex;
  align-items: center;
  color: white;
  z-index: 1;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
   background: rgba(0, 0, 0, 0.6);  /*Better with rgba for transparency */
  z-index: 0;
}

.contact .container {
  position: relative;
  z-index: 1; /* Makes sure content appears above the overlay */
}


.custom-btn:hover {
  background-color: #ecac81 !important;
  transform: translateY(-2px); /* Optional: small lift effect */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.custom-btn {
  background-color: #FF8B00;;
  color: white;
  border: none;
  /* transition: background-color 0.3s ease, transform 0.2s ease; */
  position: relative;
  overflow: hidden;
  padding: 15px 40px;
  /* font-size: 20px; */
  font-weight: bold;
  color: #fff;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 15px #ff660088;
  transition: box-shadow 0.3s ease;
}

.form{
  width: 242px;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bs-body-color);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: var(--bs-body-bg);
  background-clip: padding-box;
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

/* footer section */
/*footer {*/
/*  background-color: black;*/
/*}*/

footer h5 {
  margin-bottom: 20px;
  font-weight: 600;
}

.main-footer-two__social {
  position: relative;
}

.main-footer-two__social a {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-color: transparent;
  border: 1px solid var(--eduact-base);
  color: var(--eduact-white);
  line-height: 30px;
  border-radius: 50%;
  font-size: 15px;
  text-align: center;
}

.main-footer-two__social a:hover {
  background-color: var(--eduact-base);
  color: white;
}

.main-footer-two__social a+a {
  margin-left: 10px;
}

footer a {
  display: inline-block;
  padding-left: 10px;
  transition: all 0.3s ease;
  color: black;
  /* default footer link color */
}

footer a:hover {
  color: orange !important;
  transform: translateX(5px);
  /* shifts text right on hover */
}

.copyright-text {
  background-color: black;
  color: white;
  padding: 15px;
}

.hover-text {
  transition: color 0.3s ease;
}

.hover-text:hover {
  color: orange !important;
  /* Change this to your desired hover color */
  cursor: pointer;
  /* Optional: to indicate it’s clickable */
}

.list-unstyled li{
    margin-bottom: 7px;
}

.list-unstyled li a{
    padding-left: 4px;
}

/* Animations */
.swing-top-fwd {
  -webkit-animation: swing-top-fwd 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  animation: swing-top-fwd 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}


/* .image-3d {
  border: 4px solid #f0f0f0;
  box-shadow: 8px 8px 16px rgba(0,0,0,0.3);  
 
  transition: transform 0.3s ease;
  width: 80%;
  height: 565px;
  object-fit: cover; /* optional: keeps aspect ratio if needed 
}

@media (max-width: 768px) {
  .image-3d {
    width: 100%;  
    height: auto; /* or remove height restriction for mobile 
  }
}

.image-3d:hover {
  transform: translateY(-5px);
  box-shadow: 8px 8px 20px rgba(0,0,0,0.5);
}


@media (min-width: 1400px) {
  .image-3d {
  border: 4px solid #f0f0f0;
  box-shadow: 8px 8px 16px rgba(0,0,0,0.3);  
  
  width: 65%;
  height: 565px;
  transition: transform 0.3s ease;
}

}  */