/* Public site theme — restored from the original DoCenter design (style.css + page-scoped styles). */

/* === DOCENTER COLOR IDENTITY === */
:root {
    --primary-1: #F49156;
    --primary-2: #EC675A;
    --primary-3: #FFB380;
    --background-1: #0F1419;
    --background-2: #1A2027;
    --background-3: #25313B;
    --text-1: #9CA3AF;
    --text-2: #FFFFFF;
    --text-3: #E5E7EB;
    --accent-glow: rgba(244, 145, 86, 0.15);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px var(--accent-glow);
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Tajawal', 'Cairo', sans-serif;
    direction: rtl;
    background: linear-gradient(180deg, var(--background-1) 0%, var(--background-2) 100%);
    color: var(--text-2);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection Color */
::selection {
    background: var(--primary-1);
    color: var(--background-1);
}

::-moz-selection {
    background: var(--primary-1);
    color: var(--background-1);
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

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

.section-title h2 {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-1) 0%, var(--primary-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-1) 0%, var(--primary-2) 100%);
    border-radius: 2px;
}

.section-title p {
    font-size: 20px;
    color: var(--text-1);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* === Modern Button Styles === */
.btn-primary,
.btn-hero {
    background: linear-gradient(135deg, var(--primary-1) 0%, var(--primary-2) 100%);
    border: none;
    font-weight: 600;
    color: var(--text-2);
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 17px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(244, 145, 86, 0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-primary::before,
.btn-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before,
.btn-hero:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary:hover,
.btn-hero:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(236, 103, 90, 0.5);
}

.btn-primary:active,
.btn-hero:active {
    transform: translateY(-1px) scale(0.98);
}


/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--background-2) 0%, #1a2832 50%, var(--background-1) 100%);
    padding: 140px 0;
    text-align: right;
    color: var(--text-2);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(244, 145, 86, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: hero-pulse 8s ease-in-out infinite;
}

@keyframes hero-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-1) 0%, var(--primary-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    line-height: 1.2;
    animation: hero-title-fade-in 1s ease-out;
}

