/* Modern Homepage Styles for Faizal Khan - Dynamic Version */
.fk-homepage {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Global theme variable for nav active color */
:root {
    /* Theme */
    --color-primary: #34c759;   /* light green */
    --color-primary-dark: #2eb94f; /* hover variant */
    --color-accent: #ffd54f;    /* golden */

    /* Navigation */
    --nav-active-color: var(--color-primary);
}

.fk-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section with Slider */
.fk-hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.fk-hero-slider {
    position: relative;
    height: 100%;
}

.fk-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.fk-slide.active {
    opacity: 1;
}

.fk-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
}

.fk-hero-content {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0 20px 60px;
    color: white;
}

.fk-hero-text {
    max-width: 600px;
    animation: fadeInUp 1s ease;
    text-align: left;
}

.fk-hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
   
}

.fk-hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #f8f9fa;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.fk-hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.fk-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
}

.fk-btn-primary {
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    color: white;
}

.fk-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 199, 89, 0.4);
}

.fk-btn-secondary {
    background-color: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.fk-btn-secondary:hover {
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    color: white;
    transform: translateY(-3px);
}

.fk-btn-outline {
    background-color: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.fk-btn-outline:hover {
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    color: white;
    transform: translateY(-3px);
}

.fk-hero-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
    transform: translateY(-50%);
}

.fk-nav-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.fk-nav-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.fk-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 0.9rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

.fk-scroll-arrow {
    width: 2px;
    height: 30px;
    background-color: white;
    margin-top: 10px;
    position: relative;
}

.fk-scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: translateX(-50%) rotate(45deg);
}

/* Stats Section */
.fk-stats {
    padding: 80px 0;
    background: linear-gradient(135deg, #1d3557 0%, #457b9d 100%);
    color: white;
}

.fk-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.fk-stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.fk-stat-item:hover {
    transform: translateY(-5px);
}

.fk-stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.fk-stat-number {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.fk-stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Section Headers */
.fk-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.fk-section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #222;
    position: relative;
    display: inline-block;
}

.fk-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

.fk-section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}
/* Thoughts Section Styles */
.fk-thoughts {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

/* Thoughts Section Styles */
.fk-thoughts {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.fk-thoughts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23dee2e6' fill-opacity='0.2' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

/* Section Header */
.fk-section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.fk-section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.fk-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    border-radius: 2px;
}

.fk-section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Thoughts Carousel */
.fk-thoughts-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 40px;
}

.fk-thoughts-viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 20px;
}

.fk-thoughts-track {
    display: flex;
    width: 100%;
    will-change: transform;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fk-thought-slide {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

.fk-thoughts-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.fk-thoughts-nav:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.fk-thoughts-prev { left: 0; }
.fk-thoughts-next { right: 0; }

@media (max-width: 768px) {
    .fk-thoughts-carousel {
        padding: 0 30px;
    }
    
    .fk-thoughts-nav {
        width: 40px;
        height: 40px;
    }
    
    .fk-thoughts-prev { left: -5px; }
    .fk-thoughts-next { right: -5px; }
}

/* Thought Card */
.fk-thought-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.fk-thought-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
    transition: width 0.3s ease;
}

.fk-thought-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.fk-thought-card:hover::before {
    width: 8px;
}

.fk-thought-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.fk-thought-quote {
    color: var(--color-primary);
    font-size: 2rem;
    opacity: 0.8;
}

.fk-thought-category {
    margin-top: -5px;
}

.fk-category-tag {
    background: rgba(52, 199, 89, 0.1);
    color: var(--color-primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fk-thought-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.fk-thought-text {
    font-size: 2rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 2rem;
    font-style: italic;
    flex-grow: 1;
    position: relative;
    padding-left: 10px;
}

.fk-thought-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.fk-thought-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.fk-thought-date i {
    color: var(--color-primary);
}

.fk-thought-actions {
    display: flex;
    gap: 10px;
}

.fk-thought-like {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    cursor: pointer;
}

.fk-thought-like:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 28px rgba(255, 59, 96, 0.22);
}

.fk-thought-like:focus {
    outline: none;
}

.fk-thought-like:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 59, 96, 0.25);
}

.fk-thought-like.is-liked {
    background: #ff3b60;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 14px 34px rgba(255, 59, 96, 0.35);
}

.fk-thought-like.is-liked i {
    animation: fk-heart-burst 0.55s ease;
    color: inherit;
}

