/* Services Page Specific Styles */

/* Services Banner */
.services-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1584438784894-089d6a62b8fa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1500&q=80');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
    position: relative;
}

.services-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
}

.services-banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.services-banner-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.services-banner-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Services Overview */
.services-overview {
  padding: 40px 20px;
      max-width: 1800px;
    margin: 0 auto;
    overflow-x: auto;
    padding-bottom: 20px;
}

.services-grid {
      max-width: 1200px;      /* Controls how wide the section gets */
  margin: 0 auto;         /* Centers the content */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.service-card {
   background: #fff;
  border-radius: 10px;
  padding: 20px;
  width: 250px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 40px;
    height: 40px;
    filter: invert(1);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
    font-size: 1.3rem;
}

.service-card p {
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Product-Specific Services */
.product-services {
    padding: 80px 0;
       max-width: 1600px;
    margin: 0 auto;
    overflow-x: auto;
    padding-bottom: 20px;
}

.accordion-container {
    margin-top: 50px;
}

.accordion-item {
   background: white;
  border-radius: 8px;
  padding: 16px;
  margin: 10px auto;
  max-width: 1050px;
  width: 90%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between; /* if you have icons/text on both ends */
  background: white;
  border-radius: 8px;
  padding: 16px;
  margin: 10px auto;        /* Center horizontally and add spacing vertically */
  max-width: 1000px;         /* Shrinks the card */
  width: 90%;               /* Responsive: takes up to 90% of screen on small devices */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.accordion-header:hover {
    background-color: var(--light-gray);
}

.product-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.product-icon img {
    width: 25px;
    height: 25px;
    filter: invert(1);
}

.accordion-header h3 {
    flex-grow: 1;
    font-size: 1.3rem;
    margin: 0;
    color: var(--dark-color);
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background-color: var(--light-color);
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
}

.service-list {
    padding: 30px;
}

.service-list-item {
    margin-bottom: 30px;
}

.service-list-item:last-child {
    margin-bottom: 0;
}

.service-list-item h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
    border-bottom: 1px solid var(--primary-light);
    padding-bottom: 10px;
}

.service-list-item p {
    margin-bottom: 15px;
    color: var(--gray-color);
    line-height: 1.7;
}

.service-list-item ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.service-list-item ul li {
    margin-bottom: 8px;
    color: var(--gray-color);
}

.service-cta {
    padding: 0 30px 30px;
    text-align: center;
}

/* Service Request Form */
.service-request-section {
    padding: 60px 20px;
  background-color: #fefefe; /* optional */
}

.service-request-container {
      max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.service-request-form {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: center;
}

.form-checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-checkbox label {
    margin-bottom: 0;
}

.btn-submit {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--dark-color);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.service-contact-info {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/  width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="1" fill="%23D4AF37" opacity="0.3"/></svg>');
    opacity: 0.2;
}

.service-contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
}

.service-contact-info p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
    position: relative;
}

.service-location {
    margin-bottom: 25px;
    position: relative;
}

.service-location h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.service-location p {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.service-hours {
    margin-top: 30px;
    position: relative;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.service-hours h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.service-hours p {
    margin-bottom: 5px;
    font-size: 0.95rem;
}
.service-image {
    flex: 1 1 50%;
    max-width: 50%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);

}
/* Responsive Styles */
@media (max-width: 992px) {
    .services-banner-content h1 {
        font-size: 2.5rem;
    }

    .service-request-container {
        flex-direction: column;
        gap: 40px;
    }

    .service-contact-info {
        order: -1;
    }
}

@media (max-width: 768px) {
    .services-banner {
        height: 280px;
    }

    .services-banner-content h1 {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .accordion-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-icon {
        margin-bottom: 10px;
    }

    /* Adjust service section layout */
    .service-section {
        flex-direction: column;
    }

    .service-list,
    .service-image {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .service-image {
        margin-top: 20px;
    }

    .service-image img {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .services-banner {
        height: 220px;
    }

    .services-banner-content h1 {
        font-size: 1.6rem;
    }

    .services-banner-content p {
        font-size: 1rem;
    }

    .service-list {
        padding: 15px;
    }

    .service-request-form {
        padding: 20px;
    }

    .service-contact-info {
        padding: 20px;
    }

    .accordion-header h3 {
        font-size: 1.1rem;
    }

    .accordion-icon {
        font-size: 1.2rem;
    }

    .btn-submit {
        font-size: 0.95rem;
        padding: 10px 20px;
    }

    .service-list-item h4 {
        font-size: 1rem;
    }

    .service-list-item p,
    .service-list-item ul li {
        font-size: 0.9rem;
    }
}
#scrollToTop {
  position: fixed;
  bottom: 30px;
  right: 80px; /* Changed from left to right */
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #000000, #444444);
  color: #ffffff;
  font-size: 26px;
  font-weight: bold;
  border-radius: 50%;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  display: none;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

#scrollToTop:hover {
  background: linear-gradient(135deg, #555555, #000000);
  transform: scale(1.1);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}



