/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Styling */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f7fa;
  color: #333;
}

/* Floating Header */
.floating-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  z-index: 1000;
}

/* Header Content Layout */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

.logo span {
  font-size: 1.3rem;
  font-weight: bold;
  color: #1e3a5f;
}

/* Navigation */
.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  font-size: 1rem;
  color: #444;
  padding: 8px 12px;
  transition: color 0.3s ease;
  z-index: 1;
}

/* Floating box animation */
.nav-links a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(31, 122, 224, 0.1);
  border-radius: 10px;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  z-index: -1;
}

.nav-links a:hover {
  color: #1f7ae0;
}

.nav-links a:hover::before {
  width: 100%;
  height: 100%;
}


/* Login Button */
.login-btn {
  padding: 8px 18px;
  background: #1f7ae0;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.2s ease;
}

.login-btn:hover {
  background: #155fc4;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .header-container {
    justify-content: space-between;
  }
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  padding: 100px 10% 60px;
  background: url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?auto=format&fit=crop&w=1920&q=80') center center / cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
  box-sizing: border-box;
  overflow: hidden;
}

/* Light bluish overlay */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(200, 225, 255, 0.75); /* soft bluish tone */
  z-index: 1;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.3s;
  z-index: 2; /* Above overlay */
}

.hero-text {
  flex: 1;
  min-width: 300px;
  z-index: 2;
}

.hero-text h1 {
  font-size: 2.8rem;
  color: #1e3a5f;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
}

.hero-cta {
  display: inline-block;
  background: #1f7ae0;
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.hero-cta:hover {
  background: #155fc4;
  transform: translateY(-2px);
}

.hero-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
  z-index: 2;
  animation: heroImageFade 1.2s ease-out forwards;
  opacity: 0;
  transform: translateY(40px);
  animation-delay: 0.6s;
}

/* Image Animation */
@keyframes heroImageFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Fade Up Text Animation */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-cta {
    font-size: 0.95rem;
    padding: 10px 20px;
  }
}

/* About You Section */
.about-you {
  background: #eef4fb;
  padding: 80px 10%;
  text-align: center;
}

.about-you h2 {
  font-size: 2.4rem;
  color: #1e3a5f;
  margin-bottom: 50px;
}

.about-subheading {
  font-size: 1.1rem;
  color: #555;
  margin-top: -10px;
  margin-bottom: 40px;
  max-width: 700px;
  line-height: 1.6;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.reason-card {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  flex: 1 1 250px;
  max-width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeCard 0.8s ease-out forwards;
}

/* Animation delays for staggered entry */
.reason-card:nth-child(1) {
  animation-delay: 0.2s;
}
.reason-card:nth-child(2) {
  animation-delay: 0.4s;
}
.reason-card:nth-child(3) {
  animation-delay: 0.6s;
}
.reason-card:nth-child(4) {
  animation-delay: 0.8s;
}

/* Hover Lift Effect */
.reason-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* Image styling */
.reason-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

/* Paragraph styling */
.reason-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

/* Fade-in Animation Keyframes */
@keyframes fadeCard {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .reason-card {
    max-width: 100%;
  }
}

/* Transformation Section */
.transformation {
  background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
              url('assets/transform.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* This locks the image during scroll */
  padding: 100px 10%;
  text-align: center;
}

.transformation-container {
  max-width: 1100px;
  margin: 0 auto;
}

.transformation h2 {
  font-size: 2.4rem;
  color: #1e3a5f;
  margin-bottom: 60px;
}

.before-after-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.transformation-block {
  flex: 1 1 450px;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  background-color: #f5f9ff;
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeCard 0.8s ease-out forwards;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 320px;
  box-sizing: border-box;
  text-align: left;
}

.transformation-block.before {
  background: #ffecec;
  animation-delay: 0.2s;
}

.transformation-block.after {
  background: #eaffea;
  animation-delay: 0.4s;
}

.transformation-block h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #1e3a5f;
}

.transformation-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.transformation-block li {
  font-size: 1.05rem;
  color: #333;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  line-height: 1.6;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.transformation-block li:last-child {
  border-bottom: none;
}

/* Hover lift */
.transformation-block:hover {
  transform: translateY(-5px);
}


/* Reuse fade animation */
@keyframes fadeCard {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .before-after-grid {
    flex-direction: column;
  }

  .transformation-block {
    width: 100%;
  }
}

/* Signature Process Section */
.process {
  background: #f2f8ff;
  padding: 100px 10%;
  text-align: center;
}

.process-container {
  max-width: 1100px;
  margin: 0 auto;
}

.process h2 {
  font-size: 2.4rem;
  color: #1e3a5f;
  margin-bottom: 60px;
}

.steps {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.step {
  background: #fff;
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  flex: 1 1 300px;
  max-width: 320px;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeCard 0.8s ease-out forwards;
  transition: transform 0.3s ease;
}

.step:nth-child(1) { animation-delay: 0.2s; }
.step:nth-child(2) { animation-delay: 0.4s; }
.step:nth-child(3) { animation-delay: 0.6s; }

.step:hover {
  transform: translateY(-5px);
}

.step-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1f7ae0;
  margin-bottom: 15px;
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background: rgba(31, 122, 224, 0.1);
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #1e3a5f;
}

.step p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 768px) {
  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step {
    width: 100%;
    max-width: 100%;
  }
}

