

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  background-color: #ffffff;
  line-height: 1.6;
}



section {
  padding: 60px 15px;
}

.video-hero {
  width: 100%;
  height: 626px;
  overflow: hidden;
  position: relative;
  padding: 0;
}

.video-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* Responsive Heights */
@media (max-width: 768px) {
  .video-hero {
    height: 400px;
  }
}

@media (max-width: 576px) {
  .video-hero {
    height: 211px;
  }
}

@media (max-width: 320px) {
  .video-hero {
    height: 190px;
  }
}

/* Make sure the carousel wrapper can position dots */
.video-carousel {
    position: relative;
}

/* Position dots over the video */
.video-carousel .owl-dots {
    position: absolute;
    bottom: 20px;       /* Adjust height as needed */
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 50;        /* Important: puts dots above the video */
}

/* Style the dots */
.video-carousel .owl-dot span {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: inline-block;
    margin: 5px;
    transition: 0.3s;
}

/* Active dot */
.video-carousel .owl-dot.active span {
    background: #fff;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .video-carousel .owl-dots {
        bottom: 15px;
    }
    .video-carousel .owl-dot span {
        width: 10px !important;
        height: 10px !important;
        margin: 4px;
    }
}

@media (max-width: 576px) {
    .video-carousel .owl-dots {
        bottom: 10px;
    }
    .video-carousel .owl-dot span {
        width: 8px !important;
        height: 8px !important;
        margin: 3px;
    }
}

@media (max-width: 320px) {
    .video-carousel .owl-dots {
        bottom: 8px;
    }
    .video-carousel .owl-dot span {
        width: 6px !important;
        height: 6px !important;
        margin: 2px;
    }
}


.rs-about-area {
  padding: clamp(60px, 8vw, 100px) 0;
  background-color: #ffffff;
}

.container {
  width: min(90%, 1200px);
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
}

.col {
  flex: 1;
  min-width: min(100%, 280px);
}

/* ===== Left Section ===== */
.rs-section-subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0066ae;
  text-transform: uppercase;
  font-weight: 600;
  font-size: clamp(24px, 2vw, 26px);
  margin-bottom: clamp(8px, 2vw, 12px);
  justify-content: flex-start;
}

.about-section-subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0066ae;
  text-transform: uppercase;
  font-weight: 600;
  font-size: clamp(24px, 3vw, 26px);
  margin-bottom: clamp(8px, 2vw, 12px);
  justify-content: flex-start;
}


.rs-section-title {
  font-size: clamp(24px, 5vw, 26px);
  color: #1a1a1a;
  font-weight: 600;
  line-height: 1.3;
}

.rs-section-title .highlight {
  color: #0066ae; /* updated red */
}

/* ===== Right Section ===== */
.about-section-wrapper {
  width: 100%;
  height: 100%;
} 

.about-section {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  gap: 20px;
  overflow: hidden;
  position: relative;
  animation: fadeIn 1s ease 0.3s forwards;
}

.about-image {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 95%;
  object-fit: cover;
  transition: transform 0.7s ease;
  margin-top: 15px;
}
.about-image:hover img {
  transform: scale(1.05);
}


.about-content {
  flex: 0 0 55%;
  padding: 60px;
  position: relative;
}
.desktop-title {
  font-size: 36px ;
  color: #1a2b50;
  margin-bottom: 10px;
  font-weight: 700;
  position: relative;
}



.mobile-title {
  display: none;
}
.about-content p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 25px;
}
.highlight {
  color: #0066ae;
  font-weight: 700;

}



.features {
  display: flex;
  flex-wrap: wrap;
  margin: 35px 0;
  gap: 15px;
}

.feature {
  display: flex;
  align-items: flex-start; /* Align icon and text at the top */
  gap: 12px; /* spacing between icon and text */
  padding: 14px 22px;
  border-radius: 10px;
  color: #0066ae;
  font-size: 17px;
  font-weight: 600;

  border: 1px solid #a7d2f3; /* soft blue border */
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 102, 174, 0.15);
  transition: box-shadow 0.2s ease, transform 0.2s ease;

  flex: 1 1 250px; /* allow flexible width, min 250px */
  min-width: 200px; /* ensures small items don’t shrink too much */
  max-width: 400px; /* optional: cap max width */
}

.feature:hover {
  box-shadow: 0 6px 16px rgba(0, 102, 174, 0.25);
  transform: translateY(-2px);
}

