
/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

/*** top button ***/
.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  display: none;
  transition: 0.5s;
  z-index: 99;
}

.btn-lg-square {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
}

/*** top button end ***/

/* ===== NAVBAR MENU STYLES ===== */

/* Make navbar transparent initially */
.navbar {
    background: transparent !important;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    transition: all 0.5s ease;
    z-index: 999;
}

/* When scrolled, show white background */
.sticky-top.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Navbar links */
.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 25px;
    padding: 15px 0;
    color: #59adfc; /* white text for transparent navbar */
    font-size: 17px;
    font-weight: 400;
    transition: color 0.5s ease;
}

/* Change color on scroll */
.sticky-top.navbar-light .navbar-nav .nav-link {
    color: #000000; /* black text when scrolled */
}

/* Hover and active state */
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

/* Logo sizing */
.navbar-light .navbar-brand img {
    max-height: 90px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 85px;
}

/* Dropdown arrow */
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

/* Dropdown hover effect */
.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

/* Dropdown visibility animation */
.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
}

/* Mobile view adjustments */
@media (max-width: 991.98px) {
    .navbar {
        background: #ffffff !important; /* always white on mobile */
    }

    .navbar-light .navbar-nav .nav-link {
        color: #000 !important;
    }
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid rgba(0, 0, 0, .08);
    }
    .navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        color: var(--bs-dark);
    }
    .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }
}



/*** Carousel Hero Header Start ***/
.carousel-header {
    position: relative;
    overflow: hidden;
}

.carousel-indicators {
    display: none;
}

.carousel .carousel-control-prev,
.carousel .carousel-control-next {
    width: 0;
}

.carousel .carousel-control-prev .carousel-control-prev-icon,
.carousel .carousel-control-next .carousel-control-next-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 25px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    transition: 0.5s;
}

.carousel .carousel-control-prev .carousel-control-prev-icon {
    left: 0;
    border-left: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 50px;

}

.carousel .carousel-control-next .carousel-control-next-icon {
    right: 0;
    border-right: 0;
    border-top-left-radius: 50px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 0;
}

.carousel .carousel-control-prev .carousel-control-prev-icon:hover,
.carousel .carousel-control-next .carousel-control-next-icon:hover {
    background: var(--bs-secondary);
}

.carousel .carousel-inner .carousel-item {
    position: relative;
}

.carousel .carousel-inner .carousel-item .carousel-caption-1  {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding-top: 100px;
    display: flex;
    align-items: center;
    justify-content: end;
    background: linear-gradient(rgba(0, 0, 0, 0.185), rgba(0, 0, 0, 0.5));
    background-size: cover;
}

.carousel-caption-1-content {
    text-align: end;
    padding-right: 100px;
}

.carousel-caption-1-content .carousel-caption-1-content-btn {
    display: flex;
    justify-content: end;
}

.carousel .carousel-inner .carousel-item .carousel-caption-2  {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding-top: 100px;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, 0.5));
    background-size: cover;
}

.carousel-caption-2-content {
    text-align: start;
    padding-left: 100px;
}

.carousel-caption-2-content .carousel-caption-2-content-btn {
    display: flex;
    justify-content: start;
}

.carousel .carousel-inner .carousel-item img {
        height: 700px;
        object-fit: cover;
    }


    .carousel .carousel-inner .carousel-item .carousel-caption-1 {
        max-width: 100% !important;
        justify-content: center;
    }

    .carousel-caption-1-content {
        padding: 0 20px !important;
        text-align: center !important;
    }

    .carousel-caption-1-content .carousel-caption-1-content-btn {
        justify-content: center;
    }


    .carousel .carousel-inner .carousel-item .carousel-caption-2 {
        max-width: 100% !important;
        justify-content: center;
    }

    .carousel-caption-2-content {
        padding: 0 20px !important;
        text-align: center !important;
    }

    .carousel-caption-2-content .carousel-caption-2-content-btn {
        justify-content: center;
    }
    

.custom-carousel-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6); /* darker semi-transparent */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.custom-carousel-btn i {
  font-size: 40px; /* bigger arrow */
  color: #f3eeee;
}

