/*
Theme Name: El Kraft Elektro
Description: A modern and professional WordPress theme for El Kraft Elektro AS - electrical contractors in Oslo
Author: Custom Theme
Version: 1.0
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  color: #1a365d;
}

h2 {
  font-size: 2.5rem;
  color: #2d3748;
}

h3 {
  font-size: 2rem;
  color: #2d3748;
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Color Scheme - Professional electrical theme */
:root {
  --primary-color: #1a365d;
  --secondary-color: #2b77ad;
  --accent-color: #f59e0b;
  --danger-color: #dc2626;
  --success-color: #059669;
  --light-gray: #f7fafc;
  --medium-gray: #e2e8f0;
  --dark-gray: #4a5568;
  --white: #ffffff;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  padding-top: 15px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.logo .highlight {
  color: var(--accent-color);
}

/* Navigation */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.main-nav a:hover,
.main-nav a.current {
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary-color);
  z-index: 1000;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block !important;
    color: var(--primary-color);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
  }

  .main-nav .nav-menu {
    display: none;
    position: fixed;
    top: 80px; /* Adjust based on header height */
    left: 0;
    right: 0;
    width: 100vw;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    padding: 0;
    gap: 0;
    z-index: 999;
    margin: 0;
    border-top: 1px solid var(--light-gray);
  }

  .main-nav .nav-menu.active {
    display: flex;
  }

  .main-nav {
    position: relative;
  }

  .main-nav .nav-menu a {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid var(--light-gray);
    text-align: center;
    width: 100%;
    display: block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
  }

  .main-nav .nav-menu a:hover,
  .main-nav .nav-menu a.current {
    background-color: var(--light-gray);
    color: var(--accent-color);
  }

  .main-nav .nav-menu li {
    margin: 0;
    width: 100%;
    list-style: none;
  }

  .main-nav .nav-menu li:last-child a {
    border-bottom: none;
  }

  /* Fix homepage layout issues on mobile */
  .container > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Services grid mobile layout */
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Problem solving grid mobile layout */
  section
    div[style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"] {
    grid-template-columns: 1fr !important;
  }

  /* Why choose us section mobile layout */
  section
    div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"] {
    grid-template-columns: 1fr !important;
  }

  /* Header contact section mobile adjustments */
  .header-contact {
    flex-direction: column;
    gap: 0.5rem;
    display: none; /* Hide contact info on mobile to save space */
  }

  .header-content {
    padding: 1rem 0;
  }

  .phone-number {
    font-size: 0.9rem;
  }

  /* Logo adjustments */
  .logo {
    font-size: 1.3rem !important;
  }

  /* Page header adjustments */
  .page-header,
  .service-hero {
    padding: 3rem 0 !important;
  }

  .page-header h1,
  .service-hero h1 {
    font-size: 2rem !important;
    margin-bottom: 1rem !important;
  }

  .hero-subtitle {
    font-size: 1rem !important;
    margin-bottom: 1rem !important;
  }

  /* Container padding adjustments */
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Services overview grid - make mobile friendly */
  .services-overview-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .services-overview-grid[style*="minmax(350px, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Contact page specific fixes */
  .contact-main-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .contact-form-section {
    order: 1;
  }

  .contact-details-section {
    order: 2;
  }

  /* Contact info cards mobile */
  .contact-info-grid {
    gap: 1rem !important;
  }

  .contact-info-grid > div {
    padding: 1.5rem 1rem !important;
  }

  /* Generic contact grid fixes with higher specificity */
  .container div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Force contact sections to stack */
  .container .contact-main-grid[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Contact form section full width */
  .contact-form-section {
    width: 100% !important;
    max-width: 100% !important;
  }

  .contact-details-section {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Contact sections mobile padding */
  .service-areas {
    padding: 2rem 1rem !important;
    margin-bottom: 2rem !important;
  }

  .response-time {
    padding: 2rem 1rem !important;
  }

  /* About page grid fixes */
  .about-intro div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    text-align: center;
  }

  /* Service detail pages - 2fr 1fr grids */
  div[style*="grid-template-columns: 2fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Service benefits grid */
  .service-benefits {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* All generic 2-column grids */
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Typography adjustments for mobile */
  h2 {
    font-size: 1.8rem !important;
  }

  h3 {
    font-size: 1.4rem !important;
  }

  h4 {
    font-size: 1.2rem !important;
  }

  /* Button adjustments */
  .btn {
    font-size: 0.9rem !important;
    padding: 0.8rem 1.5rem !important;
  }

  /* Service cards adjustments */
  .service-overview-card {
    padding: 1.5rem !important;
  }

  .service-overview-card h3 {
    font-size: 1.3rem !important;
  }

  /* Section padding adjustments */
  section {
    padding: 3rem 0 !important;
  }

  /* Illustrations and images */
  .service-illustration,
  .service-main-illustration {
    margin-bottom: 1.5rem;
  }

  .about-image {
    height: 200px !important;
    margin-top: 2rem;
  }
}

/* Contact Button */
.header-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-btn {
  background: var(--accent-color);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background: #d97706;
  transform: translateY(-1px);
}

.phone-number {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

/* Main Content */
.main-content {
  margin-top: 100px;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: var(--white);
  padding: 6rem 0;
  text-align: center;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-color);
  color: var(--white);
}

.btn-primary:hover {
  background: #d97706;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
}

/* Services Section */
.services-section {
  padding: 6rem 0;
  background: var(--light-gray);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card:hover {
  transform: translateY(-5px);
  text-decoration: none;
  color: inherit;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--white);
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* About Section */
.about-section {
  padding: 6rem 0;
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 2rem;
}

.about-features {
  list-style: none;
  margin-top: 2rem;
}

.about-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 2rem;
}

.about-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
}

.about-image {
  background: var(--medium-gray);
  height: 400px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-gray);
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background: var(--primary-color);
  color: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  color: var(--white);
  margin-bottom: 2rem;
}

.contact-details {
  list-style: none;
}

.contact-details li {
  padding: 1rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-details .icon,
.contact-details .contact-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  background: #1a202c;
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  padding: 0.25rem 0;
}

.footer-section a {
  color: #cbd5e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid #2d3748;
  padding-top: 1rem;
  text-align: center;
  color: #a0aec0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.5rem 0;
  }

  .main-nav .nav-menu {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    width: 100%;
    order: 3;
  }

  .header-contact {
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    order: 2;
    flex-wrap: wrap;
    justify-content: center;
  }

  .phone-number {
    font-size: 0.9rem;
  }

  .contact-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .container {
    padding: 0 15px;
  }

  .service-detail > div {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 1.5rem !important;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .contact-form-section,
  .contact-details-section {
    grid-column: 1;
  }

  /* Better mobile spacing */
  .hero-section {
    padding: 4rem 0;
  }

  .services-section,
  .about-section,
  .contact-section {
    padding: 4rem 0;
  }

  /* Mobile-friendly contact details */
  .contact-details li {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .contact-icon {
    margin: 0 auto;
  }

  /* Mobile contact form */
  .contact-form form > div:first-child {
    grid-template-columns: 1fr !important;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea,
  .contact-form button {
    width: 100%;
    box-sizing: border-box;
  }

  /* Mobile service area grid */
  .service-area-grid {
    grid-template-columns: 1fr !important;
  }

  /* Service overview mobile */
  .services-overview-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .service-overview-card {
    padding: 1.5rem !important;
  }

  .service-features {
    justify-content: center !important;
  }

  /* Individual service pages mobile */
  .service-hero {
    padding: 4rem 0 !important;
  }

  .service-main-illustration {
    width: 100px !important;
    height: 100px !important;
  }

  .service-content > .container > div:first-child {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .service-benefits {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .service-card-footer {
    flex-direction: column !important;
    gap: 1rem !important;
    text-align: center !important;
  }

  /* Additional mobile improvements for all pages */

  /* Typography improvements */
  h1 {
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
  }

  h2 {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
  }

  h3 {
    font-size: 1.4rem !important;
    line-height: 1.3 !important;
  }

  /* General grid layout fixes */
  div[style*="grid-template-columns: 2fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  div[style*="grid-template-columns: 1fr 2fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Content padding adjustments */
  div[style*="padding: 4rem 0"] {
    padding: 2rem 0 !important;
  }

  div[style*="padding: 6rem 0"] {
    padding: 3rem 0 !important;
  }

  /* Service illustration adjustments */
  .service-illustration,
  .service-main-illustration {
    margin-bottom: 1rem;
  }

  /* About page specific */
  .about-image {
    height: 200px !important;
    margin: 2rem 0 0 0 !important;
  }

  /* About page mobile optimizations */
  .about-intro-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    text-align: center;
  }

  .team-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* About page sections mobile padding */
  .about-intro {
    margin-bottom: 2rem !important;
  }

  .company-values {
    padding: 2rem 1rem !important;
    margin-bottom: 2rem !important;
  }

  .team-section {
    margin-bottom: 2rem !important;
  }

  /* Value icons mobile sizing */
  .value-icon {
    width: 60px !important;
    height: 60px !important;
    font-size: 1.5rem !important;
  }

  /* Service overview cards */
  .service-overview-card {
    text-align: center;
  }

  /* Process steps mobile layout */
  div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  /* Feature benefits mobile */
  div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* CTA sections mobile */
  div[style*="text-align: center;"][style*="padding: 3rem"] {
    padding: 2rem 1rem !important;
  }

  /* CTA button containers - fix cluttered buttons */
  div[style*="margin-top: 2rem;"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: center !important;
  }

  div[style*="margin-top: 2rem;"] .btn {
    margin-right: 0 !important;
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 280px !important;
  }

  /* All content boxes and cards */
  div[style*="padding: 2rem;"],
  div[style*="padding: 3rem;"] {
    padding: 1.5rem !important;
  }
}

/* Service Card Footer Improvements */
.service-card-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--light-gray);
}

.btn.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  border-radius: 6px;
  background: var(--accent-color);
  color: var(--white);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn.btn-sm:hover {
  background: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.service-overview-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-overview-card p {
  flex-grow: 1;
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.hidden {
  display: none;
}

/* WordPress specific styles */
.wp-block-image {
  margin: 2rem 0;
}

.aligncenter {
  text-align: center;
}

.alignleft {
  float: left;
  margin-right: 1rem;
}

.alignright {
  float: right;
  margin-left: 1rem;
}

/* Additional responsive grid classes */
.service-area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .service-area-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Contact form styling */
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
}

.contact-form button:hover {
  background: #d97706 !important;
}

/* Services Overview Styling */
.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.service-overview-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--medium-gray);
}

.service-overview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-illustration {
  text-align: center;
  margin-bottom: 1.5rem;
}

.service-overview-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-overview-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-overview-card h3 a:hover {
  color: var(--accent-color);
}

.service-overview-card p {
  color: var(--dark-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-features span {
  background: var(--light-gray);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 0;
  opacity: 0.9;
}

.process-step {
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: scale(1.1);
}

/* Individual Service Page Styling */
.service-hero {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: var(--white);
  padding: 6rem 0;
  margin-top: 80px;
}

.service-hero h1,
.page-header h1 {
  color: var(--white) !important;
}

.service-content {
  padding: 4rem 0;
}

.service-header {
  text-align: center;
  margin-bottom: 4rem;
}

.service-main-illustration {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.benefit-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Responsive Styles for New Service Pages */
@media (max-width: 768px) {
  /* Service content mobile layout */
  .service-main-content {
    display: block !important;
    gap: 0 !important;
  }
  
  .service-main-content > div:last-child {
    margin-top: 3rem;
  }

  /* Grid layouts - make single column on mobile */
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"],
  div[style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"],
  div[style*="grid-template-columns: repeat(auto-fit, minmax(250px, 1fr))"],
  div[style*="grid-template-columns: repeat(auto-fit, minmax(350px, 1fr))"],
  .explanations-grid,
  .service-features-grid {
    display: block !important;
  }

  div[style*="grid-template-columns: 1fr 1fr"] > div:not(:last-child),
  div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"] > div:not(:last-child),
  div[style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"] > div:not(:last-child),
  div[style*="grid-template-columns: repeat(auto-fit, minmax(250px, 1fr))"] > div:not(:last-child),
  div[style*="grid-template-columns: repeat(auto-fit, minmax(350px, 1fr))"] > div:not(:last-child),
  .explanations-grid > div:not(:last-child),
  .service-features-grid > div:not(:last-child) {
    margin-bottom: 2rem;
  }

  /* Price table mobile styles */
  .price-table-container {
    border-radius: 0 0 12px 12px;
    -webkit-overflow-scrolling: touch;
  }

  .price-table {
    font-size: 0.9rem;
  }

  .price-table th,
  .price-table td {
    padding: 1rem 0.75rem !important;
    white-space: nowrap;
  }

  .price-table th:first-child,
  .price-table td:first-child {
    min-width: 200px;
  }

  /* Button spacing on mobile */
  div[style*="margin-right: 1rem"],
  div[style*="margin-top: 2rem"] {
    display: block !important;
    text-align: center;
  }

  div[style*="margin-right: 1rem"] .btn,
  div[style*="margin-top: 2rem"] .btn {
    margin-right: 0 !important;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 300px;
    display: inline-block;
  }

  /* Sidebar contact cards on mobile */
  div[style*="width: 100%; margin-bottom: 1rem;"] {
    margin-bottom: 1rem !important;
  }

  /* Contact button links */
  a[href^="tel:"] {
    text-decoration: none;
    white-space: nowrap;
  }

  /* Reduce padding on mobile */
  div[style*="padding: 3rem"] {
    padding: 2rem 1rem !important;
  }

  div[style*="padding: 2rem"] {
    padding: 1.5rem 1rem !important;
  }

  /* Installation process steps */
  div[style*="text-align: center"] > div[style*="width: 50px; height: 50px"] {
    margin: 0 auto 1rem;
  }

  /* Hero section mobile adjustments */
  .service-hero {
    padding: 4rem 0 3rem;
  }

  .service-hero h1 {
    font-size: 2.2rem;
  }

  .service-hero .hero-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  /* Typography scaling for very small screens */
  .service-hero h1 {
    font-size: 1.8rem !important;
  }

  .service-content h2 {
    font-size: 1.6rem !important;
  }

  .service-content h3 {
    font-size: 1.4rem !important;
  }

  .service-content h4 {
    font-size: 1.2rem !important;
  }

  /* Price table very small screens */
  .price-table {
    font-size: 0.8rem;
  }

  .price-table th,
  .price-table td {
    padding: 0.75rem 0.5rem !important;
  }

  .price-table th:first-child,
  .price-table td:first-child {
    min-width: 180px;
  }

  /* Further reduce padding */
  div[style*="padding: 3rem"] {
    padding: 1.5rem 0.75rem !important;
  }

  div[style*="padding: 2rem"] {
    padding: 1rem 0.75rem !important;
  }

  /* Container padding on very small screens */
  .container {
    padding: 0 15px;
  }

  /* Hero section very small screens */
  .service-hero {
    padding: 3rem 0 2rem;
  }

  .service-hero h1 {
    font-size: 1.6rem;
  }

  .service-hero .hero-subtitle {
    font-size: 1rem;
  }

  .service-main-illustration {
    width: 80px !important;
    height: 80px !important;
  }

  .service-main-illustration svg {
    width: 60px;
    height: 60px;
  }
}

/* Ensure text remains readable on all screen sizes */
@media (max-width: 768px) {
  .service-content p,
  .service-content li {
    font-size: 1rem;
    line-height: 1.6;
  }

  .service-content ul {
    padding-left: 1.2rem;
  }
}
