@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

:root {
    --deepblue-color:  #101586;
    --darkblue-color: #10139d;
    --royalblue-color: #0404cb; 
    --mediumblue-color: #2e4add;
    --lightblue-color: #cfeaef;

    --darkpurple-color: #8c74ed;
    --mediumpurple-color: #5b62db;
    --lightpurple-color: #7b84e3;

    --darkgrey-textcolor: #535252;
    --hover-color:#48cae4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
}

/* Top Bar Styles */
.top-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background-color: var(--lightblue-color);
    color: var(--darkgrey-textcolor);
    padding: 10px 15px;
    font-size: 14px;
    z-index: 99; /* Ensure it stays on top */
}

/* Contact Information Section */
.contact-info {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-item i {
    color: var(--royalblue-color);
}

/* Scrolling Text Section */
.scrolling-text {
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
    margin-left: 20px;
    min-width: 0; /* Ensures proper space allocation */
}

.scrolling-text p {
    display: inline-block;
    animation: scroll-text 40s linear infinite;
}

/* Keyframes for Scrolling Text */
@keyframes scroll-text {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Navbar General Styles */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--deepblue-color);
    color: white;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  /* Brand Logo and Name */
  .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 18px;
  }
  
  .brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }
  
  /* Navigation Links */
  .nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    font-weight: 450;
  }
  
  .nav-links li a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    font-size: 14px;
  }
  
  .nav-links li a:hover {
    color: var(--hover-color); /* Change text color to blue on hover */
  }
  
  .nav-links li a:hover::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--hover-color);
    border-radius: 2px;
    transition: 0.3s ease-in-out;
  }
  
  /* Search Bar */
  .search-container {
    display: flex;
    align-items: center;
    position: relative;
  }
  
  .search-bar {
    width: 0;
    padding: 8px;
    border: none;
    border-radius: 4px;
    outline: none;
    transition: 0.3s ease;
    opacity: 0;
  }
  
  .search-container .search-icon,
  .search-container .close-icon {
    cursor: pointer;
    color: white;
    font-size: 18px;
    margin-left: 10px;
  }
  
  .search-container .close-icon {
    display: none;
  }
  
  .search-container.active .search-bar {
    width: 200px;
    opacity: 1;
  }
  
  .search-container.active .search-icon {
    display: none;
  }
  
  .search-container.active .close-icon {
    display: block;
  }
  
  /* Hamburger Menu for Small Screens */
  .hamburger-menu {
    display: none;
    cursor: pointer;
  }
  
  .hamburger-menu i {
    font-size: 24px;
    color: white;
  }
 

/* Small Devices (e.g., smartphones, max-width: 600px) */
@media screen and (max-width: 600px) {
    /* Navbar Layout */
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px;
    }

    /* Hamburger Menu on Left */
    .hamburger-menu {
        order: 1;
        display: block;
    }

    /* Brand Logo in Center */
    .navbar-brand {
        order: 2;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-grow: 1;
    }

    /* Search Icon on Right */
    .search-container {
        order: 3;
        display: flex;
        justify-content: flex-end;
    }

    /* Hamburger Menu Behavior */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 250px;
        background-color: var(--deepblue-color);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1001;
    }

    .nav-links.show {
        display: flex;
    }

    /* Search Bar */
    .search-container {
        position: relative;
    }

    .search-bar {
        display: none;
        position: absolute;
        top: 100%; /* Position under the navbar */
        left: 50%;
        transform: translateX(-90%)!important; /* Center it */
        margin-top: 22px;
        width: 80%; /* Medium width */
        max-width: 400px; /* Ensure it's not too wide */
        padding: 12px;
        background-color: var(--lightblue-color);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1001;
        opacity: 1;
        border-radius: 4px;
        box-sizing: border-box; /* Ensure padding doesn't cause overflow */
    }

    .search-container.active .search-bar {
        display: block;
    }

    .search-container.active .search-icon {
        display: none;
    }

    .search-container.active .close-icon {
        display: block;
    }
}