.custom-carousel-btn:hover {
  background: #0d6efd; /* bootstrap blue */
  color: #fff;
}

/* position tweaks */
.carousel-control-prev {
  left: 40px; /* move inside from corner */
}

.carousel-control-next {
  right: 40px; /* move inside from corner */
}

.carousel-control-prev,
.carousel-control-next {
  width: auto;
  top: 50%;
  transform: translateY(-50%); /* keep perfectly vertical center */
}
.modal .modal-header {
    height: 100px;
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, .6);
}
@media (max-width: 992px) {
    .carousel .carousel-inner .carousel-item {
        height: 700px;
        margin-top: -100px;}
    }

    
/*** Carousel Hero Header End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 20, 66, 0.7), rgba(0, 20, 66, 0.479)), url(../img/Sg.gif);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 120px 0 60px 0;
    transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}

@media (max-width: 992px) {
    .bg-breadcrumb {
        padding: 100px 0 100px 0;
    }
}
/*** Single Page Hero Header End ***/


.biz-card {
  padding:14px;
  border-radius:10px;
  background:rgba(255,255,255,0.6);
  border:1px solid rgba(15,23,42,0.05);
  transition: transform .3s ease, box-shadow .3s ease;
}
.biz-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 24px rgba(15,23,42,0.12);
}
.biz-card h3 {margin:0;font-size:1rem;}
.biz-card p {margin:8px 0 0;color:#6b7280;font-size:0.9rem;}
.biz-card a {display:inline-block;margin-top:8px;color:#2563eb;font-weight:600;font-size:0.92rem;text-decoration:none;}
.biz-card a:hover {text-decoration:underline;}


/*** Features Start ***/
.feature .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--bs-white);
    border-radius: 10px;
    transition: 0.5s;
}

.feature .feature-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature .feature-item .feature-icon {
    width: 100px;
    height: 100px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
}

.feature .feature-item .feature-icon i {
    transition: 0.5s;
}

.feature .feature-item:hover .feature-icon i {
    transform: rotate(360deg);
}

.feature .feature-item a.btn {
    transition: 0.5s;
}

.feature .feature-item:hover a.btn:hover {
    color: var(--bs-primary) !important;
}
/*** Features End ***/


.about-img-box,
.animate-slide-left {
  opacity: 0;
  transform: translateX(-80px) scale(.98);
  transition: all .9s cubic-bezier(.22,.8,.43,1.01), box-shadow .25s;
}
.animate-fade-up {
  opacity: 0;
  transform: translateY(36px) scale(.97);
  transition: all .85s cubic-bezier(.22,.8,.43,1.01);
}
.delay-1 { transition-delay: 0.15s;}
.delay-2 { transition-delay: 0.40s;}
.delay-3 { transition-delay: 0.6s;}
.delay-4 { transition-delay: 0.8s;}
.delay-5 { transition-delay: 1.0s;}
.delay-6 { transition-delay: 1.2s;}

/* When in viewport */
.in-view {
  opacity: 1 !important;
  transform: none !important;
}
/*** About Start ***/
.about .about-img {
    position: relative;
    padding-bottom: 30px;
    margin-top: 30px; 
    margin-left: 30px;
}

.about .about-img::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 10px;
    top: -30px;
    right: 0;
    border-radius: 10px;
    background: var(--bs-secondary);

}

.about .about-img::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 100%;
    left: -30px;
    bottom: 30px;
    border-radius: 10px;
    background: var(--bs-secondary);
}

.about .about-img .about-exp {
    position: absolute;
    top: 0;
    left: 0;
    padding: 25px;
    font-size: 30px;
    font-weight: bold;
    background: var(--bs-secondary);
    color: var(--bs-white);
    border: 1px solid var(--bs-secondary);
    margin-top: -30px;
    margin-left: -30px;
    border-radius: 10px;
}


.py-6 { padding: 2rem 0; }
    .rounded-4 { border-radius: 1rem; }

