/* =========================================================
   TERMS & CONDITIONS PAGE
   VIRANI INSURANCE AGENCY
========================================================= */


/* =========================================================
   GENERAL
========================================================= */

html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    padding: 0;

    font-family:'poppins',sans-serif;

    color: #172033;

    background: #f5f9ff;

    line-height: 1.75;
}


/* =========================================================
   NAVBAR
========================================================= */

.custom-navbar {

    background: rgba(255, 255, 255, 0.98);

    box-shadow: 0 3px 18px rgba(25, 67, 120, 0.08);

    min-height: 92px;

    z-index: 9999;
}


.custom-navbar .container {

    min-height: 92px;

    display: flex;

    align-items: center;
}


/* Logo */

.navbar-logo {

    width: 100px;

    height: auto;

    display: block;
}


.navbar-brand {

    display: flex;

    align-items: center;

    padding: 0;

}


/* Navigation */

.custom-navbar .nav-link {

    color: #111827;

    font-size: 17px;

    font-weight: 600;

    padding: 12px 22px !important;

    transition: 0.3s ease;
}


.custom-navbar .nav-link:hover {

    color: #2878ff;
}


.custom-navbar .nav-link.active {

    color: #2878ff;
}


/* Dropdown */

.custom-navbar .dropdown-menu {

    border: none;

    border-radius: 18px;

    padding: 12px;

    min-width: 220px;

    box-shadow: 0 15px 40px rgba(20, 45, 90, 0.12);
}


.custom-navbar .dropdown-item {

    padding: 10px 14px;

    border-radius: 10px;

    color: #172033;

    font-weight: 500;

    transition: 0.25s ease;
}


.custom-navbar .dropdown-item:hover {

    background: #eef5ff;

    color: #1769ff;
}


/* Quote Button */

.quote-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 170px;

    padding: 14px 25px;

    border-radius: 40px;

    background: #ff7900;

    color: white !important;

    text-decoration: none;

    font-size: 16px;

    font-weight: 700;

    transition: all 0.3s ease;

    box-shadow: 0 8px 22px rgba(255, 121, 0, 0.18);
}


.quote-btn:hover {

    background: #e96900;

    transform: translateY(-2px);

    box-shadow: 0 12px 25px rgba(255, 121, 0, 0.25);
}



/* =========================================================
   MAIN PAGE
========================================================= */

.terms-page {

    padding-top: 130px;

    padding-bottom: 80px;

    background:

        radial-gradient(
            circle at top right,
            rgba(53, 128, 255, 0.09),
            transparent 30%
        ),

        #f5f9ff;
}


.terms-container {

    width: min(1120px, calc(100% - 40px));

    margin: 0 auto;

    background: white;

    border-radius: 28px;

    padding: 70px 80px;

    box-shadow:
        0 15px 50px rgba(26, 67, 120, 0.08);

    border: 1px solid #e7eef8;
}



/* =========================================================
   PAGE HEADER
========================================================= */

.terms-header {

    text-align: center;

    padding-bottom: 45px;

    margin-bottom: 45px;

    border-bottom: 1px solid #e5ebf4;
}


.terms-badge {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 10px 22px;

    border-radius: 30px;

    background: #edf5ff;

    color: #1769ff;

    border: 1px solid #d5e7ff;

    font-size: 15px;

    font-weight: 700;

    margin-bottom: 20px;
}


.terms-header h1 {

    margin: 0 0 12px;

    color: #111827;

    font-size: clamp(38px, 5vw, 58px);

    line-height: 1.15;

    font-weight: 800;

    letter-spacing: -1px;
}


.last-updated {

    margin: 0;

    color: #68758a;

    font-size: 16px;
}



/* =========================================================
   SECTIONS
========================================================= */

.terms-section {

    margin-bottom: 52px;
}


.terms-section h2 {

    position: relative;

    margin: 0 0 20px;

    padding-left: 18px;

    color: #111827;

    font-size: 27px;

    line-height: 1.35;

    font-weight: 750;
}


.terms-section h2::before {

    content: "";

    position: absolute;

    left: 0;

    top: 4px;

    width: 5px;

    height: calc(100% - 8px);

    background: #2878ff;

    border-radius: 10px;
}


.terms-section h2 span {

    color: #2878ff;
}


.terms-section p {

    margin: 0 0 18px;

    color: #4f5d72;

    font-size: 16px;
}


.terms-section strong {

    color: #172033;

}



/* =========================================================
   LISTS
========================================================= */

.terms-section ul {

    margin: 15px 0 22px;

    padding-left: 25px;
}


