@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&display=swap');

/* --- CUSTOM VARIABLES & DESIGN SYSTEM --- */
:root {
    --bg-main: #0B0F19;
    --bg-surface: rgba(17, 24, 39, 0.7);
    --bg-card: rgba(30, 41, 59, 0.45);
    --border-color: rgba(212, 175, 55, 0.15);
    --border-hover: rgba(212, 175, 55, 0.4);
    
    --primary: #D4AF37; /* Metallic Gold */
    --primary-hover: #F3D060;
    --primary-light: rgba(212, 175, 55, 0.1);
    --secondary: #C5A880; /* Sand Gold */
    
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    
    --success: #10B981;
    --success-light: rgba(16, 185, 129, 0.15);
    --warning: #F59E0B;
    --warning-light: rgba(245, 158, 11, 0.15);
    --danger: #EF4444;
    --danger-light: rgba(239, 68, 68, 0.15);
    --info: #3B82F6;
    --info-light: rgba(59, 130, 246, 0.15);

    --font-main: 'Cairo', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 10px 40px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.05);

    /* Dynamic component colors */
    --header-bg: rgba(11, 15, 25, 0.85);
    --footer-bg: #060910;
    --stats-row-bg: linear-gradient(90deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    --card-glow-intensity: rgba(212, 175, 55, 0.12);
    --bg-input: rgba(11, 15, 25, 0.8);
}

body.light-theme {
    --bg-main: #F8FAFC; /* Slate 50 */
    --bg-surface: rgba(255, 255, 255, 0.85);
    --bg-card: rgba(255, 255, 255, 0.7);
    --border-color: rgba(212, 175, 55, 0.22);
    --border-hover: rgba(212, 175, 55, 0.6);
    
    --primary: #B28B15; /* Darker gold for better white text readability */
    --primary-hover: #8D6B0D;
    --primary-light: rgba(212, 175, 55, 0.12);
    --secondary: #90744D;
    
    --text-primary: #0F172A; /* Slate 900 */
    --text-secondary: #475569; /* Slate 600 */
    --text-muted: #64748B; /* Slate 500 */
    
    --header-bg: rgba(248, 250, 252, 0.85);
    --footer-bg: #F1F5F9;
    --stats-row-bg: linear-gradient(90deg, rgba(226, 232, 240, 0.85) 0%, rgba(203, 213, 225, 0.95) 100%);
    --card-glow-intensity: rgba(178, 139, 21, 0.06);
    --shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.08), 0 0 20px rgba(212, 175, 55, 0.02);
    --bg-input: #ffffff;
}

body.light-theme .bg-glow-1 {
    background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
}

body.light-theme .bg-glow-2 {
    background: radial-gradient(circle, rgba(197, 168, 128, 0.015) 0%, transparent 70%);
}

/* Theme Switcher Button styles */
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    margin-left: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.theme-toggle-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.05) rotate(15deg);
}

.theme-toggle-btn:active {
    transform: scale(0.95);
}

body:not(.light-theme) .icon-sun {
    display: none;
}

body.light-theme .icon-moon {
    display: none;
}

/* --- RESET & GLOBAL STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-main);
    direction: rtl;
    text-align: right;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Background Gradients & Glows */
.bg-glow-1 {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.bg-glow-2 {
    position: absolute;
    top: 50%;
    right: 5%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(197, 168, 128, 0.04) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER & NAVIGATION --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--header-bg, rgba(11, 15, 25, 0.85));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
}

.logo-text h1 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    padding: 5px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #000;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero-section {
    padding: 180px 0 100px 0;
    position: relative;
    overflow: hidden;
}

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

