/* ========== BASE STYLES ========== */
:root {
  --primary-color: #0b2e65;
  --secondary-color: #041d88;
  --dark-color: #212121;
  --light-color: #faf9f4;
  --text-color: #333;
  --text-light: #ffffff;
  --accent-color: #f8edd6;
  --section-padding: 5rem;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== UTILITY CLASSES ========== */
.cta-button, .learn-more {
  display: inline-block;
  padding: 15px 32px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  border-radius: var(--border-radius);
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.cta-button:hover, .learn-more:hover {
  background-color: #0a265a;
  transform: translateY(-2px);
}

/* ========== HEADER & NAVIGATION ========== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 72px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  color: var(--text-light);
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.logo {
  width: 102.5px;
  height: 55px;
  object-fit: contain;
}

.company-name {
  color: var(--text-light);
  text-align: left;
  white-space: nowrap;
}

.company-name-main {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 18px;
  display: block;
  line-height: 1.2;
}

.company-name-sub {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 16px;
  display: block;
  line-height: 1.2;
}

.main-nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav li {
  flex-shrink: 0;
}

.main-nav a {
  color: var(--text-light);
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 16px;
  transition: color 0.3s;
  text-decoration: none;
  white-space: nowrap;
  display: block;
  padding: 8px 0;
}

.main-nav a.active {
  color: var(--secondary-color);
  font-weight: 900;
}

.main-nav a:hover {
  color: var(--secondary-color);
}

/* Dropdown Menu */
.main-nav .dropdown {
  position: relative;
}

.main-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  border-radius: 4px;
  padding: 10px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  min-width: 200px;
  display: none;
  z-index: 1000;
}

.main-nav .dropdown:hover .dropdown-menu {
  display: block;
}

.main-nav .dropdown-menu li {
  padding: 8px 20px;
}

.main-nav .dropdown-menu li a {
  color: var(--dark-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: block;
}

.main-nav .dropdown-menu li a:hover {
  background-color: #f2f2f2;
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  padding: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 2px 0;
  background-color: var(--text-light);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  min-height: 100vh;
  background: 
    linear-gradient(180deg, rgba(135, 134, 134, 0.5) 53.37%, rgba(33, 33, 33, 0.7) 100%),
    url('../assets/images/home banner.png') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--text-light);
  padding: 0 72px;
  padding-bottom: 80px;
  width: 100%;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 10.1%, rgba(255, 255, 255, 0) 31.73%);
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1103px;
  margin-top: 80px;
}

.hero h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 50px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.hero p {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 23px;
  margin-bottom: 40px;
}

/* Hero Animations */
.hero-content h1 {
  opacity: 0;
  transform: scale(0.8);
  transform-origin: center;
  transition: transform 2.0s cubic-bezier(0.165, 0.84, 0.44, 1), 
              opacity 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-content p {
  opacity: 0;
  transform: translateY(30px);
  transition: transform 1.5s cubic-bezier(0.165, 0.84, 0.44, 1) 0.4s, 
              opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) 0.4s;
}

.hero-content h1.animate {
  opacity: 1;
  transform: scale(1);
}

.hero-content p.animate {
  opacity: 1;
  transform: translateY(0);
}


/* ========== ABOUT SECTION ========== */
.aboutt-section {
  background-color: var(--text-light);
  padding: var(--section-padding) 72px;
  opacity: 1; /* Changed from 0 to 1 to make it visible by default */
  transform: translateY(0); /* Changed from 50px to 0 */
  /* Removed transition as we're making it visible by default */
}

.aboutt-section h2 {
  color: var(--primary-color);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 40px;
  margin-bottom: 30px;
  text-align: center;
}

