/* ===== General Styles ===== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ===== Topbar ===== */
.bg-dark {
  background-color: #1a1a1a !important;
}

.bg-dark a {
  color: #ffffff;
  transition: color 0.3s;
}

.bg-dark a:hover {
  color: #f8b400; /* gold hover effect */
}

.bg-dark .container div {
  font-size: 14px;
}

/* ===== Navbar ===== */
.navbar {
  padding: 10px 0;
}

.navbar-brand img {
  height: 55px; /* adjust logo size */
  max-height: 100%;
}

.navbar-nav .nav-link {
  color: #333333;
  font-weight: 500;
  padding: 8px 20px !important;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #1b76f3; /* highlight color */
}

/* Dropdown menu */
.dropdown-menu {
  border-radius: 0;
  border: none;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
}

.dropdown-menu .dropdown-item {
  padding: 10px 20px;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #1b76f3;
  color: #fff;
}

/* Logo position and responsiveness */
/* Fix Hero Banner Height */
#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item,
#heroCarousel .carousel-item img.hero-img {
  height: 900px;
  object-fit: cover; /* keeps images filling banner */
}

/* Logo position */
.hero-logo {
  position: absolute;
  top: 50%;          
  left: 100px;       
  transform: translateY(-50%);
  z-index: 10;
}

/* White box with opacity */
.logo-box {
  background: rgba(255, 255, 255, 0.6);
  padding: 15px 20px;
  border-radius: 10px;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0,0,0,.8);
}

.shadow-text
{
  text-shadow: 2px 2px 6px rgba(0,0,0,1);
}

/* Logo image size */
.logo-box img {
  max-width: 220px;
  height: auto;
  display: block;
}



/* Title Styling */
.who-title {
  font-weight: 300; /* thin font */
  font-size: 3.5rem;
  color: #226ee1; /* blue toned */
}

/* Paragraphs */
.who-text {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.8;
}

.scroll-box {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  background: #304e77;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 2.5rem;
  position: relative;
}

.scroll-content {
  display: inline-block;
  padding-right: 1rem; /* small gap between repeats */
}

