
:root {
  --primary-color: #04223A;
}

* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  width: 100vw;
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
  background-color: #ffffff;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  width: 100%;
  max-width: 100%;
}

.form-control,
.form-control:focus,
.form-control:active {
  border: none;
  outline: none;
  box-shadow: none;
  min-height: 48px !important;
}

.form-control::placeholder {
  color: black;
  opacity: 1;
}

a,
a:hover,
a:focus,
a:active {
  text-decoration: none;
  outline: none;
}

.mb {
  margin-bottom: 30px;
}

li {
  font-size: 17px;
  font-weight: 400;
}

p {
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  color: #111111;
}

.d-flex {
  display: flex;
  align-items: center;
  gap: 10px;
}

.align-center {
  align-items: center;
}

@media (max-width: 768px) {
  .flex-reverse {
    flex-direction: column-reverse !important;
  }

  .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 768px) {
  .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-md-4 {
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
  }
  .col-md-8 {
    flex: 0 0 66.66666%;
    max-width: 66.66666%;
  }
  .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-md-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-md-2 {
    flex: 0 0 16.666%;
    max-width: 16.666%;
  }
  .col-md-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-md-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-md-10 {
    flex: 0 0 auto;
    width: 83.333333%;
    max-width: 83.333333%;
  }
}

@media (max-width:1250px) {
  .container {
    padding-right: 10px;
    padding-left: 10px;
  }
}

.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11 {
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}
.container {
  max-width: 1400px;
  margin: auto;
}
.row {
  display: flex;
  flex-flow: row wrap;
}
a,
a:active,
a:focus {
  color: #333;
  text-decoration: none;
  transition-timing-function: ease-in-out;
  -ms-transition-timing-function: ease-in-out;
  -moz-transition-timing-function: ease-in-out;
  -webkit-transition-timing-function: ease-in-out;
  -o-transition-timing-function: ease-in-out;
  transition-duration: .2s;
  -ms-transition-duration: .2s;
  -moz-transition-duration: .2s;
  -webkit-transition-duration: .2s;
  -o-transition-duration: .2s;
}




/* HEADER */

header{
  padding: 5px 0px;
  box-shadow: 0 3px 30px 0 rgb(0 0 0 / 10%);

}
header .logo img{
  width: 200px;
}
header .header-main{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .header-main .cta-btn .btn {
  background: linear-gradient(to right, var(--primary-color) 50%, white 50%);
  background-size: 200% 100%;
  background-position: left bottom;
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  border: solid 1px var(--primary-color);
  transition: all 0.4s ease;
  font-size: 16px;
  font-weight: 600;
}

header .header-main .cta-btn .btn:hover {
  background-position: right bottom;
  color: var(--primary-color);
  border: solid 1px var(--primary-color);
}

@media (max-width:768px) {
  header .logo img {
    width: 160px;
  }
  .main-content {
    padding: 40px 0px;
  }
}
@media (max-width:1450px) {
  header .container{
    padding: 0px 20px;
  }
}

/* FOOTER */


footer{
    background-color: var(--primary-color);
    padding: 60px 0px;
}
footer .row{
    align-items: center;
}
footer  .logo{
    display: flex;
    justify-content: end;
}
footer  .logo img{
    max-width: 250px;
}
footer ul{
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
footer ul li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, white 50%, var(--primary-color) 50%);
  background-size: 200% 100%;
  background-position: left bottom;
  color: var(--primary-color);
  padding: 10px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.4s ease;
  border: 1px solid var(--primary-color);
  width: 44px;
  height: 44px;
  font-size: 18px; /* Adjust based on icon size */
}

footer ul li a:hover {
  background-position: right bottom;
  color: white;
  border: 1px solid white;
}

footer .left h2{
    font-size: 20px;
    color: white;
    border-bottom: 1px solid #ffffff61;
    max-width: 300px;
    font-weight: 500;
    padding: 5px 0px;
    margin-bottom: 20px;
}
footer .left span a span{
    font-size: 25px;
    font-weight: 500;
    color: white;
}
footer .left span a {
  display: flex;
  align-items: center;
  gap: 20px;
}
footer .left span a i{
    background-color: white;
    color: var(--primary-color);
    padding: 14px;
    border-radius: 50%;
    font-size: 20px;
}
@media (max-width:768px) {
  footer .left span a {
    font-size: 16px;
  }
  footer .logo{
    justify-content: start;
    margin-bottom: 30px;
  }
 
  footer .row{
    flex-direction:column-reverse;
  }
}