/* Read More Button */
.btn-readmore {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #2948a0, #426cff);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(66,108,255,0.3);
  transition: all 0.3s ease;
}

.btn-readmore:hover {
  background: linear-gradient(135deg, #1d346d, #2f5df5);
  box-shadow: 0 6px 16px rgba(41,72,160,0.4);
  transform: translateY(-2px);
}

/* --- MV Circle Design --- */
.mv-circle {
  border-radius: 50%;
  max-width: 330px;
  min-width: 295px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 7px solid transparent;
  box-shadow: 0 8px 30px rgba(49, 91, 160, 0.09);
  background: rgba(255, 255, 255, 0.18);
  transition:
    transform 0.55s cubic-bezier(.29, 1.21, .42, .91),
    box-shadow 0.5s cubic-bezier(.29, 1.21, .42, .91),
    background 0.3s;
  will-change: transform;
  pointer-events: auto;
}

.mv-circle-icon {
  border-radius: 50%;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 2px 10px rgba(60, 120, 214, 0.08);
  margin-bottom: 14px;
  animation: pulse 2.5s infinite ease-in-out;
}

/* Colored borders */
.border-primary-blue { border-top: 7px solid #267afd; }
.border-primary-cyan { border-top: 7px solid #19c0bc; }
.border-primary-gold { border-top: 7px solid #efb722; }

/* Hover Effect */
.mv-circle:hover {
  transform: translateY(-22px) scale(1.07) rotateZ(2deg);
  box-shadow: 0 30px 60px rgba(49, 91, 160, 0.17);
  background: #f6faff;
}

/* Responsive */
@media (max-width: 992px) {
  .mv-circle {
    margin-bottom: 36px;
    min-width: 220px;
    min-height: 210px;
  }
}
@media (max-width: 576px) {
  .mv-circle {
    min-width: 92vw;
    max-width: 92vw;
  }
}

/* --- Entrance Animations --- */
.animate-fadeup,
.animate-slideup {
  opacity: 0;
  transform: translateY(48px) scale(.98);
  transition:
    opacity 0.9s cubic-bezier(.39, .95, .57, 1),
    transform 0.9s cubic-bezier(.39, .95, .57, 1);
}

.animate-fadeup.in-view,
.animate-slideup.in-view {
  opacity: 1;
  transform: none;
}


/* Animation Delay */
.delay-1 { transition-delay: .22s; }
.delay-2 { transition-delay: .48s; }
.delay-3 { transition-delay: .68s; }
.delay-4 { transition-delay: .86s; }

/* --- Premium Pulse Effect for Icons --- */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: 0.9; }
}

.mv-circle:hover {
  transform: translateY(-20px) scale(1.08) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 35px 70px rgba(49, 91, 160, 0.18);
  background: #f6faff;
}


/* --- Smooth Scroll-trigger --- */

/*** About End ***/



/* Timeline Section */
.timeline-section {
  min-height: 100vh;
  margin: 0;
  /* Animated blue and white stripes */
  background: repeating-linear-gradient(
    -70deg,
    #d1ebf0 ,
    #fff 
  );
  background-size: 400px 400px;
  animation: stripesMove 25s linear infinite;
}

/* Animate the stripes to move left */
@keyframes stripesMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 400px 0;
  }
}


.timeline-section {
  max-width: 1100px;
  margin: auto;
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
}

.timeline-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #007BFF;
  letter-spacing: 1px;
}

.timeline {
  position: relative;
  padding: 40px 0;
}

/* Base vertical line */
.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
  background: #e0e0e0; /* Gray background for the line */
  z-index: 0;
}

/* Scroll-progress glowing line */
.timeline-progress {
  position: absolute;
  width: 6px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
  background: linear-gradient(180deg, #007BFF, #00BFFF);
  top: 0;
  height: 0; /* JS will grow this */
  z-index: 1;
  transition: height 0.2s ease-out;
  animation: pulseGlow 2s ease-in-out infinite alternate;
}



/* Timeline events */
.event {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

.event:nth-child(odd) { left: 0; text-align: right; }
.event:nth-child(even) { left: 50%; text-align: left; }

/* Event content box */
.event .content {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.event .content:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,123,255,0.25);
}

/* Timeline dots */
.event .content::before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  background-color: #007BFF;
  top: 20px;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0,123,255,0.5);
  z-index: 1;
  background: radial-gradient(circle,#fafafa 28%,#328ef1 10%);
      box-shadow: 0 0 0 9px #60d5ff44, 0 0 18px 7px #007BFF76;
      animation: dotPulse 2.1s infinite alternate;
      transition: box-shadow 0.27s;
}