.aboutt-intro {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.aboutt-content {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.aboutt-image {
  flex: 1;
  min-width: 300px;
}

.aboutt-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.aboutt-text {
  flex: 1;
  min-width: 300px;
}

.aboutt-text p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.tagline {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--primary-color);
  text-align: center;
  margin-top: 20px;
  font-style: italic;
  position: relative;
  padding-top: 15px;
}

.tagline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

/* Responsive styles for about section */
@media (max-width: 992px) {
  .aboutt-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .aboutt-image, .aboutt-text {
    width: 100%;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .aboutt-section {
    padding: 60px 20px;
  }

  .aboutt-section h2 {
    font-size: 32px;
  }

  .aboutt-text p {
    font-size: 16px;
  }

  .aboutt-intro {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .aboutt-section h2 {
    font-size: 28px;
  }
  
  .aboutt-content {
    gap: 30px;
  }
}


/* ========== CLIENT LOGOS SECTION ========== */
.client-logos-section {
  /* background-color: rgb(170, 165, 165); */
  /* background-image: linear-gradient(to right, rgba(255,255,255,0.9), rgba(255,255,255,0.9)),  */
                    /* url('../assets/images/company\ banner.png'); */
  background-color: #fff;
  padding: 30px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
}

.client-logos-container {
  display: flex;
  align-items: center;
  width: fit-content;
  padding: 20px 0;
  will-change: transform;
}

.client-logos-container img {
  height: 50px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  flex-shrink: 0;
  margin: 0 25px;
  transition: transform 0.3s ease;
}

.client-logos-container img:hover {
  transform: scale(1.1);
}

/* Infinite scroll animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.client-logos-container {
  animation: scroll 20s linear infinite;
}

.client-logos-section:hover .client-logos-container {
  animation-play-state: paused;
}

/* ========== BANNER SECTION ========== */
.banner {
  background: 
    linear-gradient(to left, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url('../assets/images/query\ background.png') center/cover no-repeat;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--text-light);
}

.banner-content {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease-out 0.3s, transform 0.8s ease-out 0.3s;
}

.banner.animate .banner-content {
  opacity: 1;
  transform: scale(1);
}

/* ========== FOUNDER SECTION ========== */
.founder-section {
  background-color: var(--text-light);
  padding: var(--section-padding) 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.founder-section.animate {
  opacity: 1;
  transform: translateY(0);
}

.founder-content {
  max-width: 597px;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 1s ease-out 0.3s, transform 1s ease-out 0.3s;
}

.founder-section.animate .founder-content {
  opacity: 1;
  transform: translateX(0);
}

.founder-content h2 {
  color: var(--primary-color);
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 40px;
  margin-bottom: 30px;
}

.founder-content p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.5;
}

.founder-image {
  border-radius: 50%;
  width: 416px;
  height: 416px;
  object-fit: cover;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 1s ease-out 0.6s, transform 1s ease-out 0.6s;
}

.founder-section.animate .founder-image {
  opacity: 1;
  transform: translateX(0);
}

/* ========== SERVICES SECTION ========== */
.services-section {
  padding: 4rem 72px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  opacity: 1;
  transform: translateY(0);
  overflow: hidden;
}

.service-card {
  flex: 0 0 calc(33.333% - 25px);
  min-width: 280px;
  background: var(--text-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(11, 46, 101, 0.1);
  transition: all 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(11, 46, 101, 0.15);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.service-card-content {
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 46, 101, 0.08);
  border-radius: 10px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--primary-color);
  transform: scale(1.05);
}

.service-card:hover .service-icon img {
  filter: brightness(0) invert(1);
}

.service-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.service-card h3 {
  color: var(--primary-color);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.service-card p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #555;
  flex-grow: 1;
}

.service-card-footer {
  margin-top: auto;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 6px;
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.learn-more::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  transition: all 0.3s ease;
  z-index: -1;
}

.learn-more:hover {
  color: var(--text-light);
}

.learn-more:hover::before {
  left: 0;
}

.learn-more span {
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.learn-more:hover span {
  transform: translateX(4px);
}

/* Responsive styles for service cards */
@media (max-width: 1200px) {
  .service-card {
    flex: 0 0 calc(50% - 25px);
    max-width: calc(50% - 25px);
  }
}

@media (max-width: 992px) {
  .services-section {
    padding: 3.5rem 40px;
  }
  
  .service-card {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
    min-width: 250px;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 3rem 20px;
    gap: 20px;
  }
  
  .service-card {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 0;
  }
  
  .service-card-content {
    padding: 25px 20px;
  }
  
  .service-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 18px;
  }
  
  .service-icon img {
    width: 28px;
    height: 28px;
  }
  
  .service-card h3 {
    font-size: 20px;
  }
  
  .service-card p {
    font-size: 14px;
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .services-section {
    padding: 2.5rem 15px;
  }
  
  .service-card-content {
    padding: 20px 18px;
  }
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
  background-color: var(--text-light);
  padding: var(--section-padding) 72px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.testimonials.animate {
  opacity: 1;
  transform: translateY(0);
}

.testimonials h2 {
  color: var(--primary-color);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 40px;
  margin-bottom: 80px;
  text-align: center;
}

.testimonial-box {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out 0.3s, transform 0.8s ease-out 0.3s;
}

.testimonials.animate .testimonial-box {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-content {
  flex: 1;
  text-align: left;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.8s ease-out 0.6s, transform 0.8s ease-out 0.6s;
}

.testimonials.animate .testimonial-content {
  opacity: 1;
  transform: translateX(0);
}

.testimonial-quote {
  position: absolute;
  top: -20px;
  left: 0;
  width: 40px;
}

.testimonial-content blockquote {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 30px;
  font-style: italic;
  padding-left: 60px;
}

.client-info {
  padding-left: 60px;
}

.client-name {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 5px;
}

.client-position {
  color: var(--primary-color);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
}

.testimonial-image {
  flex: 1;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.8s ease-out 0.9s, transform 0.8s ease-out 0.9s;
}

.testimonials.animate .testimonial-image {
  opacity: 1;
  transform: translateX(0);
}

.testimonial-image img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--border-radius);
}

/* ========== CONSULTATION SECTION ========== */
.consultation-section {
  padding: var(--section-padding) 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f8f8f8;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  gap: 60px;
}

.consultation-section.animate {
  opacity: 1;
  transform: translateY(0);
}

.consultation-image {
  flex: 1;
  max-width: 45%;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease-out 0.3s, transform 0.8s ease-out 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.consultation-section.animate .consultation-image {
  opacity: 1;
  transform: translateX(0);
}

.consultation-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--border-radius);
  object-fit: contain;
}

.consultation-content {
  flex: 1;
  max-width: 55%;
  padding-left: 40px;
  text-align: left;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease-out 0.6s, transform 0.8s ease-out 0.6s;
}

.consultation-section.animate .consultation-content {
  opacity: 1;
  transform: translateX(0);
}

.consultation-content h2 {
  color: var(--primary-color);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 40px;
  margin-bottom: 20px;
}

.consultation-content p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  margin-bottom: 30px;
}

/* ================= FOOTER STYLES ================= */
.footer {
  background-color: dimgray;
  color: var(--text-light);
  padding: 60px 72px 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer.animate {
  opacity: 1;
  transform: translateY(0);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 40px;
  align-items: flex-start;
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
}

/* ===== Left Side (Logo, Description, Social, Quick Links) ===== */
.footer-main {
  flex: 1;
  min-width: 300px;
  max-width: 360px;
}

.footer-main img {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
}

.footer-main p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--text-light);
}

/* Added Follow Us heading */
.follow-us-heading {
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text-light);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.social-icons a {
  color: var(--text-light);
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

/* ===== Quick Links ===== */
.footer-quick-links {
  margin-top: 10px;
}

.footer-quick-links h3 {
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text-light);
}

.footer-quick-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-start;
  align-items: center;
  gap: 30px;
  flex-wrap: nowrap !important;
  overflow-x: auto;
}

