/* Credit Card Page Styles */

/* Dream Credit Card Banner */
.dream-card-banner {
    background: linear-gradient(135deg, #1a237e, #283593);
    color: #fff;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.dream-card-content {
    padding: 20px 0;
}

.dream-card-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.dream-card-content h3 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.dream-card-content .highlight {
    color: #ffeb3b;
    font-weight: 700;
}

.trust-rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.trust-rating .stars {
    color: #ffeb3b;
    margin-right: 10px;
}

.trust-rating .rating-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.feature-list li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: #4caf50;
    margin-right: 10px;
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.cta-buttons .btn-outline-primary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.cta-buttons .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dream-card-image {
    position: relative;
    text-align: center;
}

.dream-card-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transform: rotate(5deg);
    transition: transform 0.3s ease;
}

.dream-card-image img:hover {
    transform: rotate(0deg) scale(1.05);
}

.offer-tag {
    display: inline-block;
    background-color: #ff4081;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 20px;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Media Queries for Dream Card Banner */
@media (max-width: 992px) {
    .dream-card-content h2 {
        font-size: 2rem;
    }
    .dream-card-content h3 {
        font-size: 1.5rem;
    }
    .dream-card-image {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .dream-card-banner {
        padding: 40px 0;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .cta-buttons .btn {
        width: 100%;
    }
}

/* Hero Section */
.credit-card-hero {
    background: linear-gradient(135deg, #0062cc, #0033cc);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.credit-card-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('../images/banks/credit-card/credit-card-bg.jpg');
    background-size: cover;
    opacity: 0.15;
    z-index: 0;
}

.credit-card-hero .container {
    position: relative;
    z-index: 1;
}

.credit-card-image-container {
    position: relative;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.credit-card-image {
    width: 400px;
    height: 250px;
    background: linear-gradient(135deg, #ff9800, #f44336);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.5s ease;
}

.credit-card-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.credit-card-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 60px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

.credit-card-image::after {
    content: '';
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

/* Credit Card Options Section */
.credit-card-item {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credit-card-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-badge {
    position: absolute;
    top: 0;
    right: 30px;
    background: #ff5722;
    color: #fff;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 0 0 10px 10px;
}

.card-type-icon {
    width: 70px;
    height: 70px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-type-icon i {
    font-size: 30px;
    color: #1976d2;
}

.credit-card-item h3 {
    margin-bottom: 15px;
    color: #333;
}

.credit-card-item p {
    color: #666;
    margin-bottom: 20px;
}

.card-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.card-features li {
    padding: 8px 0;
    color: #555;
}

.card-features li i {
    color: #4caf50;
    margin-right: 10px;
}

/* Requirements Section */
.credit-card-requirements {
    background-color: #f9f9f9;
}

.requirements-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    height: 100%;
    margin-bottom: 30px;
}

.requirements-card h3 {
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.requirements-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #1976d2;
}

.requirements-list {
    list-style: none;
    padding: 0;
}

.requirements-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.requirements-list li:last-child {
    border-bottom: none;
}

.requirements-list li i {
    color: #1976d2;
    margin-right: 15px;
    font-size: 18px;
    width: 25px;
    text-align: center;
}

/* Application Form */
.application-form-section {
    background-color: #fff;
}

.form-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

/* Card Form Modal */
.card-form-modal .modal-content {
    border-radius: 15px;
    overflow: hidden;
}

.card-form-modal .modal-header {
    background: linear-gradient(135deg, #0d47a1, #1976d2);
    color: #fff;
    border: none;
    padding: 20px 30px;
}

.card-form-modal .modal-body {
    padding: 30px;
}

.card-form-modal .form-label {
    font-weight: 500;
    color: #555;
}

.card-form-modal .btn-close {
    color: #fff;
    opacity: 1;
}

/* Bank Partners Section */
.bank-partners {
    background-color: #f9f9f9;
}

.bank-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.bank-logo:hover {
    transform: translateY(-5px);
}

.bank-logo img {
    max-height: 50px;
    max-width: 100%;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .credit-card-image {
        width: 300px;
        height: 200px;
    }
    
    .credit-card-hero {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    .credit-card-image-container {
        height: 200px;
        margin-top: 30px;
    }
    
    .credit-card-image {
        width: 250px;
        height: 160px;
    }
    
    .requirements-card {
        margin-bottom: 20px;
    }
}