/* 1. Reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

b {
  font-weight: bold; /* Makes sure bold is applied */
}

table {
    border-collapse: collapse;
    width: 90%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    color: #667;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: medium;
}

td,
th {
    border: 1px solid;
    text-align: left;
    padding: 8px;
}

tr:nth-child(even) {
    background-color: #dddddd;
}

@media (max-width: 600px) {
    .table-container {
        overflow-x: auto;
        /* Enable horizontal scrolling */
        -webkit-overflow-scrolling: touch;
        /* Smooth scrolling for touch screens */
    }

    table {
        width: 100%;
        /* Full-width table to fit container */
        box-shadow: none;
        /* Remove shadow for a cleaner look */
    }

    td,
    th {
        white-space: wrap;
        /* Prevent text wrapping inside cells */
    }
}


/* 2. Common section styles */
section {
    padding: 80px 0;
    text-align: center;
}

.container {

    padding: 0 20px;
}



/* 3. Header style */
header {
    /* background-color: #34113f; */
    /* background: rgb(52, 17, 63); */
    /* background: linear-gradient(122deg, rgba(52, 17, 63, 1) 0%, rgba(255, 255, 255, 1) 82%, rgba(150, 125, 191, 1) 100%); */
    color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: colorheader 11s infinite linear;

}

@keyframes colorheader {
    0% {
        background: #900ac5;
    }

    20% {
        background: #1a7bca;
    }

    37% {
        background: #4233cc;
    }

    50% {
        background: #16151a;
    }

    63% {
        background: #2077be;
    }

    80% {
        background: #1a7bca;
    }

    100% {
        background: #900ac5;
    }
}

/* header h1 {
    font-size: 24px;
    padding: 10px;
    font-weight: 700;
    color: #beb7df;
} */

/* Search Form Styling */
form {
    margin: 1px;
}

form h2 {
    color: #34113f;
    margin-bottom: 1px;
    text-align: center;
}

form input[type="text"],
form textarea {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

form button {
    background-color: #34113f;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #25526a;
}



/* 4. Button style */
.btn {
    display: inline-block;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #555;
}



/* 5. Hamburger menu style */
.menu {
    display: inline-block;
    cursor: pointer;
    margin-top: 1%;
}

.bar1,
.bar2,
.bar3 {
    width: 35px;
    height: 5px;
    background-color: #beb7df;
    margin: 6px 0;
    transition: 0.4s;
}

/* rotate first bar */
.change .bar1 {
    transform: translate(0, 11px) rotate(-45deg);
}

/* fade out the second bar */
.change .bar2 {
    opacity: 0;
}

/* rotate last bar */
.change .bar3 {
    transform: translate(0, -11px) rotate(45deg);
}

.menu-content {
    display: none;
}

.menu-content.active {
    display: block;
}

.menu-content a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #beb7df;
    transition: background-color 0.3s;
}

.menu-content a:hover {
    background-color: #d4f2d2;
    color: #000000;

}



/* 6. Footer */
footer {
    background-color: #222228;
    color: #fff;
    padding: 40px 0;
    text-align: left;
}

footer a {
    color: #987eaf;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-notice {
    padding: 20px 0;
    text-align: center;
    align-items: center;
    display: flexbox;
    flex-direction: column;
}

.footer-left,
.footer-right {
    width: 40%;
    margin-bottom: 20px;
}

.footer-right {
    float: right;
}

.footer-left h3,
.footer-right h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
}

.footer-left p {
    margin: 5px 0;
    font-size: 1em;
}



/* 7. Social icons */
.social-icons {
    display: flex;
    justify-content: flex-start;
}

@media (max-width: 600px) {
    .social-icons {
        display: flex;
        flex-wrap: wrap;
        /* Allow wrapping */
        line-height: 2.5;
    }
}

@media (max-width: 600px) {
    .social-icons i {
        font-size: 2rem;
    }
}

.social-icons a {
    text-decoration: none;
    display: inline-block;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.social-icons img {
    width: 24px;
    height: 24px;
}

.social-icons a:hover {
    transform: scale(1.2);
}

.icon-nomeha {
    width: 2.5em;        
    height: 2.5em;
    fill: currentColor;
}

/* Make all icons vertically aligned and same size */
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px; /* spacing between icons */
    transition: transform 0.3s ease;
}

/* For font icons */
.social-icons i {
    font-size: 2rem;
    vertical-align: middle;
}

