/* Modal Styles for Careers Page */
.popup-quote {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-container {
    background: white;
    max-width: 500px;
    width: 90%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10000;
}

.modal-header {
    padding: 20px;
    background: linear-gradient(135deg, #0f766e 0%, #0d5d56 100%);
    color: white;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    margin: 0;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    padding: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5eb;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #0f766e 0%, #0d5d56 100%);
    color: white;
    border: none;
    padding: 0px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-quote.open {
    display: flex;
    opacity: 1;
}

.modal-open {
    overflow: hidden;
}

.popup-quote__body {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    max-width: 800px;
    width: 95%;
    max-height: 95vh;
    overflow-y: auto;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: popupScale 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    transform: scale(0.8) translateY(20px);
    opacity: 0;
}

@keyframes popupScale {
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.popup-quote.open .popup-quote__body {
    transform: scale(1) translateY(0);
}

.popup-quote__body .btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    color: #333;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 15;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    font-size: 18px;
}

.popup-quote__body .btn-close:hover {
    background: #ffffff;
    color: #dc3545;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Wide Header Styles */
.popup-quote__header-wide {
    width: 100%;
    background: linear-gradient(135deg, #0f766e 0%, #0d5d56 100%);
    padding: 30px 35px;
    border-radius: 12px 12px 0 0;
    position: relative;
    margin: 0;
}

.popup-quote__header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 100%;
}

.popup-quote__header-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.popup-quote__header-text {
    flex: 1;
    min-width: 0;
}

.popup-quote__header-title {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.popup-quote__header-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    line-height: 1.4;
}

/* Content Styles */
.popup-quote__content {
    padding: 35px;
}

/* Form Styles - Matching Index Page */
.quote-form {
    margin: 0;
}

.form__group {
    /* margin-bottom: 18px; */
}

.form__label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.required {
    color: #dc3545;
}

.form__input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e1e5eb;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fff;
}

.form__input--select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e1e5eb;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 40px;
}

.form__input:focus {
    outline: none;
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.form__input--select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 40px;
}

.form__textarea {
    min-height: 120px;
    resize: vertical;
}

.radio-group {
    display: flex;
    gap: 25px;
    margin-top: 8px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
}

.radio-option input[type="radio"] {
    margin-right: 8px;
}

.form__error {
    display: block;
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    min-height: 18px;
}

/* Submit Button - Matching Index Page */
.form__group--submit {
    margin-top: 20px;
    text-align: center;
}

.btn-submit {
    background: linear-gradient(135deg, #0f766e 0%, #0d5d56 100%);
    color: white;
    border: none;
    padding: 16px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 118, 110, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-icon {
    font-size: 18px;
}

/* Service Card Styles */
.service-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.service-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
   
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

/* Service Card Title Styles */
.service-title {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 48px; /* Based on line-height and 2 lines */
    line-height: 24px;
}

.service-title a {
    color: inherit;
    text-decoration: none;
    font-size: 18px;
}

.service-title a:hover {
    color: #0f766e;
}

/* Service Description */
.service-description {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 48px; /* 1.6 line-height * 15px font-size * 2 lines ≈ 48px */
}

/* Product Image Slider Layout */
.product-slider-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.product-thumbnail-slider {
    width: 100px;
    flex-shrink: 0;
}

.product-main-slider {
    flex: 1;
    min-width: 0;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.thumb-item {
    cursor: pointer;
    margin-bottom: 10px;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: all 0.3s ease;
    overflow: hidden;
    height: 80px;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-item.slick-current {
    border-color: #0f766e;
}

.main-slider-item {
    height: auto;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.main-slider-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    padding: 10px;
}

.product-main-slider .slick-prev,
.product-main-slider .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(15, 118, 110, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex !important; /* Force display since Slick might hide them */
    align-items: center;
    justify-content: center;
}

.product-main-slider .slick-prev:hover,
.product-main-slider .slick-next:hover {
    background: rgba(15, 118, 110, 1);
}

.product-main-slider .slick-prev {
    left: 15px;
}

.product-main-slider .slick-next {
    right: 15px;
}

.product-main-slider .slick-prev i,
.product-main-slider .slick-next i {
    font-size: 18px;
    color: #fff;
}

@media (max-width: 991px) {
    .main-slider-item {
        height: 350px;
    }
}

@media (max-width: 767px) {
    .product-slider-container {
        flex-direction: column-reverse;
    }
      
    .product-thumbnail-slider {
        width: 100%;
    }
    .thumb-item {
        margin-bottom: 0;
        margin-right: 10px;
        height: 70px;
    }
    .main-slider-item {
        height: 300px;
    }
}

/* Product Action Box */
.product-action-box {
    margin-top: 20px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef !important;
    border-radius: 10px;
}

.product-action-box h5 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.product-action-box .btn-primary {
    background-color: #0f766e;
    border-color: #0f766e;
    /* padding: 12px 25px; */
    font-size: 16px;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.product-action-box .btn-primary:hover {
    background-color: #0d5a54;
    border-color: #0d5a54;
    transform: translateY(-2px);
}

/* Product Info */
.product-info-wrapper {
    padding-left: 20px;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.product-details-content {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.product-details-content table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
}

.product-details-content table td, 
.product-details-content table th {
    padding: 12px;
    border: 1px solid #eee;
}

.product-details-content table tr:nth-child(even) {
    background-color: #fafafa;
}

@media (max-width: 991px) {
    .product-info-wrapper {
        padding-left: 0;
        margin-top: 30px;
    }
    .product-title {
        font-size: 26px;
    }
}

/* Related Products Section */
.section-title h3.title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
    font-weight: 700;
}

.section-title h3.title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #0f766e;
}

/* Slider Overrides for new layout */

/* Service Buttons */
.service-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.service-buttons .btn {
    flex: 1;
    min-width: 120px;
}

/* Service Details Styles */
.service-details-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
}


.service-description p {
    
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.service-features h3,
.service-additional-content h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    color: #0f766e;
    font-size: 1.2rem;
    margin-top: 3px;
}

.feature-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Sidebar Styles */
.widget-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    padding-bottom: 15px;
    border-bottom: 2px solid #0f766e;
}

.related-service-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border: 1px solid #e1e5eb;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.related-service-item:hover {
    border-color: #0f766e;
    box-shadow: 0 5px 15px rgba(15, 118, 110, 0.1);
}

.related-service-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
}

.related-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-service-content {
    flex: 1;
}

.related-service-title {
    font-size: 2.0rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.related-service-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.btn-sm {
    padding: 0px 16px;
    font-size: 16px;
    font-weight: 500;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #e1e5eb;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: #0f766e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.contact-details {
    flex: 1;
}

.contact-label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 2px;
}

.contact-value {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-details-title {
        font-size: 2.5rem;
    }

    .related-service-item {
        flex-direction: column;
        text-align: center;
    }
    
    .related-service-image {
        width: 100%;
        height: 120px;
    }
    
    .popup-quote__body {
        width: 98%;
        margin: 10px;
    }
    
    .popup-quote__header-wide {
        padding: 25px 20px;
    }
    
    .popup-quote__header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .popup-quote__content {
        padding: 25px 20px;
    }
    
    .popup-quote__header-title {
        font-size: 24px;
    }
    
    .popup-quote__header-subtitle {
        font-size: 14px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .service-details-title {
        font-size: 2.2rem;
    }
    
    .popup-quote__header-title {
        font-size: 22px;
    }
    
    .popup-quote__content {
        padding: 20px 15px;
    }
    
    .btn-submit {
        width: 100%;
        padding: 14px;
    }
}