.event:nth-child(odd) .content::before { right: -11px; }
.event:nth-child(even) .content::before { left: -11px; }

/* Event text */
.event .date {
  font-weight: 600;
  margin-bottom: 10px;
  color: #007BFF;
}

.event h3 {
  color: #007BFF;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.event h3 i {
  margin-right: 8px;
  color: #00BFFF;
}

.event p {
  color: #333;
  line-height: 1.6;
}

/* Extra content (expandable) */
.extra-content {
  display: none;
  margin-top: 15px;
  animation: fadeIn 0.5s forwards;
}

.expand-btn {
  margin-top: 10px;
  background-color: #007BFF;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.expand-btn:hover { background-color: #00BFFF; }

/* Fade in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Show event on scroll */
.event.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .timeline::after { left: 25px; }
  .timeline-progress { left: 25px; }
  
  .event, .event:nth-child(even), .event:nth-child(odd) {
    width: 100%;
    text-align: left !important;
    left: 0;
    padding-left: 50px;
    padding-right: 20px;
    margin-bottom: 40px;
  }
  
  .event .content::before { left: -11px; }
}


/*** Service Start ***/
.service-item {
    position: relative;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.service-item::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    left: 0;
    bottom: 0;
    border-radius: 10px;
    background: var(--bs-primary);
    transition: 0.5s;
    z-index: 1;
}

.service-item:hover::after {
    width: 100%;
    height: 100%;
}

.service-item:hover .service-content,
.service-item:hover .service-btn {
    position: relative;
    z-index: 2;
}

.service-item .service-content a,
.service-item .service-content p {
    transition: 0.5s;
}

.service-item:hover .service-content a:hover {
    color: var(--bs-secondary);
}

.service-item:hover .service-content p {
    color: var(--bs-white);
} 

.service-item .service-btn {
    width: 80px;
    height: 80px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    transition: 0.5s;
}

.service-item .service-btn i {
    transition: 0.5s;
}

.service-item:hover .service-btn {
    background: var(--bs-white);
}

.service-item:hover .service-btn i {
    transform: rotate(360deg);
    color: var(--bs-primary) !important;
}
/*** Service End ***/

/*** company showcase***/
.portfolio-item {
    height: 400px; /* Increased height for big showcase */
    overflow: hidden;
    position: relative;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay styling */
.portfolio-overlay {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* Overlay styling */
.portfolio-overlay {
    
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/*** Counter Section ***/
.counter {
  position: relative;
  background: linear-gradient(rgba(25, 64, 154, 0.9), rgba(25, 64, 154, 1)), 
              url('../img/fact-bg.jpg') center top / cover no-repeat;
  overflow: hidden;
  text-align: center;
}

.counter .counter-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px 20px;
  border-radius: 15px;
  transition: all 0.4s ease;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
}

.counter .counter-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(0, 123, 255, 0.5);
}

.counter .counter-item-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--bs-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.7);
}