@keyframes fk-heart-burst {
    0% {
        transform: scale(0.8);
        padding: 0 30px;
    }
    
    100% {
        transform: scale(1);
        padding: 0;
    }
}

.fk-thought-like i {
    transition: color 0.2s ease, transform 0.2s ease;
    color: currentColor;
}

.fk-thought-share,
.fk-thought-bookmark {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fk-thought-share:hover,
.fk-thought-bookmark:hover {
    background: #f5f5f5;
    color: var(--color-primary);
}

/* Carousel Indicators */
.fk-thoughts-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

.fk-thoughts-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fk-thoughts-indicator.active {
    background: var(--color-primary);
    transform: scale(1.2);
}

.fk-thoughts-indicator:hover {
    background: #bbb;
}

/* Empty State */
.fk-thoughts-empty {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 0;
    position: relative;
    z-index: 1;
}

.profile-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: #0f172a;
    background-size: cover;
    background-position: center;
}

.profile-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.profile-hero__overlay {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    width: 100%;
}

.profile-hero__content {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.profile-hero__eyebrow {
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 14px;
}

.profile-hero__title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    margin-bottom: 18px;
}

.profile-hero__subtitle {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 24px;
}

.profile-hero__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.profile-btn {
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.profile-btn--primary {
    background: #f5a623;
    color: #0f172a;
    border-color: transparent;
}

.profile-btn--primary:hover {
    background: #ffb93a;
    color: #0f172a;
    text-decoration: none;
}

.profile-hero__contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #e2e8f0;
}

.profile-hero__contact a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.profile-section {
    padding: 70px 0 90px;
    background: #ffffff;
}

.profile-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.profile-section__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.profile-section__header h2 {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 16px;
    color: #0f172a;
}

.profile-section__header p {
    color: #475569;
    font-size: 16px;
    line-height: 1.8;
}

.profile-list {
    display: grid;
    gap: 28px;
}

.profile-card {
    background: #fdfdfd;
    border-radius: 20px;
    border: 1px solid rgba(203, 213, 225, 0.5);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    padding: 32px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

.profile-card--with-media {
    grid-template-columns: minmax(0, 1fr);
}

.profile-card__media img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12);
}

.profile-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 12px;
}

.profile-card__meta i {
    margin-right: 6px;
    color: #f5a623;
}

.profile-card__body h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 18px;
    color: #1e293b;
}

.profile-card__body p {
    color: #334155;
    line-height: 1.9;
    font-size: 15px;
    margin: 0 0 10px;
}

.profile-card__cta {
    margin-top: 20px;
}

.profile-link {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
}

.profile-link:hover {
    color: #ffffff;
    background: #0f172a;
    border-color: #0f172a;
    text-decoration: none;
}

.profile-empty {
    text-align: center;
    padding: 80px 20px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.profile-empty h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #0f172a;
}

.profile-empty p {
    color: #475569;
    line-height: 1.8;
    max-width: 520px;
    margin: 0 auto;
}

@media (min-width: 900px) {
    .profile-card--with-media {
        grid-template-columns: 360px 1fr;
    }
}

@media (max-width: 768px) {
    .profile-card {
        padding: 24px;
    }

    .profile-hero__cta {
        flex-direction: column;
        gap: 16px;
    }
}

.author-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/book-thavidu\ author.jpeg') center/cover no-repeat;
    color: #fff;
}

.author-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.author-hero__overlay {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    max-width: 920px;
    text-align: center;
}

.author-hero__eyebrow {
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 14px;
}

.author-hero__title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    margin-bottom: 18px;
}

.author-hero__subtitle {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 24px;
}

.author-hero__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.author-btn {
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.author-btn--primary {
    background: #f5a623;
    color: #0f172a;
    border-color: transparent;
}

.author-btn--primary:hover {
    background: #ffb93a;
    color: #0f172a;
    text-decoration: none;
}

.author-hero__contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #e2e8f0;
}

.author-hero__contact a {
    color: #fff;
    font-weight: 600;
}

.author-overview {
    padding: 80px 0 30px;
    background: #f8fafc;
}

.author-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.author-overview__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.author-overview__card {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.15);
}

.author-overview__card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #0f172a;
}

.author-overview__card p,
.author-overview__card li {
    color: #475569;
    line-height: 1.7;
    font-size: 15px;
}

