/* ============================================
   INNER PAGES - Premium Styling
   Covers: Banner, About, Contact, Membership,
   Journals, CDE, CDH, Branches, Gallery,
   Dentist Search, Links, Notices
============================================ */

/* ============================================
   PAGE BANNER - Premium Dental
============================================ */
.page-banner {
    position: relative;
    background: var(--hero-gradient);
    padding: 130px 0 80px;
    text-align: center;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 167, 225, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 212, 170, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(124, 58, 237, 0.08) 0%, transparent 40%);
    pointer-events: none;
    animation: gradientFlow 12s ease infinite;
    background-size: 200% 200%;
}

/* Dental tooth pattern overlay */
.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='60' viewBox='0 0 50 60'%3E%3Cpath d='M25 3C13 3 5 12 5 23c0 8 5 12 7 15 2 2 2 6 0 14-1 2 1 5 4 5 3 0 5-4 6-10 1-3 2-5 3-5s2 2 3 5c1 6 3 10 6 10 3 0 5-2 4-5-2-8-2-12 0-14 2-3 7-7 7-15C45 12 37 3 25 3z' fill='%23ffffff' opacity='0.03'/%3E%3C/svg%3E");
    background-size: 70px 85px;
    opacity: 0.8;
}

/* Floating particles */
.page-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 15% 25%, rgba(255, 255, 255, 0.25) 1px, transparent 0),
        radial-gradient(2px 2px at 55% 65%, rgba(255, 255, 255, 0.2) 1px, transparent 0),
        radial-gradient(1.5px 1.5px at 85% 35%, rgba(0, 212, 170, 0.25) 1px, transparent 0);
    background-size: 200px 200px;
    animation: float 18s linear infinite;
    pointer-events: none;
}

.page-banner-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease forwards;
}

.page-banner h1 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
    position: relative;
}

.breadcrumb a:hover {
    color: #00d4aa;
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   PAGE CONTENT AREA
============================================ */
.page-content {
    padding: 80px 0;
    min-height: 60vh;
}

.page-section {
    margin-bottom: 60px;
}

.page-section:last-child {
    margin-bottom: 0;
}

.page-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.page-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
}

.page-section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ============================================
   ABOUT US PAGE
============================================ */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-intro-text p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.about-intro-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.stat-card .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--white);
    font-size: 24px;
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark-blue);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-card .stat-label {
    color: var(--gray-500);
    font-size: 14px;
    font-weight: 500;
}

.about-mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mv-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.mv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark-blue);
}

.mv-card p {
    color: var(--gray-600);
    line-height: 1.8;
}

/* ============================================
   CONTACT US PAGE
============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.contact-card .icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.contact-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-card p {
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.6;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 14px;
    transition: var(--transition-fast);
    background: var(--gray-50);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 167, 225, 0.1);
}

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

.contact-form .btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 40px;
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.contact-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* ============================================
   MEMBERSHIP RENEWAL PAGE
============================================ */
.membership-overview {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.membership-summary-card,
.membership-latest-card,
.membership-history-card,
.membership-empty-state {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.membership-summary-card,
.membership-latest-card {
    padding: 32px;
}

.membership-summary-header h2,
.membership-latest-card h3,
.membership-empty-state h3 {
    font-size: 1.75rem;
    color: var(--gray-900);
    margin: 16px 0 10px;
}

.membership-summary-header p,
.membership-latest-card p,
.membership-empty-state p {
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
}

.membership-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.summary-item {
    padding: 18px 20px;
    border-radius: var(--radius-lg);
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.summary-label {
    display: block;
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.summary-item strong {
    color: var(--gray-900);
    font-size: 1rem;
    line-height: 1.5;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.status-pill.active,
.status-pill.success {
    background: #dcfce7;
    color: #166534;
}

.status-pill.pending {
    background: #fef3c7;
    color: #92400e;
}

.status-pill.failed,
.status-pill.expired,
.status-pill.cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.latest-purchase-list {
    display: grid;
    gap: 14px;
    margin: 24px 0;
}

.latest-purchase-list div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.latest-purchase-list dt {
    color: var(--gray-500);
    font-size: 14px;
    font-weight: 600;
}

.latest-purchase-list dd {
    color: var(--gray-900);
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    text-align: right;
}

.membership-note {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: var(--radius-lg);
    background: #eff6ff;
    color: #1e3a8a;
}

.membership-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.plan-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.plan-card.current {
    border: 2px solid var(--accent-emerald);
    box-shadow: 0 18px 40px rgba(16, 185, 129, 0.16);
}

.plan-card.featured {
    border: 2px solid var(--primary-blue);
    transform: scale(1.05);
}

.plan-card.current.featured {
    border-color: var(--accent-emerald);
}

.plan-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary-gradient);
    color: var(--white);
    padding: 5px 40px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
}

.plan-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    z-index: 2;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.plan-card .plan-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 28px;
}

.plan-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.plan-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark-blue);
    margin-bottom: 5px;
}

