@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-Italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
html, body, 
h1, h2, h3, h4, h5, h6,
p, span, div, a, button,
input, textarea, select,
label {
  font-family: 'Poppins', sans-serif !important;
}

.top-blog-sec {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 2rem !important;
    overflow: hidden;
}
.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}
.top-blog-sec p {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #6b7280;
    text-align: center;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}
.top-blog-sec p a {
    font-weight: 600;
    color: #f9a938;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}
.top-blog-sec p a:hover {
    color: #0056b3;
    background-color: #e6f0fa;
    transform: translateY(-2px);
}
.top-blog-sec p span {
    margin-left: 1rem;
    color: #6b7280;
    font-weight: 400;
    display: inline-block;
    padding: 0.25rem 0.5rem;
}
.top-blog-sec h1 {
    font-weight: 800;
    color: #1c244b;
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
@media (min-width: 640px) {
    .top-blog-sec h1.text-h1-sm {
        font-size: 2rem;
    }
}
@media (min-width: 768px) {
    .top-blog-sec h1.text-h1-md {
        font-size: 2.5rem;
    }
}
@media (min-width: 1024px) {
    .top-blog-sec h1.text-h1-lg {
        font-size: 3rem;
        text-align: left;
    }
    .top-blog-sec p {
        text-align: left;
        justify-content: flex-start;
    }
}
@media (min-width: 1280px) {
    .top-blog-sec h1.text-h1-lgg {
        font-size: 3.5rem;
    }
}
@media (min-width: 1536px) {
    .top-blog-sec h1.text-h1-xl {
        font-size: 4rem;
    }
}
@media (min-width: 1920px) {
    .top-blog-sec h1.text-h1-2xl {
        font-size: 4.5rem;
    }
}
.top-blog-sec img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    height: auto;
    border-radius: 12px;
    display: block;
    margin-top: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.top-blog-sec img:hover {
    transform: scale(1.02);
}
.animate-fade-in {
    opacity: 0;
    will-change: opacity, transform;
}
.animate-fade-in-active {
    animation: fadeIn 1s ease-out forwards;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 768px) {
    .top-blog-sec {
        padding-top: 6rem;
        padding-bottom: 5rem;
    }
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .top-blog-sec p {
        font-size: 0.7rem;
        gap: 0.4rem;
        margin-bottom: 1rem;
    }
    .top-blog-sec p a,
    .top-blog-sec p span {
        padding: 0.2rem 0.4rem;
    }
    .top-blog-sec img {
        margin-top: 1.5rem;
        max-height: 400px;
        border-radius: 8px;
    }
}
@media (max-width: 480px) {
    .top-blog-sec {
        padding-top: 4.5rem;
        padding-bottom: 3.5rem;
    }
    .top-blog-sec p {
        font-size: 0.65rem;
        align-items: center;
        gap: 0.3rem;
    }
    .top-blog-sec p span {
        margin-left: 0;
    }
    .top-blog-sec img {
        margin-top: 1rem;
        max-height: 300px;
    }
    .top-blog-sec h1 {
        margin-bottom: 1rem;
    }
}
@media (max-width: 360px) {
    .top-blog-sec {
        padding-top: 4rem;
        padding-bottom: 3rem;
    }
    .top-blog-sec p {
        font-size: 0.6rem;
    }
    .top-blog-sec img {
        max-height: 250px;
    }
}
article {
    font-family: inherit;
    line-height: inherit;
    color: inherit;
}
article h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 1.25rem 0 1rem;
}
article h3 {
    font-size: 1.75rem;
    font-weight: 500;
    color: #2c2c2c;
    margin: 1rem 0 0.8rem;
}
article h4 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #2c2c2c;
    margin: 0.8rem 0 0.6rem;
}
article h5 {
    font-size: 1.25rem;
    font-weight: 400;
    color: #3a3a3a;
    margin: 0.6rem 0 0.5rem;
}
article h6 {
    font-size: 1rem;
    font-weight: 400;
    color: #3a3a3a;
    margin: 0.5rem 0 0.4rem;
}
article p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #4a4a4a;
}
article span {
    font-size: 1rem;
    color: #4a4a4a;
}
article a {
    color: #f9a938;
    text-decoration: none;
    transition: color 0.3s ease;
}
article a:hover {
    color: #0056b3;
    text-decoration: underline;
}
article ul {
    list-style-type: disc;
    margin: 1rem 0;
    padding-left: 2rem;
}
article ul li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #4a4a4a;
}
article ol {
    list-style-type: decimal;
    margin: 1rem 0;
    padding-left: 2rem;
}
article ol li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #4a4a4a;
}
article table {
    width: 100%;
    border-collapse: separate;
    border: 1px solid #cacaca;
    border-spacing: 0;
    margin: 1.5rem 0;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}