/* CONTENT */
.main-content{
    padding: 60px 0px;
    display: flex;
    justify-content: center;
}
.main-content .container{
    max-width: 1200px;
}
.main-content .heading-main{
    margin-bottom: 40px;
}
.main-content .heading-main h1{
    font-size: 50px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 60px;
    color: var(--primary-color);
}
.main-content .heading-main p{
    font-size: 16px;
}

.main-content .step-heading{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}
.main-content .step-heading span{
    font-size: 25px;
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 8px;
    height: 50px;
    width: 50px;
    color: white;
    font-weight: 600;
    text-align: center;
}
.main-content .step-heading h3{
    font-size: 22px;
    font-weight: 500;
    color: var(--primary-color);
    text-transform: uppercase;
}
.main-content .steps-box{
    border-radius: 20px;
    box-shadow: 0 3px 30px 0 rgb(0 0 0 / 10%);
    padding: 20px;
    margin-bottom: 50px;
}


@media (max-width:768px) {
    .main-content .heading-main h1{
        font-size: 18px;
        line-height: 35px;
    }
    .main-content .steps-box{
      padding: 12px 8px;
      margin-bottom: 20px;
    }
    .main-content .step-heading span {
      font-size: 18px;
      height: 40px;
      width: 40px;
    }
    .main-content .step-heading h3 {
      font-size: 18px;
    }
}



/* CHOOSE PROGRAM */
.main-content .choose-program .program-options {
  display: grid;
  grid-template-columns: auto auto auto auto;
  gap: 20px;
  margin-top: 10px;
}

.main-content .choose-program .program-box {
  background-color: #f1f1f1;
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 20px 30px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: bold;
  position: relative;
  padding-right: 60px;
}

.main-content .choose-program .program-box input[type="radio"] {
  display: none;
}

.main-content .choose-program .program-box span {
  font-size: 16px;
  color: #333;
  font-weight: 500;
}
.main-content .choose-program .program-box:hover {
  border-color: var(--primary-color);
  background-color: #e0f0ff;
}
.main-content .choose-program .program-box input[type="radio"]:checked + span {
  color: var(--primary-color);
}
.main-content .choose-program .program-box input[type="radio"]:checked + span::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  pointer-events: none;
}
.main-content .choose-program .program-box {
  position: relative;
}


@media (max-width:768px) {
    .main-content .choose-program .program-box {
                padding-right: 30px !important;
        padding: 15px 10px;
        height: 79px;
    }
    .main-content .choose-program .program-box span{
      font-size: 12px;
    }
   
  
}

@media (max-width:1000px) {
    .main-content .choose-program .program-options{
  grid-template-columns: auto auto;
  gap: 10px;
  }
}

.main-content .choose-program .program-box input[type="radio"]:checked + span::after {
  content: "";
  position: absolute;
  top: 40%;
  right: 10px;
  width: 12px;
  height: 12px;
  background-color: var(--primary-color);
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 1px var(--primary-color);
}



/* CHOOSE DEPARTMENT */

.choose-department .department-grid {
  display: grid;
  grid-template-columns: auto auto auto auto;
  gap: 15px;
  margin-top: 20px;
}

.choose-department .department-card {
  position: relative;
  overflow: hidden;
}

.choose-department .department-card input[type="radio"] {
  display: none;
}

.choose-department .department-card .card-content{
      border: 2px solid #ddd;
  border-radius: 12px;
  padding: 20px 10px;
  cursor: pointer;
  transition: 0.3s;
  background-color: #ffffff;
  height: 100%;
}
.choose-department .department-card .card-content span {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #333;
}
.choose-department .department-card:hover {
  border-color: var(--primary-color);
}
.choose-department .department-card input[type="radio"]:checked + .card-content {
  color: var(--primary-color);
}
.choose-department .department-card input[type="radio"]:checked + .card-content {
  color: var(--primary-color);
  background-color: #00B2FF; /* <-- Change this to your desired selected background */
  border-radius: 12px;
  padding: 20px 10px;
}

 .choose-department .department-card input[type="radio"]:checked + .card-content::after {
  content: "✔";
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--primary-color);
  color: white;
  width: 20px;
  height: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
} 
.choose-department .department-card .card-content {
    display: flex;
    align-items: center;
    gap: 10px;
}
.choose-department .department-card .card-content img{
    width: 50px;
    min-width: 50px;
}
@media (max-width:768px) {
    .choose-department .department-grid{
        grid-template-columns: auto auto;
    }
    .choose-department .department-card .card-content{
      padding: 10px 5px;
      gap: 5px;
    }
    .choose-department .department-card .card-content span {
      font-size: 12px;
    }
    .choose-department .department-grid {
      gap: 6px;
    }
    .choose-department .department-card .card-content img{
      width: 35px;
      min-width: 35px;
    }
}


