/* Business Services Page Styles */

/* Hero Section */
.business-hero {
    min-height: 75vh;
    background: linear-gradient(135deg, rgba(0, 42, 91, 0.64), rgba(197, 161, 78, 0.32));
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
}

.business-hero .hero-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.business-hero .hero-subtitle {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Services Grid */
.services-grid {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    scroll-margin-top: 90px;
}

.services-grid .section-title {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.services-grid .lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Service Item */
.service-item {
    background: var(--white);
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 2rem;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(197, 161, 78, 0.3);
}

.service-item h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    min-height: 3.2rem;
    line-height: 1.35;
}

.service-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
    min-height: 4.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Service Features */
.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 2rem;
    align-content: flex-start;
    min-height: 64px;
}

.feature-tag {
    background: var(--background-color);
    color: var(--text-primary);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.service-item:hover .feature-tag {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Service Actions */
.service-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px dashed #e3e8ef;
}

.service-actions .btn {
    flex: 1;
    width: 100%;
    min-height: 46px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-actions .btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.service-actions .btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.service-actions .btn:focus-visible {
    outline: 3px solid rgba(197, 161, 78, 0.35);
    outline-offset: 2px;
}

/* Why Choose Business */
.why-choose-business {
    background: var(--background-color);
}

.feature-box {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: 100%;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.feature-box h4 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-box p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Modal Styles */
.modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.modal-header {
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    border-bottom: none;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-title {
    font-weight: 600;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1.5rem 2rem;
}

/* Form Styles */
.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(197, 161, 78, 0.25);
}

/* Alert Messages */
.alert-custom {
    border-radius: var(--border-radius);
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Item Hover Effects */
.service-item {
    position: relative;
    overflow: hidden;
}

.service-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(197, 161, 78, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-item:hover::after {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .business-hero .hero-title {
        font-size: 2.2rem;
        padding: 0 1rem;
    }
    
    .business-hero .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .services-grid .section-title {
        font-size: 2rem;
    }
    
    .service-item {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .service-item h3 {
        min-height: auto;
    }

    .service-item p {
        min-height: auto;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .service-item h3 {
        font-size: 1.2rem;
    }
    
    .service-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .feature-box {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .business-hero .hero-title {
        font-size: 1.8rem;
    }
    
    .service-item {
        padding: 1rem;
    }
    
    .service-features {
        justify-content: center;
    }
    
    .feature-tag {
        font-size: 0.8rem;
        padding: 3px 8px;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-footer {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}

/* Print Styles */
@media print {
    .floating-buttons,
    .ai-chat-modal,
    .modal,
    .service-actions {
        display: none !important;
    }
    
    .service-item {
        break-inside: avoid;
        margin-bottom: 2rem;
        border: 1px solid #ddd;
    }
    
    .service-item:hover {
        transform: none;
        box-shadow: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .service-item {
        border-width: 3px;
    }
    
    .feature-tag {
        border-width: 2px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .service-item,
    .feature-box,
    .service-icon,
    .btn {
        transition: none;
    }
    
    .service-item:hover::after {
        display: none;
    }
}
