/*=== MEDIA QUERY ===*/
@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700|Montserrat;:300,400,600,700,800|Source+Sans+Pro:300,400,600,700);

html {
    overflow-x: hidden;
}


/* =========================================
   GLOBAL FOUNDATION
========================================= */

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    background: #ffffff;
    color: #1f2933;
}

p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 18px;
}

h1, h2, h3, h4, h5 {
    font-family: 'Roboto', sans-serif;
    color: black;
}

.table td {
    vertical-align: middle !important;
}

/* =========================================
   hero section p tag
========================================= */

.partner-intro {
    font-family: 'Roboto', sans-serif;
    font-size: 1.4em;
    font-weight: 600;
    max-width: 900px;
    margin: 0 auto 40px auto; /* centers the paragraph block */
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.6);
    text-align: left; /* left-aligns the text inside */
    justify-content: left;
}

/* =========================================
   BUTTONS
========================================= */

.btn {
    border-radius: 40px !important;
    padding: 12px 32px !important;
    font-size: 1.05em !important;
    font-weight: 600;
    transition: all .3s ease;
}

.btn-primary,
#compcalc input[type="button"] {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    border: none;
    color: white;
    box-shadow: 0 10px 25px rgba(37,99,235,.35);
}

    .btn-primary:hover,
    #compcalc input[type="button"]:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 40px rgba(37,99,235,.45);
    }

/* ================= APPLY / GET STARTED BUTTON ================= */

.btn-apply {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    border: none;
    color: white;
    box-shadow: 0 10px 25px rgba(20,184,166,.35);
}

    .btn-apply:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 40px rgba(20,184,166,.45);
    }

/* =========================================
   10% LEFT & RIGHT MARGIN LAYOUT
========================================= */

#pnlForm,
#compcalc {
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
}


/*Partner-qualificatiuon section*/

/* =========================================
   FORM WRAPPER
========================================= */

#pnlForm {
    padding: 30px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 24px;
    background: #f9fbfd;
    margin-top: 40px;
    margin-bottom: 60px;
}

    /* =========================================
   FORM CARD
========================================= */

    #pnlForm > div {
        border-radius: 20px;
        padding: 50px 40px;
        background: linear-gradient(145deg, #f2f6fb, #e6edf5);
        border: 1px solid rgba(0,0,0,0.12);
        box-shadow: 0 20px 50px rgba(0,0,0,.08);
    }

    /* Darker Labels */
    #pnlForm td:first-child {
        font-weight: 600;
        color: #0f172a;
        padding-right: 35px !important;
        min-width: 220px;
    }

    /* Form Content Margins */
    #pnlForm p,
    #pnlForm ul {
        margin-left: 10px;
        margin-right: 10px;
    }

        #pnlForm ul li {
            font-size: 1.2em;
            margin-bottom: 10px;
            font-weight: 400;
            color: black;
        }

    /* =========================================
   FORM INPUTS
========================================= */

    #pnlForm input[type="text"],
    #pnlForm select {
        width: 100%;
        background: #dde6f0;
        border-radius: 10px;
        border: 1px solid rgba(0,0,0,0.25);
        padding: 14px;
        font-size: 1.2em;
        transition: all .25s ease;
        box-shadow: inset 0 2px 4px rgba(0,0,0,.08);
        margin-top: 4px;
    }

        #pnlForm input[type="text"]:focus,
        #pnlForm select:focus {
            background: #ffffff;
            border: 1px solid #f4c430;
            box-shadow: 0 0 0 3px rgba(244,196,48,.18);
            outline: none;
        }

/* =========================================
   CHECKBOX ENHANCEMENT
========================================= */
/* Hide default checkbox */
.custom-check input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Wrapper */
.custom-check {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    display: inline-block;
}

    /* Custom box */
    .custom-check .checkmark {
        position: absolute;
        left: 0;
        top: 2px;
        height: 22px;
        width: 22px;
        background-color: #dde6f0;
        border: 2px solid #1e3a8a;
        border-radius: 4px;
    }

    /* On hover */
    .custom-check:hover .checkmark {
        background-color: #cdd8e6;
    }

    /* When checked */
    .custom-check input:checked ~ .checkmark {
        background-color: #1e3a8a;
    }

    /* Checkmark tick */
    .custom-check .checkmark:after {
        content: "";
        position: absolute;
        display: none;
    }

    /* Show checkmark when checked */
    .custom-check input:checked ~ .checkmark:after {
        display: block;
    }

    /* Checkmark style */
    .custom-check .checkmark:after {
        left: 6px;
        top: 2px;
        width: 6px;
        height: 12px;
        border: solid white;
        border-width: 0 3px 3px 0;
        transform: rotate(45deg);
    }
/* =========================================
   FORM ROW SPACING
========================================= */

#pnlForm table tr {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

    #pnlForm table tr:last-child {
        border-bottom: none;
    }

#pnlForm table td {
    padding-top: 26px !important;
    padding-bottom: 26px !important;
}

/* =========================================
   CALCULATOR WRAPPER (MATCHES FORM)
========================================= */