.hero-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.hero-content h2 span {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.hero-badge i {
    color: var(--primary);
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle-container {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 1px dashed rgba(212, 175, 55, 0.2);
    animation: rotate-dashed 20s linear infinite;
}

@keyframes rotate-dashed {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-logo-box {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--bg-surface);
    border: 2px solid var(--primary);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-premium);
    animation: float-box 6s ease-in-out infinite;
    backdrop-filter: blur(8px);
}

.hero-logo-box img {
    height: 100px;
}

.hero-logo-box p {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: bold;
    margin-top: 10px;
}

@keyframes float-box {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* --- STATS ACCENTS --- */
.stats-accent-row {
    background: var(--stats-row-bg, linear-gradient(90deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 30px 0;
    backdrop-filter: blur(10px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}

/* --- SERVICES SECTION --- */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
    border: 1px solid var(--border-color);
    padding: 4px 15px;
    border-radius: 15px;
    background: var(--primary-light);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.section-desc {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 10px auto 0 auto;
    font-size: 0.95rem;
}

/* Categories Switcher */
.categories-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 24px;
    border-radius: 30px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    background: rgba(212, 175, 55, 0.05);
    color: var(--primary);
    border-color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    font-weight: 700;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 25px;
    margin-bottom: 80px;
}

.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 35px;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 35px -5px var(--card-glow-intensity), 0 0 20px rgba(212, 175, 55, 0.05);
}

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

.card-num {
    position: absolute;
    top: 25px;
    left: 25px;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(212, 175, 55, 0.06);
    transition: var(--transition-smooth);
    line-height: 1;
}

.service-card:hover .card-num {
    color: rgba(212, 175, 55, 0.12);
    transform: scale(1.15) rotate(-5deg);
}

.card-icon {
    width: 55px;
    height: 55px;
    background: rgba(212, 175, 55, 0.06);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    border: 1px solid rgba(212, 175, 55, 0.08);
    transition: var(--transition-smooth);
}

.service-card:hover .card-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #000;
    transform: rotateY(180deg) scale(1.05);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.25);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.6;
    transition: var(--transition-smooth);
}

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

.card-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    line-height: 1.7;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.card-footer i {
    transition: var(--transition-smooth);
}

.service-card:hover .card-footer i {
    transform: translateX(-8px);
}

/* --- TRACKING SECTION --- */
.tracking-section {
    padding: 80px 0;
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.3) 0%, transparent 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.tracking-card {
    background: var(--bg-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-premium);
}

.tracking-form-group {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.tracking-input {
    flex-grow: 1;
    background: rgba(11, 15, 25, 0.8);
    border: 1px solid var(--border-color);
    padding: 14px 20px;
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
    text-align: center;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

.tracking-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.tracking-result-box {
    margin-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: none;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tracking-header-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.tracking-info-item {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.tracking-info-item strong {
    color: var(--text-primary);
    display: block;
    margin-top: 4px;
}

/* Tracking steps visualizer */
.tracking-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 40px 0;
}

.tracking-steps::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 25%;
}

.step-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 700;
    transition: var(--transition-smooth);
}

.step-label {
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-align: center;
}

/* Step active states */
.step-item.completed .step-icon {
    border-color: var(--success);
    background: var(--success-light);
    color: var(--success);
}
.step-item.completed .step-label {
    color: var(--success);
}

.step-item.active .step-icon {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}
.step-item.active .step-label {
    color: var(--primary);
}

/* Reply Box */
.admin-reply-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-right: 4px solid var(--primary);
    padding: 20px;
    border-radius: 8px;
    margin-top: 25px;
}

.admin-reply-box h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.admin-reply-box p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* --- CONTACT SECTION --- */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
}

.contact-info-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-block {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--primary);
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.info-text p, .info-text a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    text-decoration: none;
}

.info-text a:hover {
    color: var(--primary);
}

.contact-form {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-control {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

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

/* --- FOOTER --- */
footer {
    background: var(--footer-bg, #060910);
    border-top: 1px solid var(--border-color);
    padding: 50px 0 20px 0;
    color: var(--text-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about img {
    height: 45px;
    margin-bottom: 15px;
}

.footer-about p {
    font-size: 0.85rem;
    max-width: 350px;
}

.footer-links h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    border-right: 3px solid var(--primary);
    padding-right: 10px;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--primary);
    padding-right: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    flex-wrap: wrap;
    gap: 15px;
}

.admin-portal-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-weight: bold;
}

.admin-portal-link:hover {
    color: var(--primary);
}

/* --- MODALS & POPUPS --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 9, 16, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: linear-gradient(135deg, rgba(20, 27, 45, 0.9) 0%, rgba(10, 15, 28, 0.95) 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.08);
    transform: scale(0.9) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    padding: 40px;
}

.modal-overlay.active .modal-card {
    transform: scale(1) translateY(0);
}

.close-modal-btn {
    position: absolute;
    top: 25px;
    left: 25px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.close-modal-btn:hover {
    background: var(--danger);
    color: #fff;
    border-color: var(--danger);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
}

.modal-header {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
}

.modal-icon {
    width: 55px;
    height: 55px;
    background: var(--primary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.modal-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    background: linear-gradient(90deg, #fff 0%, #dcdcdc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-body {
    margin-bottom: 20px;
}

.modal-body-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.8;
    background: rgba(255, 255, 255, 0.02);
    padding: 18px;
    border-radius: 12px;
    border-right: 4px solid var(--primary);
    border-left: 1px solid rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.modal-form-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Success Overlay (Popup for code delivery) */
.success-card {
    text-align: center;
    max-width: 480px;
    padding: 45px 35px;
}

.success-badge-icon {
    width: 80px;
    height: 80px;
    background: var(--success-light);
    color: var(--success);
    border: 1.5px solid rgba(16, 185, 129, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 25px auto;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
    animation: scale-up-pulse 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) infinite alternate;
}

@keyframes scale-up-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
    }
    100% {
        transform: scale(1.08);
        box-shadow: 0 0 25px 8px rgba(16, 185, 129, 0.35);
    }
}

