@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* Prevents padding from causing overflow */
}

html {
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 100%;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  min-height: 100vh;
  background-color: #ffffff;
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  padding-top: 139px !important;
  /* 124px header + 15px gap */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Slider Settings */
/* Premium Hero Slider */
.hero-slider {
  width: 100%;
  height: 700px;
  position: relative;
  overflow: hidden;
  background-color: #000;
}

.hero-slider .slider-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-slider .slide.active {
  opacity: 1;
  z-index: 10;
}

.hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  bottom: 100px;
  left: 0;
  width: 100%;
  padding: 40px;
  color: #333;
  text-align: center;
  z-index: 20;
}

.slide-content h2 {
  font-size: 3rem !important;
  color: #065392 !important;
  /* Brand Blue */
  margin-bottom: 10px !important;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.slide-content p {
  font-size: 1.2rem !important;
  max-width: 800px;
  margin: 0 auto !important;
  line-height: 1.6 !important;
  color: #555555 !important;
}

.slider-container {
  display: block;
}

.slider-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  background: transparent !important;
  border: none !important;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
}

.slide.active {
  opacity: 1 !important;
  /* Slide becomes visible */
  position: relative;
}

.slide img,
.slider-wrapper img,
.slider-container img,
.wide-banner-container img,
.service-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background-color: #ffffff !important;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scaleX(0.6);
  /* Narrower triangles as requested */
  background: transparent;
  color: #fff;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 10;
  font-size: 40px;
  line-height: 1;
  opacity: 0.8;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.slider-btn:hover {
  opacity: 1;
}

.prev-btn,
.next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: rgba(6, 83, 146, 0.5);
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 1010;
  font-size: 40px;
  transition: all 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
  color: #065392;
  transform: translateY(-50%) scale(1.2);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}


/* Navbar & Header Consolidated Block */
.sticky-header-wrapper {
  width: 100%;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1005;
  box-shadow: none;
}

header {
  width: 100%;
  text-align: center;
  padding: 9px 0 0 0;
  height: 78px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-bottom: 1px solid #cccccc;
}

header img {
  width: 100% !important;
  max-width: 369px !important;
  height: auto;
  max-height: 75px;
  display: block;
}

.nav-container {
  display: flex !important;
  position: relative !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  width: 100%;
  background-color: #065392;
  padding: 0;
  height: 45px !important;
  border-bottom: none;
  gap: 5px;
}

/* Navbar Buttons & Dropdown Container */
.nav-container .nav-item {
  background-color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  text-align: center;
  font-weight: 700;
  padding: 0 15px;
  min-width: 140px;
  max-width: 220px;
  width: auto !important;
  height: 38px !important;
  margin: 0 !important;
  border-radius: 50px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(6, 83, 146, 0.1);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 1 auto;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  /* position: relative; REMOVED TO ALLOW DROPDOWN TO CENTER TO CONTAINER */
  cursor: pointer;
}

.nav-container .nav-item a {
  text-decoration: none;
  color: rgb(6, 83, 146);
  font-weight: 700;
  display: block;
  width: 100%;
  line-height: 38px;
}

.nav-container .nav-item.active {
  background-color: #ffffff !important;
  border-color: rgba(6, 83, 146, 0.2) !important;
}

.nav-container .nav-item.active>a {
  color: #065392 !important;
}

/* Dropdown Menu Styles - Wide & Multi-column */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background-color: #ffffff;
  min-width: 700px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 1010;
  border-radius: 0 0 12px 12px;
  padding: 15px;
  border: 1px solid #e2e8f0;
  /* margin-top: 5px; REMOVED TO PREVENT HOVER FLICKER */
  column-count: 3;
  column-gap: 20px;
}

.nav-container .nav-item:hover,
.nav-container .nav-item.show {
  background-color: #ffd800 !important;
  /* Premium Yellow */
  border-color: #ffd800 !important;
}

.nav-container .nav-item:hover>a,
.nav-container .nav-item.show>a {
  color: #065392 !important;
  /* Brand Blue text on Yellow */
}

.nav-container .nav-item.show .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  color: #065392 !important;
  padding: 8px 15px !important;
  display: block !important;
  font-size: 13px !important;
  text-decoration: none !important;
  text-align: left !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
  break-inside: avoid;
}

.dropdown-menu a:hover {
  background-color: #065392 !important;
  color: #ffffff !important;
  border-radius: 4px;
}

