/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --black-color: hsl(0, 0%, 0%);
  --black-color-light: hsl(220, 24%, 15%);
  --black-color-lighten: hsl(220, 20%, 18%);
  --white-color: #fff;
  --body-color: hsl(220, 100%, 97%);
 /**
   * colors
   */

   --selective-yellow: hsl(42, 94%, 55%);
   --eerie-black-1: hsl(0, 0%, 9%);
   --eerie-black-2: hsl(180, 3%, 7%);
   --quick-silver: hsl(0, 0%, 65%);
   --radical-red: hsl(351, 83%, 61%);
   --light-gray: hsl(0, 0%, 80%);
   --isabelline: hsl(36, 33%, 94%);
   --gray-x-11: hsl(0, 0%, 73%);
   --kappel_15: hsla(170, 75%, 41%, 0.15);
   --platinum: hsl(0, 0%, 90%);
   --gray-web: hsl(0, 0%, 50%);
   --black_80: hsla(0, 0%, 0%, 0.8);
   --white_50: hsla(0, 0%, 100%, 0.5);
   --black_50: hsla(0, 0%, 0%, 0.5);
   --black_30: hsla(0, 0%, 0%, 0.3);
   --kappel: hsl(170, 75%, 41%);
   --white: hsl(0, 0%, 100%);



  /**
   * shadow
   */

   --shadow-1: 0 6px 15px 0 hsla(0, 0%, 0%, 0.05);
   --shadow-2: 0 10px 30px hsla(0, 0%, 0%, 0.06);
   --shadow-3: 0 10px 50px 0 hsla(220, 53%, 22%, 0.1);
 
   /**
    * radius
    */
 
   --radius-pill: 500px;
   --radius-circle: 50%;
   --radius-3: 3px;
   --radius-5: 5px;
   --radius-10: 10px;
 
  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);
  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat", sans-serif;
  --normal-font-size: .938rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;

  --section-padding: 40px;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
  }
}


/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);

 
}

ul {
  list-style: none;
}
li { list-style: none; }

a,
img,
span,
data,
input,
button,
ion-icon { display: block; }

a {
  color: inherit;
  text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1300px;
  margin-inline: 1.5rem;
}


.section { padding-block: var(--section-padding); }

.shape {
  position: absolute;
  display: none;
}

.section-title {
  --color: var(--radical-red);
  font-size: 2.5rem;
  text-align: center;
}

.section-title .span {
  display: inline-block;
  color: var(--color);
}

.btn {
  background-color: var(--kappel);
  color: var(--white);
  font-family: var(--ff-league_spartan);
  font-size: var(--fs-4);
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: max-content;
  padding: 10px 20px;
  border-radius: var(--radius-5);
  overflow: hidden;
}

.has-before,
.has-after {
  position: relative;
  z-index: 1;
}

.has-before::before,
.has-after::after {
  position: absolute;
  content: "";
}

.btn::before {
  inset: 0;
  background-image: var(--gradient);
  z-index: -1;
  border-radius: inherit;
  transform: translateX(-100%);
  transition: var(--transition-2);
}

.btn:is(:hover, :focus)::before { transform: translateX(0); }

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--light-gray);
  overflow: hidden;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-subtitle {
  font-size: var(--fs-5);
  text-transform: uppercase;
  font-weight: var(--fw-500);
  letter-spacing: 1px;
  text-align: center;
  margin-block-end: 15px;
}

.section-text {
  font-size: 14px;
  text-align: center;
  margin-block: 15px 25px;
  color: rgb(77, 77, 77);
  font-weight:600;
  line-height: 1.75;
}

.grid-list {
  display: grid;
  gap: 30px;
}
::-webkit-scrollbar { width: 10px; }

::-webkit-scrollbar-track { background-color: hsl(0, 0%, 98%); }

::-webkit-scrollbar-thumb { background-color: hsl(0, 0%, 80%); }

::-webkit-scrollbar-thumb:hover { background-color: hsl(0, 0%, 70%); }


.category-card,
.stats-card { background-color: hsla(var(--color), 0.1); }

:is(.course, .blog) .section-title { margin-block-end: 40px; }



