/* ===== GLOBAL STYLES ===== */

/* Custom Fonts - Cross Browser Compatible */
@font-face {
    font-family: 'MehrNastaliqWeb';
    src: url('../fonts/MehrNastaliqWeb.ttf') format('truetype');
    src: url('../fonts/MehrNastaliqWeb.woff2') format('woff2'),
        url('../fonts/MehrNastaliqWeb.woff') format('woff'),
        url('../fonts/MehrNastaliqWeb.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    /* Fallback for older browsers */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@font-face {
    font-family: 'AlQalamWeb';
    src: url('../fonts/AlQalamWeb.ttf') format('truetype');
    src: url('../fonts/AlQalamWeb.woff2') format('woff2'),
        url('../fonts/AlQalamWeb.woff') format('woff'),
        url('../fonts/AlQalamWeb.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    /* Fallback for older browsers */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --primary-color: #118E80;
    --secondary-color: #2d5a3d;
    --tag-bg-color: #C8F9F3;
    --accent-color: #afebbd;
    --text-dark: #333333;
    --text-muted: #374151;
    --text-black: #000000;
    --text-light: #ffffff;
    --text-primary: #118E80;
    --bg-light: #f8f9fa;
    --border-color: #dee2e6;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 5px;
    --border-radius-lg: 10px;
    --border-radius-xl: 20px;
    --border-radius-pill: 50px;

    /* Font Variables */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: "Inter", sans-serif;
    --font-mozilla-headline: 'Mozilla Headline', sans-serif;
    --font-mehr-nastaliq-web: 'MehrNastaliqWeb', serif;
    --font-al-qalam-web: 'AlQalamWeb', serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
}

/* Default Font - Cross Browser Compatible */
* {
    font-family: var(--font-primary);
    /* Cross browser box-sizing */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Body Font - Cross Browser Compatible */
body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    /* Cross browser text-rendering and font-smoothing */
    -webkit-text-rendering: optimizeLegibility;
    -moz-text-rendering: optimizeLegibility;
    -ms-text-rendering: optimizeLegibility;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    color: var(--text-light);
    background: var(--primary-color);
}

.text-save-word {
    word-wrap: break-word;
    /* long words ko break kar dega */
    overflow-wrap: anywhere;
    /* modern browsers ke liye */
    white-space: normal;
    /* text ko ek line me na rakhe */
}

.form-select:focus {
    border-color: transparent;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0);
}

/* Header Hide/Show Animation - Cross Browser Compatible */
#mainHeader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transition: transform 0.3s ease-in-out;
    background: rgba(255, 255, 255, 0.95) !important;
    /* Cross browser backdrop filter */
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    /* Fallback for browsers that don't support backdrop-filter */
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#mainHeader.header-hidden {
    transform: translateY(-100%);
}

#mainHeader.header-visible {
    transform: translateY(0);
}

/* Add top padding to body to account for fixed header */
body {
    padding-top: 80px;
    /* Adjust based on your header height */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
        /* Smaller padding for mobile */
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 65px;
        /* Even smaller padding for small mobile */
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
}

