@import url('https://fonts.googleapis.com/css2?family=Acme&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans&family=Poppins:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

* {
    margin: 0;
    padding: 0;
  
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    list-style-type: none;
}

:root {
    --bg-color: #1f242d;
    --second-bg-color: #323946;
    --text-color: #fff;
    --main-color: #0ef;
    --main2-color: #f9004d;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}



body {
    background: #E6F7FF;
    /* font-family: "Roboto", sans-serif; */
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-style: normal;
}


h1,h2,h3,h4,h5,h6{
    font-family: "Merriweather", serif;
    font-size: 4rem;
    font-weight: 700;
}


section {
    height: 100%;
    width: 100%;
    overflow: hidden;
}




.navbar {
    display: flex;
    justify-content: space-between;
    /* font-family: "montserrat", sans-serif; */
   
    list-style: none;
    padding: 0;
    margin: 0;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
   
    align-items: center;
    padding: 30px 30px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    transition: background-color 0.3s, padding 0.3s; /* Animation for background and padding */
    z-index: 1000; /* Ensures navbar is on top */
    background-color: #fff; /* Initially transparent */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow effect */
}

.navbar.scrolled {

    /* background-color: rgba(255, 255, 255, 0.8);  */
    background-color: rgba(255, 255, 255, 1);            
    padding: 20px 20px;         
}


.menu-toggle {
    display: none; /* Hidden by default, shown on mobile */
    font-size: 28px; /* Hamburger icon size */
    color: #000;
    cursor: pointer; /* Pointer cursor on menu toggle */
}

.nav-links ul {
    list-style-type: none;
    display: flex;
    gap: 8px; /* Space between links */
}

.nav-links ul li{
   
}

nav ul li {
    margin-top: 10px;
    flex: 1; /* Ensures all items have equal width */
    text-align: center; /* Centers the text in each link */
}


.nav-links a {

    display: block;
    padding: 8px 0px; /* Increase padding to provide more space */
    color: white;
    text-decoration: none;
    text-align: center;
    white-space: nowrap; /* Prevents text from wrapping */
    transition: background-color 0.3s ease;
    width: 100px;
        font-family: "Roboto", Sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    outline: none;
   color: #0056b3;
   text-transform: uppercase;
    line-height: 22px;

    transition: color 0.3s; 
    border-radius: 4px;

}

.nav-links a:hover {
    background-color: #0056b3; /* Darker blue on hover */
    color: #fff;
}

/* Active Link Effect */
.nav-links a.active {
    background-color: #007bff; /* Darker blue on hover */
    color: #fff;
}

.menu-toggle {
    font-size: 24px;

    background: #007bff;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s;
}

.menu-toggle:hover {
    
    background:#000;
    color: #007bff;

}



/* Responsive Design */

@media (max-width: 1200px){
    .nav-links a{
        width: 100%;
        padding: 10px 10px;
    }
}


@media (max-width: 1024px) {
    .navbar {
        justify-content: space-between; /* Space between logo and toggle */
        background-color: #fff;
       
    }

    .menu-toggle {
        display: block; /* Show hamburger icon */
    }

    .nav-links {
        position: absolute; /* Position it absolutely */
        top: 98px; /* Below the navbar */
        left: 0;
        width: 100%;
        background-color: #fff; /* Dark background */
        overflow: hidden; /* Hide overflowing content for transition */
        max-height: 0; /* Initially collapsed */
        transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out; /* Slide down effect */
    
    }

    .nav-links.active {
        max-height: 450px; /* Expand height when active */
       
    }

    .nav-links ul {
        flex-direction: column; /* Stack links vertically */
        width: 100%; /* Full width */
        padding: 0; /* Reset padding */
        /* padding-bottom: 20px; */
       gap: 0;
      
    }

    .nav-links ul li{
    
        width: 100vw;
        margin-top: 0;
    }

    .nav-links a {
        padding: 15px 20px; /* Add padding to the links */
        width: 100%; /* Full width for links */
        text-align: center; /* Center text */
    }
}



#logo-container {
    display: inline-block;
    max-width: 280px; /* Maximum width for larger screens */
    margin-top: -20px;
    width: 100%; /* Ensures the logo container is fluid */
    margin-right: 20px;
}

#logo-container img {
    padding-top: 10px;
    width: 100%; /* Image takes full width of container */
    height: auto; /* Maintains aspect ratio */
    display: block;
}



/* Responsive adjustments for smaller screens */




@media (max-width: 768px) {
    .nav-links{
        top: 84px; 
    }

    #logo-container {
        max-width: 200px; /* Reduce logo size for tablets */
    }
}

@media (max-width: 480px) {
    #logo-container {
        max-width: 150px; /* Further reduce logo size for small mobile screens */
    }
}