@keyframes hero-title-fade-in {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-content p {
    font-size: 22px;
    color: var(--text-1);
    margin-bottom: 40px;
    line-height: 1.7;
    animation: hero-text-fade-in 1s ease-out 0.3s both;
}

@keyframes hero-text-fade-in {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

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

.btn-hero {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    display: inline-block;
    margin: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(244, 145, 86, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-hero:hover::before {
    width: 300px;
    height: 300px;
}

.btn-hero:hover {
    background-color: var(--primary-2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(236, 103, 90, 0.4);
}

.btn-hero.outline {
    background-color: transparent;
    border: 2px solid var(--primary-1);
    color: var(--primary-1);
    box-shadow: 0 4px 15px rgba(244, 145, 86, 0.2);
}

.btn-hero.outline:hover {
    background-color: var(--primary-1);
    color: var(--text-2);
    border-color: var(--primary-1);
    transform: translateY(-3px);
}

/* Services Section */
.services {
    position: relative;
}

.service-card {
    background: linear-gradient(145deg, var(--background-2) 0%, #1e2a33 100%);
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 30px;
    color: var(--text-2);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(244, 145, 86, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-1) 0%, var(--primary-2) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(244, 145, 86, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: rgba(244, 145, 86, 0.3);
}

.service-icon {
    font-size: 56px;
    background: linear-gradient(135deg, var(--primary-1) 0%, var(--primary-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-1);
    margin-bottom: 18px;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary-2);
}

.service-card p {
    font-size: 17px;
    color: var(--text-1);
    line-height: 1.7;
}

/* About Section */
.about {
    background: linear-gradient(135deg, var(--background-2) 0%, #1e2a34 100%);
    color: var(--text-2);
    position: relative;
    overflow: hidden;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 103, 90, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.about-text h3 {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-1) 0%, var(--primary-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 28px;
}

.about-text p {
    font-size: 19px;
    color: var(--text-1);
    line-height: 1.9;
    margin-bottom: 20px;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, var(--primary-1) 0%, var(--primary-2) 100%);
    color: var(--text-2);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.stat-item {
    padding: 30px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 56px;
    font-weight: 900;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: stat-count-up 1.5s ease-out;
}

@keyframes stat-count-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

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

.stat-label {
    font-size: 20px;
    font-weight: 600;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #1a2832 0%, var(--background-1) 100%);
    color: var(--text-2);
    text-align: center;
    position: relative;
    padding: 100px 0;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(244, 145, 86, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta h2 {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-2) 0%, var(--primary-1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.cta p {
    font-size: 20px;
    margin-bottom: 40px;
    color: var(--text-1);
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--background-2) 0%, var(--background-1) 100%);
    color: var(--text-1);
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(244, 145, 86, 0.1);
}

.footer h5 {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-1) 0%, var(--primary-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
}

.footer p {
    font-size: 16px;
    color: var(--text-1);
    line-height: 1.8;
}

.footer a {
    color: var(--text-1);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-1);
    transition: width 0.3s ease;
}

.footer a:hover::after {
    width: 100%;
}

.footer a:hover {
    color: var(--primary-1);
    transform: translateX(5px);
}

/* === Footer Social Icons === */
.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(244, 145, 86, 0.12);
    color: var(--primary-1);
    font-size: 18px;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.footer-social-icon:hover {
    background: var(--primary-1);
    color: #fff;
}

.footer .social-links {
    margin-top: 8px;
}

/* === Admin Dashboard Widgets === */
.dashboard-widgets {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
}

.dashboard-widget {
    background: var(--background-2);
    border-radius: 12px;
    padding: 24px 32px;
    flex: 1 1 220px;
    min-width: 220px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.2s, transform 0.2s;
}

.dashboard-widget:hover {
    box-shadow: 0 6px 24px rgba(244, 145, 86, 0.10), 0 1.5px 6px rgba(0, 0, 0, 0.10);
    transform: translateY(-2px) scale(1.03);
}

.dashboard-widget .widget-title {
    font-size: 1.1rem;
    color: var(--text-1);
    margin-bottom: 8px;
}

.dashboard-widget .widget-value {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--primary-1);
}

.dashboard-widget .widget-icon {
    font-size: 2.5rem;
    color: var(--primary-2);
    margin-bottom: 8px;
}

/* === Admin Sidebar Layout Fix (LTR/Left Side) === */
.admin-sidebar {
    overflow-x: hidden;
    background: var(--background-2);
    min-height: 100vh;
    color: var(--text-2);
    z-index: 1000;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.admin-sidebar .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 12px 8px;
    font-size: 1.1rem;
    transition: background 0.2s, color 0.2s;
}

.admin-sidebar .nav-link i {
    min-width: 28px;
    text-align: center;
    font-size: 1.3rem;
}

.admin-sidebar .nav-link span {
    display: none;
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--background-2);
    color: var(--text-2);
    padding: 6px 16px;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    font-size: 1rem;
    font-weight: 500;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.admin-sidebar .nav-link:hover span,
.admin-sidebar .nav-link:focus span {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.admin-sidebar .nav-link.active {
    background: var(--primary-1);
    color: var(--text-2) !important;
    box-shadow: 0 2px 8px rgba(244, 145, 86, 0.15);
    transition: background 0.2s, color 0.2s;
}

.admin-sidebar .nav-link.active i {
    color: var(--text-2) !important;
}

.admin-sidebar .admin-sidebar-title {
    font-size: 1rem;
    margin-top: 0.5rem;
    text-align: center;
    padding: 0 8px;
    color: var(--primary-1);
}

/* === Admin Layout: Fill Page, No Empty Space === */
body,
html {
    height: 100%;
    margin: 0;
    padding: 0;
}

.admin-root {
    display: flex;
    min-height: 100vh;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.admin-sidebar {
    flex-shrink: 0;
    height: 100vh;
}

.admin-content-area {
    display: flex;
    flex-direction: column;
    flex: 1 1 0%;
    min-width: 0;
    min-height: 100vh;
    height: 100vh;
    background: var(--background-1);
}

.admin-topbar {
    flex-shrink: 0;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-bottom: 1px solid var(--background-1);
    background: var(--background-2);
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
}

.admin-main {
    flex: 1 1 0%;
    width: 100%;
    min-height: 0;
    padding: 32px 24px;
    overflow-y: auto;
    background: var(--background-1);
}

@media (max-width: 991px) {
    .admin-root {
        flex-direction: column;
        height: auto;
        min-height: unset;
    }

    .admin-sidebar {
        width: 100vw;
        height: auto;
        min-height: unset;
        position: static;
        box-shadow: none;
    }

    .admin-content-area {
        min-height: unset;
        height: auto;
    }

    .admin-sidebar .nav-link span {
        display: inline;
        position: static;
        background: none;
        color: inherit;
        box-shadow: none;
        padding: 0;
        border-radius: 0;
        opacity: 1;
        transform: none;
    }
}

/* === About/Profile Modern Styles === */
.profile-intro {
    background: linear-gradient(170deg, var(--background-2) 0%, #2e4151 100%);
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.10);
    padding: 48px 32px;
    color: var(--text-2);
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
}

.profile-intro::before {
    content: '';
    position: absolute;
    left: -60px;
    top: -60px;
    width: 180px;
    height: 180px;
    background: var(--primary-1);
    opacity: 0.08;
    border-radius: 50%;
    filter: blur(10px);
    z-index: 0;
}

.profile-intro .profile-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-1);
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.profile-intro .profile-desc {
    font-size: 1.2rem;
    color: var(--text-2);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.goals-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 48px;
}

.goal-card {
    flex: 1 1 260px;
    background: rgba(27, 36, 43, 0.95);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(244, 145, 86, 0.08);
    border-top: 4px solid var(--primary-1);
    padding: 28px 24px;
    color: var(--text-2);
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
    min-width: 220px;
}

.goal-card:hover {
    box-shadow: 0 8px 32px rgba(244, 145, 86, 0.18), 0 2px 8px rgba(0, 0, 0, 0.10);
    transform: translateY(-4px) scale(1.03);
}

.goal-card .goal-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-1);
    margin-bottom: 10px;
}

.goal-card .goal-desc {
    font-size: 1rem;
    color: var(--text-1);
}

.vision-mission {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 48px;
}

.vision-card,
.mission-card {
    flex: 1 1 320px;
    background: rgba(236, 103, 90, 0.10);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(236, 103, 90, 0.08);
    padding: 36px 28px;
    color: var(--text-2);
    position: relative;
    min-width: 260px;
}

.vision-card {
    border-top: 4px solid var(--primary-2);
}

.mission-card {
    border-top: 4px solid var(--primary-1);
}

.vision-card .card-title,
.mission-card .card-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.vision-card .card-title {
    color: var(--primary-2);
}

.mission-card .card-title {
    color: var(--primary-1);
}

.values-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 48px;
}

.value-modern-card {
    flex: 1 1 220px;
    background: rgba(244, 145, 86, 0.07);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(244, 145, 86, 0.08);
    border-top: 4px solid var(--primary-1);
    padding: 28px 24px;
    color: var(--text-2);
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
    min-width: 180px;
}

.value-modern-card:nth-child(even) {
    background: rgba(236, 103, 90, 0.07);
    border-top: 4px solid var(--primary-2);
}

.value-modern-card .value-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-1);
    margin-bottom: 10px;
}

.value-modern-card:nth-child(even) .value-title {
    color: var(--primary-2);
}

.value-modern-card .value-desc {
    font-size: 1rem;
    color: var(--text-1);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 48px;
}

.service-modern-card {
    flex: 1 1 260px;
    background: rgba(27, 36, 43, 0.97);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(244, 145, 86, 0.08);
    border-top: 4px solid var(--primary-1);
    padding: 28px 24px;
    color: var(--text-2);
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
    min-width: 220px;
}

.service-modern-card:hover {
    box-shadow: 0 8px 32px rgba(244, 145, 86, 0.18), 0 2px 8px rgba(0, 0, 0, 0.10);
    transform: translateY(-4px) scale(1.03);
}

.service-modern-card .service-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-1);
    margin-bottom: 10px;
}

.service-modern-card .service-desc {
    font-size: 1rem;
    color: var(--text-1);
}

/* === Verification Page Styles === */
.verify-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, var(--background-2) 0%, #1b242b 100%);
    padding: 60px 0;
}

.verify-card {
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 1.5px 6px rgba(244, 145, 86, 0.10);
    background: var(--background-1);
    color: var(--text-2);
    animation: verify-card-fade-in 0.7s cubic-bezier(.4, 0, .2, 1);
}

@keyframes verify-card-fade-in {
    0% {
        transform: translateY(40px) scale(0.98);
        opacity: 0;
    }

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

.verify-card .card-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-1);
    margin-bottom: 1.5rem;
}

