/* ================================================================
   app.css — Main page styles for Ziska Verification Portal
   Extracted from index.php inline <style> block
   ================================================================ */

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Exo', sans-serif;
}

body {
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
}

/* ── Background Animation ──────────────────────────────────── */
.area {
    background: #4e54c8;
    background: -webkit-linear-gradient(to left, #8f94fb, #4e54c8);
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: -1;
}

.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circles li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    animation: animate 25s linear infinite;
    bottom: -150px;
}

.circles li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.circles li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

/* ── Sticky Header ─────────────────────────────────────────── */
.sticky-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    backdrop-filter: blur(10px);
    width: 100%;
}

.header-container {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo-container img {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.05);
}

.website-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #012581;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(78, 84, 200, 0.2);
    white-space: nowrap;
}

.website-link:hover {
    background: #fff;
    color: #012581;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 84, 200, 0.1);
}

@media (max-width: 768px) {
    .header-container {
        padding: 10px 15px;
    }

    .logo-container img {
        height: 50px;
    }

    .website-link {
        padding: 8px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .website-link span {
        display: none;
    }

    .website-link {
        padding: 8px 12px;
    }

    .website-link i {
        margin: 0;
    }
}

/* ── Hero Section ──────────────────────────────────────────── */
.hero-section {
    text-align: center;
    padding: 80px 20px 0; /* Bottom padding is 0 to let main-content top spacing handle it */
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ── Main Content ──────────────────────────────────────────── */
.main-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 0; /* Uniform vertical spacing at the top and bottom of content */
    gap: 80px; /* Perfectly consistent 80px section-to-section gaps on desktop */
}

/* ── Verification Form ─────────────────────────────────────── */
.form-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    width: 90%;
    max-width: 1120px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.3s ease;
    margin: 0 auto; /* Margin handled by flexbox layout */
}

.form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

#verification-result {
    animation: fadeIn 0.5s ease-in-out;
}

.form-flex-wrapper {
    display: flex;
    min-height: 400px;
    flex-wrap: wrap;
}

.form-logo-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-right: 1px solid #2a35903d;
    padding: 30px;
    color: #2a3590;
    text-align: center;
}

.form-logo-section img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.form-logo-section h3 {
    margin-top: 20px;
}

.form-logo-section p {
    margin-top: 10px;
}

.form-content-section {
    flex: 1.5;
    display: flex;
    flex-direction: column;
}

.form-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #1a1f36;
}

.input100 {
    width: 100%;
    padding: 18px 20px;
    font-size: 18px;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
}

.input100:focus {
    border-color: #4e54c8;
    box-shadow: 0 0 0 3px rgba(78, 84, 200, 0.1);
    outline: none;
}

