.color-1 {
  color: #348ecf;
}
.color-2 {
  color: #f7b305;
}

.color-3 {
  color: #c5d932;
}
.color-4 {
  color: #81d1e3;
}
.bg-color-1 {
  background-color: #031736;
}

/* ======================================= */
#our-products {
  padding: 60px 0px;
  position: relative;
  overflow: hidden;
}

#our-products .section-title p {
  font-size: 42px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 1px;
  color: #031736 !important;
}

.slider-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 25px;
  margin: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
  overflow: visible;
}

.slider-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.section-title01 p {
  font-size: 24px !important;
  font-weight: 600;
  text-align: center;
  margin-bottom: 15px;
  color: #031736;
}

.slider-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
  opacity: 0.9;
  margin-bottom: 20px;
  flex-grow: 1;
}

.portfolio-wrap {
  text-align: center;
  position: relative;
}

.portfolio-wrap img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.portfolio-wrap img:hover {
  transform: scale(1.05);
}

.portfolio-wrap h4 {
  margin-top: 15px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
}

.button {
  background: #f7b305;
  color: #031736;
  font-weight: 600;
  border-radius: 8px;
  padding: 8px 20px;
  border: none;
  transition: all 0.3s ease;
  margin: 5px;
  cursor: pointer;
}

.button:hover {
  background: #fff;
  color: #031736;
  transform: translateY(-2px);
}

.features-panel {
  position: absolute;
  top: 0;
  right: -320px; /* hidden offscreen */
  width: auto;
  height: 100%;
  background: rgba(3, 23, 54, 0.95);
  padding: 30px;
  border-radius: 12px 0 0 12px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.features-panel.open {
  right: 0; /* slide in */
  opacity: 1;
  visibility: visible;
}

.features-panel .close-panel {
  position: absolute;
  top: 10px;
  left: 10px;
  background: none;
  border: none;
  color: #f7b305;
  font-size: 24px;
  cursor: pointer;
}

/* Gallery Modal */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  padding: 40px;
}

.gallery-content {
  position: relative;
  text-align: center;
  max-width: 90%;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  z-index: 2001;
}

#gallery-main {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 10px;
  margin-bottom: 20px;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 15px;
  flex-wrap: wrap;
}

.gallery-thumbs img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.gallery-thumbs img:hover,
.gallery-thumbs img.active {
  border-color: #f7b305;
  transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #our-products {
    padding: 50px 15px;
  }

  #our-products .section-title p {
    font-size: 1.5rem;
  }

  .section-title01 p {
    font-size: 1.2rem;
  }

  .features-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    right: auto;
    width: 90%;
    max-height: 70vh;
    overflow-y: auto;
  }

  .features-panel.open {
    right: auto;
    transform: translate(-50%, -50%);
  }

  .features-panel .close-panel {
    position: absolute;
    top: 0px;
    right: 0px;
    margin: 0; /* remove the margin pushing it down */
    z-index: 1000; /* ensure it stays on top */
  }
}

#certified {
  padding: 60px 0px;
  position: relative;
  overflow: hidden;
  background-color: #031736;
}

.certified p {
  color: #fff !important;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;

}

.bgs-dark {
  position: relative;
  background: linear-gradient(-45deg, #fff, #0a2e60, #1565c0, #fff);
  background-size: 200% 200%;
  animation: pulseGradient 10s ease infinite;
  padding: 80px 0;
  color: #fff;
}

@keyframes pulseGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.bgs-dark h3 {
  font-size: 28px;
  font-weight: 800;
  color: #031736;
  margin-bottom: 50px;
}

.center-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Circle Info Boxes */
.c-round-info {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin: 20px auto;
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hover Effect */
.c-round-info:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 12px 25px rgba(0,0,0,0.5);
  border-color: #ffd54f;
  color: #ffd54f;
}

/* Responsive Grid */
@media (max-width: 991px) {
  .c-round-info {
    width: 140px;
    height: 140px;
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  .c-round-info {
    width: 120px;
    height: 120px;
    font-size: 12px;
  }
  .bgs-dark h3 {
    font-size: 20px;
    margin-bottom: 30px;
  }
}

.portfolio-img{
  cursor: pointer;
}


/* Modal background */
.modal {
  display: none; 
  position: fixed; 
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

/* Fullscreen image */
.modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255,255,255,0.3);
  animation: zoomIn 0.3s ease;
}

/* Close button */
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f7b305;
  font-size: 40px;
  cursor: pointer;
  transition: 0.2s;
}
.close:hover {
  color: #f00;
}

/* Zoom animation */
@keyframes zoomIn {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