/* SELECT COURSE */

.choose-course .select-course .course-grid {
  display: flex;
  flex-flow: row wrap;
  gap: 15px;
  margin-top: 20px;
}

.choose-course .select-course .course-card {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.choose-course .select-course .course-card input[type="radio"] {
  display: none;
}

.choose-course .select-course .course-card span {
  color: #333;
  font-size: 15px;
  transition: 0.3s;
  padding: 12px 10px;
  background-color: #f1f1f1;
  border: 2px solid #ddd;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 500;
}

.choose-course .select-course .course-card:hover {
  border-color: var(--primary-color);
  background-color: #eaf6ff;
}

/* ✅ When selected */
.choose-course .select-course .course-card input[type="radio"]:checked + span {
  background-color: var(--primary-color);
  color: white;

}

@media (max-width:768px) {
  .choose-course .select-course .course-card span{
    padding: 10px;
    font-size: 13px;
  }
  .choose-course .select-course .course-grid {
    gap: 10px;
  }
}

/* COURSE DETAILS */

.course-details .details-content .course-title h3{
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.course-details .details-content .course-title .title-bottom{
    display: flex;
    align-items: center;
}
.course-details .details-content .course-title .title-bottom span{
    color: black;
    font-weight: 400;
    padding-left:20px;
    font-size: 16px;
}
.course-details .details-content .course-title .title-bottom span:first-child{
    border-right: 1px solid rgba(0, 0, 0, 0.37);
    padding-left: 0px;
    padding-right: 20px;
}
.course-details .details-content .course-overview{
    margin: 20px 0px;
}
.course-details .details-content .course-overview h4{
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}
.course-details .details-content .course-overview p{
    font-size: 15px;
}
.course-details .details-content .course-details-list{
    margin: 20px 0px;
}
.course-details .details-content .course-details-list h5{
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 5px;
}
.course-details .details-content .course-details-list p{
    font-size: 15px;
}

.course-details .details-content .apply-button .btn {
  background: linear-gradient(to right, var(--primary-color) 50%, white 50%);
    border: solid 1px var(--primary-color);
  background-size: 200% 100%;
  background-position: left bottom;
  color: white;
  padding: 12px 40px;
  border-radius: 5px;
  transition: all 0.4s ease;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
}

.course-details .details-content .apply-button .btn:hover {
  background-position: right bottom;
  color: var(--primary-color);
  border: solid 1px var(--primary-color);
}



@media (max-width:768px) {
  .course-details .details-content .course-title h3{
    font-size: 16px;
  }
  .course-details .details-content .course-title .title-bottom span {
    font-size: 14px;
    padding: 0px;
    border: none !important;
  }
  .course-details .details-content .course-title .title-bottom{
    flex-direction: column;
    align-items: start;
    gap: 10px;
  }
  .course-details .details-content .course-overview p{
    font-size: 14px;
  }
  .course-details .details-content .course-details-list p{
    font-size: 14px;
  }
}



/* POPUP */

.popup-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
}

.popup-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 750px;
  position: relative;
  animation: slideInUp 0.4s ease;
}
.popup-content h2{
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 20px;
}
.close-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
}

@keyframes slideInUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}


.popup-overlay .form-grid .form-group{
  margin-bottom: 15px;
}
.popup-overlay .form-grid .form-group .form-control{
  padding: 12px;
  border: solid 1px #0000003d;
  border-radius: 10px;
  width: 100%;
}
.popup-overlay .form-grid .form-group.button{
  display: flex;
  justify-content: end;
  margin-bottom: 10px;
}

.popup-overlay .form-grid .form-group .btn{
  background: linear-gradient(to right, var(--primary-color) 50%, white 50%);
    border: solid 1px var(--primary-color);
  background-size: 200% 100%;
  background-position: left bottom;
  color: white;
  padding: 12px 40px;
  border-radius: 5px;
  border: solid 1px var(--primary-color);
  transition: all 0.4s ease;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
}
.popup-overlay .form-grid .form-group .btn:hover {
  background-position: right bottom;
  color: var(--primary-color);
  border: solid 1px var(--primary-color);
}


@media (max-width:768px) {
  .popup-content h2 {
    font-size: 18px;
  }
  .popup-overlay .form-grid .form-group {
    padding: 0px;
    margin-bottom: 12px;
  }
}



.text-danger {
  color: #dc3545 !important;
}
