/* styles.css */

/* Color variables */
:root {
    --color-light: #f8f9fa;
    --color-light-alt: #e9ecef;
    --color-text-dark: #333;
    --color-text-muted: #444;
    --color-accent: #1f7c2c;
    --color-success: #28a745;
    --color-dark-bg: #343a40;
    --color-link: #007bff;
}

/* Impostazioni globali */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    scroll-behavior: smooth;
}
/* Prevent horizontal overflow and keep canvas backgrounds behind */
html, body { overflow-x: hidden; }
body > canvas { position: fixed !important; top: 0; left: 0; width: 100% !important; height: 100% !important; z-index: -1 !important; pointer-events: none !important; }
/* Sticky footer layout */
body {
    color: #212529; /* Bootstrap default text color */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Consistent fixed navbar + safe top offset */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1040; }
body { padding-top: 56px; }
@media (min-width: 992px) { body { padding-top: 72px; } }

/* FAQ section styling */
.faq-section {
    max-width: 800px;
    margin: 2rem auto;
    font-size: 0.95rem;
}

/* HERO SECTION */

.hero {
    position: relative;
    min-height: 55vh; /* ridotta per mostrare i servizi above the fold */
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    background-size: 400% 400%;
    animation: gradientBG 12s ease infinite;
    padding-top: clamp(6rem, 12vw, 8rem);
  }
  
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45); /* overlay scuro più leggero */
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
  }
  
  /* CTA più dinamica */
  .btn-hero {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .btn-hero:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
  }
  
  /* Animazione gradiente */
  @keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  

/* SEZIONE CHI SONO - DESIGN MODERNO */
/* About page section (standalone page) */
.about-section {
    position: relative;
    background: transparent;
    color: #f8f9fa;
    padding: 100px 0;
    overflow: visible;
}
.about-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(10, 10, 10, 0.55), rgba(24, 24, 24, 0.35));
    z-index: 0;
}
.about-section > .container {
    position: relative;
    z-index: 1;
}

/* About block on homepage */
#about {
    position: relative;
    background: transparent;
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

#about::before {
    content: none;
}

#about .container,
#about .row,
#about .col-md-6 {
    position: relative;
    z-index: 1;
}

#about .about-details {
    border-radius: 20px;
    padding: clamp(1.75rem, 4vw, 2.75rem);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.4);
}

#about .about-details .section-title,
#about .about-details .about-text,
#about .about-details .highlight {
    color: #f8f9fa !important;
}

#about .about-details a {
    color: #7dd3ff;
    text-decoration: none;
}

#about .about-details a:hover {
    color: #b8e8ff;
    text-decoration: underline;
}

#about .section-title,
#about .about-text,
#about .highlight { color: #ffffff !important; }

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    color: var(--color-text-dark);
    margin-bottom: 20px;
}

