/* ============================================================
terms-conditions.css  —  Terms Conditions Page Specific Styles
NGO Theme · Yuva Shakti Samiti
Depends on: variables.css, global.css, header-footer.css
============================================================ */

/* ===================================
   HERO SECTION
=================================== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    height: 380px;
    overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("https://manavkartavya.org/wp-content/uploads/2018/08/our-approach.jpg")
    center/cover no-repeat;
  filter: grayscale(30%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 10, 10, 0.82) 0%,
    rgba(10, 10, 10, 0.6) 50%,
    rgba(10, 10, 10, 0.25) 100%
  );
}

.hero-content {
  position: relative;
}

.hero h1 {
  font-size: clamp(40px, 6.5vw, 76px);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  /*margin-bottom: 22px;*/
}

.hero-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  line-height: 1.75;
  max-width: 520px;
}

.terms-section {
    padding: var(--section-padding) 0;
    background: var(--color-white);
}

.terms-section .container {
    max-width: 1100px;
}

.terms-section p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #666;
    margin-bottom: 18px;
    text-align: justify;
}

.about-h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 15px;
    line-height: 1.3;
}

.terms-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
}

.terms-section ul {
    margin: 15px 0 25px;
    padding-left: 25px;
}

.terms-section ul li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
}

.terms-section ul li::marker {
    color: var(--color-primary);
}

.terms-section .about-h2 {
    margin-bottom: 30px;
}

.terms-section h2:not(:first-child) {
    margin-top: 50px;
}

/* Optional Content Card Style */
.terms-section .container > *:not(.text-center) {
    position: relative;
    z-index: 2;
}

.terms-section {
    position: relative;
}

.terms-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 350px;
    height: 350px;
    background: radial-gradient(
        var(--color-light),
        transparent 70%
    );
    opacity: 0.5;
    pointer-events: none;
}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 992px) {

    .about-h3 {
        font-size: 1.6rem;
    }

    .terms-section p {
        font-size: 1.05rem;
    }

    .terms-section ul li {
        font-size: 1rem;
    }
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 575px) {

    .terms-section {
        padding: 60px 0;
    }

    .about-h3 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .terms-section p {
        font-size: 1rem;
        line-height: 1.8;
    }

    .terms-section ul {
        padding-left: 20px;
    }

    .terms-section ul li {
        font-size: 0.98rem;
        line-height: 1.7;
        margin-bottom: 8px;
    }

    .terms-section h2:not(:first-child) {
        margin-top: 35px;
    }

    .terms-section::before {
        width: 200px;
        height: 200px;
        opacity: 0.4;
    }
}