﻿/* Global Styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #f8f9fa; /* light grey for a subtle contrast */
    color: #333;
}

/* Responsive font sizes for main-heading */
@media (max-width: 575.98px) {
    .main-heading {
        font-size: 1.5rem;
    }
    .newSection .row.g-3 > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Give inputs/selects some breathing room */
    .newSection .form-control,
    .newSection select[multiple] {
        font-size: 1rem;
    }

    /* Center the “Get Quote” button and make it span */
    #checkoutButton {
        display: block;
        width: 100%;
        margin: 1rem auto;
    }










}

@media (min-width: 576px) and (max-width: 767.98px) {
    .main-heading {
        font-size: 2rem;
    }
   
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .main-heading {
        font-size: 2.25rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .main-heading {
        font-size: 2.5rem;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .main-heading {
        font-size: 2.75rem;
    }
}

@media (min-width: 1400px) {
    .main-heading {
        font-size: 3rem;
    }
}


/* Top Bar */
.top-bar {
    background: linear-gradient(to right, #dfeefc, #ffffff);
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .top-bar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .top-bar .brand {
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .top-bar .brand img {
            height: 40px;
            width: auto;
        }

    .top-bar .user-info {
        font-size: 14px;
        color: #333;
    }

        .top-bar .user-info .phone {
            margin-left: 5px;
            font-weight: bold;
        }

/* Main Heading */
.main-heading {
    text-align: center;
    margin: 30px 0;
    font-size: 28px;
    font-weight: bold;
    color: #f05a28;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Policies Section */
.policies {
    animation: fadeInUp 0.8s ease forwards;
    padding-bottom: 30px;
}

.policy-item {
    text-align: center;
    margin-bottom: 30px;
    border: none;
    border-radius: 12px;
    padding: 17px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .policy-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    }

    .policy-item img {
        max-width: 100px;
        margin-bottom: 10px;
        transition: transform 0.3s ease;
    }

    .policy-item:hover img {
        transform: scale(1.05);
    }

    .policy-item h5 {
        margin-bottom: 15px;
        font-size: 18px;
        color: #333;
    }

    .policy-item .btn {
        background: linear-gradient(to right, #f05a28, #ff4d4d);
        color: #fff;
        border: none;
        padding: 10px 20px;
        font-size: 14px;
        border-radius: 5px;
        transition: background 0.3s ease, transform 0.3s ease;
    }

        .policy-item .btn:hover {
            background: linear-gradient(to right, #ff4d4d, #f05a28);
            transform: scale(1.02);
        }

/* Footer Top */
.footer-top {
    background-color: #dfeefc;
    padding: 30px 0;
    margin-top: 30px;
}

    .footer-top h5 {
        font-size: 16px;
        margin-bottom: 15px;
        color: #333;
    }

    .footer-top a {
        display: block;
        color: #333;
        text-decoration: none;
        margin-bottom: 5px;
        font-size: 14px;
    }

        .footer-top a:hover {
            text-decoration: underline;
        }

    .footer-top p {
        color: #333;
        margin: 0 0 5px;
        font-size: 14px;
    }

/* Footer Bottom */
.footer-bottom {
    background-color: #fff;
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
    color: #666;
    border-top: 1px solid #e0e0e0;
}

    .footer-bottom img {
        margin: 5px;
        max-height: 30px;
    }

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .main-heading {
        font-size: 24px;
    }

    .policy-item h5 {
        font-size: 16px;
    }

    .policy-item .btn {
        font-size: 13px;
        padding: 8px 16px;
    }
    .footer-top p {
        font-size: 10px;
    }
}


@media (max-width: 767.98px) {
    .policies .row > [class*="col-"] {
        margin-bottom: 0 !important;
    }
}
