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

.header{
              width: 100%;
              background-image: linear-gradient(rgba(4, 9, 30, 0.7),rgba(4, 9, 30, 0.7)),url('../images/banner.gif');
              background-position: center;
              background-size: cover;
              position: relative;
    }
    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;
                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;
	}
}


body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    
}

.header-section {
    
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    text-align: center;
    padding: 20px 20px;
    border-radius: 10px;
   
    margin-top: 60px;
    min-height: 700px;
    animation: fadeInLeft; /* referring directly to the animation's @keyframe declaration */
    animation-duration: 1s; /* don't forget to set a duration! */    
}

.header-image {
  width: 100%; /* Ensures the image takes the full width of its container */
  height: 700px; /* Sets a fixed height, similar to min-height */
  object-fit: cover; /* Equivalent to background-size: cover */
  object-position: center; /* Equivalent to background-position: center */
  border-radius: 10px;
  
  margin-top: 5px;
  animation: fadeInLeft;
  animation-duration: 1s;
}
.team-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
}

.team-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    animation: fadeInRight; /* referring directly to the animation's @keyframe declaration */
    animation-duration: 1s; /* don't forget to set a duration! */ 
}

.team-section h2::after{
    display: block;
    content: "";
    background: goldenrod;/*color of divider*/
    width: 120px;
    height:5px;
    border-radius: 5px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 5px;
    animation: fadeInRight; /* referring directly to the animation's @keyframe declaration */
    animation-duration: 1s; /* don't forget to set a duration! */ 
}

.team-section p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
    animation: fadeInRight; /* referring directly to the animation's @keyframe declaration */
    animation-duration: 1s; /* don't forget to set a duration! */ 
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.team-member {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-grid .team-member:nth-child(1),
.team-grid .team-member:nth-child(4){
    visibility: hidden;
}

.team-member:hover {
    transform: scale(1.05);
}

.team-member img {
    width: 100%;
    height: auto;
    border-radius: 5%;
    transition: filter 0.3s ease;
}

.team-member h3 {
    font-size: 1.2rem;
    margin: 15px 0 5px;
}

.team-member p {
    color: #888;
    margin-bottom: 10px;
}

.team-member a {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
}

.team-member a:hover {
    text-decoration: underline;
}

  @media (max-width: 1024px) and (orientation: portrait) {

    .header-section {
        padding: 20px;
       min-height: 100px;
        
    }

      .header-section .header-image {
            max-width: 100%;
            height: 350px;
            
            }

  }

/* Mobile responsiveness */
@media (max-width: 768px) {

    .header-section {
        padding: 20px;
       min-height: 70px;
        
    }

      .header-section .header-image {
            max-width: 100%;
            height: 200px;
            
            }

    .team-section p {
        margin-bottom: 20px;
    }

    .team-section h2 {
        font-size: 1.5rem;
    }

    .team-member {
        padding: 15px;
    }

    .team-member h3 {
        font-size: 1rem;
    }

    .team-member p,
    .team-member a {
        font-size: 0.85rem;
    }

    .team-grid .team-member:nth-child(1),
    .team-grid .team-member:nth-child(4){
        display: none;
    }
}

/*=============== FOOTER ===============*/
footer {
  background: linear-gradient(180deg, #030615, #0a0f2c);
  color: #fff;
  padding: 80px 40px 40px;
  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;
  }
}