/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");



/* Footer */


footer{
  background: #121413;
  padding: 30px 0;
  position: relative;
  background-repeat: no-repeat;
  background-position: center;
  /*background-size: cover;*/
}
.footer_container{
	width: 100%;
	margin:auto;
  padding-left: 50px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  grid-gap: 20px;
}

footer .footer_container .sec img{
  width: 245px;
  height: 110px;
  object-fit: cover;
}
footer .footer_container .sec strong{
  display: block;
  font-family: Roboto, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 30px;
  color: #fff;
  margin: 0;
  padding-bottom: 10px;
  margin-bottom: 20px;
  position: relative;
}

footer .footer_container .social-links{
  margin: 20px 0 0 30px;
  display: grid;
  grid-template-columns: repeat(4,50px);
}

footer .footer_container .social-links li{
  list-style: none;
}
footer .footer_container .social-links li a{
  display: inline-block;
	height: 40px;
	width: 40px;
	background-color: rgba(255,255,255,0.2);
	margin:0 10px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	color: #ffffff;
	transition: all 0.5s ease;
}
footer .footer_container .social-links li a i{
  color:#fff;
  font-size: 20px;
}

footer .footer_container .quicklinks{
  position: relative;
}
footer .footer_container .quicklinks strong::before, 
footer .footer_container .course strong::before{
	content: '';
	position: absolute;
	left:0;
	bottom: -10px;
	background-color: #e91e63;
	height: 2px;
	box-sizing: border-box;
	width: 50px;
}

footer .footer_container .quicklinks ul li{
  list-style: none;
}

footer .footer_container .quicklinks ul li a{
  font-family: Roboto, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 30px;
    color: rgba(255, 255, 255, .8);
    position: inline-block;
    text-decoration: none;
}
footer .footer_container .course .info{
  position: relative;
}

footer .footer_container .course .info li{
  display: grid;
  margin:0 10px 10px 0;
}
footer .footer_container .course ul li a{
  font-family: Roboto, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 30px;
    color: rgba(255, 255, 255, .8);
    position: inline-block;
    text-decoration: none;

}

.copyrightText{
  font-family: Roboto, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  background:  #121413;
  color: #fff;
  margin: 0;
  padding: 20px;
  /*border:0.5px solid rgba(255, 255, 255, 0.55)*/
}

@media(max-width:991px){
  footer{
    /* padding: 40px 0px 40px 80px; */
    padding-top:20px ;
  }
  footer .footer_container{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  grid-gap: 20px;
  }
  footer .footer_container .sec img{
    width: 245px;
    height: 110px;
    object-fit: cover;
    margin-left: -80px;
  }
  footer .footer_container .social-links{
    margin-left:-40px;
    padding-top: 10px;
    padding-left: 30px;
    display: grid;
    grid-template-columns: repeat(4,50px);
  }
  
  footer .footer_container .quicklinks strong::before, 
footer .footer_container .course strong::before{
	bottom: 0px;

}
}

@media(max-width:768px){
  footer .footer_container{
    grid-template-columns: repeat(2,1fr);
    }

    footer .footer_container .sec strong{
      display: block;
      font-family: Roboto, sans-serif;
      font-style: normal;
      font-weight: 500;
      font-size: 18px;
      line-height: 30px;
      color: #fff;
      margin: 0;
      position: relative;
    } 
    footer .footer_container .quicklinks strong::before, 
    footer .footer_container .course strong::before{
      bottom: 0px;
    
    }
}
@media(max-width: 574px){
  footer .footer_container{
    grid-template-columns: repeat(1,1fr);
    }

    footer .footer_container .sec strong{
      display: block;
      font-family: Roboto, sans-serif;
      font-style: normal;
      font-weight: 500;
      font-size: 18px;
      line-height: 30px;
      color: #fff;
      margin: 0;
      position: relative;
    } 
    footer .footer_container .quicklinks strong::before, 
    footer .footer_container .course strong::before{
      bottom: 0px;
    
    }
}

/*.footer .row{
	display: flex;
	flex-wrap: wrap;
}
.footer ul{
	list-style: none;
}

.footer-col{
   width: 25%;
   padding: 0 15px;
}
.footer-col strong{
    padding-bottom: 20px;
    font-size: 18px;
	color: #ffffff;
	text-transform: capitalize;
	margin-bottom: 35px;
	font-weight: 600;
	position: relative;
}
.footer-col h4{
	font-size: 18px;
	color: #ffffff;
	text-transform: capitalize;
	margin-bottom: 35px;
	font-weight: 500;
	position: relative;
}
.footer-col h4::before{
	content: '';
	position: absolute;
	left:0;
	bottom: -10px;
	background-color: #e91e63;
	height: 2px;
	box-sizing: border-box;
	width: 50px;
}
.footer-col ul li:not(:last-child){
	margin-bottom: 10px;
}
.footer-col ul li a{
	font-size: 16px;
	text-transform: capitalize;
	color: #ffffff;
	text-decoration: none;
	font-weight: 300;
	display: block;
	transition: all 0.3s ease;
  margin-top: 20px;
}
.footer-col ul li a:hover{
	color: #ffffff;
	padding-left: 8px;
}
.footer-col .social-links a{
	display: inline-block;
	height: 40px;
	width: 40px;
	background-color: rgba(255,255,255,0.2);
	margin:0 10px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	color: #ffffff;
	transition: all 0.5s ease;
}
.footer-col .social-links a:hover{
	color: #24262b;
	background-color: #ffffff;
}

/*responsive
@media(max-width: 767px){
  .footer-col{
    width: 50%;
    margin-bottom: 30px;
}
}
@media(max-width: 574px){
  .footer-col{
  width: 100%;
}
}*/