.author-overview__card ul {
    padding-left: 18px;
    margin: 0;
}

.author-stories {
    padding: 70px 0 90px;
    background: #ffffff;
}

.author-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.author-section-header h2 {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 16px;
    color: #0f172a;
}

.author-section-header p {
    color: #475569;
    font-size: 16px;
    line-height: 1.8;
}

.author-story-list {
    display: grid;
    gap: 28px;
}

.author-story-card {
    background: #fdfdfd;
    border-radius: 20px;
    border: 1px solid rgba(203, 213, 225, 0.5);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    padding: 32px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

.author-story-card__media img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12);
}

.author-story-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 12px;
}

.author-story-card__meta i {
    margin-right: 6px;
    color: #f5a623;
}

.author-story-card__body h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 18px;
    color: #1e293b;
}

.author-story-card__body p {
    color: #334155;
    line-height: 1.9;
    font-size: 15px;
    margin: 0 0 10px;
}

.author-story-card__cta {
    margin-top: 20px;
}

.author-link {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.15);
    transition: all 0.3s ease;
}

.author-link:hover {
    color: #ffffff;
    background: #0f172a;
    border-color: #0f172a;
    text-decoration: none;
}

.author-empty {
    text-align: center;
    padding: 80px 20px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.author-empty h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #0f172a;
}

.author-empty p {
    color: #475569;
    line-height: 1.8;
    max-width: 520px;
    margin: 0 auto;
}

@media (min-width: 900px) {
    .author-story-card {
        grid-template-columns: 360px 1fr;
    }
}

@media (max-width: 768px) {
    .author-story-card {
        padding: 24px;
    }

    .author-overview__grid {
        gap: 18px;
    }

    .author-hero__cta {
        flex-direction: column;
        gap: 16px;
    }
}

.fk-empty-state {
    text-align: center;
    max-width: 400px;
}

.fk-empty-icon {
    width: 100px;
    height: 100px;
    background: rgba(52, 199, 89, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-primary);
    font-size: 2.5rem;
    transition: transform 0.3s ease;
}

.fk-empty-state:hover .fk-empty-icon {
    transform: scale(1.1);
}

.fk-empty-state h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.fk-empty-state p {
    color: #666;
    line-height: 1.6;
}

/* CTA Button */
.fk-thoughts-cta {
    text-align: center;
    position: relative;
    z-index: 1;
    margin-top: 2rem;
}

.fk-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.fk-btn-primary {
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    color: white;
    box-shadow: 0 5px 15px rgba(52, 199, 89, 0.3);
}

.fk-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 199, 89, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .fk-thoughts {
        padding: 80px 0;
    }
    
    .fk-section-title {
        font-size: 2rem;
    }
    
    .fk-thought-card {
        padding: 2rem 1.5rem;
    }
    
    .fk-thought-text {
        font-size: 1.05rem;
    }
    
    .fk-thought-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .fk-thought-actions {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .fk-thoughts {
        padding: 60px 0;
    }
    
    .fk-thought-card {
        padding: 1.5rem 1rem;
    }
    
    .fk-thought-text {
        font-size: 1rem;
    }
    
    .fk-thought-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .fk-thought-category {
        align-self: flex-start;
    }
}
/* Interests Section */
.fk-interests {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.fk-interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.fk-interest-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.fk-interest-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

.fk-interest-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.fk-interest-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e63946, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.fk-interest-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #222;
}

.fk-interest-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.fk-interest-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.fk-interest-link:hover {
    gap: 1rem;
}

/* News Section */
.fk-news {
    padding: 100px 0;
    background-color: white;
}

.fk-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.fk-news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 560px; /* unified height */
    display: flex;
    flex-direction: column;
}

.fk-news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.fk-news-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.fk-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Latest badge on news card */
.fk-news-badge {
    position: absolute;
    top: -2px;
    left: -2px;
    z-index: 3;
    background: hsl(0, 80%, 50%);
    color: #fff;
    padding: 6px 12px;
    border-radius: 2px;
    border-bottom-right-radius: 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.fk-news-card:hover .fk-news-image img {
    transform: scale(1.1);
}

.fk-news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-accent);
    color: #333;
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
    line-height: 1.2;
}

