 /* --- CORE SCROLLING & THEME STYLES --- */
 body {
     color: #fff;
     overflow: hidden;
     background-color: #1a1a1a;
 }

 p {
     font-size: 18px;
 }

 /* Main container that moves up and down */
 main {
     transition: transform 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55);
 }

 /* Wrapper that holds the main scrolling sections */
 .scroller-wrapper {
     height: 100vh;
     overflow: hidden;
     position: relative;
     transition: transform 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55);
 }

 .full-page-section {
     width: 100vw;
     height: 100vh;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     position: relative;
     overflow-y: auto;
     padding: 2rem;
     /* General padding for content */
 }

 .section-dots {
     position: fixed;
     top: 50%;
     right: 25px;
     transform: translateY(-50%);
     list-style: none;
     z-index: 1040;
 }

 .section-dots li {
     margin: 15px 0;
 }

 .section-dots a {
     display: block;
     width: 12px;
     height: 12px;
     border-radius: 50%;
     background-color: transparent;
     border: 2px solid #fff;
     transition: background-color 0.3s ease;
 }

 .section-dots a.active {
     background-color: #fff;
 }

 /* --- HEADER: Now absolute, not fixed --- */
 header {
     position: absolute;
     /* Changed from fixed */
     top: 0;
     left: 0;
     width: 100%;
     z-index: 1030;
     /* Ensure it's above other section content */
 }
