* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: poppins;
}




body {
  background-color: #002147;
  font-family: "Inter", sans-serif;
}





h1 {
  text-align: center;
  padding: 20px;
  color: #ffffff; /* Ensure heading is visible */
}

.card-title-static {
  position: absolute;
  top: 304px;
  left: 18px;
  width: 100%;
  color: white;
  padding: 0.75rem 1rem;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: 0%;
  transition: opacity 0.3s ease;
  z-index: 1;
  text-align: left;
}

.custom-carousel-container {
      width: 100%;
      height: 660px;
      overflow: hidden;
      margin: auto;
      position: relative;
      background-color: white;
    }

    .custom-carousel-images {
      display: flex;
      width: calc(200% + 100px); /* 2 images + divider */
      transition: transform 1.5s ease-in-out;
    }

    .custom-carousel-images img {
      width: 1441px;
      height: 660px;
      object-fit: cover;
      display: block;
    }

    .custom-carousel-divider {
      width: 100px;
      height: 660px;
      background-color: white;
      flex-shrink: 0;
    }
    
.enquire-button {
  position: absolute;
  bottom: -250px;
  right: 0px;
  z-index: 9999;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.enquire-button img {
  width: 75px; /* Maintain size */
  height: auto;
}

.enquire-button:hover {
  transform: scale(1.1); /* Maintain hover effect */
}



/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .enquire-button {
    bottom: 10px; /* Closer to bottom on smaller screens */
    right: 10px; /* Closer to right */
    width: 80px; /* Smaller size for mobile */
  }

  .enquire-button img {
    width: 80px; /* Adjust image size for mobile */
  }
}

@media (max-width: 576px) {
  .enquire-button {
    bottom: 8px; /* Further adjust for very small screens */
    right: 8px;
    width: 60px; /* Even smaller size */
  }

  .enquire-button img {
    width: 60px;
  }
}



@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding-inline: 5px;
    font-size: 12px;
  }
}

.video-overlay-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: absolute;
  right: 0;
  top: 70%;
  z-index: 10;
}

.video-overlay-image {
  width: 50px;
  height: auto;
}

/* Contact Form Styles */
.contact-form-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 600px;
  max-width: 90%;
  background-color: #002147 !important;
  color:white !important;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease-in-out;
  z-index: 1000;
}

.contact-form-container.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}


/* Close Button Styles */
.close-btn {
  color: white;
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
  font-size: 24px;
  transition: transform 0.3s ease;
}

.close-btn:hover {
  transform: scale(1.2);
}

/* Submit Button Styles */
.submit-btn {
  background-color: white;
  color: #1f6ca4;
  font-weight: bold;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  width: 100%;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

/* Ensure proper layout and alignment */
.form-group .d-flex {
  display: flex;
  align-items: center;
  /* Vertically center items in the flex container */
}

.form-group select,
.form-group input {
  border-radius: 4px;
  /* Ensure both elements have rounded borders */
}

.form-group .form-control {
  font-size: 14px;
  /* Adjust font size for readability */
}


.form-group select {
  width: 10%;
  /* Adjust as needed */
}

/* Make the phone input take up the remaining space */
.form-group .flex-grow-1 {
  flex-grow: 1;
}



.grp-container {
  padding: 80px;
}



/* Fullscreen overlay for grid menu */
.fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(185, 194, 204, 0.95);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}

.fullscreen-overlay.active {
  opacity: 1;
  visibility: visible;
}

.overlay-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
}

.overlay-close-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.grid-container {
  width: 90%;
  max-width: 1200px;
  padding: 30px;
}

/* Updated grid layout to match your example */
.grid-menu {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: repeat(7, 1fr);
  gap: 8px;
  height: 80vh;
}

/* Grid areas for each menu item */
.menu-item-1 {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
  background-color: #003770;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideIn 0.8s ease forwards 0.1s;
}

.menu-item-2 {
  grid-column: 3 / span 2;
  grid-row: 1 / span 4;
  background-color: #003770;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideIn 0.8s ease forwards 0.2s;
}

.menu-item-3 {
  grid-column: 2 / span 3;
  grid-row: 5 / span 2;
  background-color: #003770;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideIn 0.8s ease forwards 0.3s;
}

