/* Base Styles */
body {
  font-family: "Arial", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
}

.section {
  padding: 20px;
}

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

.section-title {
  margin-bottom: 15px;
}

.blue {
  color: #007bff;
}
.green {
  color: #a72890;
  text-align: center;
}
.red {
  color: #dc3545;
}
.bg-light {
  background-color: #f0f0f0;
}

/* .about-description {
  background-color: #f0f4f8;
  padding: 32px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 900px;
  margin: 40px auto;
  font-family: 'Segoe UI', sans-serif;
} */

.bg-light p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  text-align: justify;
}

@media (max-width: 768px) {
  .bg-light {
    padding: 24px 16px;
    margin: 24px 12px;
  }

  .bg-light p {
    font-size: 1rem;
  }
}

/* Sticky Header */
/* .header {
  background-color: #005f73;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
} */

/* Header Layout */
/* .header-content {
  display: fixed;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 8px 0;
} */

/* Logo & Branding -update */
/* Compact Header */
.header {
  /* background-color: #005f73; */
  background-color: cadetblue;
  color: rgb(0, 0, 0);
  padding: 8px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

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

/* .logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  background: transparent;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  margin-right: 1rem;
} */

.logo-wrapper {
  background-color: transparent;
  padding: 5px;
  /* border-radius: 50%; */
  /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); */
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  width: auto;
  height: 48px;
  object-fit: contain;
  /* border-radius: 50%; */
}

/* Makes a black logo white */
/* .logo {
  filter: brightness(0) invert(1); 
}
 */

.brand-text h1 {
  font-size: 1.9em;
  margin: 0;
  color: white;
}

.desig {
  color: goldenrod; /* #ffd700; Purple */
}

.metric {
  color: purple; /* #6a1b9a; Gold */
}

.tagline {
  font-size: 0.9em;
  color: #e0f7fa;
  margin-top: 2px;
  font-style: italic;
}

.tagline:hover {
  color: purple;
}
/* Navigation */
.nav-list {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  font-size: 0.95em;
}

.nav-list li a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #6a1b9a;
  transition: width 0.3s ease;
}

.nav-list li a:hover {
  color: #ffd700;
}
.nav-list a:hover::after {
  width: 100%;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: center;
  }

  .nav-list {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .brand-text h1 {
    font-size: 1.5em;
    text-align: center;
  }

  .tagline {
    text-align: center;
  }
}

/* Navigation */
.main-nav {
  animation: fadeIn 1.5s ease;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 9px;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  padding: 5px 0;
}

.nav-list a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #ee6c4d;
  transition: width 0.3s ease;
}

.nav-list a:hover::after {
  width: 100%;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: center;
  }

  .nav-list {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .brand-text h1 {
    font-size: 1.5em;
    text-align: center;
  }

  .tagline {
    text-align: center;
  }
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* hero-update */

.hero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: background-image 1s ease-in-out;
}

.hero-content {
  position: relative;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  animation: fadeIn 2s ease-in-out;
}

/* Button */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #ee6c4d;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #d64b2a;
}

/* Footer */
.footer {
  background-color: #005f73;
  color: white;
  text-align: center;
}

/* Services Grid - update */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.service-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 15px;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  background-color: #e3f2fd;
}

.service-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.service-card h4 {
  font-size: 1em;
  color: #007bff;
  margin: 0;
}

/* Media Section -updated */
.media-section {
  background-color: #f9f9f9;
  padding: 40px 20px;
  text-align: center;
}

.media-lead {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-content: center;
}

.media-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 15px;
  transition: transform 0.3s ease;
}

.media-card:hover {
  transform: translateY(-5px);
  background-color: #e0f7fa;
}

.media-card h4 {
  margin-top: 15px;
  font-size: 1em;
  color: #007bff;
}

.media-video iframe {
  width: 100%;
  height: 200px;
  border-radius: 8px;
}

.media-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

/* Media Grid */

.media-card {
  flex: 1 1 250px;
  text-align: center;
}

.media-card img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .header-content,
  .nav-list {
    flex-direction: column;
    align-items: center;
  }

  .grid-list {
    grid-template-columns: 1fr;
  }

  .media-grid {
    flex-direction: column;
  }
}

/* Contact Section */
.contact-section {
  background-color: #fff;
  text-align: center;
}

.contact-lead {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 32px;

  /* justify-content: center; */
}

.contact-card {
  background-color: #f0f4f8;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
}

/* .contact-card {
  display: flex;
  align-items: center;
  background-color: #f0f4f8;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 500px;
  margin: 20px auto;
}

.contact-card:hover {
  transform: translateY(-5px);
  background-color: #e3f2fd;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
} */

.contact-card p {
  font-size: 0.95em;
  color: #333;
}

.icon-wrapper {
  flex-shrink: 0;
  margin-right: 16px;
}

.icon-wrapper img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.call-link {
  color: #007bff;
  font-weight: bold;
}

.call-link:hover {
  text-decoration: underline;
}

.contact-info h4 {
  margin: 0;
  font-size: 1.2rem;
  color: #005f73;
}

.contact-info p {
  word-break: break-word;
  overflow-wrap: anywhere;
  margin: 4px 0 0;
  font-size: 1rem;
  color: #333;
}

.contact-info a {
  display: inline-block;
  max-width: 100%;
  color: #007a8c;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
}
.contact-lead {
  font-size: 1.2em;
  font-weight: 500;
  color: #333;
  line-height: 1.6;
  background: linear-gradient(to right, #e0f7fa, #f9f9f9);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.contact-lead:hover {
  transform: translateY(-3px);
}

.contact-lead .highlight {
  color: #007bff;
  font-weight: bold;
  text-decoration: underline;
}

/* Client Section */
.client-section {
  background-color: #e0f7fa;
  padding: 40px 20px;
  text-align: center;
}

.client-lead {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555;
}

/* Carousel Container */
.client-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.client-track {
  display: flex;
  gap: 40px;
  animation: scrollClients 20s linear infinite;
}

.client-track img {
  height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.client-track img:hover {
  filter: grayscale(0%);
}

/* Animation */
@keyframes scrollClients {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Responsive */
@media screen and (max-width: 768px) {
  .client-track {
    gap: 20px;
  }

  .client-track img {
    height: 40px;
  }
}

html {
  scroll-behavior: smooth;
}

#services,
#clients,
#media-links,
#about,
#contact {
  scroll-margin-top: 100px; /* Adjust based on your header height */
}

.whatsapp-button {
  display: inline-block;
  background-color: #25d366;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.whatsapp-button:hover {
  background-color: #1ebe5d;
}

#services,
#clients,
#media-links,
#about,
#contact {
  scroll-margin-top: 80px;
}

@media (max-width: 768px) {
  #services,
  #clients,
  #media-links,
  #about,
  #contact {
    scroll-margin-top: 100px; /* If mobile header is taller */
  }
}
