/* TENTANG PAGE SPECIFIC STYLES */

.tentang-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    width: 100%;
    /* Pure white background for the multiply blend mode trick */
    background: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--text-main);
}

.hero-main-container {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1400px;
    height: 100%;
    gap: 2rem;
}

.hero-content-side {
    flex: 1.2;
    z-index: 15;
}

/* TYPEWRITER TITLE - Matching Beranda */
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    min-height: 1.2em;
}

.hero-title.typing::after {
    content: '|';
    color: var(--primary);
    animation: blink 0.8s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.subtitle {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
}

.hero-desc {
    font-size: 1.3rem;
    color: var(--text-dim);
    line-height: 1.6;
    max-width: 550px;
}

/* TRANSPARENCY TRICK */
.video-foreground-wrapper.transparent {
    position: relative;
    flex: 1;
    height: 85vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: transparent !important;
    mix-blend-mode: multiply !important;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    background: transparent !important;
    mix-blend-mode: multiply !important;
}

/* PROFILE SECTION */
.section-padding {
    padding: 100px 5%;
}

.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.profile-img-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 8px solid white;
    transform: rotate(-2deg);
    transition: var(--transition);
}

.profile-img-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
}

.profile-img-wrapper img {
    width: 100%;
    display: block;
}

.profile-info h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border-left: 5px solid var(--secondary);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.info-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.info-card h4 {
    color: var(--text-dim);
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.info-card p {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
}

/* VISION SECTION */
.vision-section {
    background: white;
    position: relative;
    overflow: hidden;
}

.vision-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.vision-logo {
    width: 300px;
    max-width: 90%;
    margin-bottom: 3rem;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.vision-content {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--text-dim);
    max-width: 800px;
    margin: 0 auto 4rem;
}

.vision-content strong {
    color: var(--primary);
    font-weight: 800;
}

.dna-banner {
    background: var(--gradient-primary);
    padding: 4rem;
    border-radius: 40px;
    color: white;
    display: flex;
    align-items: center;
    gap: 3rem;
    text-align: left;
    box-shadow: 0 30px 60px rgba(56, 160, 196, 0.3);
}

.dna-icon {
    font-size: 4rem;
    background: rgba(255, 255, 255, 0.2);
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.dna-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.dna-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* SKRIPSI SECTION */
.skripsi-section {
    background: #f1f5f9;
}

.skripsi-header {
    text-align: center;
    margin-bottom: 5rem;
}

.skripsi-tag {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.skripsi-title {
    font-size: 2.5rem;
    color: var(--text-main);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.3;
}

.skripsi-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.skripsi-content h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.skripsi-content h3::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--primary-light);
}

.latar-belakang-text {
    font-size: 1.05rem;
    color: var(--text-dim);
    line-height: 1.8;
}

.latar-belakang-text p {
    margin-bottom: 1.5rem;
}

/* NEW SKRIPSI IMAGE STYLE - Clean and Minimal */
.skripsi-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.skripsi-img-container {
    width: 100%;
    max-width: 450px;
    /* Smaller size as requested */
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.skripsi-img-container img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    transition: var(--transition);
}

.skripsi-img-container img:hover {
    transform: translateY(-10px) scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 1100px) {

    .profile-container,
    .skripsi-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .skripsi-img-container {
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-main-container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        width: 100%;
        padding-top: 100px;
    }

    .video-foreground-wrapper.transparent {
        order: -1;
        width: 100%;
        height: 50vh;
        margin-bottom: 2rem;
    }

    .hero-video {
        object-position: bottom center;
    }

    .hero-content-side {
        padding: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
        min-height: auto;
    }

    .dna-banner {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
    }
}

/* CTA EXPLORATION SECTION */
.cta-exploration-section {
    position: relative;
    height: 520px;
    background: linear-gradient(180deg, #f1f5f9 0%, #cbd5e1 100%);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 10;
    padding: 0;
}

.cta-exploration-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 100%;
    z-index: 20;
}

/* Premium 3D futuristic plate design for CTA button */
.btn-exploration {
    position: absolute;
    bottom: 175px;
    /* Aligns perfectly with the lifted hands */
    left: 0;
    right: 0;
    margin: 0 auto;
    width: max-content;
    background: linear-gradient(135deg, #6A9BD4 0%, #56759A 50%, #395371 100%);
    color: #ffffff;
    padding: 1.35rem 4rem;
    font-size: 1.45rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-radius: 16px;
    text-decoration: none;
    box-shadow:
        0 15px 35px rgba(15, 23, 42, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 0 25px rgba(56, 160, 196, 0.4);
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
    border: 3px solid #38a0c4;
    display: inline-block;
    z-index: 30;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.btn-exploration:hover {
    border-color: #ff4757;
    box-shadow:
        0 20px 45px rgba(255, 71, 87, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 0 35px rgba(255, 71, 87, 0.3);
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.cta-image-wrapper {
    position: absolute;
    bottom: -320px;
    /* Sinks image down to chest level */
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 440px;
    display: flex;
    justify-content: center;
    z-index: 15;
}

.cta-lift-image {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
}

/* Ensure the footer is above the half-sunken image background */
.footer-premium.dark {
    position: relative;
    z-index: 25;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta-exploration-section {
        height: 440px;
    }

    .btn-exploration {
        padding: 1.1rem 2.5rem;
        font-size: 1.15rem;
        bottom: 155px;
    }

    .cta-image-wrapper {
        max-width: 340px;
        bottom: -250px;
    }
}

/* EXPLORATION OVERLAY STYLES */
.exploration-overlay {
    position: fixed;
    inset: 0;
    background: rgba(248, 250, 252, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.exploration-overlay.active {
    display: flex;
    opacity: 1;
}

.close-overlay {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 3rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10010;
}

.close-overlay:hover {
    color: #ff4757;
    transform: rotate(90deg);
}

.overlay-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 680px;
    height: auto;
    max-height: 80vh;
}

.grid-quadrant {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(141, 152, 224, 0.25);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.grid-quadrant:hover {
    background: rgba(56, 160, 196, 0.1);
    border-color: #38a0c4;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(56, 160, 196, 0.25);
}

.quadrant-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.svg-icon {
    width: 56px;
    height: 56px;
    color: #38a0c4;
    transition: var(--transition);
}

.grid-quadrant:hover .svg-icon {
    color: #2c8bad;
    transform: scale(1.08);
}

.grid-quadrant h3 {
    font-size: 1.35rem;
    font-family: 'Outfit', sans-serif;
    color: #1e293b;
    margin: 0.25rem 0;
    transition: var(--transition);
}

.grid-quadrant:hover h3 {
    color: #2c8bad;
}

.grid-quadrant p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.4;
}

/* INFOGRAFIS SUB-MODAL OVERLAY */
.infografis-overlay {
    position: fixed;
    inset: 0;
    background: rgba(248, 250, 252, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10020;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.infografis-overlay.active {
    display: flex;
    opacity: 1;
}

.infografis-modal-card {
    background: #ffffff;
    border: 2px solid rgba(141, 152, 224, 0.3);
    border-radius: 24px;
    width: 100%;
    max-width: 850px;
    max-height: 90vh;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.toggle-image-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Switch styling */
.switch-container {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.switch-container input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #cbd5e1;
    transition: .4s;
    border-radius: 28px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.switch-slider {
    background-color: #38a0c4;
}

input:checked+.switch-slider:before {
    transform: translateX(22px);
}

.toggle-label {
    font-weight: 700;
    color: #475569;
    font-size: 0.95rem;
}

/* Full-width image panel */
.infografis-image-panel {
    width: 100%;
    display: block;
    background: #f1f5f9;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    flex-shrink: 0;
}

.infografis-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    cursor: zoom-in;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.infografis-img:hover {
    filter: brightness(0.95);
    transform: scale(1.005);
}

/* Notes section */
.infografis-notes-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #1e293b;
}

.infografis-notes-section h2 {
    font-size: 1.6rem;
    color: #38a0c4;
    margin: 0;
}

.intro-text {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

/* Note Card - Accordion Style */
.note-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.note-card:hover {
    border-color: #cbd5e1;
}

.note-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: var(--transition);
}

.note-card-header:hover {
    background: rgba(56, 160, 196, 0.06);
}

.note-card-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #38a0c4;
    font-size: 0.95rem;
}

.note-card-header-left i {
    font-size: 1.1rem;
}

.note-chevron {
    font-size: 0.8rem;
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.note-card-header.open .note-chevron {
    transform: rotate(180deg);
}

.note-card-body {
    padding: 0 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.note-card-body textarea {
    width: 100%;
    height: 110px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.85rem;
    color: #1e293b;
    font-family: inherit;
    font-size: 0.95rem;
    resize: none;
    outline: none;
    transition: var(--transition);
}

.note-card-body textarea:focus {
    border-color: #38a0c4;
    box-shadow: 0 0 0 3px rgba(56, 160, 196, 0.1);
}

.note-card-actions {
    display: flex;
    justify-content: flex-end;
}

.btn-action-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.65rem 1.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-action-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(56, 160, 196, 0.25);
}

/* Note Result Card */
.note-result-card {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.note-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background: rgba(34, 197, 94, 0.08);
    font-weight: 700;
    color: #16a34a;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(187, 247, 208, 0.5);
}

.note-result-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.note-result-header-left i {
    font-size: 1.1rem;
}

.btn-download-notes {
    background: transparent;
    border: none;
    color: #16a34a;
    width: 36px;
    height: 36px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.btn-download-notes:hover {
    background: rgba(22, 163, 74, 0.1);
    color: #15803d;
    transform: translateY(-1px);
}

.note-result-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-delete-selected {
    background: transparent;
    border: none;
    color: #16a34a;
    width: 36px;
    height: 36px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.btn-delete-selected:hover {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    transform: translateY(-1px);
}

.svg-delete-icon {
    width: 18px;
    height: 18px;
    display: block;
}

.note-entry-meta-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Custom checkbox styling for note item */
.note-checkbox-container {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.note-checkbox-container input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.note-checkbox-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #ffffff;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.note-checkbox-container:hover input~.note-checkbox-checkmark {
    border-color: #16a34a;
    background-color: rgba(34, 197, 94, 0.05);
}

.note-checkbox-container input:checked~.note-checkbox-checkmark {
    background-color: #16a34a;
    border-color: #16a34a;
}

.note-checkbox-checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.note-checkbox-container input:checked~.note-checkbox-checkmark:after {
    display: block;
}

.svg-download-icon {
    width: 18px;
    height: 18px;
    display: block;
}

/* FULLSCREEN IMAGE LIGHTBOX WITH BLUR BACKDROP */
.image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 15000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 2rem;
}

.image-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content-wrapper {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: zoomInLight 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes zoomInLight {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    cursor: zoom-out;
    transition: transform 0.2s ease;
}

.lightbox-img:hover {
    transform: scale(1.005);
}

.note-result-body {
    padding: 1.25rem;
    max-height: 320px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scroll-behavior: smooth;
}

/* Custom premium scrollbar for notes list */
.note-result-body::-webkit-scrollbar {
    width: 6px;
}

.note-result-body::-webkit-scrollbar-track {
    background: transparent;
}

.note-result-body::-webkit-scrollbar-thumb {
    background-color: rgba(22, 163, 74, 0.2);
    border-radius: 10px;
}

.note-result-body::-webkit-scrollbar-thumb:hover {
    background-color: rgba(22, 163, 74, 0.4);
}

/* Style for each note item in history */
.note-entry {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    animation: noteSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes noteSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.note-entry-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.4rem;
}

.note-entry-number {
    color: #16a34a;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.note-entry-time {
    color: #94a3b8;
}

.note-entry-text {
    font-size: 0.95rem;
    color: #334155;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.5;
}

/* THANK YOU MODAL OVERLAY */
.thank-you-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thank-you-overlay.active {
    display: flex;
    opacity: 1;
}

.thank-you-card {
    background: rgba(245, 248, 252, 0.96);
    border: 2px solid rgba(56, 160, 196, 0.25);
    border-radius: 28px;
    width: 100%;
    max-width: 460px;
    min-height: 560px;
    /* Taller rectangular shape */
    box-shadow: 0 35px 70px rgba(15, 23, 42, 0.22);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Pushes content to top and image to bottom */
    align-items: center;
    text-align: center;
    animation: confirmSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.thank-you-content {
    padding: 3rem 2.2rem 1.5rem 2.2rem;
    z-index: 10;
}

.thank-you-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.4rem;
    color: #38a0c4;
    margin-bottom: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.thank-you-content p {
    font-size: 1.08rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* Custom Animated Spherical SVG Emoji icon */
.custom-emoji-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(56, 160, 196, 0.12);
    border: 2px solid rgba(56, 160, 196, 0.4);
    color: #38a0c4;
    border-radius: 50%;
    padding: 4px;
    box-shadow: 0 4px 10px rgba(56, 160, 196, 0.15);
    animation: smileWiggle 2.2s infinite ease-in-out;
}

.custom-emoji-svg {
    width: 100%;
    height: 100%;
    display: block;
}

@keyframes smileWiggle {

    0%,
    100% {
        transform: rotate(0deg) scale(1) translateY(0);
    }

    30% {
        transform: rotate(-8deg) scale(1.1);
    }

    60% {
        transform: rotate(8deg) scale(1.1) translateY(-2px);
    }
}

.btn-thank-you-ok {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.95rem 4.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(56, 160, 196, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-thank-you-ok:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(56, 160, 196, 0.45);
}

/* Submerged image container at the bottom */
.thank-you-image-wrapper {
    width: 100%;
    height: 210px;
    /* Reduced height to submerge legs completely up to stomach/waist */
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* Keep head and chest visible at the top */
    margin-top: auto;
    background: transparent;
}

.thank-you-img {
    width: 420px;
    /* Enlarged size */
    height: auto;
    display: block;
    transform: translateY(-30px);
    /* Position head/torso perfectly within the cropped frame */
    pointer-events: none;
    filter: drop-shadow(0 -10px 20px rgba(56, 160, 196, 0.1));
}

/* CUSTOM CONFIRMATION MODAL */
.custom-confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.custom-confirm-overlay.active {
    display: flex;
    opacity: 1;
}

.custom-confirm-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    padding: 2.2rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    animation: confirmSlideIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes confirmSlideIn {
    from {
        transform: translateY(30px) scale(0.92);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.confirm-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.2rem auto;
}

.custom-confirm-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    color: #1e293b;
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.custom-confirm-card p {
    font-size: 0.98rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1.8rem;
}

.confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.confirm-actions button {
    padding: 0.75rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-confirm-cancel {
    background: #f1f5f9;
    color: #475569;
}

.btn-confirm-cancel:hover {
    background: #e2e8f0;
}

.btn-confirm-ok {
    background: #dc2626;
    color: white;
}

.btn-confirm-ok:hover {
    background: #b91c1c;
    transform: translateY(-1px);
}

/* CUSTOM TOAST NOTIFICATIONS - Styled Blue Brand Color */
.custom-toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 25000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast-notification {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.98);
    border-left: 4px solid #38a0c4;
    /* Blue primary color */
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    padding: 1.1rem 1.6rem;
    min-width: 290px;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 14px;
    animation: toastSlideIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: all 0.3s ease;
    border: 1px solid rgba(56, 160, 196, 0.15);
    border-left: 4px solid #38a0c4;
}

.toast-notification.hide {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
}

@keyframes toastSlideIn {
    from {
        transform: translateY(30px) scale(0.9);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.toast-icon {
    font-size: 1.25rem;
    color: #38a0c4;
    /* Blue icon */
}

.toast-message {
    font-size: 0.95rem;
    color: #334155;
    font-weight: 600;
    line-height: 1.45;
}

/* UTILITY CLASSES */
.hidden {
    display: none !important;
}

/* RESPONSIVE OVERLAY */
@media (max-width: 900px) {
    .overlay-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-height: 70vh;
        overflow-y: auto;
        padding-right: 0.5rem;
    }

    .grid-quadrant {
        padding: 1.5rem;
    }

    .svg-icon {
        width: 44px;
        height: 44px;
    }

    .grid-quadrant h3 {
        font-size: 1.2rem;
    }

    .infografis-modal-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .infografis-notes-section h2 {
        font-size: 1.3rem;
    }
}