/* ============================================================
   STYLE.CSS - Complete Stylesheet for NOORBAN Tv
   Consolidated from ALL pages: index, news, about, contact,
   culture, human-rights, article, quetta, sports, survey,
   videos, stats, library
   ============================================================ */

/* ============================================================
   RESET & BASE - All Pages
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8f9fa;
    color: #1e2a3a;
    transition: background 0.3s, color 0.3s;
    padding-top: 80px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.dark-mode {
    background: #121a26;
    color: #e8edf2;
}

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

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   TYPOGRAPHY - All Pages
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    color: #0f2840;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
    color: #e8edf2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
}

h3 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
}

h4 {
    font-size: 1.2rem;
}

/* ============================================================
   BUTTONS - All Pages
   ============================================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: #c0392b;
    color: #fff;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
}

.btn-primary:hover {
    background: #a93226;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(192, 57, 43, 0.3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    color: #0f2840;
    border: 2px solid #0f2840;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
}
body.dark-mode .btn-outline{
    color: silver;
}
body.dark-mode .btn-outline:hover{
    color: white;
    transition: 0.3s;
    box-shadow: 0 3px 10px;
}

.btn-outline:hover {
    background: #0f2840;
    color: #fff;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

#survey {
    background: green;
}

#survey:hover {
    background: darkgreen;
}

/* ============================================================
   HEADER / NAVIGATION - All Pages
   ============================================================ */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 20px;
    background: #0f2840;
    color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
    min-height: 60px;
}

.site-header.scrolled {
    background: #0a1e2f;
}

/* Left section - Logo + Navigation */
.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}

.logo-icon img {
    height: 36px;
    border-radius: 6px;
}

.brand {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* Navigation - Left aligned, beside logo */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 8px;
    color: #f0f4f8;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-links a:hover {
    background: rgba(192, 57, 43, 0.08);
    color: #c0392b;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 14px;
    bottom: 4px;
    width: 0;
    height: 2px;
    border-radius: 10px;
    background: #c0392b;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: calc(100% - 28px);
}

/* Right section - Controls */
.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.mood-toggle,
.menu-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: 0.3s;
}

.mood-toggle:hover,
.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mood-toggle {
    display: block;
}

.menu-toggle {
    display: none;
}

/* ============================================================
   OVERLAY & MOBILE MENU - All Pages
   ============================================================ */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100%;
    background: #0f2840;
    z-index: 1001;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 30px 20px;
    color: #fff;
    overflow-y: auto;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.4);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.mobile-menu-close:hover {
    transform: rotate(180deg);
    transition: 0.4s;
    color: red;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-nav-links li a {
    display: block;
    width: 100%;
    color: #f0f4f8;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: 0.2s;
    padding: 7px 10px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-links li a:hover {
    color: #c0392b;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ============================================================
   PAGE HERO - All Pages
   ============================================================ */
.page-hero {
    padding: 140px 0 60px;
    background: #0f2840;
    color: #ffffff;
}

.page-hero h1 {
    color: #ffffff;
    font-size: 3.4rem;
    font-weight: 800;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-top: 8px;
}

.page-hero .hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.page-hero .hero-stats .stat {
    text-align: center;
}

.page-hero .hero-stats .stat .number {
    font-size: 40px;
    font-weight: 800;
    color: #f39c12;
    display: block;
    transition: all 0.3s ease;
    min-width: 60px;
}

.page-hero .hero-stats .stat .label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.page-hero .hero-stats .stat .number.updating {
    animation: numberPulse 0.3s ease;
}

@keyframes numberPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
        color: #fbbf24;
    }

    100% {
        transform: scale(1);
    }
}

/* ============================================================
   SECTION HEADER - All Pages
   ============================================================ */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header .tag {
    display: inline-block;
    background: #c0392b;
    color: #fff;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.section-header h2 {
    margin-bottom: 8px;
}

.section-header p {
    color: #6a7a8a;
    max-width: 500px;
    margin: 0 auto;
}

body.dark-mode .section-header p {
    color: #9aabb8;
}

/* ============================================================
   FILTER BAR - News Page
   ============================================================ */
.filter-bar {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 70px;
}

.filter-bar a {
    padding: 8px 18px;
    border: 2px solid silver;
    border-radius: 30px;
    text-decoration: none;
    color: inherit;
}

.filter-bar .active {
    background: brown;
    color: whitesmoke;
}

.filter-bar a:hover {
    transform: translateY(-3px);
    border: 2px solid brown;
    transition: 0.4s;
    color: brown;
}

.filter-bar .quetta-link i {
    font-size: 11px;
    animation: locationPulse 3s ease-in-out infinite;
    display: inline-block;
    padding-right: 5px;
}

@keyframes locationPulse {
    0% {
        transform: scale(1) translateY(0);
        color: green;
    }

    25% {
        transform: scale(1.15) translateY(-1px);
        color: yellowgreen;
    }

    50% {
        transform: scale(1) translateY(0);
        color: green;
    }

    75% {
        transform: scale(1.15) translateY(-1px);
        color: yellowgreen;
    }

    100% {
        transform: scale(1) translateY(0);
        color: green;
    }
}

.quetta-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #c0392b;
    color: #ffffff !important;
    border-color: #c0392b !important;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 13px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.quetta-link i {
    font-size: 11px;
}

.quetta-link:hover i {
    transform: scale(1.2);
    transition: 0.4s;
    color: lawngreen;
}

/* ============================================================
   NEWS / ARTICLE CARDS - News, Culture, Human Rights, Index
   ============================================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 10px;
}

.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    transition: 0.25s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.4);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

body.dark-mode .news-card {
    background: #1e2a3a;
}

.news-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-content {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category {
    font-size: 12px;
    font-weight: 700;
    color: #c0392b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.news-card-content h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 6px 0 10px;
    font-family: Arial Nova;

}

.news-card-content h3 a {
    color: #0f2840;
    text-decoration: none;
}
.news-card-content h3 a:hover{
    color: blue;
    transition: 0.3s;
}

body.dark-mode .news-card-content h3 a {
    color: #e8edf2;
}
body.dark-mode .news-card-content h3 a:hover {
    color: orange;
}

.excerpt {
    color: #4a5a6a;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 14px;
    flex: 1;
}

body.dark-mode .excerpt {
    color: #b0c4d8;
}

.meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #6a7a8a;
    border-top: 1px solid #ecf0f1;
    padding-top: 14px;
}

body.dark-mode .meta {
    color: #9aabb8;
    border-color: #2a3a4a;
}


.author {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: black;
}

.avatar {
    width: 28px;
    height: 28px;
    background: #c0392b;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 10px;
}
#author{
    display: flex;
    flex-direction: row;
    font-size: 10px;
    color: black;
    
}

/* ============================================================
   PAGINATION - News Page
   ============================================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination a {
    padding: 8px 16px;
    border: 1px solid #ecf0f1;
    border-radius: 6px;
    color: #2c3e50;
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: #fff;

}

.pagination a:hover,
.pagination a.active {
    background: #c0392b;
    color: #ffffff;
    border-color: #c0392b;
}

.pagination a#prevPage,
.pagination a#nextPage {
    padding: 10px 20px;
    font-weight: 600;
    border: 1px solid silver;
}

.pagination a#prevPage:hover,
.pagination a#nextPage:hover {
    background: #c0392b;
    color: #ffffff;
    border-color: #c0392b;
}

body.dark-mode .pagination a {
    background: #1e2a3a;
    color: #d0dae6;
    border-color: #2a3a4a;
}

body.dark-mode .pagination a:hover,
body.dark-mode .pagination a.active {
    background: #c0392b;
    color: #fff;
    border-color: #c0392b;
}

/* ============================================================
   CATEGORIES - Index Page
   ============================================================ */