/* Responsive adjustments for smaller screens */




@media (max-width: 768px) {
    #logo-container {
        max-width: 200px; /* Reduce logo size for tablets */
    }
}

@media (max-width: 480px) {
    #logo-container {
        max-width: 150px; /* Further reduce logo size for small mobile screens */
    }
}


/* ///////////////////////////////////////////////////////////////// */

body.service-page .service-link {

    background-color: #007bff; /* Darker blue on hover */
    color: #fff;

    /* background-color: #f0f0f0; 
    color: #0056b3; 
    border-bottom: 2px solid #0056b3;  */
}

/* Optional: Add hover effect */
.service-link:hover {
    background-color: #e0e0e0; /* Hover effect background */
    color: #004080; /* Hover effect text color */
}



/* /////////////////////////////////////////////////////////////////////////////////// */


/* Hero Section */
.hero-section {
    position: relative;
    margin-top: 97px;
    width: 100%;
    height: 80vh; /* Default height for large screens */
    background-image: url('img/trainingHome.jpg'); /* Background Image */
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.split-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for contrast */
    filter: blur(10px); /* Initial blur effect */
    transition: filter 1.5s ease-in-out; /* Transition for blur */
    clip-path: inset(0 50% 0 50%); /* Start with the image split in the middle */
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centering the content */
    text-align: center;
    color: white;
    z-index: 2;
    opacity: 0; /* Hidden by default */
    transition: opacity 1.5s ease-in-out; /* Fade in the text */
}