.fk-news-date span:first-child {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.fk-news-date span:last-child {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.fk-news-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.fk-news-content h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #222;
    line-height: 1.4;
}

.fk-news-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.fk-news-link {
    margin-top: auto; /* push link to bottom to keep consistent height */
}

.fk-news-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.fk-news-link:hover {
    gap: 1rem;
}

.fk-news-cta {
    text-align: center;
}

/* Gallery Section */
.fk-gallery {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.fk-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.fk-gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.fk-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fk-gallery-item:hover img {
    transform: scale(1.1);
}

.fk-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fk-gallery-item:hover .fk-gallery-overlay {
    opacity: 1;
}

.fk-gallery-content {
    color: white;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fk-gallery-content h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
}

.fk-gallery-view {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.fk-gallery-view:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.fk-gallery-cta {
    text-align: center;
}

/* Articles Section */
.fk-articles {
    padding: 100px 0;
    background-color: white;
}

.fk-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.fk-article-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fk-article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.fk-article-image {
    height: 200px;
    overflow: hidden;
}

.fk-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fk-article-card:hover .fk-article-image img {
    transform: scale(1.1);
}

.fk-article-content {
    padding: 1.5rem;
}

.fk-article-content h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #222;
}

.fk-article-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.fk-article-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.fk-article-link:hover {
    gap: 1rem;
}

/* Book Section */
.fk-book {
    padding: 100px 0;
    background: linear-gradient(135deg, #1d3557 0%, #457b9d 100%);
    color: white;
}

.fk-book-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.fk-book-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.fk-book-image img {
    width: 100%;
    height: auto;
    display: block;
}

.fk-book-info h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.fk-book-author {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.fk-book-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.fk-book-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.fk-book-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fk-book-feature i {
    color: #ffd166;
}

.fk-book-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.fk-book-contact {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.fk-contact-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.fk-contact-info i {
    color: #4cc9f0;
}

/* Contact Section */
.fk-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.fk-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.fk-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.fk-cta-content {
    max-width: 1100px;
    margin: 0 auto;
}

.fk-cta-header {
    text-align: center;
    margin-bottom: 3rem;
}

.fk-cta-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #222;
    position: relative;
    display: inline-block;
}

.fk-cta-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 2px;
}

.fk-cta-text {
    font-size: 1.25rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Contact Wrapper */
.fk-contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

/* Form Styles */
.fk-contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fk-contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.fk-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.fk-form-group {
    display: flex;
    flex-direction: column;
}

.fk-form-group-full {
    grid-column: 1 / -1;
}

.fk-form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 0.95rem;
}

.fk-input-wrapper {
    position: relative;
}

.fk-input-wrapper input,
.fk-input-wrapper textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 2.8rem;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fafbfc;
    font-family: 'Inter', sans-serif;
}

.fk-input-wrapper input:focus,
.fk-input-wrapper textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.1);
    background-color: white;
}

.fk-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    transition: color 0.3s ease;
}

.textarea-icon {
    top: 1.5rem;
    transform: none;
}

.fk-input-wrapper input:focus + .fk-input-icon,
.fk-input-wrapper textarea:focus + .fk-input-icon {
    color: var(--color-primary);
}

.fk-input-wrapper textarea {
    resize: vertical;
    min-height: 120px;
}

/* Button Styles */
.fk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.fk-btn-primary {
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    color: white;
    box-shadow: 0 4px 15px rgba(52, 199, 89, 0.3);
}

.fk-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 199, 89, 0.4);
}

/* Contact Info */
.fk-cta .fk-contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: fit-content;
}

.fk-cta .fk-contact-info h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #222;
    position: relative;
    padding-bottom: 0.5rem;
}

.fk-cta .fk-contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 2px;
}

.fk-contact-methods {
    margin-bottom: 2rem;
}

.fk-contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.fk-contact-method:hover {
    background-color: #f8f9fa;
}

.fk-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 50%;
    color: white;
    flex-shrink: 0;
}

.fk-contact-details h4 {
    font-family: 'Oswald', sans-serif;
    font-weight: 00;
    margin-bottom: 0.25rem;
    color: #333;
}

.fk-contact-details p {
    color: #666;
    margin: 0;
}

/* Social Links */
.fk-social-links h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.fk-social-icons {
    display: flex;
    gap: 0.75rem;
}

.fk-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f1f3f5;
    border-radius: 50%;
    color: #555;
    transition: all 0.3s ease;
}