.success-code-display {
    background: rgba(212, 175, 55, 0.07);
    border: 2px dashed var(--primary);
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--primary);
    margin: 25px 0 15px 0;
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
    font-family: monospace;
    box-shadow: inset 0 0 15px rgba(212, 175, 55, 0.05);
}

.success-code-display:hover {
    background: rgba(212, 175, 55, 0.14);
    border-style: solid;
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.15);
}

.success-code-display:active {
    transform: scale(0.98);
}

.success-code-display:hover::after {
    content: 'اضغط للنسخ الفوري 📋';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    background: #1e293b;
    border: 1px solid var(--border-color);
    color: var(--primary-hover);
    padding: 3px 10px;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    animation: fadeIn 0.2s ease-out;
}

/* --- ADMIN PANEL VIEWS --- */
.admin-section {
    padding: 140px 0 80px 0;
    min-height: 100vh;
}

.login-card {
    max-width: 400px;
    margin: 40px auto 0 auto;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--shadow-premium);
}

/* Admin Dashboard Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

.admin-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.admin-stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.admin-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-stat-val h4 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
}

.admin-stat-val p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.admin-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.admin-stat-card.total .admin-stat-icon { background: var(--info-light); color: var(--info); }
.admin-stat-card.pending .admin-stat-icon { background: var(--warning-light); color: var(--warning); }
.admin-stat-card.progress .admin-stat-icon { background: rgba(197, 168, 128, 0.15); color: var(--secondary); }
.admin-stat-card.completed .admin-stat-icon { background: var(--success-light); color: var(--success); }

/* Requests Table Section */
.admin-table-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    overflow-x: auto;
    box-shadow: var(--shadow-premium);
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.table-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
}

.requests-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 750px;
}

.requests-table th, .requests-table td {
    padding: 14px 16px;
    text-align: right;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.requests-table th {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
}

.requests-table td {
    font-size: 0.88rem;
    color: var(--text-primary);
}

.status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
}

.status-badge.pending { background: var(--warning-light); color: var(--warning); }
.status-badge.working { background: rgba(197, 168, 128, 0.15); color: var(--secondary); }
.status-badge.done { background: var(--success-light); color: var(--success); }
.status-badge.cancelled { background: var(--danger-light); color: var(--danger); }

.action-btn-sm {
    background: var(--primary-light);
    border: 1px solid var(--border-color);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-main);
    transition: var(--transition-smooth);
}

.action-btn-sm:hover {
    background: var(--primary);
    color: #000;
}

/* Admin Edit Request Form */
.admin-edit-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.toast {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #111827;
    border: 1px solid var(--primary);
    border-radius: 8px;
    padding: 12px 24px;
    color: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 1100;
    display: none;
    align-items: center;
    gap: 10px;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Floating WhatsApp button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 99;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    background-color: #20BA5A;
}

/* --- ABOUT & VALUES SECTION --- */
.about-section {
    padding: 100px 0 60px 0;
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

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

.about-text-lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-quote {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(197, 168, 128, 0.02) 100%);
    border-right: 4px solid var(--primary);
    padding: 20px 25px;
    border-radius: 8px;
    position: relative;
    margin: 15px 0;
}

