/* Add at the very top for global box-sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove problematic width/max-width on hero sections for mobile */
@media (max-width: 900px) {
  .improved-hero,
  .hero {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .hero-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 1.5rem 0.5rem !important;
    box-sizing: border-box;
  }
  body {
    overflow-x: hidden;
  }
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: #0b1120; /* Deep dark blue */
  color: #f7f8fc;
}

h1, h2 {
  font-family: 'Roboto', sans-serif;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* Enhanced gradient: blue covers more area, orange at far right */
  background: linear-gradient(90deg, #0b1120 60%, #072846 75%, #0b1120 100%);
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgb(255, 255, 255); 
  /* Add texture overlay using a PNG/SVG pattern (example PNG) */
  position: relative;
}

.navbar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18; /* Adjust for subtlety */
  z-index: 0;
  background-image: url('photos/navbar-texture.png'); /* Place your texture PNG/SVG here */
  background-repeat: repeat;
  background-size: 180px 180px; /* Adjust size for effect */
}

.navbar .logo {
  font-family: 'Anton', sans-serif;
  background-color: #0b1120; /* Deep dark blue background for logo area */
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.075);
}

.navbar .logo img {
  width: 140px;   /* Adjust width as needed */
  height: auto;   /* Keeps aspect ratio */
  display: block; /* Optional: removes extra space below image */
  border-radius: 50%;  /* Makes it an ellipse */
  margin: 0 auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  color: darkorange;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s, background 0.3s;
  padding: 0.25rem 0.5rem;   /* Add padding here so it matches hover */
  border-radius: 6px;        /* Optional: keeps the shape consistent */
  display: inline-block;     /* Ensures background fits text height */
}

.nav-links li a:hover {
  color: rgb(253, 253, 252);
  background-color: darkorange; /* dark orange highlight */
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4rem;
  align-items: center;
  gap: 2rem;
}

.hero-text h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #cacbd1b0;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
}

/* CTA Buttons - Unified dark mode style */
.btn-primary, .btn-secondary, .animated-btn {
  padding: 0.8rem 2rem;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: 
    background 0.2s, 
    color 0.2s, 
    border 0.2s, 
    box-shadow 0.2s;
  box-shadow: 0 2px 8px 0 rgba(11, 17, 32, 0.12);
  outline: none;
  background: #ff831e;
  color: #fff;
  border: 2px solid #fff;
}

/* Primary CTA: Deep blue to orange gradient, white border */
.btn-primary {
  background: #ff831e;
  color: #fff;
  border: 2px solid #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: darkorange;
  color: #fff;
  border: 2px solid #ff831e;
  box-shadow: 0 4px 16px 0 rgba(255, 131, 30, 0.18);
}

/* Secondary CTA: Transparent with dark orange border, orange text */
.btn-secondary {
  background: #181f2a;
  color: #ff831e;
  border: 2px solid #ff831e;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #ff831e;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 4px 16px 0 rgba(255, 131, 30, 0.18);
}

/* Responsive: Stack buttons on mobile */
@media (max-width: 600px) {
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
}
.hero {
  justify-content: center;
  display: flex;
  flex-direction: column; /* vertical on mobile */
  padding: 4rem;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) {
  .hero {
    flex-direction: row; /* horizontal on tablet & desktop */
    text-align: left;
  }

  .hero-text {
    text-align: left; /* optional: align text to left on big screens */
  }
}


.hero-text h1 {
  text-align:center ;
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-align: center;
}


.cta-buttons {
  display: flex;
  gap: 1rem;
}

.btn-primary, .btn-secondary {
  padding: 0.75rem 1.5rem;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}

.btn-primary {
  background: #ff831e;
  color: #fff;
}

.btn-primary:hover {
  background: darkorange;
  color: #fff;
}

.btn-secondary {
  background: #181f2a;
  color: #ff831e;
  border: 2px solid #ff831e;
}

.btn-secondary:hover {
  background: #ff831e;
  color: #fff;
}
h2 {
  color: darkorange; 
}
.cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  border-radius: 24px;
  padding: 2rem 0;
}

body.dark-mode .cards {
  background: rgba(11, 12, 68, 0.527);
}

.card {
  background: rgba(255, 255, 255, 0.712); /* more visible glass effect in light mode */
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(8, 9, 26, 0.37); /* drop shadow */
  -webkit-backdrop-filter: blur(8px); /* Safari support */
  backdrop-filter: blur(8px); /* glass blur */
  border: 1px solid darkorange;
  padding: 2rem;
  min-width: 250px;
  max-width: 320px;
  color: #ffffff; /* dark text for glass */
  margin: 1rem 0;
  transition: box-shadow 0.3s;
}

.card:hover {
  box-shadow: 0 12px 40px 0 rgba(31, 33, 68, 0.37);
}

.card h2 {
  color: darkorange;
}
body.dark-mode .card h2 {
  color: #1e90ff;
}

.card p {
  color: #ebecf0; /* dark blue for light mode */
}

body.dark-mode .card p {
  color: #fff; /* white for dark mode */
}

.hero-image img {
  width: 600px;      /* Adjust width as needed */
  height: 400px;     /* Adjust height as needed */
  object-fit: cover; /* Ensures the image fills the area nicely */
  border-radius: 2%; /* Optional: makes the image round */
  box-shadow: 0 4px 24px rgba(1, 4, 26, 0.966); /* Optional: subtle shadow */
  display: block;
  margin: 0 auto;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #000000;
  color: white;
  margin-top: 3rem;
  width: 100%;
  position: relative;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  width: 100%;
  padding: 2rem 2vw 1rem 2vw;
  box-sizing: border-box;
}

@media (min-width: 960px) {
  .footer-content {
    display: grid;
    grid-template-columns: 1fr minmax(520px, 700px) 1fr;
    gap: 2rem 3rem;
    align-items: start;
    justify-items: stretch;
    padding-left: calc(4vw + 40px);
    padding-right: calc(4vw + 40px);
    max-width: 700px;
    margin: 0 auto;
    box-sizing: border-box;
  }
  .footer-links { grid-column: 1 / 2; text-align: left; }
  .footer-logos { grid-column: 2 / 3; }
  .footer-contact { grid-column: 3 / 4; align-items: flex-end; text-align: right; }
}

.footer-links {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  justify-content: flex-start;
}

.footer-links .col {
  min-width: 140px;
  max-width: 260px;
}

.footer-links h3 {
  margin: 0 0 0.6rem 0;
  color: #ffffff;
  font-size: 1.05rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 0.45rem 0;
  color: #cfcfcf;
  font-size: 0.95rem;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.04);
  margin-top: 14px;
}

.partner-heading {
  margin-top: 6px;
  margin-bottom: 12px;
}

.footer-logos .partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 14px 22px;
  width: 100%;
  max-width: 760px;
  justify-items: center;
  align-items: center;
  padding: 6px 8px 0;
  box-sizing: border-box;
}

.footer-logos .partner-grid img {
  max-height: 56px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.footer-cta {
  margin-top: 8px;
  margin-bottom: 8px;
}

.footer-social {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  text-align: right;
}

.footer-contact .logo img {
  width: 140px;
  height: auto;
  display: block;
}

.site-footer .footer-copyright {
  width: 100%;
  background: darkorange;
  color: #020101;
  text-align: center;
  padding: 0.7rem 0;
  font-size: 1rem;
  letter-spacing: 0.5px;
  margin: 0;
  font-weight: bold;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
}

@media (max-width: 700px) {
  .footer-content {
    padding: 1.2rem 2vw 0.5rem 2vw;
    gap: 0.8rem;
  }
  .site-footer .footer-copyright {
    font-size: 0.95rem;
    padding: 0.6rem 0;
  }
}

@media (max-width: 959px) {
  .footer-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1rem !important;
    padding: 1rem 2vw !important;
  }

  .footer-links,
  .footer-logos,
  .footer-contact {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    align-items: center !important;
    margin: 0 !important;
  }

  .footer-links {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }

  .footer-links .col {
    width: 100% !important;
    max-width: 100% !important;
  }

  .footer-logos {
    padding-top: 10px !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    margin-top: 10px !important;
  }

  .footer-logos .partner-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)) !important;
    gap: 10px 12px !important;
    max-width: 100% !important;
    justify-items: center !important;
    align-items: center !important;
  }

  .footer-logos .partner-grid img {
    max-height: 70px !important;
    width: auto !important;
  }

  .footer-cta {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }

  .footer-social {
    justify-content: center !important;
    width: 100% !important;
  }

  .footer-contact {
    align-items: center !important;
    text-align: center !important;
  }

  .site-footer .footer-copyright {
    font-size: 0.95rem;
    padding: 0.6rem 0;
  }
}

@media (max-width: 600px) {
  .footer-logos .partner-grid {
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    max-width: 100%;
    padding: 4px;
    gap: 8px 10px;
    justify-items: center;
  }

  .footer-logos .partner-grid img {
    max-height: 56px;
  }
}

.restoration-gallery {
  justify-content: center;
  gap: 1rem;
  margin: 3rem auto 2rem auto;
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 2vw;
}

.resto-card {
  flex: 1 1 0;            /* Allow cards to grow and shrink equally */
  max-width: 600px;       /* Optional: limit max width per card */
  min-width: 280px;       /* Optional: minimum width for responsiveness */
  background: rgba(9, 8, 34, 0.87);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(1, 1, 2, 0.527);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 1.5rem;
}

.resto-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.resto-card h3 {
  margin: 1.2rem 0 0.5rem 0;
  color: darkorange;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.resto-card p {
  text-align: center;
  padding: 0 1rem;
  font-size: 1rem;
  color: #f5f9fcdc;
}

.resto-slideshow {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem auto;
  max-width: none;
  width: 100vw;
  box-sizing: border-box;
  padding: 0 2vw;
  overflow-x: auto;        /* Allow horizontal scroll if needed */
  flex-wrap: wrap;         /* Wrap on small screens instead of overflowing */
}
.about-section {
  padding: 1.5rem;
  text-align: center;
  background: #0b1120; /* deep dark blue */
  border-radius: 10px;
}

.about-section h2 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: #ff7b00; /* dark orange */
}

.about-section p {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.6;
}
.testimonials {
  background: #0b1120;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.testimonials h2 {
  font-size: 1.8rem;
  color: #ff7b00;
  margin-bottom: 2rem;
}

.testimonial-carousel {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  height: 250px;
}

.testimonial {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 1s ease-in-out;
}

.testimonial.active {
  opacity: 1;
  transform: scale(1);
}

.testimonial img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.testimonial p {
  font-size: 1rem;
  color: #f1f1f1;
  margin: 0.5rem 0;
}

.testimonial span {
  font-size: 0.9rem;
  color: #ccc;
}

/* --- Services Page Styles --- */

