/* Add to your CSS file, e.g., specialization.css */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

.specialization-section {
  font-family: 'Inter', Arial, sans-serif;
  max-width: 1140px;
  margin: 0 auto;
  color: #2c3e50;
}

.specialization-heading {
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: 0.06em;
  color: #264267; /* Deep Blue */
}

.specialization-content {
  /* flex container with vertical stacking on smaller screens */
  gap: 2rem;
}

/* Left Column - Tickmark List */
.tick-list {
  list-style: none;
  padding-left: 1rem;
  margin: 0;
}

.tick-list li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 2rem;
}

.tick-list li h5 {
  font-weight: 600;
  font-size: 1.85rem;
  margin-bottom: 0.35rem;
}

.tick-list li p{
  font-family:Verdana, Geneva, Tahoma, sans-serif ;
  font-weight: 400;
  font-size: 1rem;
  color: #c9d4ee;
  margin: 0;
  line-height: 1.5;
}

/* Right Column - Image container */
.specialization-image-container {
  position: relative;
  max-width: 320px;
  flex-shrink: 0;
  align-self: center;
}

.specialization-image {
  width: 100%;
  display: block;
  border-radius: 8px;
  height: auto;
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  object-fit: cover;
  /* box-shadow: 0 14px 28px rgba(38, 66, 103, 0.3); */
  position: relative;
  z-index: 2;
  display: block;
}

.image-decorative-border {
  position: absolute;
  top: -15px;
  left: 0px;
  width: calc(100% + 15px);
  height: calc(100% + 15px);
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: linear-gradient(135deg, #7fd8ff, #fa75e2);
  opacity: 0.65;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.3s ease;
}


/* On hover, emphasize glow */
.specialization-image-container:hover .image-decorative-border {
  opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .specialization-content {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }
/* 
  .specialization-image-container {
    max-width: 260px;
  } */

  .specialization-heading {
    font-size: 2rem;
  }

  .tick-list li {
    padding-left: 32px;
  }

  .tick-list li::before {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .specialization-image-container {
    max-width: 200px;
  }

  .specialization-heading {
    font-size: 1.75rem;
  }
}

.specialization-section-wrapper {
  width: 100vw;
  position: relative;
  background-color: #111; /* dark background */
  color: #fff;
  overflow-x: hidden;
}

.specialization-heading {
  font-size: 2.5rem;
  font-weight: 600;
}

.tick-list {
  list-style: none;
  padding: 0;
}

.tick-list li {
  margin-bottom: 24px;
  position: relative;
  padding-left: 30px;
}

.specialization-image-container .image-wrapper {
  position: relative;
  border-radius: 12px;
  background: linear-gradient(135deg, #1f1f1f, #2a2a2a);
  max-width: 100%;
  max-height: 550px;
  overflow:visible;
}


@media (max-width: 768px) {
  .specialization-heading {
    font-size: 2rem;
  }

  .specialization-image {
    max-height: none;
    width: 100%;
  }

  .tick-list li {
    padding-left: 24px;
    font-size: 1rem;
  }
}
