* {
  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;
  }
}








.contact-business-section {
  padding: 80px 20px;
  background:rgb(208, 205, 205);
  font-family: "Poppins", Arial, sans-serif;
  text-align: center;
}

.contact-business-section .container {
  max-width: 1100px;
  margin: 0 auto;
}

.contact-business-section h2 {
  font-size: 32px;
  color:black;
  margin-bottom: 15px;
}

.contact-business-section p {
  font-size: 17px;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.6;
}

.contact-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

/* Info Cards */
.contact-info {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: rgb(6, 47, 91);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  text-align: left;
}

.info-card h3 {
  font-size: 20px;
  color:white;
  text-decoration: underline;
  margin-bottom: 8px;
}

.info-card p {
  font-size: 15px;
  color: white;
  line-height: 1.5;
}

.info-card a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}
.info-card a:hover {
  color: #007bff;
}

/* Form */
.contact-form {
  flex: 1 1 400px;
  background: #fff;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.contact-form .form-group {
  margin-bottom: 18px;
  text-align: left;
}

.contact-form label {
  font-size: 18px;
  color:rgb(6, 47, 91) ;
  font-weight: bold;
  display: block;
  margin-bottom: 6px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgb(6, 47, 91);
  border-radius: 6px;
  font-size: 15px;
  color: #333;
  resize: vertical;
}

.contact-form textarea {
  min-height: 120px;
}

.btn-submit {
  display: inline-block;
  padding: 14px 28px;
  background: #007bff;
  color: #fff;
  font-size: 16px;
  font-weight:bold;
  border: none;
  /* border-radius: 6px; */
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.btn-submit:hover {
  background:red;
  transform: translateY(-2px);
}
/* Initial Animation Keyframes */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply animations to elements */
.contact-business-section h2,
.contact-business-section p,
.contact-wrapper {
  opacity: 0;
  animation: fadeSlideUp 1s ease-out forwards;
}

/* Delay animations slightly for sequence effect */
.contact-business-section h2 {
  animation-delay: 0.2s;
}
.contact-business-section p {
  animation-delay: 0.5s;
}
.contact-wrapper {
  animation-delay: 0.8s;
}

/* Optional: Fade-in cards individually */
.info-card,
.contact-form {
  opacity: 0;
  animation: fadeSlideUp 1s ease-out forwards;
}

.info-card:nth-child(1) { animation-delay: 1s; }
.info-card:nth-child(2) { animation-delay: 1.2s; }
.info-card:nth-child(3) { animation-delay: 1.4s; }
.contact-form { animation-delay: 1.6s; }

/* Responsive (for small screens) */
@media (max-width: 450px) {
  .contact-business-section {
    padding: 50px 15px;
  }

  .contact-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .info-card,
  .contact-form {
    width: 100%;
  }

  .contact-form {
    padding: 20px 15px;
  }

  .contact-business-section h2 {
    font-size: 26px;
  }

  .contact-business-section p {
    font-size: 15px;
  }

  .btn-submit {
    width: 100%;
    font-size: 15px;
  }
}










/* ================= 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;
  }
}

