/*----------- Goole Font Link------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
/*==================================== Default Styles ==================================== */

:root{
    --h1_color:#016B9D;
    --h6_color:#004366;
    --nav_color:rgb(21,21,100);
    --orange_color:#E84911;
    --lato: "Lato", sans-serif;
    --icon:#F48829;
    --footer:#003F62;
    --side_bar:rgba(5, 69, 104, 0.94);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body{
    font-family: "Poppins", sans-serif;
    width: 100%;
    overflow-x: hidden;
}

/*----Global Tags---- */

h1{
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--h6_color);
}

span{
    font-size: .9rem;
    color: #757373;
}

h6{
    font-size: 1.1rem;
    color: var(--h6_color);
}


/*=============================== Navigation Section  ================================== */

.header{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}


nav{
    display: flex;
    flex-direction: row;
    margin-top: 50px;
    width: 100%;
    background-color: #fff;
    justify-content: space-between;
    padding: 1vw 8vw;
    align-items: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.15);
}
.scrolled nav{

     display: flex;
     flex-direction: row;
     margin-top: 50px;
     width: 100%;
     background-color: #fff;
     justify-content: space-between;
     padding: 1vw 8vw;
     align-items: center;
     box-shadow: 2px 2px 10px rgba(0,0,0,0.15);
    
}
nav img{
    width: 200px;
    cursor: pointer;
}

nav .navigation{
    display: flex;
}

#menu-btn{
    width: 30px;
    height: 30px;
    display: none;
}

#menu-close{
    display: none;
    cursor: pointer;
}

nav .navigation ul{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav .navigation ul li{
    list-style: none;
    margin-left: 30px ;
}

nav .navigation ul li a{
    font-size: 16px;
    color: var(--nav_color);
    font-weight: 500;
    transition: 0.3s ease;
    gap: 9px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

}
nav .navigation ul li a i{
    color: var(--orange_color);
}
nav .navigation ul li a.active,
nav .navigation ul li a:hover{
    color: var(--h1_color);
}

nav .navigation ul li a.active::after{
    color: var(--orange_color);
    width: 100%;
    bottom: -1px;
}
nav .navigation ul li a:hover:after{
    color: var(--orange_color);
    width: 100%;
    bottom: -1px;
}
/* nav .navigation ul li a.active, */
nav .navigation ul li a:after{
    content: "";
    position: absolute;
    height: 4px;
    width: 0%;
    background-color: var(--orange_color);
    top: 100%;
    left: 0%;
    border-radius: 5px;
    transition: all  0.5s;
    text-decoration: none;
    margin-top: 7px;
}

.top_bar{
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 50px;
    position: absolute;
    top: 0;
    background-color: transparent;
    padding: 5px 10px;
}
.top_bar h3{
    font-size: 1rem;
    font-weight: 500;
    color: var(--h6_color);
    margin-right: 7px;
    cursor: pointer;
}
.top_bar h3 i{
    margin-right: 5px;
    color: var(--h1_color);
}

/*---------Scroll Navbar --------*/

.scrolled {
    position: fixed;
    left: 0;
    top: 0;
    background-color:#fff;
    transition: 0.9 ease-in;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0,0.2);
    width: 100%;
    scroll-behavior: smooth;
    animation:animate 1.2s ease-in-out;
    z-index: 999;


}


@keyframes animate {
 0% {
        transform: translateY(-100%);
    }
    
}
.sp1{
    position: relative;
    top: 200px; 
}
.sp{
    text-align: center;
    position: relative;
    top: 200px; /* Moves the div 50px down from its normal position */
  }
.sp img{
    height: 250px;
    width: 250px;
clip-path: circle(50%);
}

.main-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  
    min-height: 100vh;
    background-color: #f4f4f4;
    padding: 20px;

    
}

.container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 800px;
}

.card {
    background: #f7c948; /* Default Dull Yellow */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    position: relative;
}

.card:nth-child(2n) {
    background: #001f3f; /* Dark Blue */
    color: white;
}