.plan-card .price span {
    font-size: 16px;
    color: var(--gray-500);
    font-weight: 400;
}

.plan-card .plan-features {
    margin: 25px 0;
    text-align: left;
}

.plan-card .plan-features li {
    padding: 8px 0;
    color: var(--gray-600);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-card .plan-features li i {
    color: var(--accent-emerald);
    font-size: 14px;
}

.plan-card .btn-plan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.plan-card .btn-plan:hover {
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: translateY(-2px);
}

.plan-card .btn-plan.is-disabled,
.plan-card .btn-plan:disabled {
    background: linear-gradient(135deg, #94a3b8, #64748b);
    cursor: not-allowed;
    box-shadow: none;
}

.plan-card .btn-plan.is-disabled:hover,
.plan-card .btn-plan:disabled:hover {
    transform: none;
}

.membership-history-card {
    padding: 32px;
}

.membership-history-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.history-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--gray-700);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.membership-history-table-wrap {
    overflow-x: auto;
}

.membership-history-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.membership-history-table th,
.membership-history-table td {
    padding: 16px 14px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    text-align: left;
}

.membership-history-table th {
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.membership-history-table td {
    color: var(--gray-700);
    font-size: 14px;
}

.membership-empty-state {
    padding: 32px;
    text-align: center;
}

/* ============================================
   JOURNAL PAGES
============================================ */
.journal-current {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: start;
}

.journal-cover {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.journal-cover img {
    width: 100%;
    height: auto;
}

.journal-details h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.journal-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.journal-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-500);
    font-size: 14px;
}

.journal-meta span i {
    color: var(--primary-blue);
}

.journal-description {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 25px;
}

.journal-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.articles-list {
    margin-top: 40px;
}

.article-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.article-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.article-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.article-item .article-author {
    color: var(--gray-500);
    font-size: 13px;
}

/* Journal Archives Grid */
.journals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.journal-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.journal-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.journal-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.journal-card-body {
    padding: 20px;
}

.journal-card-body h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.journal-card-body p {
    color: var(--gray-500);
    font-size: 13px;
    margin-bottom: 15px;
}

/* Submit Article Form */
.submit-article-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.submit-article-form .form-group {
    margin-bottom: 20px;
}

.submit-article-form label {
    display: block;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
    font-size: 14px;
}

.submit-article-form input,
.submit-article-form textarea,
.submit-article-form select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 14px;
    transition: var(--transition-fast);
    background: var(--gray-50);
}

.submit-article-form input:focus,
.submit-article-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 167, 225, 0.1);
}

.submit-article-form textarea {
    min-height: 120px;
    resize: vertical;
}

.file-upload-area {
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
    background: var(--gray-50);
}

.file-upload-area:hover {
    border-color: var(--primary-blue);
    background: rgba(0, 167, 225, 0.05);
}

.file-upload-area i {
    font-size: 40px;
    color: var(--gray-400);
    margin-bottom: 10px;
}

.file-upload-area p {
    color: var(--gray-500);
    font-size: 14px;
}

.file-upload-area .file-types {
    color: var(--gray-400);
    font-size: 12px;
    margin-top: 5px;
}

/* Rules Page */
.rules-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 50px;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
}

.rules-content h3 {
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-dark-blue);
}

.rules-content ol,
.rules-content ul {
    padding-left: 25px;
    list-style: disc;
}

.rules-content li {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 8px;
}

/* ============================================
   CDE / CDH PROGRAMS PAGES
============================================ */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.program-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.program-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.program-card-image .no-image {
    color: var(--white);
    font-size: 48px;
    opacity: 0.5;
}

.program-card-image .program-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--white);
    color: var(--primary-dark-blue);
    border-radius: var(--radius-md);
    padding: 8px 15px;
    text-align: center;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.program-date-badge .day {
    display: block;
    font-size: 1.5rem;
    line-height: 1;
}

.program-date-badge .month {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--gray-500);
}

.program-card-body {
    padding: 25px;
}

.program-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.program-card-body .program-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.program-info span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-500);
    font-size: 13px;
}

.program-info span i {
    color: var(--primary-blue);
    width: 16px;
    text-align: center;
}

.program-card-body .program-fee {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 167, 225, 0.1);
    color: var(--primary-dark-blue);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
}

/* ============================================
   LOCAL BRANCHES PAGE
============================================ */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.branch-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.branch-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-dark-blue);
}

