/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f7f7f7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

a {
    text-decoration: none;
    color: #663399;
}

img {
    max-width: 100%;
    height: auto;
}

/* Page Title */
.page-title {
    text-align: center;
    margin: 30px 0;
    font-size: 32px;
    color: #333;
    font-weight: bold;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Blog Card */
.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.9);
    color: #663399;
    padding: 8px 15px;
    font-weight: bold;
    font-size: 14px;
    border-top-right-radius: 8px;
}

.blog-content {
    padding: 20px;
}

.blog-content h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    font-weight: bold;
    line-height: 1.4;
    min-height: 50px;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #777;
    margin-bottom: 15px;
}

.read-more-btn {
    display: inline-block;
    background: #663399;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.read-more-btn:hover {
    background: #522b79;
}

.read-more-btn i {
    margin-left: 5px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.pagination a, .pagination-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: 4px;
    color: #333;
    font-weight: bold;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #e6e6e6;
}

.pagination .active {
    background: #663399;
    color: white;
}

.pagination .next-page {
    background: #e6e6e6;
}

/* Sidebar */
.sidebar {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.recent-posts h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #663399;
    padding-bottom: 10px;
}

.recent-posts ul {
    list-style: none;
}

.recent-posts li {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.recent-posts li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-posts a {
    color: #333;
    transition: color 0.3s ease;
}

.recent-posts a:hover {
    color: #663399;
}

/* Disclaimer */
.disclaimer {
    background: #f0f0f0;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #ddd;
}

.disclaimer p {
    font-size: 14px;
    color: #666;
    text-align: justify;
}

/* Media Queries for Responsiveness */
@media (max-width: 1200px) {
    .container {
        padding: 15px;
    }
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 28px;
        margin: 20px 0;
    }
    
    .blog-content h2 {
        font-size: 16px;
    }
    
    .blog-footer {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .pagination a, .pagination-dots {
        width: 30px;
        height: 30px;
        margin: 0 3px;
        font-size: 14px;
    }
    
    .sidebar {
        padding: 15px;
    }
    
    .recent-posts h3 {
        font-size: 18px;
    }
}


/* //blog pages css all blog pages // */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9fa;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Full Width Blog Container */
.blog-container {
    width: 100%;
    background-color: #fff;
}

.full-width {
    margin: 0;
    padding: 0;
    box-shadow: none;
}

/* Hero Section */
.blog-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    max-height: 650px;
    overflow: hidden;
}

.blog-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75);
}

.blog-title {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 80px max(5vw, 30px) 50px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.blog-title h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.blog-meta span {
    display: flex;
    align-items: center;
}

.blog-meta i {
    margin-right: 8px;
    color: #87CEEB;
}

/* Content Wrapper */
.blog-content {
    padding: 20px;
    background-color: #fff;
    width: 100%;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px;
}

/* Blog Sections */
.blog-section {
    margin-bottom: 70px;
}

.section-header {
    position: relative;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #0052cc;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    height: 3px;
    width: 60px;
    background-color: #87CEEB;
}

.blog-intro {
    font-size: 1.25rem;
    color: #444;
    margin-bottom: 50px;
    line-height: 1.8;
    border-left: 4px solid #0052cc;
    padding-left: 25px;
    background-color: #f0f8ff;
    padding: 25px 25px 25px 30px;
    border-radius: 0 8px 8px 0;
}

h2 {
    color: #0052cc;
    /*margin: 50px 0 20px;*/
    font-size: 2.2rem;
    letter-spacing: -0.5px;
    font-weight: 700;
}

h3 {
    color: #2c3e50;
    margin: 30px 0 15px;
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 40px 0;
}

.two-column.reversed {
    direction: rtl;
}

.two-column.reversed .column-text {
    direction: ltr;
}

.column-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Highlight Cards */
.highlights-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.highlight-card {
    background-color: #f0f8ff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 3px solid #87CEEB;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.highlight-icon {
    font-size: 2.5rem;
    color: #0052cc;
    margin-bottom: 15px;
}

.highlight-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #0052cc;
}

.highlight-card p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    background-color: #f0f8ff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 50px 0;
    border-top: 4px solid #0052cc;
}

.cta-section h3 {
    margin-top: 0;
    color: #0052cc;
    font-size: 1.8rem;
}

.cta-section p {
    max-width: 800px;
    margin: 20px auto;
}

.cta-button {
    display: inline-block;
    background-color: #0052cc;
    color: white;
    padding: 16px 36px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 82, 204, 0.3);
}

.cta-button:hover {
    background-color: #003d99;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 82, 204, 0.4);
}

/* FAQ Section */
.faq-section {
    margin: 70px 0;
}

.faq-container {
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 30px;
    background-color: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #0052cc;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0052cc;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 0 20px;
    margin: 0;
}

.faq-item.active .faq-question {
    background-color: #e6f0ff;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* Share Section */
.blog-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 50px 0;
    padding: 25px 0;
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
}

.blog-share p {
    margin-bottom: 0;
    font-weight: 600;
    color: #333;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f0f8ff;
    color: #0052cc;
    border-radius: 50%;
    transition: all 0.3s;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.social-icons a:hover {
    background-color: #0052cc;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

/* Related Articles */
.related-articles {
    margin-top: 60px;
}

.related-articles h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #0052cc;
    font-size: 1.8rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-7px);
}

.related-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-card h4 {
    padding: 20px;
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .two-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .two-column.reversed {
        direction: ltr;
    }
    
    .content-wrapper {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        height: 50vh;
    }
    
    .blog-title {
        padding: 40px 20px 30px;
    }
    
    .blog-title h1 {
        font-size: 1.8rem;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .highlights-container {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .blog-intro {
        font-size: 1.1rem;
    }
    
    .cta-section {
        padding: 30px 20px;
    }
    
    .cta-button {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        height: 40vh;
    }
    
    .blog-title h1 {
        font-size: 1.5rem;
    }
    
    .blog-share {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
}