/* Stile del testo per maggiore leggibilità */
.about-text {
    font-size: 1.05rem;
    color: var(--color-text-dark);
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Evidenzia alcune parole importanti */
.highlight { color: var(--color-accent); font-weight: 700; }

/* Effetto hover moderno per l'immagine */
.about-img-wrapper {
    display: inline-block;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.about-img {
    max-width: 100%;
    display: block;
    border-radius: 15px;
    transition: transform 0.3s ease-in-out;
}

.about-img-wrapper:hover {
    transform: scale(1.05);
}

/* Effetto hover su mobile */
@media (max-width: 768px) {
    .about-img-wrapper:hover {
        transform: none;
    }
}

/* Fluid typography helpers */
.lead {
    font-size: clamp(1.05rem, 3.5vw, 1.35rem);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

#hero .display-4 {
    font-size: clamp(1.75rem, 4.5vw, 3.25rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.hero .lead {
    max-width: 52ch;
    margin-left: auto;
    margin-right: auto;
}

/* FOOTER */
footer { background: var(--color-dark-bg); color: #fff; padding: 20px; text-align: center; margin-top: auto; }
footer a { color: #7dd3ff; text-decoration: none; }
footer a:hover { color: #b8e8ff; text-decoration: underline; }
footer small { display: block; margin-top: 0.35rem; }

/* CONTACT SECTION */
.contact-section {
    position: relative;
    background: transparent;
    padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.contact-section::before {
    content: none;
}

.contact-section > .container {
    position: relative;
    z-index: 1;
}

.contact-form,
.contact-section .card,
.contact-section .map-container {
    background: rgba(15, 15, 22, 0.55);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
}

.contact-form {
    padding: 24px;
}

.contact-form.contact-form--light {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    color: #212529;
}

.contact-form.contact-form--light h4,
.contact-form.contact-form--light p,
.contact-form.contact-form--light label,
.contact-form.contact-form--light a {
    color: #212529 !important;
}

.contact-section a {
    color: #7dd3ff;
    text-decoration: none;
}

.contact-section a:hover {
    color: #b8e8ff;
    text-decoration: underline;
}

.input-group-text {
    background: rgba(125, 211, 255, 0.15);
    color: #7dd3ff;
    border: none;
    min-width: 3rem;
    justify-content: center;
    font-size: 1.1rem;
}

.input-group .form-control,
.contact-form textarea.form-control {
    border-left: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8f9fa;
}

.input-group .form-control::placeholder,
.contact-form textarea.form-control::placeholder {
    color: rgba(248, 249, 250, 0.65);
}

.contact-section .form-check-input {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
}

.contact-section .form-check-input:checked {
    background-color: #198754;
    border-color: #198754;
}

/* Responsive map embed */
.map-container { position: relative; width: 100%; padding-top: 66.66%; }
.map-embed { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; border: 0; }

.contact-section .map-container {
    overflow: hidden;
    margin-top: 1.5rem;
}

.map-container iframe {
    border-radius: 16px;
}

.contact-form .contact-field {
    position: relative;
}

.contact-form .contact-field-icon {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 1.1rem;
}


.contact-form .contact-field-input {
    padding-left: 2.75rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.contact-form .contact-field-input:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
}

.contact-form.contact-form--light .contact-field-input {
    background: #ffffff;
    border: 1px solid #d0d5dd;
    color: #212529;
}

.contact-form.contact-form--light .contact-field-input:focus {
    background: #ffffff;
    color: #212529;
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.1);
}

.contact-form.contact-form--light .contact-field-input::placeholder {
    color: rgba(71, 85, 105, 0.7);
}

.contact-form .contact-field-input::placeholder {
    color: rgba(248, 249, 250, 0.7);
}

.contact-form .contact-field textarea.contact-field-input {
    resize: vertical;
}

.contact-form .form-check-input {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
}

.contact-form .form-check-input:checked {
    background-color: #198754;
    border-color: #198754;
}

.contact-form.contact-form--light .form-check-input {
    background-color: #ffffff;
    border-color: #adb5bd;
}

.contact-form.contact-form--light .form-check-input:checked {
    background-color: #198754;
    border-color: #198754;
}


/* ABOUT PAGE */
.about-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(6.5rem, 12vw, 8rem) 20px clamp(3rem, 7vw, 4rem);
}
.about-section h1,
.about-section h3,
.about-section p,
.about-section li {
    color: #f8f9fa;
}
.about-content {
    background: rgba(18, 18, 26, 0.55);
    padding: 32px;
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    color: #f8f9fa !important;
}
.about-content a {
    color: #7dd3ff !important;
    font-weight: 600;
    text-decoration: none;
}
.about-certifications {
    margin-top: 20px;
}
.about-section .list-group {
    background: transparent;
}
.about-section .list-group-item {
    background: rgba(255, 255, 255, 0.08);
    color: #f8f9fa !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
}
.about-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #7dd3ff;
}

/* RESPONSIVE LAYOUT */
@media (max-width: 991.98px) {
    .about-section {
        display: block;
        min-height: auto;
        padding: calc(56px + 2.5rem) 18px 3.5rem;
        margin-bottom: 0;
    }

    .about-content {
        padding: 24px;
    }

    .about-icon {
        font-size: 2.5rem;
    }

    .about-certifications h3 {
        font-size: 1.3rem;
    }

    .about-certifications a {
        font-size: 1rem;
    }

    .list-group-item {
        font-size: 0.9rem;
    }
}

@media (min-width: 992px) {
    .about-section {
        padding-top: calc(72px + 3rem);
    }
}

@media (max-width: 576px) {
    .about-section {
        padding: calc(56px + 2rem) 12px 3rem;
    }

    .about-content {
        padding: 20px;
    }

    .about-icon {
        font-size: 2rem;
    }

    .about-certifications h3 {
        font-size: 1.2rem;
    }

    .about-certifications a {
        font-size: 0.9rem;
    }

    .list-group-item {
        font-size: 0.85rem;
    }
}


/*SERVICES PAGE */
.body-servicepage {
    background-color: var(--color-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: var(--color-text-dark) !important;
}
.body-servicepage .content-section,
.body-servicepage .content-section h1,
.body-servicepage .content-section h2,
.body-servicepage .content-section h3,
.body-servicepage .content-section h4,
.body-servicepage .content-section p,
.body-servicepage .content-section li {
    color: var(--color-text-dark) !important;
}
.body-servicepage a {
    color: var(--color-link);
}
.body-servicepage a:hover {
    color: #0a58ca;
}
.services-section {
    flex-grow: 1;
    padding: clamp(3.5rem, 7vw, 5rem) 0;
    color: #f8f9fa;
    background: transparent;
}
.services-section h1,
.services-section .lead {
    color: #f8f9fa;
}
.service-box {
    background: rgba(18, 18, 26, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    text-align: center;
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100%;
    color: #f8f9fa;
}
.service-box strong,
.service-box p {
    color: inherit;
}
.service-box:hover {
    transform: scale(1.05);
}
.service-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.services-section .row,
#services .row,
.about-section .row,
.contact-section .row,
.content-section .row {
    row-gap: 1.5rem;
}

.service-box p {
    margin-bottom: 0;
    flex-grow: 1;
}

@media (max-width: 991.98px) {
    .services-section {
        padding: calc(56px + 2.5rem) 0 3.5rem;
    }

    .services-section .lead {
        margin-left: auto;
        margin-right: auto;
    }

    .services-section .service-box {
        background: rgba(18, 18, 26, 0.45);
        border-color: rgba(255, 255, 255, 0.22);
        box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
    }
}

#services {
    margin-top: clamp(1.5rem, 4vw, 2.75rem);
    margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

#services .section-title {
    color: #f8f9fa !important;
}

/*SERVICES PAGES */
.body-services {
    background-color: var(--color-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.hero-services {
    position: relative;
    min-height: 35vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: calc(72px + 2.5rem) 0 3rem;
}
.hero-services::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 0;
}
.hero-services > * {
    position: relative;
    z-index: 1;
}
.hero-services h1 {
    font-size: 3rem;
    font-weight: bold;
}

.contact-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-column .sidebar-widget {
    margin: 0;
}

@media (min-width: 992px) {
  .service-sidebar-layout { align-items: flex-start; }
}

.blog-hero {
    margin-top: 0;
    padding: calc(72px + 3rem) 0 3rem;
    text-align: center;
    color: #f8f9fa;
}

.blog-hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 700;
    margin: 0;
}
.content-section {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    flex-grow: 1;
}
.blog-section {
    background: var(--color-light);
    padding: clamp(3.5rem, 7vw, 5rem) 0;
}
.blog-post {
    padding:20px;
    border-radius:10px;
    box-shadow:0 4px 10px rgba(0,0,0,0.1);
    margin-bottom:30px;
}

.blog-post h3{
    margin-top:0;
}

.hidden { display: none; }

/* Blog cards: uniform image size */
.blog-card .card-img-top {
    width: 100%;
    height: 180px; /* compact, uniform height */
    object-fit: cover; /* crop to fill area without distortion */
    display: block;
}

/* Google Reviews */
.reviews-section {
    background: var(--color-light);
    padding: 60px 0;
}

.reviews-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
}

.review-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    scroll-snap-align: start;
}

.review-rating {
    color: #fbbf24;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.review-author {
    margin-top: 10px;
    font-weight: bold;
    color: white !important;
}

@media (max-width: 575.98px) {
    .reviews-slider { gap: 12px; }
    .review-card { flex: 0 0 85%; }
}

/* VANTA come wallpaper a tutta pagina */
#vanta-bg{
    inset: 0;
    z-index: -1;       /* sotto a tutto */
    pointer-events: none;
  }
  
  html, body{
    min-height: 100%;
    background: transparent !important;
  }
  
  /* Rendi trasparenti le sezioni che avevano sfondo proprio */
  .hero,
  #about,
  #services,
  #reviews,
  .contact-section{
    background: transparent !important;
  }
  
  /* Se usi classi Bootstrap che rimettono bianco */
  section.bg-light{ background-color: transparent !important; }
  
  /* Alcune tue regole mettono ancora sfondi chiari: neutralizziamole */
  #services{ background: transparent !important; }
  #about{ background: transparent !important; }
  .contact-section{ background: transparent !important; }

  body > canvas {
    position: fixed !important; /* lo ancora alla finestra */
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: -1 !important;
  }

/* Blog article headings */
.blog-article > h1 {
  text-align: center;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}
.blog-main { margin-top: 0.5rem !important; }

/* Blog article CTA minimized */
.blog-cta { background: transparent !important; padding: 0 !important; border-radius: 0 !important; }
.blog-cta h2, .blog-cta p { display: none !important; }
.blog-cta .btn { padding: .375rem .75rem; font-size: .875rem; }

/* Navbar favicon next to brand */
.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: normal;
  line-height: 1.1;
}
.navbar-brand .navbar-favicon {
  height: 24px;
  width: 24px;
  margin-right: 8px;
  vertical-align: -3px;
}

/* Keep navbar always visible on scroll (robust fixed-top) */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1040; }
/* Offset page content for fixed navbar */
body { padding-top: 56px; }
@media (min-width: 992px) { body { padding-top: 72px; } }

/* Anchor offset so sections don't hide under the fixed navbar */
#about, #services, #reviews, #contact { scroll-margin-top: 70px; }
@media (min-width: 992px) { #about, #services, #reviews, #contact { scroll-margin-top: 86px; } }

/* Article cover image: float aside content on md+ */
.article-cover {
  width: 100%;
  max-width: 380px; /* keep compact on desktop */
}
@media (min-width: 768px) {
  .article-cover.float-md-end { margin-left: 1rem; }
  .article-cover.float-md-start { margin-right: 1rem; }
}

/* Home (index) mobile refinements */
#hero .display-4 { word-break: break-word; }
#typed-index { display: inline-block; min-height: 1.2em; }
@media (min-width: 992px) {
  #hero { min-height: 55vh; padding: 4rem 0 3rem; }
  #services { text-align: center; }
  #services .h5 { font-size: 1.4rem; }
  #services p { font-size: 1.3rem; line-height: 1.8; }
  .services-section .service-box {
    background: rgba(255, 255, 255, 0.95);
    color: #212529;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16);
  }
  #contact .contact-form {
    background: #ffffff;
    color: #212529 !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  }
  #contact .contact-form a,
  #contact .contact-form label,
  #contact .contact-form p {
    color: #212529 !important;
  }
  #contact .contact-form .contact-field-input,
  #contact .contact-form .form-control,
  #contact .contact-form textarea.form-control {
    background: #ffffff;
    color: #212529;
    border: 1px solid #d0d5dd;
  }
  #contact .contact-form .contact-field-input:focus,
  #contact .contact-form .form-control:focus,
  #contact .contact-form textarea.form-control:focus {
    background: #ffffff;
    color: #212529;
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.15);
  }
  #contact .contact-form .contact-field-input::placeholder,
  #contact .contact-form textarea.form-control::placeholder {
    color: #6c757d;
  }
  #contact .contact-form .form-check-input {
    background-color: #ffffff;
    border-color: #d0d5dd;
  }
  #contact .contact-form .form-check-input:checked {
    background-color: #198754;
    border-color: #198754;
  }
}
@media (max-width: 991.98px) {
  .hero-services {
    padding: calc(56px + 2.5rem) 0 2.75rem;
  }
  .blog-hero {
    padding: calc(56px + 2.75rem) 0 2.75rem;
  }
  #hero { min-height: 60vh; padding: 3.75rem 0; }
}
@media (max-width: 767.98px) {
  .hero-services {
    padding: calc(56px + 2.25rem) 0 2.5rem;
  }
  .blog-hero {
    padding: calc(56px + 2.5rem) 0 2.5rem;
  }
  #hero { min-height: 55vh; padding: 3.25rem 0 2.75rem; }
  .services-section { padding: calc(56px + 2rem) 0 3.25rem; }
  .content-section { padding: 32px 0; }
  .about-section .row,
  .contact-section .row,
  .services-section .row,
  #services .row { row-gap: 1.75rem; }
  .navbar-brand { max-width: 78%; }
}
@media (max-width: 575.98px) {
  .hero-services {
    padding: calc(56px + 2rem) 0 2.25rem;
  }
  .blog-hero {
    padding: calc(56px + 2.25rem) 0 2.25rem;
  }
  #hero { padding: 3rem 0 2.5rem; }
  #hero .lead { font-size: 1rem; margin-bottom: 1.1rem; }
  .service-box { padding: 20px; }
  .services-section { padding: calc(56px + 1.5rem) 0 3rem; }
  .contact-section .row { row-gap: 2rem; }
  .contact-form { padding: 20px; }
  .input-group-text { min-width: 2.75rem; font-size: 1rem; }
  .navbar .nav-link { padding: 0.4rem 0; }
  .navbar-brand { font-size: 0.95rem; max-width: 72%; }
  .navbar-toggler { padding: 0.35rem 0.6rem; }
  footer p, footer small { font-size: 0.9rem; }
}
@media (max-width: 374.98px) {
  .navbar-brand { font-size: 0.85rem; max-width: 78%; }
  .input-group-text { font-size: 0.95rem; }
  .service-box { padding: 18px; }
}

