@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #0c1015;
    color: white;
    padding: 20px;
    max-width: 100vw;
    overflow-x: hidden;
}

ul.text-content {
  padding-left: 20px; /* ya apne hisaab se */
}

ol.text-content {
  padding-left: 20px; /* ya apne hisaab se */
}

/* 🔹 HEADER - FIXED HORIZONTAL LAYOUT */
#app-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    width: 100%;
    flex-wrap: nowrap;
    overflow: hidden;
}

/* 🔹 LOGO - FIXED SIZE */
.app-logo {
    width: 60px;
    height: 60px;
    min-width: 50px;
    background-color: #000000;
    border-radius: 10px;
    padding: 5px;
}

/* 🔹 APP NAME - WITH OVERFLOW PROTECTION */
#app-name {
    font-size: 24px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
}

/* 🔹 SEPARATOR LINE */
.separator {
    border: none;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 10px 0;
    width: 100%;
}

/* 🔹 PAGE TITLE */
.page-title {
    font-size: 24px;
    text-align: center;
    text-decoration: underline;
    margin-bottom: 20px;
    word-break: break-word;
}

/* 🔹 SECTION TITLES */
.section-title {
    font-size: 22px;
    font-weight: 600;
    margin-top: 20px;
    text-align: center;
    word-break: break-word;
}

/* 🔹 TEXT CONTENT - WITH SCROLL PROTECTION */
.text-content {
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 15px;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* ✅ MOBILE OPTIMIZATIONS */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }

    .app-logo {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    #app-name {
        font-size: 18px;
    }

    .page-title {
        font-size: 20px;
    }

    .section-title {
        font-size: 20px;
    }

    .text-content {
        font-size: 16px;
        text-align: left;
    }
}


/* SUB SECTION TITLE */
.sub-section-title {
    font-size: 20px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 15px;
    color: #ffffff;
}

@media (max-width: 768px) {
    .sub-section-title {
        font-size: 18px;
    }
}

/* EXTRA SMALL DEVICES */
@media (max-width: 400px) {
    #app-name {
        font-size: 16px;
    }
}