/* --- Global Styles --- */
:root {
    --bg-color: #f0f2f5;
    --text-color: #333333;
    --accent-color: #1877f2;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
    --subtle-text: #666666;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1162c9;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Header --- */
.pro-header {
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.pro-header .pro-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pro-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
}

.pro-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.pro-nav-link {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    text-decoration: none;
    transition: color 0.3s;
}

.pro-nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease-in-out;
}

.pro-nav-link:hover::after {
    width: 100%;
}

.search-container {
    position: relative;
}
.search-input {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    background-color: var(--bg-color);
    color: var(--text-color);
    width: 200px;
    transition: width 0.3s ease;
}
.search-input:focus {
    outline: none;
    border-color: var(--accent-color);
    width: 250px;
}
.search-button {
    background: none;
    border: none;
    color: var(--text-color);
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}


/* --- Main Content --- */
.pro-main {
    padding-top: 3rem;
    min-height: 80vh;
}

/* --- Hero Section --- */
.pro-hero-section {
    text-align: center;
    padding: 8rem 0;
    margin-bottom: 3rem;
    border-radius: 10px;
    background-color: #e7f3ff;
}

.pro-hero-heading {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.pro-hero-subheading {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--subtle-text);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.pro-btn {
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.pro-btn:hover {
    background-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* --- Article Grid --- */
.pro-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.pro-article-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.pro-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pro-article-thumbnail {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pro-article-card:hover .pro-article-thumbnail {
    transform: scale(1.05);
}

.pro-article-content {
    padding: 1.5rem;
}

.pro-article-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.pro-article-meta {
    font-size: 0.9rem;
    color: var(--subtle-text);
}

/* --- Pagination --- */
.pro-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pro-page-link {
    display: block;
    padding: 0.6rem 1rem;
    border-radius: 5px;
    font-weight: 500;
    color: var(--subtle-text);
    border: 1px solid var(--border-color);
    transition: background-color 0.3s;
}

.pro-page-link:hover {
    background-color: var(--border-color);
    color: var(--accent-color);
}

.pro-page-link.active {
    background-color: var(--accent-color);
    color: var(--card-bg);
    border-color: var(--accent-color);
}

.pro-pagination span {
    color: var(--subtle-text);
    padding: 0.6rem;
}

/* --- Article Detail Page --- */
.article-detail {
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: 10px;
    margin-top: 2rem;
    border: 1px solid var(--border-color);
}

.article-header {
    text-align: center;
    margin-bottom: 2rem;
}

.article-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.article-meta {
    font-size: 0.9rem;
    color: var(--subtle-text);
    margin-bottom: 0;
}

.article-image-container {
    text-align: center;
    margin-bottom: 2rem;
}

.article-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.article-body p {
    margin-bottom: 1.5rem;
}

/* New Blockquote style */
blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--subtle-text);
    font-size: 1.2rem;
}

.ad-container {
    background-color: #f0f2f5;
    border: 1px solid #ddd;
    padding: 1.5rem;
    text-align: center;
    border-radius: 8px;
    color: var(--subtle-text);
    font-style: italic;
    margin: 2rem 0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 2rem 0;
    border-radius: 10px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.pdf-download-section {
    text-align: center;
    margin: 2rem 0;
}

.download-btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: #1162c9;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.important-links-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.links-heading {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.link-list {
    list-style-type: none;
    padding: 0;
}

.link-list li {
    margin-bottom: 0.5rem;
}

.link-list li a {
    color: var(--subtle-text);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.link-list li a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.related-articles-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.pro-about-section, .pro-contact-section, .pro-privacy-section, .pro-terms-section, .pro-error-section {
    padding: 3rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.pro-about-heading, .pro-contact-heading, .pro-privacy-heading, .pro-terms-heading {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.pro-about-subheading, .pro-contact-subheading, .pro-privacy-content, .pro-terms-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--subtle-text);
}

.pro-contact-form-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--bg-color);
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    background-color: var(--card-bg);
    color: var(--text-color);
}

.pro-error-section {
    text-align: center;
}

.pro-error-code {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 700;
    color: var(--accent-color);
}

.pro-error-heading {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pro-error-message {
    font-size: 1.2rem;
    color: var(--subtle-text);
    margin-bottom: 2rem;
}


/* --- Footer --- */
.pro-footer {
    background-color: var(--card-bg);
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.pro-footer .pro-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.pro-footer p {
    color: var(--subtle-text);
}

.footer-links a {
    color: var(--subtle-text);
    margin-left: 1rem;
    text-decoration: none;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .pro-header .pro-container {
        flex-direction: column;
        gap: 1rem;
    }
    .pro-nav {
        margin-top: 1rem;
        justify-content: center;
    }
    .pro-hero-heading {
        font-size: 2.5rem;
    }
    .pro-articles-grid {
        grid-template-columns: 1fr;
    }
    .pro-footer .pro-container {
        flex-direction: column;
    }
    .article-title {
        font-size: 2rem;
    }
    .article-image-container {
        padding: 0;
    }
    .article-detail {
        padding: 1.5rem;
    }
    .pro-login-container {
        padding: 1.5rem;
    }
    .pro-hero-section, .pro-about-section, .pro-contact-section, .pro-privacy-section, .pro-terms-section, .pro-error-section {
        padding: 1.5rem;
    }
    .pro-about-heading, .pro-contact-heading, .pro-privacy-heading, .pro-terms-heading {
        font-size: 2rem;
    }
    .pro-about-subheading, .pro-contact-subheading, .pro-privacy-content, .pro-terms-content {
        font-size: 1rem;
    }
    .pro-articles-grid, .related-articles-section .pro-articles-grid {
        grid-template-columns: 1fr;
    }
}