.footer-quick-links li {
  display: inline-block;
}

.footer-quick-links li a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.footer-quick-links li a:hover {
  color: var(--accent-color);
}

/* ===== Right Side (Find Us & Contact) ===== */
.footer-right-section {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}

.footer-find-us {
  flex: 2;
  min-width: 320px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-contact {
  flex: 1;
  min-width: 220px;
  padding: 15px 0;
  margin: 20px 0;
}

.footer-find-us h3,
.footer-contact h3 {
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 18px;
  color: var(--text-light);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
}

.contact-item i {
  color: var(--text-light);
  font-size: 16px;
  margin-top: 3px;
  min-width: 16px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 3px;
}

.contact-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-light);
}

/* ===== Bottom Copyright ===== */
.footer-copyright {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  width: 100%;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .footer {
    padding: 40px 20px 20px;
  }

  /* Hide desktop elements on mobile */
  .desktop-logo,
  .desktop-description,
  .desktop-follow-us,
  .desktop-social,
  .desktop-quick-links,
  .footer-main,
  .footer-right-section {
    display: none !important;
  }

  /* Show mobile layout */
  .mobile-footer-layout {
    display: block;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* Mobile Footer Top Section */
  .mobile-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
  }

  /* Mobile Logo Brand - Logo with text below */
  .mobile-logo-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
  }

  .mobile-logo {
    width: 80px;
    height: auto;
    display: block;
  }

  .mobile-company-name {
    display: flex;
    flex-direction: column;
    color: var(--text-light);
  }

  .mobile-company-name-main {
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
    font-size: 16px;
    display: block;
    line-height: 1.2;
    color: var(--text-light);
  }

  .mobile-company-name-sub {
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
    font-size: 14px;
    display: block;
    line-height: 1.2;
    color: var(--text-light);
  }

  /* Mobile Quick Links */
  .mobile-quick-links {
    flex: 1;
    padding-right: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.5); /* Bold white line between sections */
  }

  .mobile-quick-links h3 {
    font-family: 'Mulish', sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-light);
  }

  .mobile-quick-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-quick-links li {
    margin-bottom: 8px;
  }

  .mobile-quick-links li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
  }

  .mobile-quick-links li a:hover {
    color: var(--accent-color);
  }

  /* Mobile Right Section */
  .mobile-right-section {
    /* margin-top: 20px; */
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* Mobile Follow Us */
  .mobile-follow-us h3 {
    font-family: 'Mulish', sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-light);
  }

  .mobile-social-icons {
    display: flex;
    gap: 15px;
  }

  .mobile-social-icons a {
    color: var(--text-light);
    font-size: 18px;
    transition: all 0.3s ease;
  }

  .mobile-social-icons a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
  }

  /* Mobile Contact */
  .mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .mobile-contact-item h3 {
    font-family: 'Mulish', sans-serif;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-light);
  }

  .mobile-contact-detail {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .mobile-contact-detail i {
    color: var(--text-light);
    font-size: 14px;
  }

  .mobile-contact-detail span {
    color: var(--text-light);
    font-size: 14px;
    text-decoration: underline;
  }

  /* Mobile Addresses */
  .mobile-addresses {
    margin-top: 20px;
  }

  .mobile-addresses .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.5;
  }

  .mobile-addresses .contact-item i {
    color: var(--text-light);
    font-size: 14px;
    margin-top: 2px;
    min-width: 14px;
  }

  .mobile-addresses .contact-item span {
    color: var(--text-light);
  }
}

