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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #faf9f7;
}

/* Top Header Styles */
.top-header {
    background: white;
    border-bottom: 1px solid #e9ecef;
    padding: 0.3rem 0;
    position: relative;
    z-index: 1000;
}

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

.top-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 110px;
    height: 55px;
    object-fit: contain;
}

.top-logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1f905d;
    letter-spacing: 1px;
}

/* Hero Header Styles */
.hero-header {
    background: linear-gradient(135deg, #1f905d 0%, #1E905D 100%);
    color: white;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/static/img/bg.svg');
    background-size: 150px 150px;
    background-repeat: repeat;
    opacity: 0.5;
}

.hero-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero-main {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.hero-cta-button {
    background: rgb(255, 87, 34);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: rgba(255, 87, 34, 0.3) 0px 4px 15px;
    transition: all 0.3s ease;
    border-radius: 12px;
    text-decoration: none;
}

.hero-cta-button:hover {
    background: rgb(200, 60, 20);
    box-shadow: rgba(200, 60, 20, 0.4) 0px 6px 20px;
}

.hero-cta-button:active {
    background: rgb(180, 50, 15);
    transform: scale(0.98);
}

.hero-secondary-button {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-secondary-button:hover {
    background: white;
    color: #1f905d;
}

/* Main Content Layout */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.content-wrapper {
    display: flex;
    gap: 2rem;
}

.left-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.right-sidebar {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Section Styles */
.section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    /* box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08); */
    border: 1px solid #D8DADD;
}

.section-title {
    /* color: #1f905d; */
    color: #4d4d4d;
    font-size: 1.5rem;
    font-weight: 400;
    text-align: left;
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: rgb(255, 87, 34);
    border-radius: 2px;
}

/* How to Order Section */
.steps-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.step-card {
    flex: 1;
    text-align: center;
    padding: 1.5rem;
    background: #faf9f7;
    border-radius: 15px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: #1f905d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
}

.step-card h3 {
    color: #1f905d;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.step-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Service Types Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.service-card {
    background: #faf9f7;
    border-radius: 10px;
    padding: 0.5rem;
    text-align: center;
    cursor: pointer;
    border: 1px solid #e9ecef;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card a {
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.service-card span {
    font-size: 0.8rem;
    color: #1f905d;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Client Reviews Section */
.reviews-container {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.review-card {
    flex: 1;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    border: 1px solid #e9ecef;
}

.review-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.review-header h4 {
    color: #333;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating i {
    color: #ffc107;
    font-size: 1.2rem;
}

.rating-number {
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
}

.review-date {
    font-size: 0.9rem;
    color: #666;
}

.review-text {
    color: #333;
    line-height: 1.5;
    margin: 0;
}

.reviews-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: #e9ecef;
    color: #333;
}

.nav-btn:active {
    transform: scale(0.95);
}

/* Courier Ads Section */
.ads-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ad-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #faf9f7;
    border-radius: 10px;
    align-items: center;
}

.ad-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.ad-content {
    flex: 1;
}

.ad-content h4 {
    color: #1f905d;
    margin-bottom: 0.25rem;
}

.ad-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.ad-price {
    background-color: #1f905d;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.order-btn {
    background-color: #1f905d;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
}

.order-btn:hover {
    background-color: #1E905D;
}

/* About Us Section */
.about-content h3 {
    color: #1f905d;
    margin: 1.5rem 0 1rem;
    font-size: 1.3rem;
}

.about-content p,
.about-content li {
    margin-bottom: 0.5rem;
    color: #666;
}

.about-content ul,
.about-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.price-table th,
.price-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.price-table th {
    background-color: #faf9f7;
    color: #1f905d;
    font-weight: bold;
}

/* FAQ Section */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #faf9f7;
    cursor: pointer;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question h3 {
    color: #1f905d;
    font-size: 1.1rem;
    margin: 0;
}

.faq-question i {
    color: #1f905d;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 1rem;
    background: white;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    color: #666;
    margin: 0;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1f905d;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.submit-btn {
    background: linear-gradient(135deg, rgb(255, 87, 34) 0%, rgb(238, 79, 48) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}

.submit-btn:hover {
    background: linear-gradient(135deg, rgb(238, 79, 48) 0%, rgb(255, 87, 34) 100%);
}

/* Sidebar Styles */
.sidebar-block {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    /* box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08); */
    border: 1px solid #D8DADD;
}

.sidebar-block h3 {
    /* color: #1f905d; */
    color: #4d4d4d; 
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: left;
    font-weight: 400;
    position: relative;
}

.sidebar-block h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #e9ecef;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: rgb(255, 87, 34);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    color: #1f905d;
    text-decoration: none;
}

.category-list a:hover {
    color: rgb(255, 87, 34);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon.facebook {
    background-color: #1877f2;
}

.social-icon.twitter {
    background-color: #1da1f2;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1f905d 0%, #1E905D 100%);
    color: white;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
    display: flex;
    gap: 2rem;
}

.footer-left {
    flex: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-slogan {
    font-size: 1.1rem;
    opacity: 0.9;
}

.footer-center {
    flex: 2;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #72c39f;
    text-decoration: none;
}

.footer-column a:hover {
    color: white;
}

.footer-right {
    flex: 1;
    text-align: left;
}

.contact-info h4 {
    margin-bottom: 1rem;
    color: white;
}

.contact-info p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info a {
    text-decoration: none;
    color: inherit;
}

.contact-info a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .right-sidebar {
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .reviews-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta-button,
    .hero-secondary-button {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .header-content {
        padding: 0 1rem;
    }
    
    .main-content {
        padding: 0.5rem;
    }
    
    .section {
        padding: 1rem;
    }
}

/* Service Category Selection Section */
.category-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option:hover {
    background-color: #f8f9fa;
    border-color: #1f905d;
}

.radio-option.active {
    background-color: #f0f8f4;
    border-color: #1f905d;
    box-shadow: 0 2px 8px rgba(31, 144, 93, 0.1);
}

.radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #1f905d;
    cursor: pointer;
}

.radio-option label {
    font-size: 1rem;
    color: #333;
    cursor: pointer;
    flex: 1;
    margin: 0;
}

.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.form-actions .submit-btn {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

.form-actions .submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #ccc;
}

.form-actions .submit-btn:disabled:hover {
    background: #ccc;
    transform: none;
}

/* Order Details Form Styles */
.order-details-form {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 2rem;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
    color: #6c757d;
}

.breadcrumb span {
    color: #1f905d;
    font-weight: 500;
}

.breadcrumb span:last-child {
    color: #333;
    font-weight: 600;
}

.form-section {
    padding: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section .section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1f905d;
    box-shadow: 0 0 0 3px rgba(31, 144, 93, 0.1);
}

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

.form-actions-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.action-link {
    color: #1f905d;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.action-link:hover {
    color: #167a4d;
    text-decoration: underline;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.back-btn {
    padding: 0.75rem 2rem;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Responsive adjustments for order form */
@media (max-width: 768px) {
    .form-section {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .form-actions-horizontal {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .breadcrumb {
        padding: 1rem;
        font-size: 0.8rem;
    }
}

/* Time Options Styles */
.time-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.time-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-option:hover:not(.disabled) {
    background-color: #f8f9fa;
    border-color: #1f905d;
}

.time-option input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #1f905d;
    cursor: pointer;
}

.time-option label {
    font-size: 1rem;
    color: #333;
    cursor: pointer;
    flex: 1;
    margin: 0;
}

.time-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f8f9fa;
}

.time-option.disabled input[type="radio"] {
    cursor: not-allowed;
}

.time-option.disabled label {
    cursor: not-allowed;
    color: #6c757d;
}

/* Responsive time options */
@media (max-width: 768px) {
    .time-options {
        gap: 0.75rem;
    }
    
    .time-option {
        padding: 0.75rem;
    }
}

/* Selection hint styles */
.selection-hint {
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
    padding: 1rem;
}

/* Clickable breadcrumb styles */
.breadcrumb-link {
    cursor: pointer;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #167a4d !important;
    text-decoration: underline;
}

/* Checkbox styling */
.checkbox-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #1f905d;
    cursor: pointer;
}

.checkbox-option label {
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

/* Submit button disabled state */
.submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.submit-btn:disabled:hover {
    background-color: #ccc;
    transform: none;
}



/* Checkbox alignment fix */
.checkbox-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.checkbox-option input[type="checkbox"] {
    margin: 0;
    flex-shrink: 0;
}

.checkbox-option label {
    margin: 0;
    line-height: 1.4;
}

/* Notification popup styles */
.notification-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    min-width: 300px;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    font-family: inherit;
}

.notification-popup.show {
    transform: translateX(0);
}

.notification-popup.success {
    border-left: 4px solid #1f905d;
}

.notification-popup.error {
    border-left: 4px solid #dc3545;
}

.notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.notification-title {
    font-weight: 600;
    font-size: 16px;
    margin: 0;
}

.notification-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #6c757d;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.notification-close:hover {
    background-color: #f8f9fa;
    color: #495057;
}

.notification-message {
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.notification-popup.success .notification-title {
    color: #1f905d;
}

.notification-popup.error .notification-title {
    color: #dc3545;
}
