/*
Theme Name: Twenty Twenty-Five Child
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Description: Child theme of Twenty Twenty-Five
Author: Your Name
Author URI: https://example.com
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive-child
*/

/* Add your custom styles below this line */

/* Remove text-decoration from all anchor tags */
a {
    text-decoration: none !important;
}

a:hover {
    text-decoration: none !important;
}

/* Active navigation item styling */
.navbar__item.active a.navbar__dropdown-label {
    color: #05C2FD !important;
    font-weight: 600;
    position: relative;
}

.navbar__item.active a.navbar__dropdown-label::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #05C2FD;
}

/* Products section styling */
.service__single-content .product-price {
    font-size: 24px !important;
    font-weight: bold !important;
    color: #05C2FD !important;
    margin: 15px 0 !important;
}

.service__single-content .btn--primary {
    margin-top: 15px !important;
    padding: 12px 30px !important;
    text-decoration: none !important;
    display: inline-block !important;
    background-color: #ffffff !important;
    color: #05C2FD !important;
    border: 2px solid #05C2FD !important;
    transition: all 0.3s ease;
}

/* Buy Now button hover - red background with white text */
.service__single-content .btn--primary:hover {
    background-color: #ff0000 !important;
    color: #ffffff !important;
    border-color: #ff0000 !important;
}

.service__single-content .btn--primary:hover::before {
    background-color: #ff0000 !important;
    width: 100% !important;
}

.service__single-thumb img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    padding: 20px;
}

/* Remove blue background on hover, add only box shadow */
.service .service__single:hover {
    background-color: #fff !important;
    box-shadow: 0 10px 30px rgba(5, 194, 253, 0.4) !important;
}

.service .service__single:hover::before {
    border-color: #ddd !important;
}

.service .service__single:hover a,
.service .service__single:hover p,
.service .service__single:hover h5 {
    color: inherit !important;
}

.service .service__single:hover .service__single-content .product-price {
    color: #05C2FD !important;
}

/* Fix active state - remove blue background, keep white with box shadow */
.service .service__single-active {
    background-color: #fff !important;
    box-shadow: 0 10px 30px rgba(5, 194, 253, 0.4) !important;
}

.service .service__single-active::before {
    border-color: #ddd !important;
}

.service .service__single-active a,
.service .service__single-active p,
.service .service__single-active h5 {
    color: inherit !important;
}

.service .service__single-active .service__single-content .product-price {
    color: #05C2FD !important;
}

/* Payment Modal Styles */
.payment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.payment-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.payment-modal-content {
    position: relative;
    background-color: #ffffff;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.payment-modal-header {
    padding: 25px 30px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #05C2FD 0%, #00a8e0 100%);
    border-radius: 15px 15px 0 0;
}

.payment-modal-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
}

.payment-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.payment-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.payment-modal-body {
    padding: 30px;
}

.product-info {
    text-align: center;
    padding: 20px;
    background-color: #f6feff;
    border-radius: 10px;
    margin-bottom: 25px;
}

.product-info h4 {
    margin: 0 0 10px 0;
    color: #020039;
    font-size: 20px;
    font-weight: 700;
}

