﻿body {
    padding-top: 50px; /* adjust if your navbar is taller */
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

p {
    font-family: 'Open Sans', sans-serif;
}

.hero {
    background: linear-gradient(135deg, #1d3557, #457b9d);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero img {
    border-radius: 10px; /* Optional for rounded corners */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); /* Adds shadow for smooth blending */
}

.feature-icon {
    font-size: 3rem;
    color: #457b9d;
}

footer {
    background: #1d3557;
    color: white;
    padding: 20px 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
/* Targeting the div surrounding the reCAPTCHA */
.g-recaptcha {
    background-color: transparent !important;
    padding: 0 !important;
}

/* Optional: You can also adjust the reCAPTCHA's border and other properties */
.g-recaptcha div {
    border: none !important;
}

.learn-more-btn {
    /*display: none; /* hide by default */
    display: inline-block; /* hide by default */
}

.card:hover .learn-more-btn {
    display: inline-block; /* show only when hovering over the card */
}

.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: contain; /* prevent cropping */
    background-color: #f8f9fa; /* optional neutral background */
}

.why-bg {
    background-color: #e6f0fa;
}

/* Change modal background and text color */
#loadingModal .modal-content {
    background-color: #f0f4ff !important; /* light bluish background */
    color: #003366 !important; /* infinityONE dark blue text */
}

/* Change spinner color */
#loadingModal .spinner-border {
    border-color: #003366 !important;
    border-right-color: transparent !important; /* keep the spinning effect */
}

.overlay-text {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 4px 8px;
    font-size: 0.9rem;
    border-radius: 4px;
    pointer-events: none;
}

.modal-header.dark-blue {
    background: linear-gradient(135deg, #1d3557, #457b9d);
    color: white;
}

.modal-header.dark-blue .btn-close {
    filter: invert(1); /* makes close button white */
}

.mockup-frame {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    max-width: 100%;
}

.mockup-header {
    background: #f0f0f0;
    height: 36px;
    display: flex;
    align-items: center;
    padding-left: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    display: inline-block;
}

.mockup-body {
    padding: 12px;
}

/* Limit image size */
.mockup-image {
    max-height: 300px;
    width: auto;
    display: block;
    margin: 0 auto;
}

select.form-control {
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23666' d='M2 0L0 2h4L2 0zM2 5L0 3h4L2 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 0.65em auto;
    padding-right: 2rem;
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .mockup-frame {
        max-width: 100%;
        margin-top: 20px;
    }

    .mockup-body {
        padding: 10px;
    }

    .mockup-image {
        max-height: 240px; /* adjust to avoid overflow */
        width: 100%;
        object-fit: contain;
    }
}

.btn-outline-white {
    border: 2px solid #fff;
    color: #fff;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 600;
    background: transparent;
    transition: all 0.3s ease;
}

    .btn-outline-white:hover {
        background: #fff;
        color: #007bff;
    }

    .btn-outline-white i {
        color: #fff;
        transition: all 0.3s ease;
    }

    .btn-outline-white:hover i {
        color: #007bff;
    }

    .btn-outline-white:hover i.bi-whatsapp {
        color: #25D366;
    }