* {
  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;
  }
}







.hero {
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(208, 205, 205);
  color: #fff;
  animation: jump 3s ease-in-out infinite;
}
/* Define the jump animation keyframes */
@keyframes jump {
  0% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-20px);
  }
  50% {
    transform: translateY(0);
  }
  70% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}
.hero .container {
  display: flex;
  flex-direction: row;
  max-width: 1000px;
  gap: 50px;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color:#007bff;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #555;
}
.btn-primary {
  padding: 12px 30px;
  background:#007bff;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
  font-weight: bold;
}
.btn-primary:hover {
  background:red;
}

@media (max-width: 450px) {
  .hero {
    padding: 50px 15px;
  }
  .hero .container {
    flex-direction: column;
    gap: 30px;
  }
  .hero-content h1 {
    font-size: 24px;
  }
  .hero-content p {
    font-size: 16px;
  }
  .btn-primary {
    padding: 10px 20px;
    font-size: 14px;
    display: inline-block;
    width: 50%;
    text-align: center;
    margin-left: 100px;
  }
  .hero .container img{
    margin-left: 50px;
  }
}









.offer-features {
  padding: 60px 20px;
  background-color: rgb(208, 205, 205);
  animation: fadeIn 1.2s ease-in-out both;
}

.offer-features .container {
  max-width: 1200px;
  margin: 0 auto;
}

.offer-features h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 0.5em;
}

.offer-features p {
  font-size: 1.125rem;
  text-align: center;
  margin-bottom: 2em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 3em;
}

.service-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeIn 1.5s ease both;
}

.service-card img {
  width: 60px;
  height: auto;
  margin-bottom: 20px;
  animation: fadeIn 1.8s ease both;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5em;
}

.service-card p {
  font-size: 1rem;
  margin-bottom: 1.2em;
}

.service-card a {
  font-weight: bold;
  color:red;
  /* background-color: red;
  margin-top: 30px !important;
  padding: 10px;
  text-decoration: none; */
}

.offer-features .container .services-grid .service-card:nth-child(1) p {
  margin-bottom: 55px !important;
  /* padding-top: 30px; */
}

.offer-features .container .services-grid .service-card:nth-child(2){
  background-color:rgb(6, 47, 91) ;
}
.offer-features .container .services-grid .service-card:nth-child(2) h3,
.offer-features .container .services-grid .service-card:nth-child(2) p{
  color: white;
}

.offer-features .container .features-grid .feature-card:nth-child(1),
.offer-features .container .features-grid .feature-card:nth-child(4){
  background-color: rgb(6, 47, 91);
}
.offer-features .container .features-grid .feature-card:nth-child(1) h3,
.offer-features .container .features-grid .feature-card:nth-child(1) p,
.offer-features .container .features-grid .feature-card:nth-child(4) h3,
.offer-features .container .features-grid .feature-card:nth-child(4) p {
  color: white;
}


/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 3em;
}

.feature-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.feature-card .feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5em;
}

.feature-card p {
  font-size: 1rem;
  color: #666;
}

/* Button */
.services-button {
  text-align: center;
}

.services-button .btn {
  display: inline-block;
  padding: 14px 32px;
  background-color:#007bff;
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s ease;
    /* transition: background 0.3s ease; */
  animation: fadeIn 2s ease both;
}

.services-button .btn:hover {
  background-color:red;
}
/* === Fade-in Animation === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   ✅ MEDIA QUERY – MAX 450PX
   ========================= */
@media (max-width: 450px) {
  .offer-features {
    padding: 40px 15px;
  }

  .offer-features h2 {
    font-size: 1.8rem;
    margin-bottom: 0.4em;
  }

  .offer-features p {
    font-size: 0.95rem;
    margin-bottom: 1.5em;
    padding: 0 10px;
  }

  .services-grid {
    grid-template-columns: 1fr; /* One card per row */
    gap: 20px;
  }

  .service-card {
    padding: 20px;
  }

  .service-card img {
    width: 50px;
    margin-bottom: 15px;
  }

  .service-card h3 {
    font-size: 1.25rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }

  .features-grid {
    grid-template-columns: 1fr; /* Stack cards */
    gap: 20px;
  }

  .feature-card {
    padding: 20px;
  }

  .services-button .btn {
    width: 50%;
    padding: 12px;
    font-size: 0.95rem;
  }
}





.testimonials-terms-section {
  padding: 70px 0;
  background: rgb(208, 205, 205);
  font-family: Arial, sans-serif;
  /* animation: jump 2.5s ease infinite; */
}
/* === Define keyframes for fade + jump === */
@keyframes fadeJump {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  30% {
    opacity: 0.7;
    transform: translateY(-10px);
  }
  60% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.testimonials-terms-section .container {
  width: 85%;
  margin: auto;
  text-align: center;
  animation: fadeJump 1.5s ease-out forwards;
}

.testimonials-terms-section h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color:black;
}

