/*
Theme Name: ARBASA Theme
Theme URI: https://arbasa.co.za
Author: Black Tech | Segomotso Jane
Description: Custom theme for the Association of Remote Bookkeepers and Accountants South Africa
Version: 1.0
License: Private
Text Domain: arbasa
*/

/* ============================================================
   RESET & BASE
   ============================================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'Helvetica', 'Arial Narrow', Arial, sans-serif;
    background-color: #ECEDEA;
    padding-top: 140px;
}

h4 {
    color: orange;
}

table {
    border-collapse: collapse;
    border: 1px solid black;
    margin-top: 15px;
}

th, td {
    border: 1px solid rgb(160 160 160);
    padding: 8px 10px;
}

button {
    margin-top: 10px;
    padding: 8px 16px;
    cursor: pointer;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 100%;
    margin: 0;
    padding: 0;
    z-index: 1000;
}

.nav-bar {
    width: 100%;
    background-color: #183962;
    height: 60px;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.contact-info {
    color: white;
}

.main-menu {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.main-menu a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.main-menu a:hover {
    color: orange;
}

/* WordPress wp_nav_menu compatibility */
.main-menu ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.main-menu ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.main-menu ul li a:hover {
    color: orange;
}

.logo-bar {
    background-color: white;
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
    width: 100%;
}

.logo-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    position: relative;
    right: 200px;
    bottom: 7px;
}

.nav-logo {
    height: 380px;
    width: auto;
}

.tool-logos1 {
    top: 180px;
    position: relative;
    height: 40px;
    width: auto;
    right: 200px;
}

.tool-logos2 {
    top: 180px;
    position: relative;
    height: 40px;
    width: auto;
    right: 160px;
}

.tool-logos3 {
    top: 180px;
    position: relative;
    height: 40px;
    width: auto;
    right: 140px;
}

/* ============================================================
   HOMEPAGE HERO
   ============================================================ */

.hero {
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 40px;
}

.hero-top {
    display: grid;
    grid-template-columns: 350px 350px 1fr;
    gap: 30px;
    align-items: stretch;
}

.info-block {
    padding: 20px;
    color: white;
    box-shadow: 0 10px 10px -5px rgba(0,0,0,0.2);
}

.info-block.blue {
    background-color: #183962;
}

.info-block.orange {
    background-color: orange;
}

.hero-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border: 1px solid black;
    box-shadow: 0 10px 10px -5px #D4D6B9;
}

.hero-bottom {
    display: grid;
    grid-template-columns: 350px 400px;
    gap: 40px;
    margin-top: 40px;
    align-items: center;
}

.hero-form {
    border-top: 1px solid black;
    margin-top: 40px;
    max-width: 350px;
}

.hero-form h3 {
    margin-bottom: 20px;
    color: #183962;
}

/* Contact Form 7 compatibility */
.hero-form .wpcf7 form,
.hero-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-form .wpcf7 input[type="text"],
.hero-form .wpcf7 input[type="email"],
.hero-form input {
    height: 40px;
    padding: 0 10px;
    border: 1px solid black;
    font-weight: bold;
    width: 100%;
}