.branch-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.branch-info span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-600);
    font-size: 14px;
}

.branch-info span i {
    color: var(--primary-blue);
    width: 16px;
    text-align: center;
}

.office-bearers-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 12px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
}

.office-bearers-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bearer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.bearer-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.bearer-item .bearer-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
}

.bearer-item .bearer-details h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.bearer-item .bearer-details span {
    font-size: 12px;
    color: var(--gray-500);
}

/* ============================================
   GALLERY PAGE
============================================ */
.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.album-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    cursor: pointer;
}

.album-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.album-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--gray-200);
}

.album-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.album-card-image .photo-count {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.album-card-body {
    padding: 20px;
}

.album-card-body h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.album-card-body p {
    color: var(--gray-500);
    font-size: 13px;
}

/* Photo Lightbox / Modal */
.photo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.photo-modal.active {
    display: flex;
}

.photo-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--white);
    font-size: 30px;
    cursor: pointer;
    z-index: 10001;
}

.photo-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--radius-lg);
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.photo-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

/* ============================================
   DENTIST SEARCH PAGE
============================================ */
.search-filters {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 40px;
}

.search-filters h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    align-items: end;
}

.filters-grid .form-group {
    margin-bottom: 0;
}

.filters-grid label {
    display: block;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
    font-size: 13px;
}

.filters-grid input,
.filters-grid select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 14px;
    transition: var(--transition-fast);
    background: var(--gray-50);
}

.filters-grid input:focus,
.filters-grid select:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--white);
}

.btn-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 30px;
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-normal);
    height: fit-content;
}

.btn-search:hover {
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.dentists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.dentist-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 25px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.dentist-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-3px);
}

.dentist-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.dentist-avatar {
    width: 55px;
    height: 55px;
    min-width: 55px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 20px;
}

.dentist-card-header h4 {
    font-size: 16px;
    margin-bottom: 3px;
}

.dentist-card-header .specialization {
    color: var(--primary-blue);
    font-size: 13px;
    font-weight: 500;
}

.dentist-card-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dentist-card-info span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-600);
    font-size: 13px;
}

.dentist-card-info span i {
    color: var(--primary-blue);
    width: 16px;
    text-align: center;
}

/* ============================================
   IMPORTANT LINKS PAGE
============================================ */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.link-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.link-card .link-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: var(--radius-lg);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
}

.link-card h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.link-card p {
    color: var(--gray-500);
    font-size: 13px;
    line-height: 1.5;
}

.link-card .link-arrow {
    margin-left: auto;
    color: var(--gray-400);
    font-size: 18px;
    transition: var(--transition-fast);
}

.link-card:hover .link-arrow {
    color: var(--primary-blue);
    transform: translateX(5px);
}

/* ============================================
   NOTICES / ANNOUNCEMENTS PAGE
============================================ */
.notices-list {
    max-width: 800px;
    margin: 0 auto;
}

.notice-item {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
}

.notice-item:hover {
    box-shadow: var(--shadow-lg);
}

.notice-item.important {
    border-left: 4px solid var(--accent-coral);
}

.notice-item .notice-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-500);
    font-size: 13px;
    margin-bottom: 10px;
}

.notice-item .notice-date i {
    color: var(--primary-blue);
}

.notice-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.notice-item p {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.7;
}

.notice-item .notice-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-coral);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.notice-item .notice-attachment {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 500;
}

.notice-item .notice-attachment:hover {
    text-decoration: underline;
}

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

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition-fast);
    color: var(--gray-600);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.pagination a:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.pagination .active {
    background: var(--primary-gradient);
    color: var(--white);
}

/* ============================================
   LOADING SPINNER
============================================ */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    color: var(--gray-400);
}

.loading-spinner .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-spinner p {
    font-size: 14px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-400);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 16px;
}

/* ============================================
   ALERT MESSAGES
============================================ */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
    .about-intro {
        grid-template-columns: 1fr;
    }

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

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

    .journal-current {
        grid-template-columns: 1fr;
    }

    .membership-plans {
        grid-template-columns: 1fr;
    }

    .plan-card.featured {
        transform: none;
    }

    .membership-overview {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 100px 0 40px;
    }

    .page-content {
        padding: 50px 0;
    }

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

    .about-mission-vision {
        grid-template-columns: 1fr;
    }

    .programs-grid,
    .branches-grid,
    .dentists-grid {
        grid-template-columns: 1fr;
    }

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

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

    .membership-summary-grid {
        grid-template-columns: 1fr;
    }

    .membership-history-card,
    .membership-summary-card,
    .membership-latest-card,
    .membership-empty-state {
        padding: 24px;
    }

    .membership-history-header {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .about-stats {
        grid-template-columns: 1fr;
    }

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

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