.section-subtitle {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

/* ✅ Testimonials */
.testimonials-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.testimonial {
  background:rgb(6, 47, 91) ;
  /* border: 1px solid white; */
  padding: 25px;
  border-radius: 8px;
  transition: 0.3s ease;
    /* Animation */
  animation: pulse 3s ease-in-out infinite;
}
/* Keyframes for pulse effect */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 white;
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 0 4px white;
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 white;
  }
}
.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px white;
}

.testimonial p {
  font-size: 15px;
  color:white;
}

.testimonial h4 {
  margin-top: 12px;
  font-size: 14px;
  font-weight: bold;
  color:rgb(237, 179, 72);
}

/* ✅ Terms Box */
.terms-box {
  background: #007bff;
  padding: 35px;
  border-radius: 8px;
  border-left: 5px solid #1e90ff;
  /* color: #007bff; */
    /* apply animation too if you want it separately */
  animation: fadeJump 1.8s ease-out forwards;
}

.terms-box h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: rgb(237, 179, 72);
}
.terms-box p{
  color: rgb(27, 23, 23);
}
.terms-list {
  text-align: left;
  margin: 0;
  padding-left: 20px;
}

.terms-list li {
  margin-bottom: 10px;
  color:white;
  line-height: 1.5;
  list-style: none;
}
.terms-list li strong{
  color: black;
}

/* =========================
   ✅ MEDIA QUERY – MAX 450PX
   ========================= */
@media (max-width: 450px) {
  .testimonials-terms-section {
    padding: 40px 10px;
  }

  .testimonials-terms-section .container {
    width: 95%;
  }

  .testimonials-terms-section h2 {
    font-size: 1.6rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 25px;
  }

  /* Testimonials layout */
  .testimonials-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }

  .testimonial {
    padding: 20px;
  }

  .testimonial p {
    font-size: 0.9rem;
  }

  .testimonial h4 {
    font-size: 0.85rem;
  }

  /* Terms box */
  .terms-box {
    padding: 25px 20px;
  }

  .terms-box h3 {
    font-size: 1.2rem;
  }

  .terms-box p {
    font-size: 0.9rem;
  }

  .terms-list {
    padding-left: 10px;
  }

  .terms-list li {
    font-size: 0.9rem;
    line-height: 1.4;
  }
}





.social-news-section {
  padding: 70px 0;
  background:rgb(208, 205, 205);
  text-align: center;
  animation: fadeIn 1.5s ease forwards;
}

.social-news-section h2 {
  font-size: 2.4rem;
  color:#007bff;
  font-weight: 700;
  margin-bottom: 10px;
}

.social-news-section .section-desc {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 40px;
}

/* Grid */
.news-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
  padding: 0 10px;
}

/* Cards */
.news-card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: 0.3s ease;
  cursor: pointer;
  animation: fadeUp 1.2s ease both;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.news-card .icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
      /* Add pulse animation */
  animation: pulse 2s ease-in-out infinite;
}

.news-card h4 {
  font-size: 1.5rem;
  margin-bottom: 6px;
  color: rgb(6, 47, 91);
  font-weight: 600;
  text-shadow: 1px 1px 3px;
    /* Add pulse animation */
  animation: pulse 2s ease-in-out infinite;
}
/* Define the pulse keyframes */
@keyframes pulse {
  0% {
    transform: scale(1);
    /* you can also fade in/out if you like */
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.9;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.news-card p {
  color: #444;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.news-card .date {
  font-size: 0.85rem;
  color: rgb(6, 47, 91);
  display: block;
  font-weight: bold;
}

/* Button */
.news-btn-wrap {
  margin-top: 35px;
}
.follow-btn {
  background:#007bff;
  padding: 12px 28px;
  color: white;
  /* border-radius: 6px; */
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}
.follow-btn:hover {
  background:red;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ✅ Responsive Design for 450px */
@media (max-width: 450px) {
  .social-news-section {
    padding: 40px 0;
  }

  .social-news-section h2 {
    font-size: 1.6rem;
  }

  .social-news-section .section-desc {
    font-size: 0.9rem;
    margin-bottom: 25px;
    padding: 0 10px;
  }

  .news-wrapper {
    grid-template-columns: 1fr; /* ✅ Full width single column */
    gap: 18px;
  }

  .news-card {
    padding: 18px;
    border-radius: 6px;
  }

  .news-card h4 {
    font-size: 1.2rem;
  }

  .news-card p {
    font-size: 0.85rem;
  }

  .follow-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}






/* ================= 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;
  }
}