/* Mobile & Tablet Overrides */
@media screen and (max-width: 768px) {
  .nav-container .nav-item {
    height: 34px !important;
    min-width: 108px !important;
    width: 108px !important;
    font-size: 12px !important;
    padding: 0 8px !important;
  }

  .nav-container .nav-item a {
    line-height: 34px !important;
  }

  .dropdown-menu {
    position: fixed;
    top: 130px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    transform: none;
    border-radius: 0;
    column-count: 1;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 1024px) {
  header img {
    width: 333px !important;
  }
}

img {
  max-width: 100%;
  width: auto;
  margin: 0 auto;
  display: block;
}

/* WhatsApp CTA Button */
.whatsapp-cta-btn {
  background-color: #25D366;
  color: #ffffff;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  border: 1px solid #1ebe57;
}

.whatsapp-cta-btn:hover {
  background-color: #128c7e;
  text-decoration: none;
  color: #ffffff;
}

/* Scrolling Service Item Boxes */
.container p {
  background-color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 500;
  width: 190px;
  height: auto;
  min-height: 45px;
  padding: 5px 10px;
  margin: 0;
  border-radius: 50px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(6, 83, 146, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  white-space: normal;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
}

.new-badge {
  position: absolute;
  top: -8px;
  right: -5px;
  background-color: #ff0000;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  padding: 3px 7px;
  border-radius: 20px;
  text-transform: uppercase;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 10;
  line-height: 1;
  border: 1.5px solid #ffffff;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

/* Hover Effect for Bubbles */
.container p:not(.active):hover,
.footer-scroll p:not(.active):hover {
  background-color: #ffd800;
  border-color: #ffd800;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Moved to line 34 unified block */

/* Base Paragraph Reset */
p {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  width: auto;
  height: auto;
  display: block;
}

/* Scoped Selections for Bubbles */
.container p a {
  text-decoration: none !important;
  color: inherit;
  font-weight: inherit;
  display: block;
  width: 100%;
}

/* Moved to line 34 unified block */

/* Horizontal Single-Row Container */
.container {
  display: flex;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 3px;
  /* Set gap to 3px as requested */
  margin: 0 0 3px 0;
  /* 0 top, 3px bottom */
  padding: 3px 20px;
  width: 100%;
  max-width: 100vw;
  scroll-padding: 0 40vw;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
}

.container:active,
.container.grabbing {
  cursor: grabbing;
}

/* Footer-specific scrolling bar (Blue Top) */
.footer-scroll {
  display: flex;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 3px;
  background-color: #065392 !important;
  margin: 0 !important;
  padding: 10px 20px !important;
  height: 65px !important;
  /* Strict height control: 10+45+10 = 65px including border if any */
  border-bottom: none;
  scrollbar-width: none;
  scroll-padding: 0 40vw;
  scroll-snap-type: x proximity;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
}

.footer-scroll::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

.footer-scroll:active,
.footer-scroll.grabbing {
  cursor: grabbing;
}

.footer-scroll p.active {
  background-color: #ffd800 !important;
  border-color: #ffd800 !important;
}

.footer-scroll p.active a {
  color: #065392 !important;
}

.footer-scroll p a {
  color: #065392 !important;
  transition: color 0.2s ease;
}

.container p:not(.active):hover a,
.footer-scroll p:not(.active):hover a {
  color: #065392 !important;
}


.container::-webkit-scrollbar {
  height: 6px;
}

.container::-webkit-scrollbar-thumb {
  background-color: #ffd800;
  border-radius: 10px;
}

/* Deleted duplicate nav blocks */



/* Typography Consistency */
h1,
h2,
h3,
font {
  font-weight: 600 !important;
  font-family: 'Roboto', sans-serif;
  text-align: center;
}

h1 {
  font-size: 2rem !important;
  margin-top: 10px !important;
  font-weight: 700 !important;
  color: #065392;
  font-family: 'Roboto', sans-serif;
  /* Dictionary size: 32px */
}

h2,
h3 {
  font-size: 1.5rem !important;
  /* 24px */
}

h2 {
  margin: 3px 0 0 0;
  /* Only top margin */
}

/* Service Grid (Home Page) */
.premium-services-title {
  text-align: center;
  margin: 0 auto 20px auto !important;
  padding: 0 !important;
  font-size: 2rem !important;
  color: #065392;
  font-weight: 700 !important;
  font-family: 'Roboto', sans-serif;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1280px;
  width: 95%;
  margin: 0 auto 20px auto !important;
}

@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns on tablets */
  }
}

@media (max-width: 600px) {
  .service-grid {
    grid-template-columns: 1fr;
    /* 1 column on mobile */
  }

  header img {
    width: 100% !important;
    max-width: 306px !important;
  }
}

/* Service Card Polish */
.service-card {
  background: white;
  border-radius: 12px;
  padding: 0 !important;
  box-shadow: none;
  text-align: center;
  border: 5px solid #e6e6e6;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  height: 339.78px !important;
  overflow: hidden;
  margin-top: 0 !important;
  /* Reset to allow title margin to control the gap */
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #e6e6e6;
  box-shadow: none;
}

.service-card h3 {
  color: #065392;
  margin-top: auto !important;
  /* Pushes text block to the bottom */
  margin-bottom: 0 !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  padding: 0 20px;
}

.service-card p {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #475569;
  line-height: 1.2;
  margin-bottom: 0 !important;
  font-weight: 500;
  padding: 0 20px;
  height: 3.6em;
  /* Exactly 3 lines (3 * 1.2) */
  overflow: hidden;
  /* No extra lines possible */
}

.service-card a {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  color: #065392;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
  padding: 0 20px 11px 20px;
  /* Reduced from 20px to move text down by 9px */
  margin-top: 5px;
}

.service-card a:hover {
  color: #042d50;
  text-decoration: underline;
}

.service-icon {
  display: block;
  margin: 18px auto 0 auto;
  width: calc(100% - 36px);
  border-radius: 8px;
}

/* Latest Offer Section */
.latest-offer {
  max-width: 1280px;
  width: 95%;
  margin: 20px auto;
  /* Restored Centering */
  background: linear-gradient(135deg, #065392 0%, #043e6f 100%);
  color: white;
  padding: 15px 25px;
  /* Reverted to standard padding */
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(6, 83, 146, 0.2);
}



#offer-text {
  font-weight: 500;
  white-space: normal;
  /* Allow wrap if needed */
  line-height: 1.4;
}

.latest-offer h4 {
  background: #ffd800;
  color: #065392;
  padding: 5px 15px;
  border-radius: 5px;
  font-weight: 700 !important;
  margin: 0;
  font-size: 16px !important;
}

/* Footer Container Columns Refinement - Card Based */
.footer-container {
  max-width: 1280px;
  width: 95%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  /* Equal spacing between all boxes */
  align-items: center;
  /* Center horizontally/vertically for balanced height */
  padding: 15px 20px 10px 20px;
}

.footer-column {
  background: #ffffff;
  padding: 10px !important;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #065392;
  width: auto;
  min-width: 300px;
  max-width: 400px;
  flex: 1 1 300px;
  min-height: 185px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-column:first-child {
  margin-left: 15px !important;
}

.footer-column:last-child {
  margin-right: 15px !important;
}


.footer-column.map-container {
  padding: 5px !important;
}

.footer-column.brand-card {
  background: #ffd800 !important;
  color: #065392 !important;
}


.footer-column.brand-card p {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: 100% !important;
  height: auto !important;
  padding: 0 !important;
  margin: 1px 0 !important;
  border-radius: 0 !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  color: #065392 !important;
  line-height: 1.3 !important;
}

.footer-column.brand-card p.footer-address {
  margin: 0 !important;
  font-weight: 400 !important;
}


.footer-column.brand-card img {
  max-width: 190px !important;
  margin-top: 5px !important;
  margin-bottom: 2px !important;
}

.footer-phone-btn {
  background: #065392;
  color: #ffd800 !important;
  padding: 5px 15px;
  font-size: 14px;
  margin-top: 0;
  transition: all 0.3s ease;
  display: block;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  width: auto;
}

.footer-phone-btn:hover {
  background: #042d50;
  transform: scale(1.05);
}


.footer-column p {
  color: #334155;
  line-height: 1.3;
  text-align: center;
  width: 100%;
  font-size: 11.5px;
}

.whatsapp-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.whatsapp-form input,
.whatsapp-form textarea {
  padding: 6px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  text-align: center;
  font-family: inherit;
  font-size: 11.5px;
  width: 100%;
  background: #f8fafc;
}

.whatsapp-form textarea {
  resize: none;
  height: 45px;
  /* Balanced height for 185px box */
  text-align: left;
  padding: 5px 8px;
}

.whatsapp-form button {
  background: #25D366;
  color: white;
  border: none;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 11.5px;
  transition: all 0.3s;
  margin-top: 2px;
}

.whatsapp-form button:hover {
  background: #128C7E;
  transform: scale(1.02);
}

.map-container iframe {
  width: 100%;
  height: 175px;
  /* Fixed height to fill the container balanced with other boxes */
  border: 0;
  border-radius: 8px;
  margin: 0;
}

/* Footer & Footer Group */
.footer-group,
.marquee-group {
  width: 100%;
  background: #000;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.footer {
  font-family: AvantGarde MD BT, sans-serif;
  width: 100%;
  height: auto;
  background-color: #065392;
  color: #ffffff;
  text-align: center;
  padding: 0;
  margin-top: auto;
  border-top: 5px solid #ffd800;
}

.copyright-bar {
  background: #042d50;
  /* Darker blue bar */
  text-align: center;
  padding: 15px;
  width: 100%;
  font-size: 13px;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}



@media (max-width: 768px) {

  .wide-banner-container,
  .service-header,
  .service-hero-image,
  .service-bottom-images,
  .premium-services-title,
  .service-grid,
  .latest-offer {
    width: 100% !important;
    padding: 15px 5px !important;
    flex-direction: column !important;
    gap: 15px !important;
    text-align: center !important;
  }

  .latest-offer-content {
    flex-direction: column !important;
    gap: 10px !important;
  }

  #offer-text {
    font-size: 14px !important;
  }

  .latest-offer h4 {
    font-size: 11px !important;
    padding: 0 10px !important;
    height: 24px !important;
    border-radius: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Mobile Footer Centering */
  .footer-column:first-of-type,
  .footer-column:last-of-type {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 768px) {
  .footer-container {
    padding: 20px 10px !important;
    /* Reduced height: Equal top/bottom padding (20px) for mobile */
    /* Reduced horizontal padding for mobile */
    gap: 15px !important;
    width: 100% !important;
  }

  .footer-column {
    margin-bottom: 15px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    /* Force flexible width on mobile */
    max-width: 320px !important;
    min-width: unset !important;
    align-items: center !important;
    min-height: 185px !important;
  }
}

/* End of Mobile Specific Footer Styles */

/* Global Service Header Styles */

.service-header {
  max-width: 100%;
  margin: 20px auto 0 auto !important;
  /* 20px gap at the very top of content */
  padding: 0;
  text-align: center;
}

.service-header h1 {
  color: #065392;
  font-size: 2rem !important;
  /* Standardized to 32px for hierarchy */
  margin: 0;
  padding: 0;
  font-weight: 700 !important;
  line-height: 1.2;
  font-family: 'Roboto', sans-serif !important;
  text-align: center !important;
}

.service-description {
  color: #475569 !important;
  font-size: 1rem !important;
  line-height: 1.6;
  width: 95% !important;
  max-width: 1250px;
  margin: 10px auto 15px !important;
  padding: 0;
  font-weight: 400 !important;
  font-family: 'Roboto', sans-serif !important;
  text-align: center !important;
  display: block !important;
}

.service-hero-image {
  width: 100%;
  max-width: 1250px;
  margin: 20px auto 10px auto !important;
  /* 20px gap above image */
  padding: 0;
  display: block;
}

.service-hero-image img {
  width: 100%;
  max-width: 1250px;
  height: auto;
  min-height: 250px;
  max-height: 550px;
  object-fit: cover;
  border-radius: 0;
  display: block;
  border: 5px solid #e6e6e6;
  background-color: #ffffff !important;
}

.service-bottom-images {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  gap: 10px;
  width: 95% !important;
  max-width: 1280px !important;
  margin: 0 auto 20px auto !important;
  /* 20px gap below image group */
  padding: 0;
}

@media (max-width: 768px) {
  .service-hero-image {
    margin-bottom: 5px !important;
    /* Mobile: 5px Vertical Gap */
  }

  .service-bottom-images {
    flex-direction: column;
    align-items: center;
    gap: 5px !important;
    /* Mobile: 5px Horizontal Gap between stacked images */
    margin-top: 0 !important;
  }

  .service-hero-image img {
    margin-bottom: 0 !important;
  }
}

.bottom-image-box {
  width: 100%;
  max-width: 620px;
  flex: 1;
  margin: 0;
  padding: 0;
}


.bottom-image-box img {
  width: 100%;
  max-width: 620px;
  height: auto;
  /* min-height: 200px; Remove or lower min-height to allow ratio to work if width shrinks */
  max-height: 275px;
  /* Cap at calculated height for 620px width (620 / 2.27 = ~273px) */
  aspect-ratio: 1250 / 550;
  /* Exact ratio of the big image */
  object-fit: cover;
  border-radius: 0;
  display: block;
  border: 5px solid #e6e6e6;
}

@media (max-width: 768px) {
  .service-header h1 {
    font-size: 2rem;
  }

  .service-description {
    font-size: 1rem;
  }

  .service-hero-image img {
    height: 300px;
  }

  .service-bottom-images {
    flex-direction: column;
  }

  .bottom-image-box {
    width: 100% !important;
    /* Force full width on mobile */
    max-width: 100% !important;
  }

  /* Force Mobile Responsiveness with Correct Ratio */
  .bottom-image-box img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
  }

  .service-hero-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
    margin: 0 auto !important;
    display: block !important;
  }
}

@media (max-width: 768px) {
  .footer-container {
    padding: 20px 0 !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .footer-column {
    margin-bottom: 15px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    min-height: 185px !important;
    border-radius: 0 !important;
  }
}

/* Image Swap Transition */
.service-hero-image img {
  transition: opacity 0.3s ease-in-out;
}


/* Body Content Layout - Max Width 1280px */
.footer-group {
  width: 100%;
}

.service-header,
.service-hero-image,
.premium-services-title {
  width: 95% !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
  background-color: #ffffff;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

/* Wide Banner Specifics (Shared Settings) */
.wide-banner-container img {
  width: 100%;
  max-width: none !important;
  height: 250px;
  object-fit: cover;
  /* Correct look: Crop instead of Stretch */
  object-position: center;
  display: block;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  border-radius: 0 !important;
}


.service-card img.service-icon {
  width: 100% !important;
  max-width: none !important;
  min-width: 100% !important;
  height: 215px !important;
  /* Fixed height for cards */
  object-fit: cover;
  /* Fixed: Use cover instead of fill to prevent stretching */
  object-position: center;
  border-radius: 0;
  /* Removing radius for full-bleed look */
  margin: 0 !important;
  /* Removed all margins */
  background-color: #9acd32 !important;
  /* Restored Parrot Green color fill as requested */
  display: block;
}


.service-hero-image img {
  width: 100%;
  max-width: none !important;
  max-height: 550px;
  aspect-ratio: 1250 / 550;
  object-fit: cover;
  object-position: center;
  border-radius: 0 !important;
}

.bottom-image-box img {
  width: 100%;
  height: auto;
  /* Allow height to be determined by width + aspect-ratio */
  aspect-ratio: 1250 / 550;
  /* Enforce ratio */
  object-fit: cover;
  object-position: center;
  border-radius: 0 !important;
}

/* Dedicated SEO Section Styling */
.seo-section {
  width: 100%;
  background-color: #f8fafc;
  padding: 40px 20px;
  border-top: 1px solid #e2e8f0;
}

.seo-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.seo-container h3 {
  color: #065392;
  margin-bottom: 20px !important;
  font-size: 1.5rem !important;
}

.seo-container p {
  color: #475569;
  font-size: 1rem !important;
  line-height: 1.8 !important;
  max-width: 900px;
  margin: 0 auto !important;
}

.seo-container p a {
  color: #065392;
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(6, 83, 146, 0.2);
  transition: all 0.3s ease;
}

.seo-container p a:hover {
  color: #ffd800;
  border-bottom-color: #ffd800;
}

@media screen and (max-width: 768px) {
  .seo-section {
    padding: 30px 0;
  }

  .seo-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px;
  }

  .seo-container p {
    font-size: 14px !important;
    text-align: justify;
  }
}

/* SEO Footer Section */
.seo-footer {
  width: 100%;
  background: #000000;
  padding: 30px 0 20px 0;
  border-top: none;
  margin-top: auto !important;
}

.seo-footer-content {
  width: 100%;
  max-width: 100% !important;
  margin: 0 auto;
  text-align: center;
  padding: 0 15px;
}

.seo-footer h3 {
  color: #ffd800;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  margin: 5px 0 10px 0;
  font-family: 'Roboto', sans-serif;
}

.seo-footer h3:first-of-type {
  margin-top: 0 !important;
}

.seo-footer p {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 10px 0;
  font-weight: 400;
  text-align: center;
}

.seo-footer-contact {
  margin-top: 20px !important;
  margin-bottom: 5px !important;
  font-size: 14px !important;
  color: #ffffff !important;
}

.seo-footer {
  padding: 30px 0 20px 0;
}

@media screen and (max-width: 768px) {
  .seo-footer {
    padding: 20px 0;
  }

  .seo-footer h3 {
    font-size: 1.1rem !important;
  }

  .seo-footer p {
    font-size: 12px;
  }
}

/* SEO Footer Links Styling - Consolidated Fix */
.seo-footer a,
.seo-footer a:visited,
.seo-footer a:active {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
  border-bottom: none !important;
}

.seo-footer a:hover,
.seo-footer a:focus {
  color: #ffd800 !important;
  text-decoration: none !important;
  background: transparent !important;
}

@media screen and (max-width: 768px) {
  /* Removed hero section media queries */
}

/* Service Page Specific Layout (1080x459 Slider + Bottom Text) */
.service-slider-wrapper {
  width: 100%;
  max-width: 1250px;
  height: 505px;
  margin: 45px auto 30px !important;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background-color: #f8fafc;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.service-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.service-slide.active {
  opacity: 1;
  position: relative;
}

.service-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background-color: #ffffff;
}

.service-details {
  max-width: 1250px;
  margin: 0 auto 60px;
  text-align: center;
  padding: 0 20px;
}

.service-details h1 {
  font-size: 42px !important;
  font-weight: 800 !important;
  margin-bottom: 25px !important;
  color: #065392;
  text-align: center;
}

.service-details p {
  font-size: 18px !important;
  line-height: 1.8 !important;
  color: #475569 !important;
  max-width: 1250px;
  margin: 0 auto 30px !important;
  text-align: center;
}

.service-details p strong {
  color: #065392;
  font-weight: 700;
}

.service-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  padding: 15px;
  cursor: pointer;
  z-index: 10;
  font-size: 24px;
  border-radius: 50%;
  transition: background 0.3s;
}

.service-slider-btn:hover {
  background: rgba(0, 0, 0, 0.6);
}

.service-prev {
  left: 20px;
}

.service-next {
  right: 20px;
}

@media (max-width: 1290px) {
  .service-slider-wrapper {
    width: calc(100% - 40px);
    height: auto;
    aspect-ratio: 1250 / 505;
  }
}

@media (max-width: 768px) {
  .service-details h1 {
    font-size: 28px !important;
  }
}

/* Service Page Specific Content (Text only) */
.service-content-wrapper {
  width: 100%;
  max-width: 1250px;
  margin: 20px auto 40px;
  /* Reduced since body-padding handles the header space */
  padding: 0 15px;
}

.service-main-section {
  display: block;
  /* Changed from flex to block for full-width text */
  margin-bottom: 40px;
  background: #ffffff;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(6, 83, 146, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  /* blueish shadow for depth */
}

.service-image-side {
  display: none !important;
  /* Force hide the redundant image side */
}

.service-text-side {
  width: 100% !important;
  text-align: center;
}

.service-image-side img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  display: block;
}

.service-text-side {
  flex: 1.5;
}

.service-text-side h1 {
  font-size: 36px;
  color: #065392;
  margin-bottom: 25px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: capitalize;
}

.service-text-side p {
  font-size: 17px;
  line-height: 1.7;
  color: #2d3748;
  margin-bottom: 25px;
}

@media screen and (max-width: 768px) {
  .service-content-wrapper {
    margin-top: 200px;
    /* even more for mobile header stacks */
  }

  .service-main-section {
    flex-direction: column;
    padding: 25px;
  }
}

.service-features {
  list-style: none;
  margin-bottom: 25px;
  padding: 0;
}

.service-features li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-weight: 500;
  color: #2d3748;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #ffd800;
  font-weight: 900;
}

.cta-button {
  display: inline-block;
  background-color: #065392;
  color: #ffffff !important;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.cta-button:hover {
  background-color: #ffd800;
  color: #065392 !important;
  transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
  .service-main-section {
    flex-direction: column;
    padding: 20px;
    margin-top: 100px;
  }

  .service-image-side {
    min-width: 100%;
  }

  .service-text-side h1 {
    font-size: 24px;
  }
}