/* Main Popup Container */
#cop-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease;
}

#cop-popup.cop-show {
    visibility: visible;
    opacity: 1;
}

/* Overlay */
.cop-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}

/* Modal */
.cop-modal {
    position: relative;
    width: 1000px;
    max-width: 95%;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    transform: scale(0.9);
    transition: 0.4s ease;
}

#cop-popup.cop-show .cop-modal {
    transform: scale(1);
}

/* Close Button */
.cop-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #cba135;
    color: #fff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Content Layout */
.cop-content {
    display: flex;
    width: 100%;
}

/* LEFT SIDE */
.cop-left {
    flex: 1;
    padding: 60px 50px;
}

.cop-logo img {
    max-width: 160px;
    margin-bottom: 20px;
}

.cop-badge {
    font-size: 18px;
    font-weight: 600;
    color: #cba135;
    margin-bottom: 10px;
}

.cop-left h2 {
    font-size: 48px;
    font-weight: 800;
    color: #cba135;
    margin-bottom: 20px;
}

.cop-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    color: #333;
}

/* Buttons */
.cop-buttons {
    display: flex;
    gap: 20px;
}

.cop-btn {
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    background: #cba135;
    color: #fff;
    transition: 0.3s;
    display: inline-block;
}

.cop-btn:hover {
    opacity: 0.85;
}

/* RIGHT SIDE */
.cop-right {
    flex: 1;
}

.cop-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Prevent Scroll */
body.cop-open {
    overflow: hidden;
}

/* Responsive for Tablets and Mobile */
@media (max-width: 992px) {
    .cop-left h2 {
        font-size: 40px;
    }
    
    .cop-left {
        padding: 50px 40px;
    }
}

@media (max-width: 768px) {
    /* Hide the image on mobile */
    .cop-right {
        display: none;
    }
    
    .cop-content {
        flex-direction: column;
    }

    .cop-left {
        flex: 1 1 auto;
        padding: 40px 30px;
        text-align: center;
    }

    .cop-left h2 {
        font-size: 36px;
    }

    .cop-badge {
        font-size: 16px;
    }
    
    .cop-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .cop-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 280px;
        margin: 0 auto;
    }

    .cop-modal {
        flex-direction: column;
        max-width: 90%;
    }
    
    .cop-logo img {
        max-width: 140px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .cop-left {
        padding: 30px 20px;
    }
    
    .cop-left h2 {
        font-size: 30px;
    }
    
    .cop-subtitle {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .cop-btn {
        padding: 12px 28px;
        font-size: 14px;
    }
    
    .cop-close {
        width: 36px;
        height: 36px;
        font-size: 18px;
        top: 15px;
        right: 15px;
    }
}