.categories-section {
    padding: 60px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.category-card {
    padding: 10px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: none;
    border-left: 1px solid silver;
    color: #ffffff;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    background-size: cover;
    background-position: center;
    border-top: 1px solid silver;
}

.human-rights:hover {
    background-image: linear-gradient(to right top, #ff6b6b, #ee5253, #c44569, #8e44ad);
}

.news:hover {
    background-image: linear-gradient(to right top, #00c6ff, #0072ff);
}

.culture:hover {
    background-image: linear-gradient(to right top, #f7971e, #ffd200);
}

.articles:hover {
    background-image: linear-gradient(to right top, #8e2de2, #4a00e0);
}

.politics:hover {
    background-image: linear-gradient(to right top, #11998e, #38ef7d);
}

.library:hover {
    background-image: linear-gradient(to right top, #11998e, #38ef7d);
}

.quetta:hover {
    background-image: linear-gradient(to right top, #4568dc, #b06ab3);
}

.sports:hover {
    background-image: linear-gradient(to right top, #f12711, #f5af19);
}

.videos:hover {
    background-image: linear-gradient(to right top, #ff0000, #8b0000);
}

body.dark-mode .category-card {
    background: #1e2a3a;
}

.category-card .icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
    display: block;
}

.category-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: black;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

.category-card p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.category-card .arrow {
    display: inline-block;
    margin-top: 10px;
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.9);
}

.category-card:hover .arrow {
    opacity: 1;
    transform: translateY(0);
}

.category-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.category-card:active {
    transform: scale(0.96);
}

body.dark-mode .category-card p {
    color: #9aabb8;
}

/* ============================================================
   HUMAN RIGHTS SECTION - Index Page
   ============================================================ */
.human-rights-section {
    padding: 60px 0;
    background: #f0f2f5;
}

body.dark-mode .human-rights-section {
    background: #0d1a2a;
}

.human-rights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.human-rights-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.human-rights-content p {
    color: #4a5a6a;
    line-height: 1.6;
    margin-bottom: 12px;
}

body.dark-mode .human-rights-content p {
    color: #b0c4d8;
}

.human-rights-image img {
    width: 100%;
    border-radius: 16px;
    max-height: 400px;
    object-fit: cover;
}

/* ============================================================
   QUOTE SECTION
   ============================================================ */
.quote-section {
    padding: 80px 0;
    text-align: center;
    background: #0f2840;
    color: #fff;
    position: relative;
    margin-bottom: 0;
}

.quote-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent 0%, #c0392b 10%, #e74c3c 30%, #f39c12 50%, #e74c3c 70%, #c0392b 90%, transparent 100%);
    box-shadow: 0 2px 20px rgba(192, 57, 43, 0.3);
}

.quote-section::before {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 100%;
    height: 15px;
    background: repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(192, 57, 43, 0.05) 10px, rgba(192, 57, 43, 0.05) 20px);
    opacity: 0.5;
}

.quote-section blockquote {
    font-size: 1.6rem;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto 24px;
    line-height: 1.5;
    font-style: italic;
}

.quote-section .author {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.quote-section .author strong {
    color: #fff;
    display: block;
}

.quote-section .person img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 8px;
}

/* ============================================================
   HERO - Index Page
   ============================================================ */
.hero {
    padding: 60px 0 40px;
    background: #0f2840;
    color: #fff;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

.hero-content h1 span {
    font-size: 4rem;
    text-shadow: 0 0 3px #0f2840;
    color: red;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin: 16px 0 24px;
    max-width: 500px;
}

.btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    border-radius: 16px;
    max-height: 400px;
    object-fit: cover;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-section {
    padding: 48px 0;
}

.about-section .content {
    max-width: 800px;
    margin: 0 auto;
}

.about-section .content p {
    font-size: 18px;
    line-height: 1.9;
    color: #2c3e50;
    margin-bottom: 24px;
}

body.dark-mode .about-section .content p {
    color: #b0c4d8;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 48px;
}

.mission-vision .card {
    background: #ffffff;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #bdc3c7;
    text-align: center;
    transition: 0.3s;
}

body.dark-mode .mission-vision .card {
    background: #1e2a3a;
    border-color: #2a3a4a;
}

.mission-vision .card:hover {
    border-color: #000000;
    transition: 0.3s;
}

body.dark-mode .mission-vision .card:hover {
    border-color: #c0392b;
}

.mission-vision .card .icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.mission-vision .card h3 {
    margin-bottom: 8px;
}

.mission-vision .card p {
    color: #7f8c8d;
}

body.dark-mode .mission-vision .card p {
    color: #9aabb8;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
    padding: 48px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info h2 {
    margin-bottom: 32px;
}

.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info .info-item .icon {
    width: 50px;
    height: 50px;
    background: #c0392b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 19px;
    flex-shrink: 0;
    transition: 0.3s;
}

body.dark-mode .contact-info .info-item .icon {
    background: #a93226;
}

.contact-info .info-item h4 {
    margin-bottom: 4px;
}

.contact-info .info-item p {
    color: #7f8c8d;
}

body.dark-mode .contact-info .info-item p {
    color: #9aabb8;
}

.contact-form-wrapper {
    background: #ffffff;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #ecf0f1;
    transition: background 0.3s, border-color 0.3s;
}

body.dark-mode .contact-form-wrapper {
    background: #1e2a3a;
    border-color: #2a3a4a;
}

.contact-form-wrapper h3 {
    margin-bottom: 24px;
}

.contact-form-wrapper .form-group {
    margin: 10px 0;
}

.contact-form-wrapper label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 15px;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #bdc3c7;
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8f9fa;
}

body.dark-mode .contact-form-wrapper input,
body.dark-mode .contact-form-wrapper textarea {
    background: #121a26;
    border-color: #2a3a4a;
    color: #e8edf2;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus {
    outline: none;
    border-color: #c0392b;
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.08);
}

.contact-form-wrapper textarea {
    min-height: 150px;
    resize: vertical;
}

/* ============================================================
   SOCIAL LINKS
   ============================================================ */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #bdc3c7;
    color: #2c3e50;
    transition: 0.3s;
    font-size: 18px;
}

body.dark-mode .social-links a {
    border-color: #2a3a4a;
    color: #b0c4d8;
}

.social-links a:hover {
    background: #c0392b;
    color: #fff;
    border-color: #c0392b;
}

/* ============================================================
   TIMELINE - Human Rights Page
   ============================================================ */
.timeline-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 32px;
}

.timeline {
    position: relative;
    padding-left: 40px;
    margin: 48px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #c0392b;
}

.timeline-item {
    margin-bottom: 32px;
    padding-left: 24px;
    border-left: 3px solid transparent;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item:hover {
    border-left-color: #c0392b;
}

.timeline-item .year {
    font-weight: 700;
    color: #c0392b;
    font-size: 19px;
}

.timeline-item h4 {
    margin: 4px 0;
    color: #1e2a3a;
}

body.dark-mode .timeline-item h4 {
    color: #e8edf2;
}

.timeline-item p {
    color: #7f8c8d;
}

body.dark-mode .timeline-item p {
    color: #9aabb8;
}

/* ============================================================
   ARTICLE PAGE - FIGURE CONTAINERS
   ============================================================ */
.article-hero {
    padding: 90px 0 60px;
    background: #0f2840;
    color: #fff;
}

.article-hero .category {
    display: inline-block;
    background: #c0392b;
    color: #fff;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.article-hero p {
    margin-top: 20px;
    font-size: 1.3rem;
    color: silver;
}

.article-hero h1 {
    color: #fff;
    max-width: 800px;
    font-size: 4rem;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
}

.article-hero h1:hover {
    background: url("https://jade-abresham.com/english/wp-content/uploads/2022/05/IMG_6064_Fotor-scaled.jpg");
    background-clip: text;
    -webkit-background-clip: text;
    background-position: center;
    background-size: cover;
    color: transparent;
    animation: textBgPulse 10s ease-in-out infinite;
}

@keyframes textBgPulse {
    0% {
        background-size: 100% 100%;
    }

    50% {
        background-size: 190% 190%;
    }

    100% {
        background-size: 100% 100%;
    }
}

.article-hero .meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.article-hero .meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-body {
    padding: 48px 0;
}

.figure-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 32px;
    border: 1px solid silver;
    padding: 0 10px;
    transition: 0.3s;
    align-items: center;
}

body.dark-mode .figure-container {
    background: #1e2a3a;
}

.figure-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #fff;
}

.figure-image {
    height: 280px;
    overflow: hidden;
    flex-shrink: 0;
}

.figure-image img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: 0.3s;
}

.figure-container:hover .figure-image img {
    transform: scale(1.03);
    border-radius: 16px;
}

.figure-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.figure-content h2 {
    font-size: 1.8rem;
    color: #0f2840;
    margin-bottom: 4px;
}

body.dark-mode .figure-content h2 {
    color: #e8edf2;
}

.figure-role {
    display: inline-block;
    color: #c0392b;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #c0392b;
}

.figure-content p {
    color: #1e2a3a;
    line-height: 1.8;
    margin-bottom: 12px;
}

body.dark-mode .figure-content p {
    color: #b0c4d8;
}

.figure-content p strong {
    color: #0f2840;
}

body.dark-mode .figure-content p strong {
    color: #d0dae6;
}

.figure-source {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #ecf0f1;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.figure-source a {
    color: #c0392b;
    font-weight: 500;
}

.figure-source a:hover {
    text-decoration: underline;
}

.figure-source i {
    margin-right: 6px;
    color: #c0392b;
}

/* ============================================================
   QUETTA & SPORTS COMMUNITY CARDS
   ============================================================ */
.community-section {
    padding: 48px 0;
    background: #f8f9fa;
}

body.dark-mode .community-section {
    background: #121a26;
}

.community-section .section-header {
    margin-bottom: 48px;
    text-align: center;
}

.community-section .section-header .tag {
    background: #c0392b;
    color: #ffffff;
    padding: 4px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.community-section .section-header h2 {
    font-size: 40px;
    font-weight: 800;
    margin-top: 8px;
}

.community-section .section-header p {
    color: #7f8c8d;
    max-width: 600px;
    margin: 8px auto 0;
}

body.dark-mode .community-section .section-header p {
    color: #9aabb8;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.community-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #bdc3c7;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    padding: 5px;
    padding-bottom: 10px;
}

body.dark-mode .community-card {
    background: #1e2a3a;
    border-color: #2a3a4a;
}

.community-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: #c0392b;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.community-card:hover {
    transform: translateY(-6px);
    border-color: #c0392b;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.community-card:hover::before {
    transform: scaleX(1);
}

.community-card .card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #f7f7f7;
    flex-shrink: 0;
}

.community-card .card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.community-card:hover .card-image::after {
    opacity: 1;
}

.community-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.community-card:hover .card-image img {
    transform: scale(1.06);
    filter: saturate(1.04) contrast(1.02);
}

.community-card .card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #c0392b;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    z-index: 3;
}