.has-bg-image {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/*=============== HEADER ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white-color);
  box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3);
  z-index: var(--z-fixed);
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
}

.nav__logo, 
.nav__burger, 
.nav__close {
  color: var(--black-color);
}

.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  font-weight: var(--font-semi-bold);
}

.nav__logo i {
  font-weight: initial;
  font-size: 1.25rem;
}

.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
}

.nav__burger, 
.nav__close {
  position: absolute;
  width: max-content;
  height: max-content;
  inset: 0;
  margin: auto;
  font-size: 1.25rem;
  cursor: pointer;
  transition: opacity .1s, transform .4s;
}

.nav__close {
  opacity: 0;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1118px) {
  .nav__menu {
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    pointer-events: none;
    opacity: 0;
    transition: top .4s, opacity .3s;
  }
  .nav__menu::-webkit-scrollbar {
    width: 0;
  }
}

.nav__link {
  color: black;
  background-color: white;
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color .3s;
}


/* Show menu */
.show-menu {
  opacity: 1;
  top: 3.5rem;
  pointer-events: initial;
}

/* Show icon */
.show-icon .nav__burger {
  opacity: 0;
  transform: rotate(90deg);
}
.show-icon .nav__close {
  opacity: 1;
  transform: rotate(90deg);
}

/*=============== DROPDOWN ===============*/
.dropdown__item {
  cursor: pointer;
}

.dropdown__arrow {
  font-size: 1.25rem;
  font-weight: initial;
  transition: transform .4s;
}

.dropdown__link, 
.dropdown__sublink {
  padding: 1.25rem 1.25rem 1.25rem 2.5rem;
  color: var(--white-color);
  background-color: grey;
  display: flex;
  align-items: center;
  column-gap: .5rem;
  font-weight: var(--font-semi-bold);
  transition: background-color .3s;
}

.dropdown__link i, 
.dropdown__sublink i {
  font-size: 1.25rem;
  font-weight: initial;
}

.dropdown__link:hover, 
.dropdown__sublink:hover {
  background-color: var(--black-color);
}

.dropdown__menu, 
.dropdown__submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease-out;
}

/* Show dropdown menu & submenu */
.dropdown__item:hover .dropdown__menu, 
.dropdown__subitem:hover > .dropdown__submenu {
  max-height: 1000px;
  transition: max-height .4s ease-in;
}

/* Rotate dropdown icon */
.dropdown__item:hover .dropdown__arrow {
  transform: rotate(180deg);
}

/*=============== DROPDOWN SUBMENU ===============*/
.dropdown__add {
  margin-left: auto;
}

.dropdown__sublink {
  background-color: var(--black-color-lighten);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }

  .nav__link {
    padding-inline: 1rem;
  }
}

/* For large devices */
@media screen and (min-width: 1118px) {
  .container {
    margin-inline: auto;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
    display: flex;
    justify-content: space-between;
  }
  .nav__toggle {
    display: none;
  }
  .nav__list {
    height: 100%;
    display: flex;
    column-gap: 3rem;
  }
  .nav__link {
    height: 100%;
    padding: 0;
    justify-content: initial;
    column-gap: .25rem;
  }
  .nav__link:hover {
    background-color: transparent;
  }

  .dropdown__item, 
  .dropdown__subitem {
    position: relative;
  }

  .dropdown__menu, 
  .dropdown__submenu {
    max-height: initial;
    overflow: initial;
    position: absolute;
    left: 0;
    top: 6rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, top .3s;
  }

  .dropdown__link, 
  .dropdown__sublink {
    padding-inline: 1rem 3.5rem;
  }

  .dropdown__subitem .dropdown__link {
    padding-inline: 1rem;
  }

  .dropdown__submenu {
    position: absolute;
    left: 100%;
    top: .5rem;
  }

  /* Show dropdown menu */
  .dropdown__item:hover .dropdown__menu {
    opacity: 1;
    top: 5.5rem;
    pointer-events: initial;
    transition: top .3s;
  }

  /* Show dropdown submenu */
  .dropdown__subitem:hover > .dropdown__submenu {
    opacity: 1;
    top: 0;
    pointer-events: initial;
    transition: top .3s;
  }
}
.active-link {
  color: rgb(255, 0, 0);
}