.card:nth-child(3n) {
    background: white;
    color: black;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-content {
    padding: 15px;
    text-align: center;
}

.card h3 {
    margin: 10px 0;
    font-size: 20px;
}

.card p {
    font-size: 14px;
    opacity: 0.8;
}

@media (max-width: 600px) {
    .container {
        grid-template-columns: 1fr;
    }
}
/*.image-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-row-gap: 30px;
    gap: 50px;
 text-align: center;
}

/* Style each image item */
.image-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

/* Style the images */
.image-item img 
{
    width:350px;
    height:200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
}

/* Hover effect */
.image-item:hover img {
    transform: scale(1.1); /* Scale the image up */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* Add shadow */
}

/* Optional: Add a slight border to images */
.image-item img {
    border: 2px solid #fff;
}
/*===============================Company-container Course Section  ================================== */

.if{
    text-align: center;
}
#counters{
    width: 100%;
    height: 60vh;
    background-color: var(--side_bar);
    margin-bottom: 20px;

}
/* .counters{
    padding: 8vw 8vw 2vw 8vw;
} */
.counters_box{
     display: flex;
     flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    /* padding: 8vw 8vw 2vw 8vw; */
    width: 100%;
    height: 60vh;
    background-color: var(--side_bar);
    margin-bottom: 20px;
    /* background-image:url('../images/bg-01.jpg'); */
    background-image: linear-gradient(rgba(99,112,168,0.5),rgba(81,91,233,0.5)),url("../images/Back_View-5.JPG");

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

}

.counters_box .counter{
    text-align: center;
    padding: 13px 33px;
    background: rgba(255,225,225,0.25);
    backdrop-filter: blur(4px);
    box-shadow: 0 8px 32px 0 rgba(31,38,135,0.37);
    border-radius: 5px;
    margin: 0 5px 10px 5px;
    width: 280px;
    height: 100px;
    /* display: flex; */
    justify-content: center;
    align-items: center;
}

.counters_box .counter p{
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 8px;
    color: var(--icon);
    
}

.counters_box .counter h3{
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    
}
.counters_box .counter p span {
    font-size: 1.8rem;
    font-weight: 700;
    margin-right: 5px;
    color:var(--icon) ;
    text-shadow: 8px 8px 32px 8px rgba(0,0,0,0.37);
    .image-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-row-gap: 30px;
        gap: 20ppx;
        margin: 20px;
    }
    
  
}


/* === Counters Section Responsive Styles === */

/* Tablets (768px – 1023px) */
@media (max-width: 1023px) {
    #counters,
    .counters_box {
      height: auto;
      padding: 40px 20px;
    }
  
    .counters_box .counter {
      width: 40%;
      margin: 10px;
      height: 100px;
    }
  
    .counters_box .counter p {
      font-size: 1.3rem;
    }
  
    .counters_box .counter h3 {
      font-size: 1.1rem;
    }
  }
  
  /* Mobiles (≤767px) */
  @media (max-width: 767px) {
    #counters,
    .counters_box {
      height: auto;
      padding: 30px 15px;
      flex-direction: column;
    }
  
    .counters_box .counter {
      width: 90%;
      height: auto;
      padding: 15px 20px;
      margin: 12px auto;
    }
  
    .counters_box .counter p {
      font-size: 1.2rem;
    }
  
    .counters_box .counter p span {
      font-size: 1.5rem;
    }
  
    .counters_box .counter h3 {
      font-size: 1rem;
    }
  }
/*=============================== Footer Section  ================================== */

