/*=============== 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%);

  /*========== 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;
}

/*========== 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);
  padding-top: 100px;
  font-size: var(--normal-font-size);

}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1300px;
  margin-inline: 1.5rem;
}

/*=============== 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);
}
/*TOp section*/

.content {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
}
.content a{
  color: #000000;
  font-weight: bold;
  text-decoration: none;
}
.content a:hover{
  color:hsl(351, 83%, 61%);
}
/*Section-Title*/
.section-title {
  text-align: center;
  margin: 2rem 0 0 0;
}

.section-title h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
}

.section-title .title-line {
  display: block;
  font-size: 2.5rem;
  color: #333;
}


/*course sylabus*/

.design-process {
  padding: 2rem;
}

.process-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, auto);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.process-item {
  background-color: #f9ec37;
  border-radius: 8px;
  padding: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: #000000;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.process-item:hover{
  box-shadow: 1rem 1rem 1rem rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
  .process-container {
      grid-template-columns: 1fr;
      grid-template-rows: repeat(8, auto);
  }
}


/*Teaching methodology*/

.teach-section {
  padding: 20px;
 
}

.teach-container {
  max-width: 1200px;
  margin: 0 auto;
}

.text-image-block {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.text-image-block .teach-text,
.text-image-block .teach-image {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.text-image-block .teach-text h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.text-image-block .teach-text p {
  font-size: 16px;
  line-height: 1.5;
}

.text-image-block .teach-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.section-divider {
  border: 0;
  border-top: 1px solid #ccc;
  margin: 40px 0;
}

@media (max-width: 768px) {
  .text-image-block {
      flex-direction: column;
  }
}



/* ========================================== FAQs ========================================== */
.page-container{
  max-width: 1200px;
  margin: auto;
}
.faqs h2 { 
  text-align: center;
}

.faqs__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.faq {
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  height: fit-content;
  background: #f9ec37;
  cursor: pointer;
}

.faq h4 {
  font-size: 1rem;
  line-height: 2.2;
}

.faq__icon {
  align-self: flex-start;
  font-size: 1.2rem;
}

.faq p {
  margin-top: 0.8rem ;
  display: none;
}

.faq.open p {
  display: block;
}

/* Media Query for screens up to 480px */
@media (max-width: 480px) {
  .faqs__container {
    grid-template-rows: 1fr;
    grid-template-columns: 1fr; /* Ensure only one FAQ item per row */
  }

  .faq {
    padding: 1rem; /* Adjust padding for smaller screens */
    font-size: 0.9rem; /* Reduce font size for better readability */
  }

  .faq__icon {
    font-size: 1rem; /* Adjust icon size */
  }

  .faq h4 {
    font-size: 0.9rem; /* Reduce heading font size */
  }

  .faq p {
    margin-top: 0.5rem; /* Reduce margin for better spacing */
  }
}




/*Swipper image*/

.swiper-container {
  max-width: 1200px; /* Maximum width for the swiper container */
  height: 400px; /* Adjust height as needed */
  margin:  auto; /* Center the swiper container */
  overflow: hidden; /* Hide overflow to avoid extra scrollbars */
  position: relative; /* Required for absolute positioning of pagination */
}

.swiper-wrapper {
  display: flex;
  align-items: center; /* Center slides vertically */
  height: 100%;
}

.swiper-slide {
  flex: 0 0 auto; /* Prevent shrinking and growing */
  width: 33.33%; /* Show three slides in a row */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.swiper-slide img {
  width: 100%; /* Ensure image fits the slide */
  height: 300px; /* Adjust height as needed */
  object-fit: cover;
}

.swiper-slide .title {
  margin-top: 10px;
  font-size: 1.2rem;
  color: #333;
}

.swiper-pagination {
  position: absolute; /* Positioning pagination absolutely */
  bottom: 10px; /* Adjust as needed */
  left: 50%; /* Center horizontally */
  gap: 8px;
  transform: translateX(-50%); /* Adjust for exact centering */
}

.swiper-pagination-bullet {
  background: lightgrey;
  width: 10px; /* Increased size of bullets */
  height: 30px; /* Increased size of bullets */
}

.swiper-pagination-bullet-active {
  background: #f9ec37; /* Active dot color */
}




/* 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 */
}


.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;
}

@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 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;
  }
}
