@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --pop: "Poppins", serif;
  --jost: "Jost", serif;
  --charcole: #36454f;
  --midnight: #101720;
}

body {
  color: var(--charcole);
  font-size: 1rem;
  font-weight: 400;
  line-height: 25px;
  font-family: "Poppins", serif;
  background-color: #fff;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--jost);
  color: var(--midnight);
  margin-top: 0px;
  font-weight: 600;
}

p {
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

section {
  padding-block: 3.5rem 2.5rem;
}

.sec-1 .heading1 {
  padding-top: 40px;
}

span {
  font-weight: 600;
}

.slider-img-1 {
  position: relative;
  width: 100%;
}

.head_btn {
  display: inline-block;
  border: 2px solid #121780;
  padding: .5rem 1rem;
  color: #fff;
  background-color: #121780;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  transition: .4s;
  -webkit-transition: .4s;
  -moz-transition: .4s;
  -ms-transition: .4s;
  -o-transition: .4s;
  text-decoration: none;
}

.head_btn:hover {
  background-color: #fff;
  color: #121780;
  font-weight: 500;
}

.courses-heading {
  padding-top: 20px;
  font-weight: 600;
  font-size: 18px;
}

.slider-img-1s {
  position: relative;
  max-height: 850px;
  overflow: hidden;
}

.p-body {
  font-size: 1.05rem;
  /* font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; */
}

.sub-text {
  padding-top: 20px;
  font-size: 18px;
  /* font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; */
}

.font-f {
  /* font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif; */
  font-size: 2em;
}

.text-small {
  font-size: 22px;
}

.btn-outline-success {
  padding: 10px;
  border-radius: 0px !important;
  color: green !important;
}

.btn-outline-success:hover {
  color: white !important;
}

.inner-text {
  width: 50%;
  position: absolute;
  margin-top: 200px;
  margin-left: 120px;
  color: white;
}

.heading1 {
  font-size: 1.2rem;
}

.heading1 h3 {
  color: #a89077;
}

.bold-heading {
  font-size: 5em;
  font-weight: 600;
}

.btn-primary {
  padding: 15px;
  border-radius: 0px;
  margin-top: 15px;
  background: rgb(6, 51, 102);
  border: none;
}

.sec-1 {
  position: relative;
  width: 100%;
}

.heading1 {
  color: rgba(1, 38, 80, 0.87);
  padding: 40px 0px 1.5rem;
  text-align: center;
  font-weight: 600;
}

.list-item {
  list-style: none;
}

.list-item-sub {
  padding-top: 12px;
}

.bi {
  display: inline-block;
  /* margin-top:12px ; */
}

.img-logo {
  width: 100%;
}

.text {
  width: 100%;
}

.ft-note {
  position: relative;
  width: 100%;
  background-color: black;
  overflow: hidden;
}

.ft-note input.form-control {
  color: #fff;
}

.text-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 11;
  color: white;
  transform: translate(-50%, -50%);
  text-align: center;
}

.ft-note :is(h1, h5) {
  color: #ddd;
}

.ft-note button {
  background: #e0c9b2;
  color: #000;
  font-weight: 500;
}

.newsletter {
  opacity: 0.3;
}

input {
  background: none !important;
  /* Removes both background color and image */
  border: none !important;
  border-bottom: 1px solid rgb(225, 222, 241) !important;
  border-radius: 0px !important;
}

.btn-outline-secondary {
  width: 50%;
  padding: 10px;
  color: rgb(215, 239, 247);
  border-radius: 0px !important;
}

input::placeholder {
  color: rgb(201, 195, 195) !important;
  /* Change the placeholder text color */
  background: transparent;
  /* Remove background of the placeholder */
}

footer {
  background-color: #eee;
  overflow: hidden;
}

footer .footer_bottom {
  background: #ddd;
  overflow: hidden;
}

footer .footer_bottom p {
  font-size: .92rem;
}

footer .footer_bottom a {
  color: #000;
}

.text-secondary {
  text-align: center;
}

/* Slider */

.slick-slide {
  margin: 0px 20px;
}

.slick-slide img {
  width: 100%;
}

.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.slick-list:focus {
  outline: none;
}