.services-hero {
  position: relative;
  min-height: 550px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.services-hero::before {
  content: none;
  display: none;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.services-hero,
.services-hero .slideshow-bg {
  width: 100%;
  height: 100%;
}

.services-hero .slideshow-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: background-image 1s ease-in-out;
}

/* Services intro section */
.services-intro {
  background: rgba(18, 143, 245, 0.92);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(30, 144, 255, 0.13), 0 2px 8px 0 rgba(255,131,30,0.08);
  max-width: 700px;
  margin: -80px auto 2rem auto;
  position: relative;
  z-index: 2;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  text-align: center;
}

.services-intro h1 {
  font-size: 2.5rem;
  color: #0b1120;
  margin-bottom: 1rem;
  font-family: 'Anton', sans-serif;
  letter-spacing: 2px;
}

.services-intro p {
  font-size: 1.2rem;
  color: #0b1120;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.services-intro .btn-primary,
.services-intro .btn-secondary {
  margin: 0 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .services-intro {
    max-width: 98vw;
    padding: 1.5rem 0.5rem;
    margin: -40px auto 1rem auto;
  }
  .services-intro h1 {
    font-size: 2rem;
  }
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.btn-primary,
.btn-secondary {
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: #ff831e;
  color: #fff;
}

.btn-primary:hover {
  background: darkorange;
  color: #fff;
}

.btn-secondary {
  background: #181f2a;
  color: #ff831e;
  border: 2px solid #ff831e;
}

.btn-secondary:hover {
  background: #ff831e;
  color: #fff;
}

.services-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2.5rem auto 2rem auto;
  max-width: 1100px;
  padding: 0 2vw;
}

.service-card {
  background: rgba(9, 19, 49, 0.077);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(30, 144, 255, 0.13), 0 2px 8px 0 rgba(255,131,30,0.08);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 2.5px solid #ff5a1ef1;
  transition: 
    box-shadow 0.25s,
    transform 0.25s,
    background 0.25s;
}

.service-card:hover {
  color: #fff;
  box-shadow: 0 12px 40px 0 rgba(30,144,255,0.18), 0 4px 16px 0 rgba(255,131,30,0.12);
  transform: translateY(-8px) scale(1.03);
}

.service-card:hover h2,
.service-card:hover p,
.service-card:hover .icon {
  color: #fff;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -40px; left: -40px;
  width: 80px; height: 80px;
  background: rgba(30,144,255,0.08);
  border-radius: 50%;
  z-index: 0;
}
.service-card::after {
  content: "";
  position: absolute;
  bottom: -30px; right: -30px;
  width: 60px; height: 60px;
  background: rgba(255,131,30,0.10);
  border-radius: 50%;
  z-index: 0;
}

.service-card .icon {
  font-size: 2.5rem;
  color: #1e90ff;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.service-card h2, .service-card p {
  position: relative;
  z-index: 1;
  text-align: center;
}

.service-card h2 {
  font-size: 1.4rem;
  color: #ff831e;
  margin-bottom: 0.5rem;
  font-family: 'Anton', sans-serif;
  letter-spacing: 1px;
  transition: color 0.2s;
}

.service-card p {
  font-size: 1rem;
  color: #1e90ff;
  text-align: center;
  transition: color 0.2s;
}
/* Responsive for mobile */
@media (max-width: 900px) {
  .services-cards {
    flex-direction: column;
    align-items: center;
  }
  .service-card {
    max-width: 90vw;
    width: 100%;
  }
}

/* Why Choose Us & Pricing Section */
.why-choose-us, .pricing-section {
  
  background: #0b1120;
  color: #f7f8fc;
  padding: 2.5rem 1rem;
  margin: 2rem 0 0 0;
  text-align: center;
}

.why-choose-us h2, .pricing-section h2 {
  color: #1e90ff;
  font-family: 'Anton', sans-serif;
  margin-bottom: 1rem;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.why-choose-us p, .pricing-section p {
  color: darkorange;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  justify-content: center;
  text-align: center;
  align-items: center;
}
body.dark-mode .why-choose-us,
body.dark-mode .pricing-section {
  background: #0b1120;
}

body.dark-mode .services-hero h1,
body.dark-mode .why-choose-us h2,
body.dark-mode .pricing-section h2 {
  color: #ff831e;
}

body.dark-mode .services-hero p,
body.dark-mode .why-choose-us p,
body.dark-mode .pricing-section p {
  color: #ec5d09e0;
}

/* ===== Team page styles (merged from stylesteam.css) ===== */
/* Namespace under .team-page to avoid global conflicts */
.team-page * { box-sizing: border-box; }

.team-hero {
  background: linear-gradient(120deg, rgba(3, 10, 26, 0.96), rgba(7, 19, 44, 0.95)), url('photos/team-hero-bg.jpg') center/cover no-repeat;
  padding: 4rem 1.5rem;
  color: #eef5fb;
}

.team-hero-content {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.team-hero-copy span {
  display: inline-block;
  margin-bottom: 1rem;
  color: #84d2e2;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 0.85rem;
}

.team-hero-copy h1 {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  margin: 0 0 1rem;
  line-height: 1.05;
}

.team-hero-copy p {
  max-width: 620px;
  color: #dfe9f5;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.team-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.team-page .team-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 3rem auto 2rem auto;
  padding: 0 1.5rem;
}

.team-page .team-member {
  background: rgba(9, 17, 35, 0.95);
  color: #ffffff;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.32);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.team-page .team-member img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.team-page .team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
}

.team-page .member-info {
  padding: 1.8rem;
}

.team-page .member-info h3 {
  font-size: 1.6rem;
  margin-bottom: 0.65rem;
  color: #ff931e;
}

.team-page .member-info p {
  font-size: 1rem;
  color: #c8d7e6;
  line-height: 1.7;
  margin: 0.45rem 0;
}

.team-page .member-info .role {
  font-weight: 700;
  color: #ffffff;
}

.team-page .member-info .bio {
  margin-top: 1rem;
}

.team-page .group-photo {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: block;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.team-page .gallery-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 2rem;
  padding: 0 1.5rem 3rem 1.5rem;
}

.team-page .gallery-images img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.team-page .gallery-images img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 28px rgba(0,0,0,0.3);
}

/* team page footer/scoping tweak (if team page uses a smaller footer) */
.team-page footer { background-color: #08111b; }

/* If you want these styles to apply, add class="team-page" to the <body> on team.html */



body.dark-mode .service-card {
  background: rgba(30,42,74,0.85);
  color: #f7f8fc;
  box-shadow: 0 4px 24px rgba(30,42,74,0.25);
}

body.dark-mode .service-card h2 {
  color: #ffffff;
}

body.dark-mode .service-card .icon {
  color: #ff831e;
}

body.dark-mode .btn-primary {
  background: #ff831e;
  color: #fff;
}

body.dark-mode .btn-primary:hover {
  background: darkorange;
  color: #fff;
}

body.dark-mode .btn-secondary {
  background: #181f2a;
  color: #ff831e;
  border: 2px solid #ff831e;
}

body.dark-mode .btn-secondary:hover {
  background: #ff831e;
  color: #fff;
}

body.dark-mode .service-card p {
  color: #fff;
}

.services-hero p,
.services-cards .service-card p,
.why-choose-us p,
.pricing-section p {
  color: darkorange; /* Slightly transparent dark orange */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-card {
  display: none !important;
}
.contact-hero {
  background: linear-gradient(120deg, #ff831e 60%, #1e90ff 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-bottom: 2rem;
}
.contact-card {
  background: rgba(255,255,255,0.97);
  border-radius: 32px;
  box-shadow: 0 12px 40px 0 rgba(30, 144, 255, 0.15), 0 2px 8px 0 rgba(255, 131, 30, 0.08);
  padding: 3rem 2.5rem;
  max-width: 480px;
  margin: 2rem auto 0 auto;
  text-align: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 2px solid #ff831e22;
}
.contact-card h1 {
  color: #ff831e;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}
.contact-card p {
  color: #333;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

/* --- Contact Form Modern Style --- */
.contact-section {
  position: relative; /* Needed for overlay positioning */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2.5rem 1rem 3rem 1rem;
  background: url(photos/contactform.jpg) center/cover no-repeat;
  z-index: 1;
  overflow: hidden;
}

/* Overlay Layer */
.contact-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 15, 44, 0.7); /* dark blue with transparency */
  z-index: -1; /* behind content, in front of background */
}

.contact-form {
  background: rgba(11, 17, 32, 0.85);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(30, 144, 255, 0.10), 0 2px 8px 0 rgba(255, 131, 30, 0.08);
  padding: 2.5rem 2rem 2rem 2rem;
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  border: 1.5px solid #ff831e44;
  margin: 0 auto;
}

.contact-form label {
  font-weight: 600;
  color: #ff831e;
  margin-bottom: 0.3rem;
  letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #ff831e33;
  border-radius: 12px;
  font-size: 1rem;
  background: #181f2a;
  color: #f7f8fc;
  transition: border 0.2s, box-shadow 0.2s;
  margin-bottom: 0.5rem;
  outline: none;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 1.5px solid #ff831e;
  box-shadow: 0 0 0 2px #ff831e33;
  background: #222b3a;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn-primary {
  background: linear-gradient(90deg, #1e90ff 60%, #ff831e 100%);
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  border: none;
  border-radius: 18px;
  padding: 0.9rem 0;
  margin-top: 0.5rem;
  box-shadow: 0 2px 8px 0 rgba(30, 144, 255, 0.08);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.contact-form .btn-primary:hover {
  background: linear-gradient(90deg, #ff831e 60%, #1e90ff 100%);
  box-shadow: 0 4px 16px 0 rgba(255, 131, 30, 0.12);
}

@media (max-width: 600px) {
  .contact-form {
    padding: 1.2rem 0.5rem;
    max-width: 98vw;
  }
}

/* Improved Hero Section */
.improved-hero {
  position: relative;
  background: url('photos/hero-bg.jpg') center/cover no-repeat, #0b1120;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-overlay {
  /* Remove colored overlay so photos are fully visible. Keep the element for layering if needed. */
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: transparent; /* no color overlay */
  z-index: 1;
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0; /* behind overlay and content */
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  will-change: opacity;
}
.hero-slide.active {
  opacity: 1;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start; /* place text on the left */
  width: 100vw;
  max-width: none;
  margin: 0 auto;
  padding: 0 ;
}
.hero-text {
  flex: 0 0 45%; /* left column for text */
  max-width: 600px;
  color: #fff;
  padding: 2.5rem 2rem 2.5rem 4rem;
  text-align: left;
}
.hero-text h1 {
  font-family: 'Anton', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #f1f1f1;
}
.hero-ctas-hidden { display: none !important; }
.cta-buttons {
  display: flex;
  gap: 1rem;
}
.animated-btn {
  transition: transform 0.2s, box-shadow 0.2s;
}
.animated-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.hero-image img {
  max-width: 100%;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

/* Improved Cards Section */
.improved-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 3rem 0;
  flex-wrap: wrap;
}
.improved-cards .card {
  background: #180d3386;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 2rem 1.5rem;
  flex: 1 1 280px;
  max-width: none;
  margin: 3rem;
  width: 100vw;
  height: auto;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.improved-cards .card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}
.improved-cards .icon {
  color: #1e90ff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.improved-cards h2 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: darkorange;
}
.improved-cards p {
  color: #ffffffbd;
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .hero-text {
    padding-right: 0;
    margin-bottom: 2rem;
    width: 100%;
  }
  .hero-image {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }
  .hero-image img {
    max-width: 95vw;
    width: 100%;
    height: auto;
    border-radius: 12px;
  }
}

/* For very small screens */
@media (max-width: 600px) {
  .hero {
    padding: 1rem 0.2rem;
  }
  .hero-content {
    padding: 1rem 0.2rem;
  }
}

/* Fix: remove mobile horizontal overflow and prevent 100vw overflow */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Mobile overrides: ensure wide elements use container width, not 100vw */
@media (max-width: 900px) {
  .improved-hero,
  .hero,
  .hero-content,
  .improved-cards .card,
  .resto-slideshow,
  .about-carousel-section,
  .projects-slider-section,
  .project-slide,
  .hero-image,
  .footer-content {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }

  /* remove any fixed vw widths that cause overflow */
  :root { --safe-full: 100%; }
  /* small tweak for the copyright row if it was using vw width */
  .site-footer .footer-copyright {
    width: 100% !important;
    left: 0 !important;
    transform: none !important;
  }
}

/* Hamburger styles */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
  margin-left: 1rem;
}
.nav-toggle .bar {
  width: 28px;
  height: 4px;
  background: #fff;
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* Responsive navbar */
@media (max-width: 700px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: #0b112081;
    flex-direction: column;
    width: 20vw;
    max-width: 300px;
    height: 0;
    overflow: hidden;
    transition: height 0.3s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  /* border-radius: 0 0 0 16px; */
    z-index: 1000;
  }
  .nav-links.open {
    height: 260px; /* Adjust based on number of links */
    padding: 0.5rem 0;
  }
  .nav-links li {
    margin: 0.5rem 0;
    text-align: right;
  }
  .nav-toggle {
    display: flex;
  }
  .navbar {`n    position: sticky;`n    top: 0;`n    z-index: 1100;`n  }
}

/* Hide nav links by default on mobile */
@media (max-width: 700px) {
  .nav-links {
    display: flex;
    height: 0;
    padding: 0;
  }
}

/* Scroll to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 32px;
  right: 24px;
  z-index: 1200;
  background: linear-gradient(135deg, #0b1120 60%, #ff831e 100%);
  color: #fff;
  border: none;
  outline: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  box-shadow: 0 4px 16px rgba(30,144,255,0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  opacity: 0.85;
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
}
#scrollTopBtn:hover {
  background: linear-gradient(135deg, #ff831e 60%, #0b1120 100%);
}
#scrollTopBtn:active {
  background: #0b1120;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #0b1120;
    color: #f7f8fc;
  }
  .card,
  .improved-cards .card {
    background: rgba(255,255,255,0.05);
    color: #f7f8fc;
  }
  .btn-primary,
  .btn-secondary {
    background: #1e90ff;
    color: #fff;
  }
  /* Add more overrides as needed for dark mode */
}
/* Footer-contact Styles */
.footer-contact a,
.footer-contact svg {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s, fill 0.3s;
}

.footer-contact a:hover,
.footer-contact svg:hover {
  transform: scale(1.78) rotate(-3deg);
  box-shadow: 0 4px 16px rgba(255,131,30,0.18);
  color: darkorange;
  transition: transform 0.3s, box-shadow 0.3s, color 0.3s;
}

/* Animate footer logos on hover */
.footer-logos img,
.footer-logos .partner-logo {
  max-width: 100px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  margin: 0 6px;
}

/* Animate footer social icons on hover */
.footer-social a,
.footer-social svg {
  color: #fff;
  font-size: 2.75rem !important; /* Twice the default size */
  width: 2.75rem !important;
  height: 2.75rem !important;
  transition: color 0.3s, transform 0.3s;
}
.footer-social {
  gap: 2.5rem; /* Increase spacing between icons */
}
.footer-social a:hover,
.footer-social svg:hover {
  color: darkorange;
  transform: scale(1.38) rotate(6deg);
}

/* Restore pointer cursor for clickable icons */
.footer-social a,
.footer-logos a {
  cursor: pointer;
}
/* --- New Project Slideshow: Horizontal Scrollable Cards --- */
.projects-slider-section {
  width: 100%;
  max-width: 1600px;
  margin: 3rem auto 2rem auto;
  padding: 0 2vw;
  overflow-x: auto;
  overflow-y: visible;
  box-sizing: border-box;
  scroll-snap-type: x mandatory;
  display: flex;
  flex-direction: row;
  gap: 2rem;
  background: linear-gradient(120deg, #0b1120 60%, #1e90ff 100%);
  border-radius: 32px;
  box-shadow: 0 8px 32px 0 rgba(30,144,255,0.10), 0 2px 8px 0 rgba(255,131,30,0.08);
  position: relative;
}

/* Custom scrollbar for slider */
.projects-slider-section::-webkit-scrollbar {
  height: 10px;
  background: #181f2a;
  border-radius: 8px;
}
.projects-slider-section::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #ff831e 100%, #010f1c 40%);
  border-radius: 8px;
}

.project-slideshow {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  min-width: 100%;
  width: max-content;
  align-items: stretch;
  scroll-snap-type: x mandatory;
  padding: 2rem 0;
}

.project-slide {
  flex: 0 0 360px;
  max-width: 98vw;
  background: rgba(255, 255, 255, 0.055);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(30, 144, 255, 0.13), 0 2px 8px 0 rgba(255,131,30,0.08);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-snap-align: start;
  transition: 
    box-shadow 0.25s,
    transform 0.25s,
    background 0.25s;
  border: 2.5px solid #ff5a1ef1;
  position: relative;
  overflow: hidden;
}
.project-slide:hover {
  color: #071135;
  box-shadow: 0 12px 40px 0 rgba(30,144,255,0.18), 0 4px 16px 0 rgba(255,131,30,0.12);
  transform: translateY(-8px) scale(1.03);
}
.project-slide:hover .project-caption h2,
.project-slide:hover .project-caption p {
  color: inherit;
}
.project-slide::before {
  content: "";
  position: absolute;
  top: -40px; left: -40px;
  width: 80px; height: 80px;
  background: rgba(30,144,255,0.08);
  border-radius: 50%;
  z-index: 0;
}
.project-slide::after {
  content: "";
  position: absolute;
  bottom: -30px; right: -30px;
  width: 60px; height: 60px;
  background: rgba(219, 76, 14, 0.97);
  border-radius: 50%;
  z-index: 0;
}

.project-photo {
  width: 100%;
  height: 180px;           /* Adjust height as needed */
  object-fit: cover;
  border-radius: 28px 28px 0 0;
  background: #eeeeee61;
  display: block;
  box-shadow: none;
  border: none;
  margin-bottom: 0;
  flex-shrink: 0;
}

.project-caption {
  width: 100%;
  /* Remove max-width and margin auto */
  box-sizing: border-box;
  padding: 1.2rem 1rem 1.2rem 1rem;
  background: rgba(255, 255, 255, 0.244);
  border-radius: 0 0 28px 28px;
  text-align: center;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Responsive: match .project-photo width on small screens */
@media (max-width: 900px) {
  .project-caption {
    max-width: 90vw;
  }
}

@media (max-width: 600px) {
  /* Keep partner logos in a horizontal, wrapping row on small screens.
     Do NOT force links to width:100% (that caused vertical stacking). */
  .footer-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 0;
    box-sizing: border-box;
    overflow: hidden; /* prevent tiny overflow from child margins */
  }

  .footer-logos .partner-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 8px;
    box-sizing: border-box;
  }

  /* each partner item keeps auto width (no full-width links) */
  .footer-logos .partner-grid a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    max-width: 46%;
    padding: 6px;
  }

  /* logo sizing tuned for mobile */
  .footer-logos .partner-grid img,
  .footer-logos .partner-grid .partner-logo {
    max-width: 140px;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
  }
}

/* About Carousel Styles */
.about-carousel-section {
  width: 100%;
  max-width: 1100px;
  margin: 2rem auto;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

/* container is still flex for JS slide logic */
.about-carousel {
  position: relative;
  width: 100%;
  height: 420px; /* adjust height to taste */
  overflow: hidden;
}

.about-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 0.7s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  pointer-events: none;
}
.about-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
  pointer-events: auto;
}
.about-slide-content {
  background: rgba(0,0,0,0.45);
  color: #fff;
  max-width: 720px;
  padding: 1.25rem 1.5rem;
  border-radius: 6px;
}

/* Fade-style Testimonials */
.testimonial-carousel { position: relative; width: 100%; height: 320px; overflow: hidden; }
.testimonial {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  padding: 1rem;
  pointer-events: none;
}
.testimonial.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}
.testimonial img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .about-slide, .testimonial { transition: none !important; transform: none !important; }
}

/* small responsive adjustments */
@media (max-width: 720px) {
  .about-carousel { height: 320px; }
  .about-slide-content { padding: 1rem; }
}

/* Footer - wide multi-column layout */
.site-footer {
  background: linear-gradient(180deg, #071025 0%, #060814 100%);
  padding: 2.25rem 3rem 0 3rem;
  align-items: stretch;
  padding-left: 0;
  padding-right: 0;
}

/* Grid for main footer content: logo/contact | columns... | actions */
.footer-content {
  /* keep the three-column grid but anchor it to the left instead of centering */
  display: grid;
  grid-template-columns: 220px 1fr 300px;
  grid-template-areas: "links logos contact";
  gap: 2rem;
  align-items: start;
  max-width: 1200px;
  margin: 0;                  /* align left (was centered with auto) */
  padding: 2rem 1rem 1.5rem 2.5rem; /* left padding so content isn't flush to edge */
  box-sizing: border-box;
}

/* area assignments (works regardless of DOM order) */
.footer-links      { grid-area: links; }
.footer-logos      { grid-area: logos; display: block; }
.footer-contact    { grid-area: contact; align-self: start; }

.footer-contact {
  text-align: left;
  align-self: start;
  padding-left: 0.5rem;
}

/* Links column */
.footer-links {
  display: flex;
  gap: 24px;               /* space between columns */
  align-items: flex-start; /* align column tops */
  flex-wrap: wrap;         /* allow wrap on narrow screens */
}

.footer-links .col {
  margin-bottom: 0.6rem;
  min-width: 160px;        /* keep columns readable */
}
.footer-links h3 {
  font-size: 15px;
  margin: 0 0 10px;
  color: #ffffff;
  font-weight: 700;
}
.footer-links ul { margin: 0; padding: 0; list-style: none; }
.footer-links li {
  margin: 8px 0;
  font-size: 14px;
  color: #cfcfcf;
}
.footer-links a { color: inherit; text-decoration: none; }

/* Stack vertically on small screens */
@media (max-width: 700px) {
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}

/* Center: socials on top, then partner logos grid */
.footer-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;

  /* moved lower: subtle separator + spacing from items above */
  padding-top: 14px;                      /* space inside the block */
  border-top: 1px solid rgba(255,255,255,0.04); /* thin divider line */
  margin-top: 10px;                       /* extra gap from elements above */
}

/* improved partner grid: use CSS grid so logos align and wrap neatly */
.footer-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 18px; /* move logos lower */
  border-top: 1px solid rgba(255,255,255,0.04);
  margin-top: 14px;
}
.partner-heading {
  margin-top: 6px;
  margin-bottom: 12px;
}

/* switch to grid for logos for consistent rows */
.footer-logos .partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 14px 22px;
  width: 100%;
  max-width: 760px; /* constrain full-width on wide screens */
  justify-items: center;
  align-items: center;
  padding: 6px 8px 0;
  box-sizing: border-box;
}

/* constrain logo size so they don't overflow or stack */
.footer-logos .partner-grid img {
  max-height: 56px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* give CTA / socials breathing room above logos */
.footer-cta {
  margin-top: 8px;
  margin-bottom: 8px;
}

/* Mobile: enlarge partner logos (approx. 2x) and ensure grid still fits */
@media (max-width: 600px) {
  .footer-logos .partner-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    max-width: 100%;
    padding: 6px;
    gap: 14px 18px;
    justify-items: center;
  }

  .footer-logos .partner-grid a {
    max-width: 100%;
    padding: 6px;
    box-sizing: border-box;
  }

  /* increase logo size (was ~48-64px) — set to ~120px max height */
  .footer-logos .partner-grid img,
  .footer-logos .partner-grid .partner-logo {
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
  }
}

