/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #081f2e;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* NAVIGATION */
header {
    background: #0a2f44;
    color: white;
    padding: 18px 0;
    position: relative;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: 1px;
}

nav > ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

nav a:hover {
    color: #00bcd4;
}


.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    background: transparent;
    border: none;
    color: white;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    transition: color 0.3s ease;
}

.nav-dropdown-toggle:hover,
.nav-dropdown:focus-within .nav-dropdown-toggle {
    color: #00bcd4;
}

.nav-caret {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
    transition: transform 0.25s ease;
}

.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 200px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
    border: 1px solid #dbe6ec;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 120;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu li + li {
    border-top: 1px solid #e8eef2;
}

.nav-dropdown-menu a {
    display: block;
    color: #0a2f44;
    padding: 12px 16px;
    font-weight: 600;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
    background: #f0f8fc;
    color: #0a2f44;
}

.nav-dropdown.open .nav-dropdown-toggle {
  color: #00bcd4;
}

/* HERO SECTION */
.hero {
    background-image: url('../images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    min-height: 90vh;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: white;
    padding: 0 20px;
}
.hero-title {
  color: blue;
  text-shadow: 0 4px 18px rgba(0, 188, 212, 0.45);
}


.hero-content {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: 5px;
    margin-bottom: 20px;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ff99ff;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}


.btn {
    background: #00bcd4;
    color: white;
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s ease;
    display: inline-block;
}

.btn:hover {
    background: #0097a7;
    transform: translateY(-2px);
}

.btn:visited {
    color: white;
}

/* SERVICES SECTION */
.services-preview {
    padding: 80px 0;
    text-align: center;
    background: #f7f9fb;
}

.services-preview h3 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* POPPING CARDS */
.service-card {
    background: white;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    position: relative;
}

.service-card h4::after {
    content: "";
    width: 45px;
    height: 3px;
    background: #00bcd4;
    display: block;
    margin: 8px auto 0;
    border-radius: 3px;
}

.service-card p {
    font-size: 0.95rem;
    color: #555;
    margin-top: 15px;
}

/* SERVICE AREA */
.service-area {
  background: #081f2e; /* solid dark — removes weird bands */
  color: white;
  text-align: center;
  padding: 60px 0;
  margin: 0;
}

.service-area h3,
.service-area p {
  color: #ffffff;
}

.phone {
    font-size: 1.4rem;
    font-weight: bold;
    margin-top: 15px;
}
.phone a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.phone a:hover {
  color: #00bcd4;
}

/* FOOTER */
footer {
  background: #081f2e;
  color: white;
  text-align: center;
  padding: 25px 0;
  font-size: 0.9rem;
  margin: 0;
}

/* MOBILE */
@media (max-width: 768px) {
    header {
      padding: 12px 0;
    }

    .nav-container {
        flex-direction: column;
        gap: 10px;
    }

    .logo {
      font-size: 1.3rem;
      text-align: center;
    }

    nav {
      width: 100%;
    }

    .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 10px 16px;
        width: 100%;
    }

    .nav-dropdown {
      text-align: center;
    }

    .nav-dropdown-menu {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        transform: none;
        opacity: 1;
        visibility: visible;
        margin-top: 0;
        width: min(200px, 88vw);
        max-width: 200px;
        z-index: 130;
    }

    .nav-dropdown-menu a {
      padding: 10px 14px;
    }

    .nav-dropdown.open .nav-dropdown-menu {
      display: flex;
    }

    .nav-dropdown.open .nav-caret {
      transform: rotate(180deg);
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .hero-content h2 {
        font-size: 1.4rem;
    }

    .service-card {
        padding: 20px;
    }

    .services-details,
    .services-process {
      padding: 50px 0;
    }

    .service-area {
      padding: 32px 16px;
    }

    .services-cta {
      min-height: auto;
      padding: 28px 16px 36px;
    }

    .services-divider {
      height: 24px;
    }

    footer {
      padding: 16px 0;
    }
}
/* ============================= */
/* CONTACT PAGE — FIXED LAYOUT   */
/* ============================= */

.contact-hero {
  background: url("../images/background.png") center/cover no-repeat;
  min-height: calc(100vh - 80px); /* accounts for header height */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

/* Dark overlay card */
.contact-overlay {
  background: rgba(0, 0, 0, 0.55);
  padding: 45px 40px;
  border-radius: 14px;
  text-align: center;
  color: white;
  max-width: 600px;
  width: 100%;
  backdrop-filter: blur(4px);
}

/* Title spacing */
.contact-overlay h2 {
  margin-bottom: 10px;
  font-size: 2rem;
}

.contact-overlay p {
  margin-bottom: 20px;
  opacity: 0.9;
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 13px 14px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  width: 100%;
}

/* textarea behavior */
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* submit button */
.contact-form button {
  background: #00bcd4;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
}

.contact-form button:hover {
  background: #0097a7;
  transform: translateY(-1px);
}


/* ===== PRO BUTTON ANIMATION ===== */

#submitBtn {
  position: relative;
  overflow: hidden;
}

/* hide helper elements by default */
.btn-loader,
.btn-check {
  display: none;
}

/* loading spinner */
.btn-loader {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255,255,255,0.4);
  border-top: 3px solid white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* success state */
#submitBtn.success {
  background: #22c55e; /* nice green */
}