/* ===== LINKS ===== */
a {
    font-family: var(--font-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

a:focus {
    outline: none;
}

.card-header {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.primary-color {
    color: var(--primary-color);
}

.primary-color-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.bg-category {
    background: var(--tag-bg-color);
    color: var(--primary-color);
    text-decoration: none;
}

.bg-tag {
    background: var(--tag-bg-color);
    color: var(--primary-color);
    text-decoration: none;
}

/* ===== MARGIN BOTTOM DIV ===== */
.margin-bottom-div {
    margin-bottom: 48px;
}

@media (max-width: 576px) {
    .margin-bottom-div {
        margin-bottom: 20px;
    }
}

/* ===== MAIN PAGE CONTAINER ===== */
.main-page-container {
    padding: 3rem 1rem;
}

@media (max-width: 576px) {
    .main-page-container {
        padding: 3rem 1rem 1rem 1rem;
    }
}

/* ===== BREADCRUMB ===== */
@media (max-width: 576px) {
    .breadcrumb {
        font-size: 0.8rem;
    }
}

/* ===== MY PUBLISHED ARTICLES ===== */
.my-published-articles-div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 576px) {
    .my-published-articles-div {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* ===== CATEGORY DETAIL CARD ===== */
.category-detail-card {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 768px) {
    .category-detail-card {
        display: block;
    }

    .category-detail-card-date {
        margin-top: 1rem;
        float: right;
    }
}

/* ===== NAVIGATION ===== */
.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: var(--font-weight-bold);
    font-family: var(--font-primary);
    font-size: 1.5rem;
}

.navbar-brand i {
    font-size: 1.2rem;
}

.logo-text {
    color: var(--text-dark);
    font-size: 1.2rem;
}

.logo-icon {
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-medium);
    font-size: 1rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background-color: rgba(17, 142, 128, 0.1);
}

.navbar-nav .nav-link.text-primary {
    color: var(--primary-color) !important;
    font-weight: var(--font-weight-semibold);
}

.btn.show {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Search Bar */
.search-container {
    position: relative;
}

.search-input {
    border-radius: 25px;
    padding: 0.5rem 1rem;
    border: 1px solid #e9ecef;
    width: 250px;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #dee2e6;
    box-shadow: 0 0 0 0rem rgba(17, 142, 128, 0.25);
}

.input-group-text {
    border-radius: 6px;
    border: 1px solid #e9ecef;
    border-right: none;
}

.search-input {
    border-radius: 0 25px 25px 0;
    border-left: none;
}

/* Responsive */
@media (max-width: 991.98px) {
    .search-container {
        margin: 1rem 0;
    }

    .search-input {
        width: 100%;
    }

    .navbar-nav {
        margin: 1rem 0;
    }

    .d-flex.align-items-center.gap-3 {
        flex-direction: column;
        align-items: stretch !important;
        gap: 1rem !important;
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 60vh;
    min-height: 600px;
}

.hero-slide {
    position: relative;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-slide .container-fluid,
.hero-slide .container,
.hero-slide .row,
.hero-slide .col-lg-8 {
    position: relative;
    z-index: 2;
}


/* Swiper Navigation - Cross Browser Compatible */
.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /* Cross browser backdrop filter */
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    /* Fallback for browsers that don't support backdrop-filter */
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    /* Cross browser transform */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.3);
    /* Cross browser transform */
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: white;
    /* Cross browser transform */
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}


.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-section .lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-section .btn {
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Mobile Responsive Hero */
@media (max-width: 768px) {
    .hero-swiper {
        height: 55vh;
        min-height: 500px;
    }

    .hero-slide {
        padding: 2rem 0;
    }

    .hero-slide .display-4 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-slide .lead {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }

    .hero-slide .d-flex.gap-4 {
        flex-direction: column;
        gap: 1rem !important;
        align-items: center;
    }

    .hero-slide .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    /* Adjust navigation buttons for mobile */
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
        display: none;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px;
    }

    /* Adjust pagination for mobile */
    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 576px) {
    .hero-slide .display-4 {
        font-size: 1.75rem;
    }

    .hero-slide .lead {
        font-size: 0.95rem;
    }

    .hero-slide .btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }

    .hero-slide .container {
        padding: 0 1rem;
    }
}


/* ===== BUTTONS ===== */
.btn {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--text-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-primary:active {
    background-color: var(--text-light) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.btn-primary:disabled {
    background-color: var(--text-light) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.btn-primary:disabled:hover {
    background-color: var(--text-light) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.btn-primary:disabled:active {
    background-color: var(--text-light) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

/* Custom button styles */
.btn-hero-light {
    background: var(--text-light);
    color: var(--primary-color);
    border: 2px solid var(--text-light);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-hero-light:hover {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-hero-transparent {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
    border-radius: var(--border-radius);
}

.btn-hero-transparent:hover {
    background: var(--text-light);
    color: var(--primary-color);
    border-radius: var(--border-radius);
}

.community-btn {
    background: var(--primary-color);
    color: var(--text-light);
    border: 1px solid var(--text-light);
    border-radius: var(--border-radius);
}

.community-btn:hover {
    background: var(--text-light);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
}

.clear-filters-btn {
    border-color: var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--border-radius);
}

.clear-filters-btn:hover {
    background: var(--primary-color);
    color: var(--text-light) !important;
    border-color: var(--primary-color);
}

/* Auth Buttons */
.login-header-btn {
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
    transition: all 0.3s ease;
    --bs-btn-active-bg: var(--primary-color) !important;
}

.login-header-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
}

.register-header-btn {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
    transition: all 0.3s ease;
}

.register-header-btn:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.user-header-btn {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
    transition: all 0.3s ease;
}

.user-header-btn:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
}

.dropdown-item {
    background-color: var(--text-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
}

.btn-hero-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-hero-dark {
    background: var(--primary-color);
    color: var(--text-light);
    border: 1px solid var(--text-light);
    border-radius: var(--border-radius);
}

.btn-hero-dark:hover {
    background: var(--text-light);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
}


.btn-gradient-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    border: none;
    border-radius: var(--border-radius-pill);
}

.btn-gradient-primary:hover {
    background: linear-gradient(45deg, var(--text-light), #c3e6cb);
    color: var(--primary-color) !important;
    border-color: var(--primary-color);
}

.btn-gradient-info {
    background: linear-gradient(45deg, #17a2b8, #6f42c1);
    color: var(--text-light);
    border: none;
    border-radius: var(--border-radius-pill);
}

.btn-gradient-success {
    background: linear-gradient(45deg, var(--accent-color), #20c997);
    color: var(--text-light);
    border: none;
    border-radius: var(--border-radius-pill);
}

.btn-light {
    background: var(--text-light);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
}

.btn-light:hover {
    background: var(--primary-color);
    color: var(--text-light);
    border: 1px solid var(--text-light);
    border-radius: var(--border-radius-pill);
}

/* ===== CARDS - Cross Browser Compatible ===== */
.card {
    box-shadow: var(--shadow);
    border: none;
    border-radius: var(--border-radius-lg);
    transition: transform 0.3s ease;
    /* Cross browser transform */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.card:hover {
    /* Cross browser transform */
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
}

.card-body {
    padding: 1.5rem;
}

@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }
}

.card-title {
    color: var(--text-black);
    font-weight: var(--font-weight-semibold);
    font-family: var(--font-primary);
}

.card-title a {
    color: var(--text-black);
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: var(--secondary-color);
}

.card-text {
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== BADGES ===== */
.badge {
    border-radius: 20px;
    padding: 8px 16px;
    font-weight: var(--font-weight-medium);
    font-family: var(--font-primary);
}

.badge-gradient-success {
    background: linear-gradient(45deg, var(--accent-color), #20c997);
}

.badge-gradient-info {
    background: linear-gradient(45deg, #17a2b8, #6f42c1);
}

/* ===== SECTIONS ===== */
.section-title {
    color: var(--text-black);
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    font-family: var(--font-primary);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-family: var(--font-primary);
}

.bg-light-section {
    background-color: var(--bg-light);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* ===== CATEGORY CARDS - Cross Browser Compatible ===== */
.category-card {
    border-radius: var(--border-radius-lg);
    transition: transform 0.3s ease;
    background: var(--bg-light);
    /* Cross browser transform */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.category-card:hover {
    /* Cross browser transform */
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
}

.category-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    /* Cross browser transform */
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.category-title {
    color: var(--text-black);
    font-weight: var(--font-weight-bold);
    font-family: var(--font-secondary);
}

.category-count {
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    font-family: var(--font-secondary);
}

/* ===== COMMUNITY SECTION ===== */
.community-title {
    color: var(--text-dark);
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    font-family: var(--font-primary);
}

.community-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    font-family: var(--font-primary);
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.feature-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 1rem;
}

.feature-text {
    color: var(--text-muted);
    font-family: var(--font-primary);
}

.newsletter-card {
    background: var(--primary-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
}

.newsletter-title {
    color: var(--text-light);
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    font-family: var(--font-primary);
}

.newsletter-text {
    color: var(--text-light);
    opacity: 0.9;
    line-height: 1.6;
    font-family: var(--font-primary);
}

.newsletter-input {
    border-radius: var(--border-radius);
    border: none;
    padding: 15px 20px;
    font-size: 1rem;
    font-family: var(--font-primary);
}

/* ===== FOOTER ===== */
.footer {
    background-color: #1B2937;
    color: var(--text-light);
    padding: 40px 0 5px 0;
}

.footer h5 {
    color: var(--text-light);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-family: var(--font-secondary);
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-family: var(--font-secondary);
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: var(--font-secondary);
}

.footer a:hover {
    color: var(--text-light);
}

.footer span {
    font-family: var(--font-secondary);
}

.footer ul {
    list-style: none;
    padding: 0;
}

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

.footer .contact-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer .contact-info i {
    margin-right: 10px;
    width: 20px;
    color: var(--bg-light);
}

.footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-secondary);
}

/* ===== FORMS ===== */
.form-control {
    font-family: var(--font-primary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #dee2e6;
    box-shadow: 0 0 0 0rem rgba(0, 132, 170, 0);
}

/* ===== UTILITIES ===== */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.shadow-custom {
    box-shadow: var(--shadow);
}

.border-radius-custom {
    border-radius: var(--border-radius);
}

.border-radius-lg-custom {
    border-radius: var(--border-radius-lg);
}

.border-radius-pill-custom {
    border-radius: var(--border-radius-pill);
}

/* ===== VIEW ALL LINK ===== */
.view-all-link {
    color: var(--primary-color);
    font-weight: var(--font-weight-medium);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.view-all-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.view-all-link:hover i {
    transform: translateX(3px);
}

/* ===== ARTICLE CARDS - Cross Browser Compatible ===== */
.article-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    /* Cross browser transform */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.article-card:hover {
    /* Cross browser transform */
    -webkit-transform: translateY(-4px);
    -moz-transform: translateY(-4px);
    -ms-transform: translateY(-4px);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.article-header {
    margin-bottom: 16px;
}

.category-badge {
    background: var(--tag-bg-color);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    display: inline-block;
}

.article-content {
    flex: 1;
    margin-bottom: 20px;
}

.article-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-black);
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-title a {
    color: var(--text-black);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-description {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.article-footer {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: auto;
}

.author-info {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 4px;
}

.author-avatar {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    border-radius: 50%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.author-name {
    font-size: 0.9rem;
    color: var(--text-black);
    font-weight: var(--font-weight-medium);
}

.read-time {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: var(--font-weight-medium);
}

/* ===== LATEST ARTICLES ===== */
.latest-article-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.latest-article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.latest-article-card .article-header {
    margin-bottom: 16px;
}

.category-time {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.time-ago {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: var(--font-weight-medium);
}

.latest-article-card .article-content {
    margin-bottom: 20px;
}

.latest-article-card .article-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-black);
    margin-bottom: 12px;
    line-height: 1.4;
}

.latest-article-card .article-title a {
    color: var(--text-black);
    text-decoration: none;
    transition: color 0.3s ease;
}

.latest-article-card .article-title a:hover {
    color: var(--primary-color);
}

.latest-article-card .article-description {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.latest-article-card .article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.latest-article-card .read-time {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: var(--font-weight-medium);
}

.article-stats {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 1rem;
    gap: 12px;
}

.stat-item {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: var(--font-weight-medium);
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.stat-item i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .latest-article-card {
        padding: 16px;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        /* padding: 2rem 0; */
    }

    .hero-section .row {
        min-height: 70vh;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .hero-section .btn {
        min-width: 160px;
        margin: 0.25rem;
        font-size: 1rem;
        padding: 12px 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .community-title {
        font-size: 1.8rem;
    }

    .newsletter-card {
        padding: 1.5rem;
    }

    /* Popular Articles Mobile */
    .article-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .article-title {
        font-size: 1.2rem;
    }

    .latest-article-card .article-title {
        font-size: 1.2rem;
    }

    .article-footer {
        display: block;
        align-items: center;
    }

    .popular-article-stats {
        margin-top: 30px;
    }

    .popular-article-stats {
        gap: 10px;
    }

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

    .newsletter-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 60vh;
        padding: 1.5rem 0;
    }

    .hero-section .row {
        min-height: 60vh;
    }

    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .hero-section .lead {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .hero-section .btn {
        min-width: 140px;
        margin: 0.25rem;
        font-size: 0.9rem;
        padding: 10px 16px;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.2em;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .community-title {
        font-size: 1.6rem;
    }

    /* Popular Articles Small Mobile */
    .article-card {
        padding: 16px;
        margin-bottom: 16px;
    }

    .category-badge {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    .author-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }

    .author-name {
        font-size: 0.8rem;
    }

    .article-stats {
        gap: 12px;
    }

    .stat-item {
        font-size: 0.75rem;
    }

    .stat-item i {
        font-size: 0.7rem;
    }

    .article-footer {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .popular-article-stats {
        margin-top: 0px;
    }

    .popular-article-stats {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 55vh;
        padding: 0;
    }

    .hero-section .row {
        min-height: 55vh;
    }

    .hero-section h1 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .hero-section .lead {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .hero-section .btn {
        min-width: 120px;
        margin: 0.2rem;
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .section-subtitle {
        font-size: 0.8rem;
    }

    .community-title {
        font-size: 1.4rem;
    }

    .view-all-link-mobile-popular {
        margin-top: -110px;
    }

    .view-all-link-mobile-latest {
        margin-top: -110px;
    }
}

/* ===== BACK TO TOP BUTTON - Cross Browser Compatible ===== */
.progress-wrap {
    position: fixed;
    right: 50px;
    bottom: 50px;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(30, 77, 43, 0.2);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    /* Cross browser transform */
    -webkit-transform: translateY(15px);
    -moz-transform: translateY(15px);
    -ms-transform: translateY(15px);
    transform: translateY(15px);
    transition: all 200ms linear;
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    /* Cross browser transform */
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

.progress-wrap::after {
    position: absolute;
    font-family: 'Font Awesome 6 Free';
    content: '\f062';
    font-weight: 900;
    text-align: center;
    line-height: 46px;
    font-size: 18px;
    color: var(--secondary-color);
    left: 0;
    top: 0;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    z-index: 1;
    transition: all 200ms linear;
}

.progress-wrap:hover::after {
    opacity: 0;
}

.progress-wrap::before {
    position: absolute;
    font-family: 'Font Awesome 6 Free';
    content: '\f062';
    font-weight: 900;
    text-align: center;
    line-height: 46px;
    font-size: 18px;
    opacity: 0;
    background: var(--secondary-color);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    left: 0;
    top: 0;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    z-index: 2;
    transition: all 200ms linear;
}

.progress-wrap:hover::before {
    opacity: 1;
}

/* Cross browser keyframes for animations */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes spin {
    0% {
        -moz-transform: rotate(0deg);
    }

    100% {
        -moz-transform: rotate(360deg);
    }
}

@-ms-keyframes spin {
    0% {
        -ms-transform: rotate(0deg);
    }

    100% {
        -ms-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Cross browser user-select */
.user-select-none {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.progress-wrap svg path {
    fill: none;
}

.progress-wrap svg.progress-circle path {
    stroke: var(--secondary-color);
    stroke-width: 4;
    box-sizing: border-box;
    transition: all 200ms linear;
}

/* ===== FEATURE CARDS - Cross Browser Compatible ===== */
.feature-card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-light);
    transition: all 0.3s ease;
    background: white;
    /* Cross browser transform */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.feature-card:hover {
    /* Cross browser transform */
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-medium);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    /* Fallback for browsers that don't support gradients */
    background-color: var(--primary-color);
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0 auto;
}

.feature-icon-large {
    font-size: 2rem;
    color: white;
}

/* ===== STEP CIRCLES - Cross Browser Compatible ===== */
.step-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    /* Fallback for browsers that don't support gradients */
    background-color: var(--primary-color);
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--box-shadow-light);
}

.step-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .progress-wrap {
        right: 20px;
        bottom: 20px;
        height: 40px;
        width: 40px;
    }

    .progress-wrap::after,
    .progress-wrap::before {
        line-height: 40px;
        font-size: 16px;
        height: 40px;
        width: 40px;
    }
}

@media (max-width: 576px) {
    .progress-wrap {
        right: 15px;
        bottom: 15px;
        height: 36px;
        width: 36px;
    }

    .progress-wrap::after,
    .progress-wrap::before {
        line-height: 36px;
        font-size: 14px;
        height: 36px;
        width: 36px;
    }
}

/* ===== CUSTOM PAGINATION - Cross Browser Compatible ===== */
.pagination-wrapper {
    text-align: center;
}

.results-info {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.custom-pagination {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
}

.custom-pagination .page-item {
    margin: 0;
}

.custom-pagination .page-link {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border: none;
    border-radius: 6px;
    background: #f8f9fa;
    color: #6c757d;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 0 12px;
}

.custom-pagination .page-link:hover {
    background: #e9ecef;
    color: #495057;
    /* Cross browser transform */
    -webkit-transform: translateY(-1px);
    -moz-transform: translateY(-1px);
    -ms-transform: translateY(-1px);
    transform: translateY(-1px);
}

.custom-pagination .page-item.active .page-link {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.custom-pagination .page-item.disabled .page-link {
    color: #adb5bd;
    cursor: not-allowed;
    background: #f8f9fa;
}

.custom-pagination .page-link:focus {
    /* Cross browser box-shadow */
    -webkit-box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
    -moz-box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
    outline: none;
}

/* Arrow Icons */
.custom-pagination .page-link i {
    font-size: 0.8rem;
    font-weight: bold;
}

/* Responsive Pagination */
@media (max-width: 576px) {
    .custom-pagination {
        gap: 0.5rem;
        padding: 0.15rem;
    }

    .custom-pagination .page-link {
        min-width: 35px;
        height: 35px;
        font-size: 0.85rem;
        padding: 0 8px;
    }

    .results-info {
        font-size: 0.8rem;
    }
}

/* ===== CATEGORY HERO SECTION - Cross Browser Compatible ===== */
.category-hero-section {
    background: linear-gradient(135deg, rgba(210, 255, 228, 0.3) 0%, rgba(229, 255, 240, 0.3) 50%);
    /* Fallback for browsers that don't support gradients */
    background-color: rgba(210, 255, 228, 0.3);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow-light);
}

.category-icon-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.category-hero-icon {
    width: 50px;
    height: 50px;
    /* Cross browser filter */
    -webkit-filter: brightness(0) invert(1);
    -moz-filter: brightness(0) invert(1);
    -ms-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
}

.category-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.category-hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.category-stats {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    gap: 2rem;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.category-stats .stat-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.category-stats .stat-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Responsive Category Hero */
@media (max-width: 768px) {
    .category-hero-section {
        padding: 1.5rem;
    }

    .category-hero-title {
        font-size: 2rem;
    }

    .category-hero-description {
        font-size: 1rem;
    }

    .category-stats {
        gap: 1rem;
    }

    .category-icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .category-hero-icon {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 576px) {
    .category-hero-section {
        padding: 1rem;
    }

    .category-hero-title {
        font-size: 1.8rem;
        margin-bottom: 1.3rem;
    }

    .category-stats {
        flex-direction: row;
        gap: 0.75rem;
    }
}

/* ===== FILTER SECTION - Cross Browser Compatible ===== */
.filter-section {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem 0rem;
    box-shadow: var(--box-shadow-light);
}

.filter-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 2rem;
}

.filter-group {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 1rem;
}

.sort-group {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 1rem;
}

.filter-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
    white-space: nowrap;
}

.filter-dropdown {
    position: relative;
}

.custom-select {
    background: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    min-width: 250px;
    cursor: pointer;
    transition: all 0.2s ease;
    /* Cross browser appearance */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
}

.custom-select:hover {
    border-color: var(--primary-color);
    /* Cross browser box-shadow */
    -webkit-box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    -moz-box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.custom-select:focus {
    outline: none;
    border-color: var(--primary-color);
    /* Cross browser box-shadow */
    -webkit-box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    -moz-box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.custom-select option {
    padding: 0.5rem;
    font-weight: 500;
}

/* Responsive Filter */
@media (max-width: 768px) {
    .filter-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .filter-group,
    .sort-group {
        justify-content: start;
        gap: 1rem;
    }

    .custom-select {
        min-width: 140px;
        flex: 1;
    }
}

@media (max-width: 576px) {
    .filter-section {
        padding: 1rem;
    }

    .filter-group,
    .sort-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .custom-select {
        min-width: 100%;
    }
}

/* Authentication Forms Enhanced Styles */
.auth-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.auth-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.auth-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #28a745 100%);
    color: var(--white);
    text-align: center;
    padding: 3rem 2rem 2rem;
    position: relative;
}

.auth-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.auth-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.auth-icon i {
    font-size: 2rem;
    color: var(--white);
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.auth-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.auth-body {
    padding: 2.5rem 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form .form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    display: block;
    font-size: 0.95rem;
}

.auth-form .form-label i {
    color: var(--primary-color);
}

.input-wrapper {
    position: relative;
}

.auth-form .form-control {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    height: auto;
}

.auth-form .form-control:focus {
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
    outline: none;
}

.auth-form .form-control::placeholder {
    color: #6c757d;
    opacity: 0.7;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.password-toggle:hover {
    color: var(--primary-color);
    background: rgba(40, 167, 69, 0.1);
}

.password-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.btn-auth {
    background: linear-gradient(135deg, var(--primary-color) 0%, #28a745 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-auth::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-auth:hover::before {
    left: 100%;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.3);
    color: var(--white);
}

.btn-auth:active {
    transform: translateY(0);
}

.auth-footer {
    background: #f8f9fa;
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.auth-link-text {
    margin-bottom: 0;
    color: #6c757d;
    font-size: 0.95rem;
}

.auth-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-link:hover {
    color: #28a745;
    text-decoration: underline;
}

/* Form Validation Styles */
.auth-form .is-invalid {
    border-color: #dc3545;
    background: #fff5f5;
}

.auth-form .is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.auth-form .invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.auth-form .invalid-feedback i {
    margin-right: 0.25rem;
}

/* Loading State */
.btn-auth.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-auth.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-container {
        padding: 1rem 0;
    }

    .auth-card {
        margin: 0 1rem;
    }

    .auth-header {
        padding: 2rem 1.5rem 1.5rem;
    }

    .auth-body {
        padding: 2rem 1.5rem;
    }

    .auth-footer {
        padding: 1.25rem 1.5rem;
    }

    .auth-title {
        font-size: 1.75rem;
    }

    .auth-icon {
        width: 70px;
        height: 70px;
    }

    .auth-icon i {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .auth-header {
        padding: 1.5rem 1rem 1rem;
    }

    .auth-body {
        padding: 1.5rem 1rem;
    }

    .auth-footer {
        padding: 1rem;
    }

    .auth-title {
        font-size: 1.5rem;
    }

    .auth-subtitle {
        font-size: 0.9rem;
    }

    .btn-auth {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .auth-card {
        background: #2d3748;
        color: var(--white);
    }

    .auth-form .form-control {
        background: #4a5568;
        border-color: #718096;
        color: var(--white);
    }

    .auth-form .form-control:focus {
        background: #2d3748;
        border-color: var(--primary-color);
    }

    .auth-form .form-label {
        color: var(--white);
    }

    .auth-footer {
        background: #4a5568;
        border-top-color: #718096;
    }

    .auth-link-text {
        color: #a0aec0;
    }
}

/* Simple Authentication Forms - Clean Green-White Design */
.auth-container-simple {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.auth-card-simple {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.auth-header-simple {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 1.5rem 1.5rem;
}

.auth-icon-simple {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.auth-icon-simple i {
    font-size: 1.5rem;
    color: var(--text-light);
}

.auth-title-simple {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0.25rem;
    color: var(--text-light);
}

.auth-subtitle-simple {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0;
    color: var(--text-light);
}

.auth-body-simple {
    padding: 2rem 1.5rem;
}

.auth-form-simple .form-group-simple {
    margin-bottom: 1.25rem;
}

.auth-form-simple .form-label-simple {
    font-weight: var(--font-weight-medium);
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.9rem;
}

.auth-form-simple .form-label-simple i {
    color: var(--primary-color);
}

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

.auth-form-simple .form-control-simple {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    width: 100%;
}

.auth-form-simple .form-control-simple:focus {
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.15);
    outline: none;
}

.auth-form-simple .form-control-simple::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.password-toggle-simple {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
}

.password-toggle-simple:hover {
    color: var(--primary-color);
    background: rgba(40, 167, 69, 0.1);
}

.btn-auth-simple {
    background: var(--primary-color);
    border: none;
    border-radius: var(--border-radius);
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-light);
    transition: all 0.2s ease;
    width: 100%;
    cursor: pointer;
}

.btn-auth-simple:hover {
    background: var(--text-light);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-auth-simple:active {
    transform: translateY(0);
}

.auth-footer-simple {
    background: #f8f9fa;
    padding: 1.25rem 1.5rem;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.auth-link-text-simple {
    margin-bottom: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.auth-link-simple {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.auth-link-simple:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Form Validation Styles */
.auth-form-simple .is-invalid {
    border-color: #dc3545;
    background: #fff5f5;
}

.auth-form-simple .is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

.invalid-feedback-simple {
    display: block;
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

.invalid-feedback-simple i {
    margin-right: 0.25rem;
}

/* Form Check Styles for User Login */
.auth-form-simple .form-check {
    margin-bottom: 1.25rem;
}

.auth-form-simple .form-check-input {
    border: 1px solid var(--border-color);
    border-radius: 3px;
    transition: all 0.2s ease;
    width: 18px;
    height: 18px;
    margin-top: 0.125rem;
    cursor: pointer;
}

.auth-form-simple .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(17, 142, 128, 0.15);
}

.auth-form-simple .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(17, 142, 128, 0.15);
    border-color: var(--primary-color);
}

.auth-form-simple .form-check-label {
    color: var(--text-dark);
    font-weight: var(--font-weight-medium);
    font-size: 0.9rem;
    cursor: pointer;
    /* margin-left: 0.2rem; */
    user-select: none;
}

.auth-form-simple .form-check-input:hover {
    border-color: var(--primary-color);
}

.auth-form-simple .form-check-input:checked:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-container-simple {
        padding: 1rem 0;
    }

    .auth-card-simple {
        margin: 0 1rem;
    }

    .auth-header-simple {
        padding: 1.5rem 1rem 1rem;
    }

    .auth-body-simple {
        padding: 1.5rem 1rem;
    }

    .auth-footer-simple {
        padding: 1rem;
    }

    .auth-title-simple {
        font-size: 1.25rem;
    }

    .auth-icon-simple {
        width: 50px;
        height: 50px;
    }

    .auth-icon-simple i {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .auth-header-simple {
        padding: 1.25rem 1rem 0.75rem;
    }

    .auth-body-simple {
        padding: 1.25rem 1rem;
    }

    .auth-footer-simple {
        padding: 0.875rem 1rem;
    }

    .auth-title-simple {
        font-size: 1.125rem;
    }

    .auth-subtitle-simple {
        font-size: 0.85rem;
    }

    .btn-auth-simple {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Custom Scrollbar - Cross Browser Compatible */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Firefox scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f1f1;
}

/* IE/Edge scrollbar */
body {
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

/* ===== ARTICLE LISTING HERO SECTION - Cross Browser Compatible ===== */
.article-listing-hero {
    background: linear-gradient(135deg, rgba(210, 255, 228, 0.3) 0%, rgba(229, 255, 240, 0.3) 50%);
    /* Fallback for browsers that don't support gradients */
    background-color: rgba(210, 255, 228, 0.3);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow-light);
}

.article-listing-icon-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.article-listing-hero-icon {
    width: 50px;
    height: 50px;
    /* Cross browser filter */
    -webkit-filter: brightness(0) invert(1);
    -moz-filter: brightness(0) invert(1);
    -ms-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
    font-size: 2rem;
}

.article-listing-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.article-listing-hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.article-listing-stats {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    gap: 2rem;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.article-listing-stats .stat-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.article-listing-stats .stat-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Responsive Article Listing Hero */
@media (max-width: 768px) {
    .article-listing-hero {
        padding: 1.5rem;
    }

    .article-listing-hero-title {
        font-size: 2rem;
    }

    .article-listing-hero-description {
        font-size: 1rem;
    }

    .article-listing-stats {
        gap: 1rem;
    }

    .article-listing-icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .article-listing-hero-icon {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .article-listing-sidebar {
        margin-bottom: 2rem;
    }

    .article-listing-hero {
        padding: 1rem;
    }

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

    .article-listing-stats {
        flex-direction: row;
        gap: 0.75rem;
    }
}

/* Tag Dropdown Styles */
.tag-dropdown-menu {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 15px 35px;
}

.tag-dropdown-menu .dropdown-item {
    padding: 8px 16px;
    border: none;
    background: transparent;
    transition: background-color 0.2s ease;
}

.tag-dropdown-menu .dropdown-item:hover {
    background-color: var(--bg-light);
}

.tag-dropdown-menu .form-check {
    margin: 0;
    padding: 0;
}

.tag-dropdown-menu .form-check-input {
    margin-right: 8px;
    border-color: var(--primary-color);
}

.tag-dropdown-menu .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.tag-dropdown-menu .form-check-label {
    font-size: 0.9rem;
    color: var(--text-dark);
    cursor: pointer;
    user-select: none;
    margin: 0;
    padding: 0;
}

.tag-dropdown-menu .form-check-label:hover {
    color: var(--primary-color);
}

/* Category Dropdown Styles - Same as Tag Dropdown */
.category-dropdown-menu {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 15px 35px;
}

.category-dropdown-menu .dropdown-item {
    padding: 8px 16px;
    border: none;
    background: transparent;
    transition: background-color 0.2s ease;
}

.category-dropdown-menu .dropdown-item:hover {
    background-color: var(--bg-light);
}

.category-dropdown-menu .form-check {
    margin: 0;
    padding: 0;
}

.category-dropdown-menu .form-check-input {
    margin-right: 8px;
    border-color: var(--primary-color);
}

.category-dropdown-menu .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.category-dropdown-menu .form-check-label {
    font-size: 0.9rem;
    color: var(--text-dark);
    cursor: pointer;
    user-select: none;
    margin: 0;
    padding: 0;
}

.category-dropdown-menu .form-check-label:hover {
    color: var(--primary-color);
}

/* Author Dropdown Styles - Same as Tag Dropdown Category Page */
.author-dropdown-menu {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 15px 35px;
}

.author-dropdown-menu .dropdown-item {
    padding: 8px 16px;
    border: none;
    background: transparent;
    transition: background-color 0.2s ease;
}

.author-dropdown-menu .dropdown-item:hover {
    background-color: var(--bg-light);
}

.author-dropdown-menu .form-check {
    margin: 0;
    padding: 0;
}

.author-dropdown-menu .form-check-input {
    margin-right: 8px;
    border-color: var(--primary-color);
}

.author-dropdown-menu .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.author-dropdown-menu .form-check-label {
    font-size: 0.9rem;
    color: var(--text-dark);
    cursor: pointer;
    user-select: none;
    margin: 0;
    padding: 0;
}

.author-dropdown-menu .form-check-label:hover {
    color: var(--primary-color);
}

/* Remove old tag filter styles */
.tag-filter-container {
    display: none;
}

.author-hero-icon {
    font-size: 2rem;
    color: var(--text-light);
}

/* Profile Page Styles */
.profile-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar .avatar-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.profile-avatar .avatar-text {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
}

.profile-page .card {
    border: none;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-page .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
}

.profile-page .card-header {
    border-bottom: none;
    border-radius: 0.75rem 0.75rem 0 0 !important;
}

.profile-page .form-control {
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
}


.profile-page .form-control-lg {
    padding: 0.75rem 1rem;
    font-size: 1rem;
}


.profile-page .info-item {
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
}

.profile-page .info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-page .text-primary {
    color: var(--primary-color) !important;
}

.profile-page .bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
}

.profile-page .bg-light {
    background-color: #f8f9fa !important;
}

@media (max-width: 768px) {
    .profile-avatar .avatar-circle {
        width: 80px;
        height: 80px;
    }

    .profile-avatar .avatar-circle i {
        font-size: 2rem;
    }

    .profile-page h1 {
        font-size: 2rem;
    }
}

/* resend verification Email Style */
.resend-verification-outline-btn {
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
    transition: all 0.3s ease;
    --bs-btn-active-bg: var(--primary-color) !important;
}

.resend-verification-outline-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
}

.resend-verification-btn {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
    transition: all 0.3s ease;
}

.resend-verification-btn:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.help-item {
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
}

.help-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
}