/* =========================
   QRCODE SLIDER STYLES
========================= */

/* Container for the hero slider to ensure it fits the site canvas. */
.qrcode-hero-slider {
    background-color: #000;
    overflow: hidden;
    position: relative;
}

/* Controls the height and behavior of the slider images. */
.slider-image {
    height: 75vh;
    object-fit: cover;
    /* Filter ensures text remains readable regardless of image brightness. */
    filter: brightness(0.6); 
    transition: transform 0.6s ease-in-out;
}

/* Positioning the text captions for a modern, clean look. */
.carousel-caption {
    bottom: 30%;
    left: 10%;
    right: 10%;
    text-align: left;
    z-index: 10;
}

/* Main heading style inside the slider. */
.slider-title {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Subtext styling inside the slider. */
.slider-text {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    line-height: 1.6;
    max-width: 650px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Responsive height adjustment for smaller screens. */
@media (max-width: 768px) {
    .slider-image { height: 60vh; }
    .carousel-caption { bottom: 15%; text-align: center; }
}

/* =========================
   MODERN INTRO SECTION STYLES
========================= */

/* Premium spacing and background for the content section */
.qrcode-intro-section {
    padding: 100px 0;
    background-color: #ffffff;
    overflow: hidden;
}

/* Visual wrapper for the image with a subtle decorative element */
.qrcode-intro-visual {
    position: relative;
    padding: 20px;
}

.qrcode-intro-visual::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;
    background: linear-gradient(135deg, rgba(8, 68, 164, 0.05), rgba(8, 167, 216, 0.05));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 0;
}

.qrcode-intro-img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.qrcode-intro-img:hover {
    transform: scale(1.02);
}

/* Content styling for readability and impact */
.qrcode-intro-content {
    padding-left: 40px;
}

.qrcode-intro-title {
    color: #102a56;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: 24px;
    line-height: 1.2;
}

.qrcode-intro-text {
    color: #4b5563;
    font-size: 1.1rem;
    line-height: 1.8;
}

@media (max-width: 991px) {
    .qrcode-intro-content { padding-left: 0; margin-top: 40px; text-align: center; }
}

/* =========================
   FEATURES SECTION (WHY QR CODE)
========================= */

.qrcode-features-section {
    position: relative;
    padding: 120px 0;
    background: #f8fafc;
    overflow: hidden;
}

/* Glassmorphism Cards */
.qrcode-feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.qrcode-feature-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(6, 182, 212, 0.1);
}

/* Typography */
.qrcode-features-title {
    color: #111827;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 300;
    margin-bottom: 20px;
}

.qrcode-features-subtitle {
    color: #4b5563;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.feature-card-title {
    color: #111827;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 15px;
}

.feature-card-text {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Icon Wrappers */
.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.icon-cyan { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); color: #fff; }
.icon-purple { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); color: #fff; }
.icon-blue { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); color: #fff; }
.icon-accent { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); color: #fff; }

.qrcode-feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

/* Background Blobs */
.blob {
    position: absolute;
    width: 400px;
    height: 400px;
    filter: blur(80px);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

.blob-1 {
    background: #06b6d4;
    top: 10%;
    left: -5%;
    animation: float 20s infinite alternate;
}

.blob-2 {
    background: #8b5cf6;
    bottom: 10%;
    right: -5%;
    animation: float 25s infinite alternate-reverse;
}

@keyframes float { 0% { transform: translate(0,0); } 100% { transform: translate(50px, 50px); } }