/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body, html {
  height: 100%;
  background: #f9fafb;
  color: #333;
  scroll-padding-top: 70px;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* Header */
.header-unique {
  position: fixed;
  top: 0; 
  width: 100%;
  background: linear-gradient(90deg, #004069cc 0%, #0288d1cc 100%);
  box-shadow: 0 4px 8px rgba(0, 64, 105, 0.4);
  padding: 14px 0;
  z-index: 1100;
  transition: background 0.5s ease;
}
.header-unique .container {
  max-width: 1200px; 
  margin: 0 auto;
  display: flex; 
  align-items: center;
  justify-content: space-between; 
  padding: 0 25px;
  color: white;
}
.header-unique .logo {
  display: flex; 
  align-items: center; 
  gap: 12px;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.header-unique .logo svg {
  fill: #04aaff;
}
.header-unique nav a {
  color: white;
  margin-left: 32px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  position: relative;
  padding-bottom: 6px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.header-unique nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: #04aaff;
  border-radius: 2px;
  transition: width 0.3s ease, left 0.3s ease;
}
.header-unique nav a:hover, .header-unique nav a.active {
  color: #ffce00;
}
.header-unique nav a:hover::after, .header-unique nav a.active::after {
  width: 100%;
  left: 0;
}

/* Space below fixed header */
main {
  padding-top: 70px;
}

/* Hamburger styles */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 22px;
  position: relative;
  z-index: 1201;
}
.nav-toggle:focus {
  outline: 2px solid #ffce00;
  outline-offset: 2px;
}
.hamburger, .hamburger::before, .hamburger::after {
  content: "";
  display: block;
  background-color: white;
  height: 3px;
  border-radius: 2px;
  position: absolute;
  width: 100%;
  transition: all 0.3s ease;
}
.hamburger {
  top: 50%;
  margin-top: -1.5px;
  left: 0;
}
.hamburger::before {
  top: -8px;
  left: 0;
}
.hamburger::after {
  bottom: -8px;
  left: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger {
  background-color: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* Responsive nav menu */
nav.nav-menu {
  display: flex;
  gap: 32px;
}
@media (max-width: 768px) {
  nav.nav-menu {
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    background: #004069cc;
    flex-direction: column;
    display: none;
    padding: 15px 0;
    z-index: 1200;
  }
  nav.nav-menu.show {
    display: flex;
  }
  nav.nav-menu a {
    padding: 12px 20px;
    font-size: 1.1rem;
    color: white;
    text-align: center;
    margin-left: 0;
  }
  nav.nav-menu a.active,
  nav.nav-menu a:hover {
    color: #ffce00;
  }
  .nav-toggle {
    display: block;
  }
  main {
    padding-top: 60px;
  }
}

/* Hero slider */
.hero-slider {
  position: relative; /* Ensure relative positioning */
  z-index: 500; /* Below header */
  overflow: visible;
  margin-top: 70px; /* Offset for fixed header */
  max-width: 1920px;
  height: 600px;
  width: 100vw;
  padding: 0 30px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 1920px;
  width: 100%;
  height: 600px;
  background-size: cover;
  background-position: center center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 1s ease;
  box-sizing: border-box;
  padding: 0 40px;
}

.slide.active {
  opacity: 1;
  position: absolute;
}

.slide h1 {
  font-size: 3.5rem;
  max-width: 900px;
  margin-bottom: 20px;
  text-shadow: 3px 3px 12px rgba(0,0,0,0.8);
  line-height: 1.1;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.slide p {
  font-size: 1.5rem;
  max-width: 700px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
  line-height: 1.4;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Slider navigation buttons */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,64,105,0.7);
  border: none;
  color: white;
  font-size: 3rem;
  padding: 12px 20px;
  cursor: pointer;
  border-radius: 10px;
  user-select: none;
  z-index: 10;
  transition: background-color 0.3s ease;
}
.slider-nav:hover {
  background-color: rgba(0,64,105,0.9);
}
.slider-nav.prev {
  left: 25px;
}
.slider-nav.next {
  right: 25px;
}

/* Slider navigation buttons - mobile adjustments */
@media (max-width: 768px) {
  .slider-nav {
    font-size: 1.8rem;
    padding: 8px 12px;
    left: 10px !important;
    right: 10px !important;
    top: calc(100% - 50px);
    position: fixed;
    border-radius: 8px;
  }
  .slider-nav.prev {
    left: 20vw !important;
  }
  .slider-nav.next {
    right: 20vw !important;
  }
}

/* Responsive slider height and font scaling */
@media (max-width: 1440px) {
  .hero-slider {
    height: 450px;
    padding: 0 30px;
  }
  .slide {
    height: 450px;
    padding: 0 30px;
  }
  .slide h1 {
    font-size: 2.5rem;
    max-width: 80%;
  }
  .slide p {
    font-size: 1.2rem;
    max-width: 80%;
  }
  .slider-nav {
    font-size: 2.2rem;
    padding: 10px 16px;
  }
}

@media (max-width: 992px) {
  .slide h1, .slide p {
    max-width: 90%;
  }
  .hero-slider {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    height: 320px;
    padding: 0 15px;
  }
  .slide {
    height: 320px;
    padding: 0 15px;
  }
  .slide h1 {
    font-size: 1.8rem;
    max-width: 90%;
    margin-bottom: 12px;
  }
  .slide p {
    font-size: 1.1rem;
    max-width: 90%;
  }
}

/* Services Grid and Cards */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: auto;
  padding: 0 10px;
}
@media (max-width: 992px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .services {
    grid-template-columns: 1fr;
  }
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  padding-bottom: 20px;
}
.service-card:hover {
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}
.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}
.service-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.service-content h3 {
  margin-bottom: 12px;
  color: #004069;
  font-weight: 700;
  font-size: 1.25rem;
}
.service-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 15px;
}
.service-content ul {
  padding-left: 20px;
  margin: 0;
  color: #444;
  font-size: 0.95rem;
  list-style: none;
}
.service-content ul li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 1.3em;
}
.service-content ul li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: #004069;
  font-weight: bold;
  font-size: 1.1em;
  line-height: 1;
}
.service-content button {
  background: #004069;
  color: white;
  border: none;
  padding: 10px 14px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  width: fit-content;
  margin-top: auto;
  align-self: flex-start;
  transition: background 0.3s ease;
}
.service-content button:hover {
  background: #ffce00;
  color: #004069;
}

