.service-page {
  padding: 80px 0;
  background: #f8f9fa;
}

.service-page .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  background-color: #ffffff;
}

.service-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0px;
  margin-top: 20px;
  background-color: #ffffff;
}

.service-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
  margin-top: 55px !important;
}

.sidebar-line {
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #e5e7eb;
  transition: background 0.3s ease;
  z-index: 1;
}

.service-menu {
  position: relative;
  padding-top: 15px;
}

.menu-item {
  display: block;
  padding: 12px 16px 12px 40px;
  color: #666;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
  margin-bottom: 6px;
  position: relative;
  transition: all 0.3s ease;
  line-height: 1.3;
}

.menu-item:hover {
  color: #012970;
}

.menu-item.active {
  color: #012970;
  font-weight: 600;
}

.menu-item.active::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #fcb614;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 2px white;
}

.service-content {
  width: 100%;
  margin-top: 15px;
}

.content-section {
  scroll-margin-top: 100px;
  padding: 20px 0;
  border-bottom: 1px solid #f1f3f5;
}

.content-section:last-child {
  border-bottom: none;
  padding-bottom: 20px;
}

/* Advantages - Square Cards */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin: 30px 0 0 0;
}

.advantage-item {
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
  padding: 25px 20px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  border: 2px solid #e8f0fe;
  transition: all 0.3s ease;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-height: 220px;
}

.advantage-item:hover {
  transform: translateY(-5px);
  border-color: #fcb614;
  box-shadow: 0 15px 30px rgba(252, 182, 20, 0.15);
}

.advantage-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #fcb614, #f0a700);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(252, 182, 20, 0.25);
}

.advantage-icon i {
  font-size: 1.3rem;
  color: white;
}

.advantage-item h4 {
  color: #012970;
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
  line-height: 1.3;
}

.advantage-item p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Features - Circle Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 30px 0 0 15px;
}

.feature-card {
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  border-top: 4px solid #e3f2fd;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(252, 182, 20, 0.08) 0%,
    transparent 50%
  );
  z-index: 0;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-top-color: #fcb614;
}

.feature-card i {
  font-size: 2.2rem;
  color: #fcb614;
  position: relative;
  z-index: 2;
  display: block;
  width: 60px;
  height: 60px;
  background: rgba(252, 182, 20, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.feature-card h4 {
  color: #012970;
  font-size: 1.15rem;
  margin-bottom: 12px;
  font-weight: 600;
  position: relative;
  z-index: 2;
  text-align: center;
}

.feature-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
  margin: 0;
}

.advice-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-top: 40px;
}

.advice-image {
  background: linear-gradient(135deg, #012970 0%, #0148a3 100%);
  height: 220px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advice-image i {
  font-size: 4rem;
  color: #fcb614;
}

.advice-content p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #555;
}

.advice-content ul {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.advice-content li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: #555;
  font-size: 0.98rem;
  line-height: 1.6;
}

.advice-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 11px;
  color: #fcb614;
  font-size: 1.1rem;
  font-weight: bold;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #fcb614, #f0a700);
  color: #012970;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  margin: 15px 0;
  box-shadow: 0 6px 20px rgba(252, 182, 20, 0.3);
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(252, 182, 20, 0.4);
}

.faq-container {
  margin: 35px 0px 35px 15px;
}

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  border-left: 4px solid #f1f3f5;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-left-color: #fcb614;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.faq-header {
  padding: 22px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-header h4 {
  color: #012970;
  font-size: 1.05rem;
  margin: 0;
  font-weight: 600;
  flex: 1;
}

.faq-header i {
  font-size: 1.1rem;
  color: #999;
  transition: all 0.3s ease;
}

.faq-item.active .faq-header i {
  color: #fcb614;
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #fafbfc;
}

.faq-item.active .faq-content {
  max-height: 150px;
}

.faq-content p {
  padding: 0 25px 22px 25px;
  margin: 0;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 8px;
}

.quick-contact {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: white;
  padding: 25px 28px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  margin: 35px 0 35px 15px;
  gap: 20px;
  border-top: 4px solid #fcb614;
}

.quick-item {
  flex: 1;
  text-align: center;
}

.quick-item h4 {
  color: #012970;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 2px solid #fcb614;
  display: inline-block;
}

.quick-item p {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.4;
  margin: 0;
  font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .service-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-sidebar {
    display: none;
  }

  .service-page {
    padding: 60px 0 0 0;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .quick-contact {
    align-items: center;
  }

  .content-section {
    padding: 20px 0;
  }

  .faq-container {
    margin: 35px 5px 35px 0px;
  }
  .advantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center; /* centers items horizontally */
    align-items: center; /* centers items vertically */
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-right: 10px;
  }

  .advice-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .advice-image {
    height: 180px;
  }

  .advice-image i {
    font-size: 3.2rem;
  }

  .quick-contact {
    flex-direction: column;
    gap: 18px;
    padding: 22px 20px;
    margin: 0px 10px 10px 10px;
  }
}

@media (max-width: 480px) {
  .advantage-item {
    padding: 20px 16px;
    max-height: 200px;
  }
}

.page-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0 20px 12px;
  margin: 30px 0 0 0;
  border-bottom: 1px solid #e5e7eb;
}

.page-title .bi-person-lines-fill {
  font-size: 1.3rem;
  color: #fcb614;
}

.page-title span {
  color: #012970;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .page-title {
    padding: 12px 0 20px 20px;
    gap: 8px;
  }

  .page-title .bi-person-lines-fill {
    font-size: 1.2rem;
  }

  .page-title span {
    font-size: 1.2rem;
  }
}

.content-section {
  padding: 20px 0; /* Add overall padding for spacing */
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  padding-bottom: 0px;
  border-bottom: 2px solid #fcb614;
  max-width: 350px;
}

.section-header h2 {
  color: #012970;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.section-indicator {
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  background: #fcb614;
  border-radius: 50%;
}

.section-main {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0px;
}

.section-content {
  flex: 1;
  max-width: 750px;
}

.section-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 25px;
}

.section-image {
  flex-shrink: 0;
  width: 400px;
  height: 350px; /* Fixed aspect ratio */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin: 0 15px 0 0;
}

.section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
  .section-main {
    flex-direction: column;
    gap: 30px;
    padding: 0 15px;
  }

  .section-image {
    width: 100%;
    height: 250px;
    order: -1; /* Image first on mobile */
  }
}
