/* ===============================
   404 Error Section – Light Theme / For 404.html
================================ */

.error-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    color: #0f172a;
    overflow: hidden;
}

/* ===============================
   Content Wrapper
================================ */

.error-content {
    text-align: center;
    max-width: 720px;
    padding: 40px 20px;
    animation: fadeUp 0.9s ease forwards;
}

/* ===============================
   Error Code
================================ */

.error-code {
    font-size: clamp(120px, 18vw, 200px);
    font-weight: 900;
    letter-spacing: -6px;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    animation: float 4s ease-in-out infinite;
}

/* ===============================
   Headings & Text
================================ */

.error-content h1 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 12px;
}

.error-content p {
    font-size: 16px;
    color: #475569;
    max-width: 520px;
    margin: 0 auto 32px;
}

/* ===============================
   Action Buttons
================================ */

.error-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.error-actions .btn {
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
}

.btn-secondary {
    background: #ffffff;
    color: #2563eb;
    border: 1px solid #c7d2fe;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.25);
}

/* ===============================
   Helpful Links
================================ */

.helpful-links {
    animation: fadeUp 1.2s ease forwards;
}

.helpful-links h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: #334155;
}

.helpful-links ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 14px;
}

.helpful-links a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    background: #ffffff;
    color: #1e293b;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.helpful-links a:hover {
    background: #eff6ff;
    color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.18);
}

/* ===============================
   Animations
================================ */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(36px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* ===============================
   Responsive
================================ */

@media (max-width: 480px) {
    .error-actions {
        flex-direction: column;
    }
}

/* ===============================
   Mission Section Styles / For About.html
================================ */

.mission-box {
    position: relative;
    padding: 36px 32px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow:
        0 20px 40px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    overflow: hidden;
    animation: missionReveal 0.9s ease forwards;
}

/* Soft glow accent */
.mission-box::before {
    content: "";
    position: absolute;
    inset: auto -40% -60% -40%;
    height: 120%;
    background: radial-gradient(
        circle,
        rgba(59, 130, 246, 0.18),
        transparent 60%
    );
    z-index: 0;
}

/* ===============================
   Title
================================ */

.mission-title {
    position: relative;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 700;
    margin-bottom: 18px;
    color: #0f172a;
    animation: slideInLeft 0.8s ease forwards;
}

/* underline animation */
.mission-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 52px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, #38bdf8);
    animation: underlineGrow 0.9s ease forwards;
}

/* ===============================
   Text
================================ */

.mission-text {
    position: relative;
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 16px;
    animation: fadeUp 1s ease forwards;
}

.mission-text.muted {
    color: #64748b;
}

/* ===============================
   Hover Interaction
================================ */

.mission-box:hover {
    transform: translateY(-6px);
    box-shadow:
        0 28px 60px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* ===============================
   Animations
================================ */

@keyframes missionReveal {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes underlineGrow {
    from {
        width: 0;
    }
    to {
        width: 52px;
    }
}

/* ===============================
   Responsive
================================ */

@media (max-width: 480px) {
    .mission-box {
        padding: 28px 22px;
    }

    .mission-text {
        font-size: 15px;
    }
}
/* ===============================
   Why Choose Us – Section Styles
================================ */

.section.bg-light {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    padding: 80px 0;
}

/* ===============================
   Features Grid
================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 48px;
    animation: gridFade 0.8s ease forwards;
}

/* ===============================
   Feature Item
================================ */

.feature-item {
    position: relative;
    background: #ffffff;
    padding: 32px 26px;
    border-radius: 18px;
    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: all 0.35s ease;
    overflow: hidden;
    animation: cardRise 0.9s ease forwards;
}

/* Gradient accent bar */
.feature-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #38bdf8);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

/* ===============================
   Hover Effects
================================ */

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow:
        0 22px 60px rgba(37, 99, 235, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.feature-item:hover::before {
    transform: scaleX(1);
}

/* ===============================
   Feature Content
================================ */

.feature-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
}

/* ===============================
   Subtle Glow Effect
================================ */

.feature-item::after {
    content: "";
    position: absolute;
    inset: auto -40% -60% -40%;
    height: 120%;
    background: radial-gradient(
        circle,
        rgba(59, 130, 246, 0.15),
        transparent 65%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-item:hover::after {
    opacity: 1;
}

/* ===============================
   Animations
================================ */

@keyframes gridFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes cardRise {
    from {
        opacity: 0;
        transform: translateY(36px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===============================
   Responsive
================================ */

@media (max-width: 640px) {
    .features-grid {
        gap: 20px;
    }

    .feature-item {
        padding: 26px 22px;
    }
}
/* ===============================
   Blog Meta – Item Styles Only
================================ */

/* Category Pill */
.category {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
    animation: categoryPop 0.6s ease backwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.45);
}

/* ===============================
   Date
================================ */

.date {
    position: relative;
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    padding-left: 18px;
    animation: metaFade 0.7s ease backwards;
}

/* calendar dot */
.date::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    background: #c7d2fe;
    border-radius: 50%;
    transform: translateY(-50%);
}

/* ===============================
   Read Time
================================ */

.read-time {
    position: relative;
    font-size: 14px;
    color: #475569;
    font-weight: 500;
    padding-left: 18px;
    animation: metaFade 0.8s ease backwards;
}

/* clock dot */
.read-time::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    background: #93c5fd;
    border-radius: 50%;
    transform: translateY(-50%);
}

/* hover highlight */
.date:hover,
.read-time:hover {
    color: #0f172a;
}

/* ===============================
   Animations
================================ */

@keyframes categoryPop {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes metaFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   Article Header
================================ */

.article-header {
    position: relative;
    padding: 6rem 0 4.5rem;
    background: linear-gradient(
        180deg,
        #f8fafc 0%,
        #eef2f7 100%
    );
    overflow: hidden;
    animation: headerReveal 0.9s ease both;
}

/* soft background glow */
.article-header::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -20%;
    width: 520px;
    height: 520px;
    background: radial-gradient(
        circle,
        rgba(37, 99, 235, 0.15),
        transparent 65%
    );
    pointer-events: none;
}

.article-header::after {
    content: "";
    position: absolute;
    bottom: -40%;
    left: -25%;
    width: 520px;
    height: 520px;
    background: radial-gradient(
        circle,
        rgba(56, 189, 248, 0.12),
        transparent 70%
    );
    pointer-events: none;
}

/* ===============================
   Blog Title
================================ */

.article-header h1 {
    position: relative;
    z-index: 1;
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    margin: 1.2rem 0 1.4rem;
    color: #0f172a;
    animation: titleSlide 0.8s ease both;
}

/* ===============================
   Excerpt
================================ */

.article-excerpt {
    position: relative;
    z-index: 1;
    max-width: 720px;
    font-size: 1.1rem;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 2.5rem;
    animation: fadeUp 0.9s ease both;
}

/* ===============================
   Author Info
================================ */

.author-info {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    animation: fadeUp 1s ease both;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.author-info:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Avatar */
.author-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

/* Author text */
.author-name {
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.author-title {
    font-size: 0.9rem;
    color: #64748b;
}

/* ===============================
   Animations
================================ */

@keyframes headerReveal {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleSlide {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   Responsive
================================ */

@media (max-width: 640px) {
    .article-header {
        padding: 4.5rem 0 3.5rem;
    }

    .article-header h1 {
        font-size: clamp(28px, 7vw, 38px);
    }

    .author-info {
        padding: 12px 14px;
    }
}