.terms-section li {

    margin-bottom: 12px;

    padding-left: 5px;

    color: #4f5d72;

    font-size: 16px;
}


.terms-section li::marker {

    color: #2878ff;
}



/* =========================================================
   IMPORTANT BOX
========================================================= */

.important-box {

    margin: 25px 0;

    padding: 23px 26px;

    background: #f0f7ff;

    border-left: 5px solid #2878ff;

    border-radius: 14px;
}


.important-box strong {

    display: block;

    margin-bottom: 8px;

    color: #155dcc;

    font-size: 17px;
}


.important-box p {

    margin-bottom: 0;
}



/* =========================================================
   WARNING BOX
========================================================= */

.warning-box {

    background: #fff8ef;

    border-left-color: #ff7900;
}


.warning-box strong {

    color: #df6900;
}



/* =========================================================
   AGENT DETAILS BOX
========================================================= */

.details-box {

    padding: 25px 28px;

    background: #f8fbff;

    border: 1px solid #e3edf9;

    border-radius: 16px;
}


.details-box p {

    margin-bottom: 10px;
}


.details-box p:last-child {

    margin-bottom: 0;
}



/* =========================================================
   LINKS
========================================================= */

.terms-section a {

    color: #1769ff;

    font-weight: 600;

    text-decoration: none;

    border-bottom: 1px solid transparent;

    transition: 0.25s ease;
}


.terms-section a:hover {

    color: #0d55d6;

    border-bottom-color: #0d55d6;
}



/* =========================================================
   CONTACT BOX
========================================================= */

.contact-box {

    margin-top: 25px;

    padding: 30px;

    background: linear-gradient(
        135deg,
        #f0f7ff,
        #ffffff
    );

    border: 1px solid #dceaff;

    border-radius: 18px;
}


.contact-box h3 {

    margin: 0 0 12px;

    color: #111827;

    font-size: 24px;

    font-weight: 750;
}


.contact-box p {

    margin-bottom: 8px;
}



/* =========================================================
   FINAL DISCLAIMER
========================================================= */

.final-disclaimer {

    margin-top: 50px;

    padding: 28px 30px;

    background: #eef5ff;

    border: 1px solid #d9e9ff;

    border-radius: 18px;

    text-align: center;
}


.final-disclaimer strong {

    display: block;

    margin-bottom: 8px;

    color: #125ed4;

    font-size: 17px;
}


.final-disclaimer p {

    margin: 0;

    color: #536174;

    font-size: 15px;
}



/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 991px) {

    .custom-navbar .container {

        min-height: 78px;
    }


    .custom-navbar {

        min-height: 78px;
    }


    .navbar-logo {

        width: 90px;
    }


    .custom-navbar .navbar-collapse {

        margin-top: 15px;

        padding: 15px;

        background: white;

        border-radius: 15px;

        box-shadow: 0 10px 30px rgba(30, 60, 100, 0.1);
    }


    .custom-navbar .nav-link {

        padding: 11px 12px !important;
    }


    .quote-btn {

        margin-top: 12px;

        width: 100%;
    }


    .terms-page {

        padding-top: 105px;
    }


    .terms-container {

        padding: 50px 45px;
    }

}



/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 767px) {

    .terms-page {

        padding-top: 95px;

        padding-bottom: 40px;
    }


    .terms-container {

        width: calc(100% - 24px);

        padding: 35px 22px;

        border-radius: 20px;
    }


    .terms-header {

        padding-bottom: 30px;

        margin-bottom: 32px;
    }


    .terms-header h1 {

        font-size: 36px;

        letter-spacing: -0.5px;
    }


    .terms-badge {

        font-size: 14px;

        padding: 8px 17px;
    }


    .terms-section {

        margin-bottom: 38px;
    }


    .terms-section h2 {

        font-size: 22px;

        padding-left: 14px;
    }


    .terms-section p {

        font-size: 15px;

        line-height: 1.7;
    }


    .terms-section li {

        font-size: 15px;

        line-height: 1.65;
    }


    .important-box {

        padding: 18px 19px;
    }


    .details-box {

        padding: 20px;
    }


    .contact-box {

        padding: 22px;
    }


    .final-disclaimer {

        padding: 22px 18px;
    }


    .footer-links {

        flex-direction: column;

        gap: 12px;
    }

}



/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .navbar-logo {

        width: 82px;
    }


    .terms-container {

        width: calc(100% - 16px);

        padding: 28px 17px;
    }


    .terms-header h1 {

        font-size: 31px;
    }


    .terms-section h2 {

        font-size: 20px;
    }


    .terms-section p,
    .terms-section li {

        font-size: 14.5px;
    }

}