.verify-card .form-control {
    border-radius: 8px;
    border: 1.5px solid var(--primary-1);
    background: var(--background-2);
    color: var(--text-2);
    font-size: 1.1rem;
    padding: 12px 16px;
    transition: border-color 0.2s;
}

.verify-card .form-control:focus {
    border-color: var(--primary-2);
    box-shadow: 0 0 0 2px rgba(244, 145, 86, 0.15);
    background: var(--background-1);
    color: var(--text-2);
}

.verify-card .btn-primary {
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 12px 0;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(244, 145, 86, 0.10);
    transition: background 0.2s, box-shadow 0.2s;
}

.verify-card .btn-primary:hover {
    background: var(--primary-2);
    box-shadow: 0 4px 16px rgba(244, 145, 86, 0.18);
}

.verify-header {
    background: none;
    text-align: center;
    margin-bottom: 32px;
    margin-top: 48pt;
}

.verify-header h1 {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--primary-1);
    margin-bottom: 0.5rem;
}

.verify-header p {
    color: var(--text-1);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.img-fluid {
    border-radius: 18px;
}

@media (max-width: 767px) {
    .verify-section {
        padding: 30px 0;
    }

    .verify-header h1 {
        font-size: 1.5rem;
    }

    .verify-card {
        padding: 0.5rem 0.5rem;
    }

    .img-fluid {
        border-radius: 8px;
    }
}

/* --- Enhanced Activity Details Page Styles --- */
.activity-details-wrapper {
    max-width: 950px;
    margin: 56px auto 48px auto;
    background: var(--background-2);
    color: var(--text-2);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
    padding: 0;
    overflow: hidden;
}

.activity-header {
    background: var(--primary-1);
    color: var(--background-2);
    padding: 40px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    border-bottom: 2px solid var(--background-1);
}

.activity-cover {
    width: 200px;
    height: 140px;
    object-fit: cover;
    border-radius: 14px;
    border: 4px solid var(--background-2);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.13);
    background: #fff;
    margin-bottom: 12px;
}

