* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  /* background-color:rgb(208, 205, 205); */
}
span{
  color: #007bff;
}


/*=== topbar ===*/
.topbar {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;  
  width: 100%;
}


/*=== header ===*/
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: #007bff;
}
.header .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header .logo img {
  height: 40px;
  width: auto;
}
.header .logo h2 {
  margin: 0;
  font-size: 1.5rem;
  color: white;
}
.header .contact {
  text-align: right;
  display: flex;
  flex-direction: row;
  gap: 30px;
}
.header .contact .contact1{
    display: flex;
    flex-direction: row;
    gap: 30px;
}
.header .contact .contact1>p{
    margin: 0;
    line-height:1px;
    color: #555;
    font-weight: bold;
}
.header .contact .time>p{
    margin: 0;
    font-size: 13px;
    line-height:1px;
    font-weight: bold;
    cursor: pointer;
    /* color:white; */
    color: white;
     /* Animation */
    animation: pulse-effect 2s ease-in-out infinite;
}
@keyframes pulse-effect {
  0% {
    transform: scale(1.10);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.header .contact a {
  color: white;
  text-decoration: none;
  transition: color 0.2s;
}
.header .contact a:hover {
  color:black;
}
.header .contact .time>p:hover{
    color: black;
}


/*=== navbar ===*/
.navBar {
  display: block;
  background: #007bff;
  border-top: 1px solid white;
  padding: 10px;
}
.navBar .navLinks {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 80px;
}
.navBar .linkRight {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0.5rem 1.5rem;
  gap: 1.5rem;
}
.linkRight li {
  position: relative;
}
.linkRight li a {
  text-decoration: none;
  font-size: 1.03rem;
  color: white;
  font-weight: bold;
  padding: 0.5rem 0.75rem;
  transition: background 0.3s, color 0.3s;
}
.linkRight li a:hover {
  /* background:white; */
  color:black;
}
.linkRight li.sign button {
  background: red;
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  font-weight: bold;
  box-sizing: border-box;
    /* Pulse animation */
  animation: pulse-btn 2s ease-in-out infinite;
}
/* @keyframes for pulse */
@keyframes pulse-btn {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.linkRight li.sign button:hover {
    background-color: white;
    color: red;
}


/*=== Dropdown menu ===*/
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  min-width: 180px;
  padding: 0.5rem 0;
  list-style: none;
}
.dropdown:hover .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(-5);
}
.dropdown-menu li a {
  display: block;
  color:black;
  margin-top:-22px;
  font-size:1rem;
}
/* Hamburger button styling */
.hamburger {
  display: none;
  font-size:2rem;
  color:white;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s;
}

/* Mobile / small-screen styles */
@media (max-width: 450px) {
  .header{
    height: 150px;
  }
  .header .contact {
    text-align: center;
    /* font-size: 0.8rem; */
    /* margin-top: 0.5rem; */
    display: flex;
    flex-direction: column;
  }
  .header .contact .contact1{
    display: flex;
    flex-direction: column;
  }
  .navBar {
    display: none;
    width: 100%;
  }
  .navBar.active {
    display: block;
    background:rgb(208, 205, 205);
  }
  .navBar .navLinks {
    padding: 1rem;
  }
  .navBar .linkRight {
    flex-direction: column;
    gap: 0;
  }
  .linkRight li {
    width: 100%;
    margin: 0;
    padding: 0.5rem 0;
  }
  .linkRight li a {
    display: block;
    width: 100%;
    color:#007bff;
    padding: 0.75rem 1rem;
    background: transparent;
  }
  .linkRight li.sign button {
    width: 100%;
    text-align: center;
    background: #ffffff;
    color: #007bff;
    margin-top: 0.5rem;
  }
    /* Ensure last items appear correctly */
  .linkRight li.sign,
  .linkRight li:last-child {
    display: block;
    width: 100%;
    text-align: center;
  }

  /* Make Contact Us button visible and spaced */
  .linkRight li.sign button {
    background: red;
    color: white;
    margin: 10px 0;
    width: 90%;
  }

  /* Style Log In link for better visibility */
  .linkRight li a[href*='Log In'] {
    color: white;
    display: block;
    width: 100%;
    padding: 10px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.3);
  }

  /* Allow scrolling if list is long */
  .navBar.active .linkRight {
    overflow-y: auto;
    max-height: 80vh;
    padding-bottom: 100px; /* space for button visibility */
  }
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: transparent;
  }
  /* .dropdown:hover .dropdown-menu {
    visibility: visible;
  } */
  .dropdown-menu li a {
    color:black;
    padding-left: 2rem;
  }
  .hamburger{
    display: block;
  }
}