/* loading state */
#submitBtn.loading .btn-text {
  display: none;
}

#submitBtn.loading .btn-loader {
  display: inline-block;
}

#submitBtn.success .btn-loader {
  display: none;
}
#submitBtn.success .btn-text {
  display: inline-block;
}

/* ============================= */
/* SERVICES PAGE HERO            */
/* ============================= */

.services-hero {
  background: url("../images/background.png") center/cover no-repeat;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-hero-overlay {
  background: rgba(0,0,0,0.55);
  padding: 40px 30px;
  border-radius: 14px;
  text-align: center;
  color: white;
  backdrop-filter: blur(4px);
}

.services-hero-overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.services-hero-overlay p {
  opacity: 0.9;
}

.services-details {
  background: #f7f9fb;
  padding: 30px 0 80px;
}

.services-details h3 {
  text-align: center;
  margin-bottom: 12px;
  font-size: 2rem;
  color: #0a2f44;
}

.section-intro {
  max-width: 760px;
  margin: 0 auto 30px;
  color: #465867;
  text-align: center;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.details-card {
  background: #ffffff;
  border: 1px solid #e4ebf0;
  border-radius: 14px;
  padding: 22px;
}

.details-card h4 {
  margin-bottom: 10px;
  color: #0a2f44;
}

.details-card ul {
  padding-left: 18px;
  color: #445968;
}

.services-process {
  background: #ffffff;
  padding: 70px 0;
  text-align: center;
}

.services-process h3 {
  margin-bottom: 26px;
  font-size: 2rem;
  color: #0a2f44;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.step {
  background: #f4fafc;
  border: 1px solid #d7eaf0;
  border-radius: 14px;
  padding: 20px;
}

.step span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #00bcd4;
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}

.step h4 {
  color: #0a2f44;
  margin-bottom: 6px;
}

.step p {
  color: #4c6070;
}

.services-cta {
  text-align: center;
  padding: 45px 20px 60px;
  min-height: 34vh;
  background: #ffffff;
  color: #0a2f44;
}

.services-cta p {
  color: #0a2f44;
  margin-top: 8px;
}

.services-cta .btn {
  margin-top: 28px;
}

.services-divider {
  width: 100%;
  height: 70px;
  margin-top: 0;
  background: #ffffff;
}

footer {
  background: #081f2e;
  margin-top: 0;
}

section {
  margin: 0;
}

nav a.active,
.nav-dropdown-toggle.active {
  color: #00bcd4;
}

.showcase-page {
  background: url("../images/background.png") center/cover no-repeat;
  color: white;
  padding: 60px 0 80px;
}

.showcase {
  text-align: center;
}

.showcase h1 {
  font-size: 2.4rem;
  margin-bottom: 8px;
}

.showcase p {
  margin-bottom: 26px;
}

.slideshow {
  width: min(100%, 980px);
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.slideshow img {
  width: 100%;
  height: clamp(260px, 56vw, 560px);
  object-fit: cover;
  display: block;
}

.slideshow-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.slide-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(10, 47, 68, 0.55);
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.slide-arrow:hover,
.slide-arrow:focus-visible {
  background: rgba(0, 188, 212, 0.85);
  transform: scale(1.05);
}

.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.dot:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.7);
}

.dot.active {
  background: #00bcd4;
}



@media (max-width: 640px) {
  .slideshow-controls {
    gap: 10px;
  }

  .slide-arrow {
    width: 34px;
    height: 34px;
  }
}