.counter h4 {
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

.counter .counter-counting {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 🔹 Responsive Adjustments */
@media (max-width: 768px) {
  .counter .counter-item {
    margin-bottom: 25px;
    padding: 25px 15px;
  }

  .counter .counter-item-icon {
    width: 70px;
    height: 70px;
  }

  .counter h4 {
    font-size: 1rem;
  }

  .counter .counter-counting span {
    font-size: 1.5rem !important;
  }
}



/*** company showcasing ***/
.portfolio-swiper .swiper-slide {
    width: 300px; /* width per item */
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.portfolio-overlay {
    background: rgba(0,0,0,0.5);
    transition: all 0.3s ease-in-out;
}

.portfolio-item:hover .portfolio-overlay {
    background: rgba(0,0,0,0.6);
}

.portfolio-overlay h4,
.portfolio-overlay p {
    color: white;
}




/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    background: var(--bs-light);
    transition: 0.5s;
}

.blog .blog-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
}

.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item:hover .blog-img::after {
    background: rgba(0, 209, 249, 0.2);
}

.blog .blog-item .blog-date {
    position: absolute;
    top: 25px;
    left: 25px;
    border-radius: 10px;
    background: var(--bs-primary);
    color: var(--bs-white);
    z-index: 2;
}

.blog .blog-item .blog-content a {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-content a:hover {
    color: var(--bs-primary) !important;
}
/*** Blog End ***/

/*** Team Section CSS ***/
.team .team-item {
  position: relative;
  overflow: hidden;
  background: #fff; /* Use white background */
  border: 1px solid #dee2e6; /* Light border */
  border-radius: 10px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team .team-item:hover {
  transform: translateY(-10px);
}

.team .team-item .team-inner {
  transition: 0.5s;
  position: relative;
}

.team .team-item:hover .team-inner {
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}

.team .team-item .team-inner .team-img {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.team .team-item .team-inner .team-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: rgba(0, 209, 249, 0.15);
  transition: height 0.5s ease;
  z-index: 3;
}

.team .team-item:hover .team-inner .team-img::after {
  height: 100%;
}

.team .team-item .team-inner .team-img .team-share {
  position: absolute;
  left: 10px;
  bottom: 10px;
  transition: opacity 0.5s ease;
  z-index: 2;
}

.team .team-item:hover .team-inner .team-img .team-share {
  opacity: 0;
}

.team .team-item .team-inner .team-img .team-icon {
  position: absolute;
  bottom: 0;
  left: -100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #007bff; /* Primary color */
  padding: 8px 10px;
  border-radius: 0 0 0 10px;
  transition: left 0.5s ease;
  z-index: 4;
}

.team .team-item:hover .team-inner .team-img .team-icon {
  left: 0;
}

/* Team Info */
.team .team-item .team-inner .bg-light {
  background: #f8f9fa;
  padding: 20px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  text-align: center;
}

.team .team-item .team-inner h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
  font-weight: 600;
}

.team .team-item .team-inner p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: #6c757d;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .team .team-item { margin-bottom: 20px; }
}

@media (max-width: 576px) {
  .team .team-item { width: 100%; }
}
--------------------------------------------------
.community {
    background-color: #f8f9fa; /* light grey */
}

.community-card img {
    max-height: 80opx;
    object-fit: contain;
}

.community-card h5 {
    color: #0d6efd;
}

.community-card p {
    font-size: 0.95rem;
    color: #555;
}

.community-card .btn {
    font-size: 0.85rem;
    padding: 0.4rem 0.9rem;
}


.achievements {
    background-color: #f8f9fa;
}

.achievement-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

.achievement-card h3 {
    font-size: 3rem;
    font-weight: bold;
}

.achievement-card p {
    font-size: 1.1rem;
    color: #555;
}


.testimonials {
    background-color: #f8f9fa;
}

.testimonial-card {
    min-height: 220px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

.testimonial-card p {
    font-size: 1rem;
    color: #555;
}

.testimonial-card h5 {
    color: #0d6efd;
    font-weight: 600;
}

.testimonial-card small {
    color: #888;
}

/* Add space via parent */
.testimonial-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}


.swiper-pagination {
  margin-top: 32px !important; /* Force override if needed */
  position: static !important;  /* Ensure it's not absolutely positioned */
}


/* Make all testimonial cards same height */
.testimonial-card {
  min-height: 250px; /* Adjust this value to match your tallest box */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect (you already had this, keeping it beautiful) */
.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

/* Responsive tweak: allow flexibility on mobile */
@media (max-width: 768px) {
  .testimonial-card {
    min-height: auto;
  }
}




/*** testimonial Start ***/
.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 88px;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: center;
    margin-left: 20px;
    margin-top: 20px;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 20px;
    height: 20px;
    border-radius: 20px;
    margin-right: 15px;
    border: 1px solid var(--bs-secondary);
    background: var(--bs-primary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 20px;
    height: 20px;
    border-radius: 20px;
    border: 1px solid var(--bs-primary);
    background: var(--bs-secondary) !important;
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 8px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-white);
}

@media (max-width: 992px) {
    .owl-carousel.testimonial-carousel {
        padding-top: 30px;
    }

    .testimonial .owl-nav .owl-prev,
    .testimonial .owl-nav .owl-next {
        top: -30px;
    }
}
/*** testimonial End ***/

.contact {
    background-color: #f8f9fa;
}

.contact-form .form-control {
    border-radius: 0.5rem;
    padding: 15px;
    font-size: 1rem;
    transition: box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
    box-shadow: 0 0 10px rgba(221, 235, 255, 0.5);
    border-color: #0d6efd;
}

.contact-form .btn {
    border-radius: 0.5rem;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.contact-form .btn:hover {
    background-color: #0b5ed7;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}


/*** Footer Start ***/
.footer {
    background:  repeating-linear-gradient(rgba(45, 153, 255, 0.219) , rgb(255, 255, 255) ,rgba(0, 0, 248, 0.445)); /* soft light grey for white theme */
    padding: 5rem 0;
    border-top: 1px solid #dee2e6; /* top border separator */
}

.footer .footer-item {
    padding-bottom: 2rem;
    border-bottom: 1px solid #dee2e6; /* bottom separator for each column */
    margin-bottom: 2rem;
}

.footer .footer-item:last-child {
    border-bottom: none; /* remove last separator */
    margin-bottom: 0;
}

.footer .footer-item h3,
.footer .footer-item h4 {
    color: #343a40; /* dark grey headings */
}

.footer .footer-item p {
    color: #495057; /* medium grey text */
    line-height: 1.8;
}

.footer .footer-item a {
    color: #343a40; /* dark grey links */
    text-decoration: none;
    line-height: 35px;
    transition: 0.3s;
}

.footer .footer-item a:hover {
    color: #0d6efd; /* subtle primary hover */
    letter-spacing: 0.5px;
}

.footer .position-relative input.form-control {
    background-color: #ffffff; /* white input fields */
    border: 1px solid #ced4da;
    color: #495057;
}

.footer .position-relative .btn {
    background-color: #0d6efd; /* primary color buttons */
    color: white;
    border: none;
    transition: 0.3s;
}

.footer .position-relative .btn:hover {
    background-color: #0b5ed7; /* slightly darker on hover */
}

.footer .btn-md-square {
    background-color: #ffffff; /* white social icons background */
    color: #0d6efd; /* primary icon color */
    border: 1px solid #0d6efd;
    transition: 0.3s;
}

.footer .btn-md-square:hover {
    background-color: #0d6efd;
    color: white;
    border: 1px solid #0d6efd;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .footer .d-flex.justify-content-center.justify-content-lg-end {
        justify-content: center !important;
        margin-top: 1rem;
    }
}


/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(252, 252, 252, 0.08);
    background: var(--bs-dark);
}
/*** copyright end ***/


/* ===============================
   GLOBAL RESPONSIVE FIXES
   =============================== */

@media (max-width: 991px) {
  body {
    overflow-x: hidden;
  }

  .container,
  .timeline-section {
    padding: 20px 15px !important;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  h1,h2 {
    font-size: 1.6rem !important;
  }

  h3 {
    font-size: 1.3rem !important;
  }

  p {
    font-size: 0.95rem !important;
    line-height: 1.5;
  }
}

/* NAVBAR MOBILE FIX */
@media (max-width: 991px) {
  .navbar {
    position: fixed;
    background:#fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  .navbar-brand img {
    max-height: 60px !important;
  }
}

/* TEAM / PORTFOLIO GRID */
@media (max-width: 768px) {
  .team .team-item,
  .portfolio-item,
  .blog .blog-item {
    margin-bottom: 20px;
  }
}