/* iPad Air/Mini (min-width: 768px and max-width: 834px) */
@media screen and (min-width: 768px) and (max-width: 834px) {
    /* Navbar Layout */
    .navbar {
        padding: 15px 20px;
    }

    .hamburger-menu {
        order: 1;
        display: block;
    }

    .navbar-brand {
        order: 2;
        justify-content: center;
        flex-grow: 1;
    }

    .search-container {
        order: 3;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 250px;
        background-color: var(--deepblue-color);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.show {
        display: flex;
    }

    /* Search Bar */
    .search-bar {
        display: none;
        position: absolute;
        top: 100%; /* Position under the navbar */
        left: 50%;
        transform: translateX(-90%) !important; /* Center it */
        width: 80%; /* Medium width */
        max-width: 500px; /* Adjust width for iPads */
        padding: 12px;
        background-color: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .search-container.active .search-bar {
        display: block;
    }
}

/* Additional Adjustment for Search Bar */
@media screen and (max-width: 600px) {
    .search-bar {
        display: none;
        position: absolute;
        top: 100%; /* Position under the navbar */
        left: 50%; /* Start at the center */
        transform: translateX(-50%); /* Center it */
        width: 70%; /* Medium width */
        max-width: 400px; /* Ensure it's not too wide */
        margin-top: 22px;
        padding: 12px;
        background-color: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1001;
        opacity: 1;
        border-radius: 4px;
        box-sizing: border-box;
    }

    .search-container.active .search-bar {
        display: block;
    }
}


/* Header Styles */
.header {
    margin-top: 0;
    background: url('images/header.webp') no-repeat center center/cover;
    height: 450px; /* Adjust height as needed */
    color: white;
    display: flex;
    align-items: center; /* Vertically center content */
    padding-left: 50px; /* Add padding to shift content from the edge */
    position: relative;
    z-index: 0;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 8, 57, 0.7); /* Dark blue overlay with transparency */
    z-index: 0; /* Ensure the overlay is below the content */
}

.header .header-content {
    position: relative;
    z-index: 1; /* Bring content above the overlay */
    max-width: 500px; /* Control width of text block */
}

.header h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-out;
    background: linear-gradient(to right, #e1fbff, #58daf4); /* Bright blue gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 8px rgba(0, 122, 255, 0.8); /* Add glowing effect */
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif; /* Correct font declaration */
}

.header p {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeIn 3s ease-in;
    background: linear-gradient(to right, white, white); /* Bright blue gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 8px white(0, 122, 255, 0.8); /* Add glowing effect */
    font-family: 'Sans-serif';
}

.btn-contact {
    display: inline-block;
    padding: 12px 24px; /* Slightly larger padding for a bold look */
    background: var(--mediumblue-color); /* Button color */
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px; /* Rounded corners for a pill-shaped button */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 2.5s ease-out; /* Subtle fade-in for entrance */
}

.btn-contact:hover {
    background: var(--hover-color); /* Use hover color for interactivity */
    transform: scale(1.1); /* Slightly larger on hover for emphasis */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* More shadow for hover effect */
}

/* Animation for fading in */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Philosophy Section */
.philosophy-section {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 50px 10%;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1s ease;
}

.philosophy-section.visible {
  opacity: 1;
}

.philosophy-section .image-container,
.philosophy-section .text-container {
  opacity: 0;
  transition: opacity 2s ease, transform 1s ease;
}

.philosophy-section.visible .image-container,
.philosophy-section.visible .text-container {
  opacity: 1;
  transform: translateY(0);
}

.philosophy-section .image-container {
  flex: 1;
  animation: fadeIn 2s ease-in forwards;
}

.philosophy-section .image-container img {
  width: 460px !important;
  height: 380px !important;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.philosophy-section .text-container {
  flex: 1;
  animation: slideInRight 2s ease-in-out;
}

.philosophy-section .text-container h2 {
  font-size: 26px !important;
  color: var(--royalblue-color, #0404cb);
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  position: relative;
  animation: fadeIn 2s ease-in forwards;
}

.philosophy-section .text-container h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0404cb, #48cae4);
  border-radius: 2px;
  margin: 8px auto 0;
  animation: slideIn 1s ease-in forwards;
}

.philosophy-section .text-container p {
  font-size: 15px !important;
  color: #555;
  line-height: 1.3;
  text-align: justify;
  animation: fadeIn 2.5s ease-in forwards;
  margin-top: 1.5rem;
}

/* Button CSS */
.philosophy-section .text-container .cta-button {
  margin-top: 12px;
  display: inline-block;
  padding: 14px 36px;
  background: var(--mediumblue-color, #0404cb);
  color: white;
  font-size: 0.90rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}

.philosophy-section .text-container .cta-button:hover {
  background: var(--hover-color, #48cae4);
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* Animations */
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes slideInRight {
  0% { transform: translateX(50%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideIn {
  0% { width: 0; }
  100% { width: 80px; }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .philosophy-section { flex-direction: column; padding: 30px 5%; gap: 2rem; }
  .philosophy-section .image-container { order: 1; width: 100%; }
  .philosophy-section .text-container { text-align: center; margin-bottom: 2rem; }
  .philosophy-section .text-container h2 { font-size: 24px; }
  .philosophy-section .text-container p { font-size: 18px; }

  .philosophy-section .text-container .cta-button {
    padding: 12px 30px;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .philosophy-section { padding: 20px 5%; }
  .philosophy-section .text-container h2 { font-size: 22px; }
  .philosophy-section .text-container p { font-size: 16px; }
  .philosophy-section .image-container img { width: 200px; height: 180px; }

  .philosophy-section .text-container .cta-button {
    padding: 10px 26px;
    font-size: 0.8rem;
  }
}

@media (max-width: 600px) {
  .philosophy-section { padding: 15px 5%; gap: 1.5rem; }
  .philosophy-section .text-container h2 { font-size: 20px; }
  .philosophy-section .text-container p { font-size: 14px; }
  .philosophy-section .image-container img { width: 180px; height: 160px; }

  .philosophy-section .text-container .cta-button {
    padding: 8px 22px;
    font-size: 0.75rem;
  }
}

@media (max-width: 400px) {
  .philosophy-section .text-container .cta-button {
    padding: 6px 18px;
    font-size: 0.7rem;
  }
}

/* Tablet-specific (iPad) */
@media (min-width: 768px) and (max-width: 1024px) {
  .philosophy-section { flex-direction: row-reverse; padding: 40px 8%; gap: 1.5rem; }
  .philosophy-section .image-container img { width: 360px; height: 310px; }
  .philosophy-section .text-container h2 { font-size: 18px; }
  .philosophy-section .text-container p { font-size: 12px !important; line-height: 1.5rem; }

  .philosophy-section .text-container .cta-button {
    padding: 12px 30px;
    font-size: 0.85rem;
  }
}




.why-choose-us {
  padding: 50px;
  text-align: center;
  
}

/* Base hidden state */
.why-choose-us-box {
  opacity: 0;
  transform: translateY(40px) skewY(2deg) scale(0.95);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.9s ease;
  background: linear-gradient(145deg, #10139d, #2f9eb2);
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* Scroll-triggered visible state */
.why-choose-us-box.visible {
  opacity: 1;
  transform: translateY(0) skewY(0deg) scale(1);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Hover effect – subtle modern lift + gradient accent */
.why-choose-us-box:hover {
  transform: translateY(-8px) scale(1.03) skewY(0deg);
  box-shadow: 0 18px 35px rgba(0,0,0,0.2);
  background: linear-gradient(145deg, #10139d 0%, #48cae4 100%);
}

/* Icon – subtle elegant pop on hover */
.why-choose-us-box:hover .why-choose-us-icon {
  transform: scale(1.15) rotateZ(3deg);
  transition: transform 0.4s ease;
}


.why-choose-us-text-container h2 {
  font-size: 28px;
  color: var(--royalblue-color, #0404cb);
  margin-bottom: 1rem;
  text-transform: uppercase;
  position: relative;
  animation: fadeIn 2s ease-in forwards;
}

.why-choose-us-text-container h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0404cb, #48cae4);
  border-radius: 2px;
  margin: 8px auto 0;
  animation: slideIn 1s ease-in forwards;
}

.why-choose-us-boxes-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Ensures wrapping if needed */
  margin-top: 30px;
}

.why-choose-us-box {
  flex: 1 1 calc(33.33% - 20px); /* 3 boxes per row with space considered */
  max-width: 300px;
  padding: 20px;
  background: linear-gradient(155deg, #10139d 0%, #1ca9c2 60%, #bdf3fc 100%);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #fff;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.why-choose-us-box:hover {
  background: var(--deepblue-color, #040480);
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.why-choose-us-icon {
  font-size: 40px;
  margin-bottom: 10px;
  color: #fff;
  transition: transform 0.3s ease-in-out;
}

.why-choose-us-box:hover .why-choose-us-icon {
  transform: scale(1.2);
}

.why-choose-us-box h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.why-choose-us-box p {
  font-size: 14px;
  line-height: 1.5;
  text-transform: 800;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .why-choose-us-box {
      flex: 1 1 calc(50% - 20px); /* 2 boxes per row */
  }
}

@media (max-width: 768px) {
  .why-choose-us-boxes-container {
      flex-direction: column; /* Stacks boxes vertically */
      align-items: center;
  }

  .why-choose-us-box {
      flex: 1 1 100%; /* Full width for smaller screens */
      max-width: 90%;
      margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .why-choose-us-text-container h2 {
      font-size: 22px;
  }

  .why-choose-us-box {
      padding: 15px;
  }

  .why-choose-us-icon {
      font-size: 30px;
  }

  .why-choose-us-box h3 {
      font-size: 18px;
  }

  .why-choose-us-box p {
      font-size: 12px;
  }
}

/* Keyframe Animations */
@keyframes fadeIn {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}

@keyframes slideIn {
  0% {
      width: 0;
  }
  100% {
      width: 80px;
  }
}
.stats-section {
      margin-top: 30px;
      margin-top: 20px;
      background: linear-gradient(to right, #0505a8, #3588dc); /* Royal blue to light blue */
      color: #fff;
      padding: 60px 20px;
    }

    .container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 40px;
      max-width: 1000px;
      margin: 0 auto;
      text-align: center;
    }

    .stat-box {
      background-color: rgba(255, 255, 255, 0.1);
      padding: 30px 20px;
      border-radius: 10px;
      transition: transform 0.3s ease;
    }

    .stat-box:hover {
      transform: translateY(-5px);
    }

    .stat-box i {
      font-size: 36px;
      margin-bottom: 15px;
      color: #fff;
    }

    .counter {
      font-size: 40px;
      font-weight: bold;
      margin: 10px 0;
    }

    .stat-box p {
      font-size: 18px;
      margin: 0;
    }

 .stats-section {
  margin-top: 20px;
  background: linear-gradient(to right, #0505a8, #3588dc);
  color: #fff;
  padding: 60px 20px;
}

.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.stat-box {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px 20px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
}

.stat-box i {
  font-size: 36px;
  margin-bottom: 15px;
  color: #fff;
}

.counter {
  font-size: 40px;
  font-weight: bold;
  margin: 10px 0;
}

.stat-box p {
  font-size: 18px;
  margin: 0;
}

/* Responsive improvements */

/* Tablets and small desktops */
@media (max-width: 900px) {
  .container {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    padding: 0 10px;
  }
  
  .stat-box {
    padding: 25px 15px;
  }
  
  .stat-box i {
    font-size: 32px;
  }
  
  .counter {
    font-size: 34px;
  }
  
  .stat-box p {
    font-size: 16px;
  }
}

/* Landscape phones and large mobiles */
@media (max-width: 600px) {
  .container {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    padding: 0 10px;
  }

  .stat-box {
    padding: 20px 10px;
  }

  .stat-box i {
    font-size: 28px;
  }

  .counter {
    font-size: 28px;
  }

  .stat-box p {
    font-size: 14px;
  }
}

/* Small phones */
@media (max-width: 400px) {
  .container {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 5px;
  }

  .stat-box {
    padding: 15px 10px;
  }

  .stat-box i {
    font-size: 24px;
  }

  .counter {
    font-size: 24px;
  }

  .stat-box p {
    font-size: 13px;
  }
}/* iPads, Surface Pro, and similar tablets/laptops */
@media (min-width: 768px) and (max-width: 1100px) {
  .container {
    grid-template-columns: repeat(2, 1fr); /* Exactly 2 cards per row */
    gap: 30px;
    padding: 0 15px;
    max-width: 900px; /* a bit narrower for tablets */
  }

  .stat-box {
    padding: 28px 18px;
    border-radius: 12px;
  }

  .stat-box i {
    font-size: 34px;
    margin-bottom: 12px;
  }

  .counter {
    font-size: 36px;
    font-weight: 700;
    margin: 10px 0;
  }

  .stat-box p {
    font-size: 17px;
    margin: 0;
  }
}


    

/* Hidden state for process header */
.process-header h2 {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-in-out;
}

/* Animate in when .in-view is added */
.process-header.in-view h2 {
  opacity: 1;
  transform: translateY(0);
}


.process-timeline-section {
  padding: 4rem 8%;
  background: #f9f9f9;
  border-radius: 12px;
  margin: 3rem auto;
  max-width: 1300px;
  margin-top: 0;
}

.process-timeline-section .process-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.process-timeline-section .process-header h2 {
  font-size: 28px;
  color: var(--royalblue-color);
  text-transform: uppercase;
  position: relative;
}
.process-timeline-section .process-header h2::after {
  content: "";
  display: block;
  width: 80px; height: 4px;
  background: linear-gradient(90deg, #0404cb, #48cae4);
  border-radius: 2px;
  margin: 10px auto 0;
}

/* Row container */
.timeline-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
  overflow: visible;
  padding: 28px 8px 10px;
}

/* Animated connecting line */
.timeline-track {
  position: absolute;
  top: 60px;
  left: 24px;
  right: 24px;
  height: 6px;
  border-radius: 4px;
  background-size: 200% 100%;
  animation: slideTrack 6s linear infinite;
  opacity: 0.3;
  z-index: 1;
}
@keyframes slideTrack {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Step card */
.timeline-step {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 18px 16px 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: transform .3s ease, box-shadow .3s ease;
  z-index: 2;
}
.timeline-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

/* Badge */
.step-badge {
  position: relative;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.step-badge .step-num {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, var(--darkblue-color), #2f9eb2);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.step-badge i {
  font-size: 22px;
  color: var(--deepblue-color);
  opacity: 0.9;
}

.timeline-step h3 {
  font-size: 18px;
  color: var(--deepblue-color);
  margin-bottom: 8px;
}
.timeline-step p {
  font-size: 14px;
  color: var(--darkgrey-textcolor);
  line-height: 1.6;
}

/* ✅ Responsive Timeline */
@media (max-width: 992px) {
  .timeline-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 20px;
  }
  .timeline-track { display: none; } /* hide line on tablets */
}

@media (max-width: 600px) {
  .timeline-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px;
  }
  .timeline-track { display: none; }
  .step-badge .step-num { width: 40px; height: 40px; }
  .timeline-step h3 { font-size: 17px; }
  .timeline-step p { font-size: 13.5px; }
}

.timeline-step {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 18px 16px 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
}

/* Animate when in view */
.timeline-step.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: pulsePop 0.6s ease forwards;
}

.timeline-step:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

/* Pulse + pop keyframes */
@keyframes pulsePop {
  0% {
    transform: translateY(20px) scale(0.95);
    opacity: 0;
  }
  60% {
    transform: translateY(-5px) scale(1.05);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}


/* Initial hidden state */

  

/* Section Padding */
.what-we-do {
  padding: 40px 20px;
}

/* Initial state: elements are hidden and positioned below */
.what-we-do li {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s, transform 1s;
}

/* Animated state: elements are visible and in their final position */
.what-we-do li.visible {
  opacity: 1;
  transform: translateY(0);
}



/* Section Heading Styling */
.heading-container {
  text-align: center;
  margin-bottom: 30px;
}

.what-we-do h2 {
  font-size: 28px;
  color: var(--royalblue-color, #0404cb);
  margin-bottom: 1rem;
  text-transform: uppercase;
  position: relative;
  animation: fadeIn 2s ease-in forwards;
}

.what-we-do h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0404cb, #48cae4);
  border-radius: 2px;
  margin: 8px auto 0;
  animation: slideIn 1s ease-in forwards;
}

.what-we-do p {
  color: #6c757d;
  font-size: 16px;
}

/* Services List Styling */
.services-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Three equal columns */
  gap: 20px;
  padding: 0;
  margin: 0 auto;
  max-width: 1200px;
}

/* Individual Box Styling */
.services-list > li {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

/* Box Hover Effects */
.services-list > li:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2), 0 0 20px rgba(72, 202, 228, 0.5);
}

/* Images in Boxes */
.services-list img {
  width: 250px;
  height: 150px;
  margin-bottom: 15px;
}

/* Heading in Boxes */
.services-list h3 {
  font-size: 16px;
  color: var(--darkblue-color);
  text-decoration: underline;
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* Nested List Styling */
.services-list ul {
  list-style-type: disc;
  margin: 10px 0 0 20px;
  text-align: left;
  color: #6c757d;
  font-size: 14px;
}

/* Paragraph and Links */
.services-list p {
  margin-top: 10px;
  color: #555;
  font-size: 14px;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  color: var(--mediumblue-color);
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s;
  font-size: 14px;
}

.read-more:hover {
  color: #48cae4;
}

/* Ensure two items are next to each other in the last row */
@media (max-width: 992px) {
  .services-list {
    grid-template-columns: repeat(2, 1fr); /* Two columns for smaller screens */
  }
}

@media (max-width: 768px) {
  .services-list {
    grid-template-columns: 1fr; /* One column for mobile screens */
  }
}


  
   .faq-section {
            padding: 4rem 10%;
            background: #f9f9f9;
            max-width:100%;
            margin: 2rem auto;
            border-radius: 12px;
        }
        
        .faq-info-header {
            text-align: center;
            margin-bottom: 3rem;
        }
        
        .faq-info-header h2 {
            font-size: 28px;
            color: var(--royalblue-color, #0404cb);
            margin-bottom: 1rem;
            text-transform: uppercase;
            position: relative;
            opacity: 0;
            transform: translateY(20px);
            transition: all 2s ease-in-out;
        }
        
        .faq-info-header h2.in-view {
            opacity: 1;
            transform: translateY(0);
        }
        
        .faq-info-header h2::after {
            content: "";
            display: block;
            width: 0;
            height: 4px;
            background: linear-gradient(90deg, #0404cb, #48cae4);
            border-radius: 2px;
            margin: 8px auto 0;
            transition: all 2s ease-in-out;
        }
        
        .faq-info-header h2.in-view::after {
            width: 80px;
        }
        
        .faq-container {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .faq-item {
            margin-bottom: 10px;
            border-radius: 8px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border-bottom: 1px solid #ddd;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);


        }
        
        .faq-item:hover {
            transform: translateY(-3px);
        }
        
  

        .faq-question {
            width: 100%;
            background: none;
            border: none;
            outline: none;
            font-size: 16px;
            text-align: left;
            padding: 15px 20px;
            cursor: pointer;
            color: #444;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: color 0.3s ease, background-color 0.3s ease;
            text-transform: none !important;
            font-weight: 500;
        }
        
        .faq-question:hover {
            color: #0404cb;
            font-weight: 600;
        }
        
        .arrow {
            font-size: 1.3rem;
            transition: transform 0.3s ease;
            font-weight: 300;
        }
        
        
    .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background: #fff;
    padding: 0 15px;
     font-size: 16px !important;
    }

    .faq-answer p {
    margin: 10px 0;
    color: #555;
    line-height: 1.6;


    }

    /* When active */
    .faq-item.active .faq-answer {
    max-height: 200px;
    padding: 15px;
    }

    .faq-item.active .arrow {
    transform: rotate(45deg); /* Plus turns into cross */
    }
        /* Responsive Design */
        @media (max-width: 768px) {
            .faq-section {
                padding: 3rem 5%;
            }
            
            .faq-info-header h2 {
                font-size: 24px;
            }
            
            .faq-question {
                font-size: 1rem;
                padding: 12px 15px;
            }
            
            .arrow {
                font-size: 1.1rem;
            }
        }
        
        @media (max-width: 480px) {
            .faq-section {
                padding: 2rem 4%;
            }
            
            .faq-info-header h2 {
                font-size: 22px;
            }
            
            .faq-question {
                font-size: 0.95rem;
                padding: 12px;
            }
            
            .faq-answer p {
                padding: 0 12px;
                font-size: 0.9rem;
            }
        }


footer {
  background-color: var(--deepblue-color);
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column h3 {
  color: #97e5f5;
  margin-bottom: 15px;
  font-size: 23px;
  text-decoration: underline;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin: 5px 0;
}

.footer-column ul li a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
  font-weight: 600px;
}

.footer-column ul li a:hover {
  color: var(--hover-color);
}

.footer-column p {
  margin: 10px 0;
}

.footer-column form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-column form input {
  padding: 10px;
  width: 100%;
  margin-bottom: 10px;
  border: none;
  border-radius: 5px;
}



.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  border-top: 1px solid #444;
  padding-top: 20px;
}

.footer-left,
.footer-right {
  flex: 1;
  text-align: center;
}

.footer-left img {
  max-height: 50px;
  margin-bottom: 10px;
}

.footer-right img {
  max-height: 50px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
