/* Wrapper for the icon box */
.porto-sicon-box {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 20px;
    text-align: center;
    max-width: 350px;
    margin: 0 auto;
    transition: all 0.3s ease;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
}

.whatsapp-icon-image {
    width: 45px;
}

p.whatsapp-button-title {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 600;
    text-align: left;
}

p.whatsapp-button-content {
    font-size: 13px;
    text-transform: uppercase;
    text-align: left;
}


.porto-sicon-box:hover {
    transform: scale(1.05); /* Slight scale-up on hover */
}

/* Icon Style */
.porto-sicon-default .porto-icon {
    background-color: #25D366; /* WhatsApp green color */
    padding: 15px;
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.porto-sicon-default .porto-icon .icon-whatsapp-1 {
    color: #ffffff;
    font-size: 32px; /* WhatsApp icon size */
}

/* Title Styling */
.porto-sicon-header .porto-sicon-title {
    font-size: 20px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 5px;
    text-transform: uppercase;
}

/* Description Styling */
.porto-sicon-header p {
    font-size: 16px;
    color: #555555;
    margin-bottom: 0;
}

/* Button or link styling */
.porto-sicon-box a {
    display: inline-block;
    background-color: #25D366;
    color: white;
    font-size: 16px;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.porto-sicon-box a:hover {
    background-color: #128C7E; /* Darker WhatsApp green on hover */
}

/* Popup container */
.popup {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    backdrop-filter: blur(4px); /* Optional blur effect */
    z-index: 9999; /* Make sure the popup is on top */
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Popup content */
.popup-content {
    background-color: #fff;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    animation: popupAnimation 0.3s ease-out;
    position: relative;
}

/* Popup header */
.popup-content h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

/* QR Code */
.qr-code {
    max-width: 250px;
    margin: 20px auto;
    border: 4px solid #25D366; /* WhatsApp green border */
    padding: 10px;
    border-radius: 12px;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #d00000;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    color: #000;
}

/* Action link/button */
.popup-content a {
    display: inline-block;
    background-color: #25D366; /* WhatsApp green */
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.popup-content a:hover {
    background-color: #128C7E; /* Darker WhatsApp green */
}

/* Animation for popup appearance */
@keyframes popupAnimation {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .popup-content {
        padding: 30px;
        width: 90%;
    }

    .popup-content h2 {
        font-size: 20px;
    }

    .qr-code {
        max-width: 200px;
    }

    .popup-content a {
        font-size: 14px;
        padding: 10px 18px;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .porto-sicon-box {
        padding: 15px;
        max-width: 90%; /* Make the box responsive on smaller screens */
    }

    .porto-sicon-header .porto-sicon-title {
        font-size: 18px;
    }

    .porto-sicon-header p {
        font-size: 14px;
    }


}

@media (max-width: 768px) {
    .porto-sicon-header {
        display: none;
    }

    .porto-sicon-box {
        padding: 2px 0px 5px 5px !important;
        max-width: 90%;
        box-shadow: none;
    }

    .porto-sicon-default {
        width: 40px;
        height: auto;
    }
}