/* Reserve space for 3rd-party widgets to avoid overlap while loading */
[class^="elfsight-app-"], [class*=" elfsight-app-"] { display: block; min-height: 320px; }
@media (min-width: 768px) { [class^="elfsight-app-"], [class*=" elfsight-app-"] { min-height: 400px; } }

/* Responsive map height */
.map-container iframe { height: 400px; }
@media (max-width: 575.98px) { .map-container iframe { height: 280px !important; } }

/* Responsive refinements */
/* Tone down hover effects on touch/mobile to avoid layout jank */
@media (hover: none), (max-width: 576px) {
  .service-box:hover { transform: none; box-shadow: none; }
}

/* Hero title scales better on small screens */
@media (max-width: 767.98px) {
  .hero-services h1 { font-size: 2.25rem; }
}
@media (max-width: 575.98px) {
  .hero-services h1 { font-size: 1.75rem; }
}

/* Bring services section closer on homepage */
#services { padding-top: 1.5rem !important; }
@media (min-width: 992px) { #services { padding-top: 1rem !important; } }
@media (max-width: 575.98px) { #services { padding-top: 1rem !important; } }

/* Blog cards image height on small screens */
@media (max-width: 575.98px) {
  .blog-card .card-img-top { height: 140px; }
}

/* Moved from inline styles (index.html) */
html, body { margin: 0; padding: 0; height: 100%; min-height: 100%; scroll-behavior: smooth; background: transparent !important; }

/* Home page refresh */
body.home-page {
  color: #e2e8f0 !important;
  background:
    radial-gradient(circle at 12% 18%, rgba(56,189,248,0.25), transparent 55%),
    radial-gradient(circle at 85% 12%, rgba(129,140,248,0.18), transparent 52%),
    radial-gradient(circle at 18% 82%, rgba(34,211,238,0.12), transparent 50%),
    linear-gradient(160deg, #020617 0%, #030712 55%, #04021a 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.home-page main { flex: 1 0 auto; position: relative; z-index: 1; }
body.home-page a:not(.btn) { color: #38bdf8; }
body.home-page a:not(.btn):hover,
body.home-page a:not(.btn):focus { color: #22d3ee; }

.home-navbar {
  background: rgba(2,6,23,0.7) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148,163,184,0.18);
}
.home-navbar .navbar-brand {
  color: #f8fafc;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}
.home-navbar .navbar-brand:hover,
.home-navbar .navbar-brand:focus { color: #ffffff; }
.home-navbar .nav-link {
  color: rgba(226,232,240,0.78);
  font-weight: 500;
  transition: color 0.2s ease;
}
.home-navbar .nav-link:hover,
.home-navbar .nav-link:focus { color: #f8fafc; }
.home-navbar .nav-link.btn {
  margin-left: 1rem;
  border-radius: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.3rem;
}
.home-navbar .navbar-toggler { border-color: rgba(148,163,184,0.35); }
.home-navbar .navbar-toggler:focus { box-shadow: 0 0 0 0.15rem rgba(59,130,246,0.35); }

body.home-page #hero {
  min-height: unset;
  padding: 0;
}
.home-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  text-align: left;
  padding: clamp(6rem, 10vw, 7.5rem) 0 clamp(4rem, 8vw, 6.5rem);
  margin-top: clamp(3.5rem, 8vw, 5.5rem);
}
.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  filter: blur(0);
}
.home-hero::before {
  top: -18%;
  right: -10%;
  width: clamp(260px, 32vw, 420px);
  height: clamp(260px, 32vw, 420px);
  background: radial-gradient(circle, rgba(59,130,246,0.55) 0%, rgba(59,130,246,0) 70%);
  opacity: 0.55;
}
.home-hero::after {
  bottom: -20%;
  left: -8%;
  width: clamp(220px, 28vw, 360px);
  height: clamp(220px, 28vw, 360px);
  background: radial-gradient(circle, rgba(45,212,191,0.45) 0%, rgba(45,212,191,0) 70%);
  opacity: 0.5;
}
.home-hero .container,
.home-hero .row {
  position: relative;
  z-index: 1;
}
.home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(226,232,240,0.85);
  background: rgba(56,189,248,0.12);
  border: 1px solid rgba(56,189,248,0.45);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
}
.home-hero__title {
  margin-top: 1.35rem;
  margin-bottom: 1.25rem;
  color: #f8fafc;
  letter-spacing: -0.01em;
}
.home-hero__lead {
  color: rgba(226,232,240,0.88);
  max-width: 40rem;
}
.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.home-hero__actions .btn {
  border-radius: 0.95rem;
  padding: 0.85rem 1.9rem;
  font-weight: 600;
}
body.home-page .btn-outline-light {
  color: #f8fafc;
  border-color: rgba(148,163,184,0.4);
  background: rgba(255,255,255,0.02);
}
body.home-page .btn-outline-light:hover,
body.home-page .btn-outline-light:focus {
  background: rgba(248,250,252,0.1);
  border-color: rgba(148,163,184,0.65);
  color: #ffffff;
}
.home-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.home-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.78);
  border: 1px solid rgba(148,163,184,0.25);
  color: rgba(226,232,240,0.88);
  font-size: 0.9rem;
}
.home-pill::before {
  content: "•";
  color: #38bdf8;
  font-size: 1.2rem;
}

.glass-card {
  position: relative;
  background: transparent;
  border: 1px solid rgba(148,163,184,0.22);
  border-radius: 1.25rem;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: 0 28px 80px rgba(8,47,73,0.38);
  backdrop-filter: blur(18px);
}
.home-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(226,232,240,0.78);
  background: rgba(56,189,248,0.1);
  border: 1px solid rgba(56,189,248,0.35);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  margin-bottom: 1rem;
}
.home-hero__list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: grid;
  gap: 0.75rem;
  color: rgba(226,232,240,0.88);
}
.home-hero__list li {
  position: relative;
  padding-left: 1.5rem;
}
.home-hero__list li::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  left: 0;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8, #22d3ee);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.2);
}
.home-hero__card-footer .btn {
  border-radius: 0.85rem;
  padding: 0.75rem 1.5rem;
}
.home-hero__card {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(226,232,240,0.75);
  background: rgba(56,189,248,0.08);
  border: 1px solid rgba(56,189,248,0.25);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  margin-bottom: 1.5rem;
}
.section-subtitle {
  color: rgba(226,232,240,0.8);
  max-width: 50rem;
  margin: 0 auto;
  font-size: clamp(1rem, 2.6vw, 1.1rem);
}
.home-section {
  position: relative;
  padding: clamp(4rem, 7vw, 6rem) 0;
}
.home-section__header {
  text-align: center;
  margin-bottom: clamp(2.2rem, 5vw, 3rem);
}
.home-section__header .section-title {
  color: #f8fafc !important;
  margin-bottom: 1rem;
}
.home-services { text-align: left; }
body.home-page #services {
  padding-top: clamp(4rem, 7vw, 6rem) !important;
  padding-bottom: clamp(4rem, 7vw, 6rem);
  margin: 0;
}
.home-services .row { row-gap: 2rem; }
.home-service-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  color: rgba(226,232,240,0.88);
}
.home-service-card__icon {
  font-size: 2.1rem;
  line-height: 1;
}
.home-service-card__title {
  color: #f8fafc;
  margin-bottom: 0.5rem;
}
.home-service-card__text {
  margin-bottom: 0.75rem;
}
.home-service-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}
.home-service-card__list li {
  position: relative;
  padding-left: 1.4rem;
}
.home-service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #22d3ee, #818cf8);
  box-shadow: 0 0 0 3px rgba(34,211,238,0.18);
}
.home-service-card .btn {
  align-self: flex-start;
  margin-top: 1.25rem;
  border-radius: 0.85rem;
  padding: 0.7rem 1.6rem;
  font-weight: 600;
}
.home-service-card .btn::after {
  content: " →";
  font-size: 1.1rem;
}

