/* ===== CSS Variables ===== */
:root {
    --orange: #f6ad55;
    --orange-dark: #dd6b20;
    --orange-light: #fbd38d;
    --blue-deep: #1a365d;
    --blue-medium: #2c5282;
    --purple: #6b46c1;
    --purple-light: #9f7aea;
    --gray-dark: #2d3748;
    --gray: #4a5568;
    --gray-light: #718096;
    --gray-lighter: #a0aec0;
    --white: #ffffff;
    --bg-light: #f7fafc;
    --bg-gray: #edf2f7;

    --gradient-primary: linear-gradient(135deg, var(--blue-deep) 0%, var(--purple) 100%);
    --gradient-accent: linear-gradient(135deg, var(--orange) 0%, var(--purple) 100%);

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;

    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Heebo', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-dark);
    background: var(--white);
    direction: rtl;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--blue-deep);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
    color: var(--gray);
}

/* ===== Layout ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-light {
    background: var(--bg-light);
}

.section-white {
    background: var(--white);
}

.section-gradient {
    background: var(--gradient-primary);
}

.section-title {
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 50px;
}

.text-white { color: var(--white); }
.text-white-muted { color: rgba(255,255,255,0.8); }

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-dark);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: var(--transition);
}

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

.nav-cta {
    background: var(--orange);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: var(--radius-full);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gray-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.85) 0%, rgba(107, 70, 193, 0.85) 100%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/><circle cx="50" cy="50" r="20" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
    background-size: 200px;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.hero-logo {
    width: 150px;
    height: auto;
    margin-bottom: 30px;
    animation: gentlePulse 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

@keyframes gentlePulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
    }
    50% {
        transform: scale(1.03);
        filter: drop-shadow(0 15px 40px rgba(0,0,0,0.4));
    }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 300;
    color: var(--orange-light);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.tag {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { top: 8px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-icon {
    width: 22px;
    height: 22px;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(246, 173, 85, 0.4);
}

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(246, 173, 85, 0.5);
}

.btn-white {
    background: var(--white);
    color: var(--blue-deep);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--blue-deep);
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.2rem;
}

/* ===== Cards ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    color: var(--orange);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--blue-deep);
}

.card p {
    color: var(--gray);
    line-height: 1.7;
}

.card-problem {
    border-top: 4px solid var(--orange);
}

.card-solution {
    text-align: center;
}

.card-icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.card-icon-circle svg {
    width: 40px;
    height: 40px;
}

.card-highlight {
    background: var(--gradient-accent);
}

.card-highlight h3,
.card-highlight p {
    color: var(--white);
}

.card-highlight .card-icon-circle {
    background: rgba(255,255,255,0.2);
}

.solution-result {
    text-align: center;
    margin-top: 50px;
    padding: 25px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
}

.solution-result p {
    font-size: 1.25rem;
    color: var(--white);
}

.solution-result strong {
    color: var(--orange-light);
}

/* ===== Audience Section ===== */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}

.audience-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.audience-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.audience-card h4 {
    color: var(--blue-deep);
    margin-bottom: 8px;
}

.audience-card p {
    font-size: 0.9rem;
    color: var(--gray-light);
}

/* ===== Values Section ===== */
.values-container {
    text-align: center;
}

.value-core {
    margin-bottom: 50px;
}

.value-core-circle {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(246, 173, 85, 0.4);
}

.value-core p {
    font-size: 1.1rem;
    font-style: italic;
    max-width: 500px;
    margin: 0 auto;
}

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

.value-item {
    padding: 25px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.value-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.value-item h4 {
    color: var(--purple);
    margin-bottom: 10px;
}

.value-item p {
    font-size: 0.9rem;
}

/* ===== Services Section ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: var(--gradient-accent);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
}

.service-formats {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.service-formats span {
    background: var(--bg-gray);
    color: var(--gray);
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
}

.service-card-highlight {
    background: var(--gradient-primary);
}

.service-card-highlight::before {
    background: var(--orange);
}

.service-card-highlight h3,
.service-card-highlight p {
    color: var(--white);
}

.service-card-highlight .service-formats span {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

/* ===== Why Section ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.why-item:hover {
    background: rgba(255,255,255,0.15);
}

.why-check {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.why-item h4 {
    color: var(--white);
    margin-bottom: 8px;
}

.why-item p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

/* ===== Testimonials Section ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 4rem;
    color: var(--orange-light);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.5;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    margin-bottom: 25px;
}

.testimonial-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.testimonial-author strong {
    display: block;
    color: var(--blue-deep);
    font-size: 1rem;
}

.testimonial-author span {
    color: var(--gray-light);
    font-size: 0.9rem;
}

/* ===== CTA Section ===== */
.section-cta {
    background: var(--gradient-primary);
    text-align: center;
    padding: 100px 0;
}

.cta-logo {
    width: 100px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-title {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}

.contact-link:hover {
    color: var(--white);
}

.contact-link svg {
    width: 20px;
    height: 20px;
}

/* ===== Contact Form ===== */
.contact-form-container {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin: 50px auto;
    max-width: 600px;
}

.contact-form-title {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    width: 100%;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.95);
    font-family: 'Heebo', sans-serif;
    font-size: 1rem;
    color: var(--gray-dark);
    transition: var(--transition);
    direction: rtl;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(246, 173, 85, 0.2);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a5568' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form button[type="submit"] {
    align-self: center;
    min-width: 200px;
}

/* ===== Footer ===== */
.footer {
    background: var(--blue-deep);
    color: var(--white);
    padding: 50px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    width: 60px;
    margin-bottom: 10px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--orange);
    transform: translateY(-3px);
}

.social-link svg {
    width: 22px;
    height: 22px;
    fill: var(--white);
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        gap: 20px;
        transition: var(--transition);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .section {
        padding: 60px 0;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-logo {
        width: 100px;
    }

    .hero-tags {
        gap: 10px;
    }

    .tag {
        padding: 6px 15px;
        font-size: 0.8rem;
    }

    .btn-large {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 25px;
        margin: 30px auto;
    }
}

@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .value-core-circle {
        width: 120px;
        height: 120px;
        font-size: 1.5rem;
    }
}
