﻿/* ========================================
   Reset & Base Styles
======================================== */
body, h1, h2, h3, h4, p, a {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    color: #2C2C2C;
    text-decoration: none;
    margin-bottom: 1.25rem;
}

body {
    background-color: #FAFAFA;
    line-height: 1.6;
    padding-top: 100px;
}

/* Container */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 1rem;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-radius: 0.75rem;
    overflow: hidden;
}

    table thead {
        background-color: #F3F4F6;
        color: #1F2937;
    }

    table th, table td {
        padding: 1rem;
        text-align: left;
        border-bottom: 1px solid #E5E7EB;
        vertical-align: top;
    }

    table tr:last-child td {
        border-bottom: none;
    }

@media (max-width: 768px) {
    table, thead, tbody, th, td, tr {
        display: block;
    }

        table thead {
            display: none;
        }

        table tr {
            margin-bottom: 1rem;
            background: #fff;
            padding: 1rem;
            border-radius: 0.5rem;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
        }

        table td {
            padding: 0.5rem 0;
            position: relative;
        }

            table td::before {
                content: attr(data-label);
                font-weight: bold;
                color: #6B7280;
                display: block;
                margin-bottom: 0.25rem;
            }
}


/* ========================================
   Header
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100px; /* adjust to your actual header height */
    background: white;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}


.header-container {
    display: flex;
    justify-content: center;
    height: 100px;
}

.logoImage {
    max-height: 150px;
    height: auto;
    width: auto;
}

/* Navigation */
.nav {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    flex-wrap: nowrap;
    margin-bottom: 20px;
}

.nav-group {
    display: flex;
    align-items: center; /* vertically center items */
    justify-content: space-between; /* or center, based on layout */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 100%;
    margin-top: 15px;
}

.nav a {
    color: #2C2C2C;
    font-size: 1rem !important;
    transition: color 0.3s ease;
}

    .nav a:hover {
        color: #6366F1;
    }


/* ========================================
   Hero Section
======================================== */
.hero {
    position: relative;
    padding: 4rem 0;
    background: linear-gradient(135deg, #E5E7EB 0%, #FAFAFA 100%);
    overflow: hidden;
    text-align: center;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2C2C2C;
    white-space: nowrap;
}

.hero-subtitle,
.hero p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #2C2C2C;
    font-weight: 400;
}

.animated-word {
    display: inline-block;
    transition: opacity 0.4s ease;
    color: #6366F1;
    font-weight: 600;
    position: relative;
    padding-bottom: 2px;
}

.underline-highlight::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #6366F1;
}

#dynamicWordWrapper {
    display: inline-block;
    min-width: 80px;
    text-align: left;
}

.hero-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 300px;
    height: 300px;
    background: #F47264;
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
}

/* ========================================
   Buttons
======================================== */
.btn-primary {
    background-color: #6366F1;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    align-self: flex-start;
}

    .btn-primary:hover {
        background-color: #4F46E5;
    }

/* ========================================
   Features Section
======================================== */
.features {
    padding: 4rem 0;
}

    .features h3 {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 2rem;
        color: #2C2C2C;
    }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

    .feature-card:hover {
        transform: translateY(-5px);
    }

    .feature-card h4 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
        color: #6366F1;
    }

    .feature-card p {
        color: #2C2C2C;
        line-height: 1.4;
    }

/* ========================================
   Blog Section
======================================== */
.blog {
    padding: 4rem 0;
    background-color: #FAFAFA;
}

    .blog h3 {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 2rem;
        color: #2C2C2C;
    }

/* Search Input */
#searchInput {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    font-size: 1rem;
}

/* Blog List Layout */
.blog-content-wrapper {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.blog-list {
    flex: 3;
    list-style: none;
    padding: 0;
    max-width: 720px;
    margin: 0 auto;
}

/* Blog Item */
.blog-item {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #E5E7EB;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
    padding-bottom:unset;
}

    .blog-item:hover {
        transform: translateY(-5px);
        background: #f9f9f9;
        padding: 1rem;
        border-radius: 8px;
    }

/* Blog Title */
.blog-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #6366F1;
    text-decoration: none;
    transition: color 0.3s;
    margin-bottom:unset;
}

    .blog-title:hover {
        color: #4F46E5;
        text-decoration: underline;
    }

