.policy-content img,
.ck-content img {
  max-width: 100% !important;
  height: auto !important;
  -o-object-fit: contain !important;
     object-fit: contain !important;
  -o-object-position: center !important;
     object-position: center !important;
  display: block;
  margin: 10px auto;
}
.policy-content img[style*=width],
.ck-content img[style*=width] {
  width: auto !important;
  max-width: 100% !important;
}
.policy-content img[style*=height],
.ck-content img[style*=height] {
  height: auto !important;
}
.policy-content table img,
.ck-content table img {
  max-width: 100% !important;
  height: auto !important;
  -o-object-fit: contain !important;
     object-fit: contain !important;
}

.hero-background {
  position: relative;
}
.hero-background img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}
.hero-background .hero-content h1 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 10px;
  opacity: 0.9;
}
.hero-background .hero-content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0;
}
.hero-background .banner-title {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}

.breadcrumb {
  background: #f5f5f5;
  padding: 15px 0;
}
.breadcrumb span {
  color: #1976d2;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.policy-container {
  margin-bottom: 42px;
  margin-top: 62px;
}
.policy-container .policy-tabs {
  margin-bottom: 30px;
  padding-bottom: 0;
}
.policy-container .policy-tabs .policy-tab {
  display: inline-block;
  padding: 12px 0;
  color: #1976d2;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 3px solid #1976d2;
  margin-bottom: -2px;
  cursor: pointer;
  position: relative;
}
.policy-container .policy-tabs .policy-tab.active {
  color: #1976d2;
}
.policy-container .policies-content .policies-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  -moz-column-gap: 150px;
       column-gap: 150px;
  row-gap: 32px;
}
.policy-container .policies-content .policy-section {
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
}
.policy-container .policies-content .policy-section:nth-child(1), .policy-container .policies-content .policy-section:nth-child(6) {
  flex-direction: row-reverse;
  align-items: center;
  grid-column: span 2;
}
.policy-container .policies-content .policy-section .policy-item {
  flex-direction: column;
  width: 50%;
}
@media (max-width: 992px) {
  .policy-container .policies-content .policy-section {
    flex-direction: column;
    gap: 20px;
  }
}
.policy-container .policies-content .policy-section .policy-image {
  min-height: 350px;
  height: auto;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: left;
}
.policy-container .policies-content .policy-section .policy-image img {
  max-width: 100%;
  max-height: 350px;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}
.policy-container .policies-content .policy-section .policy-content {
  flex: 1;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.policy-container .policies-content .policy-section .policy-content h2 {
  font-size: 25px;
  color: #333;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.4;
}
.policy-container .policies-content .policy-section .policy-content p {
  font-size: 16.67px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 15px;
  text-align: justify;
}
.policy-container .policies-content .policy-section .policy-content p:last-of-type {
  margin-bottom: 0;
}
.policy-container .policies-content .policy-section .policy-content ul {
  margin: 12px 0;
  padding-left: 20px;
}
.policy-container .policies-content .policy-section .policy-content ul li {
  font-size: 15px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 8px;
}
.policy-container .policies-content .policy-section .policy-content ul li:last-child {
  margin-bottom: 0;
}
.policy-container .policies-content .policy-section .policy-content .policy-link {
  color: #1976d2;
  text-decoration: none;
  font-weight: 400;
  font-size: 16.67px;
  padding: 8px 0px;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-block;
  width: -moz-fit-content;
  width: fit-content;
  margin-top: 15px;
}
.policy-container .policies-content .policy-section .policy-content .policy-link:hover {
  background: #1976d2;
  color: #fff;
  padding: 8px 16px;
}
.policy-container .policies-content .table table tbody tr {
  border-bottom: none;
}
.policy-container .policies-content .table table tbody tr td {
  border-bottom: none;
}
.policy-container .policies-content .table table tbody tr td:first-child {
  padding-right: 48px;
}
.policy-container .policies-content .table table tbody tr td:last-child {
  padding-left: 48px;
}
.policy-container .policies-content .table table tbody tr td .image img {
  max-width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
  display: block;
  margin: 0 auto;
}

.main-content {
  padding: 60px 0;
  background: #f5f5f5;
}
.main-content .policies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
@media (max-width: 992px) {
  .main-content .policies-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}
.main-content .policies-grid .policy-section {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.main-content .policies-grid .policy-section:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.main-content .policies-grid .policy-section .policy-image {
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  min-height: 200px;
}
.main-content .policies-grid .policy-section .policy-image img {
  max-width: 100%;
  max-height: 180px;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
.main-content .policies-grid .policy-section .policy-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.main-content .policies-grid .policy-section .policy-content h2 {
  font-size: 1.25rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.main-content .policies-grid .policy-section .policy-content p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 12px;
}
.main-content .policies-grid .policy-section .policy-content p:last-of-type {
  margin-bottom: 0;
}
.main-content .policies-grid .policy-section .policy-content ul {
  margin: 12px 0;
  padding-left: 20px;
}
.main-content .policies-grid .policy-section .policy-content ul li {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 8px;
}
.main-content .policies-grid .policy-section .policy-content ul li:last-child {
  margin-bottom: 0;
}

.policy-link {
  color: #1976d2;
  text-decoration: none;
  font-weight: 400;
  font-size: 16.67px;
  padding: 8px 0px;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 15px;
  width: -moz-fit-content;
  width: fit-content;
  margin-top: auto;
  padding-top: 15px;
}
.policy-link:hover {
  background: #1976d2;
  color: #fff;
  padding: 8px 16px;
}

.policies-content .policy-section {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.policies-grid .policy-section {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}
.policies-grid .policy-section:nth-child(1) {
  animation-delay: 0s;
}
.policies-grid .policy-section:nth-child(2) {
  animation-delay: 0.1s;
}
.policies-grid .policy-section:nth-child(3) {
  animation-delay: 0.2s;
}
.policies-grid .policy-section:nth-child(4) {
  animation-delay: 0.3s;
}
.policies-grid .policy-section:nth-child(5) {
  animation-delay: 0.4s;
}
.policies-grid .policy-section:nth-child(6) {
  animation-delay: 0.5s;
}
.policies-grid .policy-section:nth-child(7) {
  animation-delay: 0.6s;
}
.policies-grid .policy-section:nth-child(8) {
  animation-delay: 0.7s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.policies-grid .policy-section {
  transition: all 0.3s ease;
}
.policies-grid .policy-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.policies-grid .policy-section:hover .policy-image img {
  transform: scale(1.05);
}
.policies-grid .policy-section .policy-image img {
  transition: transform 0.3s ease;
}

@media screen and (max-width: 768px) {
  .policy-container {
    margin-top: 0;
  }
  .policy-container .policies-content .policy-section {
    flex-direction: column;
  }
  .policy-container .policies-content .policy-section:nth-child(1), .policy-container .policies-content .policy-section:nth-child(4) {
    flex-direction: column !important;
  }
  .policy-container .policies-content .policy-section .policy-image {
    height: auto;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .policy-container .policies-content .policy-section .policy-image img {
    max-height: 250px;
    -o-object-fit: contain;
       object-fit: contain;
    -o-object-position: center;
       object-position: center;
  }
  .policy-container .policies-content .policy-section .policy-content .policy-link {
    margin: auto;
    margin-top: 24px;
  }
  .policy-container .policies-content .policy-section .policy-item {
    width: 100%;
  }
  .policy-container .policies-content .policy-section .policy-item .policy-content .policy-link {
    margin: auto;
  }
}
