* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



body {
  font-family: "Inter", sans-serif;
  background: #f6f7fb;
  color: #111827;
  overflow-x: hidden;
}


/* =========================================================
   INDIAMAJDOOR TERMS & CONDITIONS
   Page CSS Only — Header & Footer Not Included
========================================================= */

.terms-page {
    font-family: 'Poppins', Arial, sans-serif;
    background: #f7f8fa;
    color: #17202b;
    padding-bottom: 80px;
}


/* ================= HERO ================= */

.terms-hero {
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(255,107,0,.12),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #fff8f3 0%,
            #ffffff 55%,
            #fff4ed 100%
        );

    border-bottom: 1px solid #ffe0cf;
    padding: 68px 20px 62px;
    text-align: center;
}

.terms-hero-inner {
    max-width: 850px;
    margin: auto;
}

.terms-hero-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
    border: 1px solid #ffd7c0;
    border-radius: 18px;

    color: #ff6b00;
    font-size: 27px;

    box-shadow: 0 12px 30px rgba(255,107,0,.10);
}

.terms-eyebrow {
    display: block;
    margin-bottom: 10px;

    color: #ff6b00;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.terms-hero h1 {
    margin: 0;

    color: #151b23;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 750;
}

.terms-hero p {
    max-width: 720px;
    margin: 18px auto 20px;

    color: #5f6b79;
    font-size: 16px;
    line-height: 1.8;
}

.terms-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #697586;
    font-size: 14px;
    font-weight: 500;
}

.terms-date i {
    color: #ff6b00;
}


/* ================= MAIN ================= */

.terms-wrapper {
    width: min(1180px, calc(100% - 40px));
    margin: 42px auto 0;

    display: grid;
    grid-template-columns: 275px minmax(0, 1fr);
    gap: 32px;

    align-items: start;
}


/* ================= SIDEBAR ================= */

.terms-sidebar {
    position: sticky;
    top: 95px;
}

.terms-nav-card {
    background: #ffffff;
    border: 1px solid #e5e9ee;
    border-radius: 17px;
    padding: 15px 12px;

    box-shadow: 0 8px 28px rgba(15,23,42,.045);
}

.terms-nav-title {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 9px 10px 16px;
    margin-bottom: 5px;

    border-bottom: 1px solid #edf0f3;

    color: #202833;
    font-size: 14px;
    font-weight: 700;
}

.terms-nav-title i {
    color: #ff6b00;
    font-size: 15px;
}

.terms-nav-link {
    display: flex;
    align-items: center;
    gap: 11px;

    padding: 10px 10px;
    margin: 2px 0;

    border-radius: 9px;

    color: #596577;
    text-decoration: none;

    font-size: 13px;
    font-weight: 550;

    transition: .25s ease;
}

.terms-nav-link span {
    min-width: 22px;

    color: #a1aab6;
    font-size: 10px;
    font-weight: 700;
}

.terms-nav-link:hover,
.terms-nav-link.active {
    background: #fff3eb;
    color: #ff6b00;
}

.terms-nav-link:hover span,
.terms-nav-link.active span {
    color: #ff6b00;
}


/* ================= SUPPORT ================= */

.terms-support {
    margin-top: 18px;
    padding: 23px 20px;

    background: linear-gradient(
        145deg,
        #ff6b00,
        #ed5d00
    );

    border-radius: 17px;
    color: #ffffff;

    box-shadow: 0 14px 30px rgba(255,107,0,.17);
}

.support-icon {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 15px;

    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 11px;

    font-size: 18px;
}

.terms-support h3 {
    margin: 0 0 7px;
    font-size: 18px;
}

.terms-support p {
    margin: 0 0 17px;

    color: rgba(255,255,255,.88);
    font-size: 13px;
    line-height: 1.7;
}

.terms-support a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 11px 13px;

    background: #ffffff;
    border-radius: 9px;

    color: #ff6b00;
    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition: .25s ease;
}

.terms-support a:hover {
    transform: translateY(-2px);
}


/* ================= CONTENT ================= */

.terms-content {
    min-width: 0;
}