.service-hero {
  background:rgb(208, 205, 205);
  padding: 6rem 1rem;
  font-family: "Poppins", sans-serif;
  overflow: hidden;
}
.service-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
  flex-wrap: wrap;

  transform-style: preserve-3d;
  will-change: transform, opacity;
  transform-origin: center center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);

  /* start slightly left & invisible, then slide in */
  transform: translateX(-36px) scale(0.998);
  opacity: 0;
  animation: slideInFromLeft 700ms cubic-bezier(.2,.9,.2,1) 0.7s forwards;
}
/* desktop slide-in */
@keyframes slideInFromLeft {
  0% {
    transform: translateX(-36px) scale(0.998);
    opacity: 0;
    filter: blur(2px);
  }
  60% {
    transform: translateX(8px) scale(1.002);
    opacity: 1;
    filter: blur(0.2px);
  }
  100% {
    transform: translateX(0) scale(1);
    opacity: 1;
    filter: blur(0);
  }
}
.service-hero-content {
  flex: 1 1 45%;
}
.service-hero-title {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: black;
}
.service-hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 600px;
}
.service-hero-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  background-color:#007bff;
  /* border-radius: 50px; */
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.service-hero-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.16);
  background-color:red;
}
.service-hero-image {
  flex: 1 1 45%;
  text-align: right;
}
.service-hero-image img {
  width: 100%;
  max-width: 500px;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(20px); }
  100% { transform: translateY(0px); }
}

/* Responsive */
@media (max-width: 768px) {
  .service-hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .service-hero-image {
    text-align: center;
    margin-top: 2rem;
  }
  .service-hero-title {
    font-size: 2rem;
  }
  .service-hero-cta {
    width: 100%;
    padding: 1rem 0;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* For smaller viewports, slide up from bottom instead (more natural on mobile) */
@media (max-width: 768px) {
  .service-hero-inner {
    /* start lower and invisible on mobile */
    transform: translateY(28px) scale(0.998);
    opacity: 0;
    animation: slideInFromBottom 700ms cubic-bezier(.2,.9,.2,1) 160ms forwards;
  }

  @keyframes slideInFromBottom {
    0% {
      transform: translateY(28px) scale(0.998);
      opacity: 0;
      filter: blur(2px);
    }
    60% {
      transform: translateY(-6px) scale(1.002);
      opacity: 1;
      filter: blur(0.2px);
    }
    100% {
      transform: translateY(0) scale(1);
      opacity: 1;
      filter: blur(0);
    }
  }
}







.modern-services-section {
    padding: 100px 20px;
    /* background:rgb(208, 205, 205); */
    background: rgb(6, 47, 91);
    text-align: center;
    font-family: 'Arial', sans-serif;
  }

  .modern-services-title {
    font-size: 42px;
    font-weight: 700;
    color:white;
    margin-bottom: 12px;
  }

  .modern-services-subtitle {
    font-size: 18px;
    color:white;
    margin-bottom: 60px;
  }

  .services-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }

  .service-card {
    background:rgb(208, 205, 205);
    border-radius: 16px;
    padding: 35px 25px;
    flex: 1 1 260px;
    max-width: 280px;
    /* box-shadow: 0 12px 30px rgba(0,0,0,0.08); */
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    position: relative;
    overflow: hidden;
    border-top-right-radius: 100px;
  }

  .service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 2px 2px 25px white;
  }

  .service-icon {
    font-size: 50px;
    margin-bottom: 18px;
    /* color:; */
    transition: transform 0.5s ease;
  }

  .service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.2);
  }

  .service-title {
    font-size: 20px;
    font-weight: 600;
    color:#007bff;
    margin-bottom: 10px;
  }

  .service-desc {
    font-size: 15px;
    color:black !important;
    margin-bottom: 20px;
    line-height: 1.6;
  }

  .service-btn {
    display: inline-block;
    padding: 10px 22px;
    background-color:#007bff !important;
    /* color:red  !important; */
    color:white  !important;
    border-radius: 0px !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
  }

  .service-btn:hover {
    background-color:red !important;
    color: white !important;
    transform: scale(1.1) !important;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .services-wrapper {
      gap: 25px;
    }
  }

  @media (max-width: 450px) {
    .services-wrapper {
      flex-direction: column;
      align-items: center;
    }
  }







/* Services block styles — no :root variables used */
/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap'); */

.services-block {
  background:rgb(208, 205, 205);
  padding: 4rem 1rem;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #111827;
}

.wrap { max-width: 1200px; margin: 0 auto; }

.block-header { text-align: center; margin-bottom: 2.25rem; }

.block-title {
  font-size: 2rem;
  margin: 0;
  color:#007bff; /* accent */
  font-weight: 700;
}

.block-subtitle {
  margin-top: 0.6rem;
  color: black; /* muted */
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
}

/* Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap:3.5rem;
  align-items: stretch;
}

/* Card */
.card {
  background: #ffffff; /* card bg */
  padding: 1.6rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(2,6,23,0.06);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 300ms cubic-bezier(.2,.9,.2,1), box-shadow 300ms;
  will-change: transform, box-shadow;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 50px rgba(2,6,23,0.12);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.card-icon {
  font-size: 2rem;
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(11,99,214,0.12), rgba(56,189,248,0.06));
}

.card-title {
  margin: 0;
  font-size: 1.125rem;
  color:#007bff;
  font-weight: 700;
  position: relative;
  padding-bottom: 6px;
}

/* underline that grows on hover */
.card-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg,#007bff);
  border-radius: 3px;
  transition: width 320ms cubic-bezier(.2,.9,.2,1);
}
.card:hover .card-title::after { width: 100%; }