.fa {
    display: inline-block;
    font: normal normal normal 14px / 1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}





/* new Header */


/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Header Styles */

header {
  width: 100%;
  /* background-color: #fff; */
  background-color: #333;
  color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar {
  background-color: #333;
  color: #fff;
  padding: 10px 0;
}

.top-bar .header-container {
  display: flex;
  justify-content: space-between;
}

.contact-info span {
  margin-right: 15px;
}

.social-icons a {
  margin-left: 10px;
}


img.telegram-icon {
  margin-top: 8px;
  max-width: 30px;
}

img.instagram-icon {
  margin-top: 8px;
  max-width: 30px;
}

nav {
  background-color: #fff;
  border-bottom: 2px solid #dcdcdc;
  width: 100%;
}

nav .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

  .logo img {
    max-height: 150px;
    margin-left: 20px;
    max-width: 170px;
}


.nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links li {
  position: relative;
  margin-left: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.nav-links a img {
  margin-right: 8px;
  max-width: 20px;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  margin-right: 10px;
  padding-top: 10px;
}

.hamburger .bar {
  height: 3px;
  width: 25px;
  background: #333;
  margin-bottom: 5px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.hamburger .close {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.hamburger.active .bar {
  display: none;
}

.hamburger.active .close {
  display: block;
  font-size: 30px;
}

.hamburger .close:hover {
  color: green;
}



.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; /* Ensure it is immediately below the dropdown button */
  left: 0;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  list-style: none;
  margin: 0; /* Remove margin to prevent gaps */
  padding: 0;
  /* border: 1px solid #dcdcdc; */
  width: 200px;
}


.dropdown-menu li {
  padding: 10px 20px;
  border-bottom: 1px solid #dcdcdc;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu li a {
  text-decoration: none;
  color: #333;
  display: block;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.nav-links .active > a {
  color: green;
  border-bottom: 2px solid green;
}

/* Navigation text styles */
.nav-text {
  display: block;
  position: relative;
  color: #222222;
  transition: 0.3s;
  font-size: 14px;
  font-weight: 600;
  font-family: "Open Sans", sans-serif;
  /* text-transform: capitalize; */
}

/* Media Queries */
@media (max-width: 768px) {
  .top-bar {
      display: none;
  }

  .nav-links {
      display: none;
      flex-direction: column;
      width: 100%;
      height: 100vh;
      background-color: #fff;
      position: absolute;
      top: 0;
      left: 0;
      padding: 20px 20px 10px 20px;
      align-items: flex-start;
  }

  .nav-links li {
      margin: 10px 0;
      text-align: left;
  }

  .hamburger {
      display: flex;
  }

  .nav-links.active {
      display: flex;
  }

  .dropdown-menu {
      position: static;
      box-shadow: none;
  }

  .dropdown:hover .dropdown-menu {
      display: none;
  }

  .dropdown.active .dropdown-menu {
      display: block;
  }
}



/* Existing CSS here... */

/* Add z-index to header to make sure it is above other content */
header {
  z-index: 100;
  position: relative; /* Ensure the header is positioned above other content */
}

/* Ensure nav-links and hamburger are above other content when active */
.nav-links {
  z-index: 101; /* Slightly higher than header */
  background-color: #fff; /* Ensure it has a background */
}

.hamburger {
  z-index: 102; /* Ensure it is above the nav-links */
}

/* Media Queries */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px 20px 10px 20px;
    align-items: flex-start;
    z-index: 101; /* Ensure it is above other content */
  }

  .nav-links.active {
    display: flex;
  }
  
  .hamburger {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
  }

  .dropdown:hover .dropdown-menu {
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }
}

/* Prevent scrolling */
.no-scroll {
  overflow: hidden;
}


/* Existing CSS here... */

/* Hide top-bar-header on mobile devices */
@media (max-width: 768px) {
  .top-bar-header {
    display: none;
  }
}


.nav-links .dropdown > a::after {
  content: ' ▼'; /* Use a downward arrow character or Unicode */
  font-size: 0.8em; /* Adjust the size as needed */
  color: inherit; /* Inherit the text color */
}

.dropdown-menu {
  display: none; /* Hide dropdown by default */
  position: absolute;
  background-color: #fff; /* Background color for dropdown */
  list-style: none; /* Remove default bullet points */
  /* padding: 10px; */
  margin: 0;
}

.dropdown:hover .dropdown-menu {
  display: block; /* Show dropdown on hover */
}

.dropdown-menu li {
  margin-bottom: 5px;
}

.dropdown-menu li a {
  text-decoration: none;
  color: #000; /* Adjust color as needed */
  /* padding: 5px 10px; */
  display: block;
}














/*  */





/* General dropdown menu styling */



/* Mobile-specific styles */
@media (max-width: 768px) {
  .nav-links {
      /* display: flex; */
      flex-direction: column;
  }

  .dropdown-menu {
      position: static; /* Dropdown should be in flow with the document */
      box-shadow: none; /* Remove shadow for mobile */
      width: 100%; /* Take full width for better touch targets */
  }

  .dropdown > a::after {
      content: ' ▼'; /* Keep the arrow */
      font-size: 0.8em; 
      margin-left: 5px;
      color: inherit;
  }
}