.about-quote p {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.about-quote .quote-icon {
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 2rem;
    color: rgba(212, 175, 55, 0.05);
}

.about-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.about-badge-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.about-badge-item i {
    color: var(--primary);
}

/* About Visual Card */
.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-dashboard-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.dashboard-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.dashboard-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dashboard-header .dot.red { background: #ef4444; }
.dashboard-header .dot.yellow { background: #f59e0b; }
.dashboard-header .dot.green { background: #10b981; }

.dashboard-title {
    margin-right: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: bold;
    font-family: var(--font-main);
}

.dashboard-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chart-container {
    height: 120px;
    display: flex;
    align-items: flex-end;
}

.bar-chart {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.bar-chart .bar {
    width: 35px;
    height: var(--h);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: var(--transition-smooth);
    animation: grow-bar 1.5s ease-out forwards;
}

.bar-chart .bar.active {
    background: linear-gradient(to top, var(--primary), var(--secondary));
    border: none;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.bar-chart .bar span {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: bold;
}

.bar-chart .bar.active span {
    color: var(--primary);
}

@keyframes grow-bar {
    from { height: 0; }
    to { height: var(--h); }
}

.dashboard-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.stat-mini {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

.stat-mini span {
    font-size: 0.72rem;
    color: var(--text-muted);
    display: block;
}

.stat-mini strong {
    font-size: 1.1rem;
    color: var(--primary);
    display: block;
    margin-top: 4px;
}

.dashboard-calculator {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 10px;
}

.calc-icon {
    font-size: 1.3rem;
    color: var(--primary);
    animation: float-calc 3s ease-in-out infinite;
}

.calc-label {
    font-size: 0.82rem;
    color: var(--text-primary);
    font-weight: bold;
}

@keyframes float-calc {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Values Container */
.values-container {
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 25px -5px rgba(212, 175, 55, 0.08);
}

.value-icon-box {
    width: 44px;
    height: 44px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: var(--transition-smooth);
}

.value-card:hover .value-icon-box {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

.value-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}


/* --- VISION & GOALS SECTION --- */
.vision-goals-section {
    padding: 80px 0;
    position: relative;
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.2) 0%, transparent 80%);
}

.vision-goals-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.vision-card, .goals-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 25px;
    align-items: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
}

.vision-card:hover, .goals-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 35px -5px rgba(212, 175, 55, 0.12), 0 0 20px rgba(212, 175, 55, 0.03);
}

/* Eye Scanner Graphic */
.vision-graphic-box, .goals-graphic-box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 150px;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    padding-left: 15px;
}

.tech-eye-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scanner-circle {
    position: absolute;
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.scanner-circle.circle-1 {
    width: 100px;
    height: 100px;
    border-style: dashed;
    animation: rotate-scanner 15s linear infinite;
}

.scanner-circle.circle-2 {
    width: 80px;
    height: 80px;
    border-color: rgba(212, 175, 55, 0.3);
    animation: rotate-scanner-rev 10s linear infinite;
}

.scanner-circle.circle-3 {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.02);
}

.eye-center {
    position: relative;
    font-size: 1.8rem;
    color: var(--primary);
    z-index: 2;
    animation: pulse-eye 2s ease-in-out infinite;
}

.scanner-bar {
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    top: 5px;
    z-index: 3;
    animation: scan-vertical 3s ease-in-out infinite;
    opacity: 0.7;
    box-shadow: 0 0 8px var(--primary);
}

@keyframes rotate-scanner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotate-scanner-rev {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes pulse-eye {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; text-shadow: 0 0 10px rgba(212, 175, 55, 0.5); }
}

@keyframes scan-vertical {
    0%, 100% { top: 10px; }
    50% { top: 100px; }
}

/* Dartboard Goals Graphic */
.dartboard-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.target-ring {
    position: absolute;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
}

.target-ring.ring-3 { width: 100px; height: 100px; }
.target-ring.ring-2 { width: 75px; height: 75px; border-color: rgba(212, 175, 55, 0.3); }
.target-ring.ring-1 { width: 50px; height: 50px; border-color: rgba(212, 175, 55, 0.4); }

.target-bullseye {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--primary);
}

.dartboard-wrapper .arrow {
    position: absolute;
    color: var(--secondary);
    font-size: 1.1rem;
    z-index: 4;
    transition: var(--transition-smooth);
}

.dartboard-wrapper .arrow.arrow-1 {
    top: -5px;
    left: -5px;
    transform: rotate(135deg);
    animation: hit-bullseye-1 2s ease forwards infinite;
}

.dartboard-wrapper .arrow.arrow-2 {
    bottom: -5px;
    left: -5px;
    transform: rotate(45deg);
    animation: hit-bullseye-2 2s ease 0.3s forwards infinite;
}

@keyframes hit-bullseye-1 {
    0% { transform: translate(-30px, -30px) rotate(135deg); opacity: 0; }
    30% { transform: translate(0, 0) rotate(135deg); opacity: 1; }
    80%, 100% { transform: translate(0, 0) rotate(135deg); opacity: 1; }
}

@keyframes hit-bullseye-2 {
    0% { transform: translate(-30px, 30px) rotate(45deg); opacity: 0; }
    30% { transform: translate(0, 0) rotate(45deg); opacity: 1; }
    80%, 100% { transform: translate(0, 0) rotate(45deg); opacity: 1; }
}

/* Vision / Goals Content */
.vision-content h4, .goals-content h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.vision-content p, .goals-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
}


/* --- UPDATED RESPONSIVE FIXES --- */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-badges {
        justify-content: center;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-visual {
        margin-top: 40px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-visual {
        order: -1; /* Place dashboard card on top on tablet */
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .vision-goals-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
    .vision-card, .goals-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px;
    }
    .vision-graphic-box, .goals-graphic-box {
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        padding-left: 0;
        padding-bottom: 20px;
        height: auto;
    }
    .admin-stats-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* --- PREMIUM IMAGE STYLING --- */
.visual-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-premium), 0 0 30px rgba(212, 175, 55, 0.05);
    transition: var(--transition-smooth);
    background: rgba(10, 15, 28, 0.5);
    width: 100%;
}

.visual-image-wrapper:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(212, 175, 55, 0.15);
}

