/* Hero Section */
.order-hero {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%); /* Use gradient variables */
    color: var(--white);
    padding: 8rem 0 4rem;
    text-align: center;
}

.order-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.order-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.order-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Order Steps Section */
.steps-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.step-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-item::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 80px;
    bottom: -80px;
    width: 2px;
    background-color: var(--secondary-color); /* Use secondary color for timeline */
}

.step-item:last-child::before {
    display: none;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    border: 3px solid var(--white); /* Add border for contrast */
    font-weight: bold;
    flex-shrink: 0;
    border: 3px solid var(--white); /* Add border for contrast */
    box-shadow: 0 0 0 3px var(--primary-color); /* Outer ring */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add transition */
}

.step-item:hover .step-number { /* Add hover effect */
    transform: scale(1.1);
    box-shadow: 0 0 0 5px var(--secondary-color);
}


.step-content {
    flex: 1;
}

.step-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Contact Methods */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: var(--text-dark);
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 32px; /* Match image size from HTML */
    height: 32px; /* Match image size from HTML */
    object-fit: contain; /* Ensure doodle fits */
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.contact-method:hover .contact-icon {
    transform: scale(1.1); /* Add slight hover effect */
}

/* Requirements List */
.requirements-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.requirement-item {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.requirement-icon {
    width: 40px; /* Match image size from HTML */
    height: 40px; /* Match image size from HTML */
    object-fit: contain; /* Ensure doodle fits */
    margin: 0 auto 1rem;
}

/* Process Details */
.process-details {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.process-details ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.process-details li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.process-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color); /* Use Orange for checkmarks */
}

/* Delivery Features */
.delivery-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.feature-icon {
    width: 40px; /* Match image size from HTML */
    height: 40px; /* Match image size from HTML */
    object-fit: contain; /* Ensure doodle fits */
    margin: 0 auto 1rem;
}

/* Price Calculator Section */
.calculator-section {
    background-color: var(--background-light);
}

.calculator-wrapper {
    background-color: var(--white);
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.calc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    grid-column: 1 / -1;
}

.data-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.loading-icon {
    animation: spin 1s linear infinite;
}

.status-text {
    opacity: 0.8;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    background-color: var(--white);
}

.page-counter {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.counter-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    background-color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.counter-btn:hover {
    background-color: var(--background-light);
}

.page-counter input {
    width: 4rem;
    text-align: center;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
}

.price-summary {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.summary-item.total {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: 1rem;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--primary-color);
}

/* Order Tracking Section */
.tracking-section {
    background-color: var(--white);
}

.tracking-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.tracking-steps::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    left: 3rem;
    right: 3rem;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.tracking-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
    padding: 0 1rem;
}

.step-icon {
    width: 5rem;
    height: 5rem;
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    /* Ensure img within step-icon is styled */
    display: flex; /* Use flex to center image if needed */
    align-items: center;
    justify-content: center;
}

.step-icon img {
    width: 60%; /* Adjust image size within the circle */
    height: 60%;
    object-fit: contain;
}


.tracking-step.active .step-icon {
    border-color: var(--accent-color); /* Use Orange for active step */
    background-color: var(--accent-color); /* Use Orange for active step */
}

/* Ensure active step icon's image is visible if needed */
.tracking-step.active .step-icon img {
     /* Example: filter: brightness(0) invert(1); if icons are dark */
}

.tracking-step h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.tracking-step p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.tracking-details {
    background-color: var(--background-light);
    border-radius: 0.5rem;
    padding: 2rem;
    margin-top: 2rem;
}

.update-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.update-features li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.update-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color); /* Use Orange for checkmarks */
}

/* Live Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 350px;
    background-color: var(--white);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow: hidden;
}

.chat-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-toggle {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
}

.chat-body {
    height: 400px;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.message {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.message-content {
    background-color: var(--background-light);
    padding: 0.75rem;
    border-radius: 0.5rem;
    max-width: 80%;
}

.time {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.25rem;
}

.chat-input {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

.chat-input input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
}

.send-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 0.375rem;
    background-color: var(--primary-color);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Add animations */
.step-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.step-item:nth-child(1) { animation-delay: 0.1s; }
.step-item:nth-child(2) { animation-delay: 0.2s; }
.step-item:nth-child(3) { animation-delay: 0.3s; }
.step-item:nth-child(4) { animation-delay: 0.4s; }

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

/* Requirements Guide Section */
.requirements-guide {
    background-color: var(--background-light);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.requirement-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center; /* Center content */
}

.requirement-card-icon {
    width: 40px; /* Match image size from HTML */
    height: 40px; /* Match image size from HTML */
    object-fit: contain; /* Ensure doodle fits */
    margin: 0 auto 1rem; /* Center icon */
}


.requirement-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.requirement-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-card li {
    margin-bottom: 0.75rem;
    padding-left: 1.25rem;
    position: relative;
}

.requirement-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color); /* Keep blue for these markers */
}

/* Add CTA Section Style */
.cta-section { /* Added based on HTML structure */
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}
.cta-content h2 { /* Added based on HTML structure */
     margin-bottom: 1rem;
     color: var(--white); /* Ensure text is white on gradient */
}
.cta-content p { /* Added based on HTML structure */
     margin-bottom: 2rem;
     color: rgba(255, 255, 255, 0.9); /* Ensure text is light on gradient */
}
.cta-buttons { /* Added based on HTML structure */
    display: flex;
    justify-content: center;
    gap: 1rem;
}


/* Remove Bootstrap Icon specific styles if no longer used */
/*
.contact-icon i.bi,
.requirement-icon i.bi,
.feature-icon i.bi {
    font-size: 2rem;
    color: var(--primary-color);
    width: auto;
    height: auto;
    background: none;
}
*/

/* Responsive Styles */
@media (max-width: 768px) {
    .order-hero {
        padding: 6rem 0 3rem;
    }

    .order-hero h1 {
        font-size: 2.5rem;
    }

    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .step-item::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-methods,
    .requirements-list,
    .delivery-features,
    .requirements-grid {
        grid-template-columns: 1fr;
    }

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

    .calc-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .data-status {
        justify-content: center;
    }

    .calculator-wrapper {
        padding: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .contact-methods,
    .requirements-list,
    .delivery-features {
        grid-template-columns: repeat(2, 1fr);
    }

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