.activity-header-info h2 {
    color: var(--background-2);
    font-weight: bold;
    font-size: 2.3rem;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.activity-header-info .badge {
    margin: 0 4px 8px 4px;
    padding: 0.6em 1.1em;
    font-size: 1.05rem;
    border-radius: 1.2em;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}

.activity-details-label {
    color: var(--text-2) !important;
    font-weight: 600;
    margin-bottom: 2px;
    font-size: 1.08rem;
    display: flex;
    align-items: center;
    gap: 6px;
    direction: ltr;
}

.activity-details-value {
    margin-bottom: 18px;
    font-size: 1.13rem;
    word-break: break-word;
}

.activity-details-divider {
    border-top: 2px dashed var(--background-1);
    margin: 24px 0 32px 0;
}

.activity-details-body .card {
    background: var(--background-1);
    border-radius: 14px;
    margin-bottom: 0;
    transition: box-shadow 0.2s;
}

.activity-details-body .card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
}

.activity-details-body .card-body {
    padding: 24px 18px 18px 18px;
}

.activity-attachments-list,
.activity-resources-list,
.activity-participants-list,
.activity-instructors-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
}

.activity-attachments-list li,
.activity-resources-list li,
.activity-participants-list li,
.activity-instructors-list li {
    margin-bottom: 7px;
}

