
.soi_artists_section {
    position: relative;
    padding: 80px 0;
    background-color: #08080a;
    color: #ffffff;
    overflow: hidden;
}

.relative-z {
    position: relative;
    z-index: 2;
}

/* Background Ambient Glow */
.artist_glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: rgba(255, 0, 0, 0.15);
    border-radius: 50%;
    filter: blur(160px);
    pointer-events: none;
    z-index: 1;
}

/* Header Typography */
.artist_title {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 8px;
}

.artist_highlight {
    color: rgb(255 0 0);
    text-shadow: 0 0 20px rgb(255 0 0 / 64%);
}

.artist_subtitle {
    font-size: 15px;
    color: #a0aec0;
    max-width: 500px;
    margin: 0 auto;
}

/* Artist Card Container */
.artist_card {
    background: rgba(18, 18, 24, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.artist_card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 0, 0, 0.64);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8),
                0 0 20px rgba(255, 0, 0, 0.3);
}

/* Image Wrapper */
.artist_img_wrapper {
    position: relative;
    width: 100%;
    
    overflow: hidden;
}

.artist_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.5s ease;
}

.artist_card:hover .artist_img {
    transform: scale(1.08);
    filter: grayscale(0%) contrast(1) brightness(1);
}

.artist_overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 18, 24, 0.9) 0%, rgba(18, 18, 24, 0) 50%);
    pointer-events: none;
}

/* Artist Info Section */
.artist_info {
    padding: 18px;
    text-align: center;
    background: rgba(18, 18, 24, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.artist_name {
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px 0;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.artist_specialty {
    font-size: 13px;
    color: #a0aec0;
    margin: 0;
}

.artist_card:hover .artist_name {
    color: rgb(255 0 0);
}

/* Mobile Responsiveness */
@media (max-width: 576px) {
    .artist_title {
        font-size: 25px;
    }
    .artist_img_wrapper {
        height: 320px;
    }
    .artist_info {
        padding: 16px;
    }
    .artist_name {
        font-size: 18px;
    }
}

.soi_category_section {
    padding: 80px 0;
    background-color: #0b0b0b;
}

.bab_text_gradient {
    background: linear-gradient(135deg, #ff4234, #ff42349b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.soi_cat_card {
    background: #141414;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.soi_cat_card:hover {
    transform: translateY(-8px);
    border-color: rgb(255 0 0 / 64%);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6),
                0 0 15px rgba(255, 51, 102, 0.2);
}

.soi_cat_thumb {
    position: relative;
    width: 100%;
    height: 340px; /* Card Thumb Height */
    overflow: hidden;
}

.soi_cat_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%) contrast(1.1) brightness(0.9) !important;
    transition: transform .6s ease, filter .6s ease;
}

.soi_cat_overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(20,20,20,0.9) 100%);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.soi_cat_card:hover .soi_cat_thumb img {
    transform: scale(1.08);
    filter: brightness(1.15) contrast(1.1) saturate(1.15) !important;
}

.soi_cat_body {
    padding: 18px 20px;
    text-align: center;
    background: #141414;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.soi_cat_title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    transition: color 0.3s ease;
}

.soi_cat_card:hover .soi_cat_title {
    color: rgb(255 0 0 / 64%);
}

/* ========================================= */
/* 2. MODAL & SLIDER STYLING */
/* ========================================= */

.tattoo-gallery-modal {
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.7);
    z-index: 10005 !important; /* Header ke 9999 se upar rakhne ke liye */
}

/* Modal box ko exactly 700px set karke Center karna */
.tattoo-gallery-modal .modal-dialog {
    max-width: 700px !important;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.tattoo-gallery-modal .modal-content {
    position: relative;
    width: 100%;
}

/* Stylish Cut (Close) Button - Safely Positioned */
.custom-close-btn {
    position: absolute;
    top: -15px; /* -45px ki jagah corner overlap kiya gaya hai */
    right: -15px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ff4234;
    color: #ffffff;
    border: 2px solid #ffffff; /* White border for premium look */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    z-index: 10010 !important; /* Sabse upar rakhne ke liye */
    transition: all 0.3s ease;
}

.custom-close-btn:hover {
    background: #ffffff;
    color: #ff4234;
    border-color: #ff4234;
    transform: scale(1.1) rotate(90deg); /* Glow and Rotate Effect */
    box-shadow: 0 4px 20px rgba(255, 66, 52, 0.6);
}

/* 700px Width (Parent se lega) and 400px Height */
#carouselImagesContainer {
    height: 450px;
    width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 66, 52, 0.2);
}

#carouselImagesContainer img {
    width: 100%;
    height: 450px !important;
    object-fit: cover !important;
}

