/* Existing carousel.css styles */
.navbar .nav-menu {
    list-style: none !important;
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
}

.navbar .nav-menu li {
    margin-right: 20px !important;
}

.navbar .nav-menu li a {
    text-decoration: none !important;
    color: #333 !important;
    font-weight: 500 !important;
}

.navbar .nav-menu li a.active {
    color: #007bff !important;
    font-weight: 700 !important;
    border-bottom: 2px solid #007bff !important;
}

.cart {
    position: relative !important;
}

.cart-dropdown {
    display: none !important;
    position: absolute !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    padding: 10px !important;
    width: 300px !important;
    right: 0 !important;
}

.cart:hover .cart-dropdown {
    display: block !important;
}

.cart-item {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 10px !important;
}

.cart-item img {
    width: 50px !important;
    margin-right: 10px !important;
}

.cart-item-details p {
    margin: 0 !important;
}

.cart-subtotal {
    border-top: 1px solid #ddd !important;
    padding-top: 10px !important;
}

.cart-actions .site-button {
    display: inline-block !important;
    margin: 5px !important;
    padding: 5px 10px !important;
    text-decoration: none !important;
    background: #007bff !important;
    color: #fff !important;
    border-radius: 5px !important;
}

.popup {
    background: rgba(0, 0, 0, 0.7) !important;
    padding: 20px !important;
    border-radius: 5px !important;
    width: 100% !important;
    max-width: 500px !important;
}

.popup h3 {
    margin-top: 0 !important;
    color: #333 !important;
}

.popup p {
    margin: 10px 0 !important;
    color: #333 !important;
}

.popup .close-popup {
    background: #007bff !important;
    color: #fff !important;
    padding: 5px 10px !important;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
}

.wt-box {
    background: #fff !important;
    box-shadow: 0 0 10px rgba(0,0,0,0.1) !important;
    margin: 15px !important;
    width: 350px !important; /* Default width for > 1200px */
    height: 450px !important;
    display: flex !important;
    flex-direction: column !important;
}

.wt-thum-bx {
    width: 100% !important;
    height: 250px !important;
    overflow: hidden !important;
}

.wt-thum-bx img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 5px !important;
}

.wt-info {
    padding: 15px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.wt-title a {
    text-decoration: none !important;
    color: #333 !important;
}

.wt-title a:hover {
    color: #007bff !important;
}

.site-button {
    background: #007bff !important;
    color: #fff !important;
    padding: 5px 10px !important;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
}

.site-button:hover {
    background: #0056b3 !important;
}

/* New Card Styles for Services, Projects, Portfolio, and Testimonials */
.card-row {
    display: grid !important;
    gap: 30px !important;
    justify-content: center !important;
    align-items: stretch !important;
    width: 100% !important;
}

.card-col {
    margin: 0 auto !important;
}

.wt-card {
    background: rgba(255, 255, 255, 0.95) !important;
    /* border: 2px solid #2E8BC0 !important; */
    border-radius: 12px !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1) !important;
    padding: 20px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.wt-card:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 10px 35px rgba(46, 139, 192, 0.3) !important;
    border-color: #FFB627 !important;
    /* background: rgba(46, 139, 192, 0.1) !important; */
}

.wt-card img {
    max-width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    margin-bottom: 15px !important;
}

.wt-card .wt-info {
    flex-grow: 1 !important;
    text-align: center !important;
    padding: 0 !important; /* Override .wt-info padding to avoid double padding */
}

.wt-card h4 {
    font-weight: 600 !important;
    color: #2C3E50 !important;
    margin-bottom: 15px !important;
    font-size: 1.25rem !important;
}

.wt-card p {
    color: #555 !important;
    font-size: 0.95rem !important;
    margin-bottom: 15px !important;
}

.wt-card .site-button {
    font-size: 0.9rem !important;
    padding: 8px 16px !important;
    background: #007bff !important;
    color: #fff !important;
    border-radius: 5px !important;
}

.wt-card .site-button:hover {
    background: #0056b3 !important;
}

.testimonial-card {
    text-align: center !important;
}

.testimonial-card i {
    color: #2E8BC0 !important;
    font-size: 2.5rem !important;
    margin-bottom: 20px !important;
}

.testimonial-card p {
    font-style: italic !important;
    color: #2C3E50 !important;
    margin-bottom: 25px !important;
    flex-grow: 1 !important;
    font-size: 1.1rem !important;
    line-height: 1.5 !important;
}

.testimonial-author h5 {
    font-weight: 600 !important;
    color: #2C3E50 !important;
    margin-bottom: 8px !important;
    font-size: 1.25rem !important;
}

.testimonial-author p {
    color: #6C757D !important;
    font-size: 1rem !important;
}

/* Media Queries */
@media (min-width: 1200px) {
    .card-row {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .card-col {
        max-width: 480px !important;
    }
    .wt-box {
        width: 350px !important;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .card-row {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .card-col {
        max-width: 420px !important;
    }
    .wt-box {
        width: 290px !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .card-row {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .card-col {
        max-width: 420px !important;
    }
    .wt-box {
        width: 330px !important;
        height: 540px !important;
    }
}


@media (max-width: 768px) {
    .card-row {
        grid-template-columns: 1fr !important;
    }
    .card-col {
        max-width: 100% !important;
    }
    .wt-box {
        width: 90% !important;
        height: 490px !important;
    }
}

.popup {
    background: white !important;
    padding: 20px !important;
    border-radius: 5px !important;
    width: 100% !important;
    max-width: 500px !important;
}