.fk-social-icon:hover {
    background: linear-gradient(135deg, #3a86ff, #8338ec);
    color: white;
    transform: translateY(-2px);
}

/* Alert Styles */
.fk-alert {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.fk-alert-error {
    background-color: #ffe6e6;
    border-left: 4px solid #e74c3c;
    color: #c0392b;
}

.fk-alert-success {
    background-color: #e6f7e6;
    border-left: 4px solid #2ecc71;
    color: #27ae60;
}

.fk-alert-icon {
    flex-shrink: 0;
}

.fk-alert-content h4 {
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.fk-alert-content ul {
    margin: 0;
    padding-left: 1.25rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .fk-contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .fk-cta-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .fk-cta {
        padding: 70px 0;
    }
    
    .fk-form-grid {
        grid-template-columns: 1fr;
    }
    
    .fk-cta-title {
        font-size: 2rem;
    }
    
    .fk-cta-text {
        font-size: 1.1rem;
    }
    
    .fk-contact-form,
    .fk-contact-info {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .fk-cta-title {
        font-size: 1.8rem;
    }
    
    .fk-contact-method {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .fk-contact-icon {
        align-self: center;
    }
}

/* Modal */
.fk-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fk-modal.active {
    opacity: 1;
    visibility: visible;
}

.fk-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.fk-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.fk-modal-close:hover {
    color: #e63946;
}

.fk-modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .fk-hero-title {
        font-size: 2.5rem;
    }
    
    .fk-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .fk-hero-content {
        padding: 0 16px 40px;
    }
    
    .fk-book-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .fk-book-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .fk-book-features {
        justify-content: center;
    }
    
    .fk-hero-nav {
        padding: 0 10px;
    }
    
    .fk-nav-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .fk-hero-title {
        font-size: 2rem;
    }
    
    .fk-section-title {
        font-size: 2rem;
    }
    
    .fk-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .fk-interests-grid {
        grid-template-columns: 1fr;
    }
    
    .fk-news-grid {
        grid-template-columns: 1fr;
    }
    
    .fk-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .fk-articles-grid {
        grid-template-columns: 1fr;
    }
    
    .fk-hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .fk-cta-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .fk-stat-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .fk-container {
        padding: 0 15px;
    }
    
    .fk-hero-title {
        font-size: 1.8rem;
    }
    
    .fk-section-title {
        font-size: 1.8rem;
    }
    
    .fk-interest-card,
    .fk-news-card,
    .fk-article-card {
        padding: 1.5rem;
    }
    
    .fk-book-info h2 {
        font-size: 2rem;
    }
}

/* -----------------------------------------
   Header Nav Active Highlight Styles
   - Default: underline style
   - Optional: add .navbar-pill on <nav> for button style
------------------------------------------ */
.navbar .navbar-nav .nav-link {
    position: relative;
}

/* Underline effect (default) */
.navbar .navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 2px;
    height: 2px;
    background: currentColor;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar .navbar-nav .nav-link:hover::before,
.navbar .navbar-nav .nav-link.active::before {
    opacity: 1;
    transform: scaleX(1);
}


/* Not scrolled (transparent header): make active more visible */
.navbar:not(.nav-scroll) .navbar-nav .nav-link.active {
    /* color is set by variable above */
    text-shadow: none;
}

.navbar:not(.nav-scroll) .navbar-nav .nav-link.active::before {
    height: 3px;
    opacity: 1;
}

/* Header bottom separation when not scrolled */
.navbar:not(.nav-scroll) {
    position: absolute; /* already absolute, reaffirm for pseudo positioning */
}

.navbar:not(.nav-scroll)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
  
    pointer-events: none;
}

/* Keep yellow line when scrolled as well */
.nav-scroll::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 0.5px;
     /* background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.6), rgba(255,255,255,0)); */
    pointer-events: none;
}

/* Optional Button/Pill mode: add class .navbar-pill to <nav> */
.navbar.navbar-pill .navbar-nav .nav-link {
    padding: 8px 14px;
    border-radius: 999px;
    margin: 8px 6px;
}

.navbar.navbar-pill .navbar-nav .nav-link::before {
    display: none; /* disable underline when in pill mode */
}

/* Transparent header (dark bg), make active a light pill */
.navbar.navbar-pill .navbar-nav .nav-link.active {
    background: rgba(255,255,255,0.9);
    color: #111;
}

/* Scrolled header (light bg), make active a dark pill */
.nav-scroll.navbar-pill .navbar-nav .nav-link.active {
    background: #111;
    color: #fff;
}