/* For SVG icons */
.social-icons svg {
    width: 2.5em;
    height: 2.5em;
    fill: currentColor;
    vertical-align: middle;
}

/* Optional: hover effect to enlarge icons slightly */
.social-icons a:hover {
    transform: scale(1.2);
}


/* 8. Sscroll down arrow */
.scroll-down-arrow:hover {
    border-color: #000000;
}

.scroll-down-arrow-v2:hover {
    border-color: #987eaf;
}

.scroll-down-arrow-v3:hover {
    border-color: #000000;
}

.scroll-down-arrow-v4:hover {
    border-color: #53638e;
}

.scroll-down-arrow-v4 {
    border-color: #ffffff;
    border-width: 0vw 0.5vw 0.5vw 0vw;
    border-style: solid;
    height: 2.5vw;
    width: 2.5vw;
    transform: rotate(45deg);
    transition: border-width 100ms;
    margin: 20px auto;
}

.scroll-down-arrow-v3 {
    border-color: #000000;
    border-width: 0vw 0.5vw 0.5vw 0vw;
    border-style: solid;
    height: 2.5vw;
    width: 2.5vw;
    transform: rotate(45deg);
    transition: border-width 100ms;
    margin: 20px auto;
}

.scroll-down-arrow-v2 {
    border-color: #000000;
    border-width: 0vw 0.5vw 0.5vw 0vw;
    border-style: solid;
    height: 2.5vw;
    width: 2.5vw;
    transform: rotate(45deg);
    transition: border-width 100ms;
    margin: 20px auto;
}

.scroll-down-arrow {
    border-color: #ffffff;
    border-width: 0vw 0.5vw 0.5vw 0vw;
    border-style: solid;
    height: 2.5vw;
    width: 2.5vw;
    transform: rotate(45deg);
    transition: border-width 100ms;
    margin: 20px auto;
}

/* 9. Hero Section */
.hero {
    background-image: url('pics/hero.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Blurred Background */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    /* Adjust the blur intensity */
    z-index: -1;
    transform: scale(1.1);
    /* Slightly enlarge the image to avoid edge clipping due to blur */
}

.hero h2 {
    display: inline-block;
    /* background-color: #fff; */
    color: #fff;
    padding: 20px 40px;
    border: 10px solid #f1f1f1;
    /* border-radius: 10px; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 7em;
    margin-bottom: 20px;
    font-weight: bolder;
}

.hero p {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 30px;
    color: #fff;
}


/* 10. Features Section */
.features {
    background-color: #aba9bf;
    padding: 80px 0;
    text-align: center;
}

.features h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

.feature {
    margin-bottom: 40px;
}

.feature img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.feature p {
    font-size: 1.1em;
    color: #666;
}



/* 11. Mission Section */
.mission {
    padding: 80px 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9));
    text-align: center;
    color: #333;
    position: relative;
    overflow: hidden;
}

.mission h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #222;
    position: relative;
    z-index: 2;
}

.mission .decorative-line {
    width: 80px;
    height: 4px;
    background-color: #007bff;
    margin: 0 auto 30px auto;
    position: relative;
    z-index: 2;
}

.mission p {
    font-size: 1.2em;
    margin-bottom: 25px;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeInUp 1s forwards;
}

.mission p:nth-child(2) {
    animation-delay: 0.3s;
}

.mission p:nth-child(3) {
    animation-delay: 0.6s;
}

.mission .btn {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 2;
    margin-top: 20px;
}

.mission .btn:hover {
    background-color: #0056b3;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* Background Animation */
.mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150px;
    width: 300px;
    height: 300px;
    background: rgba(0, 123, 255, 0.2);
    border-radius: 50%;
    animation: moveBackground 10s infinite linear;
}

.mission::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    background: rgba(0, 123, 255, 0.2);
    border-radius: 50%;
    animation: moveBackground 12s infinite linear;
}

/* Keyframes for Animations */
@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(50px, 50px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* 12. Index Text Section */
.text-section {
    padding: 60px 0;
    background-color: #f8f8f8;
    text-align: center;
    color: #333;
    line-height: 1.6;
}

.text-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #222;
}

.text-section p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.text-section .btn {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 2;
    margin-top: 20px;
}

.text-section .btn:hover {
    background-color: #0056b3;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}



/* 13. Back to top */
#back-to-top {
    position: fixed;
    color: #f1f1f1;
    background-color: #987eaf;
    bottom: 20px;
    right: 20px;
    display: none;
    font-size: 24px;
    width: 50px;
    z-index: 1;
    height: 50px;
    line-height: 29px;
    text-align: center;
    cursor: pointer;
}