/* Hide mobile layout on desktop */
@media (min-width: 769px) {
  .mobile-footer-layout {
    display: none !important;
  }
}

@media (max-width: 360px) {
  .footer-quick-links ul {
    flex-direction: column;
    gap: 10px;
  }

  .footer-copyright {
    font-size: 13px;
    margin-top: 10px;
    padding-top: 12px;
  }

  .contact-label {
    font-size: 13px;
  }
  
  .contact-value {
    font-size: 14px;
  }

  /* Mobile footer adjustments for very small screens */
  .mobile-footer-top {
    flex-direction: column;
    gap: 25px;
  }

  .mobile-quick-links,
  .mobile-right-section {
    width: 100%;
  }

  .mobile-quick-links {
    border-right: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    padding-right: 0;
    padding-bottom: 20px;
  }

  .mobile-quick-links h3,
  .mobile-follow-us h3 {
    font-size: 16px;
  }

  .mobile-quick-links li a {
    font-size: 13px;
  }

  .mobile-contact-item h3 {
    font-size: 14px;
  }

  .mobile-contact-detail span {
    font-size: 13px;
  }

  .mobile-addresses .contact-item {
    font-size: 12px;
  }

  .mobile-addresses .contact-item i {
    font-size: 12px;
  }
}

/* ========== TABLET VIEW FOOTER REDESIGN ========== */
@media (min-width: 769px) and (max-width: 992px) {
  .footer-right-section {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-contact {
    width: 100%;
    min-width: 100%;
  }
  
  .footer-contact .contact-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
  }
  
  .footer-contact .contact-item:first-child {
    justify-content: flex-start;
    margin-right: auto;
  }
  
  .footer-contact .contact-item:last-child {
    justify-content: flex-end;
    margin-left: auto;
  }
  
  .footer-contact .contact-detail {
    flex-direction: column;
  }
  
  /* Adjust spacing for the new layout */
  .footer-contact h3 {
    text-align: center;
    margin-bottom: 25px;
  }
  
  /* Ensure proper alignment of the contact items */
  .footer-contact .contact-item {
    width: 45%;
    display: inline-flex;
    vertical-align: top;
  }
}