.slick-list.dragging {
  cursor: pointer;
  cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.slick-track {
  position: relative;
  top: 0;
  left: 0;
  display: block;
}

.slick-track:before,
.slick-track:after {
  display: table;
  content: "";
}

.slick-track:after {
  clear: both;
}

.slick-loading .slick-track {
  visibility: hidden;
}

.slick-slide {
  display: none;
  float: left;
  /* height: 100%; */
  min-height: 1px;
}

[dir="rtl"] .slick-slide {
  float: right;
}

.slick-slide img {
  display: block;
}

.slick-slide.slick-loading img {
  display: none;
}

.slick-slide.dragging img {
  pointer-events: none;
}

.slick-initialized .slick-slide {
  display: block;
}

.slick-loading .slick-slide {
  visibility: hidden;
}

.slick-vertical .slick-slide {
  display: block;
  height: auto;
  border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
  display: none;
}

.courses {
  position: relative;
  display: block;
  place-items: center;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 columns, each taking equal width */
  gap: 20px;
  /* Space between items */
  width: 100%;
  max-width: 1200px;
  /* Limit the width of the grid */
}

.border-outline {
  padding-top: 40px;
  padding-bottom: 40px;
  border-bottom: 2px solid rgb(90, 88, 88);
}

.grid-item img {
  width: 100%;
  /* Make the image fill its container */
  height: auto;
  /* Maintain the image aspect ratio */
  border-radius: 2px;
  /* Optional, adds rounded corners to the images */
}

.inner-grid {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Center website */

.partner-sec .column {
  text-align: center;
  vertical-align: middle;
}

.partner-sec .column img {
  max-height: 5.5rem;
  max-width: 100%;
}

.row {
  margin: 10px -16px;
}

/* Add padding BETWEEN each column */
.row,
.row > .column {
  padding: 8px;
}

/* Create three equal columns that floats next to each other */
.column {
  width: 20%;
}

/* Clear floats after rows */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Content */
.content {
  background-color: white;
  padding: 10px;
}

/* The "show" class is added to the filtered elements */
.show {
  display: block;
}

/* Style the buttons */
.btn1 {
  border: none;
  outline: none;
  padding: 12px 16px;
  background-color: rgb(238, 233, 233);
  cursor: pointer;
}

.btn1:hover {
  background-color: #ddd;
}

.btn1.active {
  background-color: #666;
  color: white;
}

/* Image scaling effect on hover */
/* Image styling */
.grid-item {
  position: relative;
  overflow: hidden;
  /* Ensures image doesn't overflow outside the item */
  /* Smooth transition for hover effect */
  border: 1px solid #eee;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item > div {
  overflow: hidden;
}

.grid-item > div:not(:first-of-type) {
  padding-inline: 1rem;
}

.masters_sec .grid-item > div:first-of-type {
  position: relative;
  height: 17rem;
}

.masters_sec .grid-item > div img {
  position: absolute;
  min-height: 100%;
  min-width: 100%;
  object-fit: cover;
}

/* Image scaling effect on hover */
.grid-item img {
  /* width: 100%;
    height: 100%; */
  object-fit: cover;
  /* Ensure the image fills the area without distortion */
  transition: transform 0.3s ease;
  /* Smooth transition for scaling */
}

/* Hover effect for grid item */
.grid-item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  /* Add shadow on hover */
}

/* Hover effect for image */
.grid-item:hover img {
  transform: scale(1.1);
  /* Scale the image slightly when hovering */
}

/* Style for the footer text */
.footer-card-text {
  margin-top: 10px;
  font-size: 14px;
  color: #555;
}

/* Style for the heading */
.courses-heading {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
}

/* Style for the course duration */
.courses-heading + p {
  font-size: 14px;
  color: #888;
}

footer {
  position: relative;
  width: 100%;
}

.ft-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Responsive layout for mobile devices (max-width: 599px) */
@media (max-width: 899px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns on medium screens */
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 15.4px;
  }

  .inner-text {
    width: 80%;
    margin-top: 20px;
    margin-left: 0px;
    padding: 20px;
  }

  .inner-text h4 {
    font-size: 1rem;
  }

  .bold-heading {
    font-size: 24px;
    font-weight: bold;
  }

  .btn-primary {
    margin-top: 10px;
  }

  .font-f {
    font-size: 2rem;
  }

  .heading1 {
    padding-bottom: 0px;
  }

  .ab-text {
    display: block;
    align-items: center;
    padding: 20px;
    word-wrap: break-word;
  }

  .w-50 {
    width: fit-content !important;
  }

  .list-item {
    padding-top: 0px;
    padding-left: 0rem;
  }

  /* .sub-text{
    width: 80%;
    font-size:12px;
    padding-top:0px;
    margin: 0 auto;
   } */
  .btn-outline-secondary {
    padding: 0px;
  }

  .btn-outline-success {
    width: 100% !important;
  }

  .newsletter-text {
    padding: 0 !important;
  }

  .btn-outline-success {
    width: 80% !important;
  }

  .text-secondary {
    font-size: 14px;
    width: 100%;
  }

  .column {
    width: 25%;
    /* Four items per row */
    padding: 15px;
  }

  .text-overlay {
    width: 100%;
  }

  h5 {
    font-size: 0.75rem;
  }

  .sub-text {
    padding-top: 20px;
    font-size: 16px;
  }

  .border-outline {
    padding-top: 0px;
    padding-bottom: 40px;
  }

  .courses .master {
    padding-top: 30px;
    padding-bottom: 10px;
  }

  .ft-note {
    height: 300px;
  }

  .ft-note .newsletter img {
    height: 100%;
    max-width: none;
  }
}

@media (max-width: 599px) {
  .grid-container {
    grid-template-columns: 1fr;
    /* 1 column on small screens */
  }

  .partner-sec .column {
    width: 33%;
  }
}

.whatsapp_btn {
  display: inline-block;
  border: 2px solid #198754;
  background-color: #198754;
  color: #fff;
  padding: 10px 20px;
  transition: .4s;
  -webkit-transition: .4s;
  -moz-transition: .4s;
  -ms-transition: .4s;
  -o-transition: .4s;
}

.whatsapp_btn:hover {
  background: #fff;
  color: #198754;
}

.marquee-container {
  display: block;
  position: fixed;
  top: 0;
  width: 100%;
  overflow: hidden;
  background-color: #e50b13;
  /* Blue background */
  padding: 0.75rem 0;
  text-align: center;
  z-index: 999;
}

.marquee-container > div .marquee-content {
  /* animation: marquee 10s linear infinite;
  -webkit-animation: marquee 10s linear infinite; */
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
}

.marquee-content h5 {
  font-weight: 500;
  color: #fff;
  margin-bottom: 0;
  letter-spacing: 0.3px;
  font-family: var(--popp);
  font-size: 1rem;
}

/* Animation for the marquee effect */
@keyframes marquee {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}