@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap");
:root {
  --yellow: #f5bf23;
  --black: #111;
  --white: #fff;
  --light-color: #666;
  --light-bg: #eee;
  --box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
  --border: .1rem solid rgba(0, 0, 0, .3);
}

*{
	margin: 0;
	padding: 0;
	font-family: 'Poppins', sans-serif;

}


nav{
display: flex;	
justify-content: space-between;
align-items: center;
background-color: #030615;	
position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999; /* Ensure it's above other content */
box-shadow: #222;
}
nav img{
width: 220px;
height: 200x;
padding-left: 8px;
padding-top: 8px;

}
.nav-links{
flex: 1;
text-align: right;
}
.nav-links ul li{
list-style: none;
font-weight: 500;
display: inline-block;
padding: 8px 12px;
position: relative;
}
.nav-links ul li::after{
content: '';
width: 0%;
height: 2px;
background: #f44336;
display: block;
margin: auto;
transition: 0.5s;
}
.nav-links ul li:hover::after{
width: 100%;
}
.nav-links ul li a{
font-size: 15px;
font-family: poppins;
text-decoration: none;
color: #fff;
}
.text-box{
width: 90%;
color: #fff;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
text-align: center;
}
.text-box h1{
font-size: 62px;
}
.text-box p{
font-size: 14px;
margin: 10px 0 40px;
color: #dfdfdf;
}
.hero-btn{
display: inline-block;
text-decoration: none;
color: #fff;
border: 1px solid #fff;
padding: 12px 34px;
font-size: 13px;
background: transparent;
position: relative;
cursor: pointer;
border-radius: 25px;
}
.hero-btn:hover{
border: 1px solid #f44336;
background:#f44336 ;
transition: 1s;
}
nav .fa{
display: none;
}
/*header media query strt*/
@media(max-width: 700px){
.text-box h1{
  font-size: 20px;
  }
  .nav-links ul li{
    display: block;	
  }
  .nav-links{
    position: fixed;
    background: #030615;
    height: 100vh;
    width: 200px;
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 2;
    transition: 1s;
  }
  nav .fa{
    display: block;
    color: #fff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
  }
  .nav-links ul{
    padding: 30px;
  }
}

/* Sub-navigation styles */
.course-dropdown {
  position: relative;
}

.course-dropdown .toggle-subnav {
  display: none;
  font-size: 14px;
  margin-left: 5px;
  cursor: pointer;
}

.sub-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #030615;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sub-nav li {
  padding: 5px 20px;
}

.sub-nav li a {
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  display: block;
  transition: 0.3s;
}

.sub-nav li a:hover {
  background-color: #f44336;
}

.course-dropdown:hover .sub-nav {
  display: block;
}

/* Mobile view adjustments */
@media (max-width: 700px) {
  .course-dropdown .toggle-subnav {
      display: inline-block;
  }

  .sub-nav {
      position: static;
      display: none;
      padding: 10px;
  }

  .nav-links ul li .sub-nav li {
      padding: 10px;
  }

  .nav-links ul li .sub-nav li a {
      font-size: 14px;
  }

.arrow{
  display: none;
}
}


/*=============== FOOTER ===============*/
footer {
  background: linear-gradient(180deg, #030615, #0a0f2c);
  color: #fff;
  padding: 50px 20px 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  z-index: 1;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  align-items: start;
  max-width: 1300px;
  margin: auto;
}

.footer-left {
  text-align: left;
}

.footer-left .logo {
  width: 280px;
  height: auto;
  margin-bottom: 20px;
}

.contact-info p {
  margin: 8px 0;
  color: #ccc;
  font-size: 1rem;
  line-height: 1.5;
}

.contact-info strong {
  color: #fff;
}

.footer-map iframe,
.footer-facebook iframe {
 width: 100%;
  max-width: 340px;
  height: 380px; /* keep the container height */
  border: none;
  border-radius: 10px;
  overflow: hidden; /* allow scroll inside */
}

.footer-center h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffcc00;
}

.footer-center ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-center ul li {
  margin: 12px 0;
}

.footer-center ul li a {
  color: #ddd;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
}

.footer-center ul li a:hover {
  color: #ffcc00;
  padding-left: 5px;
}

.footer-facebook .facebook {
  display: flex;
  justify-content: center;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 15px;
  font-size: 0.9rem;
  color: #aaa;
}

.footer-bottom p {
  margin: 0;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #ffcc00, #ff6600, #0099ff, #ff33cc);
  background-size: 300% 300%;
  animation: gradientBar 8s ease infinite;
}

@keyframes gradientBar {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (min-width: 769px) {
  .footer-center h3,
  .footer-center ul {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-left, .footer-map, .footer-center, .footer-facebook {
    margin: 10px 0;
    text-align: center;
  }

  .footer-left .logo {
    margin: 0 auto 20px;
  }
  
  .footer-center h3,
  .footer-center ul {
    text-align: center;
  }
}