#section-1 header{
    background: url(images/about/heade-bg.jpg);
    margin-bottom: 50px;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 10px;
}
 .navbar {
     background-color: #005198;
     /* Lighter background */
     backdrop-filter: blur(5px);
 }

 /* Section background colors and images */
 #section-2 {
     background: url(images/about/sector.jpg) no-repeat center center;
     background-size: contain;
     background-position: center center;
     background-color: #b6d1ff;
 }

 #section-3 {
     background-color: #9b59b6;
 }

 #section-4 {
     background: linear-gradient(to bottom, #2575fc, #051799);
     overflow-x: hidden;
 }

 #section-5 {
     background-color: #e74c3c;
 }

 #section-6 {
     background-color: #34495e;
     padding: 0;
 }

 #section-7 {
     background-color: #7f8c8d;
 }

 .custom-card {
     background: rgba(255, 255, 255, 0.1);
     border: 1px solid rgba(255, 255, 255, 0.2);
 }

 .custom-card:hover {
     transform: translateY(-10px);
     background: rgba(255, 255, 255, 0.2);
 }

 .card-icon {
     width: 50px;
     height: 50px;
     margin-bottom: 1rem;
     color: #fff;
 }

 .read-more-btn {
     font-weight: bold;
 }

 #section-4 .read-more-btn {
     background-color: #fff;
     color: #e67e22;
 }

 #section-5 .read-more-btn {
     background-color: #fff;
     color: #e74c3c;
     margin: 0px auto;
 }

 /* Remove animation and scrolling */
 .horizontal-scroll-wrapper {
     width: 100%;
     overflow: visible;
 }

 /* Use grid layout for 6 items */
 .items-container {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
     gap: 5px;
     justify-items: center;
 }

 /* Card styling */
 .dimension-card {
     width: 100%;
     max-width: 300px;
     text-align: center;
     background: rgba(255, 255, 255, 0.1);
     border: none;
     border-radius: 1rem;
     padding-bottom: 1rem;
 }

 .dimension-card .card-img-top {
     width: 150px;
     height: 150px;
     object-fit: cover;
     margin: 0px auto;
 }

 /* Optional: hover effect */
 .dimension-card:hover {
     transform: translateY(-5px);
     transition: all 0.3s ease;
 }

 /* --- FOOTER CSS --- */
 footer {
     position: fixed;
     bottom: 0;
     padding-top: 50px;
     left: 0;
     width: 100%;
     z-index: -1;
     background-color: #212529;
     color: #adb5bd;
     display: flex;
     align-items: center;
 }

 footer h5 {
     color: #fff;
     margin-bottom: 1.5rem;
 }

 footer .list-unstyled a {
     color: #adb5bd;
     text-decoration: none;
     transition: color 0.3s ease;
 }

 footer .list-unstyled a:hover {
     color: #fff;
 }

 .social-icons a {
     font-size: 1.5rem;
     margin-right: 1rem;
     color: #adb5bd;
     transition: color 0.3s ease;
 }

 .social-icons a:hover {
     color: #fff;
 }

 /* 10-10-25 */
 .navbar-brand img {
     width: 700px;
 }

 .list-group-item {
     border: 0px !important;
 }

 .list-group a {
     font-size: 23px;
     color: #fff;
     font-weight: 500;
     text-decoration: none;
 }

 #section-5 img {
     width: 80px;
     border-radius: 50px;
     margin: 0px auto;
 }


 /* Ensure the carousel also takes up the full height */
 #heroCarousel {
     height: 100%;
 }

 #section-1 {
     display: block !important;
 }

 .navbar {
     /* Optional: Smooth transition for height/logo changes */
     transition: all 0.3s ease-in-out;
 }

 .navbar .navbar-brand img {
     /* Set the initial logo height */
     /*     height: 40px;*/
     /* Example initial height */
     transition: height 0.3s ease-in-out;
 }

 /* ---------------------------------------------------- */
 /* 2. Scrolled State Styles (The shrinking effect) */
 /* ---------------------------------------------------- */
 .navbar.scrolled {
     /* Reduce the overall height of the navbar by changing padding */
     padding-top: 5px !important;
     padding-bottom: 5px !important;
     /* Optional: Change background color on scroll */
     background-color: rgba(255, 255, 255, 0.95);
     /* Example: semi-transparent white */
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
 }

 /* --- FOOTER CSS --- */

 footer h5 {
     color: #fff;
     margin-bottom: 1.5rem;
 }

 footer .list-unstyled a {
     color: #adb5bd;
     text-decoration: none;
     transition: color 0.3s ease;
 }

 footer .list-unstyled a:hover {
     color: #fff;
 }

 .social-icons a {
     font-size: 1.5rem;
     margin-right: 1rem;
     color: #adb5bd;
     transition: color 0.3s ease;
 }

 .social-icons a:hover {
     color: #fff;
 }

 .nav-link {
     color: #fff !important;
     font-weight: 600;
     font-size: 18px;
 }

 .navbar-nav .nav-link.active,
 .navbar-nav .nav-link.show {
     color: rgb(3 40 151);
 }


 #footer li .fa-angle-double-right {
     font-size: 14px;
 }

 #footer li {
     list-style: none;
 }

 #footer .copy-rights {
     text-align: center;
 }

 .equal-box .btn,
 #section-7 .btn{
     margin: 0px auto;
     text-align: center;
     display: table;
 }

 .equal-box {
     min-height: 480px;
 }

 .navbar-toggler-icon {
     filter: invert(1);
 }
 /* ---------------------------------------------------- */
 /* MOBILE OVERRIDE - RE-ENABLE SCROLLING      */
 /* ---------------------------------------------------- */
 @media (max-width: 991.98px) {

     /* CRITICAL FIX: Re-enable native scrolling */
     body,
     html {
         overflow: auto !important;
         overflow-x: hidden !important;
         /* Prevents accidental horizontal scroll */
         height: auto !important;
     }

     /* CRITICAL FIX: Disable all custom positioning/transformations */
     .scroller-wrapper,
     main {
         transform: none !important;
         transition: none !important;
         height: auto !important;
         position: static !important;
     }

     .full-page-section {
         height: auto !important;
         /* Allow sections to be taller than 100vh */
         /*min-height: 100vh;*/
         /* Optional: Keep minimum height */
         padding: 2rem 0;
         /* Adjust padding for mobile layout */
         display: block;
     }

     /* Hide the desktop scroll dots */
     .section-dots {
         display: none;
     }

     /* Fix the fixed footer when native scrolling is enabled */
     footer {
         position: static;
         /* Let the footer sit at the bottom of all content */
     }
     .navbar-brand img {
    width: 100%;
}
.navbar-toggler {
    filter: invert(52%) sepia(97%) saturate(2800%) hue-rotate(185deg) brightness(100%) contrast(95%);
}
 }

 @media (max-width: 768px) {
.navbar-brand img {
    width: 100%;
}
.navbar-toggler {
    filter: invert(52%) sepia(97%) saturate(2800%) hue-rotate(185deg) brightness(100%) contrast(95%);
}
     #section-1,
     #heroCarousel,
     #heroCarousel .carousel-inner,
     #heroCarousel .carousel-item {
         height: 100vh !important;
     }
 }

 /*active menu */

 /* Style for main menu items and dropdown items when active */
 .navbar-nav .nav-item.active>.nav-link,
 .navbar-nav .dropdown-menu .dropdown-item.active,
 .navbar-nav .dropdown-submenu.active>.dropdown-item {
     color: #feae35 !important;
     /* Dark pink color */
 }

 /* Ensure submenu links are also styled when they are active */
 .navbar-nav .dropdown-menu .dropdown-item.active {
     background-color: rgba(213, 0, 109, 0.3) !important;
     /* Light dark pink background */
     color: #D5006D !important;
     /* Dark pink text color */
 }

 /* Optional: Add hover effect for better UX */
 .navbar-nav .nav-item:hover>.nav-link,
 .navbar-nav .dropdown-submenu:hover>.dropdown-item {
     color:#ffac34 !important;
     /* Dark pink hover effect */
 }