.hero-section h1 {
    width: 80vw;
    font-size: 5rem;
    margin-bottom: 10px;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.hero-section p {
    font-size: 2rem;
}



/* After the page loads */
body.loaded .split-overlay {
    filter: blur(0); /* Remove blur */
    animation: splitOpen 1.5s ease forwards; /* Expand to the sides */
}

body.loaded .hero-content {
    opacity: 1; /* Fade in the text */
    transition-delay: 0s; /* No delay - text fades in at the same time */
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-section {
        height: 80vh; /* Adjust height for large tablets */
    }
    .hero-section h1 {
        font-size: 3.5em; /* Adjust font size */
    }
    .hero-section p {
        font-size: 1.3em;
    }

    .hero-content{
        margin-top: 30px;
    }
}

@media (max-width: 992px) {
    .hero-section {
        height: 75vh; /* Adjust height for tablets */
    }
    .hero-section h1 {
        font-size: 3em; /* Adjust font size */
    }
    .hero-section p {
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 60vh; /* Reduce height for mobile view */
    }
    .hero-section h1 {
        font-size: 2.5em; /* Smaller font size for mobile */
        width: 90vw; /* Adjust the text container */
    }
    .hero-section p {
        font-size: 1.1em;
    }

    .hero-content{
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 50vh; /* Further reduce height on smaller screens */
    }
    .hero-section h1 {
        font-size: 2em; /* Reduce font size for smaller mobile screens */
    }
    .hero-section p {
        font-size: 1em;
    }
}

@media (max-width: 400px) {
    .hero-section {
        height: 45vh; /* Reduce height for very small screens */
    }
    .hero-section h1 {
        font-size: 1.8em; /* Even smaller font size */
    }
    .hero-section p {
        font-size: 0.9em;
    }

    .hero-content{
        margin-top: 30px;
    }
}




  /* Container for the carousel */
  .slider-container {
    width: 60vw; /* Carousel container width */
    margin: 0 auto; /* Center carousel on page */
    padding-top: 50px; /* Add some padding from the top */
    height: auto;
  }

  .slider-container h1{
      font-size: 3rem;
      color: #0056b3;
      font-weight: 600; 
      text-align: center;
      margin: 50px 0px;

  }

  /* Styling for each box */
  .slick-box {
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    display: block; /* Ensure boxes are displayed as blocks */
  }

  .slick-box h5{
      font-size: 2.5rem;
      margin: 15px 0 0 0;
      padding: 0;
  }

  .slick-box p{
      font-size: 1.6rem;
      color: #535353;
      padding: 15px 0px;
      text-indent: 40px; 
      text-align: justify;
      line-height: 2rem;
      }

  /* Image styling */
  .slick-box img {
    width: 100%;
    height: 360px; /* Set a consistent height for images */
    object-fit: contain; /* Make sure image covers the box area */
    border-radius: 8px;
  }

  /* Slick dots */
  .slick-dots li button:before {
    color: #007bff; /* Blue color for dots */
  }

  .slick-prev, .slick-next {
    background-color: #007bff;
    border-radius: 50%;
    height: 40px;
    width: 40px;
  }

  .slick-prev:hover {
    background-color: #007bff;
    border-radius: 50%;
    height: 40px;
    width: 40px;
  }

  .slick-next:hover {
    background-color: #007bff;
    border-radius: 50%;
    height: 40px;
    width: 40px;
  }

  /* Responsive styling */
  @media (max-width: 768px) {
    .slider-container {
      width: 90vw; /* Full width on smaller screens */
    }
  }


  /* /////////////////////////////////////////////////////////////////////////////////////////////// */

  .training-consultation-section {
    background-color: #f9f9f9; /* Light background for contrast */
    padding: 50px 20px; /* Padding for spacing */
    font-family: 'Arial', sans-serif; /* Font style */
    margin-top: 50px;
}

.content-wrapper {
    display: flex; /* Flex layout for responsive design */
    justify-content: space-between; /* Space between items */
    align-items: flex-start; /* Align items at the top */
    max-width: 1200px; /* Maximum width for the content */
    margin: 0 auto; /* Center content */
    padding: 30px 0; /* Vertical padding */
    gap: 40px; /* Space between text and image */
    animation: fadeInUp 1s ease-in-out forwards; /* Animation for entrance */
}

.text-content {
    flex-basis: 60%; /* Take 65% width */
    animation: textSlideIn 1s ease-in-out forwards; /* Animation for text */
}

.text-content h2 {
    font-size: 32px; /* Large header size for big screens */
    font-weight: 600; /* Bold header */
    margin-bottom: 20px; /* Margin below header */
    color: #0056b3;
}

.text-content h3 {
    font-size: 24px; /* Subheading size */
    margin-top: 20px; /* Margin above subheading */
    margin-bottom: 10px; /* Margin below subheading */
}

.text-content p,.text-content ul li{
    font-size: 16px; 
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.image-content {
    flex-basis: 40%; /* Image takes 30% of the available width */
    margin: 0 auto; /* Center the image horizontally */
    animation: zoomIn 1.4s ease-in-out;
    margin-top: 70px;

}

.image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: block; /* Ensures the image is treated as a block-level element */
    margin: 0 auto; /* Ensures the image is centered */
}



.image-content img:hover {
    transform: scale(1); /* Scale to normal on hover */
}

/* Responsiveness */
@media screen and (max-width: 992px) {
    .content-wrapper {
        flex-direction: column-reverse; /* Stack elements vertically */
        align-items: center; /* Center items */
    }

    .text-content {
        flex-basis: 100%; /* Full width for text */
    }

    .image-content {
        flex-basis: 100%; /* Full width for image */
        margin-top: 20px; /* Space above image */
    }

    .text-content h2 {
        font-size: 28px; /* Adjust for medium screens */
    }

    .text-content h3 {
        font-size: 22px; /* Adjust for medium screens */
    }

    .text-content p, ul li {
        font-size: 16px; /* Adjust for medium screens */
    }

    .image-content img{
        width: 70%;
    }
}

@media screen and (max-width: 768px) {
    .text-content h2 {
        font-size: 24px; /* Adjust for small screens */
    }

    .text-content h3 {
        font-size: 20px; /* Adjust for small screens */
    }

    .text-content p, ul li {
        font-size: 15px; /* Adjust for small screens */
    }
}

@media screen and (max-width: 576px) {
    .text-content h2 {
        font-size: 22px; /* Adjust for extra small screens */
    }

    .text-content h3 {
        font-size: 18px; /* Adjust for extra small screens */
    }

    .text-content p, ul li {
        font-size: 14px; /* Adjust for extra small screens */
    }
}

/* Keyframe animations */
@keyframes fadeInUp {
    from {
        opacity: 0; /* Start transparent */
        transform: translateY(20px); /* Slide up */
    }
    to {
        opacity: 1; /* Fully visible */
        transform: translateY(0); /* Original position */
    }
}

@keyframes textSlideIn {
    from {
        opacity: 0; /* Start transparent */
        transform: translateX(-30px); /* Slide in from left */
    }
    to {
        opacity: 1; /* Fully visible */
        transform: translateX(0); /* Original position */
    }
}


/* //////////////////////////////////////////////////////////// */
  

.contact {
    height: auto;
    width: 100%;
    background: #2a2d54;
    /* background: linear-gradient(to bottom, #00509E 0%, #2CA58D 50%, #00509E 100%); */
   
    position: relative;
    color: #f0f0f0;

    font-family: sans-serif;
    font-family: 'Poppins', sans-serif;
    /* z-index: 9; */
    box-sizing: border-box;
    font-size: 1.8rem;
    /* overflow: hidden; */
}

.contact-container {
    padding: 90px 15px 62px;
    max-width: 1500px;
    margin-right: auto;
    margin-left: auto;
    display: flex;

    flex-wrap: wrap;
}

.contact-container ul li a {

    font-size: 14px;
    color: #cfd0e3;
    font-weight: 300;
    padding-bottom: 13px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}


.contact-container ul li a:hover {
    color: #007bff;
    transform: translateX(7px);
    /* Moves the text 5px to the right */


}



.contact-container ul li {
    padding-top: 10px;
}

.contact-container ul {
    padding-top: 15px;
}


.contact-container h1 {
    font-size: 16px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 30px;
}


.one p {
    /* padding: 10px; */
    font-size: 1.7rem;
    text-align: center;
}

.one .link {
    display: flex;
    /* margin: 20px; */
    justify-content: center;
    
}

.link a {
    color: #cfd0e3;
    background-color: rgba(255, 255, 255, .1);
    padding: 4px 7px;
    margin: 7px;
    margin-left: 10px;
    transition: all 0.5s;
    border-radius: 10px;
  
}

.link a:hover {
    background-color: #ffebcd;
    color: #007bff;
}




.one {
    width: 23%;
    padding-right: 20px;
    background: rgba(255, 255, 255, .1);
    padding: 20px;
    margin: 60px 50px 150px 10px;
    border-radius: 20px;
}



.two {
    width: 23%;
}

.two div ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.three {
    width: 23%;
    display: inline-block;
}




.four {
    width: 23%;

}

.four .address {
    line-height: 2.5rem;
    display: inline-flex;
}

.four i {
    padding-right: 10px;
}

.four ul li span {
    color: #cfd0e3;
    font-size: 14px;
   
}

.four ul li .col {
    transition: all 0.3s ease;
}

.four ul li .col:hover {
    color: #007bff;
    transform: translateX(5px);

}

.four .address span {
    text-align: start;
}




.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    color: #cfd0e3;
    padding: 3rem 0 3rem 0;
    background: #2a2d54;
    border-top: 0.1px solid rgb(82, 82, 82);
}

