@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&display=swap');
/* General styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body, html {
    overflow-x: hidden;
}

.landing-page {
    background-color: #1a73e8;
}

.header {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 45px;
    animation: fadeIn 2s ease-in-out;
    margin-top: 5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 10px;
}

    nav ul li a {
        text-decoration: none;
        color: #fff;
        font-weight: 600;
        animation: slideInNav 1.5s ease-in-out forwards;
        font-size: 12px;
        margin-right: 20px;
        opacity: 0;
        animation: slideInNav 1.5s ease-in-out forwards;
    }

.lg-screen {
    display: none;
    list-style: none;
}

.text-and-buttons h1,
.text-and-buttons p {
    opacity: 0;
    animation: slideUpText 1.5s ease-out forwards;
}

.text-and-buttons h1 {
    font-size: 15px;
    text-align: center;
    color: #fff;
    margin-bottom: 15px;
    margin-top: 20px;
    padding: 10px;
}

.text-and-buttons p {
    font-size: 10px;
    color: #fff;
    text-align: center;
    margin-bottom: 15px;
    padding: 5px;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    align-items: center;
}

    .buttons .btn {
        text-decoration: none;
        color: #fff;
        background-color: #01415B;
        padding: 10px;
        border-radius: 5px;
        text-align: center;
        transition: background-color 0.3s ease;
        animation: zoomInButton 2s ease-out forwards;
    }

.car-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    opacity: 0;
    animation: slideInCar 2s ease-out forwards;
}
/* Keyframes for animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInNav {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUpText {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomInButton {
    from {
        opacity: 0;
        transform: scale(0);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInCar {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* card */
.card {
    position: relative;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    padding-top: 10px;
}

.input-group1, .input-group2, .input-group3 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .input-group1 input, .input-group2 input, .input-group3 input {
        padding: 12px;
        border: 1px solid #ccc;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        font-size: 16px;
        outline: none;
        transition: all 0.3s ease;
    }