#compcalc {
    padding: 30px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 24px;
    background: #f9fbfd;
    margin-top: 40px;
    margin-bottom: 60px;
}

    /* =========================================
   CALCULATOR CARD (MATCHES FORM CARD)
========================================= */

    #compcalc > div {
        border-radius: 20px;
        padding: 50px 40px;
        background: linear-gradient(145deg, #f2f6fb, #e6edf5);
        border: 1px solid rgba(0,0,0,0.12);
        box-shadow: 0 20px 50px rgba(0,0,0,.08);
    }

    /* Darker Calculator Labels */
    #compcalc td:first-child {
        font-weight: 600;
        color: #0f172a;
        padding-right: 35px;
    }

    #compcalc td {
        font-size: 1.3em !important;
        padding: 20px 14px;
    }

    /* Calculator Inputs */
    #compcalc select {
        background: #dde6f0;
        border-radius: 10px;
        border: 1px solid rgba(0,0,0,0.25);
        padding: 12px 16px;
        font-size: 1.1em;
        transition: all .25s ease;
        box-shadow: inset 0 2px 4px rgba(0,0,0,.08);
    }

        #compcalc select:focus {
            background: #ffffff;
            border: 1px solid #f4c430;
            box-shadow: 0 0 0 3px rgba(244,196,48,.18);
            outline: none;
        }

/* Revenue Highlight */
#calcresult {
    font-weight: 700;
    font-size: 1.9em;
    color: #1e3a8a;
}

/* =========================================
   THANK YOU PANEL
========================================= */

#pnlThankYou div {
    border-radius: 20px;
    padding: 40px;
    background: linear-gradient(145deg, #f2f6fb, #e6edf5);
    border: 1px solid rgba(0,0,0,0.12);
    box-shadow: 0 20px 50px rgba(0,0,0,.08);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {

    #pnlForm,
    #compcalc {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
        padding: 20px;
    }

        #pnlForm > div,
        #compcalc > div {
            padding: 35px 20px;
        }

        #pnlForm td,
        #compcalc td {
            display: block;
            width: 100%;
        }

    #calcresult {
        font-size: 1.6em;
    }
    /*return button*/
    .return-wrapper {
        text-align: center;
        margin: 50px 0 40px 0;
    }

    .return-link {
        display: inline-block;
        font-size: 1.45em;
        font-weight: 600;
        color: #2A7B9B;
        text-decoration: none;
        letter-spacing: 0.5px;
        position: relative;
        transition: all 0.3s ease;
    }

        .return-link::after {
            content: "";
            display: block;
            width: 0%;
            height: 2px;
            background-color: #2A7B9B;
            transition: width 0.3s ease;
            margin: 6px auto 0 auto;
        }

        .return-link:hover {
            color: #1f5e75;
            text-decoration: none;
        }

            .return-link:hover::after {
                width: 100%;
            }

    /* ===== DETAILS SECTION MODERN STYLE ===== */

    .details-container {
        margin-left: 5%;
        margin-right: 5%;
        width: 90%;
    }

    .details-title {
        margin-left: 5%;
        font-weight: 700;
        font-size: 2em;
        color: #1f2933;
        letter-spacing: 0.5px;
    }

    .details-card {
        margin-left: 7%;
        width: 85%;
        min-width: 400px;
        padding: 40px 45px;
        border-radius: 18px;
        background: #ffffff;
        border: 1px solid #d9e2ec;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }

    .section-heading {
        font-size: 1.4em;
        font-weight: 600;
        color: #2A7B9B;
        margin-bottom: 25px;
    }

    .modern-list {
        padding-left: 20px;
    }

        .modern-list li {
            margin-bottom: 18px;
            font-size: 1.1em;
            line-height: 1.6;
        }

    .price-highlight {
        font-weight: 700;
        font-size: 1.3em;
        color: #2A7B9B;
    }

    .old-price {
        text-decoration: line-through;
        color: #888;
        margin-right: 6px;
    }

    .section-container {
        width: 90%;
        margin: 60px auto;
        font-family: Arial, sans-serif;
    }

    .flex-row {
        display: flex;
        gap: 30px;
        flex-wrap: wrap;
    }

    .card {
        flex: 1;
        min-width: 320px;
        background: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        padding: 30px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.05);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

        .card h3 {
            font-size: 1.6em;
            font-weight: 700;
            margin-bottom: 15px;
        }

            .card h3 span {
                color: #2563eb;
            }

        .card p {
            color: #374151;
            line-height: 1.6;
        }

        .card ul {
            margin-top: 15px;
            padding-left: 20px;
            line-height: 1.8;
        }

    /* UNIFIED BUTTON STYLE */
    .primary-btn {
        display: inline-block;
        margin-top: 25px;
        padding: 14px 28px;
        border-radius: 30px;
        font-size: 1.05em;
        font-weight: 600;
        color: white;
        text-decoration: none;
        background: linear-gradient(135deg, #1e3a8a, #2563eb);
        box-shadow: 0 10px 25px rgba(37,99,235,.35);
        transition: all 0.3s ease;
    }

        .primary-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 16px 40px rgba(37,99,235,.45);
        }

    @media (max-width: 768px) {
        .flex-row {
            flex-direction: column;
        }
    }

}