/* Mobile Responsive Adjustment */
@media (max-width: 768px) {
    #carouselImagesContainer, 
    #carouselImagesContainer img {
        height: 300px !important;
    }
    .custom-close-btn {
        top: -10px; 
        right: -10px;
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

/* Adjust mobile card image heights slightly for better fit */
@media (max-width: 768px) {
    .soi_cat_thumb {
        height: 220px;
    }
    .soi_cat_title {
        font-size: 0.95rem;
    }
    .soi_cat_body {
        padding: 12px 10px;
    }
}

.soi_hero_wrapper {
    position: relative !important;
    width: 100% !important;
    height: 100vh !important; 
    
    /* FIX: box-sizing added so padding doesn't stretch the container beyond 100vh */
    box-sizing: border-box !important;
    
    /* FIX: Removed margin-top completely to avoid empty white spaces */
    margin-top: 0 !important; 
    
    /* FIX: Added proper padding to clear the header perfectly */
    padding-top: 120px !important; 
    
    max-width: 100vw !important; 
    overflow: hidden !important;
    background: radial-gradient(circle at bottom center, #222222 0%, #050505 85%) !important;
}

/* 2. 3D Flex Container */
.soi_card_container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    perspective: 1500px; 
    transform-style: preserve-3d;
}

/* 3. Base Card Styling (Wider Cards for Full Width) */
.soi_art_card {
    position: absolute;
    width: 24%; 
    height: 65vh; 
    border-radius: 5px; 
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    background-color: #111;
    -webkit-box-reflect: below 10px linear-gradient(transparent, transparent 65%, rgba(255, 255, 255, 0.25));
}

/* 4. 3D Position Transforms for FULL WIDTH Spread */
.card-1 { transform: translateX(-220%) translateZ(-400px) rotateY(30deg); z-index: 1; filter: brightness(0.3); }
.card-2 { transform: translateX(-110%) translateZ(-150px) rotateY(15deg); z-index: 2; filter: brightness(0.65); }
.card-3 { transform: translateX(0) translateZ(80px) rotateY(0deg); z-index: 3; filter: brightness(1.15); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.95); border-color: rgba(255, 255, 255, 0.35); }
.card-4 { transform: translateX(110%) translateZ(-150px) rotateY(-15deg); z-index: 2; filter: brightness(0.65); }
.card-5 { transform: translateX(220%) translateZ(-400px) rotateY(-30deg); z-index: 1; filter: brightness(0.3); }

/* 5. Hover Effect */
.soi_art_card:hover {
    filter: brightness(1.25);
    border-color: rgba(255, 255, 255, 0.5);
}

/* 6. Image Inside the Card */
.soi_card_img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 0.8s ease;
}

.soi_art_card:hover .soi_card_img {
    transform: scale(1.12);
}

/* 7. Custom Carousel Indicators */
.soi_custom_indicators {
    z-index: 10 !important;
    margin-bottom: -30px !important;
}

.soi_custom_indicators button {
    width: 10px !important;
    height: 10px !important;
    margin-top: 30px;
    background-color: rgba(255, 255, 255, 0.25) !important;
    border: none !important;
    border-radius: 50% !important;
    margin: 0 5px !important;
    transition: all 0.4s ease !important;
}

.soi_custom_indicators button.active {
    width: 28px !important;
    border-radius: 5px !important;
    background: linear-gradient(135deg, #aa0000, #ff4234) !important;
    box-shadow: 0 0 12px rgba(255, 66, 52, 0.6) !important;
}

/* 8. Mobile Responsiveness (Clean Adjustments) */
@media (max-width: 768px) {
    .soi_hero_wrapper {
        /* FIX: Sirf padding-top di gayi hai header clear karne ke liye */
        margin-top: 0 !important;
        padding-top: 100px !important;
        height: 85vh !important; /* Mobile pe scroll issue rokne ke liye height adjust ki */
    }
    
    .soi_art_card {
        width: 55%; 
        height: 48vh; /* Cards ko mobile screen me better fit karne ke liye */
    }

    /* Pushing mobile cards to screen edges */
    .card-1 { transform: translateX(-160%) translateZ(-300px) rotateY(35deg); }
    .card-2 { transform: translateX(-75%) translateZ(-100px) rotateY(15deg); }
    .card-4 { transform: translateX(75%) translateZ(-100px) rotateY(-15deg); }
    .card-5 { transform: translateX(160%) translateZ(-300px) rotateY(-35deg); }
}

.drnkp-appt-widget-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 300px;
    background-color: #ffffff; /* White background */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 99999;
    overflow: hidden;
    font-family: inherit;
    transition: all 0.3s ease;
}