footer{
    padding: 4vw;
    background-color: var(--footer);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

footer .footer-col{
    padding-bottom: 40px;
}

footer h3{
    color: #ff9900 ;
    font-weight: 600;
    padding-bottom: 20px;

}
footer h3::after{
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin-left: 15px;
  background-color: #ff9900;
  border-radius: 2px;
}  

footer li a{
   color: #ffffff;
   padding: 10px 0;
   font-size: 15px;
   cursor: pointer;
   transition: 0.3s ease;

}

footer li a:hover{
   color: rgb(51, 0, 255);
}

footer p {
   color: #7b838a;
}

footer .subscribe{
   margin-top: 20px;
}
footer input{
    width: 220px;
    padding: 15px 12px;
    background: var(--h1_color);
    border: none;
    outline: none;
    color: #fff;
    border-radius: 5px;
}

footer input::placeholder{
    color: #7b838a;
    font-size: 15px;
}
footer .subscribe a{
    text-decoration: none;
    font-size: 0.9rem;
    padding: 13px 15px;
    background-color: #fff;
    font-weight: 600;
    border-radius: 5px;
    margin-left: 9px;
}

footer .subscribe a.Yellow_button {
    color: var(--h1_color);
    background: var(--icon);
    transition: 0.3s ease;
}


footer .subscribe a.Yellow_button:hover {
    color: var(--footer);
    background: #fff;
}

footer .copyright{
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;

}

footer .copyright p{
    color: #fff;
}

footer .copyright .pro-links{
    margin-top: 0px;
}

footer .copyright .pro-links i{
    background-color: #5f7185;
    color: #fff;
    cursor: pointer;
    border-radius: 3px;
    transition: 0.3s ease;
    border: none;
    
}

footer .copyright .pro-links i:hover{
    background-color: var(--icon);
    color: #fff;
    color: var(--footer);
}


/* === Footer Responsive Styles === */

/* Tablets (768px – 1023px) */
@media (max-width: 1023px) {
  @media (max-width: 1023px) {
    footer {
      padding: 5vw 3vw;
      display: grid;
      grid-template-columns: repeat(2, 1fr); /* 2 columns */
      gap: 20px;
      align-items: start;
    }
  
    footer h3::after {
      content: "";
      display: block;
      width: 60px;
      height: 3px;
      background-color: #ff9900;
      border-radius: 2px;
    }
  
    footer .footer-col {
      width: 100%;
      margin-bottom: 0;
    }
  
    footer input {
      width: 100%;
      margin-bottom: 10px;
    }
  
    footer .subscribe {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }
  
    footer .subscribe a {
      margin-left: 0;
      margin-top: 10px;
    }
  
    footer .copyright {
      grid-column: span 2; /* make copyright full width */
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
      margin-top: 20px;
    }
  }
}  

/* Mobile (≤767px) */
@media (max-width: 767px) {
  footer {
    display: grid;
    grid-template-columns: 1fr; /* Single column grid */
    gap: 20px;
    padding: 8vw 4vw;
    text-align: center;
    align-items: center;
  }

  footer .footer-col {
    width: 100%;
    padding-bottom: 0;
  }

  footer h3 {
    font-size: 1.3rem;
  }

  footer h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 10px auto 0;
    background-color: #ff9900;
    border-radius: 2px;
  }

  footer li a {
    font-size: 18px;
  }

  footer input {
    width: 100%;
    font-size: 14px;
  }

  footer .subscribe {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  footer .subscribe a {
    width: 100%;
    text-align: center;
  }

  footer .copyright {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  footer .copyright .pro-links {
    margin-top: 10px;
  }
}

/*-------- Max-Width:769--------- */
@media (max-width:769px){
    body{
        width: 100%;
    }
   /* -----Header------- */

   nav{
    padding: 15px 20px;
    width: 100%;
    margin-top: 0;
   z-index: 999;
   overflow: hidden;
   }
   nav img{
    width: 160px;
   }
   #menu-btn{
    display: initial;  
    z-index: 999;  

   }
   #menu-close{
     display:initial;
     font-size: 1.6rem;
     color: var(--icon);
     padding: 30px 0px 20px 20px;
     font-weight: 500;
     cursor: pointer;
    z-index: 999;
         z-index: 999;  

   }
   nav .navigation ul{
    position: absolute;
    top: 0;
    /* right: -300px; */
    right: 0;
    display: none;
    width: 220px;
    height: 100vh;
    background: var(--side_bar);
    backdrop-filter: blur(4.5px);
    border: 1px solid rgba(255,225,225,0.25);
    /* display: flex; */
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    scroll-behavior: smooth;
    animation:Sidebar 0.5s ease-in;
}
 
@keyframes Sidebar {
 0% {
        transform: translateX(100%);
    }
    
}


   nav .navigation ul.active{
     /* right: 0; */
     display: flex;
   }

    nav .navigation ul li{
    padding: 20px 0 20px 40px;
    margin-left: 0;
   }
    nav .navigation ul li a{
    color: #fff;
   }
 #Contect_Info{
    display: block;
   }
   .top_bar h3{
    display: none;
}

  .scrolled nav{
    margin-top: 0;
    z-index: 999;
   }
}
