/* ======================================================
   GLOBAL BASE
====================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background: #f5f5f5;
  color: #222;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}


/* ======================================================
   TOP BAR
====================================================== */
.top-bar {
  background: #1a1a1a;
  color: #fff;
  padding: 10px 20px;
  text-align: center;
  font-size: .95rem;
}


/* ======================================================
   NAVIGATION BAR
====================================================== */
.nav-bar {
  display: flex;
  align-items: center;
  padding: 15px 35px;
  background: #ffffff;
  position: relative;
  z-index: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* 3-column layout */
.nav-left, .nav-center, .nav-right {
  display: flex;
  align-items: center;
  flex: 1;
}

.nav-center { justify-content: center; }
.nav-right  { justify-content: flex-end; }

/* Logo */
.logo { height: 70px; width: auto; }

/* Navigation links */
.nav-links {
  display: flex;
  gap: 30px;
  font-size: 1.05rem;
}

/* Prevent shifting on hover */
.nav-links a {
  padding: 5px 8px;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  font-weight: 600;
  color: #268a9a;
}


/* ======================================================
   CALL NOW BUTTON
====================================================== */
.call-now {
  background: #268a9a;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 3px 10px rgba(38, 138, 154, 0.2);
  white-space: nowrap;
}

.call-now:hover {
  background: #10616d;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(38, 138, 154, 0.3);
}


/* ======================================================
   HAMBURGER MENU — MOBILE
====================================================== */

#menu-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  height: 0;
  width: 0;
}

/* Hamburger icon */
.hamburger {
  display: none;
  font-size: 34px;
  padding: 10px;
  cursor: pointer;
  user-select: none;
}


/* -----------------------
   MOBILE BREAKPOINT
----------------------- */
@media (max-width: 850px) {

  .hamburger {
    display: block;
    margin-left: auto;
  }

  .nav-right {
    display: none;
  }

  .nav-center {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: white;
    display: none;
    flex-direction: column;
    border-bottom: 2px solid #e0e0e0;
    padding: 20px 0;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  #menu-toggle:checked ~ .nav-center {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }

  main {
    padding: 30px 15px;
  }

  main h1 {
    font-size: 2rem;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .text-box h2 {
    font-size: 1.8rem;
  }

  .testimonials {
    padding: 30px 15px;
  }

  .testimonial {
    max-width: 100%;
  }
}


/* ======================================================
   PRIMARY BUTTON
====================================================== */
.btn-primary {
  display: inline-block;
  background: #268a9a;
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.25s ease;
  font-size: 1.05rem;
  box-shadow: 0 3px 10px rgba(38, 138, 154, 0.2);
}

.btn-primary:hover {
  background: #146f7d;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(38, 138, 154, 0.3);
}


/* ======================================================
   HERO SECTION
====================================================== */
.hero {
  background: url("images/background.jpg") center/cover no-repeat;
  min-height: 480px;
  position: relative;
}

.overlay {
  background: rgba(0,0,0,0.45);
  width: 100%;
  height: 100%;
  padding: 50px 20px;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
  justify-content: center;
}

.image-box { 
  flex: 1; 
  color: white; 
  text-align: center;
  min-width: 280px;
}

.image-box p {
  margin-top: 15px;
  font-size: 1.1rem;
  font-weight: 500;
}

.home-img {
  width: 100%;
  max-width: 360px;
  border-radius: 12px;
  border: 4px solid white;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.text-box { 
  flex: 1; 
  color: white;
  min-width: 280px;
}

.text-box h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.text-box p {
  font-size: 1.15rem;
  margin-bottom: 25px;
  line-height: 1.7;
}


/* ======================================================
   TESTIMONIALS
====================================================== */
.testimonials {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.testimonial {
  background: white;
  padding: 30px;
  border-radius: 12px;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  border-left: 4px solid #268a9a;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.testimonial h2 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #268a9a;
}

.testimonial h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.testimonial p {
  margin-bottom: 15px;
  color: #444;
  line-height: 1.7;
}

.testimonial strong {
  color: #268a9a;
  font-weight: 600;
}


/* ======================================================
   INFO BOXES
====================================================== */
.info-box {
  background: white;
  padding: 30px;
  border-radius: 12px;
  border-left: 4px solid #268a9a;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  margin-bottom: 25px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.info-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.info-box h2 { 
  margin-top: 0;
  margin-bottom: 15px;
}

.info-box ul { 
  padding-left: 25px;
  margin-top: 10px;
}

.info-box li {
  margin-bottom: 8px;
  color: #444;
}


/* ======================================================
   CONTACT POPUP
====================================================== */
.popup {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.25s;
  z-index: 9999 !important; /* ABOVE NAVBAR */
}

.popup:target {
  visibility: visible;
  opacity: 1;
}

.popup-content {
  background: white;
  padding: 35px;
  border-radius: 12px;
  width: 90%;
  max-width: 450px;
  position: relative;
  z-index: 10000 !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.popup-content h2 {
  margin-top: 0;
  margin-bottom: 25px;
  color: #1a1a1a;
  font-size: 1.8rem;
}

.close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 2rem;
  cursor: pointer;
  color: #666;
  transition: color 0.2s;
  line-height: 1;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close:hover {
  color: #268a9a;
}


/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 8px;
  border: 2px solid #ddd;
  font-size: 1rem;
  color: #222;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #268a9a;
  box-shadow: 0 0 0 3px rgba(38, 138, 154, 0.1);
}

textarea { 
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  background: #268a9a;
  color: white;
  padding: 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 3px 10px rgba(38, 138, 154, 0.2);
  margin-top: 5px;
}

.btn-submit:hover {
  background: #126976;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(38, 138, 154, 0.3);
}


/* ======================================================
   MAIN CONTENT AREA
====================================================== */
main {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
  flex: 1;
}

main h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #1a1a1a;
  text-align: center;
  font-weight: 700;
}

main h2 {
  font-size: 1.75rem;
  margin-bottom: 15px;
  color: #268a9a;
  font-weight: 600;
}

main h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #1a1a1a;
  font-weight: 600;
}

main p {
  margin-bottom: 15px;
  color: #333;
  font-size: 1.05rem;
}

.center {
  text-align: center;
}


/* ======================================================
   FOOTER
====================================================== */
footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 25px 20px;
  margin-top: auto;
}

footer a {
  color: #4db8c9;
  transition: color 0.2s;
}

footer a:hover {
  color: #268a9a;
}