.overlay {
  position: fixed;
  inset: 0;
  background-color: var(--black_80);
  pointer-events: none;
  opacity: 0;
  z-index: 1;
  transition: var(--transition-1);
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}


/*Booking Container*/
.book {
  width: 100%;
  padding: 30px;
  height: 400px;
  background-image: url('/assets/images/Home-tmno1.jpeg'); 
  background-size: cover;
  background-position: center;
  background-attachment: fixed; 
  display: flex;
  flex-direction: column; /* Stack items vertically */
  align-items: center;
  justify-content: center; /* Center items vertically */
  color: white;
  position: relative;
}

.book::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for better text visibility */
  z-index: 0;
}

.book-text {
  max-width: 60%; 
  margin-bottom: 20px; /* Add some space below the text */
  text-align: center;
  position: relative;
  z-index: 1;
}

.book-text h3 {
  font-size: 2.6rem;
}

.book-text p {
  font-size: 1.2rem;
  line-height: 1.8;
}

.slide-button {
  display: flex;
  align-items: center; /* Center align items vertically */
  padding: 12px 24px;
  background-color: white;
  color: black;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease, transform 0.3s ease;
  z-index: 1;
}

.slide-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: rgb(255, 219, 73);
  transition: left 0.3s ease;
  z-index: -1;
}

.slide-button:hover::before {
  left: 0;
}

.slide-button:hover .button-text {
  color: black;
}

.button-text {
  position: relative;
  z-index: 1;
  font-size: 1.2rem;
  font-weight: bold;
  margin-right: 8px; /* Add some space between text and icon */
}

.slide-button ion-icon {
  position: relative;
  transition: transform 0.3s ease;
}

.slide-button:hover ion-icon {
  transform: translateX(5px); 
  color: rgb(0, 0, 0);
}
/* Media Query for screens up to 480px */
@media (max-width: 480px) {
  .book {
    height: auto;
    padding: 10px;
  }

  .book-text {
    max-width: 100%;
  }

  .book-text h3 {
    font-size: 1.2rem;
  }

 
  .slide-button {
    padding: 10px 20px;
  }

  .button-text {
    font-size: 1rem;
  }

  .slide-button ion-icon {
    font-size: 1.2rem;
  }
}

/* Media Query for screens up to 762px */
@media (max-width: 762px) {
  .book {
    height: auto;
    padding: 25px;
  }

  .book-text {
    max-width: 80%;
  }

  .book-text h3 {
    font-size: 2rem;
  }

  .slide-button {
    padding: 12px 24px;
  }

  .button-text {
    font-size: 1.1rem;
  }

  .slide-button ion-icon {
    font-size: 1.4rem;
  }
}


/*-----------------------------------*\
  Certified Section
\*-----------------------------------*/
.certifications {
  text-align: center;
  padding: 50px 20px;
  background-color: #f9f9f9; /* Optional: to differentiate the section */
}

.certifications h2 {
  font-size: 24px;
  margin-bottom: 30px;
}

.certifications-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap; /* Allows images to wrap to the next line on smaller screens */
}

.certifications-grid img {
  max-width: 200px; /* Adjust the size as needed */
  max-height: 200px; /* Adjust the size as needed */
  object-fit: contain;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Optional: to add a subtle shadow */
  border-radius: 10px; /* Optional: to add rounded corners */
  padding: 10px; /* Optional: to add padding around images */
  background-color: #fff; /* Optional: to add a background color */
}

/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero-container { padding-inline: 15px; }


.hero { padding-block-start: calc(var(--section-padding) + 40px); }

.hero .hero-container {
  display: grid;
  gap: 40px;
}

.hero-text {
  color: var(--eerie-black-1);
  font-size: var(--fs-4);
  text-align: center;
  margin-block: 18px 20px;
}

.hero .btn { margin-inline: auto; }

.hero-banner {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: flex-start;
  gap: 30px;
}

.hero-banner .img-holder.one {
  border-top-right-radius: 70px;
  border-bottom-left-radius: 110px;
}

