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

body {
    font-family: 'Montserrat', sans-serif;
}

.none {
    display: none;
}

/* book appointment -----------------------------------*/
.book-appointment {
    padding: 15px 30px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    background: rgba(10, 9, 9, 0.392);
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: none;
    align-items: center;
    gap: 10px;
    transition: 0.3s ease;
    backdrop-filter: blur(5px);

    /* Fixed Position Add kiya */
    position: fixed;
    bottom: 30px;
    right: 35px;
    z-index: 1100;
    /* Menu button se upar dikhe */
}

.book-appointment:hover {
    background: rgba(12, 0, 0, 0.879);
    border-color: white;
    transform: scale(1.05);
}

/*---------------------------------------------------------*/

.spam-side-text-show {
    display: none;
}

.spam-side-text-show.active {
    display: inline;
}

.document-container {
    margin: 0 auto;
    padding: 0px 0px;
    background: white;

}

.document-header {
    text-align: center;
    padding: 30px 40px;
}

.document-title {
    margin-top: 100px;
    font-size: 2.9rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 50px;
}

.document-subtitle {
    margin-top: 10px;
    font-size: 18px;
    color: #666;
    text-align: start;
}

/* MAIN TAB SECTION */
.main-section {
    border-bottom: 1px solid #e0e0e0;
}

.main-tab-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    cursor: pointer;
    background: white;
    transition: background 0.2s ease;
    border: 2px solid transparent;
}

.main-tab-header:hover {
    background: #fafafa;
}

.main-tab-header.active {
    background: #f8f8f8;
    border-top: 2px solid #333;
    border-radius: 10px;
}

.main-header-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.main-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
}

.main-description {
    text-align: left;
    width: 800px;
    font-size: 0.9rem;
    color: #666;
    margin-left: auto;
    padding-right: 20px;
}

.main-toggle-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #333;
    border-radius: 4px;
    font-size: 1.5rem;
    font-weight: 300;
    color: #333;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.main-toggle-icon:hover {
    background: #333;
    color: white;
}

.main-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.main-content.active {
    max-height: 5000px;
}

.main-content-inner {
    padding: 30px 40px 40px 40px;
}

/* MINI TABS SECTION */
.mini-tabs-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.mini-tab-item {
    border-bottom: 2px solid #d0d0d0;
    background: white;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.mini-tab-item.active {
    grid-column: span 2;
    border-radius: 10px;
}

.mini-tab-header {
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s ease;
}

.mini-tab-item.active .mini-tab-header {
    background: #fdddaec3;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.mini-tab-header:hover {
    background: #fee5c7;
    border-radius: 10px;
}

.mini-tab-number {
    font-weight: 600;
    color: #333;
    margin-right: 15px;
}

.mini-tab-title {
    flex: 1;
    font-weight: 500;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.mini-toggle-icon {
    font-size: 1.2rem;
    color: #333;
    transition: transform 0.3s ease;
}

.mini-tab-item.active .mini-toggle-icon {
    transform: rotate(180deg);
}

.mini-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.mini-content.active {
    max-height: 8000px;
}

.mini-content-inner {
    padding: 25px;
    background: #fef9f3;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;

}

/* CONTENT GRID */
.content-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.content-column {
    opacity: 0;
    animation: fadeInUp 0.4s ease forwards;
}

.content-column:nth-child(1) {
    animation-delay: 0.1s;
}

.content-column:nth-child(2) {
    animation-delay: 0.2s;
}

.content-column:nth-child(3) {
    animation-delay: 0.3s;
}

.content-column:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.column-header {
    background: #fbbd6d;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 15px;
    border-radius: 10px;
    margin-bottom: 12px;
    text-align: center;
}

.column-list {
    list-style: none;
}

.column-list li {
    padding: 6px 0;
    color: #333;
    font-size: 0.85rem;
    position: relative;
    padding-left: 18px;
    line-height: 1.5;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

.column-list li:nth-child(1) {
    animation-delay: 0.5s;
}

.column-list li:nth-child(2) {
    animation-delay: 0.6s;
}

.column-list li:nth-child(3) {
    animation-delay: 0.7s;
}

.column-list li:nth-child(4) {
    animation-delay: 0.8s;
}

.column-list li:nth-child(5) {
    animation-delay: 0.9s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.column-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #333;
    font-weight: bold;
    font-size: 1.2rem;
}

.space {
    margin-bottom: 100px;
}

.h2-on-mobile {
    display: block;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .content-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .main-description {
        display: none;
    }
}

@media (max-width: 768px) {


    .document-header {
        padding: 20px;
    }

    .document-title {
        font-size: 2rem;
    }

    .main-tab-header {
        padding: 15px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .main-header-content {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .main-title {
        font-size: 1.2rem;
    }

    .main-toggle-icon {
        align-self: flex-end;
        margin-top: -35px;
    }

    .main-content-inner {
        padding: 20px;
    }

    .mini-tabs-container {
        grid-template-columns: 1fr;
    }

    .mini-tab-item.active {
        grid-column: span 1;
    }

    .content-columns {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .document-container {
        padding: 0px 0px;
    }

    .h2-on-mobile {
        display: none;
    }
}

@media (max-width: 480px) {
    .document-title {
        font-size: 2rem;
    }

    .main-title {
        font-size: 1.1rem;
    }

    .mini-tab-header {
        padding: 12px 15px;
    }

    .column-header {
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .column-list li {
        font-size: 0.8rem;
    }

    .book-appointment {
        display: flex;
        font-size: 12px;
        padding: 10px 15px;
        right: 7px;
    }
}