/* =============================================
   MODERN TERMS STYLES — terms.css
   ============================================= */

.terms-hero {
    background: linear-gradient(135deg, #25452c 0%, #1b3321 100%);
    padding: 60px 0;
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.terms-hero h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.terms-hero p {
    font-size: 16px;
    opacity: 0.8;
}

.terms-layout {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 20px 0px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: flex-start;
}

/* Sticky Sidebar */
.terms-sidebar {
    position: sticky;
    top: 100px;
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #eef2f6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.terms-sidebar h4 {
    font-size: 13px;
    font-weight: 700;
    color: #6db34d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-nav a {
    text-decoration: none;
    font-size: 14px;
    color: #5c6e5e;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 12px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    color: #25452c;
    background: #f0f7ee;
    transform: translateX(5px);
}

/* Content Area */
.terms-section-card {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #eef2f6;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    margin-bottom: 30px;
    scroll-margin-top: 100px;
}

.terms-section-card h2 {
    font-size: 22px;
    font-weight: 800;
    color: #1a2b1f;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-icon {
    width: 40px;
    height: 40px;
    background: #f0f7ee;
    color: #6db34d;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.terms-content {
    font-size: 16px;
    color: #4a5d4e;
    line-height: 1.8;
}

.terms-content p {
    margin-bottom: 16px;
}

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

.terms-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a2b1f;
    margin: 25px 0 12px;
}

.terms-content ul,
.terms-content ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.terms-content ul:last-child,
.terms-content ol:last-child {
    margin-bottom: 0;
}

.terms-content li {
    margin-bottom: 12px;
}

.terms-content li:last-child {
    margin-bottom: 0;
}

.terms-contact-card {
    background: #fcfdfe;
    padding: 25px;
    border-radius: 16px;
    border: 1.5px dashed #6db34d;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .terms-layout {
        grid-template-columns: 1fr;
    }

    .terms-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .terms-hero h1 {
        font-size: 30px;
    }

    .terms-section-card {
        padding: 30px 20px;
    }
}