﻿body {
    font-family: 'Inter', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #1a1a1a;
}

.digital {
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-section-container {
    text-align: center;
    border-radius: 12px;
    margin: 20px 0;
}

.hero-content-container {
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.5em;
    color: #4a4a4a;
    margin-bottom: 5px;
}

.content-container {
    padding: 5px 0;
    text-align: center;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    justify-content: center;
    gap: 50px;
    padding: 0 20px;
    margin: 0 auto;
}

.card-item {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 320px;
}

    .card-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .card-item.animate {
        animation: fadeInUp 0.6s ease-out;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cover-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 16px;
}

.card-title {
    font-size: 1.6em;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.card-description {
    font-size: 1em;
    color: #4a4a4a;
    line-height: 1.6;
}

.plans-container {
    padding: 10px 10px;
    border-radius: 12px;
}

.plan-heading {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #af301a;
}

.plan-filter {
    display: flex;
    justify-content: center;
}

.form-select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #d1d1d1;
    font-size: 1em;
}

.plans-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 340px));
    justify-content: center;
    gap: 24px;
    padding: 0 20px;
    max-width: 1140px;
    margin: 0 auto;
    align-items: stretch;
}

.plan-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 340px;
    align-self: start;
}

    .plan-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

.animate-card {
    animation: fadeInUp 0.6s ease-out;
}

.card-body {
    padding: 24px;
}

.plan-title {
    font-size: 1.8em;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.plan-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.price-text {
    font-size: 2.2em;
    font-weight: 700;
    color: #2e7d32;
}

.tenure-text {
    font-size: 1em;
    color: #4a4a4a;
}

.recurring-type {
    display: block;
    font-size: 0.9em;
    font-weight: 500;
    color: #0288d1;
    margin-bottom: 16px;
}

.subscription-description {
    font-size: 1em;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 20px;
}

.truncated-description {
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 19.8em;
}

.see-more-btn {
    background: none;
    border: none;
    color: #af301a;
    font-size: 0.9em;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    margin-top: 8px;
    transition: color 0.3s ease;
}

    .see-more-btn:hover {
        color: #922714;
        text-decoration: underline;
    }

.get-started-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(to right, #0d6efd, #4dabf7); /* Blue gradient left to right */
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    font-size: 1.1em;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
}

    .get-started-btn:hover {
        background: linear-gradient(to left, #0d6efd, #4dabf7); /* Reverse gradient on hover */
        transform: translateY(-2px);
    }

.no-plans {
    text-align: center;
    font-size: 1.2em;
    color: #4a4a4a;
    padding: 20px;
    grid-column: 1 / -1;
}

.contact-us-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #af301a;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 24px;
    font-size: 1em;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

    .contact-us-btn:hover {
        background-color: #922714;
        transform: translateY(-2px);
    }

.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.contact-modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-out;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5em;
    color: #4a4a4a;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .close-modal:hover {
        color: #af301a;
    }

.contact-form h2 {
    font-size: 1.8em;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    text-align: center;
}

.contact-form .input-group {
    margin-bottom: 15px;
}

.contact-form .form-control {
    width: 100%;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    font-size: 1em;
}

.contact-form .btn-submit {
    background-color: #af301a;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .contact-form .btn-submit:hover {
        background-color: #922714;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 1200px) {
    .hero-title {
        font-size: 2.8em;
    }

    .hero-subtitle {
        font-size: 1.3em;
    }

    .plan-heading {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2em;
    }

    .hero-subtitle {
        font-size: 1.1em;
    }

    .plan-heading {
        font-size: 1.8em;
    }

    .card-title {
        font-size: 1.4em;
    }

    .plan-title {
        font-size: 1.6em;
    }

    .price-text {
        font-size: 1.8em;
    }

    .card-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    }

    .plans-row {
        grid-template-columns: repeat(auto-fit, minmax(300px, 340px));
    }
}

@media (max-width: 480px) {
    .hero-subtitle {
        font-size: 0.9em;
    }

    .plan-heading {
        font-size: 1.5em;
    }

    .card-title {
        font-size: 1.2em;
    }

    .card-description {
        font-size: 0.9em;
    }

    .plan-title {
        font-size: 1.4em;
    }

    .price-text {
        font-size: 1.6em;
    }

    .get-started-btn {
        padding: 12px 20px;
        font-size: 0.9em;
    }

    .cover-image {
        width: 50px;
        height: 50px;
    }

    .card-container {
        grid-template-columns: 1fr;
    }

    .plans-row {
        grid-template-columns: 1fr;
    }

    .contact-us-btn {
        padding: 12px 20px;
        font-size: 0.9em;
    }

    .contact-modal-content {
        width: 95%;
        padding: 16px;
    }
}

@media (min-width: 1240px) {
    .digital {
        margin-top: 100px;
    }
}

.error-message {
    color: #d32f2f;
    font-size: 0.85em;
    margin-top: 5px;
    display: block;
}

.form-control.ng-touched.ng-invalid {
    border-color: #d32f2f;
    box-shadow: 0 0 5px rgba(211, 47, 47, 0.3);
}

.btn-submit:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.6;
}
.modal.fade {
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1;
    min-height: 100vh;
}

.modal-dialog {
    max-width: 500px;
    margin: 10vh auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
}

.modal-header {
    border-bottom: 1px solid #e5e5e5;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #1a1a1a;
}

.modal-body {
    padding: 20px;
    text-align: center;
}

.success-icon {
    color: #2e7d32;
    font-size: 3em;
    margin-bottom: 10px;
}

.failure-icon {
    color: #d32f2f;
    font-size: 3em;
    margin-bottom: 10px;
}

.modal-body p {
    font-size: 1em;
    color: #4a4a4a;
    line-height: 1.6;
    margin: 0;
}

.modal {
    z-index: 2050;
}

.modal-backdrop {
    z-index: 2040;
    background-color: rgba(0, 0, 0, 0.5);
}

@media (max-width: 576px) {
    .modal-dialog {
        margin: 5vh auto 0;
        width: 95%;
    }

    .modal-title {
        font-size: 1.3em;
    }

    .success-icon, .failure-icon {
        font-size: 2.5em;
    }

    .modal-body p {
        font-size: 0.9em;
    }
}