/* ====================
   MAINTENANCE & SUPPORT PAGE STYLES
   ==================== */

/* Service Hero Section */
.service-hero {
  background: linear-gradient(135deg, #e74c3c 0%, #f59e0b 100%);
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.service-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.service-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

/* Service Details Section */
.service-details {
  padding: 80px 0;
  background: #f8f9fa;
}

.service-content {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-main {
  flex: 1;
}

.service-features {
  margin-top: 40px;
}

.service-features h3 {
  font-size: 2rem;
  font-weight: 600;
  color: #e74c3c;
  margin-bottom: 30px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.feature-item {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 2.5rem;
  color: #e74c3c;
  margin-bottom: 15px;
  display: block;
}

.feature-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 10px;
}

.feature-item p {
  color: #6c757d;
  line-height: 1.6;
}

/* Technologies Section */
.technologies {
  margin-top: 40px;
}

.technologies h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #e74c3c;
  margin-bottom: 20px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.tech-item {
  background: white;
  padding: 25px 15px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.tech-item:hover {
  transform: translateY(-3px);
}

.tech-item i {
  font-size: 2rem;
  color: #e74c3c;
  margin-bottom: 10px;
  display: block;
}

.tech-item span {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 500;
}

/* Service Sidebar */
.service-sidebar {
  flex: 1;
  max-width: 350px;
}

.sidebar-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.sidebar-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #e74c3c;
  margin-bottom: 20px;
}

.why-choose-list {
  margin-bottom: 20px;
}

.why-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: #6c757d;
}

.why-item i {
  color: #f39c12;
  margin-right: 12px;
  font-size: 1rem;
}

.related-services {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related-services a {
  color: #e74c3c;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.related-services a:hover {
  background-color: #f0f4f8;
  color: white;
}

/* Portfolio Section */
.portfolio-section {
  padding: 80px 0;
  background: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.portfolio-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(231, 76, 60, 0.9), rgba(231, 76, 60, 0.7));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-content {
  text-align: center;
  padding: 30px;
  color: white;
}

.portfolio-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.portfolio-content p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 20px;
}

.portfolio-cta {
  margin-top: 20px;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.faq-layout {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-column {
  flex: 1;
}

.faq-container {
  margin-bottom: 30px;
}

.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 20px 30px;
  background: #e74c3c;
  color: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #d63031;
}

.faq-question h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 30px;
  display: none;
  color: #6c757d;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

/* FAQ Form */
.faq-form {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faq-form h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #e74c3c;
  margin-bottom: 20px;
}

.faq-form p {
  color: #6c757d;
  margin-bottom: 30px;
}

.contact-info {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #e9ecef;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: #6c757d;
}

.contact-item i {
  color: #e74c3c;
  margin-right: 12px;
  font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #e74c3c 0%, #f59e0b 100%);
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .service-hero {
    padding: 60px 0;
  }
  
  .service-hero h1 {
    font-size: 2.5rem;
  }
  
  .service-hero p {
    font-size: 1.1rem;
  }
  
  .service-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .faq-layout {
    flex-direction: column;
    gap: 30px;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}


/* ====================
   SERVICE INTRO SECTION - Centered heading & description
   ==================== */

.service-intro {
  padding: 70px 20px;
  background: #fff;
  border-bottom: 1px solid #f0f0f5;
}

.service-intro .container {
  max-width: 860px;
  margin: 0 auto;
}

.intro-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.intro-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 25px;
  line-height: 1.3;
  position: relative;
  display: inline-block;
}

.intro-content h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
  margin: 16px auto 0 auto;
}

.intro-content p {
  font-size: 1.08rem;
  line-height: 1.85;
  color: #555;
  max-width: 720px;
  margin: 0 auto;
}


/* ====================
   FAQ SECTION - Clean white background (service pages only)
   ==================== */

.faq-section {
    background: #f8f9fa !important;
}

.faq-question {
    background: #ffffff !important;
    color: #1a1a2e !important;
    border-bottom: 1px solid #e9ecef !important;
}

.faq-question:hover {
    background: #f5f5f5 !important;
    color: #667eea !important;
}

.faq-question h3 {
    color: #1a1a2e !important;
}

.faq-question:hover h3 {
    color: #667eea !important;
}

.faq-question i {
    color: #667eea !important;
}

.faq-item {
    background: #ffffff !important;
    border: 1px solid #e9ecef !important;
    border-radius: 10px !important;
    margin-bottom: 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
    overflow: hidden !important;
}

.faq-item.active {
    border-color: #667eea !important;
}

.faq-answer {
    background: #fafafa !important;
    color: #555 !important;
}


/* ====================
   FAQ + FORM EQUAL SPLIT LAYOUT
   ==================== */

.faq-section .container,
.faq-section > .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-layout {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
    align-items: start !important;
}

.faq-column,
.faq-form {
    width: 100% !important;
    max-width: 100% !important;
    flex: unset !important;
}

.faq-container,
.faq-form {
    height: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .faq-layout {
        grid-template-columns: 1fr !important;
    }
}


/* ====================
   FAQ SECTION - Reset contact-container top margin so form starts at same level as FAQs
   ==================== */

.faq-layout .contact-container,
.faq-layout .faq-column .contact-container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}


/* ====================
   CTA SECTION - White buttons
   ==================== */

.cta-section .btn,
.cta-section .btn-primary,
.cta-section .btn-secondary,
.cta-section .cta-buttons a {
    background: #ffffff !important;
    color: #667eea !important;
    border: 2px solid #ffffff !important;
    font-weight: 700 !important;
}

.cta-section .btn:hover,
.cta-section .btn-primary:hover,
.cta-section .btn-secondary:hover,
.cta-section .cta-buttons a:hover {
    background: transparent !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15) !important;
}