.community-card .card-badge.graduated {
    background: #22c55e;
}

.community-card .card-badge.achievement {
    background: #f59e0b;
}

.community-card .card-badge.inspiring {
    background: #8b5cf6;
}

.community-card .card-badge.leader {
    background: #3b82f6;
}

.community-card .card-content {
    padding: 16px 19px 19px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.community-card .card-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 2px;
}

body.dark-mode .community-card .card-content h3 {
    color: #e8edf2;
}

.community-card .card-content .role {
    color: #c0392b;
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 4px;
}

.community-card .card-content p {
    color: #7f8c8d;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 0;
}

body.dark-mode .community-card .card-content p {
    color: #9aabb8;
}

.community-card .card-content p strong {
    color: #2c3e50;
}

body.dark-mode .community-card .card-content p strong {
    color: #d0dae6;
}

.community-card .card-content .achievement-list {
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
}

.community-card .card-content .achievement-list li {
    padding: 3px 0;
    font-size: 11px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

body.dark-mode .community-card .card-content .achievement-list li {
    color: #d0dae6;
    border-bottom-color: rgba(255, 255, 255, 0.02);
}

.community-card .card-content .achievement-list li:last-child {
    border-bottom: none;
}

.community-card .card-content .achievement-list li i {
    color: #c0392b;
    width: 16px;
    font-size: 11px;
}

.social-divider {
    display: flex;
    align-items: center;
    margin: 18px 0 14px;
    color: #999999;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0 19px;
}

body.dark-mode .social-divider {
    color: #6a7a8a;
}

.social-divider::before,
.social-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.2), transparent);
}

