html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
        margin: 0;
        font-family: 'Montserrat', sans-serif;
    }

.logo a {
    text-decoration: none; /* removes underline */
    color: inherit;        /* uses the div’s color */
    font-size: 24px;       /* example size */
    font-weight: bold;    
    display: flex;          /* align image & text horizontally */
    align-items: center;    /* vertical alignment */
    gap: 8px;    /* optional */
}

/* Optional: hover effect */
.logo a:hover {
    color: #abcef4;        /* change color on hover */
}

.logo-img {
    width: 45px !important;            /* adjust size */
    height: auto;
}

.navbar {
    background-color: #0c4160; /* Dark blue background */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    height: 80px;
    color: white;

    position: fixed;   /* Fix it on top */
    top: 0;            /* Start visible */
    left: 0;
    right: 0;
    z-index: 1000;
    transition: top 0.4s ease; /* Smooth hide/show */
}

/* Left side title */
.navbar .logo {
    font-size: 20px;
    font-weight: bold;
}

/* Menu list */
.navbar ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    text-decoration: none; /* removes underline */
    color: inherit;        /* uses the div’s color */
    font-size: 16px;       /* example size */
    font-weight: bold; 
}

.navbar ul li a:hover {
    color: #abcef4;  
}

.slider-wrapper {
  width: 100vw;
  overflow: hidden;
  position: relative;
}

.slider-container {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.slide {
  flex: 0 0 calc(100% / 3);   /* Always 3 visible slides */
  max-width: calc(100% / 3.1);
  box-sizing: border-box;
  padding: 40px 20px;
  text-align: center;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  margin: 10px;
}

/* Navigation Buttons */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 30px;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.nav-btn:hover {
  background: rgba(0,0,0,0.8);
}


 /* Login icon + text */
.login {
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
    }

    .login-icon {
        width: 20px;
        height: 20px;
        background-color: white;
        border-radius: 50%;
        display: inline-block;
        position: relative;
    }

    .login-icon::before {
        content: "";
        position: absolute;
        top: 3px;
        left: 5px;
        width: 10px;
        height: 10px;
        background-color: #0c4160;
        border-radius: 50%;
    }

    .login-icon::after {
        content: "";
        position: absolute;
        bottom: 3px;
        left: 3px;
        width: 14px;
        height: 7px;
        background-color: #0c4160;
        border-radius: 0 0 7px 7px;
    }

/* Hero Section with Parallax */
.parallax-hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Wrapper for parallax */
.parallax-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* z-index: -1; */
}

/* Background Image with Parallax */
.parallax-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* a bit bigger for smooth scrolling */
    object-fit: cover;
    will-change: transform;
    z-index: 0;
    /* opacity: 0.9; */
}

/* Overlay to soften */
.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(12, 65, 96, 0.15); */
    z-index: -2;
}

/* Hero Content */
.hero-content {
    position: relative;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.5s ease forwards;
    animation-delay: 0.3s;
}

.hero-content h1 {
    font-size: 50px;
    margin-bottom: 20px;
    color: #0c4160;
}

/* Inside box */
.inside-box-hero {
    width: 45%;
    background-color: #ffffffbf;
    margin-left: 20%;
    margin-right: 20%;
    padding: 20px;
    border-radius: 10px;
}

.hero-text {
    margin-bottom: 30px;
}


    /* Button */
    .btn {
        display: inline-block;
        padding: 12px 24px;
        border: 2px solid #0c4160;
        background: white;
        color: #0c4160;
        font-size: 16px;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .btn:hover {
        background: #0c4160;
        color: white;
    }
   .section {
        min-height: 100vh; /* Fill the entire viewport height */
        display: flex;
        align-items: center;
        background-color: white;
    }

    .container {
        display: flex;
        justify-content: center;
        align-items: stretch; /* Makes all cards equal height */
        gap: 5%;
        max-width: 1100px;
        margin: auto;
        width: 100%;
    }

    .card {
        flex: 1 1 300px;
        padding: 40px 20px;
        max-width: 300px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        border-radius: 8px;
    }

    h2 {
        font-size: 28px;
        letter-spacing: 2px;
        margin-bottom: 20px;
        align-self: center;
    }

    p {
        font-size: 16px;
        color: #555;
        line-height: 1.6;
        flex-grow: 1;
        text-align: center;
    }

    .btn-section {
        display: inline-block;
        margin-top: 20px;
        padding: 12px 25px;
        border: 1px solid #0b3c5d;
        color: #0b3c5d;
        text-decoration: none;
        font-weight: bold;
        transition: all 0.3s ease;
        border-radius: 4px;
        align-self: center;
    }

    .btn-section:hover {
        background-color: #0b3c5d;
        color: white;
    }

.parallax-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #0b3c5d;
    background-image: url("./Consultancy.jpg");
    background-attachment: fixed;   /* 🔑 Fixed background */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 85, 150, 0.2);  */
    
    z-index: 0;
}

.content {
    position: relative;
    z-index: 1; /* Ensure text is above overlay */
    max-width: 800px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7); /* semi-transparent box */
    border-radius: 10px;
}

.parallax-section.content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.parallax-section.content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.services {
    text-align: center;
    padding: 50px 0;
    min-height: 100vh;
}

.services h2 {
    font-size: 2em;
    margin-bottom: 40px;
    color: #0b3c5d;
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 5%;

    margin-top: 6%;
}

.service-card {
    width: 300px;
}

.service-card img {
    width: 100%;
    height: auto;
    /* border-radius: 4px; */
}

.service-card h3 {
    margin-top: 10px;
    font-size: 1em;
    font-weight: bold;
}

.service-card p {
    font-size: 0.9em;
    color: #444;
}