.validate-form {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.button-container {
    width: 100%;
    max-width: 170px;
    margin: 0 auto;
}

.login100-form-btn {
    width: 100%;
    background: #4e54c8;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 63px;
    padding: 0 20px;
}

.login100-form-btn:hover {
    background: #3a40b0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 84, 200, 0.3);
}

/* ── Download Certificate Button ───────────────────────────── */
.btn-download-certificate {
    background: linear-gradient(135deg, #1e137d, #3a40b0) !important;
    color: #ffffff !important;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 19, 125, 0.4);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-download-certificate:hover {
    background: linear-gradient(135deg, #2a3090, #1e137d) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 19, 125, 0.5);
    color: #ffffff !important;
}

.btn-download-certificate:active {
    background: linear-gradient(135deg, #1e137d, #2a3090) !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(30, 19, 125, 0.3);
    color: #ffffff !important;
}

.btn-download-certificate i {
    font-size: 14px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

.note-text {
    font-size: 14px;
    color: #666;
    text-align: start;
    margin-top: 20px;
    line-height: 1.6;
}

/* ── Responsive: Form ──────────────────────────────────────── */
@media (max-width: 992px) {
    .form-flex-wrapper {
        flex-direction: column;
    }

    .verify-block {
        width: 100% !important;
    }

    .col-4 {
        max-width: 100%;
    }

    .col-8 {
        max-width: 100%;
    }

    .wrap-input100 {
        width: 100% !important;
    }

    .validate-form {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .input100 {
        padding: 18px 15px;
        font-size: 16px;
    }

    .form-logo-section {
        border-right: none;
        border-bottom: 1px solid #2a35903d;
        padding: 30px 20px;
    }

    .form-content-section {
        padding: 20px;
    }

    .button-container {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .form-container {
        margin: 40px auto;
        width: 95%;
    }

    .wrap-input100 {
        width: 100% !important;
    }

    .validate-form {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .col-4 {
        max-width: 100%;
    }

    .col-8 {
        max-width: 100%;
    }

    .form-content {
        padding: 20px 15px;
    }

    .input100 {
        padding: 18px 15px;
        font-size: 16px;
    }

    .login100-form-btn {
        height: 55px;
        font-size: 15px;
    }

    .button-container {
        width: 100%;
        max-width: 100%;
    }

    .btn-download-certificate {
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .form-container {
        margin: 20px auto;
        border-radius: 12px;
    }

    .validate-form {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .wrap-input100 {
        width: 100% !important;
    }

    .col-4 {
        max-width: 100%;
    }

    .col-8 {
        max-width: 100%;
    }

    .form-logo-section img {
        max-height: 100px;
    }

    .form-logo-section h3 {
        font-size: 18px;
        margin-top: 15px;
    }

    .form-logo-section p {
        font-size: 14px;
    }

    .input100 {
        padding: 18px 15px;
        font-size: 16px;
    }

    .button-container {
        width: 100%;
        max-width: 100%;
    }

    .btn-download-certificate {
        padding: 10px 20px;
        font-size: 13px;
    }

    .note-text {
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    .form-logo-section {
        padding: 20px 15px;
    }

    .validate-form {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .col-4 {
        max-width: 100%;
    }

    .col-8 {
        max-width: 100%;
    }

    .input100 {
        padding: 18px 15px;
        font-size: 16px;
    }

    .wrap-input100 {
        width: 100% !important;
    }

    .form-logo-section img {
        max-height: 96px;
    }

    .login100-form-btn {
        height: 50px;
    }
}

/* ── Multilingual Instructions ─────────────────────────────── */
.instructions-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto; /* Spacing handled by flexbox layout */
    padding: 0 20px;
}

.instructions-container h1 {
    width: 100%;
    text-align: center;
    color: white;
    margin-bottom: 30px;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.instruction-card {
    position: relative;
    min-width: 300px;
    height: 400px;
    box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.2),
        inset -5px -5px 15px rgba(255, 255, 255, 0.1),
        5px 5px 15px rgba(0, 0, 0, 0.3), -5px -5px 15px rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin: 20px;
    transition: 0.5s;
    flex: 1 1 300px;
    max-width: 350px;
    background: #3a40b0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.instruction-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.wrap-input100 {
    width: 70%;
}

.instruction-card .box {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: 0.5s;
}

.instruction-card .box:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    z-index: -1;
}

.instruction-card .box .content {
    padding: 20px;
    text-align: strat;
}

.instruction-card .box .content h2 {
    position: absolute;
    top: -10px;
    right: 30px;
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.1);
}

.instruction-card .box .content h3 {
    font-size: 1.5rem;
    color: #fff;
    z-index: 1;
    transition: 0.5s;
    margin-bottom: 15px;
}

.instruction-card .box .content .des {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    z-index: 1;
    transition: 0.5s;
    line-height: 1.6;
}

.instruction-card .box .content .des span {
    font-weight: bold;
}

.instruction-card .box .content a {
    color: #fff;
    padding: 2px 5px;
    border-radius: 3px;
    text-decoration: none;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .instruction-card {
        min-width: 280px;
        height: 380px;
    }

    .instruction-card .box .content h2 {
        font-size: 5rem;
    }

    .instruction-card .box .content h3 {
        font-size: 1.3rem;
    }

    .instruction-card .box .content .des {
        font-size: 0.9rem;
    }
}

/* ── FadeIn Animation ──────────────────────────────────────── */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Result States ─────────────────────────────────────────── */
.success-result {
    background-color: rgba(232, 245, 233, 0.9);
    border-left: 4px solid #4CAF50;
}

.warning-result {
    background-color: rgba(255, 248, 225, 0.9);
    border-left: 4px solid #FFC107;
}

.error-result {
    background-color: rgba(255, 235, 238, 0.9);
    border-left: 4px solid #F44336;
}

/* ── Product Details ───────────────────────────────────────── */
.product-details {
    margin-top: 20px;
}

.product-details p {
    margin-bottom: 8px;
    font-size: 15px;
}

.product-details strong {
    color: #4e54c8;
}

.product-image {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ── Verification Warning ──────────────────────────────────── */
.verification-warning {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto; /* Spacing handled by flexbox layout */
    padding: 0 20px;
}

.warning-container {
    background: #3a40b0;
    border-left: 5px solid #fff;
    border-radius: 8px;
    padding: 25px;
    color: white;
    box-shadow: 0 10px 30px rgb(78 78 78 / 20%);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.warning-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgb(64 64 64 / 30%);
}

.warning-container::before {
    content: "⚠️";
    position: absolute;
    font-size: 120px;
    right: 20px;
    top: 20%;
    transform: translateY(-50%);
    opacity: 0.15;
    z-index: 0;
}

.warning-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.warning-icon {
    font-size: 28px;
    margin-right: 15px;
    color: #fff;
}

.warning-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.warning-content {
    position: relative;
    z-index: 1;
}

.warning-text {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.official-link {
    display: inline-block;
    background: #fff;
    color: #333;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    margin: 10px 0;
    transition: all 0.3s;
    text-decoration: none !important;
}

.official-link:hover {
    background: white;
    transform: translateY(-2px);
}

.warning-tip {
    background: rgba(0, 0, 0, 0.2);
    border-left: 3px solid #fff;
    padding: 15px;
    border-radius: 0 5px 5px 0;
    margin: 20px 0;
}

.warning-tip-title {
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.safety-message {
    font-style: italic;
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .warning-container {
        padding: 20px;
    }

    .form-container {
        margin: 0px;
    }

    .hero-section {
        padding: 30px 20px 30px;
    }

    .warning-container::before {
        font-size: 80px;
        right: 10px;
    }

    .warning-title {
        font-size: 1.3rem;
    }

    .warning-text {
        font-size: 1rem;
    }

    .verification-warning {
        padding: 0px 0px;
    }
}

/* ── Modal Override ────────────────────────────────────────── */
@media (min-width: 992px) {
    .modal-lg,
    .modal-xl {
        max-width: 1000px !important;
    }
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
    background: linear-gradient(135deg, #1a2a6c, #093c94);
    padding: 60px 0 30px;
    color: white;
    position: relative;
    z-index: 1;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    justify-content: space-between;
}

.footer .col-lg-4,
.footer .col-md-4,
.footer .col-sm-4,
.footer .col-xs-12 {
    padding: 0 15px;
    box-sizing: border-box;
}

.single_footer {
    margin-bottom: 30px;
}

.single_footer h4 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 18px;
    position: relative;
}

.single_footer h4::after {
    content: "";
    display: block;
    height: 2px;
    width: 40px;
    background: #ffcc00;
    margin-top: 15px;
}

.single_footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.single_footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    line-height: 36px;
    font-size: 15px;
    display: block;
    text-decoration: none;
}

.single_footer ul li a:hover {
    color: #ffcc00;
    padding-left: 5px;
}

/* Newsletter Form */
.signup_form {
    margin-top: 20px;
}

.subscribe {
    position: relative;
    display: flex;
}

.subscribe__input {
    flex: 1;
    padding: 15px 20px;
    font-size: 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    background: rgba(255, 255, 255, 0.9);
}

.subscribe__btn {
    background: #ffcc00;
    color: #1a2a6c;
    border: none;
    border-radius: 0 5px 5px 0;
    padding: 0 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe__btn:hover {
    background: #fff;
}

/* Social Icons */
.social_profile {
    margin-top: 30px;
}

.social_profile ul {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social_profile ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social_profile ul li a:hover {
    background: #ffcc00;
    color: #1a2a6c;
    transform: translateY(-3px);
}

/* Copyright */
.copyright {
    margin-top: 50px;
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.copy-right-col {
    width: 100%;
}

.copyright a {
    color: #ffcc00;
    transition: all 0.3s ease;
}

.copyright a:hover {
    color: white;
    text-decoration: underline;
}

.footer ul {
    list-style-type: none;
    padding-left: 0;
}

@media (max-width: 992px) {
    .footer .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer .col-sm-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .single_footer {
        margin-bottom: 40px;
    }

    .subscribe__input {
        padding: 12px 15px;
    }
}

@media (max-width: 576px) {
    .social_profile ul li a {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .copyright {
        font-size: 13px;
    }
}

/* ── Hero Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .logo-container img {
        height: 60px;
    }

    .website-link {
        padding: 8px 15px;
        font-size: 14px;
    }
}

/* ── Verify Section ────────────────────────────────────────── */
.verify-section {
    padding: 0 20px; /* Vertical spacing handled by .main-content gap */
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 40px; /* Standardized spacing below section title */
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #4e54c8;
    margin: 15px auto 0;
}

.verify-block {
    margin: 0 auto 30px auto; /* Centered with a consistent 30px bottom gap between sibling blocks */
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 1150px;
}

.verify-block:last-child {
    margin-bottom: 0; /* Remove extra bottom margin on the final block to preserve section-to-section gap */
}

.verify-question {
    color: #4e54c8;
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.verify-question:before {
    content: '?';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #4e54c8;
    color: white;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 1.2rem;
    font-weight: bold;
}

.verify-answer {
    padding-left: 45px;
}

.verify-answer p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.verify-answer ul {
    margin: 20px 0;
    padding-left: 20px;
}

.verify-answer ul li {
    margin-bottom: 10px;
    color: #555;
}

.full-width-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ziska-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background: #4e54c8;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.ziska-link:hover {
    background: #3a40b0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 84, 200, 0.3);
    color: white;
}

.ziska-link i {
    margin-right: 10px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .verify-question {
        font-size: 1.3rem;
    }

    .verify-answer {
        padding-left: 0;
    }

    .verify-question:before {
        width: 25px;
        height: 25px;
        font-size: 1rem;
    }
}

/* ── Product Image Tilt ────────────────────────────────────── */
.product-image-container {
    transition: transform 0.3s ease;
    width: 100% !important;
    display: block !important;
}

.product-image-container img {
    width: 80% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}

.tilt-hover:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
}

.list-group-item {
    padding: 0.75rem 0;
    background: transparent;
}

@media (max-width: 767.98px) {
    .col-md-6 {
        padding-right: 15px !important;
        padding-left: 15px !important;
    }

    .product-image-container img {
        max-height: 400px !important;
    }
}

/* ── Go to Top Button ──────────────────────────────────────── */
.go-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #4e54c8;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    border: none;
}

.go-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.go-to-top:hover {
    background: #3a40b0;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .go-to-top {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 20px;
        right: 10px;
    }
}

/* ── Mobile Layout Width & Spacing Alignment Fix (320px to 576px) ────── */
@media (max-width: 576px) {

    /* ── SECTION: GLOBAL WRAPPER & MAIN LAYOUT ── */
    .main-content {
        padding: 40px 0 !important; /* Spacing at top and bottom of content */
        width: 100% !important;
        box-sizing: border-box;
        overflow-x: hidden;
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important; /* Uniform 40px vertical gap between all direct section containers */
    }

    /* ── SECTION: HERO SECTION ── */
    .hero-section {
        padding: 30px 20px 0 !important; /* Bottom padding 0 to let main-content top spacing control it */
    }

    /* ── SECTION: VERIFICATION INPUT FORM ── */
    .form-container {
        width: 90% !important;
        max-width: 90% !important;
        margin: 0 auto !important; /* Vertical margin is 0 because .main-content gap handles it */
        border-radius: 12px !important;
    }

    /* ── SECTION: MULTILINGUAL INSTRUCTIONS ── */
    .instructions-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 auto !important; /* Spacing handled by .main-content gap */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .instructions-container h1 {
        margin-bottom: 25px !important; /* Uniform margin below heading */
    }

    .instruction-card {
        width: 90% !important;
        max-width: 90% !important;
        min-width: unset !important;
        margin: 0 auto 20px auto !important; /* 20px gap between cards */
        box-sizing: border-box !important;
        height: 220px !important; /* Perfectly sized compact height for mobile screen */
    }

    .instruction-card .box {
        top: 10px !important;
        left: 10px !important;
        right: 10px !important;
        bottom: 10px !important;
        border-radius: 10px !important;
    }

    .instruction-card .box .content {
        padding: 15px !important;
    }

    .instruction-card .box .content h2 {
        font-size: 3.5rem !important; /* Reduced size on mobile for elegant background positioning */
        top: -5px !important;
        right: 15px !important;
    }

    .instruction-card:last-child {
        margin-bottom: 0 !important; /* Remove bottom margin on last card to keep outer section gap clean */
    }

    /* ── SECTION: HOW TO VERIFY PRODUCT ── */
    .verify-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important; /* Spacing handled by .main-content gap */
        margin: 0 auto !important;
        box-sizing: border-box;
    }

    .verify-section .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .section-title {
        font-size: 1.8rem !important;
        margin-bottom: 25px !important; /* Uniform margin below heading, matches Multilingual Instructions */
    }

    .verify-block {
        width: 90% !important;
        max-width: 90% !important;
        min-width: unset !important;
        margin: 0 auto 20px auto !important; /* 20px gap between blocks */
        padding: 20px !important;
        box-sizing: border-box !important;
        border-radius: 8px !important;
    }

    .verify-block:last-child {
        margin-bottom: 0 !important; /* Remove bottom margin on last block to keep outer section gap clean */
    }

    .verify-answer {
        padding-left: 0 !important;
        margin-top: 10px;
    }

    /* ── SECTION: WARNING NOTICE ── */
    .verification-warning {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 auto !important; /* Spacing handled by .main-content gap */
        display: flex !important;
        justify-content: center !important;
    }

    .warning-container {
        width: 90% !important;
        max-width: 90% !important;
        margin: 0 auto !important;
        padding: 20px !important;
        box-sizing: border-box !important;
    }

    /* ── SECTION: HEADER & FOOTER ALIGNMENT ── */
    .header-container, 
    .footer .container {
        width: 90% !important;
        max-width: 90% !important;
        margin: 0 auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    .footer {
        padding: 40px 0 20px !important; /* Spacing inside the footer */
    }

    .footer .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .footer [class*="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

