/* Custom CSS overrides */

/* Logo height customization */
.light-logo img,
.logo img {
  height: 85px;
  width: auto;
}

/* Side menu logo size */
.rep-logo img {
  max-height: 85px;
  width: auto;
}

/* Fix slide numbers from overlapping */
.slide-number {
  z-index: 1;
  position: relative;
}

/* Ensure contact section doesn't overflow */
#contact .slide-container {
  overflow-y: auto;
}

#contact .pp-text {
  max-height: 100vh;
  overflow-y: auto;
}

/* Build section icon fixes - prevent overlap with text */
.about-v4-sec .about-v4-content .abt-list .abt-content p {
  margin-right: 60px;
}

@media (max-width: 991px) {
  .about-v4-sec .about-v4-content .abt-list .abt-content .iconn {
    font-size: 36px !important;
    right: 20px;
    top: 50px;
  }
}

@media (max-width: 767px) {
  .about-v4-sec .about-v4-content .abt-list .abt-content .iconn {
    font-size: 28px !important;
    right: 15px;
    top: 45px;
  }
}

@media (max-width: 575px) {
  /* Hide icons on very small screens to prevent overlap */
  .about-v4-sec .about-v4-content .abt-list .abt-content .iconn {
    display: none;
  }
}

/* Fix text clipping in contact section caused by negative row margins */
#contact .pp-text .row {
  margin-left: 0;
  margin-right: 0;
}

/* Terms pages styling */

/* Reduced banner height for terms pages */
.terms-page .service-page-banner {
  padding: 80px 0 40px;
}

.terms-page .service-page-banner .sv-title h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.terms-page .service-page-banner .sv-title span {
  font-size: 12px;
}

.terms-text {
  color: #555;
  font-size: 16px;
  line-height: 1.8;
}

.terms-text h1 {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #667eea;
}

.terms-text h2 {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-top: 35px;
  margin-bottom: 15px;
}

.terms-text h3 {
  font-size: 18px;
  font-weight: 600;
  color: #444;
  margin-top: 25px;
  margin-bottom: 12px;
}

.terms-text p {
  margin-bottom: 16px;
}

.terms-text ul,
.terms-text ol {
  margin-bottom: 20px;
  padding-left: 25px;
}

.terms-text ul {
  list-style-type: disc;
}

.terms-text ul ul {
  list-style-type: circle;
  margin-top: 8px;
  margin-bottom: 8px;
}

.terms-text ol {
  list-style-type: decimal;
}

.terms-text li {
  margin-bottom: 8px;
  padding-left: 5px;
}

.terms-text a {
  color: #667eea;
  text-decoration: none;
}

.terms-text a:hover {
  text-decoration: underline;
}

.terms-text strong {
  font-weight: 600;
  color: #333;
}

.terms-text blockquote {
  border-left: 4px solid #667eea;
  padding-left: 20px;
  margin: 20px 0;
  color: #666;
  font-style: italic;
}

/* First h1 doesn't need top margin */
.terms-text > h1:first-child {
  margin-top: 0;
}