.cta-btn {
    margin-top: 40px;
}

.cta-btn a {
    display: inline-block;
    padding: 12px 25px;
    border: 1px solid #0b3c5d;
    color: #0b3c5d;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: 0.3s ease;
}

.cta-btn a:hover {
    background-color: #0b3c5d;
    color: white;
}

/* Keep your existing rules (you already provided these). Re-declared here for completeness. */
.clients {
  text-align: center;
  padding: 50px 0;
}

.clients h2 {
  font-size: 2em;
  margin-bottom: 40px;
  color: #0b3c5d;
}

/* Slider wrapper hides overflow while the inner .clients-slider is translated */
.clients-slider-wrapper {
  overflow: hidden;
  width: 100%;
}

/* The scrolling row that will be moved via transform */
.clients-slider {
  display: flex;
  align-items: center;
  gap: 20px;               /* space between boxes; JS accounts margin separately */
  will-change: transform;
  padding: 8px 0;
}


/* .client-box {
  flex: 0 0 auto;          
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  margin-right: 20px;      
  height: 90px;            
  box-sizing: border-box;
  background: transparent;
  border-radius: 6px;
}

.client-box img {
  height: 50px;
  width: 100px;
  display: block;
  object-fit: contain;
  filter: none;
  -webkit-user-drag: none;
  user-select: none;
  transition: transform 0.35s ease, opacity 0.9s ease;
  opacity: 1x;
  transform: translateY(18px);
  object-position: center;
} */

.client-box {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;          /* uniform box width (adjust to taste) */
  height: 90px;          /* uniform box height */
  padding: 8px;
  margin-right: 20px;    /* IMPORTANT: matches JS width calc */
  box-sizing: border-box;
  border-radius: 6px;
  background: transparent;
  overflow: hidden;      /* keeps any oversized content inside */
}

/* logos: preserve aspect ratio, fit inside box, avoid cropping */
.client-box img {
  display: block;
  width: auto;
  height: 95px;
  max-width: 100%;
  object-fit: contain !important;   /* KEEP entire logo visible */
  object-position: center;
  -webkit-user-drag: none;
  user-select: none;
  scale: 1.02;

  /* animation (preserve your .visible pattern) */
  opacity: 1;
  transition: opacity 0.9s ease, transform 0.6s ease;
}
/* Preserve your fade-in behavior — add .visible on .clients to trigger */
.clients.visible .client-box img {
  opacity: 1;
  transform: translateY(0);
}

/* Hover nicety */
.client-box img:hover {
  transform: translateY(-4px) scale(1.0);
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .client-box { height: 72px; }
  .client-box img { max-height: 72px; }
  .clients h2 { font-size: 1.8em; }
}

@media (max-width: 600px) {
  .client-box { height: 56px; margin-right: 12px; padding: 6px; }
  .client-box img { max-height: 56px; }
  .clients-slider { gap: 12px; }
  .clients h2 { font-size: 1.4em; margin-bottom: 20px; }
}

/* Optional: grid fallback used by <noscript> */
.clients-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}
.clients-grid img {
  max-width: 150px;
  opacity: 1;
  transform: translateY(30px);
  transition: opacity 1.8s ease-out, transform 1.8s ease-out;
}
.clients.visible .clients-grid img {
  opacity: 1;
  transform: translateY(0);
}


/* fade-up effect */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.8s ease-out, transform 1.8s ease-out;
    max-height: 150px;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.testimonials {
  text-align: center;
  padding: 40px;
  background: #fafafa;
}

.testimonial-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: auto;
  overflow: hidden; /* hides overflow but still lets arrows be outside if positioned absolutely */
}

.testimonial-container {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.testimonial {
  flex: 0 0 100%;
  padding: 20px;
  box-sizing: border-box;
}

.prev {
  position: absolute;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 5px 10px;
  z-index: 15;
  transition: transform 0.2s ease;
  margin-top: 5%;
  left: 20%;
}
.next{

  position: absolute;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 5px 10px;
  z-index: 15;
  transition: transform 0.2s ease;
  margin-top: 5%;
  right: 20%;
}



.prev:hover,
.next:hover {
  transform: translateY(-50%) scale(1.2);
}

.controls {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid black;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background: black;
}
/* Parallax background */
/* Parallax background */
.clients-parallax {
  position: relative;
  min-height: 100vh;
  background-image: url("./clients_background.jpg");
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 0; 
}

.clients-parallax::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Ensure content is above overlay */
.clients-overlay {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  padding: 40px;
  border-radius: 12px;
  max-width: 90%;
  width: 1100px;
  margin: auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}


.clients-overlay h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #0c4160;
}

.clients-slider-wrapper {
  width: 100%;
  overflow: hidden;
  margin-bottom: 25px;
  position: relative;
}

.clients-slider {
  display: flex;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
}

/* .client-box {
  flex: 0 0 200px;
  margin: 10px;
  border-radius: 8px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
} */



.footer {
  display: flex;
  justify-content: space-between;
  background-color: #062b43;
  color: white;
  padding: 40px 80px;
  flex-wrap: wrap;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column h3 {
  font-size: 1rem;
  margin-bottom: 15px;
}

.footer-column p, .footer-column a, .footer-column li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: white;
  text-decoration: none;
  display: flex;
  align-self: baseline;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

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

.social-icons a {
  margin-right: 10px;
  font-size: 1.2rem;
  color: white;
}

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

.copyright,
.powered {
  margin-top: 15px;
  font-size: 0.8rem;
  color: #bbb;
}

.powered a {
  color: #bbb;
}

.powered a:hover {
  color: white;
}

    /* Fade In Animation */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
