* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background-color: #f4f9ff;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

header.hero {
  background-image: url("/img/New-and-Replacement-Swimming-Pool-Vinyl-Liners-768x400_1334x531.jpg");
  background-size: cover;
  background-position: center;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  height: 400px;
}

.hero-content {
  flex: 1;
  min-width: 280px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 2.4rem;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.cta-btn {
  background: #ffca28;
  color: #000;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: bold;
  display: inline-block;
}

.hero-image {
  flex: 1;
  min-width: 280px;
  padding: 20px;
}

/* Why Choose Us */
.why-choose {
  text-align: center;
  padding: 40px 20px;
  background: #e3f2fd;
}

.reasons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.reason {
  background: #bbdefb;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
}

/* Footer */
footer {
  text-align: center;
  background: #3aa774;
  color: white;
  padding: 20px;
  font-size: 0.95rem;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .hero {
    flex-direction: column;
  }

  .contact {
    flex-direction: column;
  }

  .reasons {
    flex-direction: column;
    gap: 10px;
  }

  .gallery {
    flex-direction: column;
  }
}

/* Navbar Styles */
.navbar {
  background-color: #fff !important;
  color: #282f3b;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-brand {
  font-size: 1.4rem;
  font-weight: bold;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
}

.nav-menu li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu li a:hover {
  color: #f0db4f;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.nav-toggle-label span {
  width: 25px;
  height: 3px;
  background-color: white;
  display: block;
  border-radius: 2px;
}

/* Responsive Navbar */
@media screen and (max-width: 768px) {
  .nav-toggle-label {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #004e73;
    flex-direction: column;
    width: 100%;
    display: none;
    padding: 10px 0;
  }

  .nav-menu li {
    text-align: center;
    padding: 10px 0;
  }

  .nav-toggle:checked + .nav-toggle-label + .nav-menu {
    display: flex;
  }
}

.page_header_default {
  position: relative;
  min-height: 320px;
  padding: 100px 0px 100px;
  overflow: hidden;
  align-items: center;
}

.page_header_default .parallax_cover {
  /* position: absolute; */
  top: 0;
  min-height: 247px;
  height: 100%;
  width: 100%;
  left: 0;
}

/* Adjust padding and min-height on smaller screens */
@media (max-width: 992px) {
  .page_header_default {
    padding: 60px 0;
    min-height: 240px;
  }

  .page_header_default .parallax_cover {
    min-height: 180px;
  }
}

/* For mobile screens */
@media (max-width: 576px) {
  .page_header_default {
    padding: 40px 0;
    min-height: 180px;
  }

  .page_header_default .parallax_cover {
    min-height: 140px;
  }

  .page_header_default .simpleParallax {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
  }

  .page_header_default .parallax_cover img {
    object-position: center top;
  }
}

@media (max-width: 1400px) {
  .page_header_default .simpleParallax {
    position: absolute;
    top: 0;
    height: 100%;
    bottom: 0;
    right: 0;
    width: 100%;
    left: 0;
  }
}

.page_header_default .parallax_cover img {
  max-width: 100%;
  height: 100% !important;
  width: 100% !important;
  -o-object-fit: cover;
  object-fit: cover;
  margin-bottom: 0px;
}
.parallax_cover img {
  position: absolute;
  width: 100% !important;
  height: 100% !important;
  top: 0;
  left: 0;
  right: 0;
  -o-object-fit: cover;
  object-fit: cover;
}
img {
  max-width: 100%;
  height: auto;
}

.results-2 {
  font-size: 52px;
}

.abours {
  text-align: center;
  font-size: 50px !important;
  font-weight: 700 !important;
}

/* Smooth scroll for sections */
html {
  scroll-behavior: smooth;
}

/* Mobile nav hidden by default */

/* Show when active */
#nav-menu.active {
  display: flex;
  margin-top: 4px;
  flex-direction: column;
}

/* Scroll margin for fixed navbar offset */
section {
  scroll-margin-top: 80px;
}