.card-desc {
  margin: 0;
  color: #6b7280;
  font-size: 0.98rem;
  line-height: 1.6;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
  color: #374151;
  font-size: 0.98rem;
  line-height: 1.6;
}
.card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}


.services-block .wrap .cards-grid .card:nth-child(2){
  background-color: rgb(6, 47, 91);
}
.services-block .wrap .cards-grid .card:nth-child(2) .card-title,
.services-block .wrap .cards-grid .card:nth-child(2) .card-desc, 
.services-block .wrap .cards-grid .card:nth-child(2) .card-list li{
  color: white
}
.services-block .wrap .cards-grid .card:nth-child(2) .card-cta{
  background-color: white;
  color: rgb(6, 47, 91);
  font-weight: bold;
}
.services-block .wrap .cards-grid .card:nth-child(2) .card-cta:hover{
  background-color: red;
  color: white;
}


.card-cta {
  display: inline-block;
  margin-top: auto;
  padding: 0.9rem 1.8rem;
  margin-left: 80px;
  text-decoration: none;
  color:white;
  background:#007bff; /* CTA color */
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  align-self: flex-start;
}
.card-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.12);
  background:red; /* CTA hover */
}

/* Responsive */
@media (max-width: 992px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cards-grid { grid-template-columns: 1fr; }
  .card { padding: 1.25rem; border-radius: 10px; }
  .card-head { gap: 0.75rem; }
  .card-icon { width: 44px; height: 44px; font-size: 1.6rem; }
  .card-title { font-size: 1.05rem; }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .card,
  .card-title::after {
    transition: none !important;
    animation: none !important;
  }
}









/* ================= Footer – Consulting Business Style ================= */

.footer-consulting {
  background-color:#007bff;   /* dark navy background */
  color: #ffffff;
  padding: 4rem 1rem 2rem;
  font-family: inherit;
  font-weight: bold;
}

.footer-consulting a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-consulting a:hover,
.footer-consulting a:focus {
  color:black;  /* lighter highlight on hover */
  text-decoration: underline;
}

.footer-consulting .footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap:4rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.footer-consulting .footer-col {
  flex: 1 1 220px;
}

.footer-consulting .footer-col h4 {
  position: relative;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  color:white;
    /* ensure space for underline */
  padding-bottom: 0.4rem;
}
.footer-consulting .footer-col h4::after {
  content: "";
  position: absolute;
  left:0;
  bottom: 0;
  height: 4px;                /* thickness of the underline */
  width: 0;
  background-color:white;  /* underline color */
  animation: underlineLoop 3s ease-in-out infinite;
}

@keyframes underlineLoop {
  0%   { width: 0; opacity: 0; }
  10%  { width: 23%; opacity: 1; }
  50%  { width: 23%; opacity: 1; }
  70%  { width: 0; opacity: 0; }
  100% { width: 0; opacity: 0; }
}


.footer-consulting .footer-col.about p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.footer-consulting .footer-col.services ul,
.footer-consulting .footer-col.follow ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-consulting .footer-col.follow ul {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 30px;
  margin-left: -40px;
}

.footer-consulting .footer-col.services ul li,
.footer-consulting .footer-col.follow ul li {
  margin-bottom: 0.6rem;
}

.footer-consulting .footer-col.services ul li a,
.footer-consulting .footer-col.follow ul li a {
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-consulting .footer-col.contact p {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0 0 0.5rem;
}

.footer-consulting .footer-col.contact p:last-child {
  margin-bottom: 0;
}

.footer-consulting .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

.footer-consulting .footer-bottom .legal {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.footer-consulting .footer-bottom .legal li {
  margin: 0;
}

.footer-consulting .footer-bottom .legal li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

@media (max-width: 450px) {
  .footer-consulting {
    padding: 3rem 0.5rem 1.5rem;
    text-align: center;
  }

  .footer-consulting .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .footer-consulting .footer-col {
    flex: 1 1 100%;
    width: 100%;
  }

  /* .footer-consulting .footer-col h4 {
    font-size: 1.1rem;
    padding-bottom: 0.3rem;
  } */
  .footer-consulting .footer-col h4 {
    position: relative;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    color:white;
    
    padding-bottom: 0.4rem;
  }
  .footer-consulting .footer-col h4::after {
    content: "";
    position: absolute;
    left:38%;
    bottom: 0;
    height: 4px;                /* thickness of the underline */
    width: 0;
    background-color:white;  /* underline color */
    animation: underlineLoop 3s ease-in-out infinite;
  }
  .footer-consulting .footer-col.about p,
  .footer-consulting .footer-col.services ul li,
  .footer-consulting .footer-col.follow ul li,
  .footer-consulting .footer-col.contact p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  .footer-consulting .footer-col.follow ul {
  margin-left: 110px;
  }

  .footer-consulting .footer-bottom {
    font-size: 0.8rem;
    padding-top: 0.75rem;
  }

  .footer-consulting .footer-bottom .legal {
    flex-direction: column;
    gap: 0.5rem;
  }
}