.terms-card {
    position: relative;

    margin-bottom: 20px;
    padding: 34px 37px;

    background: #ffffff;
    border: 1px solid #e5e9ee;
    border-radius: 19px;

    box-shadow: 0 7px 25px rgba(15,23,42,.035);

    scroll-margin-top: 105px;
}

.terms-card-top {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 22px;
}

.terms-card-icon {
    width: 49px;
    height: 49px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff3eb;
    border: 1px solid #ffd9c2;
    border-radius: 13px;

    color: #ff6b00;
    font-size: 19px;
}

.terms-card-top span {
    display: block;
    margin-bottom: 4px;

    color: #ff6b00;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 1px;
}

.terms-card-top h2 {
    margin: 0;

    color: #171e27;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 720;
}

.terms-card > p {
    margin: 0 0 16px;

    color: #566375;
    font-size: 15px;
    line-height: 1.85;
}

.terms-card > p:last-child {
    margin-bottom: 0;
}


/* ================= NOTE ================= */

.terms-note {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    margin-top: 21px;
    padding: 17px 18px;

    background: #fff8f3;
    border: 1px solid #ffddc8;
    border-left: 4px solid #ff6b00;
    border-radius: 11px;
}

.terms-note > i {
    color: #ff6b00;
    font-size: 19px;
    margin-top: 2px;
}

.terms-note strong {
    display: block;
    margin-bottom: 4px;

    color: #252c35;
    font-size: 14px;
}

.terms-note p {
    margin: 0;

    color: #667386;
    font-size: 13px;
    line-height: 1.7;
}


/* ================= LIST ================= */

.terms-list {
    margin-top: 20px;
}

.terms-list > div {
    display: flex;
    align-items: flex-start;
    gap: 11px;

    padding: 9px 0;

    color: #566375;
    font-size: 15px;
    line-height: 1.7;
}

.terms-list i {
    width: 21px;
    height: 21px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 2px;

    background: #fff3eb;
    border-radius: 50%;

    color: #ff6b00;
    font-size: 9px;
}


/* ================= FEATURE GRID ================= */

.terms-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;

    margin-top: 23px;
}

.terms-feature {
    padding: 20px;

    background: #fafbfc;
    border: 1px solid #e8ecf0;
    border-radius: 13px;

    transition: .25s ease;
}

.terms-feature:hover {
    transform: translateY(-3px);
    border-color: #ffd0b1;
    box-shadow: 0 10px 22px rgba(255,107,0,.06);
}

.terms-feature > i {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 13px;

    background: #fff3eb;
    border-radius: 10px;

    color: #ff6b00;
    font-size: 16px;
}

.terms-feature h3 {
    margin: 0 0 6px;

    color: #252c35;
    font-size: 15px;
}

.terms-feature p {
    margin: 0;

    color: #697586;
    font-size: 13px;
    line-height: 1.65;
}


/* ================= WARNING ================= */

.terms-warning {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    margin: 22px 0;
    padding: 18px;

    background: #fff8f3;
    border: 1px solid #ffddc7;
    border-radius: 12px;
}

.warning-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ff6b00;
    color: #ffffff;

    border-radius: 10px;
}

.terms-warning strong {
    display: block;
    margin-bottom: 5px;

    color: #252c35;
    font-size: 15px;
}

.terms-warning p {
    margin: 0;

    color: #667386;
    font-size: 14px;
    line-height: 1.7;
}


/* ================= PROHIBITED ================= */

.prohibited-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;

    margin-top: 22px;
}

.prohibited-grid > div {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px;

    background: #fafbfc;
    border: 1px solid #e8ecf0;
    border-radius: 11px;

    color: #566375;
    font-size: 14px;
    line-height: 1.5;
}

.prohibited-grid i {
    flex-shrink: 0;
    color: #ff6b00;
    font-size: 16px;
}


/* ================= INLINE LINK ================= */

.terms-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-top: 6px;
    padding: 10px 15px;

    background: #fff3eb;
    border: 1px solid #ffd9c1;
    border-radius: 9px;

    color: #ff6b00;
    text-decoration: none;

    font-size: 13px;
    font-weight: 650;

    transition: .25s ease;
}

