/* ==========================================
   Global Styles
   ========================================== */
:root {
    --primary-color: #6B46C1;
    --primary-dark: #5A3AA8;
    --text-dark: #1a1a1a;
    --text-gray: #6B7280;
    --bg-light: #F9FAFB;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ==========================================
   Navigation
   ========================================== */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.navbar-brand .logo {
    height: 40px;
    width: auto;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.3);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 100%);
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
}

.hero-title .highlight {
    background-image: url(/images/VectorUnderText.png);
    color: #000;
    padding: 0.2rem 1rem;
    border-radius: 8px;
    display: inline-block;
    position: relative;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.hero-buttons .btn {
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.hero-buttons .btn-outline-dark {
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
}

.hero-buttons .btn-outline-dark:hover {
    background-color: var(--text-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-primary {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.hero-buttons .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.4);
}

/* ==========================================
   Decorative Elements
   ========================================== */
.decorative-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0.6;
}

.shape-circle-1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #9F7AEA 0%, #6B46C1 100%);
    border-radius: 50%;
    top: 15%;
    left: 8%;
    animation: float 6s ease-in-out infinite;
}

.shape-circle-2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #C4B5FD 0%, #9F7AEA 100%);
    border-radius: 50%;
    bottom: 20%;
    right: 10%;
    animation: float 8s ease-in-out infinite reverse;
}

.shape-square-1 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #DDD6FE 0%, #C4B5FD 100%);
    border-radius: 20px;
    top: 60%;
    left: 5%;
    transform: rotate(15deg);
    animation: rotate 10s linear infinite;
}

.shape-square-2 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #9F7AEA 0%, #7C3AED 100%);
    border-radius: 12px;
    top: 25%;
    right: 15%;
    transform: rotate(-20deg);
    animation: rotate 12s linear infinite reverse;
}

.shape-bars {
    width: 80px;
    height: 80px;
    bottom: 15%;
    left: 15%;
    background: linear-gradient(90deg,
            var(--primary-color) 0%,
            var(--primary-color) 25%,
            transparent 25%,
            transparent 50%,
            var(--primary-color) 50%,
            var(--primary-color) 75%,
            transparent 75%);
    background-size: 20px 100%;
    opacity: 0.4;
    animation: float 7s ease-in-out infinite;
}

/* ==========================================
   Content Section
   ========================================== */
.content-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.content-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.content-text p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.content-text p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   Happiness & Form Section
   ========================================== */
.happiness-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.happiness-content {
    padding-right: 2rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.section-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}

.happiness-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.happiness-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: var(--text-dark);
}

.happiness-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.form-container {
    background-color: #FFFFFF;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.insights-form .form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.insights-form .form-control {
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.insights-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
}

.insights-form .btn-primary {
    background-color: var(--primary-color);
    border: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.insights-form .btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 70, 193, 0.3);
}

/* ==========================================
   Chart Section
   ========================================== */
.chart-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.chart-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.chart-subtitle {
    font-size: 0.9375rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.chart-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 100%);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.chart-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* ==========================================
   Purple Insights Section
   ========================================== */
.insights-section {
    padding: 0;
    overflow: hidden;
}

.insights-section .container {
    padding: 0;
    background-color: #4f378a;
    overflow: hidden;
    border-radius: 16px;
}

.insights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    min-height: 600px;
}

.insight-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.insight-chart {
    padding: 2rem;
}

.insight-content {
    color: #FFFFFF;
    font-size: 1.125rem;
    line-height: 1.7;
    margin: 0;
    max-width: 500px;
}

.insight-image {
    width: 100%;
    background-color: #FFFFFF;
    max-width: 450px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ==========================================
   Employee Needs Section
   ========================================== */
.needs-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.needs-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.3;
}

.needs-intro {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.needs-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.needs-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.needs-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-dark);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(to top, #c367a7 0%, #6B46C1D6 100%);
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
    margin-bottom: 2rem;
}

.cta-content {
    padding-left: 2rem;
}

.cta-text {
    font-size: 0.9375rem;
    color: #FFFFFF;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.btn-cta {
    background-color: #F5F3E8;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-cta::after {
    content: "→";
    font-size: 1.2rem;
}

.btn-cta:hover {
    background-color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   Animations
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .shape-circle-1,
    .shape-square-1 {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        justify-content: center;
    }
    .hero-section {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .decorative-elements .shape {
        opacity: 0.3;
    }

    .happiness-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    .chart-title {
        font-size: 1.5rem;
    }

    .chart-subtitle {
        font-size: 0.875rem;
    }

    .chart-container {
        padding: 1rem;
    }

    .insights-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        min-height: auto;
    }

    .insight-item {
        padding: 2rem 1.5rem;
        min-height: 250px;
    }

    .insight-content {
        font-size: 1rem;
    }

    .cta-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .cta-content {
        padding-left: 0;
        margin-top: 1.5rem;
    }

    .cta-text {
        font-size: 0.875rem;
    }
}


body[lang="ar"] [lang="en"] {
    display: none !important;
}

body[lang="en"] [lang="ar"] {
    display: none !important;
}

body[lang="ar"] .happiness-content {
    padding-right: 0;
    padding-left: 2rem;
}

body[lang="ar"] .cta-content {
    padding-left: 0;
    padding-right: 2rem;
}

body[lang="ar"] .happiness-list li,
body[lang="ar"] .needs-list li {
    padding-left: 0;
    padding-right: 1.75rem;
}

    body[lang="ar"] .happiness-list li::before,
    body[lang="ar"] .needs-list li::before {
        left: auto;
        right: 0;
    }