.hero-banner .img-holder.two {
  border-top-left-radius: 50px;
  border-bottom-right-radius: 90px;
}

body {
  font-family: Arial, sans-serif;
  background: url('your-background-image.jpg') no-repeat center center fixed;
  background-size: cover;
  margin: 0;
  padding: 0;
}
/* Overlay styling */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  z-index: 1;
}

/* Popup styling */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 440px;
  height: auto;
  max-height: 90%;
  padding: 20px;
  background: #ffd700;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  z-index: 2;
  display: none;
  border-radius: 10px;
  overflow: hidden;
}

/* Popup header styling */
.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popup-logo {
  width: 300px;
  height: auto;
  margin-right: 10px;
}

.popup-header h2 {
  margin: 0;
  flex: 1;
  text-align: center;
}

.popup-header .close {
  cursor: pointer;
  font-size: 24px;
}

/* Popup content styling */
.popup-content {
  position: relative;
  text-align: center;
}

.popup-content h3 {
  margin: 10px 0;
  font-size: 1.2em;
}

.popup-content p {
  font-size: 1em;
  margin-top: 10px;
}

/* Form styling */
#popup-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#popup-form label {
  margin-top: 10px;
  font-size: 1em;
}

#popup-form input {
  width: 90%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
}

#popup-form button {
  margin-top: 10px;
  padding: 10px;
  width: 100%;
  border: none;
  background-color: #000;
  color: #fff;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1em;
}

#popup-form button:hover {
  background-color: #333;
}

/* Circle design */
.circle-design {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  z-index: -1;
}

.circle-design-1 {
  width: 120px;
  height: 120px;
  top: -15px;
  right: -15px;
}

.circle-design-2 {
  width: 145px;
  height: 145px;
  bottom: -20px;
  left: -20px;
}

/* Success message styling */
#success-message {
  margin-top: 20px;
}

/* Responsive styling */
@media (max-width: 600px) {
  .popup {
    width: 95%;
    padding: 15px;
  }

  .popup-content h3 {
    font-size: 1.1em;
  }

  .popup-content p {
    font-size: 0.9em;
  }

  .popup-logo {
    width: 300px;
    height: auto;
    margin-right: 10px;
  }

  #popup-form label {
    font-size: 0.9em;
  }

  #popup-form input {
    font-size: 0.9em;
  }

  #popup-form button {
    font-size: 0.9em;
  }

  .circle-design-1 {
    width: 140px;
    height: 140px;
  }

  .circle-design-2 {
    width: 160px;
    height: 160px;
  }
}


/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about {
  padding-block-start: 0;
  overflow: hidden;
}

.about .hero-container {
  display: grid;
  gap: 30px;
}

.about-banner {
  position: relative;
  z-index: 1;
}

.about-banner .img-holder { border-radius: var(--radius-10); }

.call-button-container {
  position: relative; /* This allows absolute positioning inside */
  height: 200px; /* Adjust container height as needed */
}

.shape.hero-shape-1 {
  position: absolute;
  top: 65%; /* Moves the image 1 inch from the top */
  left: 35%; /* Centers the image horizontally */
  transform: translateX(-50%); /* Adjusts for the image width */
}

.about-shape-2 {
  display: block;
  bottom: -100px;
  left: -60px;
  animation: bounce 2.5s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% { transform: translateY(0); }

  40% { transform: translateY(-30px); }

  60% { transform: translateY(-15px); }
}

.about :is(.section-subtitle, .section-title, .section-text) {
  text-align: left;
}

.about-item {
  margin-block: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.about-item ion-icon {
  color: var(--selective-yellow);
  font-size: 20px;
  --ionicon-stroke-width: 50px;
}

.about-item .span {
  color: var(--eerie-black-1);
  font-family: var(--ff-league_spartan);
}



/*-----------------------------------*\
  #COURSE
\*-----------------------------------*/




.course { background-color: var(--isabelline); }

.course-card {
  position: relative;
  background-color: var(--white);
  border-radius: var(--radius-5);
  overflow: hidden;
}

.course-card .img-cover { transition: var(--transition-2); }

.course-card:is(:hover, :focus-within) .img-cover { transform: scale(1.1); }

.course-card :is(.abs-badge, .badge) {
  font-family: var(--ff-league_spartan);
  border-radius: var(--radius-3);
}

.course-card .abs-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--selective-yellow);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
  padding: 6px 8px;
  padding-block-end: 3px;
}

