/* --- Mobile Optimizations --- */
@media (max-width: 700px) {
  /* Floating video button: smaller and higher on mobile */
  #floating-video-btn {
    width: 60px !important;
    height: 60px !important;
    bottom: 16px !important;
    right: 16px !important;
    font-size: 1.2rem;
  }
  #floating-video-btn span {
    font-size: 1.5rem !important;
  }
  #floating-video-btn span:last-child {
    font-size: 0.8rem !important;
    display: none;
  }
  /* Gallery grid: 1 column */
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 0.7rem !important;
  }
  .gallery-grid img, .gallery-grid video {
    height: 38vw !important;
    min-height: 120px;
    max-height: 220px;
  }
  /* Responsive video */
  .gallery-grid video {
    width: 100% !important;
    height: auto !important;
    border-radius: 10px;
    background: #e3ecf7;
  }
  /* Nav: wrap items */
  nav ul {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  nav li {
    margin: 0 0.5rem;
  }
  /* Reduce section spacing */
  main {
    margin: 1rem 0;
    padding: 0 0.2rem;
  }
  header {
    padding: 1rem 0.5rem 0.5rem 0.5rem;
  }
  #intro, #contact, #estimator {
    padding: 1rem;
  }
}
/* Testimonial sidebars for reduced glare */
.testimonial-sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 260px;
  background: #1e3a5c;
  color: #fff;
  padding: 2rem 1rem 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  z-index: 10;
  font-size: 1rem;
  box-shadow: 0 0 16px rgba(0,0,0,0.15);
  opacity: 0.97;
}
.testimonial-sidebar.left {
  left: 0;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
  align-items: flex-end;
}
.testimonial-sidebar.right {
  right: 0;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
  align-items: flex-start;
}
.testimonial-sidebar blockquote {
  margin: 0;
  padding: 1rem;
  background: rgba(255,255,255,0.07);
  border-left: 4px solid #ffd700;
  border-radius: 8px;
  font-style: italic;
  box-shadow: 0 2px 8px rgba(30,58,92,0.10);
}
.testimonial-sidebar footer {
  margin-top: 0.5rem;
  font-size: 0.95em;
  color: #ffd700;
  font-style: normal;
}
body {
  font-family: 'Playfair Display', serif;
  margin: 0;
  padding: 0 290px;
  background: #f7f7f7;
  color: #222;
  box-sizing: border-box;
}
@media (max-width: 1200px) {
  .testimonial-sidebar {
    display: none;
  }
  body {
    padding: 0;
  }
}
main, header, nav, footer {
  margin-left: 0;
  margin-right: 0;
}
@media (max-width: 700px) {
  .service-list {
    flex-direction: column;
    gap: 1rem;
  }
  header h1 {
    font-size: 2.2rem;
  }
}
header {
  background: #1e3a5c;
  color: #fff;
  padding: 2rem 1rem 1rem 1rem;
  text-align: center;
}
header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  color: #ffd700;
  text-shadow: 2px 2px 8px #1e3a5c44;
}
nav {
  background: #16304a;
  text-align: center;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}
nav li {
  margin: 0 1.5rem;
}
nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 1rem 0;
  display: block;
}
nav a:hover {
  text-decoration: underline;
}
main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}
#intro {
  background: #e3ecf7;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(30,58,92,0.05);
}
#services {
  margin-bottom: 2rem;
}
.service-list {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.service-card {
  background: linear-gradient(135deg, #fff 80%, #ffe0b2 100%);
  border-radius: 16px;
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  margin-bottom: 1.5rem;
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(255,152,0,0.18), 0 2px 12px rgba(0,0,0,0.10);
  transform: translateY(-6px) scale(1.04);
  z-index: 2;
}
.service-icon {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #fff3e0;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 8px rgba(255,152,0,0.10);
}
.service-card h3 {
  margin-top: 0.2rem;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: #ff9800;
  letter-spacing: 0.01em;
}
.service-card p {
  color: #444;
  font-size: 1rem;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .service-list {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }
  .service-card {
    max-width: 95vw;
    min-width: 0;
    width: 100%;
  }
}
#contact {
  background: #e3ecf7;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(30,58,92,0.05);
}
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}
/* Shared form styles */
#contact-form input,
#contact-form textarea,
#quote-form input,
#quote-form select {
  padding: 0.7rem;
  border: 1px solid #b0c4de;
  border-radius: 4px;
  font-size: 1rem;
}
#contact-form button,
#quote-form button {
  background: #1e3a5c;
  color: #fff;
  border: none;
  padding: 0.8rem;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
#contact-form button:hover,
#quote-form button:hover {
  background: #16304a;
}
.location {
  font-style: italic;
  color: #1e3a5c;
}

#estimator {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(30,58,92,0.07);
  margin-bottom: 2rem;
}
#quote-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: flex-end;
  margin-bottom: 1rem;
}
#quote-form label {
  flex: 1 1 120px;
  min-width: 100px;
}
#quote-form input,
#quote-form select {
  flex: 2 1 180px;
  min-width: 120px;
}
#quote-form button {
  flex: 1 1 120px;
  min-width: 100px;
}
#quote-result {
  font-size: 1.1rem;
  color: #1e3a5c;
  margin-top: 0.5rem;
}
footer {
  background: #16304a;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}
.subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #fffbe7;
  margin-bottom: 1.2rem;
  font-weight: 400;
}
.contact-highlight {
  margin: 1.2rem auto 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffd700;
  color: #1e3a5c;
  border-radius: 10px;
  padding: 1.2rem 2.5rem;
  box-shadow: 0 2px 12px #1e3a5c22;
  max-width: 420px;
}
.phone-label {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.phone-number {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: bold;
  color: #1e3a5c;
  background: #ffd700;
  padding: 0.3rem 1.2rem;
  border-radius: 8px;
  letter-spacing: 2px;
  box-shadow: none;
  margin-bottom: 0.2rem;
  text-align: center;
}
.admin-number {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: bold;
  color: #1e3a5c;
  background: transparent;
  padding: 0.15rem 0.7rem;
  border-radius: 6px;
  letter-spacing: 1px;
  box-shadow: none;
  margin-bottom: 0.2rem;
  text-align: center;
}
.response-time {
  font-size: 1.1rem;
  color: #1e3a5c;
  font-style: italic;
}
@media (max-width: 700px) {
  .contact-highlight {
    padding: 0.7rem 1rem;
    max-width: 95vw;
  }
  .phone-number {
    font-size: 1.2rem;
    padding: 0.2rem 0.5rem;
  }
  .admin-number {
    font-size: 1rem;
    padding: 0.1rem 0.3rem;
  }
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin: 1.5rem 0 2.5rem 0;
}
.gallery-grid img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 10px #1e3a5c22;
  background: #e3ecf7;
  transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-grid img:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 18px #1e3a5c44;
}
#gallery h2 {
  text-align: center;
  color: #1e3a5c;
  margin-bottom: 0.7rem;
  font-size: 2rem;
}
.admin-label {
  display: block;
  margin-top: 0.7rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: #1e3a5c;
}
.admin-number {
  font-size: 1.3rem;
  font-weight: bold;
  color: #1e3a5c;
  background: transparent;
  padding: 0.15rem 0.7rem;
  border-radius: 6px;
  letter-spacing: 1px;
  box-shadow: none;
  margin-bottom: 0.2rem;
  text-align: center;
}
@media (max-width: 700px) {
  .admin-number {
    font-size: 1rem;
    padding: 0.1rem 0.3rem;
  }
}