.premium-visual-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.visual-image-wrapper:hover .premium-visual-img {
    transform: scale(1.03);
}

.visual-overlay-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(6, 9, 16, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.visual-overlay-badge.bottom-left {
    top: auto;
    right: auto;
    bottom: 20px;
    left: 20px;
}

/* Values Flex Layout */
.values-flex-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: center;
}

.values-visual {
    display: flex;
    justify-content: center;
    width: 100%;
}

.values-visual .visual-image-wrapper {
    max-width: 440px;
}

/* Premium Card Images (Vision) */
.premium-card-img {
    width: 100%;
    max-width: 240px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: var(--transition-smooth);
}

.vision-card:hover .premium-card-img, .goals-card:hover .premium-card-img {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.1);
}

/* Services Hero Banner */
.services-hero-banner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, rgba(20, 27, 45, 0.4) 0%, rgba(10, 15, 28, 0.6) 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: var(--shadow-premium);
}

.services-hero-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.services-hero-visual {
    width: 100%;
    display: flex;
    justify-content: center;
}

.premium-banner-img {
    width: 100%;
    max-width: 440px;
    height: 250px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    transition: var(--transition-smooth);
}

.services-hero-banner:hover .premium-banner-img {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.1);
}

/* Services Showcase (VAT/Zakat) */
.services-showcase-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 60px;
}

.showcase-visual {
    width: 100%;
    display: flex;
    justify-content: center;
}

.showcase-visual .visual-image-wrapper {
    max-width: 440px;
}

.showcase-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.showcase-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
}

.showcase-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.showcase-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.feature-item i {
    color: var(--primary);
}

/* Responsive updates for new structures */
@media (max-width: 992px) {
    .values-flex-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .values-visual {
        order: -1;
    }
    .services-hero-banner {
        grid-template-columns: 1fr;
        padding: 30px;
        text-align: center;
    }
    .services-hero-banner .section-title, .services-hero-banner .section-desc {
        text-align: center !important;
    }
    .services-hero-visual {
        order: -1;
    }
    .services-showcase-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .showcase-visual {
        order: -1;
    }
}

/* --- FOOTER SOCIAL LINKS --- */
.footer-social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}
.footer-social-links a:hover {
    background: var(--primary);
    color: #0b0f19 !important;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.25);
}

/* --- ADMIN PANEL TAB SYSTEM --- */
.admin-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    flex-wrap: wrap;
}
.admin-tabs .tab-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.admin-tabs .tab-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(212, 175, 55, 0.05);
}
.admin-tabs .tab-btn.active {
    background: var(--primary);
    color: #0b0f19 !important;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}
.admin-tab-content {
    display: none;
}
.admin-tab-content.active {
    display: block;
}
.services-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 15px;
}
.service-admin-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.service-admin-card:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.02);
    transform: translateY(-2px);
}
.service-admin-card h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.service-admin-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 15px;
}
