.services-page .hero-section {
        position: relative;
    padding: 60px 0;
    background-color: black;
    color: var(--primary-color);
    text-align: center;
    overflow: hidden;
}

/* Add geometric pattern overlay */
.services-page .hero-section::before {
   content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(30deg, black 12%, transparent 12.5%, transparent 87%, black 87.5%, black),
        linear-gradient(150deg, black 12%, transparent 12.5%, transparent 87%, black 87.5%, black),
        linear-gradient(30deg, black 12%, transparent 12.5%, transparent 87%, black 87.5%, black),
        linear-gradient(150deg, black 12%, transparent 12.5%, transparent 87%, black 87.5%, black),
        linear-gradient(60deg, gold 25%, transparent 25.5%, transparent 75%, gold 75%, gold),
        linear-gradient(60deg, gold 25%, transparent 25.5%, transparent 75%, gold 75%, gold);
    background-size: 40px 70px;
    background-position: 0 0, 0 0, 20px 35px, 20px 35px, 0 0, 20px 35px;
    opacity: 0.1;
    animation: patternShift 20s linear infinite;
}

@keyframes patternShift {
    0% {
        background-position: 0 0, 0 0, 20px 35px, 20px 35px, 0 0, 20px 35px;
    }
    100% {
        background-position: 40px 70px, 40px 70px, 60px 105px, 60px 105px, 40px 70px, 60px 105px;
    }
}

.services-page .hero-section h1 {
    position: relative;
    font-size: 3rem;
    margin-bottom: 20px;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: gold;
}

.services-page .hero-section p {
    position: relative;
    font-size: 1.2rem;
    z-index: 1;
    opacity: 0.9;
}

.service-categories {
  padding: 80px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 30px;
}

.category {
  background: var(--accent-color);
  border: 1px solid var(--primary-color);
  border-radius: 15px;
  padding: 0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.category-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.9);
}

.category:hover .category-image {
  transform: scale(1.05);
  filter: brightness(1);
}

.category > div {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), black);
}

.category:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: gold;
}

.category h2 {
  color: gold;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 1.4rem;
  position: relative;
  padding-bottom: 15px;
}

.category h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: gold;
  transition: width 0.3s ease;
}

.category:hover h2::after {
  width: 100px;
}

.category h2 i {
  font-size: 1.5em;
  background: linear-gradient(45deg, gold, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s ease;
}

.category:hover h2 i {
  transform: scale(1.1) rotate(5deg);
}

.category ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.category ul li {
  color: #fff;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  opacity: 0.9;
}

.category ul li::before {
  content: '→';
  color: gold;
  margin-right: 10px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.category:hover ul li::before {
  opacity: 1;
  transform: translateX(0);
}

.category ul li:last-child {
  border-bottom: none;
}

.category ul li:hover {
  color: gold;
  transform: translateX(5px);
  opacity: 1;
}

.category .learn-more {
  color: gold;
  font-weight: bold;
  text-decoration: none;
  padding: 12px 25px;
  border: 2px solid gold;
  border-radius: 25px;
  transition: all 0.3s ease;
  text-align: center;
  margin: 20px 25px 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.category .learn-more::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: gold;
  transition: width 0.3s ease;
  z-index: -1;
}

.category:hover .learn-more::before {
  width: 100%;
}

.category:hover .learn-more {
  color: black;
}

/* Quote Card Styles */
.quote-card {
  background: linear-gradient(145deg, #000000, #1a1a1a);
  border: 2px solid gold;
}

.quote-content {
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-card h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  text-align: center;
}

.quote-card p {
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.quote-card ul {
  margin: 20px 0;
}

.quote-card ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  margin-bottom: 15px;
  font-size: 1rem;
}

.quote-card ul li i {
  color: gold;
  font-size: 1.2rem;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.quote-form select,
.quote-form input {
  padding: 12px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.quote-form select:focus,
.quote-form input:focus {
  border-color: gold;
  outline: none;
  background: rgba(255, 255, 255, 0.1);
}

.quote-form select option {
  background: #1a1a1a;
  color: #fff;
}

.quote-button {
  background: gold;
  color: black;
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.quote-button:hover {
  background: #ffd700;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.quote-button i {
  transition: transform 0.3s ease;
}

.quote-button:hover i {
  transform: translateX(5px);
}

@media only screen and (max-width: 768px) {
  .quote-card {
    margin-top: 20px;
  }
  
  .quote-content {
    padding: 20px;
  }
  
  .quote-card h2 {
    font-size: 1.5rem;
  }
  
  .quote-card p {
    font-size: 1rem;
  }
  
  .quote-form select,
  .quote-form input {
    padding: 10px;
  }
  
  .quote-button {
    padding: 12px;
    font-size: 1rem;
  }
}

@media only screen and (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr); /* Two categories in a row */
        gap: 30px; /* Adjust gap for better spacing */
        padding: 20px;
    }

    .category {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 728px) {
    .category-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 40px; /* Reduce gap for compact layout */
        justify-items: center; /* Center-align cards */
        padding: 15px;
    }

    .category {
        width: 100%; /* Ensure cards take full width */
        max-width: 450px; /* Limit maximum width for better appearance */
        padding: 20px; /* Adjust padding for smaller screens */
        text-align: center; /* Center-align content */
    }

    .category h2 {
        font-size: 1.5rem; /* Adjust heading size */
    }

    .category ul li {
        font-size: 0.9rem; /* Adjust font size for smaller screens */
    }

    .category .learn-more {
        padding: 8px 15px; /* Adjust button padding */
        font-size: 0.9rem; /* Adjust button font size */
    }

    .category-image {
        height: 200px;
    }

    .category > div {
        padding: 20px;
    }
}

@media only screen and (max-width: 480px) {
    .category {
        max-width: 98% !important; /* Ensure full width on small screens */
        margin-left: -20px !important; /* Ensure no margin on the right */
    }

    .category-image {
        height: 180px;
    }
    
}

@media only screen and (max-width: 728px) {
    .service-page {
        padding: 80px 15px 40px; /* Adjust padding for smaller screens */
    }

    .service-hero {
        text-align: center; /* Center-align hero content */
    }

    .service-hero h1 {
        font-size: 2rem; /* Reduce font size for smaller screens */
    }

    .service-hero p {
        font-size: 1rem; /* Adjust paragraph font size */
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr); /* Two cards in a row */
        gap: 20px; /* Adjust gap for compact layout */
    }

    .feature {
        text-align: center; /* Center-align feature content */
        padding: 15px; /* Adjust padding for compact layout */
    }

    .contact-form {
        padding: 20px; /* Adjust form padding */
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.9rem; /* Adjust input font size */
    }

    .contact-info h3 {
        font-size: 1.5rem; /* Reduce heading size */
    }

    .contact-info ul {
        gap: 10px; /* Adjust gap for compact layout */
    }

    .contact-info ul li {
        font-size: 0.9rem; /* Adjust font size for smaller screens */
    }
}