/* Alternative approach if the above doesn't work perfectly */
@media (min-width: 769px) and (max-width: 992px) {
  .footer-contact {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  
  .footer-contact h3 {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .footer-contact-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
  }
  
  .footer-contact .contact-item {
    flex: 1;
    max-width: 48%;
  }
}


/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 1200px) {
  .header {
    padding: 20px 40px;
  }
  
  .main-nav ul {
    gap: 30px;
  }
  
  .hero h1 {
    font-size: 40px;
  }
  
  .hero p {
    font-size: 20px;
  }
  
  .founder-section, .consultation-section {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  
  .founder-image {
    order: -1;
  }
  
  .consultation-image, .consultation-content {
    max-width: 100%;
    padding-left: 0;
    text-align: center;
  }
  
  .testimonial-box {
    flex-direction: column;
    padding: 40px;
  }
  
  .testimonial-content {
    width: 100%;
  }
  
  .testimonial-image {
    width: 100%;
    text-align: center;
    margin-top: 40px;
  }
  
  .client-logos-container img {
    height: 45px;
  }
}

@media (max-width: 992px) {
  .client-logos-container img {
    height: 40px;
  }
  
  .banner {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 10px 20px;
    background: transparent !important; /* Force transparent background */
    position: absolute; /* Keep it positioned absolutely */
  }
  
  .logo-brand {
    gap: 10px;
  }
  
  .logo {
    width: 80px;
    height: 43px;
  }
  
  .company-name-main {
    font-size: 16px;
  }
  
  .company-name-sub {
    font-size: 14px;
  }
  
  /* Mobile navigation */
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    padding: 20px;
    flex-direction: column;
    align-items: center;
    z-index: 10;
  }
  
  .main-nav.active {
    display: flex;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 20px;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
.hero {
    padding: 80px 0 60px 0 !important; /* Remove horizontal padding */
    min-height: 80vh;
    width: 100% !important;
    margin: 0;
    left: 0;
  }
  
  .hero-content {
    width: 90%;
    margin: 0 auto;
    padding: 0 15px;
    margin-top: 20px;
  }
  
  .hero h1 {
    font-size: 28px;
    margin-bottom: 25px;
    line-height: 1.3;
  }
  
  .hero p {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.5;
  }
  
  .founder-section, .services-section, .testimonials {
    padding: 60px 20px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 40px;
  }
  
  .client-logos-container img {
    height: 35px;
    margin: 0 20px;
  }
  
  .client-logos-container {
    animation-duration: 15s;
  }
  
  .banner {
    height: 160px;
  }
  
  .banner h2 {
    font-size: 28px;
  }
  
  .testimonials {
    padding: 60px 20px;
  }
  
  .testimonial-box {
    padding: 30px 20px;
  }
  
  .testimonial-content blockquote {
    padding-left: 40px;
    font-size: 18px;
  }
  
  .client-info {
    padding-left: 40px;
  }
  
  .testimonial-quote {
    width: 30px;
  }
  
  .consultation-section {
    padding: 80px 40px;
  }
  
  .consultation-image img {
    max-width: 400px;
  }
  
  .consultation-content h2 {
    font-size: 32px;
  }
  
  .consultation-content p {
    font-size: 18px;
  }
  
  .contact-item {
    gap: 10px;
  }
  
  .contact-item i {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .client-logos-container img {
    height: 30px;
    margin: 0 15px;
  }
  
  .client-logos-container {
    animation-duration: 12s;
  }
  
  .banner {
    height: 140px;
  }
  
  .banner h2 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 12px 15px;
    background: transparent !important; /* Ensure transparent background */
  }
  
  .logo {
    width: 70px;
    height: 38px;
  }
  
  .company-name-main {
    font-size: 14px;
  }
  
  .company-name-sub {
    font-size: 12px;
  }
  
  .mobile-menu-toggle {
    width: 25px;
    height: 25px;
  }
  
  .mobile-menu-toggle span {
    width: 20px;
    height: 2px;
  }
  
   /* HERO SECTION FIX FOR SMALLER SCREENS */
  .hero {
    padding: 70px 0 50px 0 !important;
  }
  
  .hero h1 {
    font-size: 24px;
  }
  
  .hero p {
    font-size: 15px;
  }
  
  .hero-content {
    width: 95%;
  }
  
  .cta-button, .learn-more {
    padding: 12px 24px;
    font-size: 16px;
  }
  
  .service-card {
    min-width: 100%;
  }
  
  .testimonials h2, .consultation-content h2 {
    font-size: 32px;
  }
  
  .consultation-section {
    padding: 60px 20px;
  }
  
  .consultation-image img {
    max-width: 100%;
  }
}

/* ========== MOBILE SPECIFIC STYLES ========== */
@media (max-width: 768px) {
  /* Header adjustments for mobile */
  .header {
    padding: 12px 15px;
    background: transparent !important; /* Changed from blue to transparent */
    position: absolute; /* Changed from fixed to absolute */
  }
  
  .logo-brand {
    z-index: 1001;
  }
  
  /* Mobile menu styling */
  .main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: var(--primary-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.3s ease;
    z-index: 1000;
    padding: 80px 20px 40px;
  }
  
  .main-nav.active {
    left: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 25px;
    width: 100%;
    text-align: center;
  }
  
  .main-nav a {
    font-size: 18px;
    padding: 12px 0;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .main-nav a.active {
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
  }
  
  .mobile-menu-toggle {
    display: flex;
    z-index: 1001;
  }
  
  /* Hero section adjustments */
  .hero {
    padding-top: 80px;
    min-height: 80vh;
    padding: 80px 15px 60px;
  }
  
  .hero-content {
    margin-top: 20px;
  }
  
  .hero h1 {
    font-size: 28px;
    margin-bottom: 25px;
  }
  
  .hero p {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  /* About section adjustments */
  .aboutt-section {
    padding: 50px 15px;
  }
  
  .aboutt-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .aboutt-image, .aboutt-text {
    width: 100%;
  }
  
  .tagline {
    font-size: 20px;
    margin-top: 15px;
  }
  
  /* Services slider for mobile */
  /* .services-section {
    padding: 40px 0;
    flex-wrap: nowrap;
    overflow-x: hidden;
    position: relative;
  }
  
  .service-card {
    flex: 0 0 85%;
    min-width: 85%;
    margin: 0 7.5%;
    scroll-snap-align: center;
    transition: transform 0.3s ease;
  } */
  
  .services-slider-container {
    display: flex;
    width: 300%;
    transition: transform 0.4s ease;
  }
  
  .service-slide {
    width: 100%;
    flex: 0 0 100%;
  }
  
  .slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    padding: 0 15px;
  }
  
  .slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .slider-dot.active {
    background: var(--primary-color);
  }
  
  /* Client logos section */
  .client-logos-section {
    padding: 40px 15px;
  }
  
  .client-logos-container {
    animation: scroll 25s linear infinite;
  }
  
  .client-logos-container img {
    height: 35px;
    margin: 0 15px;
  }
  
  /* Consultation section */
  .consultation-section {
    padding: 50px 15px;
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .consultation-image, .consultation-content {
    max-width: 100%;
    padding-left: 0;
  }
  
  .consultation-content h2 {
    font-size: 26px;
  }
  
  .consultation-content p {
    font-size: 16px;
  }
  
  /* Footer mobile layout */
  .footer {
    padding: 40px 20px 20px;
    text-align: left;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 30px;
    text-align: left;
  }
  
  .footer-about {
    order: 1;
    max-width: 100%;
    margin-bottom: 20px;
    text-align: left;
  }
  
  .footer-about img {
    margin: 0 0 20px 0;
    display: block;
  }

  .footer-about p {
    text-align: left;
  }
  
  .footer-links {
    order: 3;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    text-align: left;
  }
  
  .footer-find-us, 
  .footer-contact, 
  .footer-quick-links {
    min-width: 100%;
    text-align: left;
  }
  
  .footer-quick-links ul {
    align-items: left;
  }
  
  .social-icons {
    order: 2;
    justify-content: flex-start;
    margin: 25px 0;
  }
  
  .contact-item {
    justify-content: flex-start;
    text-align: left;
  }
  
  .footer-copyright {
    order: 4;
    margin-top: 30px;
    font-size: 14px;
    text-align: left;
  }
}

/* Very small devices */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 24px;
  }
  
  .hero p {
    font-size: 15px;
  }
  
  .service-card {
    flex: 0 0 90%;
    min-width: 90%;
    margin: 0 5%;
  }
  
  .consultation-content h2 {
    font-size: 22px;
  }
  
  .footer {
    padding: 30px 15px 15px;
  }

  .footer-copyright{
    font-size: 12px;
  }
}

/* Service card slider animation */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.service-card {
  animation: slideIn 0.5s ease forwards;
}

/* Mobile Contact Button */
@media (max-width: 768px) {
  .header .cta-button {
    display: none;
  }
  
  /* Mobile menu with gradient background */
  .main-nav {
    background: linear-gradient(to bottom, #0b2e65, #0a265a, #08308a);
    height: 100vh;
    justify-content: flex-start;
    padding-top: 100px;
  }
  
  .main-nav ul {
    width: 100%;
  }
  
  .main-nav li {
    width: 100%;
    text-align: center;
  }
  
  .main-nav a {
    padding: 15px 0;
    font-size: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* Service cards slider for mobile */
@media (max-width: 768px) {
  /* .services-section {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 40px 0;
    flex-wrap: nowrap;
    gap: 0;
  }
  
  .service-card {
    flex: 0 0 85%;
    min-width: 85%;
    margin: 0 7.5%;
    scroll-snap-align: center;
  } */
  
  /* Hide scrollbar for Chrome, Safari and Opera */
  .services-section::-webkit-scrollbar {
    display: none;
  }
  
  /* Hide scrollbar for IE, Edge and Firefox */
  .services-section {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
}

/* Footer adjustments for mobile */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
  }
  
  .footer-links {
    order: 2;
    margin-bottom: 30px;
  }
  
  .social-icons {
    order: 3;
    justify-content: center;
    margin-top: 20px;
  }
  
  .footer-about {
    order: 1;
    margin-bottom: 30px;
  }
}

/* Add this to your existing CSS */

/* ========== MOBILE MENU GRADIENT ========== */
@media (max-width: 768px) {
  .main-nav {
    background: linear-gradient(to bottom, #0b2e65, #0a265a, #08308a);
    height: 100vh;
    justify-content: center;
    padding-top: 100px;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    transition: left 0.3s ease;
    z-index: 1000;
  }
  
  .main-nav.active {
    left: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 25px;
    width: 100%;
    text-align: center;
  }
  
  .main-nav a {
    font-size: 20px;
    padding: 15px 0;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
  }
  
  .main-nav a.active {
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
  }
  
  /* Dropdown menu for mobile */
  .main-nav .dropdown-menu {
    position: static;
    background: transparent;
    box-shadow: none;
    display: none;
    padding: 10px 0;
    margin-top: 10px;
  }
  
  .main-nav .dropdown.active .dropdown-menu {
    display: block;
  }
  
  .main-nav .dropdown-menu li {
    padding: 8px 0;
  }
  
  .main-nav .dropdown-menu li a {
    color: var(--text-light);
    font-size: 16px;
    padding: 10px 0;
  }
}

/* ========== SERVICE CARDS SLIDER FOR MOBILE ========== */
/* @media (max-width: 768px) {
  .services-section {
    padding: 40px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  
  .service-card {
    flex: 0 0 85%;
    min-width: 85%;
    margin: 0 7.5%;
    scroll-snap-align: center;
  }
  
  /* Hide scrollbar */
  /* .services-section::-webkit-scrollbar {
    display: none;
  }
  
  .services-section {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
} */ */

/* ========== FOOTER LAYOUT FIXES ========== */
.footer-content {
  display: flex;
  flex-wrap: wrap;
  text-align: left; /* Ensure all text is left aligned */
}

.footer-about,
.footer-find-us,
.footer-contact,
.footer-quick-links {
  text-align: left;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-quick-links ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start; /* Left align the links */
}

.social-icons {
  justify-content: flex-start; /* Left align social icons */
}

.contact-item {
  justify-content: flex-start; /* Left align contact items */
}

/* Responsive adjustments for footer */
@media (max-width: 992px) {
  .footer-links {
    gap: 30px;
  }
  
  .footer-find-us,
  .footer-contact,
  .footer-quick-links {
    flex: 1;
    min-width: calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-find-us,
  .footer-contact,
  .footer-quick-links {
    min-width: 100%;
  }
  
  .footer-quick-links ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px 30px;
  }
  
  .footer-quick-links li {
    margin-right: 20px;
  }
}

@media (max-width: 576px) {
  .footer-quick-links ul {
    flex-direction: column;
    gap: 15px;
  }
}

/* ========== SERVICE CARDS SLIDER FOR MOBILE ========== */
@media (max-width: 768px) {
  .services-section {
    padding: 40px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    gap: 0;
    /* Ensure we start at the first card */
    scroll-padding: 0 7.5%;
    /* Add padding to ensure first card is visible */
    padding-left: 0;
    padding-right: 0;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .service-card {
    flex: 0 0 85%;
    min-width: 85%;
    /* Remove margin and use padding instead for proper alignment */
    margin: 0;
    scroll-snap-align: start;
    /* Add left padding to the first card */
    padding-left: 0;
    /* Add right padding to the last card */
    margin-right: 15px;
  }
  
  /* Add space between cards */
  .service-card:not(:last-child) {
    margin-right: 7.5%;
  }
  
  /* Hide scrollbar */
  .services-section::-webkit-scrollbar {
    display: none;
  }
  
  .services-section {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  
  /* Ensure the first card is properly aligned */
  .services-section::before {
    content: '';
    flex: 0 0 7.5%;
    min-width: 7.5%;
  }

   /* Ensure proper spacing at the end */
  .services-section::after {
    content: '';
    flex: 0 0 7.5%;
    min-width: 7.5%;
  }
}

/* Hide mobile-only elements on desktop */
.mobile-only {
  display: none;
}

/* Show mobile-only elements on mobile */
@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }
  
  /* Optional: Hide the CTA button in mobile view if needed */
  .header .cta-button {
    display: none;
  }
}

/* ========== MOBILE FOOTER QUICK LINKS HORIZONTAL ========== */
@media (max-width: 768px) {
  .footer-quick-links ul {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 15px 30px;
    justify-content: flex-start;
  }
  
  .footer-quick-links li {
    list-style-type: none;
    margin-right: 20px;
    position: relative;
  }
  
  /* Optional: Add separators between links */
  .footer-quick-links li:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -18px;
    top: 0;
    color: rgba(255, 255, 255, 0.3);
  }
}

@media (max-width: 576px) {
  .footer-quick-links ul {
    gap: 15px 20px;
  }
  
  .footer-quick-links li {
    margin-right: 15px;
  }
  
  .footer-quick-links li:not(:last-child)::after {
    right: -15px;
  }
}

@media (max-width: 480px) {
  .footer-quick-links ul {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 12px 15px;
  }
  
  .footer-quick-links li {
    margin-right: 10px;
    font-size: 14px;
  }
  
  .footer-quick-links li:not(:last-child)::after {
    right: -12px;
  }
}

/* Center copyright text on all devices */
.footer-copyright {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  width: 100%;
}

/* Reduce gap between quick links and copyright on mobile */
@media (max-width: 768px) {
  .footer-content {
    margin-bottom: 30px; /* Reduced from 60px */
  }
  
  .footer-copyright {
    margin-top: 20px; /* Added to control spacing */
    padding-top: 15px; /* Reduced padding */
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .footer-copyright {
    margin-top: 15px;
    padding-top: 12px;
    font-size: 12px;
  }
}

/* === FINAL OVERRIDES: Mobile Service Cards slider — start at first card === */
@media (max-width: 768px) {
  .services-section {
    overflow-x: auto !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .services-section::-webkit-scrollbar { display: none; }

  .service-card {
    flex: 0 0 calc(100% - 32px) !important;
    min-width: calc(100% - 32px) !important;
    margin: 0 !important;
    scroll-snap-align: start !important;
  }

  /* Remove any pseudo padding that could push us to card #2 */
  .services-section::before,
  .services-section::after {
    content: none !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
  }
}


/* Mobile View - Swipeable Service Cards */
@media (max-width: 768px) {
  .services-section {
    display: flex;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding: 20px 0;
  }

  .service-card {
    flex: 0 0 90%; /* Each card takes 90% width */
    scroll-snap-align: center;
    max-width: 90%;
    min-width: 90%;
    margin: 0 auto; /* Center the card */
    box-sizing: border-box;
  }

  /* Hide scrollbar */
  .services-section::-webkit-scrollbar {
    display: none;
  }
  .services-section {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }

  /* Make content fit well */
  .service-card-content {
    padding: 25px 20px;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }

  .service-icon img {
    width: 32px;
    height: 32px;
  }

  .service-card h3 {
    font-size: 20px;
  }

  .service-card p {
    font-size: 14px;
    line-height: 1.6;
  }

  .learn-more {
    font-size: 15px;
    padding: 10px 20px;
  }
}

/* ===== Service Cards - Mobile & Very Small Devices ===== */
@media (max-width: 768px) {
  .services-section {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 20px 16px;
    margin: 0;
  }

  .service-card {
    flex: 0 0 calc(100% - 32px);
    min-width: calc(100% - 32px);
    scroll-snap-align: center;
    margin: 0;
    border-radius: 12px;
    background: var(--text-light);
    box-shadow: 0 8px 25px rgba(11, 46, 101, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .service-card-content {
    padding: 25px 20px;
    text-align: left;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    background: rgba(11, 46, 101, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .service-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
  }

  .service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary-color);
  }

  .service-card p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
  }

  .learn-more {
    font-size: 15px;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
  }

  .learn-more:hover {
    background: var(--primary-color);
    color: var(--text-light);
  }

  /* Hide scrollbar for clean look */
  .services-section::-webkit-scrollbar {
    display: none;
  }
  .services-section {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

/* ===== Very Small Devices (≤480px) ===== */
@media (max-width: 480px) {
  .services-section {
    padding: 16px 12px;
    gap: 12px;
  }

  .service-card {
    flex: 0 0 calc(100% - 24px);
    min-width: calc(100% - 24px);
    border-radius: 10px;
  }

  .service-card-content {
    padding: 20px 16px;
  }

  .service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
  }

  .service-icon img {
    width: 28px;
    height: 28px;
  }

  .service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .service-card p {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .learn-more {
    font-size: 14px;
    padding: 8px 16px;
  }
}

/* ===== EXTRA SMALL DEVICES (≤360px) ===== */
@media (max-width: 360px) {
  .footer {
    padding: 25px 12px 15px;
  }
  
  /* Tighten footer spacing and prevent overflow */
  .footer-content {
    padding: 0 8px;
    gap: 20px;
  }
  
  /* Mobile footer layout adjustments */
  .mobile-footer-layout {
    padding: 0 8px;
  }
  
  .mobile-footer-top {
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
  }
  
  .mobile-quick-links,
  .mobile-right-section {
    width: 50%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-self: stretch;
  }

  .mobile-quick-links {
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: none;
    padding-right: 10px;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .mobile-right-section {
    padding-left: 10px;
    gap: 10px;
  }
  
  /* Quick links styling */
  .mobile-quick-links h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }
  
  .mobile-quick-links ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .mobile-quick-links li {
    margin-right: 0;
  }
  
  .mobile-quick-links li a {
    font-size: 13px;
    padding: 4px 0;
  }
  
  /* Right section adjustments */
  .mobile-right-section {
    width: 100%;
    gap: 15px;
  }
  
  .mobile-follow-us h3,
  .mobile-contact-item h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }
  
  .mobile-social-icons {
    gap: 12px;
    margin-bottom: 5px;
  }
  
  .mobile-social-icons a {
    font-size: 16px;
  }
  
  .mobile-contact-detail {
    font-size: 13px;
  }
  
  .mobile-contact-detail i {
    font-size: 13px;
  }
  
  /* Address section */
  .mobile-addresses {
    margin-top: 15px;
  }
  
  .mobile-addresses .contact-item {
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.4;
    align-items: flex-start;
  }
  
  .mobile-addresses .contact-item i {
    font-size: 12px;
    margin-top: 3px;
    min-width: 12px;
  }
  
  /* Ensure long address lines wrap cleanly */
  .mobile-addresses .contact-item span {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  
  /* Copyright section */
  .footer-copyright {
    margin-top: 15px;
    padding-top: 12px;
    font-size: 11px;
    line-height: 1.4;
  }
  
  .footer-copyright a {
    font-size: 11px;
    margin: 0 3px;
  }
  
  /* Logo and company name adjustments */
  .mobile-logo-brand {
    margin-bottom: 15px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  .mobile-logo {
    width: 65px;
    margin: 0 auto;
  }
  
  .mobile-company-name-main {
    font-size: 14px;
  }
  
  .mobile-company-name-sub {
    font-size: 12px;
  }
}

/* Additional adjustments for very small heights */
@media (max-width: 360px) and (max-height: 640px) {
  .footer {
    padding: 20px 12px 12px;
  }
  
  .mobile-addresses .contact-item {
    margin-bottom: 8px;
    font-size: 11px;
  }
}

/* ===== SWIPE INDICATOR FOR MOBILE SERVICE CARDS ===== */
@media (max-width: 768px) {
  .services-section {
    position: relative;
    padding-top: 40px; /* Add space for the indicator */
  }
  
  .swipe-indicator {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--primary-color);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  
  .swipe-indicator i {
    animation: swipeHint 1.5s infinite;
  }
  
  @keyframes swipeHint {
    0%, 100% {
      transform: translateX(0);
      opacity: 0.8;
    }
    50% {
      transform: translateX(10px);
      opacity: 1;
    }
  }
  
  /* Hide indicator after first interaction */
  .services-section.interacted .swipe-indicator {
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
  }
}

/* ===== SWIPE INDICATOR FOR MOBILE SERVICE CARDS ===== */
/* Hide by default (for desktop) */
.swipe-indicator {
  display: none;
}

/* Show only on mobile */
@media (max-width: 768px) {
  .services-section {
    position: relative;
    padding-top: 40px; /* Add space for the indicator */
  }
  
  .swipe-indicator {
    display: flex;
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--primary-color);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.8;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  
  .swipe-indicator i {
    animation: swipeHint 1.5s infinite;
  }
  
  @keyframes swipeHint {
    0%, 100% {
      transform: translateX(0);
      opacity: 0.8;
    }
    50% {
      transform: translateX(10px);
      opacity: 1;
    }
  }
  
  /* Hide indicator after first interaction */
  .services-section.interacted .swipe-indicator {
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
  }
}

