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

:root {
    --primary: #104141;
    /* Deep Teal from image */
    --secondary: #D98324;
    /* Warm Orange from image */
    --accent: #E8B04D;
    /* Gold-ish accent */
    --bg-light: #F9F7F2;
    /* Creamy background */
    --text-dark: #1A1A1A;
    --text-light: #F9F7F2;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

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

:root {
    --primary: #2D5A5A;
    --secondary: #E67E22;
    --accent: #FFD27D;
    --dark: #1A1A1A;
    --light: #FDFBF7;
    --glass: rgba(255, 255, 255, 0.7);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Glassmorphism Navigation */
header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
}

.logo span {
    color: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section with Interactive Feel */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: radial-gradient(circle at 80% 20%, #eff6f6 0%, var(--light) 100%);
    position: relative;
    padding-top: 80px;
}

.hero-content {
    max-width: 650px;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--primary);
}

.hero p {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-graphic {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

/* Logic Widget Styled like Brilliant */
.logic-widget {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    width: 400px;
    border: 1px solid #eee;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.4s ease;
}

.logic-widget:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.widget-header {
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.widget-question {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.logic-option {
    display: block;
    width: 100%;
    padding: 1rem;
    margin-bottom: 0.8rem;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.2s;
}

.logic-option:hover {
    border-color: var(--primary);
    background: #f9fdfd;
}

.logic-option.correct {
    border-color: #27ae60;
    background: #eafaf1;
    color: #27ae60;
}

/* 3D Isometric Icon Styles */
.icon-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-3d {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover .icon-3d {
    transform: translateY(-10px) scale(1.1);
}

/* Journey Section Map */
.journey-map {
    position: relative;
    padding: 5rem 0;
    margin: 4rem 0;
}

.path-svg {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100px;
    fill: none;
    stroke: var(--primary);
    stroke-width: 4;
    stroke-dasharray: 10 10;
    opacity: 0.1;
    z-index: -1;
}

.journey-step {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid #eee;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.journey-step:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Animations Update */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons update */
.cta-button {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background-color: var(--secondary);
    color: white;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(230, 126, 34, 0.2);
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(230, 126, 34, 0.3);
    background-color: #d35400;
}

/* Responsive RTL tweaks */
[dir="rtl"] .hero h1 {
    font-size: 3.8rem;
}

[dir="rtl"] .logic-option {
    text-align: right;
}

@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        height: auto;
        padding: 120px 0 60px;
        text-align: center;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-content {
        margin-bottom: 4rem;
    }

    .hero-graphic {
        width: 100%;
        justify-content: center;
    }
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    text-align: left;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
    color: #666;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

.faq-item.active .faq-question span {
    transform: rotate(180deg);
}

/* Newsletter */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary), #0a2e2e);
    color: white;
    padding: 6rem 2rem;
    border-radius: 40px;
    margin: 4rem 2rem;
    text-align: center;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 2rem auto 0;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(5px);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Scroll Revel Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Commitment Grid */
.commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.commitment-item {
    text-align: center;
    padding: 2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    nav {
        display: none;
        /* Add hamburger menu later if needed */
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    section {
        padding: 5rem 1.5rem;
    }

    .cta-button.outline {
        margin-left: 0;
        margin-top: 1rem;
        display: block;
    }

    .newsletter-form {
        flex-direction: column;
    }
}
/* Language Switcher Float - Restored */
.lang-switcher {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: white;
    padding: 0.6rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    gap: 0.6rem;
    z-index: 2000;
    border: 1px solid #eee;
}

.lang-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #f5f5f5;
    color: #2D5A5A;
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-btn:hover {
    transform: scale(1.1);
    background: #e0e0e0;
}

.lang-btn.active {
    background: #2D5A5A;
    color: white;
    box-shadow: 0 4px 10px rgba(45, 90, 90, 0.3);
}

/* RTL Support for Switcher */
[dir="rtl"] .lang-switcher {
    right: auto;
    left: 2rem;
}

@media (max-width: 768px) {
    .lang-switcher {
        bottom: 1rem;
        right: 1rem;
        padding: 0.4rem;
        gap: 0.4rem;
    }
    .lang-btn {
        width: 36px;
        height: 36px;
        font-size: 0.7rem;
    }
}