/* 14. Partner Section */
.partner-section {
    padding: 80px 0;
    background-color: #ebf0f5;
    position: relative;
    overflow: hidden;
    animation: color 9s infinite linear;
}

@keyframes color {
    0% {
        background: #33CCCC;
    }

    20% {
        background: #33CC36;
    }

    40% {
        background: #B8CC33;
    }

    60% {
        background: #FCCA00;
    }

    80% {
        background: #33CC36;
    }

    100% {
        background: #33CCCC;
    }
}

.partner-section .container {
    display: flex;
    max-width: 55%;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;

}

/* .partner-section .partner-content {
    max-width: 600px;
    z-index: 2;
} */

.partner-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #222;
    margin-left: auto;
    margin-right: auto;
}

.partner-section p {
    font-size: 1.2em;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    color: #555;
}

.partner-section a {
    color: #007bff;
    text-decoration: none;
}



/* 15. Featured Article */
.hero-article {
    background: rgb(83, 99, 142);
    background: linear-gradient(122deg, rgba(83, 99, 142, 1) 0%, rgba(164, 121, 182, 1) 24%, rgba(220, 138, 196, 1) 82%, rgba(62, 105, 137, 1) 100%);
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

.hero-article .featured-article {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 55%;
    margin: 0 auto;
}

.hero-article img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.hero-article h1 {
    font-size: 3em;
    margin-bottom: 10px;
    color: #fff;
}

.hero-article .author {
    font-style: italic;
    color: #ddd;
    margin-bottom: 20px;
}

.hero-article p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.hero-article .btn {
    display: inline-block;
    background-color: #53638e;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.hero-article .btn:hover {
    background-color: #222228;
}



/* 16. Code Store Section */
.code-store {
    padding: 80px 0;
    background-color: #ffffff;
    text-align: center;
}

.code-store h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #222;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.store-item {
    background-color: #f7f9fc;
    border: 1px solid #e0e6ed;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.store-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.2);
}

.store-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 20px;
}

.store-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

.store-item p {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
}

.store-item .price {
    font-size: 1.3em;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 20px;
}

.store-item .btn-primary {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.store-item .btn-primary:hover {
    background-color: #0056b3;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

@media (max-width: 600px) {
    .code-store {
        padding: 40px 0;
    }

    .code-store h2 {
        font-size: 2em;
        /* Slightly smaller font size for headers */
        margin-bottom: 30px;
    }

    .store-grid {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
        /* Full width items on small screens */
        gap: 20px;
    }

    .store-item {
        padding: 15px;
        /* Reduced padding for store items */
    }

    .store-item h3 {
        font-size: 1.3em;
        /* Smaller font size for item titles */
        margin-bottom: 8px;
    }

    .store-item p {
        font-size: 0.9em;
        /* Smaller font size for item descriptions */
        margin-bottom: 15px;
    }

    .store-item .price {
        font-size: 1.1em;
        /* Adjusted price font size */
        margin-bottom: 15px;
    }

    .store-item .btn-primary {
        padding: 8px 15px;
        /* Reduced button padding */
        font-size: 0.9em;
        /* Smaller font size for buttons */
    }
}




/* 17. Cards Section */
.cards-section {
    background: rgb(133, 113, 172);
    background: linear-gradient(257deg, rgba(133, 113, 172, 1) 0%, rgba(71, 78, 124, 1) 24%, rgba(193, 162, 222, 1) 82%, rgba(240, 213, 228, 1) 100%);
    padding: 80px 0;
    text-align: center;
}

.cards-section h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

}

.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 30%;
    margin-bottom: 30px;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease;
    height: fit-content;

}

.card img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
}

.card h3 {
    font-size: 1.5em;
    margin: 20px 15px 10px;
}

.card p {
    font-size: 1em;
    color: #666;
    margin: 0 15px 20px;
}

.card .btn {
    display: block;
    text-align: center;
    margin: 0 15px 20px;
    background-color: #333;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.card .btn:hover {
    background-color: #555;
}

.card:hover {
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .card {
        width: 48%;
    }
}

@media (max-width: 768px) {
    .card {
        width: 100%;
    }
}