/* SECTION: Section Heading */
.results-2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: #333;
}

/* Container Styling */
.container {
  padding: 40px 15px;
  max-width: 1200px;
  margin: auto;
}

/* Grid: 4 Cards per row by default */
.gallery-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  justify-items: center;
}

/* Card Styling */
.gallery-card {
  text-align: center;
}

.gallery-card img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  object-fit: cover;
  margin: auto;
}

.gallery-card h6 {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #000;
}
/* Responsive: 2 cards per row on any screen below 992px */
@media (max-width: 991.98px) {
  .gallery-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* DO NOT stack to 1 card — remove that rule */
/* Removed: @media (max-width: 576px) */

/* Optional gap between rows */
.gap-half {
  margin-top: 23px;
}

/* Bounce-in Animation */
@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

/* Pulse Animation on Hover */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

/* Position the icons */
.fixed-icons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

/* Style theF icons */
.fixed-icons a {
  display: block;
  margin-top: 5px;
  color: #ffffff;
  background-color: #007bff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  font-size: 20px;
  transition: all 0.3s ease;
  animation: bounceIn 0.6s ease;
}

/* Hover pulse effect */
.fixed-icons a:hover {
  animation: pulse 0.6s infinite;
}

/* WhatsApp */
.fixed-icons a.whatsapp {
  background-color: #25d366;
}
.fixed-icons a.whatsapp:hover {
  background-color: #128c7e;
}

/* Call */
.fixed-icons a.call {
  background-color: #1e8b59;
}
.fixed-icons a.call:hover {
  background-color: #25d366;
}

/* Email */
.fixed-icons a.email {
  background-color: #25d366;
}
.fixed-icons a.email:hover {
  background-color: #25d366;
}

.banner-section {
  background-color: #0e482b;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px;
  color: #fff;
  position: relative;
  text-align: center;
}

.overlay1 {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
  border-radius: 12px;
}

.banner-section h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.banner-section h2 span {
  color: #fff;
}

.banner-section p {
  max-width: 990px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.cardss {
  background-color: #bce3ca;
  color: #000;
  border-radius: 12px;
  padding: 20px 15px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  min-width: 220px;
  max-width: 250px;
  flex: 1 1 220px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.cardss:hover {
  transform: translateY(-5px);
}

.clinic-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .cardss {
    font-size: 21px;
    padding: 30px 10px;
  }

  .clinic-grid {
    gap: 0px;
  }
  .cardss {
    font-size: 21px;
    padding: 30px 10px;
  }

  .banner-section h2 {
    font-size: 1.5rem;
  }
}

/* 
Add hearop pool section */

/* 
.banner-section {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(14, 72, 43, 0.9)),
              url('your-banner-image.jpg') center/cover no-repeat;
  color: #fff;
  padding: 100px 20px;
  text-align: center;
}

.overlay {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.banner-content h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.4;
}

.banner-content h2 span {
  display: block;
  font-weight: 500;
  font-size: 1.5rem;
  color: #d4f8e8;
}

.banner-content p {
  font-size: 1.2rem;
  margin-bottom: 50px;
  line-height: 1.8;
  color: #e3f3eb;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.feature-card {
  background-color: #ffffff;
  color: #0e482b;
  padding: 25px 20px;
  border-radius: 15px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .banner-content h2 {
    font-size: 2rem;
  }

  .banner-content h2 span {
    font-size: 1.2rem;
  }

  .banner-content p {
    font-size: 1rem;
  }

  .feature-card {
    font-size: 0.95rem;
    padding: 20px;
  }
}
*/


/* Hero Section Styling */
.hero-pool {
  background: linear-gradient(to right, #eafafc, #68b4d0);
  padding: 60px 20px;
  font-family: "Segoe UI", sans-serif;
}

.hero-container {
  display: flex;
  justify-content: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-content {
  max-width: 700px;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #08324f;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #0f5974;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 30px;
}

/* Call Button */
.contact-button {
  background: #ffc107;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 6px 16px rgba(29, 127, 63, 0.3);
}

.contact-button:hover {
  background: #145a2c;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .contact-button {
    font-size: 0.95rem;
    padding: 10px 20px;
  }
}

.modal-content {
  background-color: #abe1c2 !important;
  border-radius: 18px;
}

.modal-header {
  border-bottom: none;
}

.modal-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #000;
}

.form-control {
  padding: 14px;
  font-size: 1rem;
  border-radius: 4px;
  border: 1px solid #aaa;
}

.form-control::placeholder {
  color: #999;
}

textarea.form-control {
  resize: none;
  height: 130px;
}

.btn-submit {
  background-color: #198754;
  color: white;
  font-weight: bold;
  padding: 14px;
  border: none;
  border-radius: 4px;
  width: 100%;
  transition: background 0.3s ease;
}

.btn-submit:hover {
  background-color: #900;
}

.image-slider-section {
  padding: 60px 30px;
  background-color: #eef5f3;
  text-align: center;
  overflow: hidden;
}

.slider-heading {
  font-size: 2.4rem;
  margin-bottom: 40px;
  color: #0f3e2a;
  font-weight: 700;
}

.slider-heading span {
  color: #30b077;
  font-style: italic;
}

.carousel {
  width: 1020px; /* 3 cards x 320px */
  overflow: hidden;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-card {
  flex: 0 0 320px;
  height: 320px;
  margin-right: 20px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.carousel-card:hover img {
  transform: scale(1.1);
}

@media (max-width: 992px) {
  .carousel {
    width: 640px;
  }

  .carousel-card {
    flex: 0 0 300px;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .carousel {
    width: 100%;
  }

  .carousel-card {
    flex: 0 0 100%;
    height: 280px;
    margin-right: 10px;
  }

  .slider-heading {
    font-size: 1.8rem;
  }
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.highlight-box {
  background-color: #bce3ca;
  color: #000;
  padding: 18px;
  text-align: left;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  /* gap: 10px; */
}

.highlight-box i {
  font-size: 22px;
  color: #006d3f; /* Optional: dark green tint for icons */
}
/* 
.about-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 40px 20px;
  gap: 30px;
}

.about-content {
  flex: 1 1 480px;
  max-width: 700px;
}

.about-content h1 {
  font-size: 2rem;
  color: #000;
  margin-bottom: 15px;
}

.about-content p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 25px;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.highlight-box {
  background-color: #94edbb8a;
  color: #000;
  padding: 15px;
  text-align: center;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.about-image {
  flex: 1 1 400px;
  max-width: 360px;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .about-hero {
    flex-direction: column;
    padding: 20px 25px;
  }
  .abours {
    margin-left: 0 !important;
    text-align: left !important;
  }

  .about-content h1 {
    font-size: 1.6rem;
  }

  .highlight-box {
    font-size: 0.95rem;
  }
}
@media (max-width: 768px) {
  .page_header_default .parallax_cover {
    position: absolute;
    top: 0;
    min-height: 285px;
    height: 100%;
    width: 100%;
    left: 0;
  }
}

} */
@media (max-width: 767px) {
  .hide {
    display: none;
  }
}
.about-hero.redesigned {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 40px 20px;
  align-items: center;
  justify-content: center;
  background: #3aa774;
  gap: 30px;
  border-radius: 12px;
}

.about-content {
  flex: 1 1 500px;
  max-width: 900px;
}

.about-content h1 {
  font-size: 2.5rem;
  color: #00563f;
  margin-bottom: 15px;
  font-weight: 800;
}

.sub-heading {
  font-size: 1.1rem;
  color: #198754;
  margin-bottom: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content p {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 25px;
}

.highlight-item {
  background: #ffffff;
  border-left: 5px solid #198754;
  border-radius: 8px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.highlight-item:hover {
  transform: scale(1.05);
}

.highlight-item i {
  font-size: 22px;
  color: #198754;
}

.highlight-item span {
  font-size: 0.95rem;
  font-weight: 600;
  color: #000;
}

.about-image {
  flex: 1 1 400px;
  max-width: 400px;
}

.about-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .about-hero.redesigned {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
  }
}
.faq-contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  padding: 60px 60px;
  background: #fff;
}

.faq-box {
  background: #fff;
  padding: 0px;
  /* border-radius: 15px; */
  flex: 1 1 450px;
  max-width: 600px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0);
}

.contact-form {
  background: #abe1c2;
  padding: 30px;
  border-radius: 0px;
  flex: 1 1 450px;
  max-width: 600px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-box h2 {
  text-align: center;
  font-size: 2.2rem;
  color: #000;
  margin-bottom: 10px;
}

.faq-subtitle {
  text-align: center;
  font-size: 1rem;
  color: #000;
  margin-bottom: 25px;
  font-weight: 500;
}

.faq-list details {
  background: #94edbb8a;
  padding: 0;
  margin-bottom: 10px;
  border-radius: 0;
  transition: all 0.3s ease-in-out;
}

.faq-list summary {
  font-weight: bold;
  font-size: 1rem;
  list-style: none;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-list summary::marker {
  display: none;
}

.toggle-icon {
  font-size: 1.2rem;
}

.faq-list p {
  margin: 0;
  background: #fff;
  padding: 15px 20px;
  font-size: 1rem;
  animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-form h2 {
  font-size: 26px;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  margin-bottom: 15px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form button {
  background: #0a6b3e;
  color: #fff;
  padding: 14px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #0a6b3e;
}

@media (max-width: 768px) {
  .faq-contact-wrapper {
    padding: 30px 20px;
  }

  .faq-box,
  .contact-form {
    flex: 1 1 100%;
  }
}

.gallery-sections {
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.containersse {
  max-width: 1200px;
  margin: auto;
}

.gallery-grids {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  justify-items: center;
}

.carousel-cards img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: cover;

  transition: transform 0.3s ease;
}

.carousel-cards img:hover {
  transform: scale(1.05);
}

@media (max-width: 991.98px) {
  .gallery-grids {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 

.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  padding: 20px; 
  box-sizing: border-box;
}


.image-wrapper {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}


.modal-image {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;

  animation: zoomIn 0.3s ease;
 
}


.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  z-index: 10000;
}


.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  background: rgba(0,0,0,0.4);
  border: none;
  color: white;
  padding: 10px 14px;
  cursor: pointer;
  z-index: 1000;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.nav-arrow:hover {
  background: rgba(0,0,0,0.6);
}

.left-arrow { left: 10px; }
.right-arrow { right: 10px; }


@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
  .modal-image {
    max-width: 95vw;
    max-height: 70vh;
  }

  .nav-arrow {
    font-size: 28px;
    padding: 8px 10px;
  }

  .close-btn {
    font-size: 32px;
    top: 15px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .modal-image {
    max-width: 100%;
    max-height: 60vh;
  }

  .nav-arrow {
    font-size: 24px;
    padding: 6px 8px;
  }
}
 */
.custom-gallery-section {
  padding: 40px 30px;
  background-color: #f9f9f9;
  text-align: center;
}

.gallery-title {
  font-size: 36px;
  font-weight: 800;
  color: #0a2540;
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
  max-width: 1100px;
  margin: auto;
}

/* Force 2 cards per row on tablets and up */
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-img {
  width: 94%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
  margin: auto;
  display: block;
}

@media (max-width: 480px) {
  .gallery-img {
    height: 131px !important;
    width: 95%;
  }
}

.gallery-img:hover {
  transform: scale(1.05);
}

.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox-modal.show {
  display: flex;
}

.lightbox-content {
  width: 50% !important;
  height: 60% !important;
}

.zoomed-in {
  transform: scale(2);
  cursor: zoom-out;
}

.controls {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
}

.controls button {
  background: transparent;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 30px;
  cursor: pointer;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 30px;
  cursor: pointer;
}

.prev-btn {
  left: 20px;
}
.next-btn {
  right: 20px;
}

@media (max-width: 768px) {
  .lightbox-content {
    width: 66% !important;
    height: 50% !important;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr); /* exactly 2 cards */
  }
}

@media (max-width: 480px) {
  .lightbox-content {
    max-width: 65%;
    max-height: 23%;
  }
}

body.modal-open {
  overflow: hidden;
}

.video-slider-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-heading {
  font-size: 36px;
  font-weight: 800;
  color: #0a2540;
  margin-bottom: 30px;
}

.video-carousel {
  position: relative;
  max-width: 900px;
  margin: auto;
  overflow: hidden;
  border-radius: 20px;
}

.video-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.video-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.video-card {
  flex: 0 0 100%;
  padding: 10px;
  box-sizing: border-box;
}

.video-card video {
  width: 100%;
  height: auto;
  /* border-radius: 16px;
  box-shadow: transparent; */
  cursor: pointer;
  display: block;
}

/* Navigation Buttons */
.nav-btns {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: white;
  border: none;
  font-size: 30px;
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  opacity: 0.85;
  transition: 0.3s ease;
}

.nav-btns:hover {
  background-color: transparent;
}

.slider-prev-btn {
  left: 10px;
}

.slider-next-btn {
  right: 10px;
}

.modal-prev-btn {
  left: 20px;
}

.modal-next-btn {
  right: 20px;
}

.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  overflow: hidden;
  flex-wrap: nowrap;
}

.video-modal video {
  max-width: 90%;
  max-height: 90%;
  cursor: grab;
  transition: transform 0.2s ease-in-out;
}

.close-modal {
  position: absolute;
  top: 30px;
  right: 50px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  z-index: 10000;
}

@media (max-width: 768px) {
  .section-heading {
    font-size: 28px;
  }

  .nav-btns {
    font-size: 24px;
    padding: 10px;
  }

  .close-modal {
    top: 20px;
    right: 20px;
    font-size: 32px;
  }
}

.video-card {
  position: relative;
  flex: 0 0 100%;
  padding: 10px;
  box-sizing: border-box;
}

.video-card video {
  width: 100%;
  height: auto;
  /* border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); */
  cursor: pointer;
  display: block;
}

.video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: url("img/tums.png") no-repeat center center;
  background-size: contain;
  filter: drop-shadow(0 0 6px rgba(27, 29, 165, 0.8));
  z-index: 2;
  pointer-events: none;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.video-card:hover .video-overlay {
  transform: translate(-50%, -50%) scale(1.1);
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.8));
}

@media (max-width: 768px) {
  .video-overlay {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .video-overlay {
    width: 36px;
    height: 36px;
  }
}

/* .polyswim-section {
  background-color: #eef9f6;
  padding: 50px 20px;
  font-family: "Segoe UI", sans-serif;
}

.polyswim-container {
  max-width: 900px;
  margin: 0 auto;
  color: #333;
}

.polyswim-container h2 {
  font-size: 2rem;
  color: #05582c;
  margin-bottom: 20px;
  text-align: center;
}

.polyswim-container h3 {
  font-size: 1.3rem;
  color: #044e2b;
  margin-top: 30px;
  margin-bottom: 10px;
}

.intro {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: center;
}

.solutions-list {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.solutions-list li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.description {
  font-size: 1rem;
  line-height: 1.6;
} */

.polyswim-section {
  background: #ffffff;
  padding: 60px 20px;
  font-family: "Segoe UI", sans-serif;
}

.polyswim-container {
  max-width: 960px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 40px 30px;
  border-radius: 16px;

  color: #222;
}

.polyswim-container h2 {
  font-size: 2.4rem;
  color: #056144;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
}

.polyswim-container h3 {
  font-size: 1.4rem;
  color: #038156;
  margin-top: 35px;
  margin-bottom: 15px;
  font-weight: 600;
}

.intro {
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
  text-align: center;
  color: #444;
}

.solutions-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.solutions-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.solutions-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  color: #04aa6d;
  font-weight: bold;
  font-size: 1.1rem;
}

.description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
  text-align: justify;
}
@media (max-width: 768px) {
  .polyswim-container {
    padding: 30px 20px;
  }

  .polyswim-container h2 {
    font-size: 2rem;
  }

  .polyswim-container h3 {
    font-size: 1.2rem;
  }

  .intro,
  .description {
    font-size: 1rem;
  }
}

.custom-heading {
  font-size: 38px !important;
  font-weight: 800;
  color: #0a2540;
  margin-left: 110px;
  margin-bottom: 30px;
  text-align: left !important;
}

@media (max-width: 768px) {
  .custom-heading {
    margin-left: 0;
    text-align: center;
    font-size: 30px;
  }
}

/* Section Background and Title */
.features-section {
  background: linear-gradient(to right, #eafafc, #68b4d0);
  padding: 70px 30px;
}

.section-title {
  text-align: center;
  font-size: 3.5rem;
  font-weight: 800;
  color:#fff;
  margin-bottom: 50px;
}

/* Wrapper Flex Layout */
.features-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
}

/* Feature Columns */
.features-column {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Image Styling */
.features-image {
  flex: 1 1 350px;
  max-width: 400px;
  display: flex;
  justify-content: center;
}

.features-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

/* Feature Item */
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 15px 18px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item i {
  color: #198754;
  font-size: 24px;
  margin-top: 4px;
  min-width: 24px;
}

.feature-item h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 5px;
  color: #0a2540;
}

.feature-item p {
  font-size: 15px;
  color: #333;
  margin: 0;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .features-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .features-image img {
    max-width: 280px;
  }

  .section-title {
    font-size: 2rem;
  }
}

.product-section {
  padding: 2rem 0;
}
.product-section .product-item {
  text-align: center;
  text-decoration: none;
  display: block;
  position: relative;
  padding-bottom: 50px;
  cursor: pointer;
}
.product-section .product-item .product-thumbnail {
  margin-bottom: 30px;
  position: relative;
  top: 0;
  -webkit-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
.product-section .product-item h3 {
  font-weight: 600;
  font-size: 16px;
}
.product-section .product-item strong {
  font-weight: 800 !important;
  font-size: 18px !important;
}

.product-section .product-item h3,
.product-section .product-item strong {
  color: #2f2f2f;
  text-decoration: none;
}

.product-section .product-item .icon-cross {
  position: absolute;
  width: 35px;
  height: 35px;
  display: inline-block;
  background: #2f2f2f;
  bottom: 15px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  margin-bottom: -17.5px;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  transition: 0.3s all ease;
}

.product-section .product-item .icon-cross img {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.product-section .product-item:before {
  bottom: 0;
  left: 0;
  right: 0;
  position: absolute;
  content: "";
  color: #fff;
  background: #c5e3c8;
  /* background: #dce5e4; */
  height: 0%;
  z-index: -1;
  border-radius: 10px;
  -webkit-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
.product-section .product-item:hover .product-thumbnail {
  top: -25px;
}
.product-section .product-item:hover .icon-cross {
  bottom: 0;
  opacity: 1;
  visibility: visible;
}
.product-section .product-item:hover:before {
  height: 70%;
}

.font-so {
  font-size: 34px !important;
}

.featuress-specs {
  padding: 60px 20px;
  background: linear-gradient(to right, #023326, #0b5643);
}

.containerss {
  max-width: 1200px;
  margin: auto;
}

.text-center h2 {
  font-size: 30px;
  color: #ffffff;
}

.rowss {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

/* Feature Buttons */
.feature-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: flex-start;
}

.feature-btn {
  background-color: #05a561;
  border: none;
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: default;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.3s;
}

.feature-btn:hover {
  background-color: #038a4b;
}

.featuress {
  flex: 1 1 50%;
}

.specs {
  flex: 1 1 40%;
  overflow-x: auto;
  background-color: #f8f9fa;
}

.specs table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

.specs th {
  background-color: #05a561;
  color: white;
  text-align: left;
  padding: 10px 15px;
  font-size: 16px;
}

.specs td {
  padding: 10px 15px;
  border-top: 1px solid #eee;
  font-size: 15px;
  color: #222;
}

.specs tr:nth-child(even) td {
  background-color: #f5f5f5;
}

.specs tr:nth-child(odd) td {
  background-color: #ffffff;
}
.slider-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.image-slider .slide-track {
  display: flex;
  animation: scroll 30s linear infinite;
  width: calc(270px * 8); /* Adjust width for 8 image boxes with margin */
}

/* ===== Responsive Design ===== */

/* Tablets (max-width: 991px) */
@media (max-width: 991px) {
  .rowss {
    flex-direction: column;
    align-items: center;
  }

  .featuress,
  .specs {
    flex: 1 1 100%;
    width: 100%;
  }

  .feature-buttons {
    justify-content: center;
  }

  .feature-btn {
    padding: 10px 16px;
    font-size: 14px;
  }

  .text-center h2 {
    font-size: 26px;
  }

  .image-box {
    width: 220px;
    margin-right: 15px;
  }

  .image-box .caption {
    width: 160px;
    height: 45px;
    font-size: 14px;
  }

  .image-slider .slide-track {
    width: calc(235px * 8); /* Adjust for smaller image + margin */
  }
}

/* Mobile (max-width: 576px) */
@media (max-width: 576px) {
  .text-center h2 {
    font-size: 22px;
  }

  .application-area p {
    font-size: 14px;
    line-height: 1.6;
    text-align: justify;
  }

  .feature-btn {
    font-size: 13px;
    padding: 8px 14px;
  }

  .image-box {
    width: 180px;
    margin-right: 12px;
  }

  .image-box .caption {
    width: 140px;
    height: 40px;
    font-size: 13px;
  }

  .image-slider .slide-track {
    width: calc(200px * 8); /* Smaller image + margin */
  }
}

/* 
.image-box {
  position: relative;
  width: 250px;
  margin-right: 20px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 10px;
}

.image-box img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.image-box .caption {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: linear-gradient(to right, #023326, #0b5643);
  color: #fff;
  padding: 6px 10px;
  align-items: center;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
} */
.image-box {
  position: relative;
  width: 250px;
  margin-right: 20px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 10px;
}

.image-box img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Centered Caption */
.image-box .caption {
  position: absolute;
  top: 88%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* 
  background: rgba(25, 135, 84, 0.7); green with transparency */
  color: #fff;
  background-color: rgb(98 149 98 / 70%);

  /* width: 180px;
  height: 50px; */
  width: 212px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;

  /* border-radius: 8px; */
  font-size: 19px;
  font-weight: 700;
  text-align: center;
  padding: 0 10px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 991px) {
  /* Resize image */
  .product-section .product-item .product-thumbnail {
    width: 70%;
    height: auto;
    margin: 0 auto 20px auto;
    display: block;
  }

  /* Resize content */
  .product-section .product-item h3 {
    font-size: 15px;
  }

  .product-section .product-item .product-price {
    font-size: 13px;
    line-height: 1.4;
    padding: 0 10px;
  }

  .product-section .section-title {
    font-size: 22px;
    text-align: center;
    padding: 0 10px;
  }

  .product-section .hero-subtitle {
    font-size: 18px;
    text-align: center;
    padding: 0 10px;
  }

  .product-section p {
    font-size: 14px;
    line-height: 1.6;
    padding: 0 15px;
    text-align: justify;
  }
}

.about_section img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.about_section {
  background-color: #f9f9f9;
}

.about_content h2,
.about_content h4 {
  color: #004080;
}

.table th {
  background-color: #f1f1f1;
  font-weight: 600;
  color: #333;
}

.table td {
  color: #555;
}