.course-card .abs-badge ion-icon {
  font-size: 18px;
  margin-block-end: 5px;
  --ionicon-stroke-width: 50px;
}

.course-card .card-content { padding: 25px; }

.course-card .badge {
  background-color: var(--kappel_15);
  max-width: max-content;
  color: var(--kappel);
  line-height: 25px;
  padding-inline: 10px;
}

.course-card .card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-block: 15px 8px;
  transition: var(--transition-1);
}

.course-card .card-title:is(:hover, :focus) { color: var(--kappel); }

.course-card :is(.wrapper, .rating-wrapper, .card-meta-list, .card-meta-item) {
  display: flex;
  align-items: center;
}

.course-card .wrapper { gap: 10px; }

.course-card .rating-wrapper { gap: 3px; }

.course-card .rating-wrapper ion-icon { color: var(--selective-yellow); }

.course-card .rating-text {
  color: var(--eerie-black-1);
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
}

.course-card .price {
  color: var(--radical-red);
  font-family: var(--ff-league_spartan);
  font-size: var(--fs-4);
  font-weight: var(--fw-600);
  margin-block: 8px 15px;
}

.course-card .card-meta-list { flex-wrap: wrap; }

.course-card .card-meta-item {
  position: relative;
  gap: 5px;
}

.course-card .card-meta-item:not(:last-child)::after {
  content: "|";
  display: inline-block;
  color: var(--platinum);
  padding-inline: 10px;
}

.course-card .card-meta-item ion-icon {
  color: var(--quick-silver);
  --ionicon-stroke-width: 50px;
}

.course-card .card-meta-item .span {
  color: var(--eerie-black-1);
  font-size: var(--fs-7);
}

.course .btn {
  margin-inline: auto;
  margin-block-start: 60px;
}



/*-----------------------------------*\
  #VIDEO
\*-----------------------------------*/

.video {
  background-size: contain;
  background-position: center top;
}

.video-banner {
  position: relative;
  border-top-right-radius: 80px;
  border-bottom-left-radius: 120px;
}

.video .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--radical-red);
  font-size: 30px;
  padding: 16px;
  color: var(--white);
  border-radius: var(--radius-circle);
  box-shadow: 0 0 0 0 var(--white_50);
  z-index: 1;
  animation: pulse 3s ease infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--white_50); }
  100% { box-shadow: 0 0 0 20px transparent; }
}

.video-banner::after {
  inset: 0;
  background-color: var(--black_30);
}

/* Hide play button when video is playing */
.video .play-btn.hidden {
  display: none;
}



/* Footer styling */
.main-footer {
  margin-top: 20px;
  background-color: #2c2c2c; /* Dark background for contrast */
  color: #f5f5f5; /* Light text for readability */
  padding: 40px 20px; /* Padding around the footer content */
}

.main-footer .container {
  max-width: 1250px; /* Limit the container's width */
  margin: auto; /* Center the container */
}
.footer-content {
  background-size: cover; /* Ensure it covers the entire div */
  background-repeat: no-repeat; /* No repeating */
  background-position: center; /* Center the image */
  padding: 10px 20px; /* Padding around the content */
}

/* Footer row with flex layout */
.footer-content .row {
  display: flex; /* Use flexbox for alignment */
  justify-content: space-between; /* Distribute columns evenly */
  flex-wrap: wrap; /* Allow columns to wrap on smaller screens */
  gap: 20px; /* Space between columns */
}

/* Footer column styling */
.footer-column {
  padding: 20px; /* Padding for each column */
  flex: 1; /* Allow each column to grow equally */
}

/* Styling for the logo widget */
.logo-widget .logo-box {
  margin-bottom: 20px; /* Space below the logo */
}

.logo-widget .text {
  font-size: 1em; /* Standard font size */
  line-height: 1.5; /* Improve readability */
}

