/* --- HERO SECTION --- */
.screen1 {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(248, 249, 250, 0.95), rgba(248, 249, 250, 0.95)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23e5e7eb' fill-opacity='0.4'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h4v-9H0v-1h4v-9H0v-1h4v-9H0v-1h4v-9H0v-1h4v-9H0v-1h4v-9H0v-1h4v-9H0v-1h4v-9H0v-1h4V0h1v4h9V0h1v4h9V0h1v4h9V0h1v4h9V0h1v4h9V0h1v4h9V0h1v4h9V0h1v4h9V0h1v4h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9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v5zm-9 10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9 10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm-9 10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9 10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm-9 10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9 10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm-9 10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: bg-pan 30s linear infinite;
    z-index: 1;
}
@keyframes bg-pan { 100% { background-position: 100px 100px; } }

.lead { z-index: 2; position: relative; }
.lead h1 { font-size: clamp(2.2rem, 5vw, 3rem); color: var(--ink); }
.lead p { font-size: 1.1rem; max-width: 70ch; margin: 1rem auto 0; color: var(--muted); }

/* --- SERVICES SECTION --- */
.services-section { padding: 80px 0; }
.service-category { margin-bottom: 60px; }
.category-title {
    font-size: 2rem;
    color: var(--ink);
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--brand);
    display: inline-block;
}

/* Accordion Styles */
.accordion-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}
.accordion-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}
.accordion-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--ink);
}
.accordion-icon {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff7a00'%3e%3cpath fill-rule='evenodd' d='M8 2a.75.75 0 01.75.75v4.5h4.5a.75.75 0 010 1.5h-4.5v4.5a.75.75 0 01-1.5 0v-4.5h-4.5a.75.75 0 010-1.5h4.5v-4.5A.75.75 0 018 2z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.accordion-body {
    padding: 0 25px 25px 25px;
    color: var(--muted);
}
.accordion-body p { margin-top: 0; }
.accordion-body ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.accordion-body ul li {
    position: relative;
    padding-left: 25px;
}
.accordion-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand);
    font-weight: bold;
}
.service-request-btn {
    margin-top: 15px;
    font-size: 0.9rem;
    padding: 10px 20px;
}

/* --- MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content {
    transform: scale(1);
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--muted);
    cursor: pointer;
}
.modal-content h2 { margin-top: 0; }
.modal-content .form-group label { font-size: 14px; }
.modal-content .form-control { padding: 10px; font-size: 15px; }

/* REVEAL ANIMATION */
[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}





/* Add new Buttons config */ 
/* ============================
   BUTTON POLISH (Overrides)
   ============================ */

/* Ensure consistent layout inside button and anchor */
.button-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button-group .btn {
  display: inline-flex;              /* align text perfectly */
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;                      /* uniform height */
  min-width: 180px;                  /* same visual width */
  padding: 0 22px;                   /* height handled above */
  line-height: 1;                    /* no extra vertical wobble */
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Accessible focus style for keyboard users */
.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

/* --- Sexy, professional primary --- */
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, #ff9a3c 100%);
  color: #fff;
  border: none;
  box-shadow: 0 10px 24px rgba(255, 122, 0, .28);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(255, 122, 0, .35);
  filter: saturate(1.02);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(255, 122, 0, .25);
}

/* --- Clean, quiet secondary --- */
.btn-secondary {
  background-color: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.btn-secondary:hover {
  border-color: rgba(255, 122, 0, .6);
  background-color: #f9fafb;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.btn-secondary:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(0,0,0,.05);
}
/* Force perfect vertical alignment for all buttons */
.button-group .btn {
  display: inline-flex;          /* flex container */
  align-items: center;           /* center text vertically */
  justify-content: center;       /* keep text centered horizontally */
  line-height: 1;                /* no extra text spacing */
  height: 48px;                  /* same height */
  min-width: 160px;              /* optional: same width look */
  padding: 0 22px;               /* padding only on sides */
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
}
/* Normalize anchors and buttons inside .button-group */
.button-group .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  height: 48px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  vertical-align: middle;   /* 🔑 Align baseline across <a> and <button> */
  text-align: center;
}

/* Remove default browser button text offsets */
.button-group button.btn {
  font-family: inherit;     /* reset button font */
  background: none;         /* background handled by .btn classes */
  border: none;             /* border handled by .btn classes */
  appearance: none;         /* strip browser styling */
}



/* === FINAL: Services buttons alignment (forced) === */
:root { --btn-h: 48px; }

.services-section .button-group {
  display: flex !important;
  align-items: center !important;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 !important;
  padding: 0 !important;
}

.services-section .button-group > a.btn,
.services-section .button-group > button.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  height: var(--btn-h) !important;
  padding: 0 24px !important;      /* vertical size comes from height */
  line-height: 1 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  font-family: inherit !important;

  border-radius: 12px !important;
  box-sizing: border-box !important;
  border-width: 1px !important;    /* SAME border thickness */
  border-style: solid !important;
  border-color: transparent !important;

  margin: 0 !important;
  text-decoration: none !important;
  vertical-align: middle !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  cursor: pointer !important;
}

/* Primary (sexy) */
.services-section .button-group > .btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, #ff9a3c 100%) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 10px 24px rgba(255, 122, 0, .28) !important;
  transition: transform .18s, box-shadow .18s, filter .18s !important;
}

/* Secondary (clean) */
.services-section .button-group > .btn-secondary {
  background: #fff !important;
  color: var(--ink) !important;
  border-color: var(--border) !important;
  box-shadow: 0 1px 0 rgba(0,0,0,.02) !important;
  transition: border-color .18s, transform .18s, box-shadow .18s, background-color .18s !important;
}

/* Optional: remove lift if you don't want any perceived misalignment on hover */
.services-section .button-group > .btn-primary:hover,
.services-section .button-group > .btn-secondary:hover {
  transform: none !important;       /* set to 'translateY(-2px)' if you prefer lift */
}
