
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Heebo', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
    direction: rtl;
}

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

/* Header and Navigation */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.logo h2 {
    color: #2b6cb0;
    font-weight: 600;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
    color: #2b6cb0;
    background-color: #e6f3ff;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #2b6cb0;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Main Content */
.main-content {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

.page {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.page.active {
    display: block;
}

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

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 80vh;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #e6f3ff 0%, #e8f5e8 100%);
    overflow: hidden;
}

.hero-content {
    padding-left: 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #2b6cb0 0%, #2c7a7b 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(43, 108, 176, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(43, 108, 176, 0.4);
}

.btn-secondary {
    background-color: white;
    color: #2b6cb0;
    border: 2px solid #e6f3ff;
}

.btn-secondary:hover {
    background-color: #e6f3ff;
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-image-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.hero-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: 50px;
    left: 50px;
    z-index: 2;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 4px solid white;
}

.geometric-pattern {
    position: relative;
    width: 300px;
    height: 300px;
}

.shape {
    position: absolute;
    border-radius: 20px;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #bee3f8 0%, #90cdf4 100%);
    top: 0;
    right: 0;
    animation-delay: 0s;
}

.shape-2 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #c6f6d5 0%, #9ae6b4 100%);
    bottom: 50px;
    left: 50px;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fbb6ce 0%, #f687b3 100%);
    top: 100px;
    left: 0;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Services Preview */
.services-preview {
    padding: 5rem 0;
    background-color: #f7fafc;
}

.services-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #2b6cb0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    color: #1a365d;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    color: #4a5568;
    line-height: 1.7;
}

/* Contact Page */
.contact-content {
    display: flex;
    justify-content: center;
    padding: 4rem 0;
    align-items: start;
}

.contact-info h1 {
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-info > p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 3rem;
    text-align: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 500px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #e6f3ff 0%, #e8f5e8 100%);
    border-radius: 12px;
}

.contact-icon {
    font-size: 2rem;
}

.contact-item h3 {
    color: #1a365d;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #2b6cb0;
    font-weight: 500;
    font-size: 1.1rem;
}

/* Articles Page */
.articles-section,
.clients-section {
    margin-bottom: 4rem;
}

.articles-section h2,
.clients-section h2 {
    font-size: 2rem;
    color: #1a365d;
    margin-bottom: 2rem;
    text-align: center;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.article-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-right: 4px solid #2c7a7b;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.article-card h3 {
    color: #1a365d;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-card p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-date {
    color: #2c7a7b;
    font-weight: 500;
    font-size: 0.9rem;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.client-card {
    background: linear-gradient(135deg, #e6f3ff 0%, #e8f5e8 100%);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.client-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.client-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.client-card h3 {
    color: #1a365d;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.client-card p {
    color: #4a5568;
    font-size: 0.9rem;
}

.client-card.more-clients {
    background: linear-gradient(135deg, #fef5e7 0%, #fed7aa 100%);
    border: 2px dashed #d69e2e;
}

.client-card.architecths {
    background: linear-gradient(135deg, #a6ece6 0%, #3dbde7 100%);
}

/* Survey Page */
.survey-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.survey-container h1 {
    text-align: center;
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 1rem;
}

.survey-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 3rem;
}

.question-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    display: none;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
}

.question-card.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.question-card h3 {
    color: #1a365d;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    padding: 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.radio-option:hover,
.checkbox-option:hover {
    background-color: #f7fafc;
}

.radio-custom,
.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e0;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-custom {
    border-radius: 4px;
}

input[type="radio"]:checked + .radio-custom,
input[type="checkbox"]:checked + .checkbox-custom {
    border-color: #2b6cb0;
    background-color: #2b6cb0;
}

input[type="radio"]:checked + .radio-custom::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

input[type="radio"],
input[type="checkbox"] {
    display: none;
}

.next-question:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
}

.whatsapp-btn:hover {
    background-color: #1ebe5d;
}

.survey-result {
    background: linear-gradient(135deg, #e6f3ff 0%, #e8f5e8 100%);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    margin-top: 2rem;
}

.result-content h2 {
    color: #1a365d;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.result-text {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.result-contact {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.result-contact .contact-item {
    background: white;
    margin: 0;
}

/* Footer */
.footer {
    background-color: #1a365d;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero-content {
        padding-left: 0;
        order: 2;
    }

    .hero-visual {
        order: 1;
        margin-bottom: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid,
    .articles-grid,
    .clients-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 15px;
    }

    .hero-image-container {
        width: 200px;
        height: 200px;
    }

    .hero-image {
        width: 150px;
        height: 150px;
        top: 25px;
        left: 25px;
    }

    .geometric-pattern {
        width: 200px;
        height: 200px;
    }

    .shape-1 {
        width: 80px;
        height: 80px;
    }

    .shape-2 {
        width: 70px;
        height: 70px;
    }

    .shape-3 {
        width: 60px;
        height: 60px;
    }

    .result-contact {
        flex-direction: column;
        align-items: center;
    }
}

/* Smooth Transitions */
* {
    scroll-behavior: smooth;
}

.page {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.page.active {
    opacity: 1;
}

/* Ripple Effect */
.btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}