/* Social media icons */
.social-icons {
  display: flex; /* Horizontal layout for icons */
  gap: 10px; /* Space between icons */
}

.social-icons a {
  color: #ffcc00; /* Default color */
  font-size: 1.2rem; /* Larger font size for visibility */
  transition: color 0.3s; /* Smooth hover effect */
}

.social-icons a:hover {
  color: #ff9d2d; /* Hover effect */
}

/* Service widget styling */
.service-widget .footer-title {
  font-size: 1.2em; /* Title font size */
  margin-bottom: 15px; /* Space below the title */
}

.service-widget .list {
  list-style: none; /* No bullet points */
  padding: 0; /* No padding */
}

.service-widget .list li {
  margin-bottom: 10px; /* Space between list items */
}

.service-widget .list a {
  text-decoration: none; /* No underline */
  color: #f5f5f5; /* Default link color */
  transition: color 0.3s; /* Smooth hover effect */
}

.service-widget .list a:hover {
  color: #ff9d2d; /* Hover effect */
}

/* Contact widget styling */
.contact-widget .footer-title {
  font-size: 1.2em; /* Title font size */
  margin-bottom: 15px; /* Space below the title */
}

.contact-widget .text {
  font-size: 1em; /* Standard font size */
  line-height: 1.5; /* Improve readability */
}
.footer-bottom {
  background-color: #ffcc00; /* Slightly darker than the main footer */
  padding: 20px; /* Padding for the bottom section */
}

.footer-bottom .footer-container {
  max-width: 1250px; /* Center the container */
  margin: auto; /* Center horizontally */
}

.footer-bottom .row {
  display: flex; /* Use Flexbox for alignment */
  justify-content: center; /* Center the content horizontally */
  align-items: center; /* Center the content vertically */
}

/* Centered copyright text */
.copyright {
  font-size: 1rem; /* Standard font size */
  font-weight: bold;
  text-align: center; /* Center the text */
  color: #000000; /* Light text for visibility */
}

.copyright a {
  text-decoration: none; /* No underline */
  color: #000000; /* Default link color */
  transition: color 0.3s; /* Smooth hover effect */
}

.copyright a:hover {
  color: #ff9d2d; /* Hover color for links */
}
.contact-widget .text a {
  text-decoration: none; /* No underline */
  color: #f5f5f5; /* Default link color */
  transition: color 0.3s; /* Smooth hover effect */
}

.contact-widget .text a:hover {
  color: #ff9d2d; /* Hover color */
}


/* Media Query for screens up to 480px */
@media (max-width: 480px) {
  .main-footer {
    padding: 20px 10px; /* Reduce padding on smaller screens */
  }

  .footer-content .row {
    flex-direction: column; /* Stack columns vertically */
    gap: 10px; /* Reduce space between columns */
  }

  .footer-column {
    padding: 10px; /* Reduce padding for each column */
  }

  .social-icons {
    margin-top: 10px; /* Add space above the social icons */
  }

  .social-icons a {
    font-size: 1.2rem; /* Adjust icon size */
    margin: 0 5px; /* Reduce space between icons */
  }

  .footer-bottom {
    padding: 15px; /* Reduce padding for the bottom section */
  }

  .footer-bottom .row {
    justify-content: center; /* Center the content horizontally */
  }
  .copyright{
    font-size: 14px;
  }
}


.back-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: hsl(351, 83%, 61%); /* Change to your desired color */
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 1000;
}

/* Show the button when needed */
.back-top-btn.show {
  opacity: 1;
  visibility: visible;
}

/* Hover effect */
.back-top-btn:hover {
  background-color: hsl(351, 77%, 54%);
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.5); /* Change to your desired hover color */
}

/* Style for the icon */
.back-top-btn ion-icon {
  font-size: 24px;
}
/* Responsive adjustments */
@media (max-width: 992px) {
  .nav__logo img {
    height: auto; 
    max-width: 180px;
  }
}


@media (max-width:992px){
  .nav__logo img{
    height:auto; 
    max-width:180px;
  }
}


/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }

  .nav__link {
    padding-inline: 1rem;
  }
}

