/* Service Detail Pages Styles */

/* Service Header */
.service-header {
  background: linear-gradient(rgba(0, 31, 63, 0.8), rgba(0, 31, 63, 0.8)),
    linear-gradient(45deg, #0047ab, #32cd32);
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 150px 0 80px;
}

.service-image-placeholder-webdev {
  width: 100%;
  height: 300px;
  background-image: url("../images/img/webdev.png");
  background-size: cover;
  background-position: center;
  margin-bottom: 30px;
  border-radius: 10px;
}

/* Service Content */
.service-content {
  padding: 80px 0;
}

.service-intro {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.service-intro p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-section {
  margin-bottom: 80px;
}

.service-section:last-child {
  margin-bottom: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.service-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-image-ai-wkfl {
  width: 100%;
  height: 450px;
  background-image: url(../images/img/ai-workflow.png);
  background-size: cover;
  border-radius: 10px;
}

.service-image-intel-doc {
  width: 100%;
  height: 450px;
  background-image: url(../images/img/intli-doc-procs.png);
  background-size: cover;
  border-radius: 10px;
}

.service-image-dec-auto {
  width: 100%;
  height: 450px;
  background-image: url(../images/img/ai-agt.png);
  background-size: cover;
  border-radius: 10px;
}

.service-image-proc-minin {
  width: 100%;
  height: 450px;
  background-image: url(../images/img/ai-process-minin.png);
  background-size: cover;
  border-radius: 10px;
}

.service-image-wkfl-int {
  width: 100%;
  height: 450px;
  background-image: url(../images/img/ai-wkflw-int.png);
  background-size: cover;
  border-radius: 10px;
}

.service-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.service-text p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.service-features li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--text-color);
}

.service-features li:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
}

/* Technologies Section */
.technologies-section {
  background-color: var(--light-color);
  padding: 80px 0;
  text-align: center;
}

.technologies-intro {
  max-width: 800px;
  margin: 0 auto 60px;
}

.technologies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
}

.technology-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.technology-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.technology-icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.technology-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.technology-card p {
  font-size: 14px;
  color: var(--text-color);
}

/* Portfolio Section */
.portfolio-section {
  padding: 80px 0;
  text-align: center;
}

.portfolio-intro {
  max-width: 800px;
  margin: 0 auto 60px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.portfolio-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-image {
  height: 295px;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.portfolio-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0047ab, #32cd32);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

.portfolio-icon {
  font-size: 48px;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 71, 171, 0.8), rgba(0, 123, 255, 0.8));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.1);
}

.portfolio-overlay h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #fff;
}

.portfolio-overlay p {
  color: #fff;
  margin-bottom: 20px;
  text-align: center;
}

/* Process Section */
.process-section {
  background-color: var(--light-color);
  padding: 80px 0;
}

.process-intro {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.process-step {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}

.process-step h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.process-step p {
  color: var(--text-color);
  line-height: 1.7;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
}

.faq-intro {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
  background-color: #fff;
  padding: 20px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question h3 {
  font-size: 18px;
  margin: 0;
  color: var(--dark-color);
}

.faq-question i {
  font-size: 16px;
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-answer {
  background-color: #fff;
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 20px 0;
  margin: 0;
  color: var(--text-color);
  line-height: 1.7;
}

.faq-item.active .faq-question {
  background-color: var(--primary-color);
}

.faq-item.active .faq-question h3,
.faq-item.active .faq-question i {
  color: #fff;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Service Detail Layout */
.service-detail {
  padding: 80px 0;
}

.service-detail-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}

.service-main {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-title {
  margin-bottom: 20px;
  color: var(--dark-color);
  font-size: 24px;
}

.service-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.service-list li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.service-list li:last-child {
  border-bottom: none;
}

.service-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  color: var(--dark-color);
  transition: all 0.3s ease;
}

.service-list a:hover {
  background-color: var(--primary-color);
  color: white;
}

.sidebar-cta {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}

.sidebar-cta h3 {
  margin-bottom: 15px;
  color: white;
}

.sidebar-cta p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

/*.service-feature {
  display: flex;
  margin-bottom: 30px;
  align-items: flex-start;
}*/

.service-feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: var(--transition);
}

.service-feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.service-feature-icon i {
  font-size: 24px;
  color: white;
}

.service-feature-text h3 {
  margin-bottom: 10px;
  color: var(--dark-color);
}

.service-feature-text p {
  color: var(--text-color);
  line-height: 1.7;
}

.service-image-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #0047ab, #32cd32);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  margin-bottom: 30px;
  border-radius: 10px;
}

.service-icon {
  font-size: 48px;
}

/* Footer Styles for Service Detail Pages */
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}

.footer-logo {
  display: flex;
  flex-direction: cebter;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.footer-logo p {
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
}

.footer-column h3 {
  color: var(--dark-color);
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: var(--primary-color);
}

.contact-info li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: var(--text-color);
}

.contact-info li i {
  margin-right: 10px;
  color: var(--primary-color);
  width: 16px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-color);
  margin: 0;
}

.web-dev-container {
  width: 100%;
  height: auto;
  background-color: rgba(250, 255, 255, 0.1);
  padding: 20px;
}
.web-dev-container p {
  padding: 10px;
}
.web-dev-container li {
  padding: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-image {
    order: 1;
  }

  .service-text {
    order: 2;
  }

  .service-detail-content {
    grid-template-columns: 1fr;
  }

  .service-sidebar {
    position: static;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .service-intro p,
  .service-text p {
    font-size: 16px;
  }

  .service-text h2 {
    font-size: 28px;
  }

  .process-step h3 {
    font-size: 20px;
  }

  .faq-question h3 {
    font-size: 16px;
  }

  .footer-content {
    gap: 25px;
  }

  .social-links a {
    width: 35px;
    height: 35px;
  }
}