/* Meta Info */
.blog-meta {
    font-size: 0.875rem;
    color: #6B7280;
    margin: 0.5rem 0 0.75rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

    .blog-header .reading-time {
        font-size: 0.875rem;
        white-space: nowrap;
        background-color: #E5E7EB;
        padding: 0.15rem 0.5rem;
        border-radius: 6px;
    }

    .blog-meta span {
        background-color: #E5E7EB;
        padding: 0.15rem 0.5rem;
        border-radius: 6px;
    }

/* Excerpt */
.blog-excerpt {
    font-size: 1rem;
    color: #2C2C2C;
    line-height: 1.5;
    margin: 0;
}

/* Read More Link */
.read-more {
    display: inline-block;
    margin-top: 0.5rem;
    color: #6366F1;
    text-decoration: none;
    font-weight: 500;
}

    .read-more:hover {
        text-decoration: underline;
    }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.page-btn {
    padding: 0.5rem 1rem;
    background: #E5E7EB;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
}

    .page-btn.active {
        background: #6366F1;
        color: white;
    }

/* Categories */
.categories {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.category {
    padding: 0.5rem 1rem;
    background: #E5E7EB;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: background 0.2s;
}

    .category.active,
    .category:hover {
        background: #6366F1;
        color: white;
    }

/* Sidebar */
.sidebar {
    flex: 1;
    padding-left: 1rem;
    border-left: 1px solid #ccc;
}

.widget {
    margin-bottom: 2rem;
}

    .widget h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .widget ul {
        list-style: none;
        padding: 0;
    }

    .widget li {
        margin-bottom: 0.3rem;
    }

/* Breadcrumbs */
.breadcrumbs {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}


/* ========================================
   About Me Section
======================================== */
.about-me {
    position: relative;
    padding: 4rem 0;
    background-color: #FAFAFA;
    color: #2C2C2C;
    text-align: center;
    overflow: hidden;
}

    .about-me h3 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .about-me p {
        max-width: 700px;
        margin: 0 auto;
        font-size: 1.125rem;
        line-height: 1.6;
        color: #4B4B4B;
        background: white;
        padding: 1.5rem 2rem;
        border-radius: 1rem;
        box-shadow: 0 10px 25px rgba(99, 102, 241, 0.1);
    }

    .about-me::before {
        content: "";
        position: absolute;
        width: 250px;
        height: 250px;
        background: #F47264;
        opacity: 0.1;
        border-radius: 50%;
        top: 20%;
        left: -100px;
        z-index: 0;
    }

    .about-me > .container {
        position: relative;
        z-index: 1;
    }

/* ========================================
   Connect / Contact Section
======================================== */
.connect-section {
    padding: 4rem 1rem;
    background: #FAFAFA;
}

    .connect-section h2 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
        color: #2C2C2C;
        text-align: center;
    }

    .connect-section .subtext {
        text-align: center;
        font-size: 1.1rem;
        color: #6B7280;
        margin-bottom: 2.5rem;
    }

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

    #contact-form label {
        font-weight: 600;
        color: #2C2C2C;
    }

    #contact-form input,
    #contact-form select,
    #contact-form textarea {
        padding: 0.75rem 1rem;
        border: 1px solid #E5E7EB;
        border-radius: 0.75rem;
        font-size: 1rem;
        background: #fff;
        transition: border 0.3s;
        font-family: 'Inter', sans-serif;
    }

        #contact-form input:focus,
        #contact-form select:focus,
        #contact-form textarea:focus {
            outline: none;
            border-color: #6366F1;
            box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
        }

    #contact-form textarea {
        resize: vertical;
    }

/* ========================================
   Footer
======================================== */
.footer {
    background-color: #F5F5F5;
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
    color: #6B7280;
}

