html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.btn-group .btn {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
body {
    background: rgb(118, 183, 204); 
    min-height: 100vh;
}

.card-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 50px 20px;
    flex-wrap: wrap; 
}

.capsule-card {
    background-color: rgba(255, 255, 255, 0.4);
    width: 300px;
    border-radius: 150px;
    padding: 30px 20px;
    text-align: center;
    color: #333;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.capsule-card:hover {
    transform: translateY(-10px);
}

.circle-image {
    width: 240px;
    height: 240px;
    margin: 0 auto 25px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.3);
}

.circle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.capsule-card h3 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #1b5e20;
}

.capsule-card p {
    font-size: 1rem; 
    line-height: 1.5;
    padding: 0 15px 50px 15px;
}
.navbar {
    background: linear-gradient(90deg, #ffffff 0%, #fff176 100%) !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
}

.navbar-brand, .nav-link {
    color: #444 !important;
    transition: color 0.2s ease;
}

    .nav-link:hover {
        color: #000 !important;
    }

.horizontal-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 40px 0;
}


.long-pill {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.4); 
    width: 90%;
    max-width: 900px;
    border-radius: 100px;
    overflow: hidden; 
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
    padding: 17px;

}

    .long-pill:hover {
        transform: scale(1.02);
    }


.pill-image {
    flex: 0 0 350px; 
    height: 220px;
}

    .pill-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 80px; 
        padding: 10px; 
    }

.pill-content {
    flex: 1;
    padding: 20px 50px 20px 20px;
    color: #083358;
}

    .pill-content p {
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.6;
    }

.pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

    .pagination a {
        background: white;
        color: #1e6bd6;
        padding: 8px 12px;
        border: 1px solid #d0d7e2;
        border-radius: 6px;
        text-decoration: none;
        font-size: 14px;
        transition: all 0.2s ease;
    }

        .pagination a:hover {
            background: #f3f7ff;
            border-color: #1e6bd6;
        }

        .pagination a.active {
            background: #1e6bd6;
            color: white;
            border-color: #1e6bd6;
        }



.articles-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #0f7db3, #0b5d84);
    padding: 40px 0;
}


.articles-header {
    width: fit-content;
    margin: auto;
    background: rgba(255,255,255,0.25);
    padding: 14px 40px;
    border-radius: 30px;
    color: white;
    font-size: 18px;
    margin-bottom: 40px;
}



.articles-container {
    width: 70%;
    margin: auto;
}


.article-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 25px;
    margin-bottom: 25px;
    border-radius: 30px;
    text-decoration: none;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(4px);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .article-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 18px rgba(0,0,0,0.2);
    }


.article-image img {
    width: 120px;
    height: 80px;
    border-radius: 40px;
    object-fit: cover;
}


.article-content h3 {
    color: white;
    margin-bottom: 5px;
}

.article-content p {
    color: #e5f6ff;
    font-size: 14px;
    margin: 0;
}


.write-article {
    text-align: right;
    width: 70%;
    margin: 20px auto;
}

.btn-write {
    display: inline-block;
    background: white;
    color: #1e6bd6; 
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    border: 2px solid #1e6bd6;
    transition: all 0.2s ease;
}

    .btn-write:hover {
        background: #1e6bd6;
        color: white;
    }

.article-details-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #e9f6ff, #d4ecff);
    padding: 60px 0;
}

.article-container {
    width: 60%;
    margin: auto;
    background: white;
    padding: 40px 60px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.article-title {
    font-size: 38px;
    margin-bottom: 20px;
    color: #1b4f72;
    text-align: center;
}

.article-meta, .article-body {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.article-container form .form-control,
.article-container form select,
.article-container form textarea {
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.article-container form .form-check-input {
    margin-right: 10px;
}

.article-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.btn-back {
    padding: 10px 18px;
    border-radius: 8px;
    background: #0f7db3;
    color: white;
    text-decoration: none;
    transition: background 0.2s ease;
}

    .btn-back:hover {
        background: #095f8a;
    }


.btn-danger {
    padding: 10px 18px;
    border-radius: 8px;
    background: #d9534f;
    color: white;
    border: none;
    transition: background 0.2s ease;
}

.btn-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.75rem;
    line-height: 1.5;
    font-size: 1rem;
    font-weight: 400;
    border-radius: 0.375rem;
    vertical-align: middle;
    box-sizing: border-box;
}

    .btn-danger:hover {
        background: #c9302c;
    }


.article-reader-container {
    max-width: 740px; 
    margin: 40px auto;
    background: #ffffff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}


.display-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1b4f72;
    margin-bottom: 15px;
}

.post-meta {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.featured-image img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 35px;
}


.post-body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.15rem;
    line-height: 1.75; 
    color: #333;
}

    .post-body p {
        margin-bottom: 1.6rem;
    }

    .post-body h2, .post-body h3 {
        margin-top: 2rem;
        color: #1b4f72;
    }
.comments-section {
    margin-top: 50px;
}

.comment-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.comment-form-container {
    margin-top: 40px;
    padding: 20px;
    background: #e9f6ff;
    border-radius: 15px;
}

.btn-submit-comment {
    margin-top: 10px;
    background: #1b4f72;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
}

    .btn-submit-comment:hover {
        background: #143d59;
    }
.comment-action {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: #1b4f72;
    text-decoration: underline;
    font-size: 0.9rem;
    cursor: pointer;
}

    .comment-action:hover {
        opacity: 0.8;
    }


.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    width: 100%;
}

.hero-image {
    width: 80%; 
    max-width: 1000px; 
    height: auto;
    border-radius: 50px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 8px solid rgba(255, 255, 255, 0.3); 
    object-fit: cover;
}


.mission-statement-text {
    text-align: center;
    max-width: 800px;
    margin: 20px auto;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 100px; 
}
@media (max-width: 768px) {
    .article-container {
        width: 95%;
        padding: 1%;
        margin: 1%;
    }

    .long-pill {
        flex-direction: column;
        border-radius: 40px;
        text-align: center;
    }

    .pill-image {
        flex: 0 0 auto;
        width: 100%;
    }

    .pill-content {
        padding: 2%;
    }

    .article-card {
        flex-direction: column;
        align-items: flex-start; /* optional: keeps text left-aligned */
    }

    .article-image img {
        width: 100%;
        height: auto;
    }

    .col-hide-mobile {
        display: none;
    }
}