/* Input focus effect */
input:focus {
    border-color: #007bff;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

.input-group1 button, .input-group2 button, .input-group3 button {
    margin-top: 10px;
    width: 100%;
    max-width: 350px;
}

.btn {
    padding: 12px;
    background-color: #01415B;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.policy-group-right {
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* pricing-section */
.pricing-section {
    background-color: #f4f4f4;
}

.pricing-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    grid-auto-rows: 1fr;
    justify-items: center;
    align-items: center;
}

    .pricing-cards .pricing-card-content {
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        width: 300px;
        height: 100%;
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

.pricing-title {
    font-size: 20px;
    color: #01415B;
    font-weight: 700;
    text-align: center;
    padding-top: 30px;
    margin-bottom: 20px;
}

.pricing-card-content img {
    width: 250px;
}

.pricing-card-content h3 {
    font-size: 20px;
    color: #01415B;
    margin-bottom: 10px;
}

.pricing-card-content h4 {
    font-size: 20px;
    color: #023042;
    margin-bottom: 10px;
}

.pricing-card-content p {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.features p {
    font-size: 12px;
}

a {
    text-decoration: none;
}
/* Card button styles */
.card-buttons .btn {
    background-color: #01415B;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

    .card-buttons .btn.quick-buy-btn {
        background-color: #017BFF;
    }

    .card-buttons .btn:hover {
        background-color: #023042;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

.card-buttons .quick-buy-btn:hover {
    background-color: #005BB5;
}
/* Hover effect for cards */
.pricing-cards .pricing-card-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
/* Services section */
.services-section {
    background-color: #f8f9fa;
}

    .services-section h2 {
        padding-top: 40px;
        font-size: 20px;
        color: #01415B;
        margin-bottom: 10px;
        text-align: center;
    }

.subtext {
    font-size: 12px;
    color: #666;
    margin-bottom: 40px;
    text-align: center;
}

.services-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px;
}

.services-image {
    max-width: 350px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.services-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    grid-auto-rows: 1fr;
    justify-items: center;
    align-items: center;
}

.service {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.icon-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .icon-text i {
        font-size: 24px;
        color: #01415B;
    }

.service h3 {
    font-size: 20px;
    color: #01415B;
}

.service p {
    margin-top: 5px;
    color: #666;
    font-size: 16px;
    line-height: 1.4;
}
/* footer */
.footer {
    background-color: #01415B;
    padding: 40px 20px;
    color: #ffffff;
}

.footer-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logo-address .company-logo {
    max-width: 100px;
    margin-bottom: 10px;
}

.footer-social .address h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ffffff;
}

.footer-social .address p {
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
}
/* Social Media Section */
.footer-social h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ffffff;
}

.social-icons a {
    margin-right: 15px;
    color: #ffffff;
    font-size: 20px;
    text-decoration: none;
}

    .social-icons a:hover {
        color: #007bff;
    }
/* Newsletter Section */
.footer-newsletter h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-newsletter p {
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
    color: #ffffff;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
}

    .newsletter-form input[type="email"] {
        padding: 10px;
        font-size: 16px;
        margin-bottom: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        outline: none;
    }

        .newsletter-form input[type="email"]:focus {
            border-color: #007bff;
        }

    .newsletter-form button {
        padding: 10px;
        font-size: 16px;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

        .newsletter-form button:hover {
            background-color: #0056b3;
        }

.connect-with-us-text {
    margin-top: 20px;
}
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 20;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    width: 500px;
    max-width: 80%;
    height: auto;
    margin-bottom: 170px;
}

    .modal-content h2 {
        margin-bottom: 5px;
    }

.modal-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.modal-retrieve .modal-browncard input {
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
    color: #333;
}

input, select {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: border-color 0.3s ease;
}

    input:focus, select:focus {
        border-color: #1a73e8;
        outline: none;
    }

.retrieveBtn, .downloadBrownCardBtn {
    padding: 10px 10px;
    border: none;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
}

.closeBrownCardModal {
    background-color: red;
    margin-right: 10px;
}

.closeModalBtn {
    background-color: red;
    margin-right: 10px;
}

/* Show modal when active */
.modal.active {
    display: flex;
}

@media (width >= 40em) {
    /* nav */
    .lg-screen {
        display: flex;
        list-style: none;
    }

    .ul-mobile {
        display: none;
        list-style: none;
    }

    .logo img {
        width: 90px;
        margin-left: 20px;
    }
    /* content */
    .main-content {
        padding: 20px;
        display: flex;
    }

    .text-and-buttons h1 {
        font-size: 20px;
        text-align: start;
    }

    .text-and-buttons p {
        font-size: 15px;
        text-align: start;
    }

    .buttons {
        display: flex;
        flex-direction: row;
        gap: 20px;
        width: 100%;
        align-items: start;
    }

    .car-image img {
        width: 100%;
        max-width: 600px;
    }

    .card {
        display: flex;
        flex-direction: row;
        padding-top: 10px;
        justify-content: space-between;
        margin: 20px;
        padding: 20px;
    }

    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-section h2 {
        font-size: 30px;
    }

    .subtext {
        font-size: 15px;
    }

    .services-container {
        display: flex;
        flex-direction: row;
        align-items: start;
    }

    .footer-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .footer-logo-address,
    .footer-social,
    .footer-newsletter {
        flex: 1;
        margin: 20px;
    }

    .modal-content {
        margin-bottom: 300px;
    }
}

@media (width >= 60em) {
    .main-content {
        padding: 40px;
        display: flex;
    }

    .text-and-buttons h1 {
        font-size: 35px;
        text-align: start;
    }

    .text-and-buttons p {
        font-size: 20px;
        text-align: start;
    }

    .car-image img {
        width: 100%;
        max-width: 800px;
    }

    nav ul li a {
        font-size: 15px;
    }

    .logo img {
        width: 130px;
        margin-left: 40px;
    }

    .input-group {
        display: grid;
        grid-template-columns: repeat(2, 450px);
        grid-template-rows: auto;
    }

    .input-group2 {
        margin-left: 30px;
    }

    .pricing-cards {
        grid-template-columns: repeat(4, 1fr);
    }

    .services-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 60px;
    }

    .services-image {
        max-width: 600px;
        height: auto;
    }

    .service {
        padding: 35px;
    }

    .modal-content {
        margin-bottom: 170px;
    }
}