.scroll-text {
  display: inline-block;
  white-space: nowrap;
  font-weight: 300;
  animation: scroll-left 20s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


.scroll-one
{
  color: lightblue!important;
}

.scroll-two
{
  color: lightyellow!important;
}

.scroll-three
{
  color: lightgreen!important;
}

.scroll-four
{
  color: lightpink!important;
}

.scroll-five
{
  color: lightseagreen!important;
}




/* Animation for Image and Content */
.fade-in-left, .fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in-left {
  transform: translateX(-50px);
}

.fade-in-right {
  transform: translateX(50px);
}

.fade-in-left.show, .fade-in-right.show {
  opacity: 1;
  transform: translateX(0);
}

/*--------------------------------------------------------------------------------------------------*/

.process-icon {
    font-size: 2.5rem;
    color: #226ee1;
    min-width: 50px;
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s ease-in-out;
  }

  .what-title {
  font-size: 4.2rem;
  font-weight: 100;
  color: #226ee1;
}

.what-subtitle {
  font-size: 1.2rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

.what-section
{
  background: #d2e7fc;
}

  .what-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-in-out;
  }

  /* Animation trigger when visible */
  .what-card.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .what-card.visible .process-icon {
    opacity: 1;
    transform: translateX(0);
  }


/*--------------------------------------------------------------------------------------------------*/




/* Section Styling */
.our-services {
  background: #fff;
}

.services-title {
  font-size: 4.2rem;
  font-weight: 300;
  color: #226ee1;
}

.services-subtitle {
  font-size: 1.2rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

/* Card Hover */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Animations */

.fade-in, .slide-up, .zoom-in {
  opacity: 0;
  transition: all 1s ease;
}

.fade-in-delay {
  opacity: 0;
  animation: fadeIn 1s ease forwards 0.5s;
}

/* Fade In */
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Slide Up */
.slide-up {
  transform: translateY(40px);
}
.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Zoom In */
.zoom-in {
  transform: scale(0.9);
}
.zoom-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Delay utility classes */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }
.delay-5 { transition-delay: 1s; }


.btn-more {
  display: inline-block;
  padding: 10px 25px;
  background: #1b3753;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 14px;
  transition: all 0.3s ease;
}

.btn-more:hover {
  background: #1549a8;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.arrow-icon {
  margin-left: 8px;
  font-weight: bold;
  transition: margin-left 0.3s ease;
}

.btn-more:hover .arrow-icon {
  margin-left: 14px;
}


.font-thin
{
  font-weight: 100;
  font-size: 1.8rem;
  color: #1b3753;
}



/* Fade & Slide animations */
.fade-in {
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-up {
  opacity: 0;
  transform: translateY(100px);
  transition: all 1s ease;
}
.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.zoom-in {
  opacity: 0;
  transform: scale(0);
  transition: all 2s ease;
}
.zoom-in.visible {
  opacity: 1;
  transform: scale(1);
}


/*--------------------------------------------------------------------------------------------------*/
/* Our Work Progress */

.work-progress {
  background: #1b3753;
}

.process-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.progress-icon {
  width: 100%;
  margin-right: 15px;
}

.progress-title {
  font-size: 4.2rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 0!important;
  padding-bottom: 0!important;
}

.progress-subtitle {
  font-size: 1.2rem;
  margin-top: 0!important;
  padding-top: 0!important;
  color: #fff!important;
  max-width: 700px;
  font-weight: 100;
  margin: 0 auto;
}


.cartoon-img {
  max-width: 80%;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.zoom-in {
  opacity: 0;
  transform: scale(0.2);
  transition: all 0.6s ease;
}

.zoom-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Animation for left column */
.fade-in-left1 {
  opacity: 0;
  transform: translateX(-80px);
  transition: all 1s ease-out;
}
.fade-in-left1.show {
  opacity: 1;
  transform: translateX(0);
}

/* Animation for right column */
.fade-in-right1 {
  opacity: 0;
  transform: translateX(80px);
  transition: all 1s ease-out;
}
.fade-in-right1.show {
  opacity: 1;
  transform: translateX(0);
}


.delay-1 { transition-delay: 0.3s; }
.delay-2 { transition-delay: 0.6s; }
.delay-3 { transition-delay: 0.9s; }

/*--------------------------------------------------------------------------------------------------*/

.facts-section {
  background: #1b3753!important;
}

.fact-box {
  /*padding: 20px;
  background: #fff;
  border-radius: 35px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);*/
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fact-box:hover {
  transform: translateY(-5px);
  background: #234261;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  padding: 10px!important;
}

.fact-number {
  font-size: 4rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 10px;
  display: inline-block;
}

.fact-text {
  font-size: 1.4rem;
  color: #fff;
}

.plus {
  font-size: 4rem;
  font-weight: 300;
  color: #fff;
}

.fact-icon {
  font-size: 4rem;
  color: #75a5d5;
  margin-bottom: 15px;
  display: block;
}


/* Animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-in-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.3s; }
.delay-2 { transition-delay: 0.6s; }

/*--------------------------------------------------------------------------------------------------*/

/* ===================== Testimonials ===================== */
.testimonials {
  background: #f8fbff;
}

.testimonials-title {
  font-size: 3rem;
  font-weight: 300;
  color: #226ee1;
}

.testimonials-subtitle {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

/* Card Style */
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.testimonial-content {
  font-size: 1rem;
  color: #444;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-content::before {
  content: "“";
  font-size: 3rem;
  color: #226ee1;
  position: absolute;
  top: -15px;
  left: -25px;
}

.testimonial-footer {
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.testimonial-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #226ee1;
}


.font-title
{
  color: #226ee1;
}

.sub-footer
{
  background: #1b3753;
}

.bg-about-fact
{
  background :#1b3753;

}

.team-member-img
{
  width: 120px;
}

.about-width 
{
  width: 60%;
  margin: auto;
  margin-bottom: 30px;
}

.about-title
{
  font-size: 3rem!important;
  font-weight: 100;
}

#backToTop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  width: 50px;
  height: 50px;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top
{
  background: #4274a5;
  color: white;
  border-radius: 15px;
}

.back-to-top:hover
{
  background: #ff9600;
  color: black;
}


.about-fact
{
  transition: all 1s ease; /* smooth transition */
}

.about-fact:hover
{
  transform: translateY(-5px);
}

/*---------------------------------------------------------------------------------------------------*/

/* Responsive adjustments */
@media (max-width: 992px) {  /* tablets */
  #heroCarousel,
  #heroCarousel .carousel-inner,
  #heroCarousel .carousel-item,
  #heroCarousel .carousel-item img.hero-img {
    height: 650px;
  }
  .logo-box img {
    max-width: 160px;
  }

  .about-width 
  {
    width: 100%;
  }
}

@media (max-width: 576px) {  /* mobiles */
  #heroCarousel,
  #heroCarousel .carousel-inner,
  #heroCarousel .carousel-item,
  #heroCarousel .carousel-item img.hero-img {
    height: 500px;
  }
  .hero-logo {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
  }
  .logo-box img {
    max-width: 120px;
  }

  .about-width 
  {
    width: 100%;
  }
}

/* ===== Responsive adjustments ===== */
@media (max-width: 991px) {
  .navbar-nav .nav-link {
    padding: 10px;
  }
  .bg-dark .container {
    flex-direction: column;
    text-align: center;
  }
  .bg-dark .container div {
    margin: 5px 0;
  }
}


