/* ===== Contract Section (Wrapper) ===== */
.contract-section {
  background: #f4f4f4;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  opacity: 0;
  transform: translateX(100px);
  transition: all 1s ease-in-out;
  scroll-margin-top: 80px; /* Navbar ka offset */
}

.contract-section.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== Container (Row) ===== */
.contract-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
  max-width: 1400px;
}

/* ===== Contract Box ===== */
.contract-box {
  flex: 1 1 45%;
  max-width: 600px;
  min-width: 320px;
  height: 550px;
  display: flex;
  flex-direction: column;
  margin: 0 1rem 2rem 1rem;
  scroll-margin-top: 100px; /* Navbar ka offset */
}

/* ===== Header ===== */
.contract-header {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  margin-left: 0.5rem;
}
.contract-header i {
  font-size: 1.5rem;
  margin-right: 0.5rem;
  position: relative;
  top: -1px;
}

/* ===== Body ===== */
/* Contract Body Scrollbar */
.contract-body {
  flex: 1;
  background: #b3eaff;
  border: 2px solid #6bd6ff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: inset 0 4px 6px rgba(0,0,0,0.1),
              inset 0 -4px 6px rgba(0,0,0,0.1);
  overflow-y: auto;
  scrollbar-gutter: stable; /* ✅ content aur scrollbar ke beech space fix */
}

/* Custom Scrollbar */
.contract-body::-webkit-scrollbar {
  width: 13px;                /* scrollbar width */
}

.contract-body::-webkit-scrollbar-track {
  background: #ffffff;        /* ✅ track box ke andar hi rahe */
  border-radius: 10px;
  margin-block: 20px;         /* ✅ upar & neeche se andar distance */
}

.contract-body::-webkit-scrollbar-thumb {
  background: gray;
  border-radius: 10px;
  border: 2px solid #b3eaff;  /* gap feel */
}

.contract-body::-webkit-scrollbar-thumb:hover {
  background: rgb(80, 70, 70);
}

/* ===== Content ===== */
.contract-content {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #000;
}
.contract-content p.text-right {
  text-align: right;   /* ✅ sirf is paragraph ka text right side pe */
  margin-bottom: 1rem;
  font-size: 0.9rem;   /* optional thoda chhota */
}
.contract-content .sub-heading {
  font-weight: 600;
  font-size: 1.15rem;
  margin: 1rem 0 0.5rem 0;
}
.contract-content ul {
  list-style: disc inside;
  margin-left: 1rem;
  margin-bottom: 1rem;
}
.contract-content li {
  margin-bottom: 0.5rem;
}

/* ===== Contract Footer ===== */
.contract-footer {
  text-align: center;
  font-size: 1.1rem;
  font-weight: bold;
}
.contract-footer input {
  margin-right: 0.5rem;
  position: relative;
  top: 1px;
}
