* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #1b4332;
    --primary-green: #2d6a4f;
    --accent-gold: #d4a373;
    --accent-orange: #d97706;
    --bg-light: #f8faf9;
    --text-color: #2b2d42;
    --text-muted: #555555;
    --white: #ffffff;
    --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================================
   Top Bar
=================================================== */
/* ===================================================
   Top Bar Alignment & Social Media Icons
=================================================== */
.top-bar {
    background-color: #11281e;
    color: #e0f2f1;
    font-size: 0.83rem;
    padding: 6px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-contact a {
    color: #e0f2f1;
    text-decoration: none;
    margin-right: 14px;
    font-size: 0.83rem;
    transition: color 0.2s ease;
}

.top-contact a:hover {
    color: var(--accent-gold);
}

.top-contact a i {
    color: var(--accent-gold);
    margin-right: 3px;
}

.top-right-group {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.academic-identifiers {
    display: flex;
    align-items: center;
    gap: 14px;
}

.academic-identifiers a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.academic-identifiers a:hover {
    color: var(--accent-gold);
}

/* Social Media Circular Buttons */
.top-socials {
    display: flex;
    align-items: center;
    gap: 6px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 14px;
}

.top-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.78rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.top-socials a:hover {
    transform: translateY(-2px);
    background-color: var(--accent-gold);
    color: #11281e;
}

.top-socials a.soc-wa:hover { background-color: #25d366; color: #fff; }
.top-socials a.soc-yt:hover { background-color: #ff0000; color: #fff; }
.top-socials a.soc-li:hover { background-color: #0a66c2; color: #fff; }
.top-socials a.soc-fb:hover { background-color: #1877f2; color: #fff; }

@media (max-width: 991px) {
    .top-bar-content {
        justify-content: center;
        text-align: center;
    }
    .top-socials {
        border-left: none;
        padding-left: 0;
    }
}
/* ===================================================
   Main Header & Navigation Buttons (Clean Single Block)
=================================================== */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.logo a {
    text-decoration: none;
}

.logo h1 {
    font-size: 1.6rem;
    color: var(--primary-dark);
    line-height: 1.1;
}

.logo .tagline {
    font-size: 0.78rem;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
}

.nav-links li {
    position: relative;
}

/* Uniform Button Style for Navigation Links */
.btn-nav {
    background-color: var(--primary-green);
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.btn-nav:hover,
.btn-nav.active {
    background-color: var(--primary-dark);
    box-shadow: 0 3px 8px rgba(27, 67, 50, 0.25);
    transform: translateY(-1px);
}

.btn-nav.contact-highlight {
    background-color: var(--accent-gold);
    color: #1a1a1a !important;
}

.btn-nav.contact-highlight:hover {
    background-color: #c49262;
    color: #ffffff !important;
}

.drop-icon {
    font-size: 0.72rem;
    margin-left: 2px;
    pointer-events: none;
}

/* Dropdown Sub-menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
    min-width: 210px;
    border-radius: 4px;
    padding: 8px 0;
    list-style: none;
    border-top: 3px solid var(--primary-green);
    z-index: 1000;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    padding: 10px 16px;
    color: #333333 !important;
    font-size: 0.9rem;
    display: block;
    background: transparent;
    border-radius: 0;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease;
}

.dropdown-menu li a:hover {
    background-color: #f1f8f3;
    color: var(--primary-green) !important;
}

/* Desktop Dropdown Open on Hover & Focus */
@media (min-width: 769px) {
    .has-dropdown:hover .dropdown-menu,
    .has-dropdown:focus-within .dropdown-menu {
        display: block;
    }
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
}

/* ===================================================
   Hero Section
=================================================== */
.hero-banner {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    color: var(--white);
    padding: 60px 0;
}

.hero-container-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
    gap: 40px;
}

.hero-text h2 {
    font-size: 2.3rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-subtext {
    font-size: 1.05rem;
    color: #e8f5e9;
    margin-bottom: 25px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.hero-image-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-circle-frame {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 6px solid #d4a373;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    background-color: #1b4332;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-circle-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.btn {
    padding: 10px 22px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
    transition: all 0.25s ease;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: #1a1a1a;
}

.btn-primary:hover {
    background-color: #c49262;
    color: #ffffff;
}

.btn-secondary {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-dark);
}

/* ===================================================
   Common Section Headers
=================================================== */
.section-title {
    text-align: center;
    margin-bottom: 35px;
}

.section-title h2 {
    font-size: 1.9rem;
    color: var(--primary-dark);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 5px;
}

.title-line {
    width: 60px;
    height: 3px;
    background-color: var(--accent-orange);
    margin: 8px auto 0 auto;
}

/* Profile Section on Home */
.profile-section {
    padding: 50px 0;
    background-color: var(--white);
}

.profile-card {
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.8;
}

/* ===================================================
   Services & Form Tabs
=================================================== */
.services-section {
    padding: 60px 0;
}

.services-tab-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.svc-tab-btn {
    background-color: var(--white);
    border: 2px solid #d4ded8;
    color: var(--primary-dark);
    padding: 12px 22px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.svc-tab-btn:hover {
    border-color: var(--primary-green);
    background-color: #f0f7f2;
}

.svc-tab-btn.active {
    background-color: var(--primary-dark);
    color: var(--white);
    border-color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(27, 67, 50, 0.2);
}

.svc-form-pane {
    display: none;
    background: var(--white);
    border: 1px solid #e2e8e4;
    border-radius: 8px;
    padding: 35px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    max-width: 900px;
    margin: 0 auto;
}

.svc-form-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.form-header {
    border-bottom: 1px solid #eef2f0;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.form-header h3 {
    color: var(--primary-dark);
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.form-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.custom-portal-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.custom-portal-form .form-group {
    margin-bottom: 18px;
}

.custom-portal-form label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.custom-portal-form input,
.custom-portal-form select,
.custom-portal-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d4ded8;
    border-radius: 4px;
    font-size: 0.95rem;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s;
}

.custom-portal-form input:focus,
.custom-portal-form select:focus,
.custom-portal-form textarea:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}

.alert-box {
    padding: 14px 20px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.alert-box.success {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

/* ===================================================
   Blog Section
=================================================== */
.blog-section {
    padding: 70px 0;
    background-color: #f1f6f2;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e8e2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.blog-img-placeholder {
    background: linear-gradient(135deg, #1b4332, #2d6a4f);
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 3rem;
}

.blog-card-body {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-cat {
    display: inline-block;
    background: #e8f5e9;
    color: var(--primary-green);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.blog-date {
    font-size: 0.8rem;
    color: #888;
    float: right;
}

.blog-card-body h3 {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

.read-blog-link {
    text-decoration: none;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.9rem;
}

.read-blog-link:hover {
    text-decoration: underline;
}
/* सिंगल ब्लॉग आर्टिकल के अंदर का टेक्स्ट */
.article-body-content {
    text-align: justify;
    text-justify: inter-word; /* शब्दों के बीच स्पेस बराबर रखता है */
    line-height: 1.8;
}

/* ब्लॉग कार्ड्स का विवरण (Cards Excerpt) */
.blog-card-body p {
    text-align: justify;
    text-justify: inter-word;
}

/* सामान्य पैराग्राफ्स (यदि आवश्यक हो) */
.profile-card-block p,
.bio-text {
    text-align: justify;
    text-justify: inter-word;
}
/* DOI Citation Badge */
.doi-badge-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 0.84rem;
    margin-bottom: 22px;
}

.doi-label {
    font-weight: 700;
    color: #334155;
}

.doi-link {
    color: #0284c7;
    font-weight: 600;
    text-decoration: none;
    word-break: break-all;
}

.doi-link:hover {
    text-decoration: underline;
    color: #0369a1;
}

/* ===================================================
   Books & Novel Section
=================================================== */
.books-section {
    background-color: #edf3ef;
    padding: 70px 0;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.book-card {
    background: var(--white);
    border-radius: 8px;
    border: 1px solid #e2e8e4;
    padding: 20px;
    display: flex;
    gap: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    align-items: flex-start;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.book-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.book-card.novel-card {
    border-left: 4px solid var(--accent-gold);
}

.book-cover-box {
    width: 125px;
    height: 175px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.book-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.book-fallback-text {
    width: 100%;
    height: 100%;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 8px;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

/* Covers Gradient */
.gold-cover   { background: linear-gradient(135deg, #b45309, #d97706); }
.blue-cover   { background: linear-gradient(135deg, #1e3a8a, #2563eb); }
.purple-cover { background: linear-gradient(135deg, #581c87, #7e22ce); }
.green-cover  { background: linear-gradient(135deg, #14532d, #166534); }
.dark-cover   { background: linear-gradient(135deg, #0f172a, #334155); }

.fb-title { font-size: 0.82rem; font-weight: 700; line-height: 1.25; }
.fb-sub { font-size: 0.65rem; color: #fef08a; }
.fb-author { font-size: 0.72rem; border-top: 1px solid rgba(255, 255, 255, 0.25); padding-top: 4px; }
.fb-pub { font-size: 0.65rem; opacity: 0.9; }

.book-details {
    flex-grow: 1;
}

.book-tag-row {
    display: flex;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.genre-tag {
    background-color: #fef3c7;
    color: #92400e;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.edition-tag {
    background-color: #e0f2fe;
    color: #0369a1;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.book-details h4 {
    font-size: 1.12rem;
    color: var(--primary-dark);
    line-height: 1.3;
    margin-bottom: 3px;
}

.book-details .sub {
    font-size: 0.8rem;
    color: var(--accent-orange);
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.book-details .pub-info {
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 8px;
}

.book-meta-list {
    background-color: #f8fafc;
    border-left: 3px solid var(--primary-green);
    padding: 6px 10px;
    margin: 8px 0;
    border-radius: 0 4px 4px 0;
    font-size: 0.78rem;
    color: #334155;
    line-height: 1.5;
}

.book-meta-list span {
    display: block;
}

/* Novel Narrative Themes Bullet Box */
.novel-themes-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 6px;
    padding: 10px 14px;
    margin: 10px 0 14px 0;
    font-size: 0.82rem;
    color: #334155;
}

.novel-themes-box strong {
    color: var(--primary-dark);
    display: block;
    margin-bottom: 5px;
    font-size: 0.85rem;
}

.novel-themes-box ul {
    margin-left: 18px;
    line-height: 1.5;
}

.novel-themes-box li {
    margin-bottom: 4px;
}

.book-desc {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-top: 6px;
    line-height: 1.45;
}

.book-links {
    margin-top: 10px;
}

.amazon-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #ff9900;
    color: #111111;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.amazon-btn:hover {
    background-color: #e68a00;
    color: #000000;
}

/* ===================================================
   Students Section
=================================================== */
.students-section {
    padding: 50px 0;
    background: var(--white);
    text-align: center;
}

.students-box {
    max-width: 750px;
    margin: 0 auto;
    font-size: 1rem;
    color: var(--text-muted);
}

/* ===================================================
   Profile Page Layout
=================================================== */
.profile-hero {
    background: linear-gradient(135deg, #11281e 0%, #1b4332 100%);
    color: #ffffff;
    padding: 60px 0;
}

.profile-hero-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: center;
}

.profile-hero-image {
    display: flex;
    justify-content: center;
}

.designation-badge {
    background-color: var(--accent-gold);
    color: #1a1a1a;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 12px;
}

.profile-hero-meta h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 6px;
}

.profile-hero-meta .credentials {
    font-size: 1.1rem;
    color: #e2e8e4;
    font-weight: 600;
    margin-bottom: 10px;
}

.profile-hero-meta .affiliation {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 22px;
}

.profile-hero-meta .affiliation i {
    color: var(--accent-gold);
    margin-right: 6px;
}

.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.profile-details-section {
    padding: 60px 0;
    background-color: #f8faf9;
}

.profile-layout-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 35px;
}

.profile-card-block {
    background: #ffffff;
    border: 1px solid #e2e8e4;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.block-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid #eef2f0;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.block-header i {
    font-size: 1.4rem;
    color: var(--primary-green);
}

.block-header h2 {
    font-size: 1.35rem;
    color: var(--primary-dark);
}

.profile-card-block p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.timeline-list {
    list-style: none;
    position: relative;
    padding-left: 20px;
    border-left: 2px solid #cbd5e1;
}

.timeline-list li {
    position: relative;
    margin-bottom: 22px;
}

.timeline-list li::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-green);
    border: 2px solid #ffffff;
}

.timeline-list strong {
    display: block;
    color: var(--primary-dark);
    font-size: 1.05rem;
}

.timeline-list span {
    display: block;
    color: var(--accent-orange);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.timeline-list p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.sidebar-box {
    background: #ffffff;
    border: 1px solid #e2e8e4;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.sidebar-box h3 {
    color: var(--primary-dark);
    font-size: 1.15rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #eef2f0;
    padding-bottom: 10px;
}

.sidebar-box h3 i {
    color: var(--primary-green);
}

.merit-box {
    border-top: 4px solid var(--accent-gold);
}

.merit-item {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.badge-rank {
    background: var(--primary-green);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.merit-item strong {
    color: var(--primary-dark);
    display: block;
    font-size: 0.92rem;
}

.merit-item p {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    margin-bottom: 15px;
}

.sidebar-list strong {
    display: block;
    color: var(--primary-dark);
    font-size: 0.92rem;
}

.sidebar-list a {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
}

.sidebar-list p {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-top: 3px;
}

.sidebar-contact {
    list-style: none;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.sidebar-contact li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.sidebar-contact strong {
    color: var(--primary-dark);
}

/* ===================================================
   Footer
=================================================== */
.main-footer {
    background-color: #11281e;
    color: #cbd5e1;
    padding-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.3fr;
    gap: 30px;
    padding-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 6px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-gold);
}

.bio-text {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    margin-right: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.footer-socials a:hover {
    background-color: var(--primary-green);
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 8px;
}

.footer-nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--accent-gold);
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    gap: 10px;
    font-size: 0.88rem;
    margin-bottom: 10px;
}

.contact-details a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    padding: 15px 0;
    font-size: 0.82rem;
    color: #94a3b8;
}

/* ===================================================
   Keyframe Animations
=================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================================
   Responsive Media Queries
=================================================== */
@media (max-width: 850px) {
    .profile-hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-actions {
        justify-content: center;
    }

    .profile-layout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .navbar {
        display: none;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: var(--white);
        box-shadow: 0 6px 15px rgba(0,0,0,0.15);
        padding: 20px;
    }

    .navbar.show {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
    }

    .btn-nav {
        justify-content: space-between;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 15px;
        border-top: none;
        border-left: 3px solid var(--primary-green);
        background-color: #fafdfa;
    }

    .dropdown-menu.show-mobile {
        display: block;
    }

    .hero-container-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image-wrap {
        order: -1;
    }

    .profile-circle-frame {
        width: 240px;
        height: 240px;
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .book-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .book-meta-list,
    .novel-themes-box {
        text-align: left;
    }
}