/* Footer */
.footer-unique {
  background: linear-gradient(135deg, #031e3e, #003355);
  padding: 60px 30px 20px 30px;
  color: #cbd5e1;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -5px 15px rgba(3,30,62,0.6);
  font-weight: 300;
  font-size: 1rem;
  animation: fadeInUp 1s forwards ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: nowrap;
}
.footer-logo,
.footer-section {
  flex: 1 1 33%;
  min-width: 280px;
}
.footer-section h4 {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: #04aaff;
  border-bottom: 2px solid #04aaff;
  padding-bottom: 6px;
  letter-spacing: 0.05em;
}
.footer-section ul {
  list-style: none;
  padding: 0;
}
.footer-section ul li {
  margin-bottom: 12px;
}
.footer-section ul li a {
  color: #b2d7ff;
  transition: color 0.3s ease;
  font-weight: 400;
}
.footer-section ul li a:hover {
  color: #08c7ff;
}
.footer-unique address {
  font-style: normal;
  line-height: 1.6;
  color: #b2d7ff;
}
/* Footer bottom */
.footer-bottom {
  max-width: 1200px;
  margin: 30px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #0d3d66;
  padding-top: 16px;
  font-size: 0.9rem;
  color: #7098c6;
  font-weight: 300;
  letter-spacing: 0.05em;
  gap: 15px;
  flex-wrap: wrap;
}
.footer-bottom div {
  flex: 1 1 auto;
  text-align: center;
}
.footer-bottom div:first-child {
  text-align: left;
}
.footer-bottom div:nth-child(2) {
  text-align: center;
}
.footer-bottom div:last-child {
  text-align: right;
}
.footer-bottom a {
  color: #08c7ff;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-bottom a:hover {
  color: #4adeff;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0,15px,0);
  }
  to {
    opacity: 1;
    transform: translate3d(0,0,0);
  }
}

/* Mobile sticky footer navigation */
.mobile-footer {
  display: none;
  position: fixed;
  bottom: 0; 
  left: 0;
  width: 100%;
  background: #004069;
  height: 70px;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  z-index: 10000;
}
.mobile-footer nav {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.mobile-footer nav a {
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 100%;
  flex-grow: 1;
  transition: color 0.3s ease;
}
.mobile-footer nav a:hover,
.mobile-footer nav a[aria-current="page"] {
  color: #ffce00;
}
.icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
/* Responsive toggling footer */
@media (max-width: 768px) {
  .footer-unique {
    display: none !important;
  }
  .mobile-footer {
    display: block !important;
  }
}

/* Cover Section with Breadcrumbs */
.cover-section {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin: 20px auto;
  max-width: 1200px;
  padding: 0 15px;
  box-sizing: border-box;
}

.cover-overlay {
  background-color: rgba(0, 0, 0, 0.52);
  padding: 20px 40px;
  border-radius: 12px;
  color: white;
  text-align: center;
  width: 100%;
  max-width: 900px;
  box-sizing: border-box;
}

.cover-overlay h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.2;
  word-wrap: break-word;
}

.breadcrumb-list {
  list-style: none;
  display: inline-flex;
  gap: 8px;
  color: #ccc;
  font-size: 0.9rem;
  justify-content: center;
  padding-left: 0;
  margin: 0;
  flex-wrap: wrap;
  word-wrap: break-word;
}

.breadcrumb-list li {
  position: relative;
}

.breadcrumb-list li + li:before {
  content: "/";
  margin-right: 8px;
  color: #ccc;
}

.breadcrumb-list li a {
  color: #a0c8ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-list li a:hover,
.breadcrumb-list li a:focus {
  color: #ffce00;
  outline: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cover-section {
    height: 200px;
    padding: 0 10px;
  }
  .cover-overlay {
    padding: 15px 20px;
    max-width: 100%;
  }
  .cover-overlay h1 {
    font-size: 2.0rem;
  }
  .breadcrumb-list {
    font-size: 0.85rem;
    gap: 5px;
  }
  .breadcrumb-list li + li:before {
    margin-right: 5px;
  }
}