.menu-item-4 {
  grid-column: 5 / span 4;
  grid-row: 2 / span 2;
  background-color: #003770;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideIn 0.8s ease forwards 0.4s;
}

.menu-item-5 {
  grid-column: 5 / span 3;
  grid-row: 4 / span 4;
  background-color: #003770;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideIn 0.8s ease forwards 0.5s;
}

.grid-menu>div {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.grid-menu>div:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.grid-menu>div a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.overlay-active {
  overflow: hidden;
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fallback list for small screens */
.navbar-list {
  display: none;
}

/* Responsive styles */
@media (max-width: 992px) {
  .grid-menu {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(12, 1fr);
  }

  .menu-item-1 {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
  }

  .menu-item-2 {
    grid-column: 3 / span 2;
    grid-row: 1 / span 4;
  }

  .menu-item-3 {
    grid-column: 1 / span 3;
    grid-row: 5 / span 2;
  }

  .menu-item-4 {
    grid-column: 5 / span 3;
    grid-row: 2 / span 2;
  }

  .menu-item-5 {
    grid-column: 4 / span 3;
    grid-row: 7 / span 4;
  }

  .grid-menu>div a {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .grid-menu {
    display: none;
  }
  
   .grp-container {
    padding: 20px; /* Reduce padding */
  }

  .navbar-list {
    display: block;
    list-style: none;
    padding-left: 0px;
    margin-bottom: 0px;
  }

  a.nav-link {
    font-size: 24px;
    font-weight: 500;
    color: white;
  }

  ul.navbar-list>li+li {
    margin-top: 5px;
  }
  
  
  .card-title-static,
  .overlay-text {
    font-size: 18px; /* Smaller text */
  }
}

/* Header CSS */
/* header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding-block: 5px;
} */



header nav.navbar {
  padding-block: 5px;
  justify-content: flex-start;
  align-items: center;
  gap: 0px 0px;
  flex-wrap: nowrap;
}

a.navbar-brand {
  margin: 0px;
  padding: 0px;
  flex: 0 0 auto;
  width: 50px;
}

.navBtn-box ul {
  display: flex;
  gap: 0px 16px;
  align-items: center;
}


.logo-image {
  margin-left: 42px;
}
.nav-btn {
  color: white;
  font-size: 0.875rem;
  font-weight: 400;
  border: 1px solid white;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  background-color: transparent;
}

.nav-btn:hover {
  background-color: #7e3e29 !important;
  color: white;
}

.navbar-portion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 0 0 auto;
  width: calc(100% - 50px);
  padding-left: 20px;
}

.navBar-portionContent {
  display: flex;
  align-items: center;
  gap:  28px;
  position: relative;
}


.collapse-btnBox {
  display: none;
  z-index: 1000;
}

.button.search-btn,
.button.collapseBtn {
  width: 28px;
  height: 28px;
  border: 0px;
  background-color: transparent;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}


.custom-btn {
  border: 1px solid white;
  padding: 0.3rem 0.8rem;
  border-radius: 0.375rem;
  color: white;
  background-color: transparent;
  font-size: 0.9rem;
  width: fit-content;
}

.custom-btn:hover {
  background-color: #7e3e29;
  color: white;
  border-color: #7e3e29;
}


.collapse-btnBox.collapse-btnBox-active {
  display: block;
  position: absolute;
  top: 40px;
  background-color: #fff;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px;
  width: max-content;
}

ul.navbar-list {
  list-style: none;
  padding-left: 0px;
  margin-bottom: 0px;
}

a.nav-link {
  font-size: 24px;
  font-weight: 500;
  color: #000;
}

ul.navbar-list>li+li {
  margin-top: 5px;
}

/* Hide elements only on small screens */
@media (max-width: 768px) {

  .navbarSearch,
  .logIn-btnBox {
    display: none;
  }

 .nav-btn {
    font-size: 0.8rem; /* Slightly smaller font for mobile */
    margin: 5px 0; /* Add vertical spacing between menu items */
    width: 100%; /* Full-width buttons for better tap targets */
    padding: 0.5rem;
  }
  
  .mobile-only {
    display: block !important;
  }

  .navBar-portionContent {
    flex-direction: row-reverse;
    /* collapseBtn right side */
  }
}

/* Default: mobile-only items hidden on large screens */
.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .collapse-btnBox.collapse-btnBox-active {
    left: auto;
    right: 10px;
    transform: none;
  }

  .custom-btn {
    font-size: 14px;
    padding: 6px 12px;
  }
}

/* Sticky Header */
header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Video Section */
.video-section {
  position: relative;
  height: calc(100vh - 115px);
  overflow: hidden;
  /* Ensures the video starts below the header */
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures the video covers the full space */
}

/* For the button overlay on the video */
.video-section a {
  position: absolute;
  width: 78px;
  height: 289px;
  top: 452px;
  right: 0px;
  z-index: 2;
  display: block;
}

.video-section a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Group Companies Section */
.wrapper {
  background-color: #17629f;
  padding-top: 4rem;
  padding-bottom: 4rem;
  padding-left: 1rem;
  padding-right: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.custom-shadow {
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.excellent-skills {
  padding: 10px;
  margin-top: -25px;
}

.expertise {
  margin-top: -57px;
}

@media (max-width: 768px) {
  .excellent-skills {
    padding: 5px;
    margin-top: -7px;
  }

  .expertise {
    margin-top: -7px;
  }
}

.grp-company {
  font-family: "Inter", sans-serif;
  background-color: #f3f3f3;
  color: black;
}

.grp-desc {
  padding: 10px 205px;
  font-size: 20px;
}

@media (max-width: 1200px) {
  .grp-desc {
    padding: 5px 10px;
    font-size: 14px;
  }
}

.px-30 {
  padding-left: 30px;
  padding-right: 30px;
}

@media (max-width: 768px) {
  .grp-desc {
    padding: 10px 20px;
    font-size: 16px;
  }

  .px-30 {
    padding-left: 0px;
    padding-right: 0px;
  }
}

/* Text & Image Container */
.text-img-container {
  max-width: 750px;
  height: 600px;
  margin: 0 auto;
  position: relative;
  margin-bottom: 30px;
  margin-top: 30px;
}

/* Heading Styles */
.heading-style {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 100%;
  letter-spacing: 0;
  vertical-align: middle;
  text-align: center; /* optional: center align */
}

.custom-container {
   background-color: #002147;
  color: #ffffff;
  padding: 40px 20px;
  font-size: 25px;
}

.custom-row {
  margin-bottom: 0 !important;
}

.custom-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-text {
  font-size: 20px;
  line-height: 150%;
}

.custom-card-content {
  flex-grow: 1;
  padding: 40px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  box-shadow: inset 0 0 20px #0000003b;
  overflow: hidden;
  border: none;
}

.customPadding {
  flex-grow: 1;
  padding: 40px 60px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.custom-card-content h5 {
  margin-bottom: 0.75rem;
}

.bottom-full-width {
  margin-top: 1rem;
}

.bottom-full-width .card {
  margin-bottom: 0;
}

.company-info-box {
  position: absolute;
  /* top: 40px; */
  left: -244px;
  width: 692px;
  height: 460px;
  border-radius: 5px;
  background-color: white;
  z-index: 1;
  box-shadow: 15px 10px 16px -6px rgba(0, 114, 181, 1);
}

.company-info-heading {
  color: #0a4f80;
  font-weight: bold;
  font-size: 32px;
  padding: 10px 15px;
  /* border-bottom: 1px solid #e0e0e0; */
  margin-top: 56px;
  
}

.company-info-content {
  padding: 10px 0;
  padding-left: 47px;
  padding-right: 95px;
  font-size: 24px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .company-info-box {
    position: relative;
    width: 90%;
    max-width: 420px;
    left: auto;
    margin: 0 auto;
  }
  
   .custom-container {
    padding: 20px 10px; /* Reduce padding */
  }


  .heading-style {
    font-size: 32px; /* Smaller heading size */
  }
  
  
    .text-section p {
    font-size: 18px; /* Smaller text size */
  }
  
  .company-info-heading {
    font-size: 24px;
    margin-top: 20px;
  }

  .company-info-content {
    font-size: 16px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

.read-more-btn {
  display: inline-block;
  background-color: white;
  color: #0a4f80;
  border: 1px solid #0a4f80;
  padding: 10px;
  border-radius: 3px;
  font-size: 14px;
  text-decoration: none;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 45px;
  font-weight: 500;
}

.read-more-btn:hover {
  background-color: #0a4f80;
  color: white;
}

.military-image {
  position: absolute;
  top: 137px;
  right: -250px;
  width: 650px;
  height: 460px;
  overflow: hidden;
  z-index: 2;
}

.military-image img {
  width: 100%;
  height: 100%;
}

/* Line of Business Section */
.main-title {
  color: #0a4f80;
  text-align: center;
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 30px;
  padding-top: 15px;
}

.wrapper .bg-white {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0%;
}

@media (max-width: 768px) {
  .main-title {
    font-size: 18px;
  }

  .wrapper .bg-white {
    font-size: 14px;
  }
}

.main-container {
  /* max-width: 1250px; */
  margin: 0 auto;
  padding: 45px 70px 65px;
}
@media (max-width: 991.98px) {
  .main-container {
    padding: 30px 40px 50px;
  }
}

@media (max-width: 767.98px) {
  .main-container {
    padding: 20px 15px 30px;
  }
}
/* Service Card Styles */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  height: 380px;
}

/* Ensure the image is always visible */
.service-card img {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  display: block;
}

.overlay-text {
  font-family: Inter;
  font-weight: 600;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: justify;
}



/* Hide overlay text when hovering */
.service-card:hover .overlay-text {
  opacity: 0;
  /* Hide the overlay text when hovering */
}


  



.read-more {
  font-size: 18px;
   padding: 10px
}

/* Slide up the read-more text when hovering */
.service-card:hover .read-more {
  bottom: 0;
}

/* Ensure the text is centered within the image */
.service-overlay-text {
  position: absolute;
  bottom: 25px;
  /* 25px from the bottom */
  left: 50%;
  /* Position in the center horizontally */
  transform: translateX(-50%);
  /* Offset by 50% of its width to center it */
  color: white;
  font-weight: 600;
  font-size: 20px;
  text-transform: uppercase;
  z-index: 10;
  padding: 8px 15px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 5px;
  width: 90%;
  /* Limit the width of the text container */
  text-align: center;
  /* Center the text inside the container */
  white-space: nowrap;
  /* Prevent text from wrapping into a new line */
}

.service-overlay-text h4 {
  margin: 0;
  padding: 0;
  font-size: 22px;
  line-height: 1.2;
  color: #000;
}

/* Make cards full width on small screens */
@media (max-width: 767.98px) {
  .service-card {
    height: auto !important;
  }

  .service-card img {
    height: auto;
  }

  .service-overlay-text {
    font-size: 16px;
    width: 100%;
    padding: 5px 10px;
  }

  .service-overlay-text h4 {
    font-size: 18px;
  }
}


/* Heading Styles inside the read-more */
.read-more h4 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #0a4f80;
  align-self: flex-start;
  /* Move heading to left */
}

/* Read More Button Styles */
.read-more-btn {
  background-color: white;
  color: #0a4f80;
  border: 1px solid #0a4f80;
  padding: 6px 12px;
  border-radius: 3px;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s;
  align-self: flex-end;
  /* Move button to the right */
  margin-top: 5px;
}

/* Hover Effect for Read More Button */
.read-more-btn:hover {
  background-color: #0a4f80;
  color: white;
}


/* Fixed grid layout */
.fixed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
}

.left-column,
.middle-column,
.right-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Responsive behavior */
@media (max-width: 992px) {
  .fixed-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .right-column {
    grid-column: span 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .fixed-grid {
    grid-template-columns: 1fr;
  }

  .right-column {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
  }
}

/* Contact Form */
.contact {
  background-color: #e6e9eb;
  padding-bottom: 40px;
}

.form {
  background-color: #1c6ca4;
}

@media (max-width: 768px) {}

/* Footer */
.custom-icon-color {
  color: white !important;
  text-decoration: none !important;
}


/* Responsive Styles */
@media (max-width: 992px) {
  .fixed-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .right-column {
    grid-column: span 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .service-card {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .navbar-portion {
    flex-direction: column;
    align-items: flex-end;
    padding-right: 10px;
  }

  .navBtn-box {
    margin-bottom: 10px;
  }

  .fixed-grid {
    grid-template-columns: 1fr;
  }

  .right-column {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
  }

  .text-img-container {
    height: auto;
  }

  .company-info-box,
  .military-image {
    position: relative;
    width: 90%;
    max-width: 420px;
    top: auto;
    right: auto;
    left: auto;
    margin: 0 auto;
  }

  .company-info-box {
    margin-bottom: 20px;
  }

  .military-image {
    top: 20px;
  }

  .service-card {
    height: 250px;
  }
}


.text-section {
  padding-right: 20px;
}


@media (max-width: 768px) {
  .text-section,
  .image-section {
    text-align: center;
  }
  .image-section img {
    margin-top: 20px;
  }
}

@media (max-width: 576px) {
  .navBtn-box ul {
    display: none;
  }
  
   .text-section p {
    font-size: 16px; /* Further reduce text size */
  }
  
   .nav-btn {
    font-size: 0.75rem; /* Even smaller font for very small screens */
  }

.custom-text {
  font-size: 14px;
}

  .company-info-box,
  .military-image {
    width: 95%;
    height: auto;
    padding: 2px;
  }


  .card-title-static,
  .overlay-text {
    font-size: 16px; /* Smaller text */
  }
  
  .overlay {
    height: 100px; /* Further reduce overlay height */
  }

  .service-card {
    height: auto;
  }
}

.footer {
  background-color: #002147;
}

/* Modal */
.modal-custom-input {
  border-radius: 4px;
  border: 1px solid #ced4da;
}

.modal-custom-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 4px;
  width: 100%;
}

.modal-custom-btn:hover {
  background-color: #0056b3;
}

.otp-input {
  width: 40px;
  height: 40px;
  text-align: center;
  margin: 0 5px;
}

/* Custom styles for phone input */
.iti {
  width: 100%;
}

.custom-phone-input {
  padding-left: 60px !important;
}

.register-link {
  color: #007bff;
  text-decoration: none;
}

.register-link:hover {
  text-decoration: underline;
}

.customHeight {
  height: 570px;
}



/*our-solution*/


.solution-card {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
  height: 370px;
  width: 250px;
}



.solution-card:hover .overlay {
  opacity: 1;
}


    .solution-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .solution-card-title {
      position: absolute;
      bottom: 1rem;
      left: 1rem;
      color: white;
      font-weight: bold;
      font-size: 0.875rem;
      line-height: 1.2;
      text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    }
.extra-margin {
  margin-top: 40px;
}

    @media (max-width: 575.98px) {
      .solution-card {
        width: 100%;
        height: auto;
      }

      .solution-card img {
        height: auto;
      }
      .extra-margin {
        margin-top: 0px;
      }
    }
    
    /*line of business*/
    
     .section-heading {
      color: #1e3a8a;
      font-weight: bold;
      font-size: 2.5rem;
      text-align: center;
      margin: 40px 0;
    }

   
.business-box {
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
  font-family: Poppins;
  font-weight: 600;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
}

.business-box img {
  width: 100%;
  object-fit: cover;
}

.business-box {
  position: relative;
}

.card-label-wrapper {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff8c; /* fully transparent wrapper */
  padding: 0;
  white-space: nowrap;
  text-align: center;
  pointer-events: none; /* optional: prevents hover block interference */
  cursor: pointer;
  border-radius: 6px;
}

.card-label-wrapper:hover {
  background: white; /* Maintain transparency on hover */
}


    .card-label {
      background: rgba(255,255,255,0.9);
      color: #333;
      padding: 8px 15px;
      border-radius: 20px;
      font-weight: 600;
      display: inline-block;
    }

   

    .card-weapon {
      margin-top: 43px;
    }

    .card-homeland {
    }

    .card-perimeter {
    }

    .card-service {
    }

    @media (max-width: 768px) {
      .section-heading {
        font-size: 2rem;
        margin: 20px 0;
      }

      .business-box {
        margin-bottom: 15px;
      }

      .card-land,
      .card-weapon,
      .card-homeland,
      .card-perimeter,
      .card-service {
        height: 250px;
      }


      .card-weapon {
        margin-top: 0;
      }
      
      
  .solution-card {
    height: 300px; /* Reduce card height */
    width: 100%; /* Full width for cards */
    margin-bottom: 20px;
  }
  
    }

    @media (max-width: 576px) {
      .section-heading {
        font-size: 1.5rem;
      }
      
        .business-box {
    margin-bottom: 15px;
  }

      .card-land,
      .card-weapon,
      .card-homeland,
      .card-perimeter,
      .card-service {
        height: 200px;
      }

      .card-label-wrapper {
        padding: 5px;
      }

      .card-weapon {
        margin-top: 0;
      }
      
       .solution-card {
    height: 250px; /* Further reduce height */
  }
  
    }
    /*grid-view*/
    
    .responsive-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto;
    gap: 40px;
    padding: 10px;
    min-height: 100vh;
    box-sizing: border-box;
    background-color: #002349;
  }
.grid-last-box {
    background-color: white;
    color: #000;
    font-size: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 150%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    min-height: 100px;
  }
  .grid-box {
    background-color: white;
    color: #000;
    font-size: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 150%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    min-height: 100px;
  }
.grid-box:hover {
  background-color: #7E3E29;
}
  /* Grid positioning for large screens */
  .responsive-grid > div:nth-child(1) { grid-column: span 2; grid-row: span 3; }
  .responsive-grid > div:nth-child(2) { grid-column: 3 / span 2; grid-row: 2 / span 3; }
  .responsive-grid > div:nth-child(3) { grid-column: 5 / span 2; grid-row: 1 / span 3; }
  .responsive-grid > div:nth-child(4) { grid-column: span 2; grid-row: 4 / span 3; }
  .responsive-grid > div:nth-child(5) { grid-column: 3 / span 2; grid-row: 5 / span 3; }
  .responsive-grid > div:nth-child(6) { grid-column: 5 / span 2; grid-row: 4 / span 2; }
  .last-box {
    grid-column: span 6;
    background-color: #fff;
    color: #000;
    min-height:100px;
      font-size: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 150%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
  }

  /* Responsive layout for small screens */
  @media (max-width: 768px) {
    .responsive-grid {
      display: flex;
      flex-direction: column;
      padding: 20px 10px;
    }


  }
#read-more-btn:hover {
  background-color: #86432B;
  color: white;
  border: 1px solid white;
}


/* Group Companies Section */
@media (max-width: 768px) {
  .grp-container {
    padding: 20px; /* Reduce padding */
  }

  .grp-row {
    flex-direction: column; /* Stack columns vertically */
    gap: 15px; /* Reduce gap */
  }

  .grp-box {
    font-size: 16px; /* Smaller text */
    padding: 15px; /* Reduced padding */
  }

  .last-box {
    font-size: 16px;
    padding: 15px;
  }

  .margin {
    margin-top: 15px; /* Reduced margin */
  }
}


.bar-strip {
  height: 6px;
  background-color: #86432b;
  width: 100%;
}

.paragraph {
  font-size: 25px;
}



.grp-row {
  display: flex;
  gap: 30px;
  width: 100%;
}

.grp-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.grp-box {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 150%; /* 1.5 */
  letter-spacing: 0%;
  padding: 25px;
  background-color: #ffffff;
  border: 1px solid #ddd;
  width: 100%;
  color: black;
}
.grp-box:hover {
  background-color: #7e3e29;
  color: white;
}
.last-box:hover {
  background-color: #7e3e29;
  color: white;
}


.custom-text {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0%;
  text-align: center;
  color: #000000bf;
}


/* 
solution */
.custom-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.563rem;
    /* padding: 0 40px; */
    max-width: 100%;
    box-sizing: border-box;
}



.solution-card {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
  height: 370px;
  width: 250px;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 170px;
  background-color: #002349;
  color: white;
  padding: 1.2rem 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 30px;
}
.overlay-text {
  font-family: Inter;
  font-weight: 600;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: justify;
}

.overlay-button {
  position: absolute;
  bottom: 20px;
  right: 20px;
}

.solution-card:hover .overlay {
  opacity: 1;
}

  .input-underline {
      border: none;
      border-bottom: 1px solid white;
      border-radius: 0;
      background-color: transparent;
      color: white;
    }

    .input-underline:focus {
      box-shadow: none;
      border-bottom: 1px solid #fff;
    }
