* {
  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;
  }
}





.blog-medium {
  padding: 60px 20px;
  background: rgb(208, 205, 205);
  font-family: "Poppins", Arial, sans-serif;
  text-align: center;
}
.blog-medium .container {
  max-width: 1000px;
  margin: 0 auto;
}
.blog-hero .hero-title {
  font-size: 32px;
  color:#007bff;
  margin-bottom: 10px;
}
.blog-hero .hero-intro {
  font-size: 17px;
  color: #555;
  margin-bottom: 30px;
}
.blog-categories ul {
  display: inline-flex;
  list-style: none;
  gap: 16px;
  padding: 0;
  margin-bottom: 40px;
}
.blog-categories a {
  text-decoration: none;
  color:white;
  padding: 6px 14px;
  background-color: #007bff;
  /* border: 1px solid #007bff; */
  /* border-radius: 20px; */
  transition: background 0.3s, color 0.3s;
}
/* .blog-categories a.active, */
.blog-categories a:hover {
  background:red;
  color: #fff;
  border: none;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 24px;
  margin-bottom: 30px;
}
.post-card {
  background: rgb(6, 47, 91);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp-medium 0.8s ease forwards;
}
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}
.post-card .post-image {
  width: 50%;
  height: 160px;
  object-fit: cover;
}
.post-card .post-content {
  padding: 16px;
}
.post-card .post-title {
  font-size: 18px;
  color:white;
  margin: 8px 0;
}
.post-card .post-excerpt {
  font-size: 15px;
  color:white;
  margin-bottom: 14px;
}
.read-more {
  text-decoration: none;
  color:rgb(196, 147, 55);
  font-weight:bold;
}

.load-more-wrapper .load-more {
  padding: 10px 26px;
  background:#007bff;
  color: #fff;
  border: none;
  /* border-radius: 6px; */
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}
.load-more-wrapper .load-more:hover {
  background:red;
}

@keyframes fadeUp-medium {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Query for ≤ 450px */
@media (max-width: 450px) {
  .blog-medium {
    padding: 40px 10px;
  }

  .blog-hero .hero-title {
    font-size: 24px;
    line-height: 1.3;
  }

  .blog-hero .hero-intro {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .blog-categories ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .blog-categories a {
    display: inline-block;
    font-size: 14px;
    padding: 8px 12px;
    width: 100%;
    text-align: center;
  }

  .posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .post-card {
    width: 100%;
    border-radius: 8px;
  }

  .post-card .post-image {
    width: 30%;
    height: 130px;
    margin-top: 20px;
  }

  .post-card .post-title {
    font-size: 16px;
  }

  .post-card .post-excerpt {
    font-size: 14px;
  }

  .load-more-wrapper .load-more {
    width: 50%;
    font-size: 15px;
    padding: 10px 0;
  }
  .container .call {
    font-size: 14px;
    padding: 12px 12px;
    display: inline-block;
    margin-top: 20px;
  }
}











.faq-section {
  padding: 70px 20px;
  background: rgb(208, 205, 205);
  font-family: "Poppins", Arial, sans-serif;
  text-align: center;
}
.call {
  background-color: red;
  padding: 10px;
  text-decoration: none;
  color: white;
  font-weight: bold;
    /* Pulse animation */
  animation: pulse 2s ease-in-out infinite;
}
/* Define keyframes for pulse effect */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
  }
  50% {
    transform: scale(1.5);
    box-shadow: 0 0 0 8px rgba(255, 0, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

.call:hover{
  background-color: white;
  color: red;
  font-weight: bold;
}

.faq-section .container {
  max-width: 800px;
  margin: auto;
}

.faq-section h2 {
  font-size: 32px;
  color: #0a2d5b;
  margin-bottom: 12px;
}

.faq-section p {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}

.faq-accordion {
  text-align: left;
}

.faq-item {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  font-size: 18px;
  color: white;
  background: rgb(6, 47, 91);
  border: none;
  outline: none;
  cursor: pointer;
  position: relative;
  text-align: left;
}

.faq-question .arrow {
  position: absolute;
  right: 20px;
  font-size: 20px;
  transition: transform 0.3s;
  color: white;
}

.faq-answer {
  max-height: 0;
  padding: 0 20px;
  color: #555;
  font-size: 15px;
  line-height: 1.6;
  transition: max-height 0.4s ease, padding-top 0.3s ease;
}

/* When active */
.faq-item.active .faq-answer {
  max-height: 200px; /* adjust as needed */
  padding-top: 16px;
  padding-bottom: 18px;
}

.faq-item.active .faq-question .arrow {
  transform: rotate(90deg);
}

/* Mobile / Responsive */
@media (max-width: 450px) {
  .faq-section {
    padding: 50px 15px;
  }
  .faq-section h2 {
    font-size: 26px;
  }
  .faq-section p {
    font-size: 14px;
  }
  .faq-question {
    font-size: 16px;
    padding: 14px 16px;
  }
  .faq-answer {
    font-size: 14px;
  }
}








/* ================= 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;
  }
}