body.dark-mode .social-divider::before,
body.dark-mode .social-divider::after {
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.social-divider span {
    margin: 0 14px;
    color: #000000;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 11px;
}

body.dark-mode .social-divider span {
    color: #d0dae6;
}

.social-media {
    display: flex;
    gap: 13px;
    padding: 0 19px 10px;
}

.social-media a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    text-decoration: none;
    font-size: 18px;
    border: 1px solid #bdc3c7;
    transition: all 0.35s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

body.dark-mode .social-media a {
    color: #d0dae6;
    border-color: #2a3a4a;
}

.social-media a:hover {
    transform: translateY(-6px) scale(1.12);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.social-media a.facebook:hover {
    background: linear-gradient(135deg, #1877F2, #0A58CA);
}

.social-media a.instagram:hover {
    background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF);
}

.social-media a.whatsapp:hover {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.social-media a.youtube:hover {
    background: linear-gradient(135deg, #FF0000, #C00000);
}

.social-media a i {
    transition: transform 0.35s ease;
}

.social-media a:hover i {
    transform: scale(1.15);
}

.date {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin: 8px 0;
}

.date h3 {
    font-size: 19px;
}

.date p {
    font-size: 13px;
}

/* ============================================================
   SEARCH BAR - Quetta & Sports
   ============================================================ */
.search-container {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.search-container .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    font-size: 16px;
}

.search-container input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 1px solid #bdc3c7;
    border-radius: 60px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: 0.3s ease;
    background: #ffffff;
    color: #2c3e50;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

body.dark-mode .search-container input {
    background: #1e2a3a;
    border-color: #2a3a4a;
    color: #e8edf2;
}

.search-container input:focus {
    border-color: #c0392b;
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.search-container input::placeholder {
    color: #7f8c8d;
}

body.dark-mode .search-container input::placeholder {
    color: #9aabb8;
}

.search-container .clear-btn {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    font-size: 19px;
    padding: 4px 8px;
    display: none;
    transition: 0.3s ease;
}

.search-container .clear-btn.visible {
    display: block;
}

.search-container .clear-btn:hover {
    color: #c0392b;
}

.search-count {
    text-align: center;
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 24px;
    display: none;
}

.search-count strong {
    color: #c0392b;
    font-weight: 700;
}

.no-results {
    text-align: center;
    padding: 48px 32px;
    color: #7f8c8d;
    font-size: 18px;
    display: none;
    background: #ffffff;
    border-radius: 20px;
    border: 1px dashed #ecf0f1;
}

body.dark-mode .no-results {
    background: #1e2a3a;
    border-color: #2a3a4a;
}

.no-results i {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
    color: #ecf0f1;
}

.no-results strong {
    color: #c0392b;
}

/* ============================================================
   CTA SECTION - Quetta & Sports
   ============================================================ */
.cta-section {
    padding: 80px 0;
    background: #0a1e2f;
    color: #fff;
    text-align: center;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 24px;
}

/* ============================================================
   VIDEO GALLERY
   ============================================================ */
.video-gallery {
    padding: 48px 0;
    background: #f8f9fa;
}

body.dark-mode .video-gallery {
    background: #121a26;
}

.video-gallery .section-header {
    margin-bottom: 48px;
    text-align: center;
}

.video-gallery .section-header .tag {
    background: #c0392b;
    color: #ffffff;
    padding: 4px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.video-gallery .section-header h2 {
    font-size: 40px;
    font-weight: 800;
    margin-top: 8px;
}

.video-gallery .section-header p {
    color: #7f8c8d;
    max-width: 600px;
    margin: 8px auto 0;
}

body.dark-mode .video-gallery .section-header p {
    color: #9aabb8;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.video-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid silver;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

body.dark-mode .video-card {
    background: #1e2a3a;
    border-color: #2a3a4a;
}

.video-card:hover {
    transform: translateY(-6px);
    border-color: #c0392b;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-wrapper a img {
    width: 100%;
    height: auto;
}

.video-info {
    padding: 20px 24px 24px;
}

.video-info .video-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 8px;
    line-height: 1.3;
}

body.dark-mode .video-info .video-title {
    color: #e8edf2;
}

.video-info .video-description {
    font-size: 12px;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 16px;
}

.video-description li {
    padding-left: 5px;
    list-style: none;
}

body.dark-mode .video-info .video-description {
    color: #9aabb8;
}

.more-details-btn {
    background: transparent;
    border: 2px solid #c0392b;
    color: #c0392b;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 12px;
}

.more-details-btn:hover {
    background: #c0392b;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3);
}

.more-details-btn i {
    transition: transform 0.3s ease;
}

.more-details-btn.active i {
    transform: rotate(180deg);
}

.video-details {
    display: none;
    animation: fadeInDetails 0.4s ease;
}

.video-details.open {
    display: block;
}

@keyframes fadeInDetails {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-details .video-description {
    margin: 6px 0 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #c0392b;
}

body.dark-mode .video-details .video-description {
    background: #121a26;
}

.video-preview {
    color: #7f8c8d;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 4px;
}

body.dark-mode .video-preview {
    color: #9aabb8;
}

.video-divider {
    display: flex;
    align-items: center;
    margin: 12px 0 14px;
    color: #999999;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

body.dark-mode .video-divider {
    color: #6a7a8a;
}

.video-divider::before,
.video-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.15), transparent);
}

body.dark-mode .video-divider::before,
body.dark-mode .video-divider::after {
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.video-divider span {
    margin: 0 14px;
    color: #000000;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 11px;
}

body.dark-mode .video-divider span {
    color: #d0dae6;
}

.video-social {
    display: flex;
    gap: 12px;
}

.video-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    border: 1px solid #d0d5da;
    transition: all 0.35s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

body.dark-mode .video-social a {
    color: #d0dae6;
    border-color: #3a4a5a;
}

.video-social a:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.video-social a.youtube:hover {
    background: linear-gradient(135deg, #FF0000, #C00000);
}

.video-social a.facebook:hover {
    background: linear-gradient(135deg, #1877F2, #0A58CA);
}

.video-social a.instagram:hover {
    background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF);
}

.video-social a.twitter:hover {
    background: linear-gradient(135deg, #1DA1F2, #0D8BD0);
}

.video-social a.whatsapp:hover {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.video-social a i {
    transition: transform 0.35s ease;
}

.video-social a:hover i {
    transform: scale(1.15);
}

.video-date {
    font-size: 12px;
    color: brown;
    margin-top: 12px;
    display: flex;
    align-items: center;
}

body.dark-mode .video-date {
    color: #6a7a8a;
}

.video-date i {
    color: black;
    margin: 0 5px;
    font-size: 1rem;
}

.load-more {
    text-align: center;
    margin-top: 48px;
}

.load-more .btn-primary {
    padding: 14px 48px;
    font-size: 16px;
}

/* ============================================================
   SURVEY PAGE
   ============================================================ */
.survey-section {
    padding: 48px 0;
    background: #f8f9fa;
}

body.dark-mode .survey-section {
    background: #121a26;
}

.survey-container {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #ecf0f1;
    transition: background 0.3s, border-color 0.3s;
}

body.dark-mode .survey-container {
    background: #1e2a3a;
    border-color: #2a3a4a;
}

.survey-container .progress-bar {
    width: 100%;
    height: 4px;
    background: #ecf0f1;
    border-radius: 4px;
    margin-bottom: 48px;
    overflow: hidden;
}

body.dark-mode .survey-container .progress-bar {
    background: #2a3a4a;
}

.survey-container .progress-bar .progress {
    height: 100%;
    background: #c0392b;
    border-radius: 4px;
    transition: width 0.5s ease;
    width: 0%;
}

.survey-container .survey-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.survey-container .survey-step.active {
    display: block;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.survey-container .step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 48px;
    position: relative;
}

.survey-container .step-indicator .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #7f8c8d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.dark-mode .survey-container .step-indicator .step {
    color: #9aabb8;
}

.survey-container .step-indicator .step .number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ecf0f1;
    color: #7f8c8d;
    border: 1px solid #bdc3c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    transition: 0.3s ease;
}

body.dark-mode .survey-container .step-indicator .step .number {
    background: #2a3a4a;
    border-color: #3a4a5a;
    color: #9aabb8;
}

.survey-container .step-indicator .step.active .number {
    background: #c0392b;
    color: #ffffff;
    border-color: #c0392b;
}

.survey-container .step-indicator .step.done .number {
    background: #22c55e;
    color: #ffffff;
    border-color: #22c55e;
}

.survey-container .step-indicator .step.active {
    color: #2c3e50;
}

body.dark-mode .survey-container .step-indicator .step.active {
    color: #e8edf2;
}

.survey-container h2 {
    font-size: 29px;
    margin-bottom: 8px;
}

.survey-container .question-text {
    color: #7f8c8d;
    margin-bottom: 32px;
    font-size: 17px;
}

body.dark-mode .survey-container .question-text {
    color: #9aabb8;
}

.survey-container .form-group {
    margin-bottom: 24px;
}

.survey-container .form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 15px;
}

.survey-container .form-group label .required {
    color: #c0392b;
    margin-left: 2px;
}

.survey-container .form-group .help-text {
    font-size: 13px;
    color: #7f8c8d;
    margin-top: 4px;
}

body.dark-mode .survey-container .form-group .help-text {
    color: #9aabb8;
}

.survey-container .form-group input,
.survey-container .form-group select,
.survey-container .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #bdc3c7;
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: 0.3s ease;
    background: #ffffff;
    color: #2c3e50;
}

body.dark-mode .survey-container .form-group input,
body.dark-mode .survey-container .form-group select,
body.dark-mode .survey-container .form-group textarea {
    background: #121a26;
    border-color: #2a3a4a;
    color: #e8edf2;
}

.survey-container .form-group input:focus,
.survey-container .form-group select:focus,
.survey-container .form-group textarea:focus {
    outline: none;
    border-color: #c0392b;
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.06);
}

.survey-container .form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.survey-container .options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
}

.survey-container .option-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid #bdc3c7;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
}

body.dark-mode .survey-container .option-item {
    border-color: #2a3a4a;
}

.survey-container .option-item:hover {
    border-color: #c0392b;
    background: rgba(192, 57, 43, 0.02);
}

body.dark-mode .survey-container .option-item:hover {
    background: rgba(192, 57, 43, 0.08);
}

.survey-container .option-item input[type="radio"],
.survey-container .option-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #c0392b;
    cursor: pointer;
    flex-shrink: 0;
}

.survey-container .option-item label {
    cursor: pointer;
    font-weight: 400;
    margin: 0;
    font-size: 15px;
}

/* Survey Rating Stars */
.survey-container .rating-stars {
    display: flex;
    gap: 8px;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.survey-container .rating-stars input {
    display: none;
}

.survey-container .rating-stars label {
    font-size: 32px;
    color: #bdc3c7;
    cursor: pointer;
    transition: 0.3s ease;
}

body.dark-mode .survey-container .rating-stars label {
    color: #3a4a5a;
}

.survey-container .rating-stars label:hover,
.survey-container .rating-stars label:hover~label,
.survey-container .rating-stars input:checked~label {
    color: #f59e0b;
}

.survey-container .survey-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px;
}

.btn-prev,
.btn-next,
.btn-submit {
    padding: 12px 32px;
    border: none;
    border-radius: 60px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-prev {
    background: rgba(0, 0, 0, 0.15);
    color: #2c3e50;
}

body.dark-mode .btn-prev {
    background: rgba(255, 255, 255, 0.1);
    color: #d0dae6;
}

.btn-prev:hover {
    background: #d1d5db;
}

body.dark-mode .btn-prev:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-next {
    background: #c0392b;
    color: #ffffff;
}

.btn-next:hover {
    background: #e74c3c;
    transform: translateY(-2px);
}

.btn-submit {
    background: #22c55e;
    color: #ffffff;
}

.btn-submit:hover {
    background: #16a34a;
    transform: translateY(-2px);
}

.survey-container .survey-success {
    display: none;
    text-align: center;
    padding: 48px 32px;
}

.survey-container .survey-success.active {
    display: block;
    animation: fadeIn 0.6s ease;
}

.survey-container .survey-success .icon {
    font-size: 64px;
    color: #22c55e;
    margin-bottom: 16px;
}

.survey-container .survey-success h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.survey-container .survey-success p {
    color: #7f8c8d;
    font-size: 17px;
}

body.dark-mode .survey-container .survey-success p {
    color: #9aabb8;
}

.survey-container .summary-box {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 24px;
    margin: 24px 0;
    text-align: left;
    border-left: 4px solid #c0392b;
}

body.dark-mode .survey-container .summary-box {
    background: #121a26;
}

.survey-container .summary-box h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #1a3a5c;
}

body.dark-mode .survey-container .summary-box h3 {
    color: #e8edf2;
}

.survey-container .summary-box .summary-item {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    font-size: 14px;
}

body.dark-mode .survey-container .summary-box .summary-item {
    border-bottom-color: rgba(255, 255, 255, 0.04);
}

.survey-container .summary-box .summary-item:last-child {
    border-bottom: none;
}

.survey-container .summary-box .summary-item .label {
    font-weight: 600;
    color: #2c3e50;
}

body.dark-mode .survey-container .summary-box .summary-item .label {
    color: #d0dae6;
}

.survey-container .summary-box .summary-item .value {
    color: #7f8c8d;
    text-align: right;
    max-width: 60%;
}

body.dark-mode .survey-container .summary-box .summary-item .value {
    color: #9aabb8;
}

/* Survey Toast Notification */
.custom-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 16px 24px;
    background: #22c55e;
    color: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    max-width: 400px;
    z-index: 9999;
    animation: slideInRight 0.4s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-toast.error {
    background: #f59e0b;
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================================
   STATISTICS SECTION - Survey Page
   ============================================================ */
.statistics-section {
    padding: 48px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #ffffff;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #ecf0f1;
    border: 1px solid rosybrown;
}

.stat-card:hover {
    transform: translateY(-4px);
    border: 1px solid brown;
    transition: 0.3s;
}

body.dark-mode .stat-card {
    background: #1e2a3a;
    border-color: #2a3a4a;
}

.stat-number {
    font-size: 40px;
    font-weight: 800;
    color: #c0392b;
}

.stat-label {
    font-size: 14px;
    color: #7f8c8d;
}

body.dark-mode .stat-label {
    color: #9aabb8;
}

.stats-page .stats-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.stats-column {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid silver;
}

body.dark-mode .stats-column {
    background: #1e2a3a;
    border-color: #2a3a4a;
}

.stats-column h4 {
    margin-bottom: 16px;
    color: #1a3a5c;
    border-bottom: 1px solid #ecf0f1;
    padding-bottom: 8px;
}

body.dark-mode .stats-column h4 {
    color: #e8edf2;
    border-bottom-color: #2a3a4a;
}

.stats-column .stat-item {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
    font-size: 14px;
}

body.dark-mode .stats-column .stat-item {
    border-bottom-color: rgba(255, 255, 255, 0.02);
}

.stats-column .stat-item .count {
    font-weight: 700;
    color: #c0392b;
}

/* ============================================================
   STATS PAGE (stats.html)
   ============================================================ */
.stats-page {
    max-width: 1350px;
    width: 100%;
    margin: 0 auto;
    padding: 10px 15px;
}

.stats-page .page-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    background: black;
    padding: 1.2rem 2rem;
    border-radius: 80px;
    box-shadow: 0 12px 40px rgba(0, 20, 40, 0.06), 0 2px 8px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(2px);
    transition: box-shadow 0.25s ease, transform 0.2s;
}

.stats-page .page-header h1 {
    font-size: 2.8rem;
    font-weight: 750;
    color: yellowgreen;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    line-height: 1.2;
}

.stats-page .page-header h1 i {
    color: #2563eb;
    font-size: 2.5rem;
    background: linear-gradient(145deg, #eff6ff, #dbeafe);
    padding: 0.4rem 0.6rem;
    border-radius: 100px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    transition: transform 0.2s;
}

.stats-page .header-actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    align-items: center;
}

.stats-page .btn {
    padding: 0.6rem 1.4rem;
    border: none;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s ease;
    background: white;
    color: #1e293b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.stats-page .btn i {
    font-size: 1rem;
}

#strong {
    text-transform: uppercase;
    font-size: 12px;
}