.activity-sign,
.activity-stamp {
    max-width: 80px;
    max-height: 40px;
    margin: 0 8px 8px 0;
    border-radius: 6px;
    background: #fff;
    padding: 4px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
}

.activity-participants-list a,
.activity-instructors-list a,
.activity-attachments-list a,
.activity-resources-list a {
    color: var(--primary-2);
    text-decoration: underline;
    font-weight: 500;
}

@media (max-width: 900px) {
    .activity-details-wrapper {
        max-width: 99vw;
        margin: 32px 0 24px 0;
    }

    .activity-header {
        padding: 28px 8px 16px 8px;
    }

    .activity-cover {
        width: 140px;
        height: 100px;
    }

    .activity-cover-full {
        height: 160px;
    }

    .activity-header-info h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 700px) {
    .activity-header-info h2 {
        font-size: 1.4rem;
    }

    .activity-details-body .card-body {
        padding: 16px 8px 8px 8px;
    }

    .activity-details-divider {
        margin: 16px 0 18px 0;
    }

    .activity-cover-full {
        height: 100px;
    }

    .activity-header-info .badge {
        font-size: 0.95rem;
        padding: 0.5em 0.8em;
    }
}

/* Detail badge boxes for activity details */
.detail-badge-box {
    display: flex;
    align-items: center;
    background: var(--background-1);
    border-radius: 10px;
    padding: 0.5em 1em;
    font-size: 1.01rem;
    font-weight: 500;
    margin-bottom: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    gap: 7px;
    min-height: 38px;
}

.detail-badge-box i {
    color: var(--primary-1);
    font-size: 1.1em;
}

.detail-badge-box span {
    color: var(--text-2);
    font-weight: 600;
    margin-right: 3px;
}

.detail-badge-box strong {
    color: var(--primary-2);
    font-weight: 700;
    margin-left: 3px;
}

.activity-details-body .card,
.activity-details-body .card-body {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

@media (max-width: 900px) {
    .detail-badge-box {
        font-size: 0.97rem;
        padding: 0.4em 0.7em;
    }
}

@media (max-width: 700px) {
    .detail-badge-box {
        font-size: 0.93rem;
        padding: 0.3em 0.5em;
    }
}

.activity-details-ltr {
    direction: ltr !important;
    text-align: left;
}

.activity-details-ltr .activity-details-label,
.activity-details-ltr .detail-badge-box {
    direction: ltr !important;
    text-align: left;
}

.activity-details-ltr .activity-details-label,
.activity-details-ltr .activity-details-value {
    text-align: left;
}

/* Status Badge Styles */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.expired {
    background-color: #ffc107;
    color: #212529;
}

.status-badge.unavailable {
    background-color: #dc3545;
    color: #ffffff;
}

.status-badge.available {
    background-color: #28a745;
    color: #ffffff;
}

/* Activity Status Alerts */
.activity-status-alert {
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.activity-status-alert.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border-left: 4px solid #ffc107;
}

.activity-status-alert.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.activity-status-alert i {
    font-size: 18px;
}

/* Expired Badge in Activity Cards */
.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
    font-weight: 600;
}

.badge.bg-warning:hover {
    background-color: #e0a800 !important;
}

.ltr {
    text-align: left;
    direction: ltr;
}

.rtl {
    text-align: right;
    direction: rtl;
}

/* === Scroll to Top Button === */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-1) 0%, var(--primary-2) 100%);
    color: var(--text-2);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(244, 145, 86, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 30px rgba(236, 103, 90, 0.6);
}

.scroll-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

.scroll-to-top i {
    animation: bounce 2s infinite;
}

@keyframes bounce {

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

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-3px);
    }
}

/* === Loading Animation === */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.loading-shimmer {
    animation: shimmer 2s infinite;
    background: linear-gradient(90deg,
            var(--background-2) 0%,
            var(--background-3) 50%,
            var(--background-2) 100%);
    background-size: 1000px 100%;
}

/* === Responsive Design Improvements === */
@media (max-width: 1200px) {
    .section-title h2 {
        font-size: 42px;
    }

    .hero-content h1 {
        font-size: 48px;
    }
}

