/*effect slide
.hero2 {
  background: linear-gradient(45deg, #00afff, #004d80);
  color: #fff;
  position: relative;
}
.hero2:before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-45deg);
  animation: shine 4s infinite;
}
@keyframes shine {
  0% { left: -150%; }
  100% { left: 150%; }
}
*/

:root {
  --primary-color: #003366;
  --secondary-color: #dcdcdc;
  --accent-color: #f0f0f0;
  --text-color: #000000;
  --cta-color: #00afff;
  --cta-phone: #00afff;
  --cta-phone-dark: #0099e6;
  --cta-whatsapp: #25D366; /* Updated green color */
  --cta-whatsapp-dark: #22c15c;
  --navbar-bg-color: #001f3f;
}

.hero2 {
  background: linear-gradient(135deg, #ffffff, #b3e0ff 60%, #f0f0f0 100%);
  color: #004d80;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.1);
}

.service-detail img {
  width: 90%; /* Make the image take the full width of the container */
  height: auto; /* Let height adjust based on the width */
  aspect-ratio: 4 / 3; /* Set the aspect ratio to 4:3 */
  object-fit: cover; /* Ensure the image covers the entire area without distortion */
}


html {
  scroll-behavior: smooth;
}
/* General body styling */
body {
  background-color: var(--accent-color);
  color: var(--text-color);
}

/* Navbar styling */
.navbar {
  background-color: var(--navbar-bg-color) !important;
  border-bottom: 2px solid var(--primary-color) !important;
  padding: 0.25rem 0.5rem;
  background: linear-gradient(90deg, #001f3f 0%, #003366 40%, #00afff 100%);
}

/* Navbar brand/logo styling */
.navbar-brand img {
  max-height: 60px;
  width: auto;
  display: inline-block;
}

/* Button styling */
.btn-outline-primary {
  color: #fff !important;
  border-color: var(--cta-color) !important;
}

.btn-outline-primary:hover {
  background-color: var(--cta-color) !important;
  color: #fff !important;
  border-color: var(--cta-color) !important;
}

/* Override hover background change for navbar buttons */
.navbar-nav .nav-link.btn:hover {
  background-color: transparent !important;
  color: #fff !important;
  border-color: var(--cta-color) !important;
}

/* Phone and WhatsApp buttons' background color on hover */
.navbar-nav .nav-link.phone-btn {
  color: var(--text-color) !important;
  background-color: var(--cta-phone) !important;
  border-color: var(--cta-phone) !important;
  transition: background-color 0.3s ease; /* Add transition for smooth effect */

}

.navbar-nav .nav-link.phone-btn:hover {
  background-color: var(--cta-phone-dark) !important; /* Change to a darker shade on hover */
  color: var(--secondary-color) !important;
  border-color: var(--cta-color) !important;
}

.navbar-nav .nav-link.whatsapp-btn {
  color: var(--text-color) !important;
  background-color: var(--cta-whatsapp) !important;
  border-color: var(--cta-whatsapp) !important;
  transition: background-color 0.3s ease; /* Add transition for smooth effect */
}

.navbar-nav .nav-link.whatsapp-btn:hover {
  background-color: var(--cta-whatsapp-dark) !important;
  color: var(--secondary-color) !important;
  border-color: var(--cta-whatsapp-dark) !important;
}

/* Footer styling */
footer {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 20px 0;
  text-align: center;
}

footer a {
  color: var(--secondary-color);
  text-decoration: none;
}

footer a:hover {
  color: var(--accent-color);
}

/* General elements like headings, containers */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.container {
  padding: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navbar nav-link styling */
.navbar-nav .nav-link {
  padding: 0.25rem 0.5rem;
  margin: 0 0.25rem;
  transition: background-color 0.3s, color 0.3s;
  position: relative;
}

/* Navbar link underline effect with margin */
.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
  width: 80%;
  left: 10%;
}
/* Specific rules to avoid underline effect on phone and WhatsApp buttons */
.navbar-nav .nav-link.phone-btn::before,
.navbar-nav .nav-link.whatsapp-btn::before {
  content: none;
}
/* Navbar gradient divider between nav items */
.navbar-nav .nav-item {
  position: relative;
  padding: 0 15px;
}

/* Override active state for About Us button */
.nav-link.active {
  background-color: transparent !important;
  color: #fff !important; /* Ensure the text color remains white */
}

.navbar-nav .nav-item:not(:last-child)::after {
  content: '';
  height: 30px;
  width: 1px;
  background-color: #fff;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Remove vertical separators on mobile */
@media (max-width: 991px) {
  .navbar-nav .nav-item:not(:last-child)::after {
    display: none;
  }
}

.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 1)),
    url('../images/beach.png');
  background-position: center 65%;
  background-size: cover;
  background-repeat: no-repeat;
  height: 60vh;
  color: #fff;
  padding: 0px 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #00afff;
}

/* Services Section */
.card-body i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.services {
  background-color: var(--accent-color);
}

.services .card {
  border: 1px solid var(--primary-color);
}

.services .card-body {
  padding: 2rem;
}

.services .card-title {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.services .card-text {
  color: var(--text-color);
  font-size: 1rem;
}

/* Ensure the cards are displayed properly on different screen sizes */
@media (max-width: 767.98px) {
  .services .card-body {
    padding: 1rem;
  }
}

/* Full-screen menu styles */
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 31, 63, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 1050;
}

.fullscreen-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.fullscreen-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.fullscreen-menu .nav-link {
  color: white;
  font-size: 1.5rem;
  margin: 1rem 0;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
}

.fullscreen-menu .nav-link:hover {
  color: #00afff;
}

@media (min-width: 992px) {
  .fullscreen-menu {
    display: none;
  }
}

.navbar-toggler {
  border-color: white;
}

/* Close button styles */
.close-menu {
  position: absolute;
  top: 25px;
  right: 45px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0, 31, 63, 0.5);
  background-color: transparent;
  border-radius: 5px;
  font-size: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  z-index: 1060;
}

.close-menu:hover {
  background-color: rgba(0, 31, 63, 0.1);
  color: #00afff;
}

/* Hide the menu button when the full-screen menu is open */
.fullscreen-menu.open~.navbar .navbar-toggler {
  display: none;
}

.card-text {
  text-align: left;
  /* Align text to the left */
  margin-bottom: 1rem;
  /* Add some margin at the bottom for spacing */
}