/* =====================================================
   ANL Gold Loan Calculator — gold-loan-calculator.css
   Colors : #45a735 | #22a14e | #1a7a3c | #1e3a5f | #e53e3e
   Font   : Outfit (matches ANL website)
   ===================================================== */

/* ── Section ── */
.anl-gl-section {
    background-color: #f8fafc;
    padding: 80px 0 100px;
    font-family: 'Outfit', sans-serif;
    position: relative;
    overflow: hidden;
}

.anl-gl-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(34, 161, 78, 0.07) 0%, transparent 44%),
        radial-gradient(circle at 88% 80%, rgba(69, 167, 53, 0.06) 0%, transparent 44%);
    pointer-events: none;
    z-index: 0;
}

/* ── White card box ── */
.anl-gl-box {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.09);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* ── Panel ── */
.anl-gl-panel {
    display: none;
    padding: 38px 42px 42px;
    animation: anl-fade-in 0.3s ease;
}

.anl-gl-panel.active {
    display: block;
}

@keyframes anl-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Field row ── */
.anl-gl-field {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 26px;
}

.anl-gl-label {
    width: 160px;
    flex-shrink: 0;
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
    font-family: 'Outfit', sans-serif;
}

.anl-gl-slider-wrap {
    flex: 1;
}

/* Range slider */
input[type="range"].anl-gl-range {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    border-radius: 99px;
    background: #cfe8c9;
    outline: none;
    cursor: pointer;
    display: block;
}

input[type="range"].anl-gl-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #45a735;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(69, 167, 53, 0.42);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

input[type="range"].anl-gl-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #45a735;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(69, 167, 53, 0.42);
    cursor: pointer;
}

input[type="range"].anl-gl-range:hover::-webkit-slider-thumb {
    transform: scale(1.18);
    box-shadow: 0 4px 16px rgba(69, 167, 53, 0.52);
}

/* Number input box */
.anl-gl-input-box {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 112px;
    background: #f2f9ef;
    border: 1.5px solid #c2debb;
    border-radius: 10px;
    padding: 9px 12px;
    flex-shrink: 0;
}

.anl-gl-sym {
    font-size: 14px;
    font-weight: 700;
    color: #45a735;
    font-family: 'Outfit', sans-serif;
}

.anl-gl-input-box input[type="number"] {
    width: 68px;
    border: none;
    background: transparent;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #1a202c;
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
}

.anl-gl-input-box input[type="number"]::-webkit-inner-spin-button,
.anl-gl-input-box input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.anl-gl-unit {
    font-size: 13px;
    font-weight: 600;
    color: #718096;
    font-family: 'Outfit', sans-serif;
}

/* ── Date row ── */
.anl-gl-date-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 26px;
}

.anl-gl-date-row .anl-gl-label {
    padding-top: 4px;
}

.anl-gl-dates {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.anl-gl-date-sub {
    font-size: 13px;
    font-weight: 600;
    color: #718096;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 4px;
}

.anl-gl-dates input[type="date"] {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #c2debb;
    border-radius: 10px;
    background: #f2f9ef;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1a202c;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.anl-gl-dates input[type="date"]:focus {
    border-color: #45a735;
    background: #fff;
}

/* Days badge */
.anl-gl-days-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 112px;
    background: #f2f9ef;
    border: 1.5px solid #c2debb;
    border-radius: 10px;
    padding: 9px 12px;
    flex-shrink: 0;
    align-self: flex-end;
}

.anl-gl-days-badge span:first-child {
    font-size: 15px;
    font-weight: 800;
    color: #22a14e;
    font-family: 'Outfit', sans-serif;
    min-width: 36px;
}

.anl-gl-days-badge .anl-gl-unit {
    font-size: 13px;
}

/* ── Divider ── */
.anl-gl-divider {
    height: 1px;
    background: #e5f0e0;
    margin: 6px 0 28px;
}

/* ── Result cards ── */
.anl-gl-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.anl-gl-card {
    border-radius: 14px;
    padding: 22px 18px 20px;
    text-align: center;
}

.anl-gl-card-label {
    font-size: 13px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 10px;
    opacity: 0.93;
    line-height: 1.3;
}

.anl-gl-card-value {
    font-size: 26px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
}