/* For large devices */
@media screen and (min-width: 1118px) {
  .container {
    margin-inline: auto;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
    display: flex;
    justify-content: space-between;
  }
  .nav__toggle {
    display: none;
  }
  .nav__list {
    height: 100%;
    display: flex;
    column-gap: 3rem;
  }
  .nav__link {
    height: 100%;
    padding: 0;
    justify-content: initial;
    column-gap: .25rem;
  }
  .nav__link:hover {
    background-color: transparent;
  }

 
}


@media (min-width: 575px) {

  /**
   * REUSED STYLE
   */

  .hero-container {
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }

  .grid-list { grid-template-columns: 1fr 1fr; }

  :is(.course, .blog) .grid-list { grid-template-columns: 1fr; }

  /**
   * HERO
   */

  .hero-banner { grid-template-columns: 1fr 0.9fr; }

  .video .play-btn { padding: 25px; }
}



@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 4.6rem;
    --fs-2: 3.8rem;

  }



  /**
   * REUSED STYLE
   */

  .hero-container { max-width: 720px; }

  .btn { padding: 15px 30px; }

  :is(.course, .blog) .grid-list { grid-template-columns: 1fr 1fr; }





  /**
   * HERO
   */

  .hero { padding-block-start: calc(var(--section-padding) + 90px); }

  .hero .hero-container { gap: 50px; }

  .hero-text { margin-block-end: 30px; }

  .hero-banner {
    position: relative;
    z-index: 1;
  }

  .hero-banner .img-holder { max-width: max-content; }

  .hero-banner .img-holder.one { justify-self: flex-end; }

  .hero-banner .img-holder.two { margin-block-start: 100px; }

  .hero-shape-1 {
    display: block;
    position: absolute;
    bottom: -40px;
    left: -10px;
  }



  /**
   * ABOUT
   */

  .about { padding-block-start: 50px; }

  .about-banner {
    padding: 60px;
    padding-inline-end: 0;
  }

  .about-banner .img-holder {
    max-width: max-content;
    margin-inline: auto;
  }

  .about-shape-1 {
    display: block;
    top: -40px;
    right: -70px;
  }




  .newsletter-form .btn { padding-block: 10px; }

}





/**
 * responsive for large than 992px screen
 */

@media (min-width: 992px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 5.5rem;
    --fs-2: 4.5rem;

  }

  /**
   * REUSED STYLE
   */

  .hero-container { max-width: 960px; }

  .grid-list { grid-template-columns: repeat(4, 1fr); }

  :is(.course, .blog) .grid-list { grid-template-columns: repeat(3, 1fr); }



  /**
   * HERO
   */

  .hero .hero-container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .hero .section-title,
  .hero-text { text-align: left; }

  .hero .btn { margin-inline: 0; }



  /**
   * ABOUT
   */

  .about .hero-container {
    grid-template-columns: 1fr 0.6fr;
    align-items: center;
    gap: 60px;
  }



   /**
   * VIDEO
   */

   .video-banner {
    max-width: 75%;
    margin-inline: auto;
  }

}


/**
 * responsive for large than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 6.5rem;

    /**
     * spacing
     */

    --section-padding: 120px;

  }
  /**
   * REUSED STYLE
   */

  .hero-container { max-width: 1185px; }

  .shape { display: block; }

  .about-content,
  .video-card,
  .blog { position: relative; }

  /**
   * HERO
   */

  .hero { padding-block-start: calc(var(--section-padding) + 80px); }

  .hero .hero-container { gap: 80px; }

  .hero-shape-2 {
    top: -80px;
    z-index: -1;
  }

  /**
   * ABOUT
   */

  .about .hero-container { gap: 110px; }

  .about-banner .img-holder { margin-inline: 0; }

  .about-shape-3 {
    top: -20px;
    left: -100px;
    z-index: -1;
  }

  .about-content { z-index: 1; }

  .about-shape-4 {
    top: 30px;
    right: -60px;
    z-index: -1;
  }

    /**
   * VIDEO
   */

   .video-shape-1 {
    top: -50px;
    left: 0;
  }

  .video-shape-2 {
    top: -80px;
    right: 120px;
    z-index: 1;
  }
}

