/* =========================================================
   GLOBAL STYLES
========================================================= */
body {
  font-family: 'Oswald', sans-serif;
  margin: 0;
  background: #f9f9f9;
  color: #222;
  line-height: 1.6;
}

img {
  max-width:100%;
  height:auto;
}

h1, h2, h3 {
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

section {
  padding: 2rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* =========================================================
   HEADER
========================================================= */
header {
  background: linear-gradient(to bottom, #1e1e1e 0%, #1e1e1e 40%, #6fa7cf 85%, #7BAFD4 100%);
  color: white;
  padding: 1rem 2rem 0.5rem;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo {
  position: absolute;
  left: 0;
  height: 78px;
  border-radius: 12px;
}

.header-text {
  text-align: center;
}

header h1 {
  font-size: 2.3rem;
  margin: 0;
}

header p {
  font-size: 1.1rem;
  margin-top: 0.4rem;
}

/* =========================================================
   NAVIGATION BAR
========================================================= */
nav {
  background: linear-gradient(to bottom, #7BAFD4 0%, #7BAFD4 70%, #6fa7cf 100%);
  text-align: center;
  padding: 0.75rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255,255,255,0.15); /* soft blend line */
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 1.2rem;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.25s ease;
}

nav a:hover {
  color: #13294B;
  background-color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 5px;
}

nav a.active {
  color: #13294B;
  background-color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 5px;
}

/* =========================================================
   CALL TO ACTION BUTTON
========================================================= */
.cta-button {
  display: inline-block;
  background-color: #13294B;
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: all 0.25s ease;
  margin-top: 1rem;
}

.cta-button:hover {
  background-color: #7BAFD4;
  color: #13294B;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

/* =========================================================
   SLIDESHOW
========================================================= */
.hero-slideshow {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 500px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Caption styling */
.caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.5px;
}


/* Arrow controls */
.hero-slideshow button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.4);
  color: white;
  border: none;
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  border-radius: 50%;
  font-size: 1.8rem;
  z-index: 5;
  transition: background-color 0.3s ease;
}

.hero-slideshow .prev { left: 20px; }
.hero-slideshow .next { right: 20px; }

.hero-slideshow button:hover {
  background-color: rgba(0,0,0,0.7);
  transform: translateY(-50%) scale(1.1);
}

/* Dots (pagination) */
.dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dots span {
  height: 12px;
  width: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dots span.active {
  background-color: #7BAFD4;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-slideshow {
    height: 320px;
  }

  .caption {
    font-size: 0.9rem;
    bottom: 15px;
  }
}

/* =========================================================
   PROJECT PROCESS SECTION
========================================================= */
.process-section {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 2rem 1rem;
  margin-top: 3rem;
}

.process-section h2 {
  margin-bottom: 2rem;
  color: #13294B;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.step {
  flex: 1 1 220px;
  max-width: 260px;
  background: #f4f8fb;
  border-radius: 10px;
  padding: 1.2rem;
  text-align: left;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.step-number {
  background-color: #7BAFD4;
  color: white;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 0.6rem;
}

.step h3 {
  margin-bottom: 0.4rem;
  color: #13294B;
}

/* Center final two steps (4 and 5) */
.step-group {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Highlighted Step (Rate & Save) */
.step.highlight {
  background: linear-gradient(to bottom right, #fdfdfd, #fff8e1);
  border: 2px solid #FFD700;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.25);
  position: relative;
  transition: all 0.3s ease;
}

/* Single gold star accent in top-left corner */
.step.highlight::before {
  content: "★";
  position: absolute;
  top: 10px;
  left: 12px;
  color: #FFD700;
  font-size: 1.3rem;
}

/* Optional: make the header match other steps but bold */
.step.highlight h3 {
  color: #13294B;
  font-weight: 700;
  margin-top: 0.5rem;
}

/* Subtle hover pop */
.step.highlight:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.35);
}


/* =========================================================
   FOOTER
========================================================= */
footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 1.5rem;
  border-top: 4px solid #7BAFD4;
  margin-top: 3rem;
  font-size: 0.9rem;
}

footer a {
  color: #7BAFD4;
  font-weight: bold;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* =========================================================
   RESPONSIVE DESIGN
========================================================= */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.8rem;
  }

  .step {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .slideshow {
    height: 300px;
  }

  .cta-button {
    width: auto;
    font-size: 1rem;
  }
}
/* =========================================================
   SERVICES PAGE
========================================================= */
.services-intro {
  text-align: center;
  padding: 2rem 1rem;
}

.services-intro h2 {
  font-size: 2rem;
  color: #13294B;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.services-intro .section-sub {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 1.05rem;
}

.services-intro a {
  color: #7BAFD4;
  text-decoration: underline;
  font-weight: bold;
}

/* --- Grid Layout --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 2rem;
  max-width: 1300px;
  margin: 2rem auto 3rem;
  padding: 0 1rem;
}

/* --- Card Styling --- */
.service-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.service-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.card-content h3 {
  margin: 0 0 0.5rem;
  color: #13294B;
  text-align: center;
  font-size: 1.4rem;
  text-transform: uppercase;
}

.card-content .description {
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
  min-height: 60px;
}

/* --- Show More Content --- */
.more-content {
  display: none;
  margin-top: 1rem;
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.more-content.expanded {
  display: block;
}

.more-content h4 {
  margin-bottom: 0.5rem;
  color: #13294B;
}

.more-content ul {
  padding-left: 1.2rem;
  margin: 0;
  list-style-type: disc;
}

/* --- Button --- */
.toggle-btn {
  background-color: #7BAFD4;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.7rem 1.2rem;
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  align-self: center;
  transition: background 0.3s ease;
}

.toggle-btn:hover {
  background-color: #5b9cc3;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .service-card img {
    height: 200px;
  }
  .card-content {
    padding: 1rem;
  }
}
/* =========================================================
   RATE PAGE STYLING
========================================================= */

.rate-page .rate-wrapper {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem 4rem;
  background: #f9fbfd;
}

.rate-page .rate-container {
  background: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 800px;
}

.rate-page h2 {
  text-align: center;
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #13294B;
}

.rate-page .intro-text {
  text-align: center;
  color: #444;
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.rate-page .form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1rem;
}

.rate-page label {
  font-weight: 600;
  color: #13294B;
  margin-bottom: 0.25rem;
  display: block;
}

.rate-page input,
.rate-page select,
.rate-page textarea {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.rate-page input:focus,
.rate-page select:focus,
.rate-page textarea:focus {
  border-color: #7BAFD4;
  box-shadow: 0 0 6px rgba(123,175,212,0.4);
  outline: none;
}

/* --- Rating Stars --- */
.rate-page .stars {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
}

.rate-page .stars input {
  display: none;
}

.rate-page .stars label {
  font-size: 2rem;
  color: #ccc;
  cursor: pointer;
  transition: color 0.2s;
}

.rate-page .stars input:checked ~ label,
.rate-page .stars label:hover,
.rate-page .stars label:hover ~ label {
  color: #7BAFD4;
}

/* --- Submit Button --- */
.rate-page button {
  background: #7BAFD4;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 1rem;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
  width: 100%;
  max-width: 300px;
  display: block;
  margin: 1.5rem auto 0;
}

.rate-page button:hover {
  background: #5b98c7;
  transform: translateY(-2px);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .rate-page .rate-container {
    padding: 1.5rem;
  }

  .rate-page h2 {
    font-size: 1.5rem;
  }

  .rate-page .stars label {
    font-size: 1.8rem;
  }
}