.footer-text p {
    padding-left: 0px;
    font-size: 14px;
    color: #cfd0e3;
    font-weight: 300;
    text-align: center;
}

.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #007bff;
    color: white;
    font-size: 24px;
    text-align: center;
    line-height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* Hidden by default */
    z-index: 1000;
    transition: opacity 0.4s ease, background-color 0.3s;
}

.scroll-top.disabled {
    opacity: 0.5;
    pointer-events: none; /* Disable interaction */
}

.scroll-top:hover {
    background-color: #0056b3;
}




@media screen and (max-width: 1024px) {
  
  
 
   
    .coco {
        width: 50%;
    }
    .one,
    .two,
    .three,
    .four {
        padding-bottom: 50px;
    }

  

    .container2 {
        flex-wrap: wrap;
        
    }

    .one {
        width: 70vw;
        padding-right: 20px;
        padding: 20px;
        margin:0px 20px 70px 0px;
        text-align: center;
    }

    .one .link{
        justify-content: center;
    }

    .contact-container {
        padding-left: 100px;
    }

}

@media screen and ( max-width: 768px) {


    .coco {
        width: 100%;
    }
    
    .one,
    .two,
    .three,
    .four {
        padding-bottom: 50px;
    }
    
  
    .contact-container {
        justify-items: center;
        padding-left: 50px;

    }

    .container2 div{
        flex-direction: column;
    }

    
    .footer-text p {
        font-size: 1rem;
    }

   

    .container2 {
      flex-direction: column;
         
    }

    .container2 div{
        width: 96%; 
      }

   
    .container2 div {
        
        margin-left: 0;
        margin-right: 0;
        width: 100%;
      }

      .con form .input-box {
        flex-direction: column;
    }

    .con form .input-box input {
        width: 100%;
        border-radius: 0;
    }

    .con form textarea {
        border-radius: 0;
    }

    .con h4 {
        font-size: 2rem;
    }

    .con form .input-box input,
    .con form textarea {
     margin: .8rem 0;    
     }

    

    .fdir img{
        width: 80vw;
        padding: 0 10px;
        height: auto;
    }

    .box{
        width: 60vw;
    }

}


@media screen and ( max-width: 595px) {
 

.con h4 {
    font-size: 1.8rem;
    margin: 1rem 0;
}


}



@media screen and ( max-width: 483px) {
 
    .con {      
        padding: 30px 20px 0;
    }

    .teamH1 h1{
        font-size: 2.2rem;
    }

  
}

@media screen and ( max-width: 425px) {
   
 


    .con h4 {
        font-size: 1.6rem;
    
    }

  
}

@media screen and ( max-width: 320px) {

  
     .con h4 {
        font-size: 1.3rem;
    }



}