.stats-page .btn-primary {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.stats-page .btn-primary:hover {
    background: #1d4ed8;
    transform: scale(1.02);
}

.stats-page .btn-danger {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

.stats-page .btn-danger:hover {
    background: #dc2626;
    transform: scale(1.02);
}

.stats-page .btn-outline {
    color: silver;
    background: transparent;
    border: 1px solid #cbd5e1;
}

.stats-page .btn-outline:hover {
    color: white;
}

.stats-page .back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 1.5rem;
    background: white;
    padding: 0.5rem 1.4rem;
    border-radius: 60px;
    border: 1px solid #b9d0e7;
    transition: 0.15s;
}

.stats-page .back-link:hover {
    background: #f1f5f9;
    border-color: blue;
}

.stats-page .data-table {
    background: white;
    border-radius: 28px;
    padding: 1.5rem 1.2rem;
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    margin-top: 0.8rem;
}

.stats-page .data-table h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0b2b44;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stats-page .table-wrapper {
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid #edf2f7;
}

.stats-page table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.stats-page th {
    background: #f8fafc;
    color: #1e293b;
    font-weight: 600;
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 1px solid silver;
}

.stats-page td {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
}

.stats-page tr:last-child td {
    border-bottom: none;
}

.stats-page .no-data {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #94a3b8;
}

.stats-page .no-data i {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    color: #cbd5e1;
}

.stats-page .table-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.8rem;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: bold;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #0a1e2f;
    color: #d0dae6;
    padding: 50px 0 30px;
    margin-top: 0;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, #c0392b 10%, #e74c3c 30%, #f39c12 50%, #e74c3c 70%, #c0392b 90%, transparent 100%);
    box-shadow: 0 -2px 20px rgba(192, 57, 43, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1e3a54;
}

.footer-brand p {
    max-width: 260px;
    margin-top: 10px;
    font-size: 14px;
}

.footer-links h4 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 22px;
    font-family: Arial Nova;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 3px;
}

.footer-links ul a {
    color: #b0c4d8;
    text-decoration: none;
    font-size: 16px;
    transition: 0.2s;
}

.footer-links ul a:hover {
    color: #c0392b;
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    font-size: 14px;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom .social-links {
    display: flex;
    gap: 0;
}

.footer-bottom .social-links a {
    color: #d0dae6;
    margin-left: 14px;
    font-size: 18px;
    transition: 0.2s;
    border: none;
    width: 35px;
    height: 35px;
    border: 1px solid dimgrey;
}

.footer-bottom .social-links a:hover {
    color: #c0392b;
    background: transparent;
    transform: translateY(-2px);
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #c0392b;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(192, 57, 43, 0.3);
    transition: 0.3s;
    z-index: 500;
    opacity: 0;
    visibility: hidden;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: #a93226;
    transform: scale(1.05);
}

/* ============================================================
   LIBRARY SPECIFIC STYLES
   ============================================================ */

/* Library Section */
.library-section {
    padding: 48px 0;
    background: #f8f9fa;
}

body.dark-mode .library-section {
    background: #121a26;
}

/* Library Controls - Search & Filter */
.library-controls {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    justify-content: center;
}

.library-controls .search-box {
    flex: 1;
    max-width: 600px;
    position: relative;
}

.library-controls .search-box input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border: 2px solid silver;
    border-radius: 60px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: 0.3s ease;
    background: #ffffff;
    color: #2c3e50;
}

body.dark-mode .library-controls .search-box input {
    background: #1e2a3a;
    border-color: #2a3a4a;
    color: #e8edf2;
}

.library-controls .search-box input:focus {
    border-color: #c0392b;
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.08);
}

.library-controls .search-box .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    font-size: 18px;
}

.library-controls .filter-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.library-controls .filter-btns .filter-btn {
    padding: 10px 24px;
    border: 2px solid #e0e4e8;
    border-radius: 50px;
    background: transparent;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s ease;
    color: #2c3e50;
    font-family: 'Inter', sans-serif;
}

body.dark-mode .library-controls .filter-btns .filter-btn {
    color: #d0dae6;
    border-color: #2a3a4a;
}

.library-controls .filter-btns .filter-btn:hover,
.library-controls .filter-btns .filter-btn.active {
    border-color: #c0392b;
    color: #c0392b;
}

/* Book Grid */
.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* Book Card */
.book-card {
    background: #002040;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e0e4e8;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    border: 1px solid silver;
}

body.dark-mode .book-card {
    background: #1e2a3a;
    border-color: #2a3a4a;
    border: 1px solid gray;
}

.book-card:hover {
    transform: translateY(-8px);
    border-color: #c0392b;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.book-cover {
    position: relative;
    height: auto;
    overflow: hidden;
    background: #f0f0f0;
    flex-shrink: 0;
}

.book-cover img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-size: cover;
    transition: transform 0.4s ease;
}

.book-card:hover .book-cover img {
    transform: scale(1.05);
}

.book-cover .book-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 7px 12px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.book-cover .book-badge.new {
    background: #22c55e;
    color: #fff;
}

.book-cover .book-badge.bestseller {
    background: #f59e0b;
    color: #fff;
}

.book-cover .book-badge.free {
    background: #3b82f6;
    color: #fff;
}

.book-cover .book-badge.popular {
    background: #8b5cf6;
    color: #fff;
}