.home-about__card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: rgba(226,232,240,0.88);
}
.home-about__actions { margin-top: 0.5rem; }
.home-about__actions .btn {
  border-radius: 0.85rem;
  padding: 0.75rem 1.6rem;
}

.home-reviews {
  padding-top: clamp(3.5rem, 6vw, 5rem);
}
.home-review__wrapper {
  margin: clamp(2rem, 5vw, 3rem) auto 0;
  padding: clamp(2rem, 4vw, 2.75rem);
  background: rgba(15,23,42,0.72);
  border: 1px solid rgba(148,163,184,0.22);
  border-radius: 1.35rem;
  box-shadow: 0 24px 70px rgba(8,47,73,0.35);
}
.home-review__grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.home-review-card {
  background: transparent;
  border: 1px solid rgba(148,163,184,0.24);
  border-radius: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: rgba(226,232,240,0.9);
  position: relative;
  overflow: hidden;
}
.home-review-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.home-review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: radial-gradient(circle at 30% 30%, rgba(59,130,246,0.85), rgba(37,99,235,0.65));
  color: #f8fafc;
  text-transform: uppercase;
  font-size: 1rem;
}
.home-review-card__name {
  margin: 0;
  font-weight: 600;
  color: #f8fafc;
  font-size: 1rem;
}
.home-review-card__meta {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  color: rgba(226,232,240,0.7);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.home-review-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(59,130,246,0.35);
  color: #93c5fd;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.home-review-card__google {
  width: 16px;
  height: 16px;
  display: block;
}
.home-review-card__rating {
  display: inline-flex;
  gap: 0.35rem;
  position: relative;
  z-index: 1;
}
.home-review-card__star {
  display: inline-flex;
  width: 1.1rem;
  height: 1.1rem;
  align-items: center;
  justify-content: center;
  color: #facc15;
  text-shadow: 0 4px 10px rgba(250,204,21,0.3);
  font-size: 1.1rem;
}
.home-review-card__star::before {
  content: "★";
}
.home-review-card__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(226,232,240,0.85);
  position: relative;
  z-index: 1;
}
.home-review-card__body {
  display: grid;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}
