body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-family: 'Roboto', sans-serif;
    margin: 0;    
}

.license-container {
    padding: 40px 15px;
    width: 100%;
}

hr.grey-line {
    border: 0;
    border-top: 1px solid #060606;
    margin: 20px 0;
}

.license-icon {
    font-size: 2.5rem;
    color: #007bff;
    margin-right: 10px;
    vertical-align: middle;
}

.apache-logo {
    max-width: 100px;
    width: 50%;
    object-fit: contain;
    margin-bottom: 0;
    display: flex;
}

.apache-license {
    display: flex;
    align-items: center;
    gap: 10px; 
    margin-bottom: 20px;
}

.apache-license p {
    margin: 0;
    font-size: 1rem;
    color: #333;
}

.license-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
}

.license-section {
    padding: 0 15px;
}

.section-title {
    font-size: 1.8rem;
    color: #007bff;
    margin-bottom: 20px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

h4 {
    font-size: 1.4rem;
    color: #343a40;
    margin-top: 20px;
    margin-bottom: 15px;
}

h5 {
    font-size: 1.2rem;
    color: #495057;
    margin-top: 15px;
    margin-bottom: 10px;
}

p {
    margin-bottom: 12px;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

hr {
    border-color: #dee2e6;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .license-container {
        padding: 20px 10px;
    }
    .apache-logo {
        max-width: 80px;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .license-text,
    .apache-license p {
        font-size: 0.9rem;
    }
    h4 {
        font-size: 1.25rem;
    }
    h5 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .license-container {
        padding: 15px 8px;
    }
    .apache-logo {
        max-width: 70px;
        width: 45%;
    }
    .section-title {
        font-size: 1.35rem;
    }
    .license-text,
    .apache-license p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    h4 {
        font-size: 1.15rem;
    }
    h5 {
        font-size: 1rem;
    }
    .apache-license {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    .apache-license p {
        font-size: 0.8rem;
    }
}

@media (max-width: 320px) {
    .license-container {
        padding: 12px 6px;
    }
    .apache-logo {
        max-width: 60px;
        width: 40%;
    }
    .section-title {
        font-size: 1.2rem;
    }
    .license-text,
    .apache-license p {
        font-size: 0.8rem;
    }
    h4 {
        font-size: 1.1rem;
    }
    h5 {
        font-size: 0.95rem;
    }
}