/* Services Section */
.services {
  position: relative;
  padding: 100px 10%;
  background: url('assets/servicebg.jpg') center center / cover no-repeat;
  background-attachment: fixed; 
  text-align: center;
  z-index: 1;
  overflow: hidden;
}

/* White overlay */
.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(250, 253, 255, 0.7);
  z-index: 0;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.services h2 {
  font-size: 2.4rem;
  color: #1e3a5f;
  margin-bottom: 30px;
}

.services-subheading {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Updated Service Card */
.service-card {
  background: #eaf4ff; /* light blue */
  padding: 0; /* remove all padding initially */
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  flex: 1 1 300px;
  max-width: 360px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeCard 0.8s ease-out forwards;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Image Block */
.card-img {
  height: 180px;
  overflow: hidden;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

/* Hover Zoom Effect */
.service-card:hover .card-img img {
  transform: scale(1.1);
}

/* Text Content Styling */
.service-card h3,
.service-card p {
  padding: 0 20px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin: 20px 0 10px;
  color: #1e3a5f;
}

.service-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Mobile */
@media (max-width: 768px) {
  .service-card {
    max-width: 100%;
  }

  .card-img {
    height: 160px;
  }
}

/* Testimonial Section */
.testimonial {
  background: linear-gradient(135deg, #e3f2fd, #ffffff);
  padding: 120px 10%;
  position: relative;
  overflow: hidden;
}

.testimonial-container {
  max-width: 1000px;
  margin: 0 auto;
  z-index: 2;
  position: relative;
}

.testimonial-content {
  display: flex;
  gap: 0px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease-out forwards;
}

.testimonial-text {
  flex: 1;
  min-width: 300px;
}

.testimonial h2 {
  font-size: 2.4rem;
  color: #1e3a5f;
  margin-bottom: 20px;
}

.testimonial-subheading {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
  max-width: 600px;
  line-height: 1.6;
}

blockquote {
  font-size: 1.3rem;
  font-style: italic;
  color: #0e3051;
  background: #d6ecff;
  padding: 30px;
  border-left: 5px solid #1f7ae0;
  border-radius: 12px;
  margin: 0 0 20px 0;
  line-height: 1.8;
}

.client-name {
  font-weight: 600;
  color: #1e3a5f;
}

.testimonial-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial-image img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease;
  display: block;
  margin: 0 auto;
}

.testimonial-image img:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  blockquote {
    font-size: 1.1rem;
  }

  .testimonial h2 {
    font-size: 2rem;
  }
}

/* Slider Layout */
.slider {
  position: relative;
  overflow: visible;
}

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

.slide {
  min-width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  position: absolute;
  top: 0;
  left: 0;
}

.slide.active {
  opacity: 1;
  position: relative;
}

/* Controls Below */
.slider-controls {
  margin-top: 40px;
  text-align: center;
}

.slider-arrow {
  display: inline-block;
  background: #1f7ae0;
  color: #fff;
  border: none;
  padding: 12px 16px;
  margin: 0 10px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.slider-arrow:hover {
  background: #155fc4;
}

/* Dot Indicators */
.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.slider-dot.active {
  background: #1f7ae0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #dbeeff, #f4faff);
  padding: 100px 10%;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  animation: fadeUp 1s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.cta-section h2 {
  font-size: 2.5rem;
  color: #1e3a5f;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-button {
  background-color: #1f7ae0;
  color: #fff;
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

.cta-button:hover {
  background-color: #155fc4;
  transform: translateY(-2px);
}

/* Animation */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .cta-section h2 {
    font-size: 2rem;
  }

  .cta-section p {
    font-size: 1rem;
  }
}

/* Services Section */
.services-section {
  background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
              url('assets/solutionsbg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* This locks the image during scroll */
  padding: 100px 10%;
  text-align: center;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.services-section h2 {
  font-size: 2.5rem;
  color: #1e3a5f;
  margin-bottom: 20px;
}

.services-subheading {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

/* Card */
.service-card {
  background: #e6f2ff;
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 6px solid #1f7ae0;
}

.service-card h3 {
  font-size: 1.3rem;
  color: #1e3a5f;
  margin: 20px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 1rem;
  color: #555;
  margin: 0 20px 30px;
  line-height: 1.5;
}

/* Hover effect */
.service-card:hover {
  transform: scale(1.03);
}

/* How It Works Section */
.how-it-works {
  background: #ffffff;
  padding: 100px 10%;
  text-align: center;
}

.how-container {
  max-width: 1100px;
  margin: 0 auto;
}

.how-it-works h2 {
  font-size: 2.5rem;
  color: #1e3a5f;
  margin-bottom: 20px;
}

.how-subheading {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Steps Grid */
.how-steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

/* Step Card */
.how-card {
  flex: 1;
  min-width: 280px;
  background: #e3f2fd;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.how-card:hover {
  transform: translateY(-8px);
}

.how-number {
  font-size: 2rem;
  font-weight: bold;
  color: #1f7ae0;
  background: #d0e9ff;
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-card h3 {
  font-size: 1.3rem;
  color: #1e3a5f;
  margin-bottom: 10px;
}

.how-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .how-steps {
    flex-direction: column;
    align-items: center;
  }

  .how-card {
    width: 100%;
    max-width: 400px;
  }
}

/* FAQ + Contact Section */
.contact-faq-section {
  background: #f7fbff;
  padding: 100px 10%;
}

.contact-faq-container {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

/* FAQ Column */
.faq-column {
  flex: 1;
  min-width: 300px;
}

.faq-column h2,
.contact-column h2 {
  font-size: 2rem;
  color: #1e3a5f;
  margin-bottom: 20px;
}

.faq-subheading {
  font-size: 1rem;
  color: #555;
  margin-bottom: 30px;
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid #d9e7f7;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.faq-question {
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f7ae0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  padding: 15px 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* Contact Column */
.contact-column {
  flex: 1;
  min-width: 300px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #ccdff5;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.contact-form button {
  background: #1f7ae0;
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #155fc4;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-faq-container {
    flex-direction: column;
  }
}

/* ===============================
   FOOTER STYLING
================================== */

.site-footer {
  background: #e6f2fc;
  padding: 60px 10% 30px;
  font-family: 'Poppins', sans-serif;
  color: #1e3a5f;
  text-align: left;
}

/* Container Layout */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 30px;
}

/* Shared Headings */
.site-footer h3,
.site-footer h4 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Hover Animation for Headings */
.site-footer h3:hover,
.site-footer h4:hover {
  color: #155fc4;
  transform: translateY(-3px);
}

.site-footer h3::after,
.site-footer h4::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -5px;
  background-color: #155fc4;
  transition: width 0.3s ease;
}

.site-footer h3:hover::after,
.site-footer h4:hover::after {
  width: 100%;
}

/* Brand Column */
.footer-brand {
  flex: 1 1 250px;
}

.footer-brand p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* Quick Links */
.footer-links {
  min-width: 180px;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #1f7ae0;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #155fc4;
}

/* Services Column */
.footer-services {
  min-width: 180px;
}

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

.footer-services li {
  margin-bottom: 10px;
}

.footer-services a {
  color: #1f7ae0;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-services a:hover {
  color: #155fc4;
}

/* Contact Column */
.footer-contact {
  min-width: 220px;
}

.footer-contact p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 8px;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #d0e7ff;
  color: #1f7ae0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hover Color Matching Platform */
.social-icons .facebook:hover {
  background: #1877f2;
  color: #fff;
}

.social-icons .linkedin:hover {
  background: #0a66c2;
  color: #fff;
}

.social-icons .twitter:hover {
  background: #1da1f2;
  color: #fff;
}

/* Responsive - Center on Mobile */
@media (max-width: 768px) {
  .social-icons {
    justify-content: center;
  }
}

/* Bottom Bar */
.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  color: #888;
  border-top: 1px solid #dbefff;
  padding-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand,
  .footer-links,
  .footer-services,
  .footer-contact {
    margin-bottom: 30px;
  }

  .social-icons {
    justify-content: center;
    display: flex;
  }
}