.home-review-card__body[data-collapsible] {
  max-height: 10.5rem;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.home-review-card__body[data-collapsible]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3.25rem;
  background: linear-gradient(180deg, rgba(13,23,42,0) 0%, rgba(15,23,42,0.92) 72%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.home-review-card__body[data-collapsible].is-expanded {
  max-height: none;
}
.home-review-card__body[data-collapsible].is-expanded::after {
  opacity: 0;
}
.home-review-card__toggle {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  border: none;
  background: rgba(37,99,235,0.2);
  color: #bfdbfe;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.home-review-card__toggle:hover,
.home-review-card__toggle:focus {
  background: rgba(59,130,246,0.35);
  color: #ffffff;
  outline: none;
}
.home-review__note {
  margin: clamp(1.5rem, 3vw, 2rem) 0 0;
  font-size: 0.8rem;
  color: rgba(148,163,184,0.75);
  text-align: center;
}
.home-review__note time {
  color: rgba(226,232,240,0.88);
}

.home-contact__card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: rgba(226,232,240,0.88);
}
.home-contact__intro {
  margin-bottom: 0.75rem;
  color: rgba(226,232,240,0.82);
}
.home-contact__info {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}
.home-contact__info li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}
.home-contact__info span {
  font-size: 1.15rem;
}
.home-contact__info a {
  color: #38bdf8;
}
.home-contact__info a:hover,
.home-contact__info a:focus {
  color: #22d3ee;
}
.home-contact__form-intro {
  color: rgba(226,232,240,0.85);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}
body.home-page #contact .contact-form {
  background: linear-gradient(140deg, rgba(15,23,42,0.82), rgba(30,64,175,0.3)) !important;
  border: 1px solid rgba(148,163,184,0.25);
  box-shadow: 0 28px 80px rgba(8,47,73,0.35);
  color: #f8fafc !important;
}
body.home-page #contact .contact-form a,
body.home-page #contact .contact-form label,
body.home-page #contact .contact-form p {
  color: rgba(226,232,240,0.88) !important;
}
body.home-page #contact .contact-form .contact-field-input,
body.home-page #contact .contact-form .form-control,
body.home-page #contact .contact-form textarea.form-control {
  background: rgba(15,23,42,0.82);
  border: 1px solid rgba(148,163,184,0.3);
  color: #f8fafc;
}
body.home-page #contact .contact-form .contact-field-input::placeholder,
body.home-page #contact .contact-form textarea.form-control::placeholder {
  color: rgba(226,232,240,0.6);
}
body.home-page #contact .contact-form .contact-field-input:focus,
body.home-page #contact .contact-form .form-control:focus,
body.home-page #contact .contact-form textarea.form-control:focus {
  border-color: rgba(56,189,248,0.6);
  box-shadow: 0 0 0 0.2rem rgba(56,189,248,0.18);
  background: rgba(15,23,42,0.9);
  color: #f8fafc;
}
body.home-page #contact .contact-form .form-check-input {
  background-color: rgba(15,23,42,0.75);
  border-color: rgba(148,163,184,0.4);
}
body.home-page #contact .contact-form .form-check-input:checked {
  background-color: #22c55e;
  border-color: #22c55e;
}