.book-info {
    padding: 20px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.book-info .book-category {
    font-size: 11px;
    font-weight: 600;
    color: orange;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.book-info .book-title {
    font-size: 18px;
    font-weight: 700;
    font-family: Arial Nova;
    color: white;
    margin-bottom: 4px;
    line-height: 1.3;
}

body.dark-mode .book-info .book-title {
    color: #e8edf2;
}

.book-info .book-author {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 8px;
}

body.dark-mode .book-info .book-author {
    color: #9aabb8;
}

.book-info .book-description {
    font-size: 13px;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

body.dark-mode .book-info .book-description {
    color: #9aabb8;
}

.book-info .book-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #ecf0f1;
    font-size: 12px;
    color: #7f8c8d;
}

body.dark-mode .book-info .book-meta {
    border-top-color: #2a3a4a;
    color: #9aabb8;
}

.book-info .book-meta .book-pages i {
    margin-right: 4px;
    color: #c0392b;
}

.book-info .book-meta .book-rating {
    color: #f59e0b;
}

.book-info .book-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

/* Read PDF Link */
.read-pdf-link {
    flex: 1;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s ease;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.read-pdf-link:hover {
    border: 2px solid brown;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3);
    color: #fff;
}

.book-info .book-actions .save-btn {
    padding: 10px 16px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #7f8c8d;
    cursor: pointer;
    transition: 0.3s ease;
    font-size: 16px;
}

body.dark-mode .book-info .book-actions .save-btn {
    border-color: #2a3a4a;
    color: #9aabb8;
}

.book-info .book-actions .save-btn:hover {
    border-color: #c0392b;
    color: #c0392b;
}

.book-info .book-actions .save-btn.saved i {
    color: #c0392b;
}

/* Library No Results */
.library-section .no-results {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
    display: none;
}

.library-section .no-results i {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
    color: #ecf0f1;
}

/* Library Toast Notification */
.custom-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    padding: 14px 28px;
    background: #22c55e;
    color: white;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    animation: fadeInToast 0.4s ease;
    max-width: 90%;
}

.custom-toast.error {
    background: #e74c3c;
}

@keyframes fadeInToast {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: #7f8c8d;
}

body.dark-mode .text-muted {
    color: #9aabb8;
}

/* ============================================================
   DARK MODE OVERRIDES - Additional Pages
   ============================================================ */
body.dark-mode .news-card {
    background: #1e2a3a;
}

body.dark-mode .news-card-content h3 a {
    color: #e8edf2;
}

body.dark-mode .excerpt {
    color: #b0c4d8;
}

body.dark-mode .meta {
    color: #9aabb8;
    border-color: #2a3a4a;
}

body.dark-mode .filter-btn {
    color: #d0dae6;
    border-color: #2a3a4a;
}

body.dark-mode .filter-btn:hover,
body.dark-mode .filter-btn.active {
    border-color: #c0392b;
    color: #c0392b;
}

body.dark-mode .pagination a {
    background: #1e2a3a;
    color: #d0dae6;
    border-color: #2a3a4a;
}

body.dark-mode .pagination a:hover,
body.dark-mode .pagination a.active {
    background: #c0392b;
    color: #fff;
    border-color: #c0392b;
}

body.dark-mode .community-card {
    background: #1e2a3a;
    border-color: #2a3a4a;
}

body.dark-mode .community-card .card-content h3 {
    color: #e8edf2;
}

body.dark-mode .community-card .card-content p {
    color: #9aabb8;
}

body.dark-mode .community-card .card-content p strong {
    color: #d0dae6;
}

body.dark-mode .community-card .card-footer {
    border-top-color: #2a3a4a;
    background: #121a26;
}

body.dark-mode .community-card .card-footer .share-btn a {
    background: #1e2a3a;
    border-color: #2a3a4a;
    color: #9aabb8;
}

body.dark-mode .video-card {
    background: #1e2a3a;
    border-color: #2a3a4a;
}

body.dark-mode .video-info .video-title {
    color: #e8edf2;
}

body.dark-mode .video-info .video-description {
    color: #9aabb8;
}

body.dark-mode .video-details .video-description {
    background: #121a26;
}

body.dark-mode .video-preview {
    color: #9aabb8;
}

body.dark-mode .video-date {
    color: #6a7a8a;
}

body.dark-mode .video-social a {
    color: #d0dae6;
    border-color: #3a4a5a;
}

body.dark-mode .figure-container {
    background: #1e2a3a;
}

body.dark-mode .figure-content h2 {
    color: #e8edf2;
}

body.dark-mode .figure-content p {
    color: #b0c4d8;
}

body.dark-mode .figure-content p strong {
    color: #d0dae6;
}

body.dark-mode .article-body .content p {
    color: #b0c4d8;
}

body.dark-mode .about-section .content p {
    color: #b0c4d8;
}

body.dark-mode .mission-vision .card {
    background: #1e2a3a;
    border-color: #2a3a4a;
}

body.dark-mode .mission-vision .card p {
    color: #9aabb8;
}

body.dark-mode .contact-form-wrapper {
    background: #1e2a3a;
    border-color: #2a3a4a;
}

body.dark-mode .contact-form-wrapper input,
body.dark-mode .contact-form-wrapper textarea {
    background: #121a26;
    border-color: #2a3a4a;
    color: #e8edf2;
}

body.dark-mode .contact-info .info-item p {
    color: #9aabb8;
}

body.dark-mode .contact-info .info-item .icon {
    background: #a93226;
}

body.dark-mode .social-links a {
    border-color: #2a3a4a;
    color: #b0c4d8;
}

body.dark-mode .team-member .avatar img {
    border-color: #2a3a4a;
}

body.dark-mode .team-member .role {
    color: #9aabb8;
}

body.dark-mode .book-card {
    background: #1e2a3a;
    border-color: #2a3a4a;
}

body.dark-mode .book-info .book-title {
    color: #e8edf2;
}

body.dark-mode .book-info .book-author {
    color: #9aabb8;
}

body.dark-mode .book-info .book-description {
    color: #9aabb8;
}

body.dark-mode .book-info .book-meta {
    border-top-color: #2a3a4a;
    color: #9aabb8;
}

body.dark-mode .book-info .book-actions .save-btn {
    border-color: #2a3a4a;
    color: #9aabb8;
}

body.dark-mode .library-controls .search-box input {
    background: #1e2a3a;
    border-color: #2a3a4a;
    color: #e8edf2;
}

body.dark-mode .library-controls .filter-btns .filter-btn {
    color: #d0dae6;
    border-color: #2a3a4a;
}

body.dark-mode .library-section .no-results {
    background: #1e2a3a;
    border-color: #2a3a4a;
}

[data-netlify-badge], 
.netlify-badge,
iframe[src*="netlify"] {
    display: none !important;
}































/* ============================================================
   RESPONSIVE - All Pages
   ============================================================ */
@media (max-width: 1024px) {
    .stats-page .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stats-page .stats-details {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 1000px) {
    .library-controls {
        display: flex;
        flex-direction: column;
        margin: 0 auto;
        align-items: center;
    }
}

@media (max-width: 880px) {
    .site-header {
        padding: 10px 16px;
        min-height: 75px;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .mood-toggle {
        display: block;
    }

    .mobile-menu {
        right: -100%;
        width: 100%;
    }

    .page-hero {
        padding: 100px 0 40px;
        text-align: center;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .page-hero p {
        font-size: 14px;
        margin: 6px auto 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin: 16px auto 24px;
    }

    .btns {
        justify-content: center;
    }

    .human-rights-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .mission-vision {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .community-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .figure-container {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .figure-image {
        min-height: 220px;
        max-height: 280px;
    }

    .figure-content {
        padding: 24px;
    }

    .figure-content h2 {
        font-size: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .timeline {
        padding-left: 24px;
    }

    .timeline-item {
        padding-left: 16px;
    }

    .page-hero .hero-stats {
        gap: 24px;
        justify-content: center;
    }

    .article-hero h1 {
        font-size: 3rem;
    }

    .article-body .featured-image img {
        height: 250px;
    }

    .article-body .content p {
        font-size: 1rem;
    }

    .article-hero .meta {
        gap: 16px;
    }

    .survey-container {
        padding: 32px;
    }

    .survey-container h2 {
        font-size: 24px;
    }

    .survey-container .options-grid {
        grid-template-columns: 1fr;
    }

    .survey-container .survey-nav {
        flex-wrap: wrap;
    }

    .survey-container .survey-nav button {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }

    .survey-container .step-indicator .step span {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-details {
        grid-template-columns: 1fr 1fr;
    }

    .video-gallery .section-header h2 {
        font-size: 32px;
    }

    .community-section .section-header h2 {
        font-size: 32px;
    }

    .book-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .article-hero h1 {
        font-size: 2.8rem;
    }

    .article-body .featured-image img {
        height: 200px;
    }

    .figure-content {
        padding: 16px;
    }

    .stats-page {
        padding: 0 8px;
    }

    .stats-page .page-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
        padding: 1rem;
        border-radius: 16px;
    }

    .stats-page .page-header h1 {
        font-size: 1.4rem;
        justify-content: center;
    }

    .stats-page .header-actions {
        justify-content: center;
    }

    .stats-page .header-actions .btn {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }

    .stats-page .back-link {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .stats-page .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .stats-page .stat-card {
        padding: 1rem 0.8rem;
        border-radius: 12px;
    }

    .stats-page .stat-card .stat-number {
        font-size: 1.8rem;
    }

    .stats-page .stats-details {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .stats-page .stats-column {
        padding: 0.8rem;
        border-radius: 12px;
    }

    .stats-page .stats-column .stat-item {
        font-size: 0.8rem;
    }

    .stats-page .data-table {
        padding: 0.8rem;
        border-radius: 12px;
    }

    .stats-page table {
        font-size: 0.75rem;
        min-width: 500px;
    }

    .stats-page th,
    .stats-page td {
        padding: 0.4rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 100px 0 30px;
        text-align: center;
    }

    .page-hero h1 {
        font-size: 3.6rem;
    }

    .page-hero p {
        font-size: 13px;
        margin: 6px auto 0;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .mission-vision {
        gap: 16px;
        margin-top: 24px;
    }

    .mission-vision .card {
        padding: 24px;
    }

    .mission-vision .card .icon {
        font-size: 36px;
    }

    .team-member .avatar img {
        width: 120px;
        height: 120px;
    }

    .team-member h4 {
        font-size: 16px;
    }

    .team-member .role {
        font-size: 13px;
    }

    .contact-section {
        padding: 24px 0;
    }

    .contact-grid {
        gap: 24px;
    }

    .contact-form-wrapper {
        padding: 20px;
    }

    .contact-form-wrapper input,
    .contact-form-wrapper textarea {
        padding: 10px 14px;
        font-size: 14px;
    }

    .contact-info .info-item .icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .contact-info .info-item p {
        font-size: 13px;
    }

    .contact-info .info-item h4 {
        font-size: 15px;
    }

    .community-card .card-image {
        height: 140px;
    }

    .community-card .card-content {
        padding: 10px 13px 13px;
    }

    .community-card .card-content h3 {
        font-size: 14px;
    }

    .community-card .card-content p {
        font-size: 12px;
    }

    .search-container input {
        font-size: 14px;
        padding: 14px 16px 14px 44px;
    }

    .video-info {
        padding: 16px 18px 18px;
    }

    .video-info .video-title {
        font-size: 16px;
    }

    .video-social a {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .survey-container {
        padding: 16px;
        border-radius: 12px;
    }

    .survey-container .rating-stars label {
        font-size: 24px;
    }

    .survey-container .step-indicator .step .number {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    .survey-container .btn-prev,
    .survey-container .btn-next,
    .survey-container .btn-submit {
        padding: 10px 20px;
        font-size: 13px;
    }

    .survey-container .summary-box .summary-item {
        font-size: 13px;
        flex-wrap: wrap;
    }

    .survey-container .summary-box .summary-item .value {
        max-width: 100%;
        text-align: left;
    }

    .stats-page .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .stats-page .stat-card {
        padding: 0.8rem 0.6rem;
    }

    .stats-page .stat-card .stat-number {
        font-size: 1.5rem;
    }

    .stats-page .stat-card .stat-label {
        font-size: 0.65rem;
    }

    .stats-page .stats-details {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }

    .stats-page .stats-column {
        padding: 0.6rem;
        border-radius: 10px;
    }

    .stats-page .stats-column h4 {
        font-size: 0.75rem;
    }

    .stats-page .stats-column .stat-item {
        font-size: 0.7rem;
        padding: 0.2rem 0;
    }

    .stats-page .stats-column .stat-item .count {
        font-size: 0.6rem;
        min-width: 22px;
        height: 20px;
        padding: 0 6px;
    }

    .stats-page .data-table {
        padding: 0.6rem;
        border-radius: 10px;
    }

    .stats-page .data-table h4 {
        font-size: 0.8rem;
    }

    .stats-page table {
        font-size: 0.65rem;
        min-width: 400px;
    }

    .stats-page th,
    .stats-page td {
        padding: 0.3rem 0.4rem;
    }

    .stats-page .page-header h1 {
        font-size: 1.2rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .page-hero .hero-stats .stat .number {
        font-size: 29px;
    }

    .article-hero h1 {
        font-size: 3rem;
        text-shadow: 0 0 10px black;
    }

    .article-hero p {
        font-size: 1.1rem;
    }

    .article-body .content blockquote {
        font-size: 1.1rem;
        padding-left: 16px;
    }

    .article-body .content .pull-quote blockquote {
        font-size: 1.2rem;
    }

    .container blockquote {
        font-size: 16px;
    }

    .figure-content h2 {
        font-size: 1.3rem;
    }

    .figure-image {
        min-height: 180px;
    }

    .filter-bar {
        gap: 10px;
        margin-bottom: 24px;
        padding-bottom: 16px;
    }

    .filter-btn {
        padding: 6px 14px;
        font-size: 13px;
    }

    .pagination {
        gap: 6px;
        margin-top: 32px;
    }

    .pagination a {
        padding: 6px 12px;
        font-size: 13px;
    }

    .quetta-link {
        padding: 4px 10px;
        font-size: 11px;
    }

    .quetta-link i {
        font-size: 10px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .timeline-section{
        margin-top: 30px;
        padding: 7px;
        border-radius: 13px;
    }
    .timeline {
        padding-left: 16px;
    }

    .timeline-item {
        padding-left: 12px;
    }

    .timeline-item p {
        font-size: 14px;
    }

    .timeline-section h2 {
        font-size: 1.6rem;
    }

    .social-media a {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .date {
        flex-direction: column;
        gap: 8px;
    }

    .video-gallery .section-header h2 {
        font-size: 28px;
    }

    .community-section .section-header h2 {
        font-size: 28px;
    }

    .mobile-nav-links li a {
        font-size: 15px;
    }

    .book-grid {
        grid-template-columns: 1fr;
    }

    .library-controls .search-box {
        max-width: 100%;
    }

    .library-controls .filter-btns .filter-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .page-hero .hero-stats .stat .number {
        font-size: 28px;
    }

    .filter-bar a {
        font-size: 14px;
        padding: 5px 13px;
    }

    .chat-window {
        bottom: 90px;
        right: 10px;
        width: calc(100vw - 20px);
        height: calc(100vh - 160px);
        max-height: calc(100vh - 160px);
        border-radius: 16px;
    }

    .chat-toggle {
        width: 56px;
        height: 56px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }

    .quick-replies {
        padding: 8px 12px;
        gap: 6px;
    }

    .quick-reply {
        font-size: 11px;
        padding: 4px 12px;
    }

    .chat-messages {
        padding: 12px 14px;
    }
}

@media (max-width: 360px) {
    .categories-grid {
        display: flex;
        flex-direction: column;
    }

    .page-hero {
        padding: 100px 0 30px;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .page-hero .hero-stats .stat .number {
        font-size: 22px;
        min-width: 40px;
    }

    .page-hero .hero-stats {
        gap: 10px;
    }

    .community-card .card-image {
        height: 120px;
    }

    .community-card .card-content {
        padding: 8px 10px 10px;
    }

    .community-card .card-content h3 {
        font-size: 13px;
    }

    .community-card .card-content p {
        font-size: 11px;
    }

    .social-media {
        gap: 8px;
    }

    .social-media a {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .video-info .video-title {
        font-size: 14px;
    }

    .video-social a {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .article-hero h1 {
        font-size: 1.8rem;
    }

    .article-body .content blockquote {
        font-size: 1rem;
    }

    .survey-container {
        padding: 12px;
    }

    .survey-container h2 {
        font-size: 18px;
    }

    .survey-container .question-text {
        font-size: 13px;
    }

    .survey-container .form-group input,
    .survey-container .form-group select,
    .survey-container .form-group textarea {
        padding: 8px 12px;
        font-size: 13px;
    }

    .survey-container .option-item {
        padding: 6px 10px;
        font-size: 13px;
    }

    .survey-container .option-item label {
        font-size: 13px;
    }

    .survey-container .btn-prev,
    .survey-container .btn-next,
    .survey-container .btn-submit {
        padding: 8px 14px;
        font-size: 11px;
    }

    .survey-container .step-indicator .step .number {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .survey-container .step-indicator .step {
        font-size: 9px;
    }

    .survey-container .rating-stars label {
        font-size: 20px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-card {
        padding: 16px;
    }

    .stats-column {
        padding: 12px;
    }

    .stats-page .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.4rem;
    }

    .stats-page .stat-card {
        padding: 0.6rem 0.4rem;
    }

    .stats-page .stat-card .stat-number {
        font-size: 1.2rem;
    }

    .stats-page .stats-details {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .stats-page .stats-column {
        padding: 0.5rem;
    }

    .stats-page table {
        font-size: 0.6rem;
        min-width: 320px;
    }

    .stats-page th,
    .stats-page td {
        padding: 0.2rem 0.3rem;
    }

    .filter-bar {
        gap: 6px;
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .filter-btn {
        padding: 4px 10px;
        font-size: 11px;
    }

    .pagination {
        gap: 4px;
        margin-top: 20px;
    }

    .pagination a {
        padding: 4px 10px;
        font-size: 11px;
    }

    .quetta-link {
        padding: 3px 8px;
        font-size: 10px;
        gap: 3px;
    }

    .quetta-link i {
        font-size: 9px;
    }

    #qr {
        width: 80%;
    }

    .mobile-menu {
        max-width: 100%;
        text-align: center;
    }

    .mobile-nav-links a {
        font-size: 1rem;
    }

    .brand {
        font-size: 1.1rem;
    }

    #menuClose {
        font-size: 1.4rem;
        color: red;
    }

    .book-info .book-title {
        font-size: 16px;
    }

    .read-pdf-link {
        font-size: 12px;
        padding: 8px 14px;
    }
}

@media (max-width: 300px) {
    .stats-grid {
        display: flex;
        flex-direction: column;
    }

    .stats-column .stat-item {
        padding: 2px 0;
        font-size: 13px;
    }
}



























/* =========================================================
FULLSCREEN MAINTENANCE PAGE
========================================================= */

.maintenance-page {
position: fixed;
inset: 0;
width: 100%;
height: 100vh;
min-height: 100vh;
z-index: 999999;
overflow: hidden;

```
display: flex;
align-items: center;
justify-content: center;

background:
    radial-gradient(circle at 20% 20%, rgba(220, 38, 38, 0.16), transparent 35%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08), transparent 35%),
    #090909;

color: #fff;
```

}

/* Animated background */

.maintenance-bg {
position: absolute;
inset: 0;
overflow: hidden;
pointer-events: none;
}

.maintenance-bg span {
position: absolute;
display: block;
width: 2px;
height: 2px;
background: rgba(255,255,255,0.7);
border-radius: 50%;
animation: floatingStars 12s linear infinite;
}

.maintenance-bg span:nth-child(1) {
left: 10%;
top: 80%;
animation-delay: 0s;
}

.maintenance-bg span:nth-child(2) {
left: 25%;
top: 60%;
animation-delay: 2s;
}

.maintenance-bg span:nth-child(3) {
left: 55%;
top: 90%;
animation-delay: 4s;
}

.maintenance-bg span:nth-child(4) {
left: 75%;
top: 70%;
animation-delay: 6s;
}

.maintenance-bg span:nth-child(5) {
left: 90%;
top: 50%;
animation-delay: 8s;
}

@keyframes floatingStars {

```
0% {
    transform: translateY(0) scale(1);
    opacity: 0;
}

20% {
    opacity: 1;
}

80% {
    opacity: 1;
}

100% {
    transform: translateY(-100vh) scale(2);
    opacity: 0;
}
```

}

/* Main content */

.maintenance-content {
position: relative;
z-index: 5;

```
width: min(90%, 750px);
text-align: center;

display: flex;
flex-direction: column;
align-items: center;

animation: contentAppear 1.2s ease forwards;
```

}

@keyframes contentAppear {

```
from {
    opacity: 0;
    transform: translateY(35px);
}

to {
    opacity: 1;
    transform: translateY(0);
}
```

}

/* Logo */

.maintenance-logo {
margin-bottom: 25px;
animation: logoFloat 4s ease-in-out infinite;
}

.maintenance-logo img {
width: 85px;
height: 85px;
object-fit: cover;

border-radius: 18px;

border: 2px solid rgba(255,255,255,0.15);

box-shadow:
    0 0 30px rgba(220, 38, 38, 0.25),
    0 15px 40px rgba(0,0,0,0.4);

}

@keyframes logoFloat {

0%,
100% {
    transform: translateY(0);
}

50% {
    transform: translateY(-8px);
}

}

/* Maintenance icon */

.maintenance-icon {
position: relative;
width: 90px;
height: 75px;
margin-bottom: 15px;
}

.gear {
position: absolute;
display: flex;
align-items: center;
justify-content: center;

color: #e33434;

filter: drop-shadow(0 0 10px rgba(227,52,52,0.5));

}

.gear i {
font-size: 48px;
}

.gear-one {
left: 5px;
top: 5px;
animation: rotateGear 7s linear infinite;

}

.gear-two {
right: 5px;
bottom: 0;
animation: rotateGearReverse 7s linear infinite;

}

.gear-two i {
font-size: 32px;
}

@keyframes rotateGear {

from {
    transform: rotate(0deg);
}

to {
    transform: rotate(360deg);
}

}

@keyframes rotateGearReverse {

from {
    transform: rotate(360deg);
}

to {
    transform: rotate(0deg);
}

}

/* Small label */

.maintenance-tag {
color: #e33434;
font-size: 0.8rem;
font-weight: 700;

text-transform: uppercase;
letter-spacing: 4px;

margin-bottom: 15px;

}

/* Main title */

.maintenance-content h1 {
margin: 0;
font-family: "Playfair Display", serif;
font-size: 8rem;
line-height: 1.05;
font-weight: 700;
letter-spacing: -2px;
color: ghostwhite;
text-shadow: 0 0 5px black;

}

.maintenance-content h1 span {
display: block;
background: linear-gradient(
    90deg,
    #ffffff,
    #e33434,
    #ffffff
);
text-shadow: 0 0 0;
font-size: 5rem;
background-size: 200% auto;
color: transparent;
background-clip: text;
-webkit-background-clip: text;
padding: 20px 0;
animation: gradientMove 4s linear infinite;

}

@keyframes gradientMove {
0% {
    background-position: 0% center;
}

100% {
    background-position: 200% center;
}

}

/* Description */

.maintenance-content > p {
max-width: 600px;
margin: 25px auto 30px;

color: rgba(255,255,255,0.7);

font-family: "Inter", sans-serif;

font-size: 1.05rem;
line-height: 1.8;

}

/* Loading dots */

.maintenance-loader {
display: flex;
align-items: center;
gap: 8px;
margin: 5px 0 25px;

}

.maintenance-loader span {
width: 9px;
height: 9px;

border-radius: 50%;

background: #e33434;

animation: loadingDots 1.4s infinite ease-in-out both;

}

.maintenance-loader span:nth-child(1) {
animation-delay: -0.32s;
}

.maintenance-loader span:nth-child(2) {
animation-delay: -0.16s;
}

@keyframes loadingDots {

0%,
80%,
100% {
    transform: scale(0.5);
    opacity: 0.4;
}

40% {
    transform: scale(1.2);
    opacity: 1;
}

}

/* Status */

.maintenance-status {
display: flex;
align-items: center;
gap: 10px;
padding: 12px 20px;

border-radius: 50px;

background: rgba(255,255,255,0.05);

border: 1px solid rgba(255,255,255,0.08);

color: rgba(255,255,255,0.7);

font-size: 0.85rem;

backdrop-filter: blur(10px);

}

.status-dot {
width: 8px;
height: 8px;

border-radius: 50%;

background: #35d07f;

box-shadow: 0 0 12px #35d07f;

animation: statusPulse 2s infinite;

}

@keyframes statusPulse {
0% {
    transform: scale(1);
    opacity: 1;
}

50% {
    transform: scale(1.5);
    opacity: 0.5;
}

100% {
    transform: scale(1);
    opacity: 1;
}

}

/* Footer */

.maintenance-footer {
margin-top: 45px;
color: rgba(255,255,255,0.45);

font-size: 0.85rem;

}

.maintenance-footer p {
margin: 0 0 8px;
}

.maintenance-footer small {
opacity: 0.6;
}

/* Mobile */

@media (max-width: 600px) {

.maintenance-logo img {
    width: 70px;
    height: 70px;
}

.maintenance-icon {
    transform: scale(0.85);
    margin-bottom: 5px;
}

.maintenance-content h1 {
    font-size: 2.7rem;
    letter-spacing: -1px;
}

.maintenance-content > p {
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 0 10px;
}

.maintenance-status {
    font-size: 0.75rem;
    padding: 10px 15px;
}

.maintenance-footer {
    margin-top: 30px;
}

}

/* Prevent scrolling while maintenance page is active */

html:has(.maintenance-page),
body:has(.maintenance-page) {
overflow: hidden;
}