/* ========================================
   Utilities
======================================== */
.page-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-top: 3rem;
    text-align: center;
}

.section-separator {
    width: 60px;
    height: 4px;
    background-color: #6366F1;
    margin: 1rem auto 3rem;
    border: none;
    border-radius: 4px;
    opacity: 0.6;
}

/* ========================================
   Thank You Page
======================================== */

.thank-you {
      text-align: center;
      padding: 2rem;
      background: white;
      border-radius: 12px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    }
    .thank-you h1 {
      color: #10b981;
      font-size: 2rem;
      margin-bottom: 0.5rem;
    }
    .thank-you p {
      color: #4b5563;
    }
    .thank-you a {
      display: inline-block;
      margin-top: 1.5rem;
      text-decoration: none;
      color: #2563eb;
      font-weight: 500;
    }

.thank-you-wrapper {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
}

/* ========================================
   Responsive / Mobile Styles
======================================== */

@media (max-width: 768px) {
    /* Header adjustments */
    .header-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        height: auto;
    }

    .logoImage {
        max-height: 50px;
    }

    .nav-group {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
        margin-top: 1.75rem;
    }

    /* Hero section */
    .hero h2 {
        font-size: 1.75rem;
        white-space: normal;
    }

    .hero-subtitle,
    .hero p {
        font-size: 1rem;
    }

    .hero {
        padding: 2.5rem 1rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-accent {
        width: 200px;
        height: 200px;
        bottom: -20px;
        right: -20px;
    }

    /* Blog layout */
    .blog-content-wrapper {
        flex-direction: column;
    }

    .sidebar {
        border-left: none;
        padding-left: 0;
    }

    /* Footer */
    .footer {
        padding: 1.5rem 1rem;
        font-size: 0.85rem;
        text-align: center;
    }

    /* Container padding */
    .container {
        padding: 0 1rem;
    }

    .blog-layout {
        flex-direction: column;
    }

    .related-posts-row {
        flex-direction: column;
        gap: 30px;
    }
}

/* ========================================
   blog pages
======================================== */

.blog-layout {
    display: flex;
    align-items: flex-start;
    max-width: 850px;
    margin: 0 auto;
    padding: 2rem 1rem;
    gap: 2rem;
}


.blog-content h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.blog-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.blog-content h3 {
    margin-top: 1.5rem;
    font-weight: 600;
}

.blog-content p {
    margin-bottom: 1.25rem;
}

.blog-content {
    flex: 5;
    margin-left: 2rem;
}

.sidebarblog {
    position: sticky;
    top: 100px; /* Adjust depending on header height */
    flex: 0 0 250px;
    height: max-content;
    background-color: #f5f5f5;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
    gap: 1rem;
}

.meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.95rem;
    color: #4b5563;
}

    .meta-info span {
        display: flex;
        align-items: center;
        gap: 0.3rem;
    }

.sharethis-inline-share-buttons {
    display: flex !important;
    gap: 0.5rem;
}

#st-1 {
    font-family: "Helvetica Neue", Verdana, Helvetica, Arial, sans-serif;
    direction: ltr;
    display: block;
    opacity: 1;
    text-align: center;
    z-index: 10 !important;
}

.related-posts {
    margin-top: 3rem;
    max-width:fit-content;
}

.related-posts-row {
    display: flex;
    gap: 50px;
    margin-bottom: 50px;
    justify-content: space-evenly; /* optional for even spacing */
}

.related-post-card {
    flex: 0 1 calc(33.333% - 1rem); /* Force 3 per row */
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    border-bottom: 1px solid #E5E7EB;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}


    .related-post-card:hover {
        transform: translateY(-4px);
    }

.blog-title a {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    margin-bottom:unset;
}



.blog-summary {
    font-size: 0.95rem;
    color: #374151;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.related-posts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.related-posts-title {
    text-align: center;
    font-size: 1.5rem; /* adjust as needed */
    margin-bottom: 1.5rem;
}

