/* Google Fonts: Cairo */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;900&display=swap');

/* Font Awesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css');

/* Custom Styles */
:root {
    --primary: #dc2626;
    --secondary: #1f2937;
    --accent: #f87171;
    --light: #FFFFFF;
    --light-bg: #f8fafc;
    --dark: #333333;
    --communication: #3498DB;
    --trust: #2ECC71;
    --respect: #F1C40F;
    --support: #9B59B6;
    --border-radius: 0.75rem;
    --box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Cairo', sans-serif;
    scroll-behavior: smooth;
    background-color: #f8fafc;
    color: #333333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #dc2626, #ef4444);
}

.section-title p {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 700px;
    margin: 1rem auto 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    text-align: center;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1.125rem;
    box-shadow: var(--box-shadow);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--light);
}

.btn-primary:hover {
    background-color: #b91c1c;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.25);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--light);
}

.btn-secondary:hover {
    background-color: #111827;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(31, 41, 55, 0.25);
}

.btn-communication {
    background: linear-gradient(90deg, var(--communication), #2980b9);
    color: white;
}

.btn-trust {
    background: linear-gradient(90deg, var(--trust), #27ae60);
    color: white;
}

.btn-respect {
    background: linear-gradient(90deg, var(--respect), #f39c12);
    color: white;
}

.btn-support {
    background: linear-gradient(90deg, var(--support), #8e44ad);
    color: white;
}

.gradient-bg {
    background-color: #1f2937;
    background-image: 
        radial-gradient(at 27% 37%, hsla(355, 70%, 50%, 0.1) 0px, transparent 50%), 
        radial-gradient(at 97% 21%, hsla(355, 70%, 65%, 0.15) 0px, transparent 50%),
        radial-gradient(at 70% 94%, hsla(355, 70%, 55%, 0.1) 0px, transparent 50%);
}

.gradient-text {
    background: linear-gradient(90deg, #ef4444, #f87171);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* Header - تم التحديث ليتوافق مع التصميم الرسمي */
header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-right: 0.625rem;
    font-weight: 900;
}

.logo span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    position: relative;
    margin: 0 0.75rem;
}

.nav-menu a {
    color: #4b5563;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    display: block;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu .dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    width: 250px;
    background-color: var(--light);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #eee;
    display: block;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.header-actions {
    display: flex;
    align-items: center;
}

.lang-toggle {
    margin: 0 1rem;
    font-size: 0.875rem;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    gap: 0.25rem;
}

.lang-toggle .active {
    font-weight: 700;
    color: var(--primary);
}

.search-icon {
    margin: 0 1rem;
    color: var(--dark);
    cursor: pointer;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* Hero Section - تم التحديث ليتوافق مع التصميم الرسمي */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--light);
    padding-top: 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1740&q=80') center/cover no-repeat;
    z-index: -1;
    filter: brightness(0.5);
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #d1d5db;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.hero .slogan {
    font-size: 1.75rem;
    font-weight: 600;
    color: #fff;
    margin-top: 1rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* AI Search Box Styles - تم التحديث ليتوافق مع التصميم الرسمي */
.ai-search-box {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.ai-search-box h3 {
    color: var(--secondary);
    margin-bottom: 1.25rem;
    text-align: center;
    font-size: 1.75rem;
    font-weight: 800;
}

.ai-search-box p.text-sm {
    color: #4b5563;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.ai-search-box input[type="text"] {
    padding: 1rem;
    border: 1px solid #c7d2fe;
    border-radius: 0.75rem;
    background-color: #fefefe;
    font-size: 1.1rem;
    color: #333;
    transition: all 0.3s ease;
}

.ai-search-box input[type="text"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.ai-search-box #ask-ai-btn {
    background-color: var(--primary);
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.15rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}

.ai-search-box #ask-ai-btn:hover {
    background-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(220, 38, 38, 0.4);
}

#ai-response-area {
    background-color: #eef2f6;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #d1d5db;
    margin-top: 1.5rem;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

#ai-loading-indicator {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

#ai-loading-indicator i {
    font-size: 1.25rem;
}

#ai-response-text {
    color: #1f2937;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: right;
}

/* Features Section - تم التحديث ليتوافق مع التصميم الرسمي */
.features {
    background-color: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-top: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-top: 3px solid var(--primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary);
    font-size: 1.75rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.feature-card p {
    font-size: 0.9rem;
}

/* Results Area */
.section.results {
    display: none;
}

.results-container {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin-top: 2rem;
}

.result-title {
    text-align: center;
    font-size: 1.75rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.result-card {
    background: #f9fafb;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary);
}

.result-card h3 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Floating Buttons - تم التحديث ليتوافق مع التصميم الرسمي */
.floating-btns {
    position: fixed;
    bottom: 1.875rem;
    left: 1.875rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0.9375rem;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    transition: var(--transition);
    text-decoration: none;
}

.floating-btn:hover {
    transform: translateY(-5px);
}

.floating-btn.whatsapp {
    background: #25D366;
}

.floating-btn.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.floating-btn.phone {
    background: var(--secondary);
}

/* PDF Container */
.pdf-container {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 800px;
    margin: 0 auto;
}

.pdf-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 1rem;
}

.pdf-header img {
    height: 80px;
    margin-bottom: 1rem;
}

.pdf-title {
    font-size: 1.75rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.pdf-subtitle {
    color: var(--primary);
    font-weight: 600;
}

.pdf-content {
    margin-bottom: 2rem;
}

.pdf-section {
    margin-bottom: 1.5rem;
}

.pdf-section h3 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.pdf-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Footer - تم التحديث ليتوافق مع التصميم الرسمي */
footer {
    background: #111;
    color: #aaa;
    padding-top: 4.375rem;
    padding-bottom: 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3.125rem;
}

.footer-column h3 {
    color: var(--light);
    font-size: 1.375rem;
    margin-bottom: 1.5625rem;
    position: relative;
    padding-bottom: 0.625rem;
    font-weight: 700;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.footer-contact p {
    margin-bottom: 0.9375rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--primary);
    margin-left: 0.625rem;
    margin-top: 0.3125rem;
}

.footer-links a {
    display: block;
    color: #aaa;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-right: 0.3125rem;
}

.social-links {
    display: flex;
    gap: 0.9375rem;
    margin-top: 1.25rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #222;
    border-radius: 50%;
    color: var(--light);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-top: 1.25rem;
}

.payment-methods div {
    background: #222;
    padding: 0.5rem 0.9375rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
}

.accreditation-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.accreditation-badge i {
    font-size: 2rem;
    color: var(--primary);
}

.accreditation-badge span {
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 1.25rem 0;
    text-align: center;
    font-size: 0.875rem;
}

/* Test Modal - تم التحديث ليتوافق مع التصميم الرسمي */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.test-modal {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(50px);
    transition: transform 0.4s ease;
}

.modal-overlay.active .test-modal {
    transform: translateY(0);
}

.modal-header {
    padding: 1.5rem;
    background: linear-gradient(90deg, #dc2626, #ef4444);
    color: white;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-modal:hover {
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
}

.name-input-container {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.name-input-container label {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.name-input {
    width: 100%;
    padding: 0.75rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    text-align: center;
}

.name-input:focus {
    outline: none;
    border-color: var(--primary);
}

.partner-type-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.partner-type {
    padding: 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.partner-type.selected {
    border-color: var(--primary);
    background-color: #fef2f2;
    transform: translateY(-5px);
}

.partner-type i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.partner-type h4 {
    margin: 0;
    color: var(--secondary);
}

/* MBTI Test Styles - تم التحديث ليتوافق مع التصميم الرسمي */
.test-container {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.question-number {
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.progress-container {
    flex-grow: 1;
    margin: 0 20px;
}

.progress-bar {
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    transition: width 0.5s ease;
}

.question-text {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--dark);
}

.options-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.option {
    background: #f8fafc;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.option:hover {
    border-color: var(--primary);
    background: rgba(220, 38, 38, 0.05);
}

.option.selected {
    border-color: var(--primary);
    background: rgba(220, 38, 38, 0.1);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.option.selected::after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 10px;
    left: 10px;
    color: #16a34a;
    background: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.option-text {
    font-size: 1.1rem;
    margin-right: 30px;
}

.option-type {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #0ea5e9;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.personality-badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 10px 25px rgba(78, 84, 200, 0.4);
}

.personality-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.personality-description {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.8;
}

.traits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.trait-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.trait-title {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--primary);
    justify-content: center;
}

.trait-title i {
    margin-left: 10px;
    font-size: 1.5rem;
}

.trait-list {
    list-style-type: none;
    text-align: right;
    padding: 0 15px;
}

.trait-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #e9ecef;
}

.trait-list li:last-child {
    border-bottom: none;
}

.disclaimer {
    background: #fff8e1;
    border-left: 4px solid #fbbf24;
    padding: 15px;
    border-radius: 4px;
    margin-top: 30px;
    text-align: right;
    font-size: 0.95rem;
}

.dimension-scores {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.dimension {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.dimension-title {
    color: var(--primary);
    margin-bottom: 15px;
    text-align: center;
}

.dimension-bars {
    display: flex;
    height: 30px;
    background: #e9ecef;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.dimension-bar {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
}

.dimension-label {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.restart-btn {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* DISC Styles */
.dominance-badge, .influence-badge,
.steadiness-badge, .conscientious-badge {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.dominance-badge {
    background: #E74C3C;
}

.influence-badge {
    background: #F1C40F;
}

.steadiness-badge {
    background: #2ECC71;
}

.conscientious-badge {
    background: #3498DB;
}

.profile-header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.chart-container {
    width: 100%;
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.chart-title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark);
    font-size: 1.5rem;
}

.chart {
    display: flex;
    height: 300px;
    align-items: flex-end;
    justify-content: space-around;
    padding: 0 20px;
}

.chart-bar {
    width: 60px;
    position: relative;
    text-align: center;
}

.chart-bar-value {
    position: absolute;
    top: -25px;
    left: 0;
    right: 0;
    font-weight: bold;
    color: var(--dark);
}

.chart-bar-label {
    margin-top: 10px;
    font-weight: bold;
}

.profile-combination {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    margin: 30px 0;
    box-shadow: var(--box-shadow);
    border-left: 5px solid #F1C40F;
}

.combination-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #E74C3C, #F1C40F, #2ECC71, #3498DB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.combination-description {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: right;
}

.trait-card-d {
    border-top: 5px solid #E74C3C;
}

.trait-card-i {
    border-top: 5px solid #F1C40F;
}

.trait-card-s {
    border-top: 5px solid #2ECC71;
}

.trait-card-c {
    border-top: 5px solid #3498DB;
}

/* Partner Test Styles */
.communication-badge, .trust-badge,
.respect-badge, .support-badge {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.communication-badge {
    background: var(--communication);
}

.trust-badge {
    background: var(--trust);
}

.respect-badge {
    background: var(--respect);
}

.support-badge {
    background: var(--support);
}

.relationship-status {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    padding: 20px;
    border-radius: var(--border-radius);
    background: white;
    box-shadow: var(--box-shadow);
}

.status-meter {
    width: 100%;
    max-width: 500px;
    height: 40px;
    background: #e9ecef;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.status-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--trust), #27ae60);
    width: 0%;
    transition: width 1s ease;
}

.status-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    color: var(--dark);
}

.status-description {
    margin-top: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.recommendation {
    background: #e3f2fd;
    border-left: 4px solid var(--communication);
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: right;
}

.recommendation-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--communication);
}

.recommendation-list {
    padding-right: 20px;
    line-height: 1.8;
}

.recommendation-list li {
    margin-bottom: 10px;
}

.trait-card-communication {
    border-top: 5px solid var(--communication);
}

.trait-card-trust {
    border-top: 5px solid var(--trust);
}

.trait-card-respect {
    border-top: 5px solid var(--respect);
}

.trait-card-support {
    border-top: 5px solid var(--support);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* New Floating Button - تم التحديث ليتوافق مع التصميم الرسمي */
.become-trainer-btn {
    position: fixed;
    bottom: 1.875rem;
    right: 1.875rem;
    z-index: 999;
    background: linear-gradient(135deg, #dc2626, #1f2937);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.become-trainer-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Chatbot Styles - تم التحديث ليتوافق مع التصميم الرسمي */
.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chatbot-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #dc2626;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
}

.chatbot-button:hover {
    transform: scale(1.1);
    background-color: #b91c1c;
}

.chatbot-window {
    display: none;
    width: 350px;
    height: 450px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    flex-direction: column;
    overflow: hidden;
}

.chatbot-container.active .chatbot-window {
    display: flex;
}

.chat-header {
    background: #dc2626;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    position: relative;
}

.bot-message {
    background: #f1f1f1;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.user-message {
    background: #dc2626;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid #ddd;
}

.chat-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    outline: none;
    font-family: 'Cairo', sans-serif;
}

.chat-input button {
    margin-right: 10px;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-time {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 3px;
    text-align: right;
}

/* Responsive Design - تم التحديث ليتوافق مع التصميم الرسمي */
@media (max-width: 992px) {
    .section {
        padding: 3.75rem 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .header-actions .btn {
        display: none;
    }

    .hero-btns .btn {
        width: 100%;
        margin-bottom: 0.625rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }

    .section-title h2 {
        font-size: 1.75rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .dimension-scores {
        grid-template-columns: 1fr;
    }

    .personality-badge {
        width: 150px;
        height: 150px;
        font-size: 2rem;
    }

    .options-container {
        grid-template-columns: 1fr;
    }

    .partner-type-selector {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .logo h1 {
        font-size: 1.25rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .floating-btns {
        bottom: 1.25rem;
        left: 1.25rem;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .chatbot-window {
        width: 90vw;
        height: 70vh;
        bottom: 80px;
        right: 5vw;
    }
}