@media (max-width: 992px) {
    .section {
        padding: 80px 0;
    }

    .section-title h2 {
        font-size: 36px;
    }

    .hero {
        padding: 100px 0;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 19px;
    }

    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .about-text h3 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 50px;
    }

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

    .section-title h2::after {
        width: 60px;
        height: 3px;
    }

    .section-title p {
        font-size: 18px;
    }

    .hero {
        padding: 80px 0;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .btn-hero {
        padding: 12px 28px;
        font-size: 16px;
        margin: 6px;
    }

    .service-card {
        padding: 35px 25px;
    }

    .service-icon {
        font-size: 48px;
    }

    .service-card h3 {
        font-size: 22px;
    }

    .about-text h3 {
        font-size: 32px;
    }

    .about-text p {
        font-size: 17px;
    }

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

    .stat-label {
        font-size: 18px;
    }

    .cta {
        padding: 80px 0;
    }

    .cta h2 {
        font-size: 36px;
    }

    .cta p {
        font-size: 18px;
    }

    .scroll-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 50px 0;
    }

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

    .section-title p {
        font-size: 16px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .btn-hero {
        padding: 10px 24px;
        font-size: 15px;
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 8px auto;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-icon {
        font-size: 42px;
    }

    .service-card h3 {
        font-size: 20px;
    }

    .service-card p {
        font-size: 16px;
    }

    .about-text h3 {
        font-size: 28px;
    }

    .about-text p {
        font-size: 16px;
    }

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

    .stat-label {
        font-size: 16px;
    }

    .cta h2 {
        font-size: 28px;
    }

    .cta p {
        font-size: 16px;
    }

    .footer {
        padding: 60px 0 30px 0;
    }

    .scroll-to-top {
        bottom: 15px;
        left: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ---- from old activities.php ---- */
/* Scoped Filters & Cards Style to match brand identity */
.activities-filter-card {
    background: var(--background-2, #25313B);
    border: 1px solid rgba(244, 145, 86, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.activities-filter-card .form-control,
.activities-filter-card .form-select {
    height: 48px;
    background-color: var(--background-1, #1B242B) !important;
    color: var(--text-2, #FFFFFF) !important;
    border: 1px solid rgba(244, 145, 86, 0.25) !important;
    border-radius: 10px;
    font-size: 0.95rem;
    padding: 0 16px;
    transition: all 0.2s ease-in-out;
}

.activities-filter-card .form-control::placeholder {
    color: var(--text-1, #8A94A0) !important;
    opacity: 0.8;
}

.activities-filter-card .form-control:focus,
.activities-filter-card .form-select:focus {
    background-color: var(--background-1, #1B242B) !important;
    border-color: var(--primary-1, #F49156) !important;
    box-shadow: 0 0 0 3px rgba(244, 145, 86, 0.2) !important;
    color: #fff !important;
}

.btn-filter-apply {
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-1, #F49156) 0%, var(--primary-2, #EC675A) 100%);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease-in-out;
}

.btn-filter-apply:hover {
    background: linear-gradient(135deg, var(--primary-2, #EC675A) 0%, var(--primary-1, #F49156) 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(244, 145, 86, 0.35);
}

.btn-filter-clear {
    height: 48px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-1, #8A94A0);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.btn-filter-clear:hover {
    background: rgba(231, 76, 60, 0.15);
    border-color: rgba(231, 76, 60, 0.4);
    color: #ff6b6b;
}

/* Activity Cards */
.activity-card {
    background: var(--background-2, #25313B);
    border: 1px solid rgba(244, 145, 86, 0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.activity-card:hover {
    transform: translateY(-5px);
    border-color: rgba(244, 145, 86, 0.45);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.activity-card-img-wrap {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: var(--background-1, #1B242B);
    display: block;
}

.activity-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.activity-card:hover .activity-card-img-wrap img {
    transform: scale(1.06);
}

.activity-card-title a {
    color: var(--text-2, #FFFFFF);
    text-decoration: none;
    transition: color 0.2s ease;
}

.activity-card-title a:hover {
    color: var(--primary-1, #F49156);
}

.activity-meta-item {
    font-size: 0.82rem;
    color: var(--text-1, #8A94A0);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ---- from old instructors.php ---- */
.instructor-card {
    background: var(--background-2, #25313B);
    border: 1px solid rgba(244, 145, 86, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    color: #fff;
}
.instructor-card:hover {
    transform: translateY(-6px);
    border-color: rgba(244, 145, 86, 0.5);
    box-shadow: 0 14px 35px rgba(244, 145, 86, 0.2);
}
.instructor-avatar-wrap {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    border: 3px solid var(--primary-1, #F49156);
    overflow: hidden;
    background: var(--background-1, #1B242B);
    box-shadow: 0 4px 18px rgba(244, 145, 86, 0.35);
}
.instructor-skill-badge {
    background: rgba(244, 145, 86, 0.12);
    color: var(--primary-1, #F49156);
    border: 1px solid rgba(244, 145, 86, 0.3);
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ---- from old instructor.php ---- */
.instructor-profile-card {
    background: var(--background-2, #25313B);
    border: 1px solid rgba(244, 145, 86, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    color: #fff;
}
.instructor-profile-card .card-header {
    background: transparent;
    border-bottom: 1px solid rgba(244, 145, 86, 0.2);
    padding: 1.25rem 1.5rem;
}
.skill-pill {
    background: rgba(244, 145, 86, 0.12);
    color: var(--primary-1, #F49156);
    border: 1px solid rgba(244, 145, 86, 0.3);
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ---- from old activity-details.php ---- */

/* ---- from old login.php ---- */
.login-page-wrapper {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 60px 0 80px;
    background: linear-gradient(160deg, var(--background-1) 0%, var(--background-2) 60%, #1e2c38 100%);
}
.login-card {
    background: var(--background-2, #1A2027);
    border: 1px solid rgba(244, 145, 86, 0.2);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(244,145,86,0.05);
    color: #fff;
    overflow: hidden;
}
.login-card-header {
    background: linear-gradient(135deg, rgba(244,145,86,0.12) 0%, rgba(236,103,90,0.08) 100%);
    border-bottom: 1px solid rgba(244,145,86,0.15);
    padding: 36px 40px 28px;
    text-align: center;
}
.login-card-body {
    padding: 32px 40px 40px;
}
.login-brand-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-1) 0%, var(--primary-2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    margin: 0 auto 16px;
    box-shadow: 0 8px 24px rgba(244,145,86,0.35);
}
.login-input-group .input-group-text {
    background: var(--background-1, #0F1419);
    border: 1px solid rgba(244,145,86,0.25);
    color: var(--primary-1);
    border-left: none;
}
.login-input-group.rtl-input .input-group-text {
    border-left: 1px solid rgba(244,145,86,0.25);
    border-right: none;
}
.login-form-control {
    background: var(--background-1, #0F1419) !important;
    border: 1px solid rgba(244,145,86,0.25) !important;
    border-right: none !important;
    color: #fff !important;
    border-radius: 0 10px 10px 0 !important;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}
.login-form-control:focus {
    border-color: var(--primary-1) !important;
    box-shadow: 0 0 0 3px rgba(244,145,86,0.15) !important;
    background: var(--background-1) !important;
    color: #fff !important;
}
.login-form-control::placeholder {
    color: rgba(255,255,255,0.3);
}
.login-btn {
    background: linear-gradient(135deg, var(--primary-1) 0%, var(--primary-2) 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 14px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(244,145,86,0.3);
}
.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(244,145,86,0.45);
    color: #fff;
}
.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.25);
    font-size: 0.85rem;
    margin: 24px 0;
}
.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.1);
}
.login-register-btn {
    border: 1px solid rgba(244,145,86,0.4);
    border-radius: 12px;
    color: var(--primary-1);
    background: rgba(244,145,86,0.05);
    font-weight: 600;
    padding: 12px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: block;
    text-align: center;
}
.login-register-btn:hover {
    background: rgba(244,145,86,0.12);
    border-color: var(--primary-1);
    color: var(--primary-1);
}