article th,
article td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.4;
}
article th {
    background-color: #f9a938;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
article td {
    color: #4a4a4a;
}
article tr:nth-child(even) {
    background-color: #f9f9f9;
}
article tr:hover {
    background-color: #e6f0fa;
    transition: background-color 0.3s ease;
}
article table th:first-child,
article table td:first-child {
    border-left: 1px solid transparent;
}
article table th:last-child,
article table td:last-child {
    border-right: 1px solid transparent;
}
article table tr:last-child td {
    border-bottom: 0;
}
article blockquote {
    border-left: 4px solid #f9a938;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background-color: #f8f9fa;
    font-style: italic;
    color: #4a4a4a;
}
article code {
    font-family: "Fira Code", monospace;
    background-color: #f1f1f1;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #d63384;
}
article pre {
    background-color: #2d2d2d;
    color: #f8f8f2;
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
    margin: 1.5rem 0;
}
article pre code {
    background-color: transparent;
    padding: 0;
}
article img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5rem auto;
    border-radius: 6px;
}
@media (max-width: 1200px) {
    article h1 {
        font-size: 2.25rem;
    }
    article h2 {
        font-size: 1.875rem;
    }
    article h3 {
        font-size: 1.625rem;
    }
}
@media (max-width: 768px) {
    article h1 {
        font-size: 2rem;
    }
    article h2 {
        font-size: 1.75rem;
    }
    article h3 {
        font-size: 1.5rem;
    }
    article h4 {
        font-size: 1.3rem;
    }
    article h5 {
        font-size: 1.1rem;
    }
    article p,
    article ul li,
    article ol li {
        font-size: 0.95rem;
    }
    article table {
        font-size: 0.9rem;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        border-radius: 6px;
    }
    article th,
    article td {
        padding: 10px 12px;
    }
    article blockquote {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    article img {
        margin: 1rem auto;
    }
}
@media (max-width: 480px) {
    article h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    article h2 {
        font-size: 1.5rem;
        margin: 1rem 0 0.75rem;
    }
    article h3 {
        font-size: 1.25rem;
    }
    article h4 {
        font-size: 1.1rem;
    }
    article h5,
    article h6 {
        font-size: 1rem;
    }
    article p,
    article ul li,
    article ol li,
    article span {
        font-size: 0.9rem;
    }
    article ul,
    article ol {
        padding-left: 1.5rem;
        margin: 0.75rem 0;
    }
    article table {
        font-size: 0.85rem;
        display: block;
        overflow-x: auto;
    }
    article th,
    article td {
        padding: 8px 10px;
        min-width: 120px;
    }
    article th {
        font-size: 0.8rem;
    }
    article blockquote {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    article pre {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
    article img {
        margin: 0.75rem auto;
    }
}
@media (max-width: 360px) {
    article h1 {
        font-size: 1.5rem;
    }
    article h2 {
        font-size: 1.3rem;
    }
    article p,
    article ul li,
    article ol li,
    article span {
        font-size: 0.85rem;
    }
    article table {
        font-size: 0.8rem;
    }
    article th,
    article td {
        padding: 6px 8px;
        min-width: 100px;
    }
}
