/* Base Reset */ 
body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  font-family: 'Berling Roman', berling-roman;
  background: url('images/home-hero1.jpg') no-repeat center center fixed;
  background-size: cover;
  scroll-behavior: smooth;
}
/* Navbar */ 
.navbar { 
display: flex;
justify-content: space between;
align-items: center;
background-color: #2c3e50; 
padding: 10px 40px;
  position: relative;
z-index: 9999;

}

.logo { 
height: auto;
max-height: 50px;
width auto;
max-width: 100%;
top: 0;
left: 0;
z-index: 1000
} 
.nav-links { list-style: none; display: flex; gap: 20px; } 
.nav-links li a { color: #ffffff; text-decoration: none; font-weight: bold; transition: color 0.3s ease; } 
.nav-links li a:hover { color: #3b82f6; }

/* Hero Sections */ 
.hero { background-size: cover; background-position: center; 
background-repeat: no-repeat; height: 100vh; display: flex; 
align-items: center; justify-content: center; text-align: center; 
color: #000000; } .hero-small { height: 300px; background-size: cover; background-position: center; 
background-repeat: no-repeat; display: flex; align-items: center; justify-content: center; 
text-align: center; color: #000000; }

.hero h1, .hero-small h1 { 
font-size: clamp(24px, 6vw, 48px);
padding: 1rem 2 rem;
background-color: rgba(255, 255, 255, 0.7);
border-radius: 12px; 
}



/* Sections */ 
.section, .services-section, .gallery-section, 
.contact-section { padding: 60px 40px; max-width: 100%;
width: 90%;
margin: 0 auto; 
} 
.section h2, .services-section h2, 
.gallery-section h2 { text-align: center; margin-bottom: 30px; font-size: 32px; color: #2c3e50; text-decoration: underline; } 
.section p, .services-section p { text-align: center; font-size: 18px; color: #333; line-height: 1.6; 
background-color: rgba(255, 255, 255, 0.75); padding: 20px; border-radius: 12px; display: inline-block; max-width: 1200px; margin-top: 20px; }
.quote-section {
  margin-top: -500px !important; /* You can lower to 10px if you want it tighter */
}

/* Services Grid */ 
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; justify-content: center; align-items: center; margin-top: 40px; } 
.services-grid figure { text-align: center; color: #222; } 
.services-grid img { width: 90%; height: auto; border-radius: 8px; transition: transform 0.3s ease; } 
.services-grid img:hover { transform: scale(1.05); }




/* --- Gallery Grid --- */ 
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  justify-content: center;
}

.gallery-grid figure {
  overflow: hidden;
  border-radius: 8px;
  margin: 0;
  position: relative;
}

.gallery-grid img {
  width: 90%;
  max-width: 300px;
  height: auto;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.95;
  backface-visibility: hidden;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}
body.gallery-page {
  padding-top: 100px;
  transition: padding-top 0.3s ease;
  background-image: url('images/gallery-hero1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
body.gallery-page {
  background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)),
              url('/images/gallery-hero1.jpg') center/cover no-repeat;
  background-attachment: fixed;
  background-size: cover;
  margin-top: 0;
  padding-top: 0;
}

/* Divider */ 
.divider { width: 80%; height: 2px; background: linear-gradient(to right, #4f46e5, #3b82f6); margin: 60px auto; }

/* View More Button */ 
.view-more { display: block; text-align: center; margin: 30px auto; background-color: #3b82f6; color: #ffffff; padding: 12px 24px; border-radius: 8px; cursor: pointer; font-weight: bold; width: fit-content; transition: background-color 0.3s ease; } 
.view-more:hover { background-color: #2563eb; }

/* Back to Top Button */ 
#back-to-top { position: fixed; bottom: 30px; right: 30px; background-color: 
#3b82f6; color: #ffffff; padding: 12px 16px; border-radius: 50%; font-size: 24px; text-align: center; cursor: pointer; display: none; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); } 
#back-to-top:hover { background-color: #2563eb; }

/* Contact Form */ 
.contact-form { max-width: 600px; margin: 0 auto; background: rgba(255, 255, 255, 0.8); padding: 20px; border-radius: 12px; } 
.contact-form input, 
.contact-form textarea { width: 100%; padding: 12px; margin-bottom: 20px; border: 1px solid #ccc; border-radius: 6px; font-size: 16px; } 
.contact-form button { background-color: #3b82f6; color: #fff; padding: 12px 24px; border: none; border-radius: 6px; cursor: pointer; font-size: 18px; } 
.contact-form button:hover { background-color: #2563eb; }

.quote-section {
  display: flex;
  justify-content: center;
  margin-top: -1000px; 
}

.quote-box {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 700px;
  width: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.quote-box h2 {
  font-size: 28px;
  color: #111;
  margin-bottom: 15px;
}

.quote-box p {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
}

/* Blog Section Styling */
.blog-section {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.blog-box {
  background-color: transparent;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 700px;
  width: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.blog-box h2 {
  font-size: 28px;
  color: #111;
  margin-bottom: 15px;
}

.blog-box ul {
  list-style: none;
  padding: 0;
  font-size: 18px;
}

.blog-box li {
  margin-bottom: 12px;
}

.blog-box a {
  color: #1d4ed8;
  text-decoration: none;
}

.blog-box a:hover {
  text-decoration: underline;
}

/* Responsive */ 
@media (max-width: 600px) { .hero { height: 250px; } .hero h1 { font-size: 32px; } 
.section, .services-section, .gallery-section, .contact-section { padding: 30px 20px; } 
.gallery-grid, .services-grid { grid-template-columns: 1fr; } }

/* Blog */ 
.blog-section { background-color: rgba(255, 255, 255, 0.8); padding: 40px; border-radius: 12px; margin: 40px auto; max-width: 900px; color: black; } 
.blog-section h2 { font-size: 28px; text-align: center; margin-bottom: 30px; } .blog-post { margin-bottom: 50px; } 
.blog-post h3 { font-size: 22px; margin-bottom: 10px; color: #111; } .blog-post p { font-size: 16px; line-height: 1.6; } 
.blog-preview { margin-bottom: 40px; border-bottom: 1px solid #ccc; padding-bottom: 20px; } 
.blog-preview img { max-width: 100%; height: auto; border-radius: 12px; margin-bottom: 20px; }

/* Gallery Headings */ 
.gallery-section h3, .gallery-section h2 { text-align: center; }

.gallery-section .view-more { margin-top: 20px; }

/* Blog Text on Home */ 
.home-blog { background-color: rgba(255, 255, 255, 0.85); padding: 20px; border-radius: 12px; color: black; margin-top: 40px; }
.hero-full {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-start; /* Align to the top */
  justify-content: center;
  text-align: center;
  padding: 20px; /* top right bottom left */
}

.hero-overlay {
  background-color: rgba(255, 255, 255, 0.85); /* White translucent box */
  padding: 40px;
  border-radius: 12px;
  max-width: 800px;
  margin-top: 5px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 1px;
}


.hero-overlay h1 {
  font-size: 48px;
  color: #111;
  margin-bottom: 10px;
}

.hero-overlay p {
  font-size: 20px;
  color: #333;
  margin: 0;
}


.animated-header {
  font-size: 42px;
  font-weight: 600;
  color: #222;
  background-color: rgba(255, 255, 255, 0.85);
  display: inline-block;
  padding: 12px 28px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeSlideIn 1s ease-out forwards;
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  font-size: 15px;
}

.nav-contact a {
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.nav-contact a:hover {
  color: #00bcd4;
}

.nav-icon {
  width: 16px;
  height: 16px;

}

.contact-icons {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 16px;
  margin-left: auto;
  margin-right: auto;
  padding: 5px 0;
}

.contact-icons a {
  display: flex;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 18px;
  gap: 6px;
}

.contact-icons a:hover {
  opacity: 0.8;
}

.contact-icons img.icon {
  width: 22px;
  height: 22px;
}

.logo-and-icons {
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo {
  width: 80px;
  height: auto;
}

.contact-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-icons a {
  display: flex;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 16px;
  gap: 5px;
}

.contact-icons img.icon {
  width: 20px;
  height: 20px;
}

.background-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
  object-fit: cover;
}

.gallery-full {
  position: relative;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.gallery-overlay {
  position: relative;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.gallery-overlay h1,
.gallery-overlay p {
  color: #000;
  z-index: 1;
}

.gallery-content {
  position: relative;
  z-index: 2;
  margin-top: 2rem;
  /* Pushes content below the background overlay */
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 10px;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    flex-direction: row;
    gap: 10px;
    overflow-x: hidden;
  }

  .hero {
    height: auto;
    padding-bottom: 2px;
    text-align: center;
    background-position: center;
  }

  .hero h1, .hero-small h1 {
    font-size: 6vw;
    padding: 1rem;
  }
}


@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    align-items: center;
    padding: 10px;
  }

  .logo-and-icons {
  flex-direction: row;
  align-items: center; 
  text-align: center; 
  gap: 10px;
  margin-bottom: 10px;
  }

  .contact-icons {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 5px;
  }

  
  .nav-links {
    width: 100%;
    text-align: center;
    padding-top: 10px
    border-top: 1px solid rbga(255, 255, 255, 0.2);
  }

  .nav-links li {
margin: 10px 0;
  }

  
  .hero {
    height: auto;
    padding-bottom: 2px;
    text-align: center;
    background-position: center;
  }

  .hero h1, .hero-small h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    padding: 1rem;
  }

  .section, .services-section, .gallery-section, .contact-section, .quote-section {
    max-width: 100%;
    width: 90%;
    margin: 0 auto;
    padding: 20px 0;
  }

  section p {
    font-size: 1rem;
  }

  section h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .services-grid, .gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 10px;
  }

  .services-grid img, .gallery-grid img {
    width: 100%;
    height: auto;
  }

  .divider {
    width: 90%;
    margin: 20px auto;
  }

  .view-more {
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 1rem;
  }

  .contact-form {
    width: 90%;
    max-width: 100%;
    padding: 15px;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    font-size: 1rem;
  }

  .contact-form button {
    width: 100%;
    font-size: 1rem;
    padding: 12px;
  }

  .quote-box,
  .blog-box {
    width: 90%;
    max-width: 100%;
    padding: 15px;
    font-size: 1rem;
    margin: 0 auto;
  }

  .quote-box h2,
  .blog-box h2 {
    font-size: 1.5rem;
  }

  .quote-box p,
  .blog-box p {
    font-size: 1rem;
  }

  body.gallery-page {
    background-attachment: scroll;
  }
}

.gallery-overlay {
  background: rgba(255, 255, 255, 0.85); /* white translucent box */
  border-radius: 16px;
  padding: 20px 30px;
  max-width: 800px;
  margin: 20px auto 10px auto;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-full {
  padding-top: 30px;
  padding-bottom: 10px;
}



Css
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-thumb,
.gallery-full {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-full {
  position: relative;
  top: 0;
  left: 0;
  z-index: 1;
  transform: scale(1);
}





.gallery-thumb {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease;
  opacity: 1 !important;
}

.gallery-item:hover .gallery-thumb {
  transform: scale(1.05);
  opacity: 1 !important;
}

/* Only disable clicking on gallery links */
.gallery-link {
  cursor: default;
}

body.gallery-page,
.gallery-full,
.gallery-overlay {
  margin-top: 0;
  padding-top: 0;
}



.gallery-full {
  position: relative;
  padding-top: 10px; /* reduced from 30 or 40 */
  padding-bottom: 10px;
  z-index: 0;
}

.gallery-overlay {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 20px 30px; /* controls box spacing inside */
  max-width: 800px;
  margin: 20px auto; /* no top margin, small bottom */
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-height: fit-content; /* new*/
  height: auto; 
  /* new */ 
}

.gallery-overlay h1,
.gallery-overlay p {
  color: #111;
  margin: 6px 0;
}

/* === SCV Tech Services Section Enhancements === */
@font-face {
  font-family: 'berling-roman';
  src: url('fonts/berling-roman.woff2') format('woff2'); /* adjust path as needed */
}

@font-face {
  font-family: 'berlingltstd-bold';
  src: url('fonts/berlingltstd-bold.woff2') format('woff2');
}

.services-section {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.content-box {
  background: rgba(255, 255, 255, 0.85);
  padding: 40px 60px;
  border-radius: 20px;
  max-width: 1100px;
  text-align: center;
}

.content-box h1 {
  font-family: 'berlingltstd-bold', serif;
  font-size: 2.5rem;
  border-bottom: 3px solid #2c3e50;
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.content-box p {
  font-family: 'berling-roman', serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 40px;
}

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

.service-icon {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.service-icon:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.service-icon img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.service-icon p {
  font-family: 'berling-roman', serif;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 10px;
  text-align: center;
}



@media screen and (min-width: 768px) {
  .content-box h1 {
    font-size: 3rem;
  }

  .content-box p {
    font-size: 1.25rem;
  }

  .service-icon p {
    font-size: 1.1rem;
  }

  .content-box {
    padding: 60px 80px;
  }

  .services-grid {
    gap: 40px;
  }
}



@media screen and (min-width: 1024px) {
  .content-box h1 {
    font-size: 3.2rem;
  }

  .content-box p {
    font-size: 1.35rem;
    max-width: 900px;
    margin: 0 auto 50px;
  }

  .service-icon img {
    max-width: 160px;
    height: auto;
  }

  .service-icon p {
    font-size: 1.2rem;
    margin-top: 12px;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 50px;
    justify-items: center;
  }

  .content-box {
    padding: 80px 100px;
  }
}


@media screen and (min-width: 1024px) {
  .content-box h1 {
    font-size: 3.5rem;
  }

  .content-box p {
    font-size: 1.5rem;
    max-width: 950px;
    margin: 0 auto 60px;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 60px;
    justify-items: center;
  }

  .service-icon {
    background: #ffffffcc;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    max-width: 220px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .service-icon:hover {
    transform: scale(1.06);
    cursor: pointer;
  }

  .service-icon img {
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
  }

  .service-icon p {
    font-family: 'berling-roman', serif;
    font-size: 1.25rem;
    font-weight: bold;
    color: #2c3e50;
    margin: 0;
  }
}



@media screen and (min-width: 1024px) {
  body {
    font-size: 18px;
  }

  .content-box h1 {
    font-size: 3.5rem;
  }

  .content-box p {
    font-size: 1.5rem;
    max-width: 950px;
    margin: 0 auto 60px;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 60px;
    justify-items: center;
  }

  .service-icon {
    background: #ffffffdd;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding: 25px;
    max-width: 240px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .service-icon:hover {
    transform: scale(1.06);
    cursor: pointer;
  }

  .service-icon img {
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: 16px; /* Rounded image corners */
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  }

  .service-icon p {
    font-family: 'berling-roman', serif;
    font-size: 1.4rem;
    font-weight: 600;
    background: #ffffffee;
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin: 0;
    width: fit-content;
    max-width: 100%;
  }
}


@media screen and (max-width: 768px) {
  .hero-text-container {
    padding: 20px;
    width: 90%;
    margin: auto;
  }

  h1 {
    font-size: 2rem; /* makes the Welcome text smaller on mobile */
  }

  .white-box {
    padding: 20px;
    margin: 20px auto;
    width: 90%;
    font-size: 1.1rem;
  }

  .cta-button {
    font-size: 1rem;
    padding: 12px 20px;
  }
}




@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden; /* prevent horizontal scrolling */
  }

  .hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
  }

  .white-box {
    width: 90% !important;
    padding: 16px !important;
    margin: 16px auto !important;
    font-size: 1rem !important;
    box-sizing: border-box;
  }

  h1, h2 {
    font-size: 1.8rem !important;
    line-height: 2.2rem !important;
    text-align: center;
  }

  .cta-button {
    font-size: 1rem !important;
    padding: 12px 20px !important;
    width: auto;
  }
}



@media screen and (max-width: 768px) {
  .gallery-header-box {
  width: 90% !important;
  margin: 0 auto 24px auto !important;
  padding: 20px !important;
  text-align: center !important;
  box-sizing: border-box;
}

.gallery-header-box h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.gallery-header-box p {
  font-size: 1rem;
  margin: 0;
}

.section-title {
  width: 90%;
  margin: 24px auto 16px auto;
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  text-decoration: underline;
}

.gallery-image {
  width: 90%;
  margin: 12px auto;
  display: block;
  border-radius: 12px;
}


.gallery-header-box {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 20px;
  margin: 24px auto;
  width: 90%;
  text-align: center;
  box-sizing: border-box;
}

.gallery-header-box h1 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.gallery-header-box p {
  font-size: 1rem;
  margin: 0;
}




.gallery-title {
  width: 90%;
  margin: 30px auto 16px;
  font-size: 1.5rem;
  text-align: center;
  font-weight: bold;
  text-decoration: underline;
}




  
  
  
  
  
  .hero-section {
    padding: 40px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px; /* adds spacing between blocks */
  }

  .white-box {
    width: 90%;
    padding: 20px;
    margin: 24px auto;
    font-size: 1rem;
    box-sizing: border-box;
  }

  h1, h2 {
    font-size: 1.8rem;
    line-height: 2.2rem;
    margin: 0 0 16px 0;
    text-align: center;
  }

  .cta-button {
    font-size: 1rem;
    padding: 14px 28px;
    margin-top: 16px;
    margin-bottom: 24px;
  }

  body {
    overflow-x: hidden;
  }
}








/* ===================== ABOUT SECTION ===================== */
.about-box {
  padding-bottom: 2rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

/* Shared layout styles for About and Service Area boxes */
.content-box {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  max-width: 850px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 12px;
  padding: 30px 40px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  /* 🔧 Optional: Visual debug line */
  border: 1px dashed red;
}


.content-box {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 12px;
  padding: 30px 40px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}


/* ===================== SERVICE AREAS ===================== */
.service-areas-box {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  margin: 3rem auto;
  max-width: 1100px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.service-areas-box h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  color: #111;
}

.service-areas-box .intro {
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  color: #444;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.city-columns ul {
  column-count: 7;
  column-gap: 2rem;
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.city-columns li {
  padding: 0.25rem 0;
  font-size: 0.85rem;
  color: #222;
  border-bottom: 1px solid #eee;
}


/* ========== Responsive Layout ========== */

@media (max-width: 1200px) {
  .city-columns ul {
    column-count: 5;
  }
}

@media (max-width: 1024px) {
  .city-columns ul {
    column-count: 4;
  }
}

@media (max-width: 768px) {
  .city-columns ul {
    column-count: 2;
  }

  .service-areas-box {
    padding: 1.5rem 1rem;
  }

  .service-areas-box h2 {
    font-size: 1.3rem;
  }

  .service-areas-box .intro {
    font-size: 0.9rem;
  }

  .city-columns li {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .city-columns ul {
    column-count: 1;
  }
}






#back-to-top {
  position: fixed;
  bottom: 220px;  /* ↑ moved higher for desktop */
  right: 30px;
  font-size: 24px;
  background-color: #3b82f6;
  color: white;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
  #back-to-top {
    bottom: 250px;  /* ↑ moved even higher for mobile */
    right: 20px;
  }
}




/* Move Tidio chat button up */
.tidio-chat-launcher {
  bottom: 120px !important; /* adjust as needed */
}

@media (max-width: 768px) {
  .tidio-chat-launcher {
    bottom: 140px !important;
  }
}






/* Consistent Box Styling for Homepage and Other Sections */
.content-box {
  background-color: rgba(255, 255, 255, 0.85); /* Matches About/Service box */
  backdrop-filter: blur(4px);                 /* Optional blur effect */
  max-width: 850px;
  width: 100%;
  margin: 2rem auto;
  border-radius: 12px;
  padding: 30px 40px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  text-align: center;
}