.navbar-nav .dropdown-menu .dropdown-item{
    font-weight: 600;
    font-size: 20px;
    color: #222;
}
.navbar-nav .dropdown-menu .dropdown-item:hover{
    color: #dc291e !important;
}
.navbar-nav li{
    border-right: 1px solid;
}
 /* Ensure the parent menu item shows active when a child is active */
 .navbar-nav .dropdown-menu .dropdown-item:focus,
 .navbar-nav .dropdown-submenu.active>.dropdown-item {
     color: #D5006D !important;
     /* Dark pink focus/active state */
 }
 .copy-rights a,
 .footer-list a{
     color: #fff !important;
 }
 .footer-list{
     padding: 0px;
 }
  #footer li{
     line-height: 27px;
     padding-bottom: 15px;
 }
 .footer-list li i{
       padding-top: 8px;
   }
  .footer-list li{
     display: flex;
  }
  
   .equal-box .d-flex .fa-angles-right{
      font-size: 20px !important;
      padding-top: 12px;
   }
  .equal-box .d-flex{
    gap: 18px !important;
  }
  .navbar,
  .navbar-brand{
      padding: 0 !important;
  }
  /* Show dropdown on hover */
.navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0; /* optional: adjust if dropdown jumps */
}

/* Support nested dropdowns */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

/* Ensure nested submenu also opens on hover */
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}
#section-3 .text-light{
text-align: justify !important;
}
/* Animation */
@keyframes fadeInBottomToTop {
  0% {
    opacity: 0;
    transform: translateY(50px); /* Start below the normal position */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* End at normal position */
  }
}

@keyframes fadeInLeftToRight {
  0% {
    opacity: 0;
    transform: translateX(-50px); /* Start off-screen to the left */
  }
  100% {
    opacity: 1;
    transform: translateX(0); /* End at normal position */
  }
}

/* Set initial state of grid items (hidden and off-screen) */
.grid-item {
  opacity: 0;
  transform: translateY(50px); /* For bottom to top */
  /* transform: translateX(-50px); For left to right */
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Class added when the section becomes visible */
.grid-item.visible {
  animation: fadeInBottomToTop 1s forwards;
  /* For left-to-right animation, use: */
  /* animation: fadeInLeftToRight 1s forwards; */
}
/* Fade-in animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Initial state of the card */
.dimension-card {
  opacity: 0;
  transform: translateY(30px);
}

/* Animation trigger class */
.dimension-card.visible {
  animation: fadeInUp 0.6s forwards;
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Initial state */
.card.custom-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Visible animation state */
.card.custom-card.visible {
  animation: fadeInUp 0.6s ease forwards;
}
.card.custom-card {
  opacity: 0;
  transform: translateY(30px);
}
.card.custom-card.visible {
  animation: fadeInUp 0.6s ease forwards;
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Base class for animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Class added when element is in view */
.animate-on-scroll.visible {
  animation: fadeInUp 0.6s ease forwards;
}
.navbar-nav{
    margin: 0px auto;
}
.navbar-expand-lg .navbar-nav .nav-link {
padding-right: 20px;
padding-left: 20px;
}


.news-scroll-container {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.news-scroll-content {
    animation: scrollUp 20s linear infinite;
}

.news-scroll-content:hover {
    animation-play-state: paused;
}

.news-item {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.news-item:hover {
    background: rgba(255, 255, 255, 0.05);
    padding-left: 10px;
}

.news-item i.fa-angles-right {
    margin-right: 10px;
    margin-top: 5px;
    color: #fff;
}

.news-item p {
    margin: 0;
    flex: 1;
}

.news-item a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.news-item a:hover {
    color: #ffd700;
}

.news-item span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