.feature i {
  flex-shrink: 0; /* icon doesn’t shrink */
  font-size: 18px;
  margin-top: 2px; /* slight vertical alignment tweak */
  color: #0066ae;
}

/* Text inside feature wraps properly */
.feature span {
  word-break: break-word; /* prevent overflow for long text */
  line-height: 1.4;      /* improve readability */
}

@media (min-width: 1024px) {
  .feature {
    flex: 1 1 calc(33.33% - 20px);
    gap: 8px;
    padding: 14px 4px;
    font-size: 16px;
  }
}

/* Tablets: 2 per row */
@media (min-width: 768px) and (max-width: 1023px) {
  .feature {
    flex: 1 1 calc(50% - 15px);
  }
}

/* Small devices: single column */
@media (max-width: 767px) {
  .feature {
    flex: 1 1 100%;
  }
}


.cta-button {
  display: inline-block;
  background: #0d6efd;
  color: white;
  padding: 15px 32px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 119, 255, 0.2);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}
.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 119, 255, 0.3);
}
.cta-button span {
  position: relative;
  z-index: 2;
} /* BUTTON HOVER SLIDE */
.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #0151a7;
  transition: left 0.4s ease;
  z-index: 1;
}
.cta-button:hover::before {
  left: 0;
} /* ---------------------- RESPONSIVE ---------------------- */
@media (max-width: 1024px) {
  .about-content {
    padding: 50px;
  }
}
@media (max-width: 900px) {
  .about-section {
    flex-direction: column;
  }
  .about-image {
    height: 380px;
  }
  .about-content {
    padding: 45px 30px;
  }
  .mobile-title {
    display: block;
    padding: 40px 30px 0;
    text-align: center;
  }
  .mobile-title h2 {
    font-size: 36px;
    color: #1a2b50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    font-weight: 700;
    position: relative;
  }
  .mobile-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, #dc3545, #790404);
    border-radius: 4px;
  }
  .desktop-title {
    display: none;
  }
}
@media (max-width: 768px) {
  .mobile-title h2 {
    font-size: 30px;
  }
  .features {
    flex-direction: column;
  }
  .feature {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .about-content {
    padding: 28px 20px;
  }
  .mobile-title {
    padding: 30px 20px 0;
  }
  .mobile-title h2 {
    font-size: 2rem;
  }
  .about-content p {
    font-size: 15px;
  }
  .cta-button {
    width: 100%;
    padding: 14px;
  }
}



/* Tablets (768px - 992px) */
@media (max-width: 992px) {
  .row {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .col {
    width: 100%;
    min-width: auto;
  }

  .rs-section-subtitle {
    justify-content: center;
  }

  .about-section-subtitle {
    justify-content: center;
  }

  .rs-section-title {
    font-size: clamp(22px, 4vw, 28px);
  }

  .about-image {
    display: flex;
    justify-content: center;
  }

  .about-image img{
    height: 500px;
    width: 680px;
  }
}

/* Small Tablets (576px - 768px) */
@media (max-width: 768px) {
  
  .rs-section-title {
    font-size: 20px;
  }
}

/* Mobile (425px - 576px) */
@media (max-width: 576px) {
  
  .rs-section-subtitle {
    font-size: 20px;
    gap: 6px;
  }

  .rs-section-title-wrapper.centered{
    margin-bottom: 20px;
  }

  .about-section-subtitle {
    font-size: 22px;
    gap: 6px;
  }

  .rs-section-title {
    font-size: 18px;
  }

  .about-image img{
    height: 300px;
    width: 360px;
  }

}

/* Small Mobile (320px - 425px) */
@media (max-width: 425px) {
  
  .rs-section-title {
    font-size: 16px;
  }

}

/* Very Small Mobile (under 320px) */
@media (max-width: 320px) {
  .about-image {
    height: 160px;
  }

  .rs-btn {
    padding: 5px 12px;
    font-size: 11px;
  }
}

/* ===================== ANIMATIONS ===================== */

/* Fade In + Slide Up for the About Section */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Soft Floating for Images */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Fade in + slight slide from left for content */
@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Fade in + slight slide from right for features */
@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===================== APPLY ANIMATIONS ===================== */
.about-section {
  animation: fadeInUp 1s ease forwards;
}

.about-image img {
  animation: float 6s ease-in-out infinite;
}

.about-content {
  animation: fadeInLeft 1s ease 0.2s forwards;
}

/* Feature cards animation */
.feature {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

/* Animate each feature with slight delay */
.feature:nth-child(1) {
  animation-delay: 0.2s;
}
.feature:nth-child(2) {
  animation-delay: 0.4s;
}
.feature:nth-child(3) {
  animation-delay: 0.6s;
}
.feature:nth-child(4) {
  animation-delay: 0.8s;
}
.feature:nth-child(5) {
  animation-delay: 1s;
}
.feature:nth-child(6) {
  animation-delay: 1.2s;
}

/* Optional: CTA button hover float animation */
.cta-button {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-button:hover {
  transform: translateY(-3px) scale(1.02);
}


/* PRODUCTS SECTION */
.products-section {
  background-color: #ffffff;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #222;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #dc3545; /* updated red */
  margin: 10px auto 0;
  border-radius: 2px;
}

.products-carousel {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.product-card {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 370px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid rgba(0, 102, 174, 0.18);
  box-shadow:
    0 6px 16px rgba(0, 102, 174, 0.15),   /* soft blue outer shadow */
    0 2px 6px rgba(0, 102, 174, 0.10);    /* micro-depth blue shadow */

  transition: all 0.35s ease;
}

.product-card:hover {
  box-shadow:
    0 12px 28px rgba(0, 102, 174, 0.25),  /* stronger blue glow */
    0 4px 10px rgba(0, 102, 174, 0.15);
}

.product-image-box {
  padding: 18px;
  border-radius: 14px;
}

.product-image {
  width: 180px;
  height: 250px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image {
  transform: scale(1.07);
}

/* PRODUCT INFO */
.product-info {
  background: #0066ae;
  width: 100%;
  padding: 14px;
  text-align: center;
  border-radius: 0 0 16px 16px;
  position: relative;
  overflow: hidden;
}

/* glossy swipe effect */
.product-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: -90%;
  width: 80%;
  height: 100%;
  background: rgba(255, 255, 255, 0.18);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
}

.product-card:hover .product-info::before {
  left: 120%;
}

.product-name {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: #ffffff;
}


/* ====================================================
   ANIMATION
==================================================== */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  animation: fadeInUp 0.8s forwards;
}

.fade-in:nth-child(1) {
  animation-delay: 0.1s;
}
.fade-in:nth-child(2) {
  animation-delay: 0.25s;
}
.fade-in:nth-child(3) {
  animation-delay: 0.4s;
}
.fade-in:nth-child(4) {
  animation-delay: 0.55s;
}

/* ====================================================
   RESPONSIVE
==================================================== */
@media (max-width: 1024px) {
  .product-name {
    font-size: 17px;
  }
}


@media (max-width: 768px) {
  .product-image {
    height: 240px;
  }
  .product-name {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  
  .product-image {
    height: 220px;
  }
  .product-name {
    font-size: 1.05rem;
  }
}

.features-section {
  background: #ffffff;
  padding: clamp(50px, 8vw, 80px) 0;
  overflow: visible;
}

.features-container {
  max-width: min(1200px, 90%);
  margin: 0 auto;
  padding: 0 clamp(15px, 3vw, 20px);
}

/* Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: clamp(25px, 4vw, 40px);
}

/* Feature Card */
.feature-card {
  position: relative;
  background: #ffffff;
  padding: clamp(3rem, 6vw, 4rem)
           clamp(1.25rem, 2vw, 1.5rem)
           clamp(1.5rem, 3vw, 2rem);

  color: #111;
  border-radius: 10px;
  min-height: 200px;
  transition: all 0.35s ease;
  overflow: visible;

  /* Smooth border + shadow */
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* --- CLIP BORDER using pseudo element --- */
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  /* clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%, 0 18%); */
  border: 1px solid #0066ae; /* matching color */
  pointer-events: none;
  transition: all 0.35s ease;
}

/* Icon */
.feature-card .icon {
  width: clamp(70px, 12vw, 100px);
  height: clamp(70px, 12vw, 100px);
  border-radius: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: clamp(30px, 6vw, 40px);
  color: #0066ae;

  position: absolute;
  top: clamp(1.25rem, 3vw, 1.5rem);
  left: clamp(1.25rem, 3vw, 1.5rem);
  transition: all 0.35s ease;
}

.feature-card h3 {
  margin-top: clamp(3.5rem, 8vw, 5rem);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 600;
}

.feature-card p {
  color: #555;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  margin-top: clamp(0.5rem, 2vw, 0.75rem);
  line-height: 1.5;
}

/* =======================================================
   HOVER / ACTIVE STYLING
   ======================================================= */

/* Hover style + Active style shared */
.feature-card:hover,
.feature-card.active {
  background: #0066ae;
  color: #fff;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.18);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%, 0 18%);
}


/* Clipped border on hover / active */
.feature-card:hover::before,
.feature-card.active::before {
  border-color: #fff;
}

/* Icon animation */
.feature-card:hover .icon,
.feature-card.active .icon {
  color: #fff;
  transform: rotateY(360deg);
  transition: all 0.6s ease-in-out;
}

/* Elevated text on hover */
.feature-card:hover p,
.feature-card.active p {
  color: rgba(255, 255, 255, 0.9);
}

/* =======================================================
   Make "active card" lose hover style when hovering others
   ======================================================= */

.features-grid:hover .feature-card.active:not(:hover) {
  background: #ffffff;
  color: #111;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
   clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.features-grid:hover .feature-card.active:not(:hover)::before {
  border-color: #0066ae;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.features-grid:hover .feature-card.active:not(:hover) .icon {
  color: #0066ae;
  transform: none;
}

.features-grid:hover .feature-card.active:not(:hover) p {
  color: #555;
}


/* ===== Enhanced Responsive Breakpoints ===== */

/* Tablets (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .feature-card {
    min-height: 220px;
    padding: 3.5rem 1.5rem 1.75rem;
  }

  .feature-card .icon {
    width: 85px;
    height: 85px;
    font-size: 35px;
  }

  .feature-card h3 {
    margin-top: 4.5rem;
    font-size: 1.1rem;
  }
}

/* Small Tablets (700px - 768px) */
@media (min-width: 700px) and (max-width: 767px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .feature-card {
    min-height: 200px;
    padding: 3rem 1.25rem 1.5rem;
  }

  .feature-card .icon {
    width: 75px;
    height: 75px;
    font-size: 32px;
  }

  .feature-card h3 {
    margin-top: 4rem;
    font-size: 1.05rem;
  }
}

/* Large Mobile (576px - 700px) */
@media (max-width: 699px) {
  .features-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }

  .feature-card {
    min-height: 180px;
    padding: 3rem 1.25rem 1.5rem;
  }

  .feature-card .icon {
    width: 70px;
    height: 70px;
    font-size: 30px;
  }

  .feature-card h3 {
    margin-top: 3.5rem;
    font-size: 1.1rem;
  }
}

/* Mobile (425px - 576px) */
@media (max-width: 576px) {
  .features-section {
    padding: 40px 0;
  }

  .features-container {
    padding: 0 12px;
  }

  .features-grid {
    gap: 18px;
  }

  .feature-card {
    min-height: 160px;
    padding: 2.5rem 1rem 1.25rem;
  }

  .feature-card .icon {
    width: 60px;
    height: 60px;
    font-size: 26px;
    top: 1rem;
    left: 1rem;
  }

  .feature-card h3 {
    margin-top: 3rem;
    font-size: 1rem;
  }

  .feature-card p {
    font-size: 0.82rem;
    margin-top: 0.5rem;
    line-height: 1.4;
  }
}

/* Small Mobile (375px - 425px) */
@media (max-width: 425px) {
  .features-section {
    padding: 35px 0;
  }

  .feature-card {
    min-height: 150px;
    padding: 2.25rem 0.875rem 1.125rem;
  }

  .feature-card .icon {
    width: 55px;
    height: 55px;
    font-size: 24px;
    top: 0.875rem;
    left: 0.875rem;
  }

  .feature-card h3 {
    margin-top: 2.75rem;
    font-size: 0.95rem;
  }

  .feature-card p {
    font-size: 0.8rem;
  }
}

/* Very Small Mobile (320px - 375px) */
@media (max-width: 375px) {
  .features-section {
    padding: 30px 0;
  }

  .features-container {
    padding: 0 10px;
  }

  .feature-card {
    min-height: 140px;
    padding: 2rem 0.75rem 1rem;
  }

  .feature-card .icon {
    width: 50px;
    height: 50px;
    font-size: 22px;
    top: 0.75rem;
    left: 0.75rem;
  }

  .feature-card h3 {
    margin-top: 2.5rem;
    font-size: 0.9rem;
  }

  .feature-card p {
    font-size: 0.78rem;
    line-height: 1.4;
  }
}

/* Large Desktop Screens (1024px+) */
@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .feature-card {
    min-height: 240px;
  }
}

.bar {
  position: relative;
  width: 100%;
  height: 200px;
  background-image: url("images/banner/product.jpg");
  background-size: cover; /* <-- cover fills the container without repeating */
  background-position: center;
  background-repeat: no-repeat; /* <-- prevents repetition */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-sizing: border-box;
  color: white;
  font-family: Arial, sans-serif;
}


.bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.bar .text,
.bar .doc-btn {
  position: relative;
  z-index: 1;
}

.bar .text {
  font-size: 26px;
  font-weight: bold;
  margin-left: 50px;
}

.bar .doc-btn {
  padding: 12px 24px;
  background-color: #0066ae;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  margin-right: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bar .doc-btn:hover {
  background-color: #db2234;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.bar .doc-btn::before {
  font-size: 18px;
}

@media (max-width: 768px) {
  .bar .text {
    font-size: 20px;
    margin-left: 30px;
  }

  .bar .doc-btn {
    font-size: 16px;
    margin-right: 10px;
  }
  .bar .doc-btn::before {
    font-size: 16px;
  }
  .download {
    font-size: 16px;
  }
}

@media (max-width: 425px) {
  .bar {
    flex-direction: column;
    gap: 10px;
    padding: 5px 0;
    justify-content: center;
  }

  .bar .text {
    margin-bottom: 20px;
    font-size: 16px;
    margin-left: 5px;
  }
  .bar .doc-btn {
    font-size: 12px;
    margin-right: 5px;
  }
}

@media (max-width: 375px) {
  .bar .text {
    margin-bottom: 20px;
    font-size: 12px;
    margin-left: 1px;
  }
  .bar .doc-btn {
    font-size: 10px;
    margin-right: 5px;
  }
}

.contact-section {
  background-color: #f9f9f9;
  padding: 0 15px;
  min-height: 90vh;
  gap: 20px;
  display: flex;
  align-items: center;
}

.contact-section .container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 50px;
  align-items: center;
}

.contact-image-side {
  flex: 1;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  height: 540px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.contact-image-side:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.contact-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  transition: transform 0.8s ease;
}

.contact-image-side:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #00000034 0%, #00000034 100%);
  color: white;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s ease 0.3s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.overlay h3 {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  animation: slideUp 0.8s ease 0.5s forwards;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.overlay p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #ffffff;
  opacity: 0.95;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  animation: slideUp 0.8s ease 0.7s forwards;
}

.contact-features {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  transform: translateY(20px);
  animation: slideUp 0.8s ease 0.9s forwards;
}

.contact-features li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 15px;
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: fadeInListItem 0.5s ease forwards;
}

.contact-features li:nth-child(1) {
  animation-delay: 1.1s;
}
.contact-features li:nth-child(2) {
  animation-delay: 1.3s;
}
.contact-features li:nth-child(3) {
  animation-delay: 1.5s;
}
.contact-features li:nth-child(4) {
  animation-delay: 1.7s;
}

@keyframes fadeInListItem {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.contact-features li i {
  color: #ffffff;
  margin-right: 12px;
  font-size: 14px;
  background: rgba(219, 34, 52, 0.9);
  padding: 6px;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.contact-features li:hover i {
  transform: scale(1.2);
  background: rgba(255, 255, 255, 0.9);
  color: #db2234;
}

/* Right Side - Contact Form */
.contact-form-side {
  flex: 1;
  opacity: 0;
  transform: translateX(30px);
  animation: slideInRight 1s ease 0.5s forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.contact-form-container {
  width: 100%;
  background-color: #fff;
  padding: 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s ease, box-shadow 0.5s ease;

  /* Minimal professional border */
  border: 1px solid #d1d5db; /* subtle gray border */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* soft shadow for slight depth */
}



.contact-form-container h2 {
  margin-bottom: 35px;
  color: #1a2b50;
  font-size: 32px;
  text-align: center;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.contact-form-container h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #db2234, #790404);
  border-radius: 4px;
  animation: expandLine 1s ease 1s forwards;
  transform-origin: center;
  transform: translateX(-50%) scaleX(0);
}

@keyframes expandLine {
  from {
    transform: translateX(-50%) scaleX(0);
  }
  to {
    transform: translateX(-50%) scaleX(1);
  }
}

.contact-form{
  position: relative;
}

/* Form styling */
.contact-form .form-group {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.contact-form .form-group:nth-child(1) {
  animation-delay: 1.2s;
}
.contact-form .form-group:nth-child(2) {
  animation-delay: 1.4s;
}
.contact-form .form-group:nth-child(3) {
  animation-delay: 1.6s;
}
.contact-form .form-group:nth-child(4) {
  animation-delay: 1.8s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-bottom: 2px solid #ddd;
  outline: none;
  font-size: 16px;
  resize: none;
  transition: border-bottom 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom: 2px solid #0066ae !important;
  box-shadow: 0 5px 15px rgba(219, 34, 52, 0.1);
}

.contact-form button {
  display: inline-block;
  background: #0d6efd;
  color: white;
  padding: 16px 36px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 119, 255, 0.2);
  margin-top: 15px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease 2s forwards;
}

.contact-form button span {
  position: relative;
  z-index: 2;
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 119, 255, 0.3);
  color: #fff;
}

.contact-form button:hover::before {
  left: 0;
}

.contact-form button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #0151a7;
  transition: left 0.4s ease;
  z-index: 1;
}

/* Success message styling */
.form-success {
  display: none;
  text-align: center;
  padding: 20px;
  background-color: #e8f7ef;
  border-radius: 8px;
  margin-top: 20px;
  color: #2d7730;
  font-weight: 600;
  border: 1px solid #27ae60;
  animation: fadeIn 0.5s ease;
}

.error {
    color: red;
    font-size: 0.8em;
    position: absolute;
    bottom: -18px;  /* Adjust as needed */
    left: 10px;
    pointer-events: none;
    line-height: 1;
}
/* Responsive design */
@media (max-width: 992px) {
  .contact-section .container {
    flex-direction: column;
    gap: 40px;
  }

  .contact-image-side,
  .contact-form-side {
    flex: none;
    width: 100%;
  }

  .contact-image-side {
    height: 500px;
  }

  .image-overlay {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 60px 15px;
  }

  .contact-form-container {
    padding: 40px 30px;
  }

  .contact-form-container h2 {
    font-size: 26px;
  }

  .overlay h3 {
    font-size: 26px;
  }

  .contact-image-side {
    height: 450px;
  }
}

@media (max-width: 480px) {
  .contact-form-container {
    padding: 30px 20px;
  }

  .contact-form-container h2 {
    font-size: 22px;
  }

  .overlay h3 {
    font-size: 22px;
  }

  .image-overlay {
    padding: 20px;
  }
}

@media (max-width: 360px) {
  .contact-image-side {
    height: 400px; 
    min-height: 400px;
    overflow: hidden;
    position: relative;
  }
  
  .image-overlay {
    padding: 15px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto; /* Allow scrolling if content overflows */
    background: linear-gradient(135deg, #00000066 0%, #00000066 100%); /* Darker overlay for better readability */
  }
  
  .overlay-content {
    max-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .overlay h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.3;
    word-wrap: break-word;
  }
  
  .overlay p {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 15px;
    word-wrap: break-word;
  }
  
  .contact-features {
    margin: 10px 0;
    max-height: 150px;
    overflow-y: auto;
    padding-right: 5px;
  }
  
  .contact-features li {
    font-size: 12px;
    margin-bottom: 8px;
    padding: 4px 0;
    align-items: flex-start;
    line-height: 1.3;
  }
  
  .contact-features li i {
    width: 18px;
    height: 18px;
    font-size: 10px;
    margin-right: 8px;
    margin-top: 0;
    flex-shrink: 0;
  }
  

  /* Ensure image stays contained */
  .contact-image img {
    object-fit: cover;
    min-height: 100%;
  }
  
  
  .overlay h3,
  .overlay p,
  .contact-features {
    transform: none;
    animation: none; /* Remove animations to prevent layout shifts */
  }
}

/* Additional safety for very small screens */
@media (max-width: 320px) {
  .contact-image-side {
    height: 450px; /* Even more height for very small screens */
  }
  
  .overlay h3 {
    font-size: 16px;
  }
  
  .overlay p {
    font-size: 12px;
  }
  
  .contact-features li {
    font-size: 11px;
  }
  
  .image-overlay {
    padding: 12px;
  }
}

body::-webkit-scrollbar {
  display: none;
}

.modal::-webkit-scrollbar {
  display: none;
}

.rs-partners-area {
  background-color: #fff;
  overflow: hidden;
  position: relative;
}

.rs-section-title-wrapper.centered {
  text-align: center;
  margin-bottom: 50px;
}

.rs-section-title-wrapper.centered .rs-section-subtitle {
  justify-content: center;
}

/* ==== Carousel ==== */
.partners-carousel {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.partner-track {
  display: flex;
  gap: 10px;
}

.partner-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 120px;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-logo:hover {
  transform: scale(1.1);
}



/* Responsive */
@media (max-width: 768px) {
  .partner-logo {
    width: 120px;
    height: 80px;
  }
}

.certificates-section {
  text-align: center;
  padding: 60px 20px; /* added padding for spacing */
}

.certificates-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* exactly 2 columns */
  gap: 40px; /* spacing between certificates */
  max-width: 1000px; /* optional max width */
  margin: 0 auto;
}

.certificate-card {
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.25s ease-in-out;
  width: 100%;
  height: 350px; /* fixed height */
  display: flex;
  align-items: center;
  justify-content: center;
}

.certificate-card:hover {
  transform: translateY(-6px);
}

.certificate-card img {
  height: auto; /* keep image ratio */
  max-height: 100%; /* prevent overflow */
  object-fit: contain; /* scale image nicely */

  /* Elegant, professional styling */
  border: 1px solid #0151a7; /* subtle theme color border */
  border-radius: 6px; /* soft corners */
  box-shadow: 0 4px 10px rgba(1, 81, 167, 0.2); /* light, professional shadow */
}



/* ===========================
   MODAL STYLING
   =========================== */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 33%;
}

.close {
  position: absolute;
  top: 30px;
  right: 45px;
  color: #ffffff;
  font-size: 45px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.close:hover {
  color: #dc3545;
}

@media (max-width: 768px) {
  .modal-content {
    max-width: 60%;
  }
}

@media (max-width: 425px) {
  .modal-content {
    max-width: 80%;
    margin-top: 30px;
  }
  .certificates-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* exactly 2 columns */
  }

  .certificate-card {
    width: 100%;
    height: 250px;
  }
}

/* ===== FIXED SECTION SPACING ===== */


/* Specific section spacing adjustments */
.video-hero {
  padding: 0 !important;
  margin-bottom: 0;
}

.rs-about-area {
  margin-top: 0;
  margin-bottom: 0;
}

.products-section {
  margin: 0;
  padding-top: clamp(30px, 5vw, 60px);
  padding-bottom: clamp(30px, 5vw, 60px);
}

.features-section {
  margin: 0;
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

.rs-partners-area {
  margin: 0;
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

.certificates-section {
  margin: 0;
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

/* Ensure smooth transitions between sections with different backgrounds */
section:not(.video-hero) + section:not(.video-hero) {
  border-top: 1px solid transparent;
}

/* Specific adjustments for sections that follow video hero */
.video-hero + section {
  margin-top: 0;
}

/* Mobile-specific spacing fixes */
@media (max-width: 768px) {
  section {
    padding: clamp(30px, 5vw, 60px) 12px;
  }

  .video-hero + section {
    margin-top: 0;
  }
}

@media (max-width: 576px) {
  section {
    padding: clamp(25px, 4vw, 50px) 10px;
  }
}

.company-videos {
  padding: 40px 0;
}

/* Carousel item container */
.video-item {
  padding: 15px;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.video-item:hover {
  transform: translateY(-5px);
}

/* Responsive video styling (16:9 ratio) */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 10px;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Owl Navigation */

/* Owl Dots */
.owl-carousel .owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  background: #bbb;
  transition: 0.3s;
}

.owl-carousel .owl-dots .owl-dot.active span {
  background: #4a6cf7;
}


/* Scroll-triggered animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Optional: different effects */
.animate-slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s ease-out;
}

.animate-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s ease-out;
}

.animate-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}


.full-image-section {
    width: 100%;
    padding: 60px 0 !important;
}

.full-image-section img {
    width: 100%;
    height: auto;          /* keeps aspect ratio */
    display: block;        /* removes small gaps under images */
    object-fit: cover;     /* makes sure image covers width nicely */
}