/* 18. Pre Section */
pre {
    background-color: #282c34;
    /* Darker background for better contrast */
    border: 1px solid #4b5563;
    /* More subtle border color */
    border-radius: 5px;
    /* Slightly rounded corners for a softer look */
    white-space: pre-wrap;
    /* Preserve whitespace and wrap text as needed */
    word-wrap: break-word;
    /* Let long words break onto the next line */
    overflow-x: auto;
    /* Horizontal scrolling for overly long lines */
    /* max-height: 300px; Set a max height for vertical scrolling */
    overflow-y: auto;
    /* Vertical scrolling if needed */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    /* Enhanced shadow for depth */
    width: 80%;
    /* Maintain responsive width */
    margin: 20px auto;
    /* Add margin for spacing */
    padding: 15px;
    /* Add padding for better text spacing */
    font-family: 'Courier New', Courier, monospace;
    /* Use a monospaced font */
    font-size: 14px;
    /* Increased font size for readability */
    color: #f8f8f2;
    /* Lighter text color for better contrast */
    line-height: 1.5;
    /* Increase line spacing for readability */
    border-left: 5px solid #61dafb;
    /* Add a left border accent color */
    position: relative;
    /* Positioning for potential pseudo-elements */

}

pre::before {
    content: "Code Block";
    /* Optional label above */
    position: absolute;
    /* Allows positioning within the pre element */
    top: 1px;
    /* Adjust placement */
    left: 2px;
    /* Align with padding */
    background: #f8f8f2;
    /* Same as background color */
    padding: 2px 8px;
    /* Padding for the label */
    font-size: 12px;
    /* Smaller font for the label */
    color: #75715e;
    /* A gray color for subtlety */
    border-radius: 4px;
    /* Rounded label background */
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    /* Shadow for emphasis */
}

@media (max-width: 768px) {
    pre {
        width: 95%;
    }
}


/* 19. Blog Article Section */
.blog-content {
    padding: 60px 0;
    background-color: #f2f2f2;
}

.blog-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #222;
}

.blog-meta {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 30px;
}

.blog-image {
    width: auto;
    height: auto;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    max-width: 100%;

}

.blog-body {
    text-align: left;
    font-weight: 200;
}

.blog-body img {
    width: auto;
    height: auto;
    border-radius: 10px;
    margin: 0 auto 30px;
    /* This centers the image horizontally */
    display: block;
    /* This is needed to make the margins work */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    max-width: 100%;

}

.blog-body p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.2em;
    color: #444;
}

.blog-body a {
    color: #007bff;
    text-decoration: none;
}

.blog-body hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

.mermaid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
}



/* 20. Search Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 100000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 5px;

}

.modal-content a {
    color: #007bff;
    text-decoration: none;
}

.modal-content {
    background-color: #fefefe;
    line-height: 1.6;
    margin: auto;
    border-radius: 5px;
    padding: 20px;
    border: 1px solid #888;
    width: 70%;
    max-height: calc(100% - 240px);
    /* Ensure modal content doesn't exceed viewport height */
    overflow-y: auto;
    /* Enable vertical scrolling for modal content */
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Custom scrollbar for webkit browsers */
.modal-content::-webkit-scrollbar {
    width: 12px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #879aad;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #3b4d61;
}



/* 21. Counter Section */
.counter-section {
    padding: 80px 0;
    background-color: #f7f9fc;
    text-align: center;
}

.counter-section h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #222;
}

.counters {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.counter-item {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.1);
    padding: 40px 20px;
    width: 250px;
    transition: transform 0.3s ease;
}

.counter-item:hover {
    transform: translateY(-10px);
}

.counter-item i {
    font-size: 3em;
    color: #007bff;
    margin-bottom: 20px;
}

.counter-value {
    font-size: 3em;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 10px;
}

.counter-item p {
    font-size: 1.2em;
    color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .counters {
        flex-direction: column;
    }

    .counter-item {
        margin-bottom: 20px;
    }
}



@media (max-width: 768px) {
    .hero {
        padding: 70px 0;
    }

    .hero h2 {
        font-size: 4em;
        padding: 15px 30px;
        border-width: 8px;
    }

    .hero p {
        font-size: 1.8em;
    }

    .scroll-down-arrow,
    .scroll-down-arrow-v4,
    .scroll-down-arrow-v3,
    .scroll-down-arrow-v2 {
        height: 3.5vw;
        width: 3.5vw;
        border-width: 0vw 0.7vw 0.7vw 0vw;
    }

    .hero-article .featured-article {

        max-width: 95%;
    }

    .partner-section .container {

        max-width: 95%;
    }
}