/* Premium Gradient Header */
.drnkp-appt-header {
    background: linear-gradient(135deg, rgb(163, 45, 38) 0%, #000000 100%);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drnkp-appt-title {
    margin: 0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Close (Cut) Button */
.drnkp-appt-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.2s ease;
    padding: 0;
}

.drnkp-appt-close:hover {
    opacity: 1;
    color: #ffb3b0;
    transform: scale(1.1);
}

/* Form Body */
.drnkp-appt-form {
    padding: 15px 20px 20px;
}

.drnkp-appt-input-group {
    margin-bottom: 12px;
}

/* Compact Premium Inputs */
.drnkp-appt-form input,
.drnkp-appt-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dddddd;
    border-radius: 6px;
    font-size: 14px;
    background-color: #f9f9f9;
    color: #333333;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Placeholder colors */
.drnkp-appt-form input::placeholder,
.drnkp-appt-form textarea::placeholder {
    color: #888888;
}

.drnkp-appt-form textarea {
    resize: none;
}

/* Focus State using the Red color */
.drnkp-appt-form input:focus,
.drnkp-appt-form textarea:focus {
    border-color: rgb(163, 45, 38);
    background-color: #ffffff;
    box-shadow: 0 0 5px rgba(163, 45, 38, 0.15);
}

/* Submit Button */
.drnkp-appt-submit {
    width: 100%;
    background-color: rgb(163, 45, 38);
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 5px;
    transition: all 0.3s ease;
}

.drnkp-appt-submit:hover {
    background-color: #801f1a;
    box-shadow: 0 4px 12px rgba(163, 45, 38, 0.3);
}

/* Floating Reopen Button */
.drnkp-appt-reopen {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color:rgb(165 45 36);
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 1px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 99998;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.drnkp-appt-reopen:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(163, 45, 38, 0.4);
}

.yt_loop_section {
    padding: 60px 0;
    background-color: #0a0a0a;
}

/* 2. Glassmorphism Card Container */
.yt_card {
    background: #121212;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.yt_card:hover {
    transform: translateY(-6px);
    border-color: rgb(255 0 0 / 64%);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 
                0 0 15px rgba(255, 51, 102, 0.25);
}

/* 3. Height Fixed Video Wrapper (Compact Aspect Height) */
.yt_video_wrapper {
    position: relative;
    width: 100%;
    height: 380px; /* Perfect Vertical Shorts Height */
    overflow: hidden;
}

.yt_video_wrapper iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320%; /* Side black bars crop karne ke liye width expand */
    height: 100%;
    transform: translate(-50%, -50%) scale(1.1);
    pointer-events: none; /* Disables YouTube native clicks */
    transition: transform 0.6s ease;
}

.yt_card:hover .yt_video_wrapper iframe {
    transform: translate(-50%, -50%) scale(1.22); /* Smooth zoom effect on hover */
}

/* 4. Sleek Overlay (No Icons) */
.yt_overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 2;
    transition: background 0.3s ease;
}

.yt_card:hover .yt_overlay {
    background: rgba(0, 0, 0, 0); /* Hover karne par video bilkul clear dikhegi */
}

/* 5. Video Title/Heading Content Styling */
.yt_content {
    padding: 14px 12px;
    background: #121212;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.yt_title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Badi headings ke aage dots (...) add kar dega */
}

.yt_card:hover .yt_title {
    color: rgb(255 0 0 / 64%); /* Hover karne par heading text color highlight hoga */
}

/* 6. Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .yt_video_wrapper {
        height: 260px; /* Mobile screen par compact height */
    }
    
    .yt_title {
        font-size: 13px;
    }

    .yt_content {
        padding: 10px 8px;
    }
}

.rev_section {
    position: relative;
    background-color: #08080a;
    padding: 80px 0;
    color: #ffffff !important;
    overflow: hidden;
}

.relative-z {
    position: relative;
    z-index: 2;
}

/* Background Ambient Red Glow */
.rev_glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: rgb(255 0 0 / 20%);
    border-radius: 50%;
    filter: blur(150px);
    pointer-events: none;
    z-index: 1;
}

/* Header Typography */
.rev_title {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff !important;
    margin-bottom: 8px;
}

.rev_highlight {
    color: rgb(255 0 0);
    text-shadow: 0 0 20px rgb(255 0 0 / 64%);
}

.rev_subtitle {
    font-size: 15px;
    color: #a0aec0 !important;
    max-width: 550px;
    margin: 0 auto;
}

/* Outer Card Container */
.elfsight_wrapper {
    background: #111116; /* Clean Dark Background */
    border: 1px solid rgb(255 0 0 / 64%);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 0 30px rgb(255 0 0 / 20%);
}

/* --------------------------------------------------
   ELFSIGHT COLOR FIX (FORCED WHITE TEXT)
--------------------------------------------------- */
/* 1. Invert trick to convert light-mode widget to dark-mode instantly */
.elfsight-app-3491adbc-982d-4f71-bc2c-d815cb22b0da {
    filter: invert(0.93) hue-rotate(180deg) !important;
}

/* 2. Fix images & user avatars from getting inverted/distorted */
.elfsight-app-3491adbc-982d-4f71-bc2c-d815cb22b0da img,
.elfsight-app-3491adbc-982d-4f71-bc2c-d815cb22b0da [style*="background-image"] {
    filter: invert(1) hue-rotate(180deg) !important;
}

/* 3. Direct Overrides for Text & Elements */
.elfsight-app-3491adbc-982d-4f71-bc2c-d815cb22b0da * {
    color: #ffffff !important;
}

/* Mobile Responsiveness */
@media (max-width: 576px) {
    .rev_title {
        font-size: 25px;
    }
    .elfsight_wrapper {
        padding: 12px;
    }
}
