/**********************************/
/*********** Nav Bar CSS **********/
/**********************************/
body{
    background: linear-gradient(to top,#b6bcb6,#fff);
}
* {
    margin: 0;
    padding: 0;
}

/* Navbar styling */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: transparent !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: padding 0.3s ease-in-out;
    padding: 10px 30px;
}

.navbar.scrolled {
    background-color: #959393 !important; /* Blue color after scroll */
}


.navbar .navbar-brand {
    /*font-family: 'Orbitron', sans-serif;*/
     display: flex;
    align-items: center;
    font-size: 60px;
    font-weight: bold;
    color: #ffffff;
}

.navbar .navbar-brand span {
    margin-right: 10px;
}

.navbar .navbar-brand img {
    max-height: 40px;
}

/* Navbar links */
.navbar-nav .nav-item {
    position: relative;
}
.navbar-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 50px; /* this sets the space between each nav-item */
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 360;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
    background-color: #444343;
    border-radius: 2px;
    color: #fff !important;
}
.navbar .fa{
    margin-right: 5px;
}

.navbar {
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Dropdown Menu Styling (Sub Nav) */
.sub-nav-1 {
    display: none;
}
.mobile-only {
    display: none;
}


.navbar-nav .nav-item:hover .sub-nav-1 {
    display: block;
    position: absolute;
    background: #444343;
    margin-top: 2px;
    margin-left: -15px;
}
.navbar-nav .nav-item:hover .sub-nav-1 ul{
    display: block;
    margin: 10px;
}
/*.sub-nav-1 ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}*/

.navbar-nav .nav-item:hover .sub-nav-1 ul li {
   width: 150px;
    padding: 10px;
    border-bottom: 1px dotted #797979;
    background: transparent;
    border-radius: 0;
    text-align: left;
}

.navbar-nav .nav-item:hover .sub-nav-1 ul li:last-child {
    border-bottom: none;
}

.sub-nav-1 ul li a {
    text-decoration: none;
    color: #fff;
    display: block;
    transition: 0.3s ease;
}

/*.sub-nav-1 ul li a:hover {
    color: #23d7ef;
}*/

/* Toggler icon (hamburger) */
.navbar-toggler {
    border: none;
    background: transparent;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230420ad' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%280, 0, 0, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Responsive Behavior */
@media (max-width: 991px) {
    .navbar {
        background: #959393 !important; /* slightly transparent */
        position: relative; /* overlays on hero */
        top: 0;
        left: 0;
        right: 0;
        z-index: 1001; /* must be above hero image */
    }
    .navbar .container-fluid {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navbar .navbar-brand {
        display: flex;
        align-items: center;
        gap: 0;
        font-size: 18px;
        color: #000;
    }
    .navbar .navbar-brand span {
    margin-right: 2px;
}

     .navbar .navbar-brand img {
        max-height: 30px;
        width: 100px;
    }
    .navbar-toggler {
        border: none;
        color: #fff;
        background: transparent;
    }
    .navbar-collapse {
        background-color: #959393;
        padding: 15px;
        border-radius: 0 0 10px 10px;
    }

    .navbar-nav .nav-item {
        position: relative;
    }

    .navbar-nav .nav-link {
        padding: 8px;
        color: #fff !important;
    }
/****
   .submenu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 14px;
  margin-left: 15px;
  cursor: pointer;
}****/

/* Hide sub-menu by default */


/* Show when toggled */
/***.sub-nav-1.open {
  display: block;
  position: absolute;
  background: #444343;
  margin-top: 2px;
  padding: 10px;
  border-radius: 2px;
  z-index: 10;
}

.sub-nav-1 ul li {
  width: 150px;
  padding: 10px;
  border-bottom: 1px dotted #797979;
}

.sub-nav-1 ul li:last-child {
  border-bottom: none;
}

.sub-nav-1 ul li a {
  color: #fff;
  text-decoration: none;
}
***/
    .sub-nav-1 {
  display: none;
}
    .navbar-nav .nav-item:hover .sub-nav-1 {
        display: block;
        position: relative; /* changed from absolute */
        background: #959393;
        margin-top: 10px;
        padding: 10px;
        border-radius: 2px;
        width: 100%; /* full width in mobile */
        z-index: 1;
    }
    .navbar-nav .nav-item:hover .sub-nav-1 ul{
    display: block;
    margin: 10px;
}
    .mobile-only {
    display: inline-block;
}
   .navbar-nav .submenu-toggle {
    background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  margin-left: 5px;
  cursor: pointer;
}

.navbar-nav .sub-nav-1 {
    display: none;
}

.navbar-nav .nav-item.open .sub-nav-1 {
     display: block;
  position: absolute;
  background: #444343;
  margin-top: 2px;
  padding: 10px;
  border-radius: 2px;
  z-index: 10;
}

    .sub-nav-1 ul li {
  width: 150px;
  padding: 10px;
  border-bottom: 1px dotted #797979;
}

.sub-nav-1 ul li:last-child {
  border-bottom: none;
}

.sub-nav-1 ul li a {
  color: #fff;
  text-decoration: none;
    }
    .hero {
        padding-top: 100px !important; /* make room for navbar */
    }
}


/*******************************/
/********** Hero CSS ***********/
/*******************************/

.hero {
    position: relative;
    width: 100%;
    margin-bottom: 45px;
    padding: 500px 0 0 0;
    overflow: hidden;
    background:url(../img/h2.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero .container-fluid {
    padding: 0;
}

.hero .hero-image {
    position: relative;
    text-align: right;
    padding-right: 75px;
}

.hero .hero-image img {
    max-width: 80%;
    max-height: 80%;
}

.hero .hero-content {
    position: relative;
    padding-left: 75px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

.hero .hero-text p {
    color: #ffffff;
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: -20px;
}

.hero .hero-text h1 {
    color: #ffffff;
    font-size: 100px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
    margin-top: -20px;
}

.hero .hero-text h2 {
    display: inline-block;
    color: #ffffff; /* Ensure text is white */
    font-size: 35px; /* Adjust font size */
    font-weight: 600;
    height: auto; /* Allow dynamic height */
}

.hero .hero-text .typed-text {
    display: inline-block; /* Make it visible */
    margin: 0;
    height: 35px;
    color: #ffffff; /* Ensure text is white */
    font-size: 35px; /* Adjust font size */
    font-weight: 600;
    margin-top: 10px;
}

.hero .hero-text .typed-cursor {
    font-size: 35px;
    font-weight: 300;
    color: #ffffff;
}

.hero .hero-btn .btn {
    margin-top: 35px;
    color: #23d7ef;
    background: #ffffff;
    box-shadow: inset 0 0 0 50px #ffffff;
}

.hero .hero-btn .btn:hover {
    color: #ffffff;
    background: transparent;
    box-shadow: inset 0 0 0 0 #ffffff;
    border-color: #ffffff;
}

.hero .hero-btn .btn:first-child {
    margin-right: 10px;
}

@media (max-width: 991.98px) {
    .hero {
        padding-top: 60px;
    }
    
    .hero .hero-content {
        padding: 0 15px;
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Align with navbar brand */
    }
    
    .hero .hero-text {
        margin-top: 10px; /* Adjust spacing below navbar brand */
        text-align: left;
    }

    .hero .hero-text p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .hero .hero-text h1 {
        font-size: 28px;
        margin-top: 10px;
        margin-bottom: 5px;
    }
    
    .hero .hero-text h2 {
        font-size: 20px;
        height: auto;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding-top: 80px; /* Reduce padding slightly */
    }
    
    .hero .hero-content {
        text-align: left;
        align-items: flex-start;
    }
    
    .hero .hero-text {
        margin-top: 5px;
    }

    .hero .hero-text p {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .hero .hero-text h1 {
        font-size: 22px;
        margin-top: 5px;
    }
    
    .hero .hero-text h2 {
        font-size: 18px;
    }
}

@media (max-width: 575.98px) {
    .hero .hero-text p {
        font-size: 16px;
    }
    
    .hero .hero-text h1 {
        font-size: 30px;
    }
    
    .hero .hero-text h2 {
        font-size: 18px;
        height: 18px;
    }
    
    .hero .hero-btn .btn {
        padding: 8px 10px;
        letter-spacing: 0;
    }
}   


/*******************************/
/******* Section Header ********/
/*******************************/
.section-header {
    position: relative;
    margin-bottom: 45px;
}

.section-header p {
    display: inline-block;
    margin: 0 30px;
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: #ffffff;
}

.section-header p::before {
    position: absolute;
    content: "";
    height: 3px;
    top: 11px;
    right: 0;
    left: -30px;
    background: #0420ad;
    z-index: -1;
}

.section-header p::after {
    position: absolute;
    content: "";
    width: 3px;
    height: 3px;
    top: 11px;
    left: 3px;
    background: #0420ad;
    z-index: 1;
}

.section-header h2 {
    margin: 0;
    position: relative;
    font-size: 45px;
    font-weight: 550;
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 30px;
    }
}

/*******************************/
/********** About CSS **********/
/*******************************/
.about {
    position: relative;
    width: 100%;
    margin: -45px 0 45px 0;
}

.about .col-lg-4 {
    display: flex;
    justify-content: center; /* Center image horizontally */
    align-items: center;  
    margin-left: 60px;   /* Center image vertically */
}
.about .col-lg-4 img {
    max-width: 100%;
    height: 270px;
}

.about .col-lg-6 {
    padding-left: 20px; /* Add some space between image and text */
    padding-right: 20px;
}
.about .section-header {
    margin-bottom: 30px;
}

.about .about-img {
    position: relative;
    height: 100%;
    margin-left: 120px;
    
}

.about .about-img img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    align-items: center;
    margin-left: 40px;
}
.about .about-content {
    padding: 15px 60px;
}

.about .about-text h4 {
    font-size: 22px;
    text-align: left;
}

.about .skills {
    margin-bottom: 30px;
}

.about .skill-name {
    margin-top: 15px;
}

.about .skill-name p {
    display: inline-block;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 400;
}

.about .skill-name p:last-child {
    float: right;
}

.about .progress {
    height: 10px;
    border-radius: 10px;
    background: #dddddd;
}

.about .progress .progress-bar {
    width: 0px;
    background: #0420ad;
    border-radius: 10px;
    transition: 2s;
}


.btn {
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 20px;
    color: #ffffff;
    background: #000;
    border: 2px solid transparent;
    border-radius: 0;
    box-shadow: inset 0 0 0 50px #444343;
    transition: ease-out 0.3s;
    -webkit-transition: ease-out 0.3s;
    -moz-transition: ease-out 0.3s;
}

.btn:hover {
    color: #444343;
    background: transparent;
    box-shadow: inset 0 0 0 0 #444343;
    border-color: #000;
}

.about .about-text a.btn {
    margin-top: 15px;
}

@media (max-width: 991.98px) {
    .about {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .about .col-lg-4 {
    display: flex;
    justify-content: center; /* Center image horizontally */
    align-items: center;  
    margin-left: 4px;   /* Center image vertically */
}

    .about .about-content {
        padding: 45px 15px 0 15px;
    }
    .about .about-text h4 {
    font-size: 16px;
    justify-content: center;
}


    .about .about-img {
        position: relative;
        width: 100%;
        max-width: 250px;
        height: auto;
        margin: 0 auto 20px 20px; /* Move it 20px to the right */
    }

    .about .about-img img {
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
        margin: 0;
    }
}


/*******************************/
/********** Mission CSS **********/
/*******************************/

/* Mission Section Styling */

.section-header h2 {
    font-size: 45px;
    font-weight: 550;
    margin-top: 30px; /* 👈 Add this */
    margin-bottom: 30px;
    color: #050505;
}

/*.scroll-wrapper {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    padding: 40px 0;
   /* background: #fff;*/
  

  .cover {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 100%;
  padding: 10px 20px;
  margin: 0 auto; /* Center alignment */
}
  /*.scroll-wrapper:hover .cover {
    animation-play-state: paused; /* Pause when hovered */
  /*}

  @keyframes scroll {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-50%);
    }
  }*/

  .box, .box1, .box2, .box3, .box4 {
  height: 380px;
  width: 550px;
  flex: 0 0 auto;
  background: #c0b9b9d0;
  border-radius: 10px;
  padding: 20px;
  position: relative;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: justify;
}

  .box-img, .box1-img, .box2-img, .box3-img, .box4-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    z-index: 2;
    position: relative;
  }

  .box::before,
  .box1::before,
  .box2::before,
  .box3::before,
  .box4::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.612);
    z-index: 1;
  }

.box h2, .box1 h2, .box2 h2, .box3 h2, .box4 h2,
.box p, .box1 p, .box2 p, .box3 p, .box4 p {
  position: relative;
  z-index: 2; /* above overlay */
  color: #050505;
  text-align: justify;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

 
  .box p, .box1 p, .box2 p, .box3 p, .box4 p {
    white-space: normal;     /* Allows text to wrap */
    word-wrap: break-word;   /* Ensures long words break properly */
    overflow-wrap: break-word;
    text-align: justify;
  }

  .box:hover,
  .box1:hover,
  .box2:hover,
  .box3:hover,
  .box4:hover {
    transform: translateY(-5px);
  }


 @media screen and (max-width: 768px) {
  .box, .box1, .box2, .box3, .box4 {
    width: 400px;
    height: auto;
    padding: 15px;
    
  }
}
  


/*******************************/
/******** Scrolling CSS ********/
/*******************************/
.section-header h2 {
    font-size: 45px;
    font-weight: 550;
    margin-top: 30px; /* 👈 Add this */
    margin-bottom: 30px;
    color: #050505;
}
      .scroll-container {
      width: 100%;
      overflow-x: auto;
      overflow-y: hidden;
      white-space: nowrap;
      background: #ffffff;
      padding: 20px 0;
      box-sizing: border-box;
      scroll-behavior: smooth;
    }

       .scroll-images {
      display: inline-flex;
      animation: scroll 30s linear infinite;
      align-items: center;
      animation-play-state: running; /* Default: running */
    }

    .scroll-container:hover .scroll-images {
      animation-play-state: paused;
    }

       .scroll-images img {
      width: 200px;
      height: 200px;
      object-fit: contain;
      margin: 0 10px;
      border-radius: 50%; /* Circular images */
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s;
    }
        .scroll-images img:hover {
            transform: scale(1.1);
        }

        @keyframes scroll {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }
       @media (max-width: 768px) {
      .scroll-images img {
        width: 150px;
        height: 150px;
      }
      .scroll-container {
        animation: none; /* Disable auto-scroll on small screens */
      }
    }

    @media (max-width: 480px) {
      .scroll-images img {
        width: 120px;
        height: 120px;
      }
    }

/*******************************/
/********** footer CSS **********/
/*******************************/

/* Footer Styling */

.footer-line {
    width: 100%;
    height: 2px;
    background-color: #ccc; /* Adjust color */
    margin-bottom: 10px; /* Space between line and footer */
}

.footer {
    /*background: linear-gradient(#81d4fa,#4fc3f7,#b3e5fc);*/
    padding: 30px 0;
    font-family: Arial, sans-serif;
}

.container {
    width: 85%;
    margin: auto;
}

/* Flexbox Layout */
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    width: 23%;
}

/* Heading Styles */
.footer-section h3 {
    font-size: 22px;
    font-weight: bold;
    color: #070707;
    margin-bottom: 15px;
}

/* Text Styles */
.footer-section p {
    font-size: 16px;
    color: #000000;
    margin-bottom: 8px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    color: #000;
    font-size: 20px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #000000;
}

/* Subscription Box */
.subscription {
    display: flex;
    align-items: center;
    background: #2b2e4a;
    border-radius: 25px;
    padding: 5px;
    width: fit-content;
}

.subscription input {
    border: none;
    background: transparent;
    color: white;
    padding: 10px;
    outline: none;
    width: 200px;
}

.subscription button {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
}

.subscription button:hover {
    background: #0056b3;
}

/* Contact & Links */
.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 5px;
}

.footer-section ul li a {
    text-decoration: none;
    color: #060606;
}

.footer-section ul li a:hover {
    color: #444343;
}

/* Bottom Section */
.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    font-size: 14px;
    color: #070707;
}

.footer-bottom a {
    color: #007bff;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-section {
        width: 45%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        width: 100%;
    }

    .social-icons {
        justify-content: center;
    }
}