.terms-inline-link:hover {
    background: #ff6b00;
    border-color: #ff6b00;
    color: #ffffff;
}


/* ================= CONTACT ================= */

.contact-terms-card {
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #fffaf7
        );
}

.terms-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;

    margin-top: 24px;
}

.terms-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 16px;

    background: #ffffff;
    border: 1px solid #e5e9ee;
    border-radius: 12px;

    text-decoration: none;

    transition: .25s ease;
}

.terms-contact-item:hover {
    transform: translateY(-2px);
    border-color: #ffc49e;
    box-shadow: 0 9px 22px rgba(255,107,0,.07);
}

.contact-item-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff3eb;
    border-radius: 10px;

    color: #ff6b00;
}

.terms-contact-item div:nth-child(2) {
    flex: 1;
    min-width: 0;
}

.terms-contact-item small {
    display: block;
    margin-bottom: 3px;

    color: #929baa;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .8px;
}

.terms-contact-item strong {
    display: block;

    color: #252c35;
    font-size: 14px;
    font-weight: 650;
}

.terms-contact-item > i:last-child {
    color: #a3acb7;
    font-size: 12px;
}

.terms-contact-item:hover > i:last-child {
    color: #ff6b00;
}


/* ================= FINAL ================= */

.terms-final {
    display: flex;
    align-items: center;
    gap: 16px;

    padding: 23px 25px;

    background: #fff3eb;
    border: 1px solid #ffd9c0;
    border-radius: 16px;
}

.final-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ff6b00;
    color: #ffffff;

    border-radius: 12px;
    font-size: 18px;
}

.terms-final h3 {
    margin: 0 0 5px;

    color: #252c35;
    font-size: 16px;
}

.terms-final p {
    margin: 0;

    color: #667386;
    font-size: 13px;
    line-height: 1.7;
}


/* ================= TABLET ================= */

@media (max-width: 950px) {

    .terms-wrapper {
        grid-template-columns: 230px minmax(0, 1fr);
        gap: 22px;
    }

    .terms-feature-grid {
        grid-template-columns: 1fr;
    }

    .terms-card {
        padding: 30px;
    }

}


/* ================= MOBILE ================= */

@media (max-width: 800px) {

    .terms-wrapper {
        grid-template-columns: 1fr;
        width: min(100% - 30px, 700px);
    }

    .terms-sidebar {
        position: static;
    }

    .terms-nav-card {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .terms-nav-title {
        grid-column: 1 / -1;
    }

    .terms-support {
        display: none;
    }

}


/* ================= SMALL MOBILE ================= */

@media (max-width: 600px) {

    .terms-hero {
        padding: 52px 17px 48px;
    }

    .terms-hero h1 {
        font-size: 34px;
    }

    .terms-hero p {
        font-size: 15px;
        line-height: 1.75;
    }

    .terms-wrapper {
        width: calc(100% - 24px);
        margin-top: 25px;
    }

    .terms-card {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .terms-card-top {
        gap: 11px;
    }

    .terms-card-icon {
        width: 44px;
        height: 44px;
        font-size: 17px;
    }

    .terms-card-top h2 {
        font-size: 21px;
    }

    .terms-card > p,
    .terms-list > div {
        font-size: 14px;
    }

    .prohibited-grid,
    .terms-contact-grid {
        grid-template-columns: 1fr;
    }

}


/* ================= VERY SMALL ================= */

@media (max-width: 430px) {

    .terms-hero {
        padding: 45px 14px;
    }

    .terms-hero-icon {
        width: 59px;
        height: 59px;
        font-size: 23px;
    }

    .terms-hero h1 {
        font-size: 29px;
    }

    .terms-hero p {
        font-size: 14px;
    }

    .terms-nav-card {
        grid-template-columns: 1fr;
    }

    .terms-nav-title {
        grid-column: auto;
    }

    .terms-card {
        padding: 22px 17px;
    }

    .terms-card-top h2 {
        font-size: 19px;
    }

    .terms-note,
    .terms-warning {
        padding: 14px;
    }

    .terms-final {
        align-items: flex-start;
        padding: 18px;
    }

}

