body{
    background-color: rgba(0, 26, 59);
    margin: 0;
    padding: 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 25px;
    
    
}

.logo img{
    height: 120px;
    width: 200px;
    background-color: none;
}

.nav-head {
    display: flex;
    gap: 25px;
}

.nav-head a {
    text-decoration: none;
    font-size: 18px;
    color: #2CB4CA;
}

.nav-head a:hover {
    color:#66d1e8;
    text-decoration: underline;

}

.slider {
  position: relative;
  width: 800px;
  height: 500px;
  overflow: hidden;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.7s ease;
}
.slides img {
  width: 800px;
  height: 500px;
  object-fit: cover;
  flex-shrink: 0;
}
.dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.7;
  cursor: pointer;
  border: 2px solid #888;
}
.dot.active {
  background: #007bff;
  opacity: 1;
  border-color: #007bff;
}

body {
  background: rgba(0, 26, 59);
  color: #FFFFFF; /* High contrast for readability */
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
}

header {
  text-align: center;
  margin-bottom: 40px;
}

header h1 {
  font-size: 2.3em;
  margin-bottom: 5px;
}

header h3 {
  font-size: 1.15em;
  color: #A7D2FF;
  font-weight: 400;
  margin-top: 0;
}

section {
  background: rgba(255,255,255,0.04); /* subtle highlight */
  border-radius: 10px;
  margin-bottom: 30px;
  padding: 25px 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

h2 {
  color: #A7D2FF;
  font-size: 1.25em;
  margin-bottom: 14px;
}

footer {
  text-align: center;
  font-size: 14px;
  color: #A7D2FF;
  padding: 18px 0;
  border-top: 1px solid #14416b;
  margin-top: 35px;
}

.header {
    background: #409cc7;
    color: #fff;
    padding: 40px 0 20px 0;
    text-align: center;
}
.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 40px 10px;
}
.service-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 2px 12px rgba(0,0,0,0.14);
    width: 350px;
    overflow: hidden;
    transition: transform 0.2s;
}
.service-card:hover {
    transform: scale(1.02);
}
.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.service-title {
    font-size: 1.5em;
    margin: 20px 0 10px 0;
    text-align: center;
    color: #409cc7;
}
.service-desc {
    padding: 0 20px 20px 20px;
    color: #333;
    text-align: center;
}
.contact-section {
    background: #edf8fd;
    text-align: center;
    padding: 30px 0;
    font-size: 1.2em;
    color: #409cc7;
}
.highlight {
    font-weight: bold;
    color: #237399;
}

.contact-container {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 350px;
}

h2 {
  text-align: center;
  color: #005B8F; /* match RelaxPro blue */
}

label {
  display: block;
  margin-top: 15px;
  color: #333;
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

button {
  width: 100%;
  margin-top: 20px;
  padding: 10px;
  background: #005B8F;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #00426B;
}

#statusMsg {
  margin-top: 15px;
  text-align: center;
  color: green;
}

/* //ieuehdh */

/* RESET */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  cursor: pointer;
}

.hamburger div {
  width: 100%;
  height: 3px;
  background: white;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .slider {
    width: 95%;
    aspect-ratio: 16 / 12; /* slightly taller for phones */
  }
  .dot {
    width: 10px;
    height: 10px;
  }
}

/* === EXTRA SMALL DEVICES (Under 480px) === */
@media (max-width: 480px) {
  .slides img{
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  cursor: pointer;
}

.hamburger div {
  width: 100%;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* === HAMBURGER ACTIVE ANIMATION === */
.hamburger.open div:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.hamburger.open div:nth-child(2) {
  opacity: 0;
}
.hamburger.open div:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* === RESPONSIVE NAVBAR (MOBILE) === */
@media (max-width: 480px) {
  .navbar {
    flex-wrap: wrap;
    padding: 10px 20px;
  }

  .nav-head {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    background: rgba(0, 34, 71, 0.98);
    padding: 30px 0;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s ease-in-out;
    z-index: 999;
  }

  .nav-head.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .hamburger {
    display: flex;
  }
}

/* ---------- Mobile View Padding & Margin ---------- */
@media (max-width: 480px) {
  body {
    padding: 10px;
    margin: 0;
  }

  header {
    padding: 15px 10px;
    text-align: center;
  }

  .nav-head a {
    font-size: 16px;
    margin: 5px 0;
  }

  section {
    margin: 15px 0;
    padding: 15px;
    border-radius: 8px;
  }

  h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 18px;
  }

  p {
    font-size: 15px;
    line-height: 1.6;
  }

  footer {
    font-size: 13px;
    padding: 15px 10px;
  }
}

