/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

/* Header styles */
header {
    background-color: #f8f9fa;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    max-height: 50px;
}
.logo img{
    max-height: 50px;
}
/* Desktop Navigation */
.desktop-nav ul {
    display: flex;
    list-style: none;
}

.desktop-nav ul li {
    margin-left: 1.5rem;
}

.desktop-nav ul li a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
}

/* Mobile Navigation */
.mobile-nav-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #2c3e50;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #f8f9fa;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 100;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav ul li {
    padding: 1rem;
    border-top: 1px solid #ddd;
}

.mobile-nav ul li a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    display: block;
}

/* Hero section */
.hero {
    background-color: #3498db;
    color: white;
    padding: 3rem 1rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: #2c3e50;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #1a252f;
}

/* Courses section */
.courses {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #2c3e50;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.course-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.course-img {
    height: 180px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
}

.course-info {
    padding: 1.5rem;
}

.course-info h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.course-info p {
    margin-bottom: 1rem;
    color: #666;
}

/* Footer */
footer {
    margin-top: 3rem;
    padding: 1rem 0;
    background-color: #fafafa;
}
footer figure {
    width: 12%;
    height: 3rem;
    margin-right: 1rem;
}
footer ul{
    list-style-type: none;
}
.footer-container{
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
footer img{
    max-height: 50px !important;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-nav-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
}
/* Article styles */
.article {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.article-header {
    margin-bottom: 2rem;
}

.article-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

.article-meta span {
    margin-right: 1rem;
}

.article-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.article-content h2 {
    color: #2c3e50;
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.article-content h3 {
    color: #2c3e50;
    margin: 1.5rem 0 0.8rem;
    font-size: 1.2rem;
}

.article-content p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.warning-box {
    background-color: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
}

.warning-box h3 {
    color: #d32f2f;
    margin-top: 0;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-widget {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.widget-title {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.related-article {
    display: flex;
    margin-bottom: 1rem;
    align-items: center;
}

.related-article img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 1rem;
}

.related-article a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
}

.related-article a:hover {
    color: #3498db;
}

.newsletter-form input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.newsletter-form button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 0.8rem;
    width: 100%;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .main-container {
        grid-template-columns: 1fr;
    }

    .article-image {
        height: 300px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-nav-btn {
        display: block;
    }
}

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

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-meta span {
        margin-bottom: 0.5rem;
    }
}
/* Main content */
.main-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}
.ads-container{
    max-width: 900px;
    margin: 0 auto;
    padding: 10px;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.search-container {
    flex: 1;
    margin-right: 20px;
}

.menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu-footer-container .menu{
    gap: 50px;
}
.menu li a {
    text-decoration: none;
    color: inherit;
}
.search-form {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 30px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    max-width: 400px;
}

.styled-search-input {
    flex: 1;
    padding: 10px 16px;
    border: none;
    outline: none;
    font-size: 16px;
    border-radius: 30px 0 0 30px;
}

.styled-search-button {
    padding: 10px 20px;
    background-color: #007BFF;
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
    border-radius: 0 30px 30px 0;
    transition: background-color 0.3s ease;
}

.styled-search-button:hover {
    background-color: #0056b3;
}
.ad-card {
    background-color: #f2f2f2;
    border: 1px solid #c8d4f0;
    border-radius: 10px;
    padding: 16px;
    max-width: 900px;
    margin: 20px auto;
    font-family: 'Arial', sans-serif;
}

.ad-content {

}
.ad-desc-div{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}
.ad-text {
    flex: 1;
    min-width: 250px;
}

.ad-title {
    font-weight: 800;
    color: #000000;
    font-size: 22px;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 8px;
}

.ad-description {
    font-size: 17px;
    color: #333;
    margin-bottom: 6px;
}

.ad-url {
    font-size: 14px;
    color: #000000;
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
}

.ad-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    font-weight: bold;
    font-size: 14px;
    color: #000;
}

.ad-cta {
    display: flex;
    align-items: center;
}

.see-it-btn {
    background-color: #e44a1d;
    color: white;
    padding: 14px 24px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    width: 150px;
    text-align: center;
}

.see-it-btn span {
    margin-left: 6px;
    font-weight: bold;
}

.see-it-btn:hover {
    background-color: #d13e17;
}
.search-heading{
    float: right;
    font-size: 13px;
}
.ads-heading{
    font-size: 13px;
    margin-bottom: -15px;
}
.urlimg{
    max-height: 20px;
    margin: 4px;
    float: left;
}
.menu-footer-container{
    padding: 1rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .menu-footer-container .menu {
        display: inline;
    }
    .menu-footer-container .menu li{
        margin: 5px 0;
    }
}
.paginator {
    text-align: center;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

.pagination {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0 auto 10px;
    border-radius: 4px;
}

.pagination li {
    margin: 0 4px;
}

.pagination li a {
    display: block;
    padding: 8px 14px;
    color: #007bff;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    transition: background-color 0.2s ease-in-out;
}

.pagination li a:hover {
    background-color: #e9ecef;
}

.pagination li.disabled a {
    color: #6c757d;
    cursor: not-allowed;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.pagination li.active a {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}
article {
    padding: 1rem 1rem;
    max-width: 1200px;
    background: #fff;
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.2);
    padding: 2em;
    margin: 20px auto;
}
.entry-content{
    counter-reset: footnotes;
}
article p{
    margin-top: 0;
    margin-bottom: .5em;
    line-height: 30px;
}
header.entry-header{
    background: none;
    border: 0;
    box-shadow: none;
    margin-bottom: 10px;
    padding: 0;
}
ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
}
li {
    display: list-item;
    text-align: -webkit-match-parent;
    unicode-bidi: isolate;
}
@media (max-width: 768px) {
    header{
        background: none;
    }
    .logo img{
        max-width: 300px;
    }
    .footer-container  .footer-img {
        display: none;
    }
    .footer-container  .footer-links {
        flex: 0 1 90%;
    }
}