/* For mobile devices (480px and below) */
@media (max-width: 480px) {
    .hero {
        padding: 50px 0;
    }

    .hero h2 {
        font-size: 2.8em;
        padding: 10px 20px;
        border-width: 6px;
    }

    .hero p {
        font-size: 1.5em;
        margin-bottom: 20px;
    }

    .scroll-down-arrow,
    .scroll-down-arrow-v4,
    .scroll-down-arrow-v3,
    .scroll-down-arrow-v2 {
        height: 5vw;
        width: 5vw;
        border-width: 0vw 1vw 1vw 0vw;
    }
}





/* 22. All Articles Section */
.articles-section {
    padding: 50px;
    background-color: #F3F0F6;
    /* Very Light Lavender */
    text-align: center;
}

.section-title {
    font-size: 2.5em;
    color: #420c6e;
    /* Purple */
    margin-bottom: 40px;
}

/* Articles List */
.articles-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* Article Card */
.article-item {
    background-color: #e7dbe9;
    /* Light Purple */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(156, 39, 176, 0.2);
    /* Soft Purple Shadow */
    padding: 20px;
    text-align: left;
    transition: transform 0.3s ease;
}

.article-item:hover {
    transform: translateY(-10px);
}

.article-title {
    font-size: 1.5em;
    color: #420c6e;
    /* Purple */
    margin-bottom: 15px;
}

.article-description {
    font-size: 1em;
    color: #212121;
    /* Rich Black */
    margin-bottom: 20px;
}

.article-btn {
    background-color: #2b1230;
    /* Purple */
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.article-btn:hover {
    background-color: #8E24AA;
    /* Darker Purple */
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.pagination-btn {
    background-color: #2b1230;
    /* Purple */
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pagination-btn:hover {
    background-color: #8E24AA;
    /* Darker Purple */
}

.pagination-btn:disabled {
    background-color: #B39DDB;
    /* Muted Lavender */
    cursor: not-allowed;
}

.page-info {
    font-size: 1.2em;
    color: #212121;
    /* Rich Black */
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
    .article-item {
        padding: 15px;
        text-align: center;
    }

    .articles-section {
        padding: 10px;
    }

    .pagination-btn {
        width: 70%
    }

    .article-btn {
        display: block;
        width: 100%;
        margin-top: 10px;
    }
}




/* 23. 'Buy me' Button */
.buy-me-btn {
    background-color: #1c0738;
    /* Teal color to align with site colors */
    color: #ffffff;
    /* White text for good contrast */
    padding: 12px 24px;
    /* Comfortable padding */
    border-radius: 8px;
    /* Soft, rounded corners */
    font-size: 1.2em;
    /* Slightly larger font size for emphasis */
    text-align: center;
    border: none;
    /* No border */
    cursor: pointer;
    /* Pointer on hover */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Soft shadow for 3D effect */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    /* Smooth hover transitions */
    display: inline-block;
    /* Ensure it acts as a block element */
    text-decoration: none;
    /* Remove underline for link usage */
}

/* Hover Effect for Button */
.buy-me-btn:hover {
    background-color: #590bc0;
    /* Darker teal on hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    /* Slightly stronger shadow on hover */
}

/* Button Alignment */
.buy-me-btn-container {
    text-align: center;
    /* Center-align button in the container */
    margin-top: 20px;
    /* Add space above the button */
}




/* Banner container */
.promo-banner {
    background: rgba(30, 144, 255, 0.1);
    color: #333;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 10px 0;
}

/* Scrolling content */
.promo-banner-content {
    display: inline-flex;
    animation: scroll-text 18s linear infinite;  /* adjust based on banner text lenght */
    /* will-change: transform; */
}

/* Text style */
.promo-banner-text {
    display: inline-block;
    font-size: 1.1rem;
    padding: 0 50px;  /* adjust based on banner text lenght */
}

/* Link styles */
.promo-link {
    color: #1e90ff;
    text-decoration: underline;
}

.promo-link:hover {
    text-decoration: none;
    color: #0056b3;
}

/* Scrolling animation */
@keyframes scroll-text {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

@media (max-width: 600px) {

    /* Scrolling content */
    .promo-banner-content {
        display: inline-flex;
        animation: scroll-text 10s linear infinite;  /* adjust based on banner text lenght */
        will-change: transform;
    }

    /* Text style */
    .promo-banner-text {
        display: inline-block;
        padding: 0 80px;  /* adjust based on banner text lenght */
    }
}