.product-price-modal {
    margin: 0;
    font-size: 28px;
    font-weight: bold;
    color: #05C2FD;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #020039;
    font-weight: 600;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #05C2FD;
    box-shadow: 0 0 0 3px rgba(5, 194, 253, 0.1);
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.error-message {
    display: block;
    color: #ff0000;
    font-size: 12px;
    margin-top: 5px;
}

.error-message-main {
    display: none;
    background-color: #fff3cd;
    border: 2px solid #ffc107;
    color: #856404;
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.error-message-main.show {
    display: block;
}

.payment-modal-footer {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.payment-modal-footer .btn--primary,
.payment-modal-footer .btn--secondary {
    flex: 1;
    text-align: center;
    padding: 14px 20px;
}

.payment-submit-btn {
    position: relative;
}

.btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-loader i {
    font-size: 16px;
}

/* Full Page Loader */
.full-page-loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.full-page-loader.active {
    display: flex;
}

.loader-content {
    text-align: center;
    color: #ffffff;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #05C2FD;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-content p {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
}

/* Error Modal */
.error-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    align-items: center;
    justify-content: center;
}

.error-modal.active {
    display: flex;
}

.error-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.error-modal-content {
    position: relative;
    background-color: #ffffff;
    border-radius: 15px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10002;
    animation: modalSlideIn 0.3s ease;
    overflow: hidden;
}

.error-modal-header {
    padding: 25px 30px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.error-modal-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
}

.error-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.error-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.error-modal-body {
    padding: 40px 30px;
    text-align: center;
}

.error-icon {
    font-size: 60px;
    color: #ff0000;
    margin-bottom: 20px;
}

.error-icon i {
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.error-message-text {
    font-size: 18px;
    color: #020039;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.6;
}

.error-modal-ok-btn {
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .payment-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .payment-modal-header {
        padding: 20px;
    }
    
    .payment-modal-header h3 {
        font-size: 20px;
    }
    
    .payment-modal-body {
        padding: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .payment-modal-footer {
        flex-direction: column;
    }
    
    .error-modal-content {
        width: 95%;
    }
    
    .error-modal-body {
        padding: 30px 20px;
    }
    
    .error-icon {
        font-size: 50px;
    }
    
    .error-message-text {
        font-size: 16px;
    }
}

/* Success Modal Styles */
.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    align-items: center;
    justify-content: center;
}

.success-modal.active {
    display: flex;
}

.success-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.success-modal-content {
    position: relative;
    background-color: #ffffff;
    border-radius: 15px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10002;
    animation: modalSlideIn 0.3s ease;
    overflow: hidden;
}

.success-modal-header {
    padding: 25px 30px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #05C2FD 0%, #00a8e0 100%);
}

.success-modal-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
}

.success-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.success-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.success-modal-body {
    padding: 40px 30px;
    text-align: center;
}

.success-icon {
    font-size: 60px;
    color: #05C2FD;
    margin-bottom: 20px;
}

.success-icon i {
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.success-message-text {
    font-size: 18px;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.6;
}

.success-modal-ok-btn {
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 700;
    background: #05C2FD;
    color: #ffffff;
    border: 2px solid #05C2FD;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.success-modal-ok-btn:hover {
    background: #00a8e0;
    border-color: #00a8e0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(5, 194, 253, 0.3);
}

/* Responsive for Success Modal */
@media (max-width: 768px) {
    .success-modal-content {
        width: 95%;
    }
    
    .success-modal-body {
        padding: 30px 20px;
    }
    
    .success-icon {
        font-size: 50px;
    }
    
    .success-message-text {
        font-size: 16px;
    }
}

/* Contact Form Textarea Fix */
.contact__form textarea,
.contact__form #commentMessage {
    pointer-events: auto !important;
    z-index: 10 !important;
    position: relative !important;
    cursor: text !important;
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
}

.contact__form .input-group-textarea {
    pointer-events: auto !important;
    z-index: 10 !important;
    position: relative !important;
}

.contact__form input,
.contact__form textarea,
.contact__form label {
    pointer-events: auto !important;
    z-index: 10 !important;
    position: relative !important;
}

/* Ensure particles/chain doesn't block form inputs */
.contact .chain,
.contact #particles-js-faq {
    pointer-events: none !important;
    z-index: 0 !important;
}

/* Blog Section Images */
.blog__single-thumb img {
    width: 100% !important;
    height: 250px !important;
    object-fit: contain !important;
    display: block;
}

/* Blog Section Hover Effects - Keep Content Visible */
.blog .blog__single:hover .blog__single-content {
    color: inherit !important;
}

.blog .blog__single:hover .blog__single-content::before {
    opacity: 0 !important;
}

.blog .blog__single:hover .blog__single-title h5 {
    color: inherit !important;
}

.blog .blog__single:hover .blog__single-cta span {
    color: inherit !important;
}

.blog .blog__single:hover .blog__single-content .tag {
    color: inherit !important;
}

.blog .blog__single:hover .blog__single-content .tag span {
    color: inherit !important;
}

.blog .blog__single:hover .blog__single-content .time {
    color: inherit !important;
}

.blog .blog__single:hover .blog__single-content .time span {
    color: inherit !important;
}

/* Featured Services Tab Images */
.featured-tab__cotnent-thumb {
    position: relative !important;
    z-index: 1 !important;
    background-color: #ffffff !important;
    border-radius: 10px !important;
    padding: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 400px !important;
}

.featured-tab__cotnent-thumb::before {
    z-index: 0 !important;
    background: transparent !important;
}

.featured-tab__cotnent-thumb img {
    width: 100% !important;
    max-width: 400px !important;
    height: auto !important;
    max-height: 400px !important;
    min-height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto;
    position: relative !important;
    z-index: 2 !important;
}

/* Ensure tab content is visible when displayed */
.featured-tab__single[style*="display: block"],
.featured-tab__single:not([style*="display: none"]) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.featured-tab__single[style*="display: none"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Ensure images are visible inside visible tabs */
.featured-tab__single[style*="display: block"] .featured-tab__cotnent-thumb,
.featured-tab__single:not([style*="display: none"]) .featured-tab__cotnent-thumb {
    display: block !important;
    visibility: visible !important;
}

.featured-tab__single[style*="display: block"] .featured-tab__cotnent-thumb img,
.featured-tab__single:not([style*="display: none"]) .featured-tab__cotnent-thumb img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Portfolio Section - Product Images */
.portfolio__single-thumb img {
    width: 100% !important;
    height: 250px !important;
    object-fit: contain !important;
    background-color: #ffffff !important;
    padding: 15px !important;
    border-radius: 10px !important;
}
.portfolio .portfolio__inner {
    position: relative;
    bottom: 35px !important;
    margin-top: 0px !important;
}
.portfolio__single-content .lefter-content h4 {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

.portfolio__single-content .lefter-content p, .portfolio__single-content .lefter-content h4{
    margin: 5px 0 0 0 !important;
    font-size: 18px !important;
    font-weight: bold !important;
    color: red !important;
}

/* Quantity Selector Styling */
.product-quantity-wrapper {
    justify-content: center !important;
    display: flex !important;
    align-items: center !important;
}

.quantity-btn {
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.quantity-btn:hover {
    background: #05C2FD !important;
    color: white !important;
    transform: scale(1.05);
}

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

.product-quantity {
    transition: border-color 0.3s ease !important;
    text-align: center !important;
}

.product-quantity:focus {
    outline: none !important;
    border-color: #05C2FD !important;
    box-shadow: 0 0 0 2px rgba(5, 194, 253, 0.2) !important;
}

