/* =========================================
   Services Page Stylesheet (services.css)
   ========================================= */

/* --- Variables & Global Reset --- */
:root {
  --primary-color: #000000;
  --secondary-color: #ff6600;
  --text-color: #333;
  --white-color: #fff;
  --bg-color: #f8f9fa;
  --shadow-light: 0 4px 12px rgba(0,0,0,.1);
  --shadow-heavy: 0 8px 24px rgba(0,0,0,.2);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  background: var(--white-color);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.3; }
section { padding: 5rem 5%; }
h2 { text-align: center; color: var(--primary-color); margin-bottom: 3rem; font-size: clamp(2rem, 5vw, 2.5rem); }

/* --- Preloader, Header, Footer (Consistent Styling) --- */
.preloader {
  position: fixed; inset: 0; background: #fff;
  display: grid; place-items: center; z-index: 9999;
  opacity: 1; visibility: visible;
  transition: opacity .4s ease, visibility .4s ease;
}
.preloader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-content img { width: 150px; height: auto; }
.header {
  position: sticky; top: 0; z-index: 999;
  background: #fff; box-shadow: var(--shadow-light);
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 5%;
}
.logo { display: flex; align-items: center; gap: .6rem; }
.logo img { height: 40px; }
.logo span { font-weight: 700; color: var(--primary-color); font-size: 1.25rem; }
.nav-menu ul { display: flex; gap: 2rem; list-style: none; }
.nav-menu a {
  text-decoration: none; color: var(--primary-color); font-weight: 600;
  font-size: 1rem; transition: color 0.3s;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--secondary-color); }
.hamburger-menu, .close-menu { display: none; background: none; border: none; cursor: pointer; }
footer {
  background: var(--primary-color); color: rgba(255,255,255,0.8);
  text-align: center; padding: 3rem 5% 2rem;
}
.footer-contact h3 { color: var(--white-color); margin-bottom: 1.5rem; font-size: 1.5rem; }
.footer-contact p { margin: .75rem 0; }
.footer-contact i { color: var(--secondary-color); margin-right: 0.5rem; }
.copyright { border-top: 1px solid #444; padding-top: 2rem; margin-top: 2rem; }

/* --- Common UI Elements --- */
.call-now-btn {
  background: var(--secondary-color); color: #fff; border: none;
  padding: .8rem 1.5rem; border-radius: 50px; font-weight: 600;
  cursor: pointer; transition: background .3s, transform .3s;
  text-transform: uppercase; text-decoration: none; display: inline-block;
}
.call-now-btn:hover { background: #e65500; transform: scale(1.05); }

/* --- Animations --- */
.fade-in, .reveal-up { opacity: 0; transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal-up { transform: translateY(40px); }
.visible { opacity: 1; transform: translate(0, 0) !important; }

/* --- SERVICES PAGE SPECIFIC SECTIONS --- */

/* Page Intro */
.page-intro { text-align: center; padding: 5rem 5% 3rem; background: var(--bg-color); }
.page-intro h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 900; color: var(--primary-color); }
.page-intro p { max-width: 720px; margin: 1.5rem auto 0; font-size: 1.1rem; }

/* Service Grid */
.repair-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.service-type-card {
  background: #fff; padding: 2rem; border-radius: 12px;
  text-align: center; box-shadow: var(--shadow-light);
  transition: .4s;
}
.service-type-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-heavy); }
.service-type-card img { height: 100px; margin: 0 auto 1.5rem; }

/* USP Section */
.usp-section { background: var(--bg-color); }
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 2rem; }
.usp-item { text-align: center; padding: 1rem; }
.usp-item i { font-size: 3rem; color: var(--secondary-color); margin-bottom: 1rem; }
.usp-item h3 { margin-bottom: 0.5rem; }

/* Pricing Section */
.pricing-section { background: #f0f3f8; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 2rem; align-items: stretch; }
.pricing-card {
  background: var(--white-color); padding: 2.5rem 2rem; border-radius: 12px;
  text-align: center; box-shadow: var(--shadow-light); transition: .4s;
  display: flex; flex-direction: column; position: relative;
}
.pricing-card:hover { transform: scale(1.05); box-shadow: var(--shadow-heavy); z-index: 10; }
.pricing-card.highlight { border: 2px solid var(--secondary-color); background: #fff9f5; }
.highlight-tag {
  position: absolute; top: 1rem; right: 1rem; background: var(--secondary-color);
  color: var(--white-color); padding: 5px 15px; border-radius: 20px;
  font-weight: 600; font-size: 0.8rem;
}
.price { font-size: 2.5rem; color: var(--secondary-color); font-weight: 700; margin: 1rem 0; }
.price small { font-size: 1rem; color: var(--text-color); font-weight: 400; display: block; }
.pricing-card ul { list-style: none; text-align: left; margin: 1.5rem 0; flex-grow: 1; }
.pricing-card li { margin: .6rem 0; display: flex; align-items: center; gap: 0.5rem; }
.pricing-card li i { color: var(--secondary-color); }
.pricing-card li.disabled { color: #aaa; }
.pricing-card li.disabled i { color: #ccc; }

/* FAQ Section */
.accordion-container { max-width: 800px; margin: 2rem auto 0; text-align: left;}
.accordion-item { border-bottom: 1px solid #ddd; margin-bottom: 1rem; }
.accordion-header {
  padding: 1rem; cursor: pointer; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
  transition: background-color 0.3s;
}
.accordion-header:hover { background-color: #f7f7f7; }
.accordion-header i { transition: transform .3s ease; }
.accordion-header.active i { transform: rotate(180deg); }
.accordion-content {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease-out;
}
.accordion-content p { padding: 0 1rem 1.5rem; }

/* CTA Banner */
.cta-banner {
  padding: 4rem 5%; text-align: center;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../image/technician-tools.jpg') center/cover no-repeat;
  color: #fff; border-radius: 15px; margin: 0 5%;
}
.cta-banner h2 { margin-bottom: 1rem; color: var(--white-color); }
.cta-banner p { max-width: 600px; margin: 0 auto 1.5rem; }

/* --- RESPONSIVE STYLES (FROM LEFT MENU) --- */
@media(max-width: 768px) {
  section { padding: 4rem 5%; }
  .header { padding: 1rem 5%; }
  .hamburger-menu { display: block; font-size: 1.8rem; color: var(--primary-color); z-index: 1002; }
  .nav-menu {
    position: fixed; top: 0; left: -100%;
    width: 260px; height: 100%; background: var(--primary-color);
    padding: 2rem; box-shadow: 2px 0 15px rgba(0,0,0,.3);
    transition: left .4s cubic-bezier(0.68, -0.55, 0.27, 1.55); z-index: 1001;
    flex-direction: column; justify-content: center; align-items: center;
  }
  .nav-menu.active { left: 0; }
  .nav-menu ul { flex-direction: column; text-align: center; gap: 2.5rem; }
  .nav-menu a { color: #fff; font-size: 1.2rem; }
  .nav-menu a.active { color: var(--secondary-color); }
  .close-menu {
    display: block; color: #fff; position: absolute;
    top: 1rem; right: 1rem; font-size: 2rem;
  }
  .cta-banner { margin: 0; border-radius: 0; }
}

@media(max-width: 480px) {
  .logo span { font-size: 1rem; }
  .logo img { height: 35px; }
  .pricing-grid { grid-template-columns: 1fr; }
}