.anl-gl-card.dark  { background: #2d4d0a; color: #fff; }
.anl-gl-card.green   { background: #45a735; color: #fff; }
.anl-gl-card.dark { background: #2d4d0a; color: #fff; }

/* ── Note ── */
.anl-gl-note {
    margin-top: 18px;
    font-size: 12.5px;
    color: #718096;
    font-family: 'Outfit', sans-serif;
    line-height: 1.65;
    padding: 12px 16px;
    background: #f2f9ef;
    border-left: 3px solid #6ea820;
    border-radius: 0 8px 8px 0;
}

.anl-gl-note strong {
    color: #2d3748;
    font-weight: 700;
}

/* ═════════════ RESPONSIVE ═════════════ */

@media (max-width: 820px) {
    .anl-gl-panel   { padding: 26px 22px 30px; }
    .anl-gl-tabs    { padding: 16px 18px; gap: 8px; }
    .anl-gl-tab     { font-size: 13px; padding: 9px 16px; }
}

@media (max-width: 660px) {
    .anl-gl-section { padding: 50px 0 60px; }

    .anl-gl-field {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 20px;
    }

    .anl-gl-label       { width: 100%; }
    .anl-gl-slider-wrap { width: 100%; }

    .anl-gl-date-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .anl-gl-date-row .anl-gl-label { width: 100%; }
    .anl-gl-dates { width: 100%; }

    .anl-gl-days-badge  { align-self: flex-start; }

    .anl-gl-results {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .anl-gl-card-value { font-size: 22px; }
}
.anl-gl-dates > div {
    flex: 1;
}
@media (max-width: 440px) {
    .anl-gl-tab { padding: 9px 12px; font-size: 13px; }
}
.core-values-section {
        background-color: #f8fafc;
        position: relative;
        overflow: hidden;
        padding: 100px 0;
    }

    /* Subtle Animated Background Mesh */
    .core-values-section::before {
        content: '';
        position: absolute;
        top: -20%;
        left: -10%;
        width: 140%;
        height: 140%;
        background: radial-gradient(circle at 20% 30%, rgba(110, 168, 32, 0.08) 0%, transparent 40%),
            radial-gradient(circle at 80% 70%, rgba(43, 140, 163, 0.08) 0%, transparent 40%);
        z-index: 0;
        animation: mesh-flow 20s infinite alternate ease-in-out;
    }

    @keyframes mesh-flow {
        0% {
            transform: translate(0, 0);
        }

        100% {
            transform: translate(5%, 5%);
        }
    }

    .bento-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: minmax(160px, auto);
        gap: 24px;
        position: relative;
        z-index: 1;
    }

    /* Bento Card Styling */
    .bento-card {
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-radius: 24px;
        padding: 30px;
        transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    }

    .bento-card:hover {
        transform: translateY(-8px);
        /* background: #ffffff; */
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        border-color: #ffffff;
    }

    /* Featured Hub Card */
    .bento-featured {
        grid-column: span 2;
        grid-row: span 2;
        /* background: linear-gradient(135deg, #2b8ca3 0%, #1e6374 100%); */
        background-color: #45a735;
        color: #ffffff;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .bento-featured h3 {
        font-size: 32px;
        font-weight: 800;
        line-height: 1.2;
        margin-bottom: 15px;
        color: #fff;
    }

    .bento-card i {
        font-size: 28px;
        color: #6ea820;
        margin-bottom: 20px;
    }

    .bento-featured i {
        color: rgba(255, 255, 255, 0.3);
        font-size: 60px;
    }

    .bento-card h4 {
        font-size: 17px;
        font-weight: 700;
        color: #1a202c;
        margin-bottom: 8px;
    }

    .bento-card p {
        font-size: 14px;
        color: #4a5568;
        line-height: 1.5;
    }

    /* Card Spans for Variety */
    .span-2 {
        grid-column: span 2;
    }

    /* Responsive */
    @media (max-width: 1200px) {
        .bento-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 768px) {
        .bento-grid {
            grid-template-columns: 1fr;
        }

        .bento-featured,
        .span-2 {
            grid-column: span 1;
        }

        .core-values-section {
            padding: 60px 0;
        }
    }
            *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        body { background: #eef3ee; }
        .auto-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        .sec-title { text-align: center; }
        .sec-title .sub-title {
            display: inline-block;
            background: rgba(110, 168, 32, 0.1);
            color: #6ea820;
            padding: 5px 18px;
            border-radius: 50px;
            font-family: 'Outfit', sans-serif;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }
        .sec-title h2 {
            margin-top: 14px;
            font-family: 'Outfit', sans-serif;
            font-size: 34px;
            font-weight: 800;
            color: #1a202c;
        }
        .sec-title h2 span { color: #45a735; }
        .mb_60 { margin-bottom: 48px; }



 .calculator-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.custom-input {
    height: 55px;
    border-radius: 8px;
    border: 1px solid #dcdcdc;
    padding-left: 15px;
}

.custom-input:focus {
    border-color: #136900;
    box-shadow: 0 0 0 3px rgba(19,105,0,0.1);
}

textarea.custom-input {
    height: auto;
}

    .result-box {
      height: 50px;
      background: #f4f9f6;
      font-weight: 600;
      color: #0d4b2a;
    }

    .enquiry-card {
      background: #ffffff;
      padding: 35px;
      border-radius: 15px;
      box-shadow: 0px 10px 50px 0px rgba(0, 0, 0, 0.07);
    }

    .enquiry-title {
      text-align: center;
      color: #0d4b2a;
      font-weight: 800;
      margin-bottom: 25px;
      font-size: 32px;
    }

    .enquiry-input {
      height: 55px;
      border-radius: 10px;
      /* border: 2px solid #0d4b2a; */
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
      margin-bottom: 18px;
    }

    .enquiry-input:focus {
      border-color: #b38b00;
      box-shadow: 0 0 0 0.2rem rgba(179, 139, 0, 0.15);
    }

    textarea.enquiry-input {
      height: auto;
      padding-top: 15px;
    }

    .doorstep-hero {
      background: #f8faf8;
    }

    .hero-content h2 {
      font-size: 40px;
      font-weight: 800;
      color: #0d4b2a;
      margin-bottom: 10px;
    }

    .hero-content h4 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 15px;
    }

    .hero-content p {
      color: #555;
      line-height: 1.8;
    }

    .hero-img img {
      border-radius: 20px;
      box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    }

    .benefit-box {
      padding: 30px;
      background: #fff;
      border-radius: 15px;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    }
    .modal-content {
    border-radius: 12px;
}

.modal-header {
    border-bottom: none;
}

.modal-body {
    padding: 30px;
}

.enquiry-input {
    margin-bottom: 15px;
}
@media (min-width: 992px) {
    .modal-lg, .modal-xl {
        --bs-modal-width: 600px;
    }
}