/* Footer socials below logos, above copyright */
.footer-social {
  order: 3;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Copyright always at the bottom, full width, dark orange background */
.site-footer .footer-copyright {
  order: 4;
  width: 100vw;
  background: darkorange;
  color: #020101;
  text-align: center;
  padding: 0.7rem 0;
  font-size: 1rem;
  letter-spacing: 0.5px;
  margin: 0;
  font-weight: bold;
  border-radius: 0 0 0 0;
  position: relative;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
  box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
}

/* Responsive: Ensure copyright stays at bottom and full width */
@media (max-width: 700px) {
  .footer-content {
    padding: 1.2rem 0 0.5rem 0;
    gap: 0.8rem;
  }
  .site-footer .footer-copyright {
    font-size: 0.95rem;
    padding: 0.6rem 0;
  }
}

.restoration-gallery {
  justify-content: center;
  gap: 1rem;
  margin: 3rem auto 2rem auto;
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 2vw;
}

.resto-card {
  flex: 1 1 0;            /* Allow cards to grow and shrink equally */
  max-width: 600px;       /* Optional: limit max width per card */
  min-width: 280px;       /* Optional: minimum width for responsiveness */
  background: rgba(9, 8, 34, 0.87);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(1, 1, 2, 0.527);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 1.5rem;
}

.resto-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.resto-card h3 {
  margin: 1.2rem 0 0.5rem 0;
  color: darkorange;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.resto-card p {
  text-align: center;
  padding: 0 1rem;
  font-size: 1rem;
  color: #f5f9fcdc;
}

.resto-slideshow {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem auto;
  max-width: none;
  width: 100vw;
  box-sizing: border-box;
  padding: 0 2vw;
  overflow-x: auto;        /* Allow horizontal scroll if needed */
  flex-wrap: wrap;         /* Wrap on small screens instead of overflowing */
}
.about-section {
  padding: 1.5rem;
  text-align: center;
  background: #0b1120; /* deep dark blue */
  border-radius: 10px;
}

.about-section h2 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: #ff7b00; /* dark orange */
}

.about-section p {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.6;
}
.testimonials {
  background: #0b1120;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.testimonials h2 {
  font-size: 1.8rem;
  color: #ff7b00;
  margin-bottom: 2rem;
}

.testimonial-carousel {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  height: 250px;
}

.testimonial {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 1s ease-in-out;
}

.testimonial.active {
  opacity: 1;
  transform: scale(1);
}

.testimonial img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.testimonial p {
  font-size: 1rem;
  color: #f1f1f1;
  margin: 0.5rem 0;
}

.testimonial span {
  font-size: 0.9rem;
  color: #ccc;
}

/* --- Services Page Styles --- */

.services-hero {
  position: relative;
  min-height: 550px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.services-hero::before {
  content: none;
  display: none;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.services-hero,
.services-hero .slideshow-bg {
  width: 100%;
  height: 100%;
}

.services-hero .slideshow-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: background-image 1s ease-in-out;
}

/* Services intro section */
.services-intro {
  background: rgba(18, 143, 245, 0.92);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(30, 144, 255, 0.13), 0 2px 8px 0 rgba(255,131,30,0.08);
  max-width: 700px;
  margin: -80px auto 2rem auto;
  position: relative;
  z-index: 2;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  text-align: center;
}

.services-intro h1 {
  font-size: 2.5rem;
  color: #0b1120;
  margin-bottom: 1rem;
  font-family: 'Anton', sans-serif;
  letter-spacing: 2px;
}

.services-intro p {
  font-size: 1.2rem;
  color: #0b1120;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.services-intro .btn-primary,
.services-intro .btn-secondary {
  margin: 0 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .services-intro {
    max-width: 98vw;
    padding: 1.5rem 0.5rem;
    margin: -40px auto 1rem auto;
  }
  .services-intro h1 {
    font-size: 2rem;
  }
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.btn-primary,
.btn-secondary {
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: #ff831e;
  color: #fff;
}

.btn-primary:hover {
  background: darkorange;
  color: #fff;
}

.btn-secondary {
  background: #181f2a;
  color: #ff831e;
  border: 2px solid #ff831e;
}

.btn-secondary:hover {
  background: #ff831e;
  color: #fff;
}

.services-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2.5rem auto 2rem auto;
  max-width: 1100px;
  padding: 0 2vw;
}

.service-card {
  background: rgba(9, 19, 49, 0.077);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(30, 144, 255, 0.13), 0 2px 8px 0 rgba(255,131,30,0.08);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 2.5px solid #ff5a1ef1;
  transition: 
    box-shadow 0.25s,
    transform 0.25s,
    background 0.25s;
}

.service-card:hover {
  color: #fff;
  box-shadow: 0 12px 40px 0 rgba(30,144,255,0.18), 0 4px 16px 0 rgba(255,131,30,0.12);
  transform: translateY(-8px) scale(1.03);
}

.service-card:hover h2,
.service-card:hover p,
.service-card:hover .icon {
  color: #fff;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -40px; left: -40px;
  width: 80px; height: 80px;
  background: rgba(30,144,255,0.08);
  border-radius: 50%;
  z-index: 0;
}
.service-card::after {
  content: "";
  position: absolute;
  bottom: -30px; right: -30px;
  width: 60px; height: 60px;
  background: rgba(255,131,30,0.10);
  border-radius: 50%;
  z-index: 0;
}

.service-card .icon {
  font-size: 2.5rem;
  color: #1e90ff;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.service-card h2, .service-card p {
  position: relative;
  z-index: 1;
  text-align: center;
}

.service-card h2 {
  font-size: 1.4rem;
  color: #ff831e;
  margin-bottom: 0.5rem;
  font-family: 'Anton', sans-serif;
  letter-spacing: 1px;
  transition: color 0.2s;
}

.service-card p {
  font-size: 1rem;
  color: #1e90ff;
  text-align: center;
  transition: color 0.2s;
}
/* Responsive for mobile */
@media (max-width: 900px) {
  .services-cards {
    flex-direction: column;
    align-items: center;
  }
  .service-card {
    max-width: 90vw;
    width: 100%;
  }
}

/* Why Choose Us & Pricing Section */
.why-choose-us, .pricing-section {
  
  background: #0b1120;
  color: #f7f8fc;
  padding: 2.5rem 1rem;
  margin: 2rem 0 0 0;
  text-align: center;
}

.why-choose-us h2, .pricing-section h2 {
  color: #1e90ff;
  font-family: 'Anton', sans-serif;
  margin-bottom: 1rem;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.why-choose-us p, .pricing-section p {
  color: darkorange;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  justify-content: center;
  text-align: center;
  align-items: center;
}
body.dark-mode .why-choose-us,
body.dark-mode .pricing-section {
  background: #0b1120;
}

body.dark-mode .services-hero h1,
body.dark-mode .why-choose-us h2,
body.dark-mode .pricing-section h2 {
  color: #ff831e;
}

body.dark-mode .services-hero p,
body.dark-mode .why-choose-us p,
body.dark-mode .pricing-section p {
  color: #ec5d09e0;
}

body.dark-mode .service-card {
  background: rgba(30,42,74,0.85);
  color: #f7f8fc;
  box-shadow: 0 4px 24px rgba(30,42,74,0.25);
}

body.dark-mode .service-card h2 {
  color: #ffffff;
}

body.dark-mode .service-card .icon {
  color: #ff831e;
}

body.dark-mode .btn-primary {
  background: #ff831e;
  color: #fff;
}

body.dark-mode .btn-primary:hover {
  background: darkorange;
  color: #fff;
}

body.dark-mode .btn-secondary {
  background: #181f2a;
  color: #ff831e;
  border: 2px solid #ff831e;
}

body.dark-mode .btn-secondary:hover {
  background: #ff831e;
  color: #fff;
}

body.dark-mode .service-card p {
  color: #fff;
}

.services-hero p,
.services-cards .service-card p,
.why-choose-us p,
.pricing-section p {
  color: darkorange; /* Slightly transparent dark orange */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-card {
  display: none !important;
}
.contact-hero {
  background: linear-gradient(120deg, #ff831e 60%, #1e90ff 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-bottom: 2rem;
}
.contact-card {
  background: rgba(255,255,255,0.97);
  border-radius: 32px;
  box-shadow: 0 12px 40px 0 rgba(30, 144, 255, 0.15), 0 2px 8px 0 rgba(255, 131, 30, 0.08);
  padding: 3rem 2.5rem;
  max-width: 480px;
  margin: 2rem auto 0 auto;
  text-align: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 2px solid #ff831e22;
}
.contact-card h1 {
  color: #ff831e;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}
.contact-card p {
  color: #333;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

/* --- Contact Form Modern Style --- */
.contact-section {
  position: relative; /* Needed for overlay positioning */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2.5rem 1rem 3rem 1rem;
  background: url(photos/contactform.jpg) center/cover no-repeat;
  z-index: 1;
  overflow: hidden;
}

/* Overlay Layer */
.contact-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 15, 44, 0.7); /* dark blue with transparency */
  z-index: -1; /* behind content, in front of background */
}

.contact-form {
  background: rgba(11, 17, 32, 0.85);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(30, 144, 255, 0.10), 0 2px 8px 0 rgba(255, 131, 30, 0.08);
  padding: 2.5rem 2rem 2rem 2rem;
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  border: 1.5px solid #ff831e44;
  margin: 0 auto;
}

.contact-form label {
  font-weight: 600;
  color: #ff831e;
  margin-bottom: 0.3rem;
  letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #ff831e33;
  border-radius: 12px;
  font-size: 1rem;
  background: #181f2a;
  color: #f7f8fc;
  transition: border 0.2s, box-shadow 0.2s;
  margin-bottom: 0.5rem;
  outline: none;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 1.5px solid #ff831e;
  box-shadow: 0 0 0 2px #ff831e33;
  background: #222b3a;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn-primary {
  background: linear-gradient(90deg, #1e90ff 60%, #ff831e 100%);
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  border: none;
  border-radius: 18px;
  padding: 0.9rem 0;
  margin-top: 0.5rem;
  box-shadow: 0 2px 8px 0 rgba(30, 144, 255, 0.08);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.contact-form .btn-primary:hover {
  background: linear-gradient(90deg, #ff831e 60%, #1e90ff 100%);
  box-shadow: 0 4px 16px 0 rgba(255, 131, 30, 0.12);
}

@media (max-width: 600px) {
  .contact-form {
    padding: 1.2rem 0.5rem;
    max-width: 98vw;
  }
}

/* Improved Hero Section */
.improved-hero {
  position: relative;
  background: url('photos/hero-bg.jpg') center/cover no-repeat, #0b1120;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11, 17, 32, 0.95); /* Deep dark blue overlay */
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100vw;
  max-width: none;
  margin: 0 auto;
  padding: 0 ;
}
.hero-text {
  flex: 1 1 350px;
  color: #fff;
  padding-right: 2rem;
}
.hero-text h1 {
  font-family: 'Anton', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
}
.animated-btn {
  transition: transform 0.2s, box-shadow 0.2s;
}
.animated-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.hero-image img {
  max-width: 100%;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

/* Improved Cards Section */
.improved-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 3rem 0;
  flex-wrap: wrap;
}
.improved-cards .card {
  background: #180d3386;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 2rem 1.5rem;
  flex: 1 1 280px;
  max-width: none;
  margin: 3rem;
  width: 100vw;
  height: auto;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.improved-cards .card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}
.improved-cards .icon {
  color: #1e90ff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.improved-cards h2 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: darkorange;
}
.improved-cards p {
  color: #ffffffbd;
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .hero-text {
    padding-right: 0;
    margin-bottom: 2rem;
    width: 100%;
  }
  .hero-image {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }
  .hero-image img {
    max-width: 95vw;
    width: 100%;
    height: auto;
    border-radius: 12px;
  }
}

/* For very small screens */
@media (max-width: 600px) {
  .hero {
    padding: 1rem 0.2rem;
  }
  .hero-content {
    padding: 1rem 0.2rem;
  }
}

/* Fix: remove mobile horizontal overflow and prevent 100vw overflow */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Mobile overrides: ensure wide elements use container width, not 100vw */
@media (max-width: 900px) {
  .improved-hero,
  .hero,
  .hero-content,
  .improved-cards .card,
  .resto-slideshow,
  .about-carousel-section,
  .projects-slider-section,
  .project-slide,
  .hero-image,
  .footer-content {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }

  /* remove any fixed vw widths that cause overflow */
  :root { --safe-full: 100%; }
  /* small tweak for the copyright row if it was using vw width */
  .site-footer .footer-copyright {
    width: 100% !important;
    left: 0 !important;
    transform: none !important;
  }
}

/* Hamburger styles */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
  margin-left: 1rem;
}
.nav-toggle .bar {
  width: 28px;
  height: 4px;
  background: #fff;
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* Responsive navbar */
@media (max-width: 700px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: #0b112081;
    flex-direction: column;
    width: 20vw;
    max-width: 300px;
    height: 0;
    overflow: hidden;
    transition: height 0.3s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  /* border-radius: 0 0 0 16px; */
    z-index: 1000;
  }
  .nav-links.open {
    height: 260px; /* Adjust based on number of links */
    padding: 0.5rem 0;
  }
  .nav-links li {
    margin: 0.5rem 0;
    text-align: right;
  }
  .nav-toggle {
    display: flex;
  }
  .navbar {`n    position: sticky;`n    top: 0;`n    z-index: 1100;`n  }
}

/* Hide nav links by default on mobile */
@media (max-width: 700px) {
  .nav-links {
    display: flex;
    height: 0;
    padding: 0;
  }
}

/* Scroll to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 32px;
  right: 24px;
  z-index: 1200;
  background: linear-gradient(135deg, #0b1120 60%, #ff831e 100%);
  color: #fff;
  border: none;
  outline: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  box-shadow: 0 4px 16px rgba(30,144,255,0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  opacity: 0.85;
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
}
#scrollTopBtn:hover {
  background: linear-gradient(135deg, #ff831e 60%, #0b1120 100%);
}
#scrollTopBtn:active {
  background: #0b1120;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #0b1120;
    color: #f7f8fc;
  }
  .card,
  .improved-cards .card {
    background: rgba(255,255,255,0.05);
    color: #f7f8fc;
  }
  .btn-primary,
  .btn-secondary {
    background: #1e90ff;
    color: #fff;
  }
  /* Add more overrides as needed for dark mode */
}
/* Footer-contact Styles */
.footer-contact a,
.footer-contact svg {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s, fill 0.3s;
}

.footer-contact a:hover,
.footer-contact svg:hover {
  transform: scale(1.78) rotate(-3deg);
  box-shadow: 0 4px 16px rgba(255,131,30,0.18);
  color: darkorange;
  transition: transform 0.3s, box-shadow 0.3s, color 0.3s;
}

/* Animate footer logos on hover */
.footer-logos img,
.footer-logos .partner-logo {
  max-width: 100px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  margin: 0 6px;
}

/* Animate footer social icons on hover */
.footer-social a,
.footer-social svg {
  color: #fff;
  font-size: 2.75rem !important; /* Twice the default size */
  width: 2.75rem !important;
  height: 2.75rem !important;
  transition: color 0.3s, transform 0.3s;
}
.footer-social {
  gap: 2.5rem; /* Increase spacing between icons */
}
.footer-social a:hover,
.footer-social svg:hover {
  color: darkorange;
  transform: scale(1.38) rotate(6deg);
}

/* Restore pointer cursor for clickable icons */
.footer-social a,
.footer-logos a {
  cursor: pointer;
}
/* --- New Project Slideshow: Horizontal Scrollable Cards --- */
.projects-slider-section {
  width: 100%;
  max-width: 1600px;
  margin: 3rem auto 2rem auto;
  padding: 0 2vw;
  overflow-x: auto;
  overflow-y: visible;
  box-sizing: border-box;
  scroll-snap-type: x mandatory;
  display: flex;
  flex-direction: row;
  gap: 2rem;
  background: linear-gradient(120deg, #0b1120 60%, #1e90ff 100%);
  border-radius: 32px;
  box-shadow: 0 8px 32px 0 rgba(30,144,255,0.10), 0 2px 8px 0 rgba(255,131,30,0.08);
  position: relative;
}

/* Custom scrollbar for slider */
.projects-slider-section::-webkit-scrollbar {
  height: 10px;
  background: #181f2a;
  border-radius: 8px;
}
.projects-slider-section::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #ff831e 100%, #010f1c 40%);
  border-radius: 8px;
}

.project-slideshow {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  min-width: 100%;
  width: max-content;
  align-items: stretch;
  scroll-snap-type: x mandatory;
  padding: 2rem 0;
}

.project-slide {
  flex: 0 0 360px;
  max-width: 98vw;
  background: rgba(255, 255, 255, 0.055);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(30, 144, 255, 0.13), 0 2px 8px 0 rgba(255,131,30,0.08);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-snap-align: start;
  transition: 
    box-shadow 0.25s,
    transform 0.25s,
    background 0.25s;
  border: 2.5px solid #ff5a1ef1;
  position: relative;
  overflow: hidden;
}
.project-slide:hover {
  color: #071135;
  box-shadow: 0 12px 40px 0 rgba(30,144,255,0.18), 0 4px 16px 0 rgba(255,131,30,0.12);
  transform: translateY(-8px) scale(1.03);
}
.project-slide:hover .project-caption h2,
.project-slide:hover .project-caption p {
  color: inherit;
}
.project-slide::before {
  content: "";
  position: absolute;
  top: -40px; left: -40px;
  width: 80px; height: 80px;
  background: rgba(30,144,255,0.08);
  border-radius: 50%;
  z-index: 0;
}
.project-slide::after {
  content: "";
  position: absolute;
  bottom: -30px; right: -30px;
  width: 60px; height: 60px;
  background: rgba(219, 76, 14, 0.97);
  border-radius: 50%;
  z-index: 0;
}

.project-photo {
  width: 100%;
  height: 180px;           /* Adjust height as needed */
  object-fit: cover;
  border-radius: 28px 28px 0 0;
  background: #eeeeee61;
  display: block;
  box-shadow: none;
  border: none;
  margin-bottom: 0;
  flex-shrink: 0;
}

.project-caption {
  width: 100%;
  /* Remove max-width and margin auto */
  box-sizing: border-box;
  padding: 1.2rem 1rem 1.2rem 1rem;
  background: rgba(255, 255, 255, 0.244);
  border-radius: 0 0 28px 28px;
  text-align: center;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Responsive: match .project-photo width on small screens */
@media (max-width: 900px) {
  .project-caption {
    max-width: 90vw;
  }
}

@media (max-width: 600px) {
  /* Keep partner logos in a horizontal, wrapping row on small screens.
     Do NOT force links to width:100% (that caused vertical stacking). */
  .footer-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 0;
    box-sizing: border-box;
    overflow: hidden; /* prevent tiny overflow from child margins */
  }

  .footer-logos .partner-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 8px;
    box-sizing: border-box;
  }

  /* each partner item keeps auto width (no full-width links) */
  .footer-logos .partner-grid a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    max-width: 46%;
    padding: 6px;
  }

  /* logo sizing tuned for mobile */
  .footer-logos .partner-grid img,
  .footer-logos .partner-grid .partner-logo {
    max-width: 140px;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
  }
}

/* About Carousel Styles */
.about-carousel-section {
  width: 100%;
  max-width: 1100px;
  margin: 2rem auto;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

/* container is still flex for JS slide logic */
.about-carousel {
  position: relative;
  width: 100%;
  height: 420px; /* adjust height to taste */
  overflow: hidden;
}

.about-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 0.7s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  pointer-events: none;
}
.about-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
  pointer-events: auto;
}
.about-slide-content {
  background: rgba(0,0,0,0.45);
  color: #fff;
  max-width: 720px;
  padding: 1.25rem 1.5rem;
  border-radius: 6px;
}

/* Fade-style Testimonials */
.testimonial-carousel { position: relative; width: 100%; height: 320px; overflow: hidden; }
.testimonial {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  padding: 1rem;
  pointer-events: none;
}
.testimonial.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}
.testimonial img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .about-slide, .testimonial { transition: none !important; transform: none !important; }
}

/* small responsive adjustments */
@media (max-width: 720px) {
  .about-carousel { height: 320px; }
  .about-slide-content { padding: 1rem; }
}

/* Footer - wide multi-column layout */
/* Footer layout: centered 3-column grid with responsive stacking */
.site-footer {
  background: linear-gradient(180deg, #071025 0%, #060814 100%);
  padding: 2.25rem 1rem 0 1rem;
  align-items: stretch;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr minmax(520px, 700px) 1fr;
  gap: 2rem 3rem;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 2vw 1.5rem;
  box-sizing: border-box;
}

/* place columns by area for resilience to DOM order */
.footer-links   { grid-column: 1 / 2; }
.footer-logos   { grid-column: 2 / 3; }
.footer-contact { grid-column: 3 / 4; align-self: start; }

/* Left links: side-by-side columns with controlled widths */
.footer-links { display:flex; gap:24px; align-items:flex-start; flex-wrap:wrap; }
.footer-links .col { min-width:160px; max-width:320px; }
.footer-links h3 { font-size:15px; margin:0 0 10px; color:#fff; font-weight:700; }
.footer-links ul { margin:0; padding:0; list-style:none; }
.footer-links li { margin:8px 0; font-size:14px; color:#cfcfcf; }
.footer-links a { color:inherit; text-decoration:none; }

/* Center logos styling */
.footer-logos { display:flex; flex-direction:column; align-items:center; gap:1rem; padding-top:14px; border-top:1px solid rgba(255,255,255,0.04); margin-top:10px; }
.footer-logos .partner-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(110px,1fr)); gap:14px 22px; width:100%; max-width:760px; justify-items:center; align-items:center; padding:6px 8px 0; box-sizing:border-box; }
.footer-logos .partner-grid img { max-height:80px; width:auto; height:auto; object-fit:contain; display:block; }

/* Actions / contact on the right */
.footer-contact { display:flex; flex-direction:column; gap:8px; align-items:flex-end; text-align:right; }

/* Stack on small screens */
@media (max-width: 900px) {
  .footer-content { grid-template-columns: 1fr !important; padding: 1.2rem 1rem 0.8rem; }
  .footer-links { flex-direction:column; gap:12px; }
  .footer-contact { align-items:center; text-align:center; }
}

/* Copyright bar always full-width */
.site-footer .footer-copyright {
  order: 4;
  width: 100%;
  background: darkorange;
  color: #020101;
  text-align: center;
  padding: 0.7rem 0;
  font-size: 1rem;
  letter-spacing: 0.5px;
  margin: 0;
  font-weight: bold;
  box-sizing: border-box;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
}

/* Responsive: Ensure copyright stays at bottom and full width */
@media (max-width: 700px) {
  .footer-content {
    padding: 1.2rem 0 0.5rem 0;
    gap: 0.8rem;
  }
  .site-footer .footer-copyright {
    font-size: 0.95rem;
    padding: 0.6rem 0;
  }
}

.restoration-gallery {
  justify-content: center;
  gap: 1rem;
  margin: 3rem auto 2rem auto;
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 2vw;
}

.resto-card {
  flex: 1 1 0;            /* Allow cards to grow and shrink equally */
  max-width: 600px;       /* Optional: limit max width per card */
  min-width: 280px;       /* Optional: minimum width for responsiveness */
  background: rgba(9, 8, 34, 0.87);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(1, 1, 2, 0.527);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 1.5rem;
}

.resto-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.resto-card h3 {
  margin: 1.2rem 0 0.5rem 0;
  color: darkorange;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.resto-card p {
  text-align: center;
  padding: 0 1rem;
  font-size: 1rem;
  color: #f5f9fcdc;
}

.resto-slideshow {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem auto;
  max-width: none;
  width: 100vw;
  box-sizing: border-box;
  padding: 0 2vw;
  overflow-x: auto;        /* Allow horizontal scroll if needed */
  flex-wrap: wrap;         /* Wrap on small screens instead of overflowing */
}
.about-section {
  padding: 1.5rem;
  text-align: center;
  background: #0b1120; /* deep dark blue */
  border-radius: 10px;
}

.about-section h2 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: #ff7b00; /* dark orange */
}

.about-section p {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.6;
}
.testimonials {
  background: #0b1120;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.testimonials h2 {
  font-size: 1.8rem;
  color: #ff7b00;
  margin-bottom: 2rem;
}

.testimonial-carousel {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  height: 250px;
}

.testimonial {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 1s ease-in-out;
}

.testimonial.active {
  opacity: 1;
  transform: scale(1);
}

.testimonial img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.testimonial p {
  font-size: 1rem;
  color: #f1f1f1;
  margin: 0.5rem 0;
}

.testimonial span {
  font-size: 0.9rem;
  color: #ccc;
}

/* --- Services Page Styles --- */

.services-hero {
  position: relative;
  min-height: 550px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.services-hero::before {
  content: none;
  display: none;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.services-hero,
.services-hero .slideshow-bg {
  width: 100%;
  height: 100%;
}

.services-hero .slideshow-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: background-image 1s ease-in-out;
}

/* Services intro section */
.services-intro {
  background: rgba(18, 143, 245, 0.92);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(30, 144, 255, 0.13), 0 2px 8px 0 rgba(255,131,30,0.08);
  max-width: 700px;
  margin: -80px auto 2rem auto;
  position: relative;
  z-index: 2;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  text-align: center;
}

.services-intro h1 {
  font-size: 2.5rem;
  color: #0b1120;
  margin-bottom: 1rem;
  font-family: 'Anton', sans-serif;
  letter-spacing: 2px;
}

.services-intro p {
  font-size: 1.2rem;
  color: #0b1120;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.services-intro .btn-primary,
.services-intro .btn-secondary {
  margin: 0 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .services-intro {
    max-width: 98vw;
    padding: 1.5rem 0.5rem;
    margin: -40px auto 1rem auto;
  }
  .services-intro h1 {
    font-size: 2rem;
  }
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.btn-primary,
.btn-secondary {
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: #ff831e;
  color: #fff;
}

.btn-primary:hover {
  background: darkorange;
  color: #fff;
}

.btn-secondary {
  background: #181f2a;
  color: #ff831e;
  border: 2px solid #ff831e;
}

.btn-secondary:hover {
  background: #ff831e;
  color: #fff;
}

.services-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2.5rem auto 2rem auto;
  max-width: 1100px;
  padding: 0 2vw;
}

.service-card {
  background: rgba(9, 19, 49, 0.077);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(30, 144, 255, 0.13), 0 2px 8px 0 rgba(255,131,30,0.08);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 2.5px solid #ff5a1ef1;
  transition: 
    box-shadow 0.25s,
    transform 0.25s,
    background 0.25s;
}

.service-card:hover {
  color: #fff;
  box-shadow: 0 12px 40px 0 rgba(30,144,255,0.18), 0 4px 16px 0 rgba(255,131,30,0.12);
  transform: translateY(-8px) scale(1.03);
}

.service-card:hover h2,
.service-card:hover p,
.service-card:hover .icon {
  color: #fff;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -40px; left: -40px;
  width: 80px; height: 80px;
  background: rgba(30,144,255,0.08);
  border-radius: 50%;
  z-index: 0;
}
.service-card::after {
  content: "";
  position: absolute;
  bottom: -30px; right: -30px;
  width: 60px; height: 60px;
  background: rgba(255,131,30,0.10);
  border-radius: 50%;
  z-index: 0;
}

.service-card .icon {
  font-size: 2.5rem;
  color: #1e90ff;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.service-card h2, .service-card p {
  position: relative;
  z-index: 1;
  text-align: center;
}

.service-card h2 {
  font-size: 1.4rem;
  color: #ff831e;
  margin-bottom: 0.5rem;
  font-family: 'Anton', sans-serif;
  letter-spacing: 1px;
  transition: color 0.2s;
}

.service-card p {
  font-size: 1rem;
  color: #1e90ff;
  text-align: center;
  transition: color 0.2s;
}
/* Responsive for mobile */
@media (max-width: 900px) {
  .services-cards {
    flex-direction: column;
    align-items: center;
  }
  .service-card {
    max-width: 90vw;
    width: 100%;
  }
}

/* Why Choose Us & Pricing Section */
.why-choose-us, .pricing-section {
  
  background: #0b1120;
  color: #f7f8fc;
  padding: 2.5rem 1rem;
  margin: 2rem 0 0 0;
  text-align: center;
}

.why-choose-us h2, .pricing-section h2 {
  color: #1e90ff;
  font-family: 'Anton', sans-serif;
  margin-bottom: 1rem;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.why-choose-us p, .pricing-section p {
  color: darkorange;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  justify-content: center;
  text-align: center;
  align-items: center;
}
body.dark-mode .why-choose-us,
body.dark-mode .pricing-section {
  background: #0b1120;
}

body.dark-mode .services-hero h1,
body.dark-mode .why-choose-us h2,
body.dark-mode .pricing-section h2 {
  color: #ff831e;
}

body.dark-mode .services-hero p,
body.dark-mode .why-choose-us p,
body.dark-mode .pricing-section p {
  color: #ec5d09e0;
}

body.dark-mode .service-card {
  background: rgba(30,42,74,0.85);
  color: #f7f8fc;
  box-shadow: 0 4px 24px rgba(30,42,74,0.25);
}

body.dark-mode .service-card h2 {
  color: #ffffff;
}

body.dark-mode .service-card .icon {
  color: #ff831e;
}

body.dark-mode .btn-primary {
  background: #ff831e;
  color: #fff;
}

body.dark-mode .btn-primary:hover {
  background: darkorange;
  color: #fff;
}

body.dark-mode .btn-secondary {
  background: #181f2a;
  color: #ff831e;
  border: 2px solid #ff831e;
}

body.dark-mode .btn-secondary:hover {
  background: #ff831e;
  color: #fff;
}

body.dark-mode .service-card p {
  color: #fff;
}

.services-hero p,
.services-cards .service-card p,
.why-choose-us p,
.pricing-section p {
  color: darkorange; /* Slightly transparent dark orange */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-card {
  display: none !important;
}
.contact-hero {
  background: linear-gradient(120deg, #ff831e 60%, #1e90ff 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-bottom: 2rem;
}
.contact-card {
  background: rgba(255,255,255,0.97);
  border-radius: 32px;
  box-shadow: 0 12px 40px 0 rgba(30, 144, 255, 0.15), 0 2px 8px 0 rgba(255, 131, 30, 0.08);
  padding: 3rem 2.5rem;
  max-width: 480px;
  margin: 2rem auto 0 auto;
  text-align: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 2px solid #ff831e22;
}
.contact-card h1 {
  color: #ff831e;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}
.contact-card p {
  color: #333;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

/* --- Contact Form Modern Style --- */
.contact-section {
  position: relative; /* Needed for overlay positioning */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2.5rem 1rem 3rem 1rem;
  background: url(photos/contactform.jpg) center/cover no-repeat;
  z-index: 1;
  overflow: hidden;
}

/* Overlay Layer */
.contact-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 15, 44, 0.7); /* dark blue with transparency */
  z-index: -1; /* behind content, in front of background */
}

.contact-form {
  background: rgba(11, 17, 32, 0.85);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(30, 144, 255, 0.10), 0 2px 8px 0 rgba(255, 131, 30, 0.08);
  padding: 2.5rem 2rem 2rem 2rem;
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  border: 1.5px solid #ff831e44;
  margin: 0 auto;
}

.contact-form label {
  font-weight: 600;
  color: #ff831e;
  margin-bottom: 0.3rem;
  letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #ff831e33;
  border-radius: 12px;
  font-size: 1rem;
  background: #181f2a;
  color: #f7f8fc;
  transition: border 0.2s, box-shadow 0.2s;
  margin-bottom: 0.5rem;
  outline: none;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 1.5px solid #ff831e;
  box-shadow: 0 0 0 2px #ff831e33;
  background: #222b3a;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn-primary {
  background: linear-gradient(90deg, #1e90ff 60%, #ff831e 100%);
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  border: none;
  border-radius: 18px;
  padding: 0.9rem 0;
  margin-top: 0.5rem;
  box-shadow: 0 2px 8px 0 rgba(30, 144, 255, 0.08);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.contact-form .btn-primary:hover {
  background: linear-gradient(90deg, #ff831e 60%, #1e90ff 100%);
  box-shadow: 0 4px 16px 0 rgba(255, 131, 30, 0.12);
}

@media (max-width: 600px) {
  .contact-form {
    padding: 1.2rem 0.5rem;
    max-width: 98vw;
  }
}

/* Improved Hero Section */
.improved-hero {
  position: relative;
  background: url('photos/hero-bg.jpg') center/cover no-repeat, #0b1120;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11, 17, 32, 0.95); /* Deep dark blue overlay */
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100vw;
  max-width: none;
  margin: 0 auto;
  padding: 0 ;
}
.hero-text {
  flex: 1 1 350px;
  color: #fff;
  padding-right: 2rem;
}
.hero-text h1 {
  font-family: 'Anton', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
}
.animated-btn {
  transition: transform 0.2s, box-shadow 0.2s;
}
.animated-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.hero-image img {
  max-width: 100%;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

/* Improved Cards Section */
.improved-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 3rem 0;
  flex-wrap: wrap;
}
.improved-cards .card {
  background: #180d3386;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 2rem 1.5rem;
  flex: 1 1 280px;
  max-width: none;
  margin: 3rem;
  width: 100vw;
  height: auto;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.improved-cards .card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}
.improved-cards .icon {
  color: #1e90ff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.improved-cards h2 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: darkorange;
}
.improved-cards p {
  color: #ffffffbd;
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .hero-text {
    padding-right: 0;
    margin-bottom: 2rem;
    width: 100%;
  }
  .hero-image {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }
  .hero-image img {
    max-width: 95vw;
    width: 100%;
    height: auto;
    border-radius: 12px;
  }
}

/* For very small screens */
@media (max-width: 600px) {
  .hero {
    padding: 1rem 0.2rem;
  }
  .hero-content {
    padding: 1rem 0.2rem;
  }
}

/* Fix: remove mobile horizontal overflow and prevent 100vw overflow */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Mobile overrides: ensure wide elements use container width, not 100vw */
@media (max-width: 900px) {
  .improved-hero,
  .hero,
  .hero-content,
  .improved-cards .card,
  .resto-slideshow,
  .about-carousel-section,
  .projects-slider-section,
  .project-slide,
  .hero-image,
  .footer-content {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }

  /* remove any fixed vw widths that cause overflow */
  :root { --safe-full: 100%; }
  /* small tweak for the copyright row if it was using vw width */
  .site-footer .footer-copyright {
    width: 100% !important;
    left: 0 !important;
    transform: none !important;
  }
}

/* Hamburger styles */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
  margin-left: 1rem;
}
.nav-toggle .bar {
  width: 28px;
  height: 4px;
  background: #fff;
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* Responsive navbar */
@media (max-width: 700px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: #0b112081;
    flex-direction: column;
    width: 20vw;
    max-width: 300px;
    height: 0;
    overflow: hidden;
    transition: height 0.3s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  /* border-radius: 0 0 0 16px; */
    z-index: 1000;
  }
  .nav-links.open {
    height: 260px; /* Adjust based on number of links */
    padding: 0.5rem 0;
  }
  .nav-links li {
    margin: 0.5rem 0;
    text-align: right;
  }
  .nav-toggle {
    display: flex;
  }
  .navbar {`n    position: sticky;`n    top: 0;`n    z-index: 1100;`n  }
}

/* Hide nav links by default on mobile */
@media (max-width: 700px) {
  .nav-links {
    display: flex;
    height: 0;
    padding: 0;
  }
}

/* Scroll to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 32px;
  right: 24px;
  z-index: 1200;
  background: linear-gradient(135deg, #0b1120 60%, #ff831e 100%);
  color: #fff;
  border: none;
  outline: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  box-shadow: 0 4px 16px rgba(30,144,255,0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  opacity: 0.85;
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
}
#scrollTopBtn:hover {
  background: linear-gradient(135deg, #ff831e 60%, #0b1120 100%);
}
#scrollTopBtn:active {
  background: #0b1120;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #0b1120;
    color: #f7f8fc;
  }
  .card,
  .improved-cards .card {
    background: rgba(255,255,255,0.05);
    color: #f7f8fc;
  }
  .btn-primary,
  .btn-secondary {
    background: #1e90ff;
    color: #fff;
  }
  /* Add more overrides as needed for dark mode */
}
/* Footer-contact Styles */
.footer-contact a,
.footer-contact svg {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s, fill 0.3s;
}

.footer-contact a:hover,
.footer-contact svg:hover {
  transform: scale(1.78) rotate(-3deg);
  box-shadow: 0 4px 16px rgba(255,131,30,0.18);
  color: darkorange;
  transition: transform 0.3s, box-shadow 0.3s, color 0.3s;
}

/* Animate footer logos on hover */
.footer-logos img,
.footer-logos .partner-logo {
  max-width: 100px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  margin: 0 6px;
}

/* Animate footer social icons on hover */
.footer-social a,
.footer-social svg {
  color: #fff;
  font-size: 2.75rem !important; /* Twice the default size */
  width: 2.75rem !important;
  height: 2.75rem !important;
  transition: color 0.3s, transform 0.3s;
}
.footer-social {
  gap: 2.5rem; /* Increase spacing between icons */
}
.footer-social a:hover,
.footer-social svg:hover {
  color: darkorange;
  transform: scale(1.38) rotate(6deg);
}

/* Restore pointer cursor for clickable icons */
.footer-social a,
.footer-logos a {
  cursor: pointer;
}
/* --- New Project Slideshow: Horizontal Scrollable Cards --- */
.projects-slider-section {
  width: 100%;
  max-width: 1600px;
  margin: 3rem auto 2rem auto;
  padding: 0 2vw;
  overflow-x: auto;
  overflow-y: visible;
  box-sizing: border-box;
  scroll-snap-type: x mandatory;
  display: flex;
  flex-direction: row;
  gap: 2rem;
  background: linear-gradient(120deg, #0b1120 60%, #1e90ff 100%);
  border-radius: 32px;
  box-shadow: 0 8px 32px 0 rgba(30,144,255,0.10), 0 2px 8px 0 rgba(255,131,30,0.08);
  position: relative;
}

/* Custom scrollbar for slider */
.projects-slider-section::-webkit-scrollbar {
  height: 10px;
  background: #181f2a;
  border-radius: 8px;
}
.projects-slider-section::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #ff831e 100%, #010f1c 40%);
  border-radius: 8px;
}

.project-slideshow {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  min-width: 100%;
  width: max-content;
  align-items: stretch;
  scroll-snap-type: x mandatory;
  padding: 2rem 0;
}

.project-slide {
  flex: 0 0 360px;
  max-width: 98vw;
  background: rgba(255, 255, 255, 0.055);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(30, 144, 255, 0.13), 0 2px 8px 0 rgba(255,131,30,0.08);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-snap-align: start;
  transition: 
    box-shadow 0.25s,
    transform 0.25s,
    background 0.25s;
  border: 2.5px solid #ff5a1ef1;
  position: relative;
  overflow: hidden;
}
.project-slide:hover {
  color: #071135;
  box-shadow: 0 12px 40px 0 rgba(30,144,255,0.18), 0 4px 16px 0 rgba(255,131,30,0.12);
  transform: translateY(-8px) scale(1.03);
}
.project-slide:hover .project-caption h2,
.project-slide:hover .project-caption p {
  color: inherit;
}
.project-slide::before {
  content: "";
  position: absolute;
  top: -40px; left: -40px;
  width: 80px; height: 80px;
  background: rgba(30,144,255,0.08);
  border-radius: 50%;
  z-index: 0;
}
.project-slide::after {
  content: "";
  position: absolute;
  bottom: -30px; right: -30px;
  width: 60px; height: 60px;
  background: rgba(219, 76, 14, 0.97);
  border-radius: 50%;
  z-index: 0;
}

.project-photo {
  width: 100%;
  height: 180px;           /* Adjust height as needed */
  object-fit: cover;
  border-radius: 28px 28px 0 0;
  background: #eeeeee61;
  display: block;
  box-shadow: none;
  border: none;
  margin-bottom: 0;
  flex-shrink: 0;
}

.project-caption {
  width: 100%;
  /* Remove max-width and margin auto */
  box-sizing: border-box;
  padding: 1.2rem 1rem 1.2rem 1rem;
  background: rgba(255, 255, 255, 0.244);
  border-radius: 0 0 28px 28px;
  text-align: center;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Responsive: match .project-photo width on small screens */
@media (max-width: 900px) {
  .project-caption {
    max-width: 90vw;
  }
}

@media (max-width: 600px) {
  /* Keep partner logos in a horizontal, wrapping row on small screens.
     Do NOT force links to width:100% (that caused vertical stacking). */
  .footer-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 0;
    box-sizing: border-box;
    overflow: hidden; /* prevent tiny overflow from child margins */
  }

  .footer-logos .partner-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 8px;
    box-sizing: border-box;
  }

  /* each partner item keeps auto width (no full-width links) */
  .footer-logos .partner-grid a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    max-width: 46%;
    padding: 6px;
  }

  /* logo sizing tuned for mobile */
  .footer-logos .partner-grid img,
  .footer-logos .partner-grid .partner-logo {
    max-width: 140px;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
  }
}

/* About Carousel Styles */
.about-carousel-section {
  width: 100%;
  max-width: 1100px;
  margin: 2rem auto;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

/* container is still flex for JS slide logic */
.about-carousel {
  position: relative;
  width: 100%;
  height: 420px; /* adjust height to taste */
  overflow: hidden;
}

.about-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 0.7s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  pointer-events: none;
}
.about-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
  pointer-events: auto;
}
.about-slide-content {
  background: rgba(0,0,0,0.45);
  color: #fff;
  max-width: 720px;
  padding: 1.25rem 1.5rem;
  border-radius: 6px;
}

/* Fade-style Testimonials */
.testimonial-carousel { position: relative; width: 100%; height: 320px; overflow: hidden; }
.testimonial {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  padding: 1rem;
  pointer-events: none;
}
.testimonial.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}
.testimonial img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .about-slide, .testimonial { transition: none !important; transform: none !important; }
}

/* small responsive adjustments */
@media (max-width: 720px) {
  .about-carousel { height: 320px; }
  .about-slide-content { padding: 1rem; }
}

/* Footer - wide multi-column layout */
.site-footer {
  background: linear-gradient(180deg, #071025 0%, #060814 100%);
  padding: 2.25rem 3rem 0 3rem;
  align-items: stretch;
}

/* Grid for main footer content: logo/contact | columns... | actions */
.footer-content {
  display: grid;
  grid-template-columns: 220px 1fr 300px;
  grid-template-areas: "links logos contact";
  gap: 2rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 1.5rem;
  box-sizing: border-box;
}

/* area assignments (works regardless of DOM order) */
.footer-links      { grid-area: links; }
.footer-logos      { grid-area: logos; display: block; }
.footer-contact    { grid-area: contact; align-self: start; }

/* Links column */
.footer-links .col { margin-bottom: 0.6rem; }
.footer-links h3 {
  font-size: 15px;
  margin: 0 0 10px;
  color: #ffffff;
  font-weight: 700;
}
.footer-links ul { margin: 0; padding: 0; list-style: none; }
.footer-links li {
  margin: 8px 0;
  font-size: 14px;
  color: #cfcfcf;
}
.footer-links a { color: inherit; text-decoration: none; }

/* Center: socials on top, then partner logos grid */
.footer-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;

  /* moved lower: subtle separator + spacing from items above */
  padding-top: 14px;                      /* space inside the block */
  border-top: 1px solid rgba(255,255,255,0.04); /* thin divider line */
  margin-top: 10px;                       /* extra gap from elements above */
}

/* improved partner grid: use CSS grid so logos align and wrap neatly */
.footer-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 18px; /* move logos lower */
  border-top: 1px solid rgba(255,255,255,0.04);
  margin-top: 14px;
}
.partner-heading {
  margin-top: 6px;
  margin-bottom: 12px;
}

/* switch to grid for logos for consistent rows */
.footer-logos .partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 14px 22px;
  width: 100%;
  max-width: 760px; /* constrain full-width on wide screens */
  justify-items: center;
  align-items: center;
  padding: 6px 8px 0;
  box-sizing: border-box;
}

/* constrain logo size so they don't overflow or stack */
.footer-logos .partner-grid img {
  max-height: 56px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* give CTA / socials breathing room above logos */
.footer-cta {
  margin-top: 8px;
  margin-bottom: 8px;
}

/* Mobile: enlarge partner logos (approx. 2x) and ensure grid still fits */
@media (max-width: 600px) {
  .footer-logos .partner-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    max-width: 100%;
    padding: 6px;
    gap: 14px 18px;
    justify-items: center;
  }

  .footer-logos .partner-grid a {
    max-width: 100%;
    padding: 6px;
    box-sizing: border-box;
  }

  /* increase logo size (was ~48-64px) — set to ~120px max height */
  .footer-logos .partner-grid img,
  .footer-logos .partner-grid .partner-logo {
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
  }
}

/* Footer socials below logos, above copyright */
.footer-social {
  order: 3;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Copyright always at the bottom, full width, dark orange background */
.site-footer .footer-copyright {
  order: 4;
  width: 100vw;
  background: darkorange;
  color: #020101;
  text-align: center;
  padding: 0.7rem 0;
  font-size: 1rem;
  letter-spacing: 0.5px;
  margin: 0;
  font-weight: bold;
  border-radius: 0 0 0 0;
  position: relative;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
  box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
}

/* Responsive: Ensure copyright stays at bottom and full width */
@media (max-width: 700px) {
  .footer-content {
    padding: 1.2rem 0 0.5rem 0;
    gap: 0.8rem;
  }
  .site-footer .footer-copyright {
    font-size: 0.95rem;
    padding: 0.6rem 0;
  }
}

.restoration-gallery {
  justify-content: center;
  gap: 1rem;
  margin: 3rem auto 2rem auto;
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 2vw;
}

.resto-card {
  flex: 1 1 0;            /* Allow cards to grow and shrink equally */
  max-width: 600px;       /* Optional: limit max width per card */
  min-width: 280px;       /* Optional: minimum width for responsiveness */
  background: rgba(9, 8, 34, 0.87);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(1, 1, 2, 0.527);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 1.5rem;
}

.resto-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.resto-card h3 {
  margin: 1.2rem 0 0.5rem 0;
  color: darkorange;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.resto-card p {
  text-align: center;
  padding: 0 1rem;
  font-size: 1rem;
  color: #f5f9fcdc;
}

.resto-slideshow {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem auto;
  max-width: none;
  width: 100vw;
  box-sizing: border-box;
  padding: 0 2vw;
  overflow-x: auto;        /* Allow horizontal scroll if needed */
  flex-wrap: wrap;         /* Wrap on small screens instead of overflowing */
}
.about-section {
  padding: 1.5rem;
  text-align: center;
  background: #0b1120; /* deep dark blue */
  border-radius: 10px;
}

.about-section h2 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: #ff7b00; /* dark orange */
}

.about-section p {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.6;
}
.testimonials {
  background: #0b1120;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.testimonials h2 {
  font-size: 1.8rem;
  color: #ff7b00;
  margin-bottom: 2rem;
}

.testimonial-carousel {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  height: 250px;
}

.testimonial {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 1s ease-in-out;
}

.testimonial.active {
  opacity: 1;
  transform: scale(1);
}

.testimonial img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.testimonial p {
  font-size: 1rem;
  color: #f1f1f1;
  margin: 0.5rem 0;
}

.testimonial span {
  font-size: 0.9rem;
  color: #ccc;
}

/* --- Services Page Styles --- */

.services-hero {
  position: relative;
  min-height: 550px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.services-hero::before {
  content: none;
  display: none;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.services-hero,
.services-hero .slideshow-bg {
  width: 100%;
  height: 100%;
}

.services-hero .slideshow-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: background-image 1s ease-in-out;
}

/* Services intro section */
.services-intro {
  background: rgba(18, 143, 245, 0.92);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(30, 144, 255, 0.13), 0 2px 8px 0 rgba(255,131,30,0.08);
  max-width: 700px;
  margin: -80px auto 2rem auto;
  position: relative;
  z-index: 2;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  text-align: center;
}

.services-intro h1 {
  font-size: 2.5rem;
  color: #0b1120;
  margin-bottom: 1rem;
  font-family: 'Anton', sans-serif;
  letter-spacing: 2px;
}

.services-intro p {
  font-size: 1.2rem;
  color: #0b1120;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.services-intro .btn-primary,
.services-intro .btn-secondary {
  margin: 0 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .services-intro {
    max-width: 98vw;
    padding: 1.5rem 0.5rem;
    margin: -40px auto 1rem auto;
  }
  .services-intro h1 {
    font-size: 2rem;
  }
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.btn-primary,
.btn-secondary {
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: #ff831e;
  color: #fff;
}

.btn-primary:hover {
  background: darkorange;
  color: #fff;
}

.btn-secondary {
  background: #181f2a;
  color: #ff831e;
  border: 2px solid #ff831e;
}

.btn-secondary:hover {
  background: #ff831e;
  color: #fff;
}

.services-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2.5rem auto 2rem auto;
  max-width: 1100px;
  padding: 0 2vw;
}

.service-card {
  background: rgba(9, 19, 49, 0.077);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(30, 144, 255, 0.13), 0 2px 8px 0 rgba(255,131,30,0.08);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 2.5px solid #ff5a1ef1;
  transition: 
    box-shadow 0.25s,
    transform 0.25s,
    background 0.25s;
}

.service-card:hover {
  color: #fff;
  box-shadow: 0 12px 40px 0 rgba(30,144,255,0.18), 0 4px 16px 0 rgba(255,131,30,0.12);
  transform: translateY(-8px) scale(1.03);
}

.service-card:hover h2,
.service-card:hover p,
.service-card:hover .icon {
  color: #fff;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -40px; left: -40px;
  width: 80px; height: 80px;
  background: rgba(30,144,255,0.08);
  border-radius: 50%;
  z-index: 0;
}
.service-card::after {
  content: "";
  position: absolute;
  bottom: -30px; right: -30px;
  width: 60px; height: 60px;
  background: rgba(255,131,30,0.10);
  border-radius: 50%;
  z-index: 0;
}

.service-card .icon {
  font-size: 2.5rem;
  color: #1e90ff;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.service-card h2, .service-card p {
  position: relative;
  z-index: 1;
  text-align: center;
}

.service-card h2 {
  font-size: 1.4rem;
  color: #ff831e;
  margin-bottom: 0.5rem;
  font-family: 'Anton', sans-serif;
  letter-spacing: 1px;
  transition: color 0.2s;
}

.service-card p {
  font-size: 1rem;
  color: #1e90ff;
  text-align: center;
  transition: color 0.2s;
}
/* Responsive for mobile */
@media (max-width: 900px) {
  .services-cards {
    flex-direction: column;
    align-items: center;
  }
  .service-card {
    max-width: 90vw;
    width: 100%;
  }
}

/* Why Choose Us & Pricing Section */
.why-choose-us, .pricing-section {
  
  background: #0b1120;
  color: #f7f8fc;
  padding: 2.5rem 1rem;
  margin: 2rem 0 0 0;
  text-align: center;
}

.why-choose-us h2, .pricing-section h2 {
  color: #1e90ff;
  font-family: 'Anton', sans-serif;
  margin-bottom: 1rem;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.why-choose-us p, .pricing-section p {
  color: darkorange;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  justify-content: center;
  text-align: center;
  align-items: center;
}
body.dark-mode .why-choose-us,
body.dark-mode .pricing-section {
  background: #0b1120;
}

body.dark-mode .services-hero h1,
body.dark-mode .why-choose-us h2,
body.dark-mode .pricing-section h2 {
  color: #ff831e;
}

body.dark-mode .services-hero p,
body.dark-mode .why-choose-us p,
body.dark-mode .pricing-section p {
  color: #ec5d09e0;
}

body.dark-mode .service-card {
  background: rgba(30,42,74,0.85);
  color: #f7f8fc;
  box-shadow: 0 4px 24px rgba(30,42,74,0.25);
}

body.dark-mode .service-card h2 {
  color: #ffffff;
}

body.dark-mode .service-card .icon {
  color: #ff831e;
}

body.dark-mode .btn-primary {
  background: #ff831e;
  color: #fff;
}

body.dark-mode .btn-primary:hover {
  background: darkorange;
  color: #fff;
}

body.dark-mode .btn-secondary {
  background: #181f2a;
  color: #ff831e;
  border: 2px solid #ff831e;
}

body.dark-mode .btn-secondary:hover {
  background: #ff831e;
  color: #fff;
}

body.dark-mode .service-card p {
  color: #fff;
}

.services-hero p,
.services-cards .service-card p,
.why-choose-us p,
.pricing-section p {
  color: darkorange; /* Slightly transparent dark orange */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-card {
  display: none !important;
}
.contact-hero {
  background: linear-gradient(120deg, #ff831e 60%, #1e90ff 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-bottom: 2rem;
}
.contact-card {
  background: rgba(255,255,255,0.97);
  border-radius: 32px;
  box-shadow: 0 12px 40px 0 rgba(30, 144, 255, 0.15), 0 2px 8px 0 rgba(255, 131, 30, 0.08);
  padding: 3rem 2.5rem;
  max-width: 480px;
  margin: 2rem auto 0 auto;
  text-align: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 2px solid #ff831e22;
}
.contact-card h1 {
  color: #ff831e;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}
.contact-card p {
  color: #333;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

/* --- Contact Form Modern Style --- */
.contact-section {
  position: relative; /* Needed for overlay positioning */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2.5rem 1rem 3rem 1rem;
  background: url(photos/contactform.jpg) center/cover no-repeat;
  z-index: 1;
  overflow: hidden;
}

/* Overlay Layer */
.contact-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 15, 44, 0.7); /* dark blue with transparency */
  z-index: -1; /* behind content, in front of background */
}

.contact-form {
  background: rgba(11, 17, 32, 0.85);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(30, 144, 255, 0.10), 0 2px 8px 0 rgba(255, 131, 30, 0.08);
  padding: 2.5rem 2rem 2rem 2rem;
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  border: 1.5px solid #ff831e44;
  margin: 0 auto;
}

.contact-form label {
  font-weight: 600;
  color: #ff831e;
  margin-bottom: 0.3rem;
  letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #ff831e33;
  border-radius: 12px;
  font-size: 1rem;
  background: #181f2a;
  color: #f7f8fc;
  transition: border 0.2s, box-shadow 0.2s;
  margin-bottom: 0.5rem;
  outline: none;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 1.5px solid #ff831e;
  box-shadow: 0 0 0 2px #ff831e33;
  background: #222b3a;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn-primary {
  background: linear-gradient(90deg, #1e90ff 60%, #ff831e 100%);
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  border: none;
  border-radius: 18px;
  padding: 0.9rem 0;
  margin-top: 0.5rem;
  box-shadow: 0 2px 8px 0 rgba(30, 144, 255, 0.08);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.contact-form .btn-primary:hover {
  background: linear-gradient(90deg, #ff831e 60%, #1e90ff 100%);
  box-shadow: 0 4px 16px 0 rgba(255, 131, 30, 0.12);
}

@media (max-width: 600px) {
  .contact-form {
    padding: 1.2rem 0.5rem;
    max-width: 98vw;
  }
}

/* Improved Hero Section */
.improved-hero {
  position: relative;
  background: url('photos/hero-bg.jpg') center/cover no-repeat, #0b1120;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11, 17, 32, 0.95); /* Deep dark blue overlay */
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100vw;
  max-width: none;
  margin: 0 auto;
  padding: 0 ;
}
.hero-text {
  flex: 1 1 350px;
  color: #fff;
  padding-right: 2rem;
}
.hero-text h1 {
  font-family: 'Anton', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
}
.animated-btn {
  transition: transform 0.2s, box-shadow 0.2s;
}
.animated-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.hero-image img {
  max-width: 100%;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

/* Improved Cards Section */
.improved-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 3rem 0;
  flex-wrap: wrap;
}
.improved-cards .card {
  background: #180d3386;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 2rem 1.5rem;
  flex: 1 1 280px;
  max-width: none;
  margin: 3rem;
  width: 100vw;
  height: auto;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.improved-cards .card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}
.improved-cards .icon {
  color: #1e90ff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.improved-cards h2 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: darkorange;
}
.improved-cards p {
  color: #ffffffbd;
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .hero-text {
    padding-right: 0;
    margin-bottom: 2rem;
    width: 100%;
  }
  .hero-image {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }
  .hero-image img {
    max-width: 95vw;
    width: 100%;
    height: auto;
    border-radius: 12px;
  }
}

/* For very small screens */
@media (max-width: 600px) {
  .hero {
    padding: 1rem 0.2rem;
  }
  .hero-content {
    padding: 1rem 0.2rem;
  }
}

/* Fix: remove mobile horizontal overflow and prevent 100vw overflow */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Mobile overrides: ensure wide elements use container width, not 100vw */
@media (max-width: 900px) {
  .improved-hero,
  .hero,
  .hero-content,
  .improved-cards .card,
  .resto-slideshow,
  .about-carousel-section,
  .projects-slider-section,
  .project-slide,
  .hero-image,
  .footer-content {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }

  /* remove any fixed vw widths that cause overflow */
  :root { --safe-full: 100%; }
  /* small tweak for the copyright row if it was using vw width */
  .site-footer .footer-copyright {
    width: 100% !important;
    left: 0 !important;
    transform: none !important;
  }
}

/* Hamburger styles */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
  margin-left: 1rem;
}
.nav-toggle .bar {
  width: 28px;
  height: 4px;
  background: #fff;
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* Responsive navbar */
@media (max-width: 700px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: #0b112081;
    flex-direction: column;
    width: 20vw;
    max-width: 300px;
    height: 0;
    overflow: hidden;
    transition: height 0.3s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  /* border-radius: 0 0 0 16px; */
    z-index: 1000;
  }
  .nav-links.open {
    height: 260px; /* Adjust based on number of links */
    padding: 0.5rem 0;
  }
  .nav-links li {
    margin: 0.5rem 0;
    text-align: right;
  }
  .nav-toggle {
    display: flex;
  }
  .navbar {`n    position: sticky;`n    top: 0;`n    z-index: 1100;`n  }
}

/* Hide nav links by default on mobile */
@media (max-width: 700px) {
  .nav-links {
    display: flex;
    height: 0;
    padding: 0;
  }
}

/* Scroll to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 32px;
  right: 24px;
  z-index: 1200;
  background: linear-gradient(135deg, #0b1120 60%, #ff831e 100%);
  color: #fff;
  border: none;
  outline: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  box-shadow: 0 4px 16px rgba(30,144,255,0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  opacity: 0.85;
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
}
#scrollTopBtn:hover {
  background: linear-gradient(135deg, #ff831e 60%, #0b1120 100%);
}
#scrollTopBtn:active {
  background: #0b1120;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #0b1120;
    color: #f7f8fc;
  }
  .card,
  .improved-cards .card {
    background: rgba(255,255,255,0.05);
    color: #f7f8fc;
  }
  .btn-primary,
  .btn-secondary {
    background: #1e90ff;
    color: #fff;
  }
  /* Add more overrides as needed for dark mode */
}
/* Footer-contact Styles */
.footer-contact a,
.footer-contact svg {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s, fill 0.3s;
}

.footer-contact a:hover,
.footer-contact svg:hover {
  transform: scale(1.78) rotate(-3deg);
  box-shadow: 0 4px 16px rgba(255,131,30,0.18);
  color: darkorange;
  transition: transform 0.3s, box-shadow 0.3s, color 0.3s;
}

/* Animate footer logos on hover */
.footer-logos img,
.footer-logos .partner-logo {
  max-width: 100px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  margin: 0 6px;
}

/* Animate footer social icons on hover */
.footer-social a,
.footer-social svg {
  color: #fff;
  font-size: 2.75rem !important; /* Twice the default size */
  width: 2.75rem !important;
  height: 2.75rem !important;
  transition: color 0.3s, transform 0.3s;
}
.footer-social {
  gap: 2.5rem; /* Increase spacing between icons */
}
.footer-social a:hover,
.footer-social svg:hover {
  color: darkorange;
  transform: scale(1.38) rotate(6deg);
}

/* Restore pointer cursor for clickable icons */
.footer-social a,
.footer-logos a {
  cursor: pointer;
}
/* --- New Project Slideshow: Horizontal Scrollable Cards --- */
.projects-slider-section {
  width: 100%;
  max-width: 1600px;
  margin: 3rem auto 2rem auto;
  padding: 0 2vw;
  overflow-x: auto;
  overflow-y: visible;
  box-sizing: border-box;
  scroll-snap-type: x mandatory;
  display: flex;
  flex-direction: row;
  gap: 2rem;
  background: linear-gradient(120deg, #0b1120 60%, #1e90ff 100%);
  border-radius: 32px;
  box-shadow: 0 8px 32px 0 rgba(30,144,255,0.10), 0 2px 8px 0 rgba(255,131,30,0.08);
  position: relative;
}

/* Custom scrollbar for slider */
.projects-slider-section::-webkit-scrollbar {
  height: 10px;
  background: #181f2a;
  border-radius: 8px;
}
.projects-slider-section::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #ff831e 100%, #010f1c 40%);
  border-radius: 8px;
}

.project-slideshow {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  min-width: 100%;
  width: max-content;
  align-items: stretch;
  scroll-snap-type: x mandatory;
  padding: 2rem 0;
}

.project-slide {
  flex: 0 0 360px;
  max-width: 98vw;
  background: rgba(255, 255, 255, 0.055);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(30, 144, 255, 0.13), 0 2px 8px 0 rgba(255,131,30,0.08);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-snap-align: start;
  transition: 
    box-shadow 0.25s,
    transform 0.25s,
    background 0.25s;
  border: 2.5px solid #ff5a1ef1;
  position: relative;
  overflow: hidden;
}
.project-slide:hover {
  color: #071135;
  box-shadow: 0 12px 40px 0 rgba(30,144,255,0.18), 0 4px 16px 0 rgba(255,131,30,0.12);
  transform: translateY(-8px) scale(1.03);
}
.project-slide:hover .project-caption h2,
.project-slide:hover .project-caption p {
  color: inherit;
}
.project-slide::before {
  content: "";
  position: absolute;
  top: -40px; left: -40px;
  width: 80px; height: 80px;
  background: rgba(30,144,255,0.08);
  border-radius: 50%;
  z-index: 0;
}
.project-slide::after {
  content: "";
  position: absolute;
  bottom: -30px; right: -30px;
  width: 60px; height: 60px;
  background: rgba(219, 76, 14, 0.97);
  border-radius: 50%;
  z-index: 0;
}

.project-photo {
  width: 100%;
  height: 180px;           /* Adjust height as needed */
  object-fit: cover;
  border-radius: 28px 28px 0 0;
  background: #eeeeee61;
  display: block;
  box-shadow: none;
  border: none;
  margin-bottom: 0;
  flex-shrink: 0;
}

.project-caption {
  width: 100%;
  /* Remove max-width and margin auto */
  box-sizing: border-box;
  padding: 1.2rem 1rem 1.2rem 1rem;
  background: rgba(255, 255, 255, 0.244);
  border-radius: 0 0 28px 28px;
  text-align: center;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Responsive: match .project-photo width on small screens */
@media (max-width: 900px) {
  .project-caption {
    max-width: 90vw;
  }
}

@media (max-width: 600px) {
  /* Keep partner logos in a horizontal, wrapping row on small screens.
     Do NOT force links to width:100% (that caused vertical stacking). */
  .footer-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 0;
    box-sizing: border-box;
    overflow: hidden; /* prevent tiny overflow from child margins */
  }

  .footer-logos .partner-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 8px;
    box-sizing: border-box;
  }

  /* each partner item keeps auto width (no full-width links) */
  .footer-logos .partner-grid a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    max-width: 46%;
    padding: 6px;
  }

  /* logo sizing tuned for mobile */
  .footer-logos .partner-grid img,
  .footer-logos .partner-grid .partner-logo {
    max-width: 140px;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
  }
}

/* About Carousel Styles */
.about-carousel-section {
  width: 100%;
  max-width: 1100px;
  margin: 2rem auto;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

/* container is still flex for JS slide logic */
.about-carousel {
  position: relative;
  width: 100%;
  height: 420px; /* adjust height to taste */
  overflow: hidden;
}

.about-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 0.7s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  pointer-events: none;
}
.about-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
  pointer-events: auto;
}
.about-slide-content {
  background: rgba(0,0,0,0.45);
  color: #fff;
  max-width: 720px;
  padding: 1.25rem 1.5rem;
  border-radius: 6px;
}

/* Fade-style Testimonials */
.testimonial-carousel { position: relative; width: 100%; height: 320px; overflow: hidden; }
.testimonial {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  padding: 1rem;
  pointer-events: none;
}
.testimonial.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}
.testimonial img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .about-slide, .testimonial { transition: none !important; transform: none !important; }
}

/* small responsive adjustments */
@media (max-width: 720px) {
  .about-carousel { height: 320px; }
  .about-slide-content { padding: 1rem; }
}

/* Footer - wide multi-column layout */
.site-footer {
  background: linear-gradient(180deg, #071025 0%, #060814 100%);
  padding: 2.25rem 3rem 0 3rem;
  align-items: stretch;
}

/* Grid for main footer content: logo/contact | columns... | actions */
.footer-content {
  display: grid;
  grid-template-columns: 220px 1fr 300px;
  grid-template-areas: "links logos contact";
  gap: 2rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 1.5rem;
  box-sizing: border-box;
}

/* area assignments (works regardless of DOM order) */
.footer-links      { grid-area: links; }
.footer-logos      { grid-area: logos; display: block; }
.footer-contact    { grid-area: contact; align-self: start; }

/* Links column */
.footer-links .col { margin-bottom: 0.6rem; }
.footer-links h3 {
  font-size: 15px;
  margin: 0 0 10px;
  color: #ffffff;
  font-weight: 700;
}
.footer-links ul { margin: 0; padding: 0; list-style: none; }
.footer-links li {
  margin: 8px 0;
  font-size: 14px;
  color: #cfcfcf;
}
.footer-links a { color: inherit; text-decoration: none; }

/* Center: socials on top, then partner logos grid */
.footer-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;

  /* moved lower: subtle separator + spacing from items above */
  padding-top: 14px;                      /* space inside the block */
  border-top: 1px solid rgba(255,255,255,0.04); /* thin divider line */
  margin-top: 10px;                       /* extra gap from elements above */
}

/* improved partner grid: use CSS grid so logos align and wrap neatly */
.footer-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 18px; /* move logos lower */
  border-top: 1px solid rgba(255,255,255,0.04);
  margin-top: 14px;
}
.partner-heading {
  margin-top: 6px;
  margin-bottom: 12px;
}

/* switch to grid for logos for consistent rows */
.footer-logos .partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 14px 22px;
  width: 100%;
  max-width: 760px; /* constrain full-width on wide screens */
  justify-items: center;
  align-items: center;
  padding: 6px 8px 0;
  box-sizing: border-box;
}

/* constrain logo size so they don't overflow or stack */
.footer-logos .partner-grid img {
  max-height: 56px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* give CTA / socials breathing room above logos */
.footer-cta {
  margin-top: 8px;
  margin-bottom: 8px;
}

/* Mobile: enlarge partner logos (approx. 2x) and ensure grid still fits */
@media (max-width: 600px) {
  .footer-logos .partner-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    max-width: 100%;
    padding: 6px;
    gap: 14px 18px;
    justify-items: center;
  }

  .footer-logos .partner-grid a {
    max-width: 100%;
    padding: 6px;
    box-sizing: border-box;
  }

  /* increase logo size (was ~48-64px) — set to ~120px max height */
  .footer-logos .partner-grid img,
  .footer-logos .partner-grid .partner-logo {
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
  }
}

/* Footer socials below logos, above copyright */
.footer-social {
  order: 3;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Copyright always at the bottom, full width, dark orange background */
.site-footer .footer-copyright {
  order: 4;
  width: 100vw;
  background: darkorange;
  color: #020101;
  text-align: center;
  padding: 0.7rem 0;
  font-size: 1rem;
  letter-spacing: 0.5px;
  margin: 0;
  font-weight: bold;
  border-radius: 0 0 0 0;
  position: relative;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
  box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
}

/* Responsive: Ensure copyright stays at bottom and full width */
@media (max-width: 700px) {
  .footer-content {
    padding: 1.2rem 0 0.5rem 0;
    gap: 0.8rem;
  }
  .site-footer .footer-copyright {
    font-size: 0.95rem;
    padding: 0.6rem 0;
  }
}

.restoration-gallery {
  justify-content: center;
  gap: 1rem;
  margin: 3rem auto 2rem auto;
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 2vw;
}

.resto-card {
  flex: 1 1 0;            /* Allow cards to grow and shrink equally */
  max-width: 600px;       /* Optional: limit max width per card */
  min-width: 280px;       /* Optional: minimum width for responsiveness */
  background: rgba(9, 8, 34, 0.87);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(1, 1, 2, 0.527);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 1.5rem;
}

.resto-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.resto-card h3 {
  margin: 1.2rem 0 0.5rem 0;
  color: darkorange;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.resto-card p {
  text-align: center;
  padding: 0 1rem;
  font-size: 1rem;
  color: #f5f9fcdc;
}

.resto-slideshow {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem auto;
  max-width: none;
  width: 100vw;
  box-sizing: border-box;
  padding: 0 2vw;
  overflow-x: auto;        /* Allow horizontal scroll if needed */
  flex-wrap: wrap;         /* Wrap on small screens instead of overflowing */
}
.about-section {
  padding: 1.5rem;
  text-align: center;
  background: #0b1120; /* deep dark blue */
  border-radius: 10px;
}

.about-section h2 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: #ff7b00; /* dark orange */
}

.about-section p {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.6;
}
.testimonials {
  background: #0b1120;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.testimonials h2 {
  font-size: 1.8rem;
  color: #ff7b00;
  margin-bottom: 2rem;
}

.testimonial-carousel {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  height: 250px;
}

.testimonial {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 1s ease-in-out;
}

.testimonial.active {
  opacity: 1;
  transform: scale(1);
}

.testimonial img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.testimonial p {
  font-size: 1rem;
  color: #f1f1f1;
  margin: 0.5rem 0;
}

.testimonial span {
  font-size: 0.9rem;
  color: #ccc;
}

/* --- Services Page Styles --- */

.services-hero {
  position: relative;
  min-height: 550px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.services-hero::before {
  content: none;
  display: none;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.services-hero,
.services-hero .slideshow-bg {
  width: 100%;
  height: 100%;
}

.services-hero .slideshow-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: background-image 1s ease-in-out;
}

/* Services intro section */
.services-intro {
  background: rgba(18, 143, 245, 0.92);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(30, 144, 255, 0.13), 0 2px 8px 0 rgba(255,131,30,0.08);
  max-width: 700px;
  margin: -80px auto 2rem auto;
  position: relative;
  z-index: 2;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  text-align: center;
}

.services-intro h1 {
  font-size: 2.5rem;
  color: #0b1120;
  margin-bottom: 1rem;
  font-family: 'Anton', sans-serif;
  letter-spacing: 2px;
}

.services-intro p {
  font-size: 1.2rem;
  color: #0b1120;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.services-intro .btn-primary,
.services-intro .btn-secondary {
  margin: 0 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .services-intro {
    max-width: 98vw;
    padding: 1.5rem 0.5rem;
    margin: -40px auto 1rem auto;
  }
  .services-intro h1 {
    font-size: 2rem;
  }
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.btn-primary,
.btn-secondary {
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: #ff831e;
  color: #fff;
}

.btn-primary:hover {
  background: darkorange;
  color: #fff;
}

.btn-secondary {
  background: #181f2a;
  color: #ff831e;
  border: 2px solid #ff831e;
}

.btn-secondary:hover {
  background: #ff831e;
  color: #fff;
}

.services-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2.5rem auto 2rem auto;
  max-width: 1100px;
  padding: 0 2vw;
}

.service-card {
  background: rgba(9, 19, 49, 0.077);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(30, 144, 255, 0.13), 0 2px 8px 0 rgba(255,131,30,0.08);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 2.5px solid #ff5a1ef1;
  transition: 
    box-shadow 0.25s,
    transform 0.25s,
    background 0.25s;
}

.service-card:hover {
  color: #fff;
  box-shadow: 0 12px 40px 0 rgba(30,144,255,0.18), 0 4px 16px 0 rgba(255,131,30,0.12);
  transform: translateY(-8px) scale(1.03);
}

.service-card:hover h2,
.service-card:hover p,
.service-card:hover .icon {
  color: #fff;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -40px; left: -40px;
  width: 80px; height: 80px;
  background: rgba(30,144,255,0.08);
  border-radius: 50%;
  z-index: 0;
}
.service-card::after {
  content: "";
  position: absolute;
  bottom: -30px; right: -30px;
  width: 60px; height: 60px;
  background: rgba(255,131,30,0.10);
  border-radius: 50%;
  z-index: 0;
}

.service-card .icon {
  font-size: 2.5rem;
  color: #1e90ff;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.service-card h2, .service-card p {
  position: relative;
  z-index: 1;
  text-align: center;
}

.service-card h2 {
  font-size: 1.4rem;
  color: #ff831e;
  margin-bottom: 0.5rem;
  font-family: 'Anton', sans-serif;
  letter-spacing: 1px;
  transition: color 0.2s;
}

.service-card p {
  font-size: 1rem;
  color: #1e90ff;
  text-align: center;
  transition: color 0.2s;
}
/* Responsive for mobile */
@media (max-width: 900px) {
  .services-cards {
    flex-direction: column;
    align-items: center;
  }
  .service-card {
    max-width: 90vw;
    width: 100%;
  }
}

/* Why Choose Us & Pricing Section */
.why-choose-us, .pricing-section {
  
  background: #0b1120;
  color: #f7f8fc;
  padding: 2.5rem 1rem;
  margin: 2rem 0 0 0;
  text-align: center;
}

.why-choose-us h2, .pricing-section h2 {
  color: #1e90ff;
  font-family: 'Anton', sans-serif;
  margin-bottom: 1rem;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.why-choose-us p, .pricing-section p {
  color: darkorange;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  justify-content: center;
  text-align: center;
  align-items: center;
}
body.dark-mode .why-choose-us,
body.dark-mode .pricing-section {
  background: #0b1120;
}

body.dark-mode .services-hero h1,
body.dark-mode .why-choose-us h2,
body.dark-mode .pricing-section h2 {
  color: #ff831e;
}

body.dark-mode .services-hero p,
body.dark-mode .why-choose-us p,
body.dark-mode .pricing-section p {
  color: #ec5d09e0;
}

body.dark-mode .service-card {
  background: rgba(30,42,74,0.85);
  color: #f7f8fc;
  box-shadow: 0 4px 24px rgba(30,42,74,0.25);
}

body.dark-mode .service-card h2 {
  color: #ffffff;
}

body.dark-mode .service-card .icon {
  color: #ff831e;
}

body.dark-mode .btn-primary {
  background: #ff831e;
  color: #fff;
}

body.dark-mode .btn-primary:hover {
  background: darkorange;
  color: #fff;
}

body.dark-mode .btn-secondary {
  background: #181f2a;
  color: #ff831e;
  border: 2px solid #ff831e;
}

body.dark-mode .btn-secondary:hover {
  background: #ff831e;
  color: #fff;
}

body.dark-mode .service-card p {
  color: #fff;
}

.services-hero p,
.services-cards .service-card p,
.why-choose-us p,
.pricing-section p {
  color: darkorange; /* Slightly transparent dark orange */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-card {
  display: none !important;
}
.contact-hero {
  background: linear-gradient(120deg, #ff831e 60%, #1e90ff 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-bottom: 2rem;
}
.contact-card {
  background: rgba(255,255,255,0.97);
  border-radius: 32px;
  box-shadow: 0 12px 40px 0 rgba(30, 144, 255, 0.15), 0 2px 8px 0 rgba(255, 131, 30, 0.08);
  padding: 3rem 2.5rem;
  max-width: 480px;
  margin: 2rem auto 0 auto;
  text-align: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 2px solid #ff831e22;
}
.contact-card h1 {
  color: #ff831e;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}
.contact-card p {
  color: #333;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

/* --- Contact Form Modern Style --- */
.contact-section {
  position: relative; /* Needed for overlay positioning */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2.5rem 1rem 3rem 1rem;
  background: url(photos/contactform.jpg) center/cover no-repeat;
  z-index: 1;
  overflow: hidden;
}

/* Overlay Layer */
.contact-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 15, 44, 0.7); /* dark blue with transparency */
  z-index: -1; /* behind content, in front of background */
}

.contact-form {
  background: rgba(11, 17, 32, 0.85);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(30, 144, 255, 0.10), 0 2px 8px 0 rgba(255, 131, 30, 0.08);
  padding: 2.5rem 2rem 2rem 2rem;
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  border: 1.5px solid #ff831e44;
  margin: 0 auto;
}

.contact-form label {
  font-weight: 600;
  color: #ff831e;
  margin-bottom: 0.3rem;
  letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #ff831e33;
  border-radius: 12px;
  font-size: 1rem;
  background: #181f2a;
  color: #f7f8fc;
  transition: border 0.2s, box-shadow 0.2s;
  margin-bottom: 0.5rem;
  outline: none;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 1.5px solid #ff831e;
  box-shadow: 0 0 0 2px #ff831e33;
  background: #222b3a;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn-primary {
  background: linear-gradient(90deg, #1e90ff 60%, #ff831e 100%);
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  border: none;
  border-radius: 18px;
  padding: 0.9rem 0;
  margin-top: 0.5rem;
  box-shadow: 0 2px 8px 0 rgba(30, 144, 255, 0.08);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.contact-form .btn-primary:hover {
  background: linear-gradient(90deg, #ff831e 60%, #1e90ff 100%);
  box-shadow: 0 4px 16px 0 rgba(255, 131, 30, 0.12);
}

@media (max-width: 600px) {
  .contact-form {
    padding: 1.2rem 0.5rem;
    max-width: 98vw;
  }
}

/* Improved Hero Section */
.improved-hero {
  position: relative;
  background: url('photos/hero-bg.jpg') center/cover no-repeat, #0b1120;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11, 17, 32, 0.95); /* Deep dark blue overlay */
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100vw;
  max-width: none;
  margin: 0 auto;
  padding: 0 ;
}
.hero-text {
  flex: 1 1 350px;
  color: #fff;
  padding-right: 2rem;
}
.hero-text h1 {
  font-family: 'Anton', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
}
.animated-btn {
  transition: transform 0.2s, box-shadow 0.2s;
}
.animated-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.hero-image img {
  max-width: 100%;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

/* Improved Cards Section */
.improved-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 3rem 0;
  flex-wrap: wrap;
}
.improved-cards .card {
  background: #180d3386;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 2rem 1.5rem;
  flex: 1 1 280px;
  max-width: none;
  margin: 3rem;
  width: 100vw;
  height: auto;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.improved-cards .card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}
.improved-cards .icon {
  color: #1e90ff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.improved-cards h2 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: darkorange;
}
.improved-cards p {
  color: #ffffffbd;
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .hero-text {
    padding-right: 0;
    margin-bottom: 2rem;
    width: 100%;
  }
  .hero-image {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }
  .hero-image img {
    max-width: 95vw;
    width: 100%;
    height: auto;
    border-radius: 12px;
  }
}

/* For very small screens */
@media (max-width: 600px) {
  .hero {
    padding: 1rem 0.2rem;
  }
  .hero-content {
    padding: 1rem 0.2rem;
  }
}

/* Fix: remove mobile horizontal overflow and prevent 100vw overflow */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Mobile overrides: ensure wide elements use container width, not 100vw */
@media (max-width: 900px) {
  .improved-hero,
  .hero,
  .hero-content,
  .improved-cards .card,
  .resto-slideshow,
  .about-carousel-section,
  .projects-slider-section,
  .project-slide,
  .hero-image,
  .footer-content {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }

  /* remove any fixed vw widths that cause overflow */
  :root { --safe-full: 100%; }
  /* small tweak for the copyright row if it was using vw width */
  .site-footer .footer-copyright {
    width: 100% !important;
    left: 0 !important;
    transform: none !important;
  }
}

/* Hamburger styles */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
  margin-left: 1rem;
}
.nav-toggle .bar {
  width: 28px;
  height: 4px;
  background: #fff;
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* Responsive navbar */
@media (max-width: 700px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: #0b112081;
    flex-direction: column;
    width: 20vw;
    max-width: 300px;
    height: 0;
    overflow: hidden;
    transition: height 0.3s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  /* border-radius: 0 0 0 16px; */
    z-index: 1000;
  }
  .nav-links.open {
    height: 260px; /* Adjust based on number of links */
    padding: 0.5rem 0;
  }
  .nav-links li {
    margin: 0.5rem 0;
    text-align: right;
  }
  .nav-toggle {
    display: flex;
  }
  .navbar {`n    position: sticky;`n    top: 0;`n    z-index: 1100;`n  }
}

/* Hide nav links by default on mobile */
@media (max-width: 700px) {
  .nav-links {
    display: flex;
    height: 0;
    padding: 0;
  }
}

/* Scroll to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 32px;
  right: 24px;
  z-index: 1200;
  background: linear-gradient(135deg, #0b1120 60%, #ff831e 100%);
  color: #fff;
  border: none;
  outline: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  box-shadow: 0 4px 16px rgba(30,144,255,0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  opacity: 0.85;
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
}
#scrollTopBtn:hover {
  background: linear-gradient(135deg, #ff831e 60%, #0b1120 100%);
}
#scrollTopBtn:active {
  background: #0b1120;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #0b1120;
    color: #f7f8fc;
  }
  .card,
  .improved-cards .card {
    background: rgba(255,255,255,0.05);
    color: #f7f8fc;
  }
  .btn-primary,
  .btn-secondary {
    background: #1e90ff;
    color: #fff;
  }
  /* Add more overrides as needed for dark mode */
}
/* Footer-contact Styles */
.footer-contact a,
.footer-contact svg {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s, fill 0.3s;
}

.footer-contact a:hover,
.footer-contact svg:hover {
  transform: scale(1.78) rotate(-3deg);
  box-shadow: 0 4px 16px rgba(255,131,30,0.18);
  color: darkorange;
  transition: transform 0.3s, box-shadow 0.3s, color 0.3s;
}

/* Animate footer logos on hover */
.footer-logos img,
.footer-logos .partner-logo {
  max-width: 100px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  margin: 0 6px;
}

/* Animate footer social icons on hover */
.footer-social a,
.footer-social svg {
  color: #fff;
  font-size: 2.75rem !important; /* Twice the default size */
  width: 2.75rem !important;
  height: 2.75rem !important;
  transition: color 0.3s, transform 0.3s;
}
.footer-social {
  gap: 2.5rem; /* Increase spacing between icons */
}
.footer-social a:hover,
.footer-social svg:hover {
  color: darkorange;
  transform: scale(1.38) rotate(6deg);
}

/* Restore pointer cursor for clickable icons */
.footer-social a,
.footer-logos a {
  cursor: pointer;
}
/* --- New Project Slideshow: Horizontal Scrollable Cards --- */
.projects-slider-section {
  width: 100%;
  max-width: 1600px;
  margin: 3rem auto 2rem auto;
  padding: 0 2vw;
  overflow-x: auto;
  overflow-y: visible;
  box-sizing: border-box;
  scroll-snap-type: x mandatory;
  display: flex;
  flex-direction: row;
  gap: 2rem;
  background: linear-gradient(120deg, #0b1120 60%, #1e90ff 100%);
  border-radius: 32px;
  box-shadow: 0 8px 32px 0 rgba(30,144,255,0.10), 0 2px 8px 0 rgba(255,131,30,0.08);
  position: relative;
}

/* Custom scrollbar for slider */
.projects-slider-section::-webkit-scrollbar {
  height: 10px;
  background: #181f2a;
  border-radius: 8px;
}
.projects-slider-section::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #ff831e 100%, #010f1c 40%);
  border-radius: 8px;
}

.project-slideshow {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  min-width: 100%;
  width: max-content;
  align-items: stretch;
  scroll-snap-type: x mandatory;
  padding: 2rem 0;
}

.project-slide {
  flex: 0 0 360px;
  max-width: 98vw;
  background: rgba(255, 255, 255, 0.055);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(30, 144, 255, 0.13), 0 2px 8px 0 rgba(255,131,30,0.08);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-snap-align: start;
  transition: 
    box-shadow 0.25s,
    transform 0.25s,
    background 0.25s;
  border: 2.5px solid #ff5a1ef1;
  position: relative;
  overflow: hidden;
}
.project-slide:hover {
  color: #071135;
  box-shadow: 0 12px 40px 0 rgba(30,144,255,0.18), 0 4px 16px 0 rgba(255,131,30,0.12);
  transform: translateY(-8px) scale(1.03);
}
.project-slide:hover .project-caption h2,
.project-slide:hover .project-caption p {
  color: inherit;
}
.project-slide::before {
  content: "";
  position: absolute;
  top: -40px; left: -40px;
  width: 80px; height: 80px;
  background: rgba(30,144,255,0.08);
  border-radius: 50%;
  z-index: 0;
}
.project-slide::after {
  content: "";
  position: absolute;
  bottom: -30px; right: -30px;
  width: 60px; height: 60px;
  background: rgba(219, 76, 14, 0.97);
  border-radius: 50%;
  z-index: 0;
}

.project-photo {
  width: 100%;
  height: 180px;           /* Adjust height as needed */
  object-fit: cover;
  border-radius: 28px 28px 0 0;
  background: #eeeeee61;
  display: block;
  box-shadow: none;
  border: none;
  margin-bottom: 0;
  flex-shrink: 0;
}

.project-caption {
  width: 100%;
  /* Remove max-width and margin auto */
  box-sizing: border-box;
  padding: 1.2rem 1rem 1.2rem 1rem;
  background: rgba(255, 255, 255, 0.244);
  border-radius: 0 0 28px 28px;
  text-align: center;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Responsive: match .project-photo width on small screens */
@media (max-width: 900px) {
  .project-caption {
    max-width: 90vw;
  }
}

@media (max-width: 600px) {
  /* Keep partner logos in a horizontal, wrapping row on small screens.
     Do NOT force links to width:100% (that caused vertical stacking). */
  .footer-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 0;
    box-sizing: border-box;
    overflow: hidden; /* prevent tiny overflow from child margins */
  }

  .footer-logos .partner-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 8px;
    box-sizing: border-box;
  }

  /* each partner item keeps auto width (no full-width links) */
  .footer-logos .partner-grid a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    max-width: 46%;
    padding: 6px;
  }

  /* logo sizing tuned for mobile */
  .footer-logos .partner-grid img,
  .footer-logos .partner-grid .partner-logo {
    max-width: 140px;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
  }
}

/* About Carousel Styles */
.about-carousel-section {
  width: 100%;
  max-width: 1100px;
  margin: 2rem auto;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

/* container is still flex for JS slide logic */
.about-carousel {
  position: relative;
  width: 100%;
  height: 420px; /* adjust height to taste */
  overflow: hidden;
}

.about-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 0.7s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  pointer-events: none;
}
.about-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
  pointer-events: auto;
}
.about-slide-content {
  background: rgba(0,0,0,0.45);
  color: #fff;
  max-width: 720px;
  padding: 1.25rem 1.5rem;
  border-radius: 6px;
}

/* Fade-style Testimonials */
.testimonial-carousel { position: relative; width: 100%; height: 320px; overflow: hidden; }
.testimonial {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  padding: 1rem;
  pointer-events: none;
}
.testimonial.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}
.testimonial img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .about-slide, .testimonial { transition: none !important; transform: none !important; }
}

/* small responsive adjustments */
@media (max-width: 720px) {
  .about-carousel { height: 320px; }
  .about-slide-content { padding: 1rem; }
}

/* Footer - wide multi-column layout */
.site-footer {
  background: linear-gradient(180deg, #071025 0%, #060814 100%);
  padding: 2.25rem 3rem 0 3rem;
  align-items: stretch;
}

/* Grid for main footer content: logo/contact | columns... | actions */
.footer-content {
  display: grid;
  grid-template-columns: 220px 1fr 300px;
  grid-template-areas: "links logos contact";
  gap: 2rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 1.5rem;
  box-sizing: border-box;
}

/* area assignments (works regardless of DOM order) */
.footer-links      { grid-area: links; }
.footer-logos      { grid-area: logos; display: block; }
.footer-contact    { grid-area: contact; align-self: start; }

/* Links column */
.footer-links .col { margin-bottom: 0.6rem; }
.footer-links h3 {
  font-size: 15px;
  margin: 0 0 10px;
  color: #ffffff;
  font-weight: 700;
}
.footer-links ul { margin: 0; padding: 0; list-style: none; }
.footer-links li {
  margin: 8px 0;
  font-size: 14px;
  color: #cfcfcf;
}
.footer-links a { color: inherit; text-decoration: none; }

/* Center: socials on top, then partner logos grid */
.footer-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;

  /* moved lower: subtle separator + spacing from items above */
  padding-top: 14px;                      /* space inside the block */
  border-top: 1px solid rgba(255,255,255,0.04); /* thin divider line */
  margin-top: 10px;                       /* extra gap from elements above */
}

/* improved partner grid: use CSS grid so logos align and wrap neatly */
.footer-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 18px; /* move logos lower */
  border-top: 1px solid rgba(255,255,255,0.04);
  margin-top: 14px;
}
.partner-heading {
  margin-top: 6px;
  margin-bottom: 12px;
}

/* switch to grid for logos for consistent rows */
.footer-logos .partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 14px 22px;
  width: 100%;
  max-width: 760px; /* constrain full-width on wide screens */
  justify-items: center;
  align-items: center;
  padding: 6px 8px 0;
  box-sizing: border-box;
}

/* constrain logo size so they don't overflow or stack */
.footer-logos .partner-grid img {
  max-height: 56px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* give CTA / socials breathing room above logos */
.footer-cta {
  margin-top: 8px;
  margin-bottom: 8px;
}

/* Mobile: enlarge partner logos (approx. 2x) and ensure grid still fits */
@media (max-width: 600px) {
  .footer-logos .partner-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    max-width: 100%;
    padding: 6px;
    gap: 14px 18px;
    justify-items: center;
  }

  .footer-logos .partner-grid a {
    max-width: 100%;
    padding: 6px;
    box-sizing: border-box;
  }

  /* increase logo size (was ~48-64px) — set to ~120px max height */
  .footer-logos .partner-grid img,
  .footer-logos .partner-grid .partner-logo {
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
  }
}

/* Footer socials below logos, above copyright */
.footer-social {
  order: 3;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Copyright always at the bottom, full width, dark orange background */
.site-footer .footer-copyright {
  order: 4;
  width: 100vw;
  background: darkorange;
  color: #020101;
  text-align: center;
  padding: 0.7rem 0;
  font-size: 1rem;
  letter-spacing: 0.5px;
  margin: 0;
  font-weight: bold;
  border-radius: 0 0 0 0;
  position: relative;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
  box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
}

/* Responsive: Ensure copyright stays at bottom and full width */
@media (max-width: 700px) {
  .footer-content {
    padding: 1.2rem 0 0.5rem 0;
    gap: 0.8rem;
  }
  .site-footer .footer-copyright {
    font-size: 0.95rem;
    padding: 0.6rem 0;
  }
}

.restoration-gallery {
  justify-content: center;
  gap: 1rem;
  margin: 3rem auto 2rem auto;
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 2vw;
}

.resto-card {
  flex: 1 1 0;            /* Allow cards to grow and shrink equally */
  max-width: 600px;       /* Optional: limit max width per card */
  min-width: 280px;       /* Optional: minimum width for responsiveness */
  background: rgba(9, 8, 34, 0.87);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(1, 1, 2, 0.527);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 1.5rem;
}

.resto-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.resto-card h3 {
  margin: 1.2rem 0 0.5rem 0;
  color: darkorange;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.resto-card p {
  text-align: center;
  padding: 0 1rem;
  font-size: 1rem;
  color: #f5f9fcdc;
}

.resto-slideshow {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem auto;
  max-width: none;
  width: 100vw;
  box-sizing: border-box;
  padding: 0 2vw;
  overflow-x: auto;        /* Allow horizontal scroll if needed */
  flex-wrap: wrap;         /* Wrap on small screens instead of overflowing */
}
.about-section {
  padding: 1.5rem;
  text-align: center;
  background: #0b1120; /* deep dark blue */
  border-radius: 10px;
}

.about-section h2 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: #ff7b00; /* dark orange */
}

.about-section p {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.6;
}
.testimonials {
  background: #0b1120;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.testimonials h2 {
  font-size: 1.8rem;
  color: #ff7b00;
  margin-bottom: 2rem;
}

.testimonial-carousel {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  height: 250px;
}

.testimonial {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 1s ease-in-out;
}

.testimonial.active {
  opacity: 1;
  transform: scale(1);
}

.testimonial img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.testimonial p {
  font-size: 1rem;
  color: #f1f1f1;
  margin: 0.5rem 0;
}

.testimonial span {
  font-size: 0.9rem;
  color: #ccc;
}

/* --- Services Page Styles --- */

.services-hero {
  position: relative;
  min-height: 550px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.services-hero::before {
  content: none;
  display: none;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.services-hero,
.services-hero .slideshow-bg {
  width: 100%;
  height: 100%;
}

.services-hero .slideshow-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: background-image 1s ease-in-out;
}

/* Services intro section */
.services-intro {
  background: rgba(18, 143, 245, 0.92);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(30, 144, 255, 0.13), 0 2px 8px 0 rgba(255,131,30,0.08);
  max-width: 700px;
  margin: -80px auto 2rem auto;
  position: relative;
  z-index: 2;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  text-align: center;
}

.services-intro h1 {
  font-size: 2.5rem;
  color: #0b1120;
  margin-bottom: 1rem;
  font-family: 'Anton', sans-serif;
  letter-spacing: 2px;
}

.services-intro p {
  font-size: 1.2rem;
  color: #0b1120;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.services-intro .btn-primary,
.services-intro .btn-secondary {
  margin: 0 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .services-intro {
    max-width: 98vw;
    padding: 1.5rem 0.5rem;
    margin: -40px auto 1rem auto;
  }
  .services-intro h1 {
    font-size: 2rem;
  }
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.btn-primary,
.btn-secondary {
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: #ff831e;
  color: #fff;
}

.btn-primary:hover {
  background: darkorange;
  color: #fff;
}

.btn-secondary {
  background: #181f2a;
  color: #ff831e;
  border: 2px solid #ff831e;
}

.btn-secondary:hover {
  background: #ff831e;
  color: #fff;
}

.services-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2.5rem auto 2rem auto;
  max-width: 1100px;
  padding: 0 2vw;
}

.service-card {
  background: rgba(9, 19, 49, 0.077);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(30, 144, 255, 0.13), 0 2px 8px 0 rgba(255,131,30,0.08);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 2.5px solid #ff5a1ef1;
  transition: 
    box-shadow 0.25s,
    transform 0.25s,
    background 0.25s;
}

.service-card:hover {
  color: #fff;
  box-shadow: 0 12px 40px 0 rgba(30,144,255,0.18), 0 4px 16px 0 rgba(255,131,30,0.12);
  transform: translateY(-8px) scale(1.03);
}

.service-card:hover h2,
.service-card:hover p,
.service-card:hover .icon {
  color: #fff;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -40px; left: -40px;
  width: 80px; height: 80px;
  background: rgba(30,144,255,0.08);
  border-radius: 50%;
  z-index: 0;
}
.service-card::after {
  content: "";
  position: absolute;
  bottom: -30px; right: -30px;
  width: 60px; height: 60px;
  background: rgba(255,131,30,0.10);
  border-radius: 50%;
  z-index: 0;
}

.service-card .icon {
  font-size: 2.5rem;
  color: #1e90ff;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.service-card h2, .service-card p {
  position: relative;
  z-index: 1;
  text-align: center;
}

.service-card h2 {
  font-size: 1.4rem;
  color: #ff831e;
  margin-bottom: 0.5rem;
  font-family: 'Anton', sans-serif;
  letter-spacing: 1px;
  transition: color 0.2s;
}

.service-card p {
  font-size: 1rem;
  color: #1e90ff;
  text-align: center;
  transition: color 0.2s;
}
/* Responsive for mobile */
@media (max-width: 900px) {
  .services-cards {
    flex-direction: column;
    align-items: center;
  }
  .service-card {
    max-width: 90vw;
    width: 100%;
  }
}

/* Why Choose Us & Pricing Section */
.why-choose-us, .pricing-section {
  
  background: #0b1120;
  color: #f7f8fc;
  padding: 2.5rem 1rem;
  margin: 2rem 0 0 0;
  text-align: center;
}

.why-choose-us h2, .pricing-section h2 {
  color: #1e90ff;
  font-family: 'Anton', sans-serif;
  margin-bottom: 1rem;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.why-choose-us p, .pricing-section p {
  color: darkorange;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  justify-content: center;
  text-align: center;
  align-items: center;
}
body.dark-mode .why-choose-us,
body.dark-mode .pricing-section {
  background: #0b1120;
}

body.dark-mode .services-hero h1,
body.dark-mode .why-choose-us h2,
body.dark-mode .pricing-section h2 {
  color: #ff831e;
}

body.dark-mode .services-hero p,
body.dark-mode .why-choose-us p,
body.dark-mode .pricing-section p {
  color: #ec5d09e0;
}

body.dark-mode .service-card {
  background: rgba(30,42,74,0.85);
  color: #f7f8fc;
  box-shadow: 0 4px 24px rgba(30,42,74,0.25);
}

body.dark-mode .service-card h2 {
  color: #ffffff;
}

body.dark-mode .service-card .icon {
  color: #ff831e;
}

body.dark-mode .btn-primary {
  background: #ff831e;
  color: #fff;
}

body.dark-mode .btn-primary:hover {
  background: darkorange;
  color: #fff;
}

body.dark-mode .btn-secondary {
  background: #181f2a;
  color: #ff831e;
  border: 2px solid #ff831e;
}

body.dark-mode .btn-secondary:hover {
  background: #ff831e;
  color: #fff;
}

body.dark-mode .service-card p {
  color: #fff;
}

.services-hero p,
.services-cards .service-card p,
.why-choose-us p,
.pricing-section p {
  color: darkorange; /* Slightly transparent dark orange */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-card {
  display: none !important;
}
.contact-hero {
  background: linear-gradient(120deg, #ff831e 60%, #1e90ff 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-bottom: 2rem;
}
.contact-card {
  background: rgba(255,255,255,0.97);
  border-radius: 32px;
  box-shadow: 0 12px 40px 0 rgba(30, 144, 255, 0.15), 0 2px 8px 0 rgba(255, 131, 30, 0.08);
  padding: 3rem 2.5rem;
  max-width: 480px;
  margin: 2rem auto 0 auto;
  text-align: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 2px solid #ff831e22;
}
.contact-card h1 {
  color: #ff831e;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}
.contact-card p {
  color: #333;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

/* --- Contact Form Modern Style --- */
.contact-section {
  position: relative; /* Needed for overlay positioning */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2.5rem 1rem 3rem 1rem;
  background: url(photos/contactform.jpg) center/cover no-repeat;
  z-index: 1;
  overflow: hidden;
}

/* Overlay Layer */
.contact-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 15, 44, 0.7); /* dark blue with transparency */
  z-index: -1; /* behind content, in front of background */
}

.contact-form {
  background: rgba(11, 17, 32, 0.85);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(30, 144, 255, 0.10), 0 2px 8px 0 rgba(255, 131, 30, 0.08);
  padding: 2.5rem 2rem 2rem 2rem;
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  border: 1.5px solid #ff831e44;
  margin: 0 auto;
}

.contact-form label {
  font-weight: 600;
  color: #ff831e;
  margin-bottom: 0.3rem;
  letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #ff831e33;
  border-radius: 12px;
  font-size: 1rem;
  background: #181f2a;
  color: #f7f8fc;
  transition: border 0.2s, box-shadow 0.2s;
  margin-bottom: 0.5rem;
  outline: none;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 1.5px solid #ff831e;
  box-shadow: 0 0 0 2px #ff831e33;
  background: #222b3a;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn-primary {
  background: linear-gradient(90deg, #1e90ff 60%, #ff831e 100%);
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  border: none;
  border-radius: 18px;
  padding: 0.9rem 0;
  margin-top: 0.5rem;
  box-shadow: 0 2px 8px 0 rgba(30, 144, 255, 0.08);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.contact-form .btn-primary:hover {
  background: linear-gradient(90deg, #ff831e 60%, #1e90ff 100%);
  box-shadow: 0 4px 16px 0 rgba(255, 131, 30, 0.12);
}

@media (max-width: 600px) {
  .contact-form {
    padding: 1.2rem 0.5rem;
    max-width: 98vw;
  }
}

/* Improved Hero Section */
.improved-hero {
  position: relative;
  background: url('photos/hero-bg.jpg') center/cover no-repeat, #0b1120;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11, 17, 32, 0.95); /* Deep dark blue overlay */
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100vw;
  max-width: none;
  margin: 0 auto;
  padding: 0 ;
}
.hero-text {
  flex: 1 1 350px;
  color: #fff;
  padding-right: 2rem;
}
.hero-text h1 {
  font-family: 'Anton', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
}
.animated-btn {
  transition: transform 0.2s, box-shadow 0.2s;
}
.animated-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.hero-image img {
  max-width: 100%;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

/* Improved Cards Section */
.improved-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 3rem 0;
  flex-wrap: wrap;
}
.improved-cards .card {
  background: #180d3386;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 2rem 1.5rem;
  flex: 1 1 280px;
  max-width: none;
  margin: 3rem;
  width: 100vw;
  height: auto;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.improved-cards .card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}
.improved-cards .icon {
  color: #1e90ff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.improved-cards h2 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: darkorange;
}
.improved-cards p {
  color: #ffffffbd;
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .hero-text {
    padding-right: 0;
    margin-bottom: 2rem;
    width: 100%;
  }
  .hero-image {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }
  .hero-image img {
    max-width: 95vw;
    width: 100%;
    height: auto;
    border-radius: 12px;
  }
}

/* For very small screens */
@media (max-width: 600px) {
  .hero {
    padding: 1rem 0.2rem;
  }
  .hero-content {
    padding: 1rem 0.2rem;
  }
}

/* Fix: remove mobile horizontal overflow and prevent 100vw overflow */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Mobile overrides: ensure wide elements use container width, not 100vw */
@media (max-width: 900px) {
  .improved-hero,
  .hero,
  .hero-content,
  .improved-cards .card,
  .resto-slideshow,
  .about-carousel-section,
  .projects-slider-section,
  .project-slide,
  .hero-image,
  .footer-content {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }

  /* remove any fixed vw widths that cause overflow */
  :root { --safe-full: 100%; }
  /* small tweak for the copyright row if it was using vw width */
  .site-footer .footer-copyright {
    width: 100% !important;
    left: 0 !important;
    transform: none !important;
  }
}

/* Hamburger styles */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
  margin-left: 1rem;
}
.nav-toggle .bar {
  width: 28px;
  height: 4px;
  background: #fff;
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* Responsive navbar */
@media (max-width: 700px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: #0b112081;
    flex-direction: column;
    width: 20vw;
    max-width: 300px;
    height: 0;
    overflow: hidden;
    transition: height 0.3s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  /* border-radius: 0 0 0 16px; */
    z-index: 1000;
  }
  .nav-links.open {
    height: 260px; /* Adjust based on number of links */
    padding: 0.5rem 0;
  }
  .nav-links li {
    margin: 0.5rem 0;
    text-align: right;
  }
  .nav-toggle {
    display: flex;
  }
  .navbar {`n    position: sticky;`n    top: 0;`n    z-index: 1100;`n  }
}

/* Hide nav links by default on mobile */
@media (max-width: 700px) {
  .nav-links {
    display: flex;
    height: 0;
    padding: 0;
  }
}

/* Scroll to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 32px;
  right: 24px;
  z-index: 1200;
  background: linear-gradient(135deg, #0b1120 60%, #ff831e 100%);
  color: #fff;
  border: none;
  outline: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  box-shadow: 0 4px 16px rgba(30,144,255,0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  opacity: 0.85;
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
}
#scrollTopBtn:hover {
  background: linear-gradient(135deg, #ff831e 60%, #0b1120 100%);
}
#scrollTopBtn:active {
  background: #0b1120;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #0b1120;
    color: #f7f8fc;
  }
  .card,
  .improved-cards .card {
    background: rgba(255,255,255,0.05);
    color: #f7f8fc;
  }
  .btn-primary,
  .btn-secondary {
    background: #1e90ff;
    color: #fff;
  }
  /* Add more overrides as needed for dark mode */
}
/* Footer-contact Styles */
.footer-contact a,
.footer-contact svg {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s, fill 0.3s;
}

.footer-contact a:hover,
.footer-contact svg:hover {
  transform: scale(1.78) rotate(-3deg);
  box-shadow: 0 4px 16px rgba(255,131,30,0.18);
  color: darkorange;
  transition: transform 0.3s, box-shadow 0.3s, color 0.3s;
}

/* Animate footer logos on hover */
.footer-logos img,
.footer-logos .partner-logo {
  max-width: 100px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  margin: 0 6px;
}

/* Animate footer social icons on hover */
.footer-social a,
.footer-social svg {
  color: #fff;
  font-size: 2.75rem !important; /* Twice the default size */
  width: 2.75rem !important;
  height: 2.75rem !important;
  transition: color 0.3s, transform 0.3s;
}
.footer-social {
  gap: 2.5rem; /* Increase spacing between icons */
}
.footer-social a:hover,
.footer-social svg:hover {
  color: darkorange;
  transform: scale(1.38) rotate(6deg);
}

/* Restore pointer cursor for clickable icons */
.footer-social a,
.footer-logos a {
  cursor: pointer;
}
/* --- New Project Slideshow: Horizontal Scrollable Cards --- */
.projects-slider-section {
  width: 100%;
  max-width: 1600px;
  margin: 3rem auto 2rem auto;
  padding: 0 2vw;
  overflow-x: auto;
  overflow-y: visible;
  box-sizing: border-box;
  scroll-snap-type: x mandatory;
  display: flex;
  flex-direction: row;
  gap: 2rem;
  background: linear-gradient(120deg, #0b1120 60%, #1e90ff 100%);
  border-radius: 32px;
  box-shadow: 0 8px 32px 0 rgba(30,144,255,0.10), 0 2px 8px 0 rgba(255,131,30,0.08);
  position: relative;
}

/* Custom scrollbar for slider */
.projects-slider-section::-webkit-scrollbar {
  height: 10px;
  background: #181f2a;
  border-radius: 8px;
}
.projects-slider-section::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #ff831e 100%, #010f1c 40%);
  border-radius: 8px;
}

.project-slideshow {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  min-width: 100%;
  width: max-content;
  align-items: stretch;
  scroll-snap-type: x mandatory;
  padding: 2rem 0;
}

.project-slide {
  flex: 0 0 360px;
  max-width: 98vw;
  background: rgba(255, 255, 255, 0.055);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(30, 144, 255, 0.13), 0 2px 8px 0 rgba(255,131,30,0.08);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-snap-align: start;
  transition: 
    box-shadow 0.25s,
    transform 0.25s,
    background 0.25s;
  border: 2.5px solid #ff5a1ef1;
  position: relative;
  overflow: hidden;
}
.project-slide:hover {
  color: #071135;
  box-shadow: 0 12px 40px 0 rgba(30,144,255,0.18), 0 4px 16px 0 rgba(255,131,30,0.12);
  transform: translateY(-8px) scale(1.03);
}
.project-slide:hover .project-caption h2,
.project-slide:hover .project-caption p {
  color: inherit;
}
.project-slide::before {
  content: "";
  position: absolute;
  top: -40px; left: -40px;
  width: 80px; height: 80px;
  background: rgba(30,144,255,0.08);
  border-radius: 50%;
  z-index: 0;
}
.project-slide::after {
  content: "";
  position: absolute;
  bottom: -30px; right: -30px;
  width: 60px; height: 60px;
  background: rgba(219, 76, 14, 0.97);
  border-radius: 50%;
  z-index: 0;
}

.project-photo {
  width: 100%;
  height: 180px;           /* Adjust height as needed */
  object-fit: cover;
  border-radius: 28px 28px 0 0;
  background: #eeeeee61;
  display: block;
  box-shadow: none;
  border: none;
  margin-bottom: 0;
  flex-shrink: 0;
}

.project-caption {
  width: 100%;
  /* Remove max-width and margin auto */
  box-sizing: border-box;
  padding: 1.2rem 1rem 1.2rem 1rem;
  background: rgba(255, 255, 255, 0.244);
  border-radius: 0 0 28px 28px;
  text-align: center;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Responsive: match .project-photo width on small screens */
@media (max-width: 900px) {
  .project-caption {
    max-width: 90vw;
  }
}

@media (max-width: 600px) {
  /* Keep partner logos in a horizontal, wrapping row on small screens.
     Do NOT force links to width:100% (that caused vertical stacking). */
  .footer-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 0;
    box-sizing: border-box;
    overflow: hidden; /* prevent tiny overflow from child margins */
  }

  .footer-logos .partner-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 8px;
    box-sizing: border-box;
  }

  /* each partner item keeps auto width (no full-width links) */
  .footer-logos .partner-grid a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    max-width: 46%;
    padding: 6px;
  }

  /* logo sizing tuned for mobile */
  .footer-logos .partner-grid img,
  .footer-logos .partner-grid .partner-logo {
    max-width: 140px;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
  }
}

/* About Carousel Styles */
.about-carousel-section {
  width: 100%;
  max-width: 1100px;
  margin: 2rem auto;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

/* container is still flex for JS slide logic */
.about-carousel {
  position: relative;
  width: 100%;
  height: 420px; /* adjust height to taste */
  overflow: hidden;
}

.about-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 0.7s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  pointer-events: none;
}
.about-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
  pointer-events: auto;
}
.about-slide-content {
  background: rgba(0,0,0,0.45);
  color: #fff;
  max-width: 720px;
  padding: 1.25rem 1.5rem;
  border-radius: 6px;
}

/* Fade-style Testimonials */
.testimonial-carousel { position: relative; width: 100%; height: 320px; overflow: hidden; }
.testimonial {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  padding: 1rem;
  pointer-events: none;
}
.testimonial.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}
.testimonial img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .about-slide, .testimonial { transition: none !important; transform: none !important; }
}

/* small responsive adjustments */
@media (max-width: 720px) {
  .about-carousel { height: 320px; }
  .about-slide-content { padding: 1rem; }
}

/* Footer - wide multi-column layout */
.site-footer {
  background: linear-gradient(180deg, #071025 0%, #060814 100%);
  padding: 2.25rem 3rem 0 3rem;
  align-items: stretch;
}

/* Grid for main footer content: logo/contact | columns... | actions */
.footer-content {
  display: grid;
  grid-template-columns: 220px 1fr 300px;
  grid-template-areas: "links logos contact";
  gap: 2rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 1.5rem;
  box-sizing: border-box;
}

/* area assignments (works regardless of DOM order) */
.footer-links      { grid-area: links; }
.footer-logos      { grid-area: logos; display: block; }
.footer-contact    { grid-area: contact; align-self: start; }

/* Links column */
.footer-links .col { margin-bottom: 0.6rem; }
.footer-links h3 {
  font-size: 15px;
  margin: 0 0 10px;
  color: #ffffff;
  font-weight: 700;
}
.footer-links ul { margin: 0; padding: 0; list-style: none; }
.footer-links li {
  margin: 8px 0;
  font-size: 14px;
  color: #cfcfcf;
}
.footer-links a { color: inherit; text-decoration: none; }

/* Center: socials on top, then partner logos grid */
.footer-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;

  /* moved lower: subtle separator + spacing from items above */
  padding-top: 14px;                      /* space inside the block */
  border-top: 1px solid rgba(255,255,255,0.04); /* thin divider line */
  margin-top: 10px;                       /* extra gap from elements above */
}

/* improved partner grid: use CSS grid so logos align and wrap neatly */
.footer-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 18px; /* move logos lower */
  border-top: 1px solid rgba(255,255,255,0.04);
  margin-top: 14px;
}
.partner-heading {
  margin-top: 6px;
  margin-bottom: 12px;
}

/* switch to grid for logos for consistent rows */
.footer-logos .partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 14px 22px;
  width: 100%;
  max-width: 760px; /* constrain full-width on wide screens */
  justify-items: center;
  align-items: center;
  padding: 6px 8px 0;
  box-sizing: border-box;
}

/* constrain logo size so they don't overflow or stack */
.footer-logos .partner-grid img {
  max-height: 56px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* give CTA / socials breathing room above logos */
.footer-cta {
  margin-top: 8px;
  margin-bottom: 8px;
}

/* Mobile: enlarge partner logos (approx. 2x) and ensure grid still fits */
@media (max-width: 600px) {
  .footer-logos .partner-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    max-width: 100%;
    padding: 6px;
    gap: 14px 18px;
    justify-items: center;
  }

  .footer-logos .partner-grid a {
    max-width: 100%;
    padding: 6px;
    box-sizing: border-box;
  }

  /* increase logo size (was ~48-64px) — set to ~120px max height */
  .footer-logos .partner-grid img,
  .footer-logos .partner-grid .partner-logo {
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
  }
}

/* Footer socials below logos, above copyright */
.footer-social {
  order: 3;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Copyright always at the bottom, full width, dark orange background */
.site-footer .footer-copyright {
  order: 4;
  width: 100vw;
  background: darkorange;
  color: #020101;
  text-align: center;
  padding: 0.7rem 0;
  font-size: 1rem;
  letter-spacing: 0.5px;
  margin: 0;
  font-weight: bold;
  border-radius: 0 0 0 0;
  position: relative;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
  box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
}

/* Responsive: Ensure copyright stays at bottom and full width */
@media (max-width: 700px) {
  .footer-content {
    padding: 1.2rem 0 0.5rem 0;
    gap: 0.8rem;
  }
  .site-footer .footer-copyright {
    font-size: 0.95rem;
    padding: 0.6rem 0;
  }
}

.restoration-gallery {
  justify-content: center;
  gap: 1rem;
  margin: 3rem auto 2rem auto;
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 2vw;
}

.resto-card {
  flex: 1 1 0;            /* Allow cards to grow and shrink equally */
  max-width: 600px;       /* Optional: limit max width per card */
  min-width: 280px;       /* Optional: minimum width for responsiveness */
  background: rgba(9, 8, 34, 0.87);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(1, 1, 2, 0.527);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 1.5rem;
}

.resto-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.resto-card h3 {
  margin: 1.2rem 0 0.5rem 0;
  color: darkorange;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.resto-card p {
  text-align: center;
  padding: 0 1rem;
  font-size: 1rem;
  color: #f5f9fcdc;
}

.resto-slideshow {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem auto;
  max-width: none;
  width: 100vw;
  box-sizing: border-box;
  padding: 0 2vw;
  overflow-x: auto;        /* Allow horizontal scroll if needed */
  flex-wrap: wrap;         /* Wrap on small screens instead of overflowing */
}
.about-section {
  padding: 1.5rem;
  text-align: center;
  background: #0b1120; /* deep dark blue */
  border-radius: 10px;
}

.about-section h2 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: #ff7b00; /* dark orange */
}

.about-section p {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.6;
}
.testimonials {
  background: #0b1120;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.testimonials h2 {
  font-size: 1.8rem;
  color: #ff7b00;
  margin-bottom: 2rem;
}

.testimonial-carousel {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  height: 250px;
}

.testimonial {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 1s ease-in-out;
}

.testimonial.active {
  opacity: 1;
  transform: scale(1);
}

.testimonial img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.testimonial p {
  font-size: 1rem;
  color: #f1f1f1;
  margin: 0.5rem 0;
}

.testimonial span {
  font-size: 0.9rem;
  color: #ccc;
}

/* --- Services Page Styles --- */

.services-hero {
  position: relative;
  min-height: 550px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.services-hero::before {
  content: none;
  display: none;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.services-hero,
.services-hero .slideshow-bg {
  width: 100%;
  height: 100%;
}

.services-hero .slideshow-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: background-image 1s ease-in-out;
}

/* Services intro section */
.services-intro {
  background: rgba(18, 143, 245, 0.92);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(30, 144, 255, 0.13), 0 2px 8px 0 rgba(255,131,30,0.08);
  max-width: 700px;
  margin: -80px auto 2rem auto;
  position: relative;
  z-index: 2;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  text-align: center;
}

.services-intro h1 {
  font-size: 2.5rem;
  color: #0b1120;
  margin-bottom: 1rem;
  font-family: 'Anton', sans-serif;
  letter-spacing: 2px;
}

.services-intro p {
  font-size: 1.2rem;
  color: #0b1120;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.services-intro .btn-primary,
.services-intro .btn-secondary {
  margin: 0 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .services-intro {
    max-width: 98vw;
    padding: 1.5rem 0.5rem;
    margin: -40px auto 1rem auto;
  }
  .services-intro h1 {
    font-size: 2rem;
  }
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.btn-primary,
.btn-secondary {
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: #ff831e;
  color: #fff;
}

.btn-primary:hover {
  background: darkorange;
  color: #fff;
}

.btn-secondary {
  background: #181f2a;
  color: #ff831e;
  border: 2px solid #ff831e;
}

.btn-secondary:hover {
  background: #ff831e;
  color: #fff;
}

.services-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2.5rem auto 2rem auto;
  max-width: 1100px;
  padding: 0 2vw;
}

.service-card {
  background: rgba(9, 19, 49, 0.077);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 rgba(30, 144, 255, 0.13), 0 2px 8px 0 rgba(255,131,30,0.08);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 2.5px solid #ff5a1ef1;
  transition: 
    box-shadow 0.25s,
    transform 0.25s,
    background 0.25s;
}

.service-card:hover {
  color: #fff;
  box-shadow: 0 12px 40px 0 rgba(30,144,255,0.18), 0 4px 16px 0 rgba(255,131,30,0.12);
  transform: translateY(-8px) scale(1.03);
}

.service-card:hover h2,
.service-card:hover p,
.service-card:hover .icon {
  color: #fff;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -40px; left: -40px;
  width: 80px; height: 80px;
  background: rgba(30,144,255,0.08);
  border-radius: 50%;
  z-index: 0;
}
.service-card::after {
  content: "";
  position: absolute;
  bottom: -30px; right: -30px;
  width: 60px; height: 60px;
  background: rgba(255,131,30,0.10);
  border-radius: 50%;
  z-index: 0;
}

.service-card .icon {
  font-size: 2.5rem;
  color: #1e90ff;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.service-card h2, .service-card p {
  position: relative;
  z-index: 1;
  text-align: center;
}

.service-card h2 {
  font-size: 1.4rem;
  color: #ff831e;
  margin-bottom: 0.5rem;
  font-family: 'Anton', sans-serif;
  letter-spacing: 1px;
  transition: color 0.2s;
}

.service-card p {
  font-size: 1rem;
  color: #1e90ff;
  text-align: center;
  transition: color 0.2s;
}
/* Responsive for mobile */
@media (max-width: 900px) {
  .services-cards {
    flex-direction: column;
    align-items: center;
  }
  .service-card {
    max-width: 90vw;
    width: 100%;
  }
}

/* Why Choose Us & Pricing Section */
.why-choose-us, .pricing-section {
  
  background: #0b1120;
  color: #f7f8fc;
  padding: 2.5rem 1rem;
  margin: 2rem 0 0 0;
  text-align: center;
}

.why-choose-us h2, .pricing-section h2 {
  color: #1e90ff;
  font-family: 'Anton', sans-serif;
  margin-bottom: 1rem;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.why-choose-us p, .pricing-section p {
  color: darkorange;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  justify-content: center;
  text-align: center;
  align-items: center;
}
body.dark-mode .why-choose-us,
body.dark-mode .pricing-section {
  background: #0b1120;
}

body.dark-mode .services-hero h1,
body.dark-mode .why-choose-us h2,
body.dark-mode .pricing-section h2 {
  color: #ff831e;
}

body.dark-mode .services-hero p,
body.dark-mode .why-choose-us p,
body.dark-mode .pricing-section p {
  color: #ec5d09e0;
}

body.dark-mode .service-card {
  background: rgba(30,42,74,0.85);
  color: #f7f8fc;
  box-shadow: 0 4px 24px rgba(30,42,74,0.25);
}

body.dark-mode .service-card h2 {
  color: #ffffff;
}

body.dark-mode .service-card .icon {
  color: #ff831e;
}

body.dark-mode .btn-primary {
  background: #ff831e;
  color: #fff;
}

body.dark-mode .btn-primary:hover {
  background: darkorange;
  color: #fff;
}

body.dark-mode .btn-secondary {
  background: #181f2a;
  color: #ff831e;
  border: 2px solid #ff831e;
}

body.dark-mode .btn-secondary:hover {
  background: #ff831e;
  color: #fff;
}

body.dark-mode .service-card p {
  color: #fff;
}

.services-hero p,
.services-cards .service-card p,
.why-choose-us p,
.pricing-section p {
  color: darkorange; /* Slightly transparent dark orange */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-card {
  display: none !important;
}
.contact-hero {
  background: linear-gradient(120deg, #ff831e 60%, #1e90ff 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-bottom: 2rem;
}
.contact-card {
  background: rgba(255,255,255,0.97);
  border-radius: 32px;
  box-shadow: 0 12px 40px 0 rgba(30, 144, 255, 0.15), 0 2px 8px 0 rgba(255, 131, 30, 0.08);
  padding: 3rem 2.5rem;
  max-width: 480px;
  margin: 2rem auto 0 auto;
  text-align: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 2px solid #ff831e22;
}
.contact-card h1 {
  color: #ff831e;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}
.contact-card p {
  color: #333;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

/* --- Contact Form Modern Style --- */
.contact-section {
  position: relative; /* Needed for overlay positioning */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2.5rem 1rem 3rem 1rem;
  background: url(photos/contactform.jpg) center/cover no-repeat;
  z-index: 1;
  overflow: hidden;
}

/* Overlay Layer */
.contact-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 15, 44, 0.7); /* dark blue with transparency */
  z-index: -1; /* behind content, in front of background */
}
/* Mobile footer fix — append to end of file */
@media (max-width: 920px) {
  html, body { overflow-x: hidden !important; }

  .site-footer {
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-bottom: 18px !important;
  }

  /* Force single-column stack and full-width children */
  .footer-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    padding: 12px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .footer-links,
  .footer-logos,
  .footer-contact {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }

  /* center logos + keep them in neat grid without overflow */
  .footer-logos { align-items: center !important; }
  .footer-logos .partner-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(120px, 1fr)) !important;
    gap: 12px 18px !important;
    justify-items: center !important;
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 auto !important;
    padding: 6px 0 !important;
  }
  .footer-logos .partner-grid img {
    max-height: 110px !important; /* larger on mobile as requested */
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
  }

  /* fix copyright width/position (remove 100vw) */
  .site-footer .footer-copyright {
    width: 100% !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}
/* Footer CTA styling */
.footer-cta {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* base button style used in footer */
.footer-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  min-height: 44px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  box-shadow: 0 6px 18px rgba(2,6,23,0.25);
  transition: background 180ms ease, color 180ms ease, transform 120ms ease;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
}

/* primary CTA (orange) */
.footer-cta .btn-quote {
  background: linear-gradient(90deg, #ff831e 0%, #ff6a00 100%);
  color: #fff;
  border-color: rgba(255,255,255,0.06);
}
.footer-cta .btn-quote:hover,
.footer-cta .btn-quote:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,105,25,0.18);
  outline: none;
}

/* secondary CTA (outline) */
.footer-cta .btn-services {
  background: rgba(255,255,255,0.03);
  color: #e6eef7;
  border: 1px solid rgba(255,255,255,0.12);
}
.footer-cta .btn-services:hover,
.footer-cta .btn-services:focus {
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
  outline: none;
}

/* make buttons full-width stack on very small screens */
@media (max-width: 420px) {
  .footer-cta { justify-content: center; }
  .footer-cta .btn { width: 100%; max-width: 360px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .footer-cta .btn { transition: none; }
}
/* Animate footer CTA buttons on hover */
.footer-cta .btn:hover, .footer-cta .btn:focus {
  transform: translateY(-2px); /* slight lift */
  box-shadow: 0 8px 28px rgba(255,105,25,0.18); /* stronger shadow */
  outline: none; /* remove default focus outline */
}
/* Partner logos in footer */   
.footer-logos .partner-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  padding: 6px;
  box-sizing: border-box;
} 
/* Force partner logos into a single horizontal row on large screens */
@media (min-width: 1200px) {
  .footer-logos .partner-grid {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between; /* spread logos across available width */
    gap: 20px;
    width: 100%;
    max-width: 1200px; /* keep a sensible maximum */
    margin: 0 auto;
    box-sizing: border-box;
  }

  .footer-logos .partner-grid a {
    flex: 0 1 auto;     /* allow shrinking but prevent wrapping to next line */
    min-width: 90px;    /* prevent logos from becoming too tiny */
    max-width: 180px;   /* cap how large each logo can grow */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
  }

  .footer-logos .partner-grid img {
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
  }
}
/* ...existing code... */
/* APPEND: panel overlay + strong overrides to remove full-screen dark overlay and reduce blur */
.hero-overlay {
  /* neutralize older full-screen overlay rules */
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  inset: auto !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  display: block !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Panel overlay for improved-hero (weaker blur / lower opacity) */
.improved-hero .hero-overlay {
  position: absolute !important;
  left: 6% !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 56% !important;
  max-width: 920px !important;
  min-width: 320px !important;
  padding: 26px 32px !important;
  background: linear-gradient(180deg,
    rgba(8,11,24,0.72) 0%,
    rgba(8,11,24,0.58) 50%,
    rgba(8,11,24,0.48) 100%) !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 36px rgba(2,6,23,0.45) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  backdrop-filter: blur(4px) !important; /* reduced blur */
  pointer-events: none !important;
  z-index: 1 !important;
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms;
  opacity: 1 !important;
  visibility: visible !important;
}

/* hide panel when parent has .no-overlay or .hidden */
.improved-hero.no-overlay .hero-overlay,
.improved-hero .hero-overlay.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-48%) scale(0.995) !important;
  pointer-events: none !important;
}

/* mobile tweak */
@media (max-width: 900px) {
  .improved-hero .hero-overlay {
    left: 50% !important;
    width: 92% !important;
    transform: translate(-50%, -50%) !important;
    padding: 14px 16px !important;
    -webkit-backdrop-filter: blur(3px) !important;
    backdrop-filter: blur(3px) !important;
  }
}
/* FORCE footer left alignment and ensure contact column is visible */
.site-footer {
  padding-left: 16px !important;
  padding-right: 16px !important;
  overflow-x: hidden !important; /* avoid horizontal scroll from other rules */
}

/* Anchor the footer grid to the left and give the left area more room */
.footer-content {
  max-width: 1300px !important;
  margin-left: 16px !important;   /* align left instead of centered */
  margin-right: 0 !important;
  box-sizing: border-box !important;
  grid-template-columns: 280px 1fr 340px !important; /* widen left and right columns */
  justify-items: start !important;
}

/* Ensure the links area lays out horizontally and doesn't expand full width */
.footer-links {
  display: flex !important;
  flex-direction: row !important;
  gap: 24px !important;
  align-items: flex-start !important;
  flex-wrap: nowrap !important;
}

/* Make contact column explicitly visible and left-aligned */
.footer-contact {
  grid-column: 3;
  text-align: left !important;
  align-self: start !important;
  padding-left: 12px !important;
}

/* Prevent copyright row from using vw/translate tricks that push layout */
.site-footer .footer-copyright {
  width: 100% !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  position: relative !important;
  box-sizing: border-box !important;
}

/* Slightly different layout on very wide screens to keep everything inside viewport */
@media (min-width: 1600px) {
  .footer-content { margin-left: 24px !important; max-width: 1440px !important; }
}

/* Final footer override: ensure the centered 3-column layout is applied last */
.site-footer.footer-locked .footer-content {
  display: grid !important;
  grid-template-columns: 1fr minmax(520px, 700px) 1fr !important;
  gap: 2rem 3rem !important;
  align-items: start !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 2rem 2vw 1.5rem !important;
  box-sizing: border-box !important;
}

.site-footer.footer-locked .footer-links { grid-column: 1 / 2 !important; display:flex !important; gap:24px !important; flex-wrap:wrap !important; }
.site-footer.footer-locked .footer-logos { grid-column: 2 / 3 !important; }
.site-footer.footer-locked .footer-contact { grid-column: 3 / 4 !important; align-self:start !important; align-items:flex-end !important; text-align:right !important; }

@media (max-width: 900px) {
  .site-footer.footer-locked .footer-content { grid-template-columns: 1fr !important; padding: 1.2rem 1rem 0.8rem !important; }
  .site-footer.footer-locked .footer-links { flex-direction:column !important; gap:12px !important; }
  .site-footer.footer-locked .footer-contact { align-items:center !important; text-align:center !important; }
}

/* Add .footer-locked to footer element via HTML or JS to enforce this final rule */
/* Ensure improved hero text is above any content so overlay can be below */
.improved-hero .hero-content,
.hero .hero-content {
  z-index: 2;
}

/* Keep hero-slide container underneath content */
.hero-slides { position: absolute; inset: 0; z-index: 0; }

/* Mobile-friendly overlay rule for improved hero explicitly: */
.improved-hero .hero-overlay {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Footer inline style classes */
.footer-content-font {
  font-family: 'Open Sans', sans-serif;
}

.footer-cta-center {
  justify-content: center;
}

.footer-social-margin {
  margin-top: 8px;
}

.partner-heading-margin {
  margin-top: 12px;
}

.partner-grid-margin {
  margin-top: 8px;
}

.footer-contact-layout {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.logo-wrapper {
  max-width: 160px;
}

.logo-image {
  width: 140px;
  height: auto;
  display: block;
}

.address-footer {
  font-style: normal;
  color: #cfcfcf;
  font-size: 14px;
  line-height: 1.5;
  text-align: right;
}

.footer-link-style {
  color: inherit;
  text-decoration: none;
}

/* About Carousel Slide Background Images */
.about-slide-1 {
  background-image: url('photos/about1.jpg');
}

.about-slide-2 {
  background-image: url('photos/about2.jpg');
}

.about-slide-3 {
  background-image: url('photos/about3.jpg');
}

/* Mobile footer stack override */
@media (max-width: 900px) {
  .site-footer {
    padding: 1.5rem 1rem 1rem !important;
  }
  .footer-content {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-auto-flow: row !important;
    gap: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  .footer-content > * {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  .footer-links,
  .footer-logos,
  .footer-contact {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .footer-contact {
    text-align: center !important;
    padding: 0 !important;
  }

  .footer-contact-layout {
    align-items: center !important;
    text-align: center !important;
  }

  .footer-links {
    text-align: center !important;
  }

  .footer-links .col {
    width: 100% !important;
  }

  .footer-logos {
    align-items: center !important;
    padding-top: 1rem !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    margin-top: 0 !important;
  }

  .footer-logos .partner-grid {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)) !important;
    max-width: 100% !important;
    gap: 10px 12px !important;
    padding: 0.5rem !important;
  }

  .footer-logos .partner-grid img {
    max-height: 80px !important;
  }

  .footer-cta {
    width: 100% !important;
    justify-content: center !important;
  }

  .footer-social {
    justify-content: center !important;
  }

  .site-footer .footer-copyright {
    width: 100% !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    padding: 0.6rem 0 !important;
  }
}

@media (max-width: 600px) {
  .footer-logos .partner-grid {
    grid-template-columns: repeat(2, minmax(70px, 1fr)) !important;
    gap: 8px 8px !important;
    padding: 0.25rem !important;
  }
  .footer-logos .partner-grid a {
    padding: 3px !important;
  }
  .footer-logos .partner-grid img,
  .footer-logos .partner-grid .partner-logo {
    max-height: 64px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
  }
}


/* Compact new footer and mobile nav styles */
.site-footer {
  background: #08111b;
  color: #eef2f7;
}

.footer-main {
  display: grid;
  gap: 2rem;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 2vw 0;
  box-sizing: border-box;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: flex-start;
}

.footer-links .col {
  min-width: 170px;
  max-width: 280px;
}

.footer-links h3 {
  margin-bottom: 0.85rem;
  color: #f7fafc;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links li {
  margin: 0.5rem 0;
  color: #b8c3d5;
  font-size: 0.95rem;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-logos {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 1.6rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.04);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.footer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.footer-social {
  justify-content: center;
  gap: 1rem;
}

.footer-social a {
  color: #f4f7fb;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: #4fd1c5;
}

.partner-heading {
  margin: 0;
  color: #cfd8e4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: flex-end;
  text-align: right;
}

.footer-contact .logo-image {
  max-width: 140px;
  display: block;
}

.address-footer {
  color: #c6d1df;
  line-height: 1.7;
  font-size: 0.95rem;
}

.footer-link-style {
  color: #7dd3d6;
  text-decoration: none;
}

.footer-link-style:hover {
  color: #f8fafc;
}

.footer-bottom {
  width: 100%;
  padding: 1rem 2vw;
  margin-top: 1.2rem;
  background: rgba(0,0,0,0.08);
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: #b8c3d5;
  font-size: 0.95rem;
}

@media (min-width: 960px) {
  .footer-main {
    grid-template-columns: 1.25fr 1.4fr 1fr;
    align-items: start;
  }
}

@media (max-width: 700px) {
  .footer-main {
    display: none;
  }

  .footer-bottom {
    padding: 1rem 1rem;
  }
}

.nav-links .nav-info {
  display: none;
}

@media (max-width: 700px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 340px);
    max-width: 340px;
    background: linear-gradient(180deg, rgba(6, 23, 38, 0.98), rgba(10, 29, 44, 0.99));
    padding: 1.75rem 1.2rem;
    margin: 0;
    gap: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease;
    box-shadow: -16px 0 36px rgba(0, 0, 0, 0.32);
    overflow-y: auto;
    z-index: 1200;
  }

  .nav-links.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
    margin: 0.5rem 0;
  }

  .nav-links > li:not(.nav-info) a {
    display: block;
    width: 100%;
    padding: 1rem 0.85rem;
    color: #edf7fb;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .nav-links > li:not(.nav-info) a:hover,
  .nav-links > li:not(.nav-info) a:focus {
    background: rgba(125, 211, 214, 0.16);
    color: #d9fcff;
  }

  .nav-links li.nav-info {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-info-group {
    color: #e7eef6;
  }

  .nav-info-group strong {
    display: block;
    margin-bottom: 0.6rem;
    color: #f8fafc;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .nav-info-group p,
  .nav-info-group a {
    margin: 0.25rem 0;
    color: #c8d5e6;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .nav-info-group a {
    text-decoration: none;
  }

  .nav-info-group a:hover {
    color: #ffffff;
  }

  .nav-toggle {
    z-index: 1300;
  }

  .nav-toggle.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

.site-cta {
  width: 100%;
  background: linear-gradient(135deg, #10232f, #122737);
  color: #eef5fb;
  margin: 0 auto 1rem;
  padding: 2rem 1.5rem;
  box-sizing: border-box;
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

.site-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  max-width: 1180px;
  margin: 0 auto;
}

.site-cta-copy {
  max-width: 620px;
}

.site-cta .eyebrow {
  margin: 0 0 0.7rem;
  color: #84d2e2;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  font-size: 0.85rem;
}

.site-cta h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2vw, 2.5rem);
  line-height: 1.05;
}

.site-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.site-cta-actions .btn {
  min-width: 170px;
}

@media (max-width: 820px) {
  .site-cta {
    padding: 1.75rem 1rem;
  }

  .site-cta-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .site-cta-actions {
    justify-content: flex-start;
  }
}