.home-zones {
  padding-bottom: clamp(4.5rem, 7vw, 6.5rem);
}
.home-zones__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin-top: clamp(2rem, 4.5vw, 3rem);
}
.home-zone-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 1rem;
  border-radius: 1rem;
  background: rgba(15,23,42,0.72);
  border: 1px solid rgba(148,163,184,0.2);
  color: #f8fafc;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.home-zone-card:hover,
.home-zone-card:focus {
  transform: translateY(-4px);
  background: rgba(59,130,246,0.28);
  border-color: rgba(59,130,246,0.55);
  color: #ffffff;
}

@media (max-width: 991.98px) {
  .home-navbar .nav-link.btn { margin-left: 0; margin-top: 0.75rem; }
  .home-hero { min-height: 70vh; padding: clamp(6rem, 12vw, 7rem) 0 clamp(3rem, 10vw, 5rem); margin-top: clamp(4rem, 12vw, 6rem); }
  .home-hero::before { top: -28%; right: -25%; }
  .home-hero::after { bottom: -30%; left: -18%; }
  .home-hero__actions .btn { width: 100%; justify-content: center; }
  .home-hero__pills { gap: 0.6rem; }
  .home-pill { width: 100%; justify-content: center; }
  .home-service-card .btn { width: 100%; justify-content: center; }
  .home-review__wrapper { padding: clamp(1.5rem, 5vw, 2.25rem); }
}
@media (max-width: 767.98px) {
  .home-navbar .navbar-brand { font-size: 0.9rem; }
  .home-hero { padding: clamp(5.5rem, 14vw, 6.5rem) 0 clamp(3rem, 12vw, 4.5rem); }
  .home-hero__title { font-size: clamp(2.3rem, 10vw, 2.8rem); }
  .home-section { padding: clamp(3.25rem, 10vw, 4.5rem) 0; }
  .home-review__wrapper [class^="elfsight-app-"] { min-height: 360px; }
  .home-zone-card { padding: 0.9rem; font-size: 0.95rem; }
}
@media (max-width: 575.98px) {
  .home-navbar .navbar-brand { font-size: 0.85rem; }
  .home-hero { margin-top: clamp(4.5rem, 14vw, 5.5rem); }
  .home-hero__lead { font-size: 1rem; }
  .home-pill { font-size: 0.85rem; padding: 0.5rem 0.9rem; }
  .section-eyebrow { font-size: 0.7rem; padding: 0.4rem 0.85rem; }
  .home-zone-card { border-radius: 0.85rem; }
}
body { color: #fff !important; min-height: 100vh; display: flex; flex-direction: column; }
.hero { position: relative; min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-content { position: relative; z-index: 2; }
.btn-hero { transition: transform .2s ease, box-shadow .2s ease; }
.btn-hero:hover { transform: scale(1.05); box-shadow: 0 0 15px rgba(0,0,0,.3); }
/* Print-friendly overrides */
@media print {
  html, body { background: #ffffff !important; }
  body { color: #000000 !important; }
  /* Ensure main sections print in black on white */
  .content-section, .services-section, .blog-section, .about-section { background: #ffffff !important; color: #000000 !important; }
  .section-title, .about-text, .highlight, .text-white, .text-light, h1, h2, h3, h4, h5, p, li, a { color: #000000 !important; }
  /* Hide non-essential visuals for print */
  #particles-js, body > canvas, .navbar, footer, .map-container, iframe, .elfsight-app-486f61b6-2807-44a6-bd11-315f16d10e67, .contact-form, .btn { display: none !important; }
  /* Layout tweaks */
  .container { max-width: 100% !important; }
}
body > canvas { position: fixed !important; top: 0; left: 0; width: 100% !important; height: 100% !important; z-index: -1 !important; }

/* Shared iframe map embed class to avoid inline style */
.map-embed { border: 0; width: 100%; height: 400px; }

/* Mobile fixes: restore readable surfaces and colors on small screens */
@media (max-width: 767.98px) {
  /* Keep hero white text on dark background */
  #hero, #hero .display-4, #hero .lead { color: #fff !important; }
  /* Ensure content sections render on solid background with dark text */
  .content-section, .blog-section, .reviews-section {
    background: #ffffff !important;
    color: var(--color-text-dark) !important;
  }
  /* Section titles and about text readable on light bg */
  .section-title, .about-text, .highlight { color: var(--color-text-dark) !important; }
  /* Cards and forms keep white surface */
  .card { background: #ffffff !important; }
  .hero-services + .content-section {
    background: transparent !important;
    color: #f8f9fa !important;
  }
  .hero-services + .content-section h1,
  .hero-services + .content-section h2,
  .hero-services + .content-section h3,
  .hero-services + .content-section h4,
  .hero-services + .content-section p,
  .hero-services + .content-section li,
  .hero-services + .content-section a { color: #f8f9fa !important; }
}

@media (max-width: 767.98px) {
  .contact-section {
    background: transparent !important;
    color: #f8f9fa !important;
  }
  .contact-section .section-title,
  .contact-section p,
  .contact-section h4,
  .contact-section a {
    color: #f8f9fa !important;
  }
  .contact-form {
    background: rgba(15, 15, 22, 0.55) !important;
  }
}
