/* GLOBAL STYLES */
html,
body {
  overflow-x: hidden;
}
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #333;
}

/* Links */
a {
  text-decoration: none;
  color: inherit;
}

/* TOP BAR */
.top-nav {
  background-color: #004e94;
  color: white;
  padding: 0.5rem 0;
}

.top-nav ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  gap: 1.5rem;
}

.top-nav li {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
}

.top-social-links ul {
  display: flex;
  gap: 0.75rem;
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}

.top-social-links a {
  color: white;
  font-size: 1rem;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.phnumber p {
  margin: 0;
}

.left-nav a,
.phnumber a {
  color: white;
  text-decoration: none;
}

/* NAVBAR */
.navbar {
  background-color: #ffffff;
}
.navbar.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1050; 
}


.navbar-brand img {
  height: 50px;
}

.nav-link {
  color: #004e94;
}

.nav-link:hover {
  color: #94095b;
}

.btn-primary {
  background-color: #004e94;
  border-color: #004e94;
}

.btn-primary:hover {
  background-color: #003c74;
}

/* CAROUSEL / TOP VIDEOS */
.carousel-item {
  position: relative;
  height: 60vh;
  overflow: hidden;
  background-color: black;
}

.carousel-item iframe {
  position: absolute !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  min-height: 100%;
  min-width: 100%;
  pointer-events: none;
  z-index: 1 !important;
}

.carousel-caption {
  position: absolute;
  z-index: 9999;
  opacity: 1;
  bottom: 20px;
  right: 20px;
  left: auto;
  top: auto;
  transform: none;
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: right;
}

@media (max-width: 767px) {
  .carousel-item {
    height: 25vh !important;
  }

  .carousel-caption {
    width: 90%;
    right: 5%;
    left: auto;
    bottom: 10px;
    padding: 10px;
    font-size: 0.9rem;
  }
}

/* ABOUT SECTION */
.about-section {
  background-color: #f5faff;
  border-radius: 16px;
  padding: 60px 30px;
  box-shadow: 0 5px 25px rgba(0, 78, 148, 0.1);
  margin-top: 40px;
}

.about-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  border-bottom: 3px solid #004e94;
  display: inline-block;
  color: #004e94;
}

.about-section h2 span {
  color: #1b6ec2;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
}

.about-section a.btn-primary {
  background-color: #004e94;
  border-color: #004e94;
  font-weight: 500;
  transition: all 0.3s ease;
}

.about-section a.btn-primary:hover {
  background-color: #00356e;
  border-color: #00356e;
}

.about-section a.text-primary {
  color: #1b6ec2;
  text-decoration: none;
}

.about-section a.text-primary:hover {
  text-decoration: underline;
}

.about-section img {
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  max-height: 350px;
  object-fit: cover;
}

.about-image-group {
  display: inline-block;
}

.about-image-group .main-image {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.about-image-group .overlay-image {
    position: absolute;
    bottom: -30px;
    border-radius: 12px !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15) !important;
    border: 4px solid #fff;
    background-color: #fff;
    overflow: hidden;
    right: 0;
    transform: translateX(20%);
    max-width: 90%;
    width: 220px;
}

@media (max-width: 767px) {
    .about-image-group .overlay-image {
        margin-right: 20px;
        width: 140px;

    }
}

/* SERVICES */
.service-area {
  background-size: cover;
  background-attachment: scroll;
  background-position: center;
  position: relative;
  padding: 100px 20px 50px;
  z-index: 1;
  color: #fff;
  background-blend-mode: overlay;
}

.service-area::before {
  content: "";
  background: rgba(32, 115, 186, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.sec-title {
  text-align: center;
  margin-bottom: 40px;
}

.sec-title h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.sec-title .decor {
  width: 60px;
  height: 3px;
  background: #6e4cc4;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 10px;
}

.single-service-item {
  border-radius: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, background 0.3s ease;
  backdrop-filter: blur(5px);
}

.single-service-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
}

.img-holder {
  position: relative;
  overflow: hidden;
}

.img-holder img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(32, 115, 186, 0.75);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.content i {
  background: #2073ba;
  color: #fff;
  font-size: 20px;
  padding: 12px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.content a:hover i {
  background: #005f99;
  text-decoration: none;
}

.img-holder:hover .overlay {
  opacity: 1;
}

.img-holder:hover img {
  transform: scale(1.08);
}

.text-holder {
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.85);
}

.text-holder a {
  text-decoration: none !important;
}

.text-holder h3 {
  font-size: 20px;
  font-weight: 500;
  margin: 20px 0 6px;
  color: #ffffff;
}

.text-holder h3 span {
  color: #1b6ec2;
}

.text-holder p {
  color: #e0e0e0;
  font-size: 14px;
}

/* HERO SECTION */
.hero {
  background-color: #f8f9fa;
  padding: 80px 0;
  color: black;
  text-align: center;
}

/* WHY CHOOSE US */
.feature {
  padding: 20px;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px rgba(14, 1, 1, 0.1);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 10px;
  font-family: "Segoe UI Emoji", "Noto Color Emoji", "Apple Color Emoji", sans-serif;
}

figcaption {
  font-weight: 500;
  font-size: 16px;
  margin-top: 5px;
}

/* PRODUCTS */
.product-item {
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  background-color: #ffffff;
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  background-size: cover;
  background-position: center;
}

.product-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 1;
}

.product-item h5 {
  position: relative;
  z-index: 2;
  margin: 0 0 18px 0;
  font-weight: bold;
  font-size: 1.25rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/*  IMAGE GALLERY */
.image-gallery-section .gallery-card,
.image-gallery-section .gallery-img {
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border-radius: 10px;
}

.image-gallery-section .gallery-card:hover,
.image-gallery-section .gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.image-gallery-section .gallery-card img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.image-gallery-section .modal-dialog {
  max-width: 95vw;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 95vh;
}

.image-gallery-section .modal-content {
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  min-width: 60vw;
  padding: 0;
  position: relative;
}

.image-gallery-section .modal-content img,
#modalImage {
  max-width: 50vw;
  max-height: 55vh;
  width: 100%;
  height: auto;
  margin: auto;
  display: block;
  object-fit: contain;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  background: #fff;
}

.image-gallery-section .btn-close {
  filter: invert(1);
  background: #222 !important;
  border-radius: 50%;
  padding: 0.5rem;
  z-index: 1055;
  position: absolute;
  top: 12px;
  right: 12px;
  opacity: 1 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 576px) {

  .image-gallery-section .modal-content img,
  #modalImage {
    max-width: 100vw;
    max-height: 70vh;
    width: 100%;
    height: auto;
  }
}

section.image-gallery-section {
  background: linear-gradient(135deg, white, gray);
}

/* CONTACT FORM */
.contact-section {
  background: #f4f9ff;
  padding: 60px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 78, 148, 0.1);
}

.contact-section h2 {
  color: #1b6ec2;
}

.contact-form .form-control {
  border-radius: 8px;
  border: 1px solid #cbd5e0;
  padding: 12px 16px;
  font-size: 16px;
}

.contact-form .btn {
  background-color: #2073ba;
  color: white;
  border: none;
  font-size: 16px;
  padding: 10px 30px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.contact-form .btn:hover {
  background-color: #005f99;
}

/* COMPARISON TABLE / BENEFITS */
.comparison-table th,
.comparison-table td {
  vertical-align: middle;
  text-align: center;
}

.benefit-item {
  margin-bottom: 15px;
}

/* FOOTER */
footer {
  background-color: #004e94;
  color: white;
  padding: 1rem 0;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 767px) {
  .carousel-item {
    height: 25vh !important;
  }
}