.hero-form .wpcf7 input[type="submit"],
.hero-form button {
    height: 45px;
    background-color: #247AFD;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

.hero-form .wpcf7 input[type="submit"]:hover,
.hero-form button:hover {
    background-color: orange;
    color: #183962;
}

.contents-block {
    background-image: linear-gradient(to top, #183962, #247AFD);
    color: white;
    padding: 20px;
    border-radius: 12px;
}

.contents-block p {
    color: white;
}

/* ============================================================
   FEATURES
   ============================================================ */

.features {
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.card {
    background-color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 10px -5px rgba(0,0,0,0.15);
    border-radius: 12px;
}

.card img {
    width: 70px;
    margin-bottom: 15px;
}

.card p {
    color: #183962;
    font-size: 1rem;
}

.subscribe-card button {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #247AFD;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.subscribe-card button:hover {
    background-color: orange;
    color: #183962;
}

/* ============================================================
   INTRODUCTION
   ============================================================ */

.introduction {
    background-color: #183962;
    padding: 80px 0;
}

.intro-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.intro-container h3 {
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.intro-container p,
.intro-container li {
    color: white;
    line-height: 1.7;
    margin-bottom: 16px;
}

.intro-container ol {
    color: orange;
    padding-left: 20px;
}

/* ============================================================
   HOMEPAGE BLOG PREVIEW
   ============================================================ */

.blog {
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 40px;
}

.blog h3 {
    text-align: center;
    color: #183962;
    margin-bottom: 40px;
}

.blog-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

/* ============================================================
   HOMEPAGE COURSES PREVIEW
   ============================================================ */

.courses {
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 40px;
}

.courses h3 {
    text-align: center;
    color: #183962;
    margin-bottom: 40px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.course-card {
    background-color: white;
    padding: 20px 40px 40px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 10px -5px rgba(0,0,0,0.15);
    text-align: center;
}

.course-thumb {
    height: 180px;
    background-color: #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-card h4 {
    color: #183962;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.course-card p {
    color: #333;
    font-size: 1.2rem;
}

.course-card a {
    text-decoration: none;
    color: #183962;
}

.course-card a:hover {
    color: orange;
}

.courses-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.course-btn {
    font-weight: bold;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    background-color: #e0e0e0;
    padding: 80px 40px;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
    align-items: center;
}

.footer-brand {
    background-color: white;
    height: 240px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 10px -5px rgba(0,0,0,0.15);
}

.footer-brand img {
    height: 500px;
    width: auto;
    max-width: 80%;
}

.footer-info h4 {
    color: #183962;
    margin-bottom: 12px;
}

.footer-info p {
    color: #333;
    max-width: 400px;
    line-height: 1.6;
    margin-bottom: 10px;
    font-weight: bold;
    padding-left: 40px;
}

.footer-info span {
    font-size: 0.85rem;
    color: #555;
}

.footer-info ul {
    list-style: none;
    padding: 0;
}

.footer-info a {
    text-decoration: none;
    color: orange;
    font-weight: bold;
}

/* ============================================================
   MEMBERSHIP / COURSES PAGE
   ============================================================ */

.courses-hero {
    background-color: #183962;
    padding: 120px 40px;
    color: white;
}

.courses-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.courses-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.courses-hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.primary-btn {
    background-color: #183962;
    color: orange;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

.course-fit {
    padding: 80px 40px;
    background-color: #f5f5f5;
}

.fit-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.course-fit h3 {
    color: #183962;
    margin-bottom: 15px;
}

.course-fit ul {
    padding-left: 20px;
}

.outcomes {
    padding: 80px 40px;
    text-align: center;
}

.outcomes h3 {
    color: #183962;
    margin-bottom: 40px;
}

.outcomes-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.outcome-card {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 10px -5px rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
}

.outcome-card:hover {
    transform: translateY(-4px);
}

.outcome-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.outcome-icon img {
    width: 70px;
    margin-bottom: 15px;
}

.outcome-card h4 {
    color: #183962;
    margin-bottom: 10px;
}

.outcome-card p {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
}

.certification {
    background-color: #183962;
    color: white;
    padding: 80px 40px;
    text-align: center;
    margin-top: 20px;
}

.certification h3 {
    color: white;
    margin-bottom: 20px;
}

.certification p {
    color: white;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.final-cta {
    padding: 100px 40px;
    text-align: center;
    background-color: orange;
}

.final-cta h3 {
    color: white;
}

/* ============================================================
   BLOG ARCHIVE PAGE
   ============================================================ */

.blog-hero {
    background-color: #183962;
    padding: 120px 40px;
    color: white;
}

.blog-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.blog-hero h1 {
    font-size: 2.6rem;
    margin-bottom: 15px;
    color: orange;
}

.blog-hero p {
    font-size: 1.1rem;
}

.blog-page {
    padding: 80px 40px;
}

.blog-card {
    background-color: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 10px 10px -5px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.blog-card:focus {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.blog-thumb {
    height: 180px;
    background-color: #ddd;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.blog-thumb img,
.blog-thumb .blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card h3 {
    color: #183962;
    margin-bottom: 10px;
}

.blog-card h4 {
    color: #183962;
    margin-bottom: 10px;
}

.blog-card p {
    flex-grow: 1;
    color: #333;
    margin-bottom: 15px;
}

.blog-card a {
    text-decoration: none;
    font-weight: 600;
}

.blog-card a:link {
    color: #183962;
}

.blog-card a:hover {
    color: orange;
}

.blog-list {
    background-color: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 10px 10px -5px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
}

.blog-list h4 {
    text-align: center;
    margin-bottom: 15px;
}

.blog-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

.blog-list .post-link {
    text-decoration: none;
    color: #183962;
}

.blog-list .post-link:hover,
.blog-list .post-link:active {
    color: orange;
}

.blog-pagination {
    max-width: 1400px;
    margin: 40px auto 0;
    padding: 0 40px;
    text-align: center;
}

.blog-pagination .nav-links a,
.blog-pagination .nav-links span {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    color: #183962;
    background-color: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.blog-pagination .nav-links a:hover {
    background-color: orange;
    color: white;
}

/* ============================================================
   SINGLE BLOG POST
   ============================================================ */

.blog-article {
    max-width: 800px;
    margin: 100px auto;
    padding: 0 40px;
}

.blog-article h1 {
    color: #183962;
    margin-bottom: 10px;
}

.blog-article h2 {
    color: #183962;
    margin-top: 40px;
    margin-bottom: 10px;
}

.blog-article p {
    line-height: 1.7;
    margin-bottom: 20px;
}

.article-meta {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 30px;
}

.back-link {
    display: inline-block;
    margin-top: 40px;
    text-decoration: none;
    color: orange;
    font-weight: 600;
}

.pie-chart {
    width: auto;
    max-width: 80%;
    height: 500px;
    object-fit: contain;
    border: 1px solid transparent;
    object-position: center;
    padding-left: 100px;
    text-align: center;
}

.pie-chartblock {
    border: 1px solid transparent;
    max-width: 1400px;
    margin: 0 auto;
    height: 800px;
}

.pie-chartblock h3,
.pie-chartblock p {
    text-align: center;
}

.pie-chartblock ul {
    text-align: center;
    list-style: none;
}

/* ============================================================
   TUITION PAGE
   ============================================================ */

.tuition-hero {
    background-color: #183962;
    color: white;
    padding: 120px 40px;
}

.tuition-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.tuition-hero h1 {
    font-size: 2.6rem;
    margin-bottom: 20px;
    color: white;
}

.tuition-hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.subjects {
    padding: 80px 40px;
    text-align: center;
}

.subjects h3 {
    color: #183962;
    margin-bottom: 40px;
}

.subjects-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.subject-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 10px -5px rgba(0,0,0,0.15);
}

.subject-card h4 {
    color: #183962;
    margin-bottom: 10px;
}

.subject-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.subscription-benefits {
    padding: 100px 40px;
    background-color: #ffffff;
    text-align: center;
}

.subscription-benefits h3 {
    font-size: 2rem;
    margin-bottom: 60px;
    color: #183962;
}

.benefits-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: #ffffff;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 10px -5px rgba(0,0,0,0.15);
    transition: all 0.25s ease;
    text-align: center;
    position: relative;
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 18px -8px rgba(0,0,0,0.2);
}

.benefit-card h4 {
    font-size: 1.2rem;
    color: #183962;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
}

.pricing {
    padding: 100px 40px;
    background-color: #f5f5f5;
}

.pricing-card h3 {
    color:#183962;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.3rem;
}


.pricing-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.pricing-card {
    background-color: #ffffff;
    padding: 30px 25px;
    border: 1px solid black;
    box-shadow: 0 10px 10px -5px rgba(0,0,0,0.15);
    transition: all 0.25s ease;
    text-align: center;
    position: relative;
}

.price {
    font-size: 2rem;
    color: orange;
    margin: 20px 0;
}


.tuition-list {
    list-style: none;
    font-weight: 700;
    text-align: center;
    padding: 0;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-article {
    max-width: 800px;
    margin: 100px auto;
    padding: 0 40px;
}

.about-article h1 {
    color: #183962;
    margin-bottom: 10px;
}

.about-article p {
    line-height: 1.7;
    margin-bottom: 16px;
    color: #333;
}

.about-article ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.about-article ul li {
    line-height: 1.7;
    color: #333;
    margin-bottom: 6px;
}

/* ============================================================
   EXERCISES PAGE
   ============================================================ */

.exercises {
    max-width: 800px;
    margin: 100px auto;
    padding: 0 40px;
}

.exercises h1 {
    color: #183962;
    margin-bottom: 10px;
}

.exercises h2 {
    color: #183962;
    margin-top: 40px;
    margin-bottom: 10px;
}

.exercises p {
    line-height: 1.7;
    margin-bottom: 20px;
}

.answers {
    display: grid;
    gap: 12px;
    max-width: 400px;
}

.feedback {
    margin-left: 10px;
    font-weight: bold;
}

.blog-article h1 {
    color: #183962;
    font-size: 2rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

.blog-article .article-meta {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 30px;
}

.blog-article .entry-content p {
    line-height: 1.7;
    margin-bottom: 20px;
    color: #333;
}

.blog-article .entry-content h2 {
    color: #183962;
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 10px;
}

.blog-article .entry-content h3 {
    color: #183962;
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 10px;
}

.blog-article .entry-content h4 {
    color: orange;
    margin-top: 24px;
    margin-bottom: 8px;
}

.blog-article .entry-content ul,
.blog-article .entry-content ol {
    padding-left: 20px;
    margin-bottom: 20px;
    line-height: 1.8;
    color: #333;
}

.blog-article .entry-content ol {
    color: orange;
}

.blog-article .entry-content li {
    margin-bottom: 6px;
}

.blog-article .entry-content strong {
    color: #183962;
}

.blog-article .entry-content em {
    color: inherit;
    font-style: italic;
}

.blog-article .entry-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.blog-article .entry-content table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid black;
    margin-top: 15px;
    margin-bottom: 20px;
}

.blog-article .entry-content th,
.blog-article .entry-content td {
    border: 1px solid rgb(160 160 160);
    padding: 8px 10px;
    color: #333;
}

.blog-article .entry-content a {
    color: orange;
    font-weight: 600;
    text-decoration: none;
}

.blog-article .entry-content a:hover {
    color: #183962;
}

/* =====================
   MOBILE RESPONSIVE STYLES
   Max-width 768px = tablets and phones
   Max-width 480px = phones only
===================== */

@media (max-width: 768px) {

    /* GLOBAL */
    body {
        padding-top: 120px;
    }

    /* HEADER & NAV */
    .nav-bar {
        height: auto;
        padding: 10px 0;
    }

    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 20px;
        gap: 10px;
    }

    .contact-info {
        font-size: 0.8rem;
    }

    .main-menu {
        flex-wrap: wrap;
        gap: 12px;
    }

    .main-menu a {
        font-size: 0.85rem;
    }

    .logo-bar {
        height: auto;
        padding: 10px 20px;
    }

    .logo-container {
        right: 0;
        bottom: 0;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
    }

    .nav-logo {
        height: 140px;
    }

    .tool-logos1,
    .tool-logos2,
    .tool-logos3 {
        position: static;
        height: 28px;
        top: auto;
        right: auto;
    }

    /* HERO - HOMEPAGE */
    .hero {
        margin: 20px auto;
        padding: 0 20px;
    }

    .hero-top {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-image {
        height: 220px;
    }

    .hero-bottom {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 30px;
    }

    .hero-form {
        max-width: 100%;
        margin-top: 20px;
    }

    .contents-block {
        width: 100%;
    }

    /* FEATURES */
    .features {
        margin: 40px auto;
        padding: 0 20px;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    /* INTRODUCTION */
    .introduction {
        padding: 50px 0;
    }

    .intro-container {
        padding: 0 20px;
    }

    /* BLOG - HOMEPAGE PREVIEW */
    .blog {
        margin: 40px auto;
        padding: 0 20px;
    }

    .blog .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* COURSES - HOMEPAGE PREVIEW */
    .courses {
        margin: 40px auto;
        padding: 0 20px;
    }

    .courses-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* FOOTER */
    .site-footer {
        padding: 50px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand {
        height: 160px;
    }

    .footer-brand img {
        height: 120px;
    }

    .footer-info p {
        padding-left: 0;
    }

    /* COURSES / MEMBERSHIP PAGE */
    .courses-hero {
        padding: 80px 20px;
    }

    .courses-hero h1 {
        font-size: 1.8rem;
    }

    .fit-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .course-fit {
        padding: 50px 20px;
    }

    .outcomes {
        padding: 50px 20px;
    }

    .outcomes-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .certification {
        padding: 50px 20px;
    }

    /* BLOG PAGE */
    .blog-hero {
        padding: 80px 20px;
    }

    .blog-hero h1 {
        font-size: 1.8rem;
    }

    .blog-page {
        padding: 40px 20px;
    }

    .blog-page .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* SINGLE POST / BLOG ARTICLE */
    .blog-article {
        margin: 60px auto;
        padding: 0 20px;
    }

    .pie-chartblock {
        height: auto;
    }

    .pie-chart {
        width: 100%;
        height: auto;
        padding-left: 0;
        max-width: 100%;
    }

    /* ABOUT PAGE */
    .about-article {
        margin: 60px auto;
        padding: 0 20px;
    }

    /* TUITION PAGE */
    .tuition-hero {
        padding: 80px 20px;
    }

    .tuition-hero h1 {
        font-size: 1.8rem;
    }

    .subjects {
        padding: 50px 20px;
    }

    .subjects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .subscription-benefits {
        padding: 50px 20px;
    }

    .subscription-benefits h3 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing {
        padding: 50px 20px;
    }

    .pricing-card {
        padding: 30px 20px;
    }

    /* EXERCISES PAGE */
    .exercises {
        margin: 60px auto;
        padding: 0 20px;
    }

    table {
        width: 100%;
        font-size: 0.85rem;
    }

    th, td {
        padding: 6px 8px;
    }
}


/* =====================
   PHONES ONLY — 480px and below
===================== */

@media (max-width: 480px) {

    body {
        padding-top: 130px;
    }

    /* HEADER */
    .main-menu {
        gap: 8px;
    }

    .main-menu a {
        font-size: 0.78rem;
    }

    .nav-logo {
        height: 110px;
    }

    .tool-logos1,
    .tool-logos2,
    .tool-logos3 {
        height: 22px;
    }

    /* HERO */
    .hero-top {
        grid-template-columns: 1fr;
    }

    .hero-image {
        height: 180px;
    }

    /* FEATURES */
    .features {
        grid-template-columns: 1fr;
    }

    /* OUTCOMES */
    .outcomes-grid {
        grid-template-columns: 1fr;
    }

    /* COURSES HERO */
    .courses-hero h1 {
        font-size: 1.5rem;
    }

    /* BLOG HERO */
    .blog-hero h1 {
        font-size: 1.5rem;
    }

    /* TUITION HERO */
    .tuition-hero h1 {
        font-size: 1.5rem;
    }

    /* BLOG ARTICLE */
    .blog-article h1,
    .about-article h1 {
        font-size: 1.4rem;
    }

    /* FOOTER */
    .footer-info a {
        font-size: 0.9rem;
    }
}

a.web-link:link  {
    text-decoration-color: orange;
    color: orange;
}

a.web-link:visited {
    text-decoration: none;
    color: black;
}

.visibility-hidden {
    visibility: hidden;
}

.headings {
    font-size: 2rem;
}

.portfolio {
    max-width: 100vw;
    height: 60px;
    background-color: black;
}

.dev-info {
    color: white;
    font-weight: bold;
    text-align: center;
    font-size: 0.8rem;
    padding: 20px;
}

.subject-icon img {
    width: 70px;
    margin-bottom: 15px;
}

.tuition-list {
    color:#183962;
    padding-right: 20px;
    line-height: 2
}

.subjects h3 {
    color:#183962;
    padding-top: 10px;
    margin-bottom: 80px;
    font-size: 2rem;
}

/* Single Post Hero */
.single-post-hero {
    background-color: #1a1a2e;
    color: #fff;
    padding: 60px 40px;
    text-align: center;
}

.single-post-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.post-meta {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Post Layout */
.single-post-content {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

/* Post Body */
.post-body {
    flex: 2;
}

.post-featured-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
}

.post-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.post-navigation a {
    color: #1a1a2e;
    font-weight: 600;
    text-decoration: none;
}

.post-navigation a:hover {
    text-decoration: underline;
}

/* Sidebar */
.post-sidebar {
    flex: 1;
    background: #f9f9f9;
    padding: 24px;
    border-radius: 8px;
    height: fit-content;
}

.post-sidebar h4 {
    margin-bottom: 16px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-sidebar a {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
}

.post-sidebar a:hover {
    color: #1a1a2e;
}

/* Mobile */
@media (max-width: 768px) {
    .single-post-content {
        flex-direction: column;
    }
}


