@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');
/* Base Styles */
:root {
--primary-color: #d32f2f;
--primary-dark: #b71c1c;
--primary-light: #ef5350;
--secondary-color: #1e88e5;
--secondary-dark: #1565c0;
--secondary-light: #42a5f5;
--dark-color: #333333;
--light-color: #f8f9fa;
--gray-color: #6c757d;
--light-gray: #e9ecef;
--success-color: #28a745;
--warning-color: #ffc107;
--danger-color: #dc3545;
--info-color: #17a2b8;
--font-primary: 'Arial', sans-serif;
--font-secondary: 'Helvetica', sans-serif;
--box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
--transition: all 0.3s ease;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body {
/*font-family: var(--font-primary);*/
font-family: 'Nunito Sans', 'Open Sans', Arial, sans-serif;
line-height: 1.6;
color: var(--dark-color);
background-color: #fff;
}

body.mobile-menu-open {
overflow: hidden;
}

.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 15px;
}

a {
text-decoration: none;
color: var(--primary-color);
transition: var(--transition);
}

a:hover {
color: var(--primary-color);
}

ul {
list-style: none;
}

img {
max-width: 100%;
height: auto;
}

.btn {
display: inline-block;
padding: 10px 20px;
border-radius: 4px;
font-weight: 600;
text-align: center;
cursor: pointer;
transition: var(--transition);
border: none;
}

.btn-primary {
background-color: var(--primary-color);
color: white;
border: 1px solid var(--light-color);
border-radius: 50px;
}

.btn-primary:hover {
background-color: var(--light-color);
color: var(--primary-dark);
}

.btn-secondary {
background-color: var(--primary-color);
color: white;
border-radius: 50px;
}

.btn-secondary:hover {
background-color: var(--primary-dark);
color: white;
}

.btn-block {
display: block;
width: 100%;
}

.section-title {
text-align: center;
margin-bottom: 40px;
font-size: 2rem;
color: var(--dark-color);
}

/* Notification Banner */
.notification-banner {
background-color: #ffecb3;
padding: 10px 0;
position: relative;
}

.notification-banner .container {
display: flex;
align-items: center;
justify-content: center;
}

.notification-banner i {
color: var(--warning-color);
margin-right: 10px;
}

.notification-banner button {
background: none;
border: none;
color: var(--secondary-color);
cursor: pointer;
margin-left: 10px;
font-weight: 600;
}

.notification-banner .close-btn {
position: absolute;
right: 20px;
top: 50%;
transform: translateY(-50%);
background: none;
border: none;
cursor: pointer;
color: var(--gray-color);
}

/* FDIC Notice */
.fdic-notice {
background-color: #f5f5f5;
padding: 8px 0;
font-size: 0.9rem;
text-align: center;
border-bottom: 1px solid #e0e0e0;
}

/* Header Styles */
header {
background-color: white;
box-shadow: var(--box-shadow);
position: relative;
}

.top-nav {
display: flex;
justify-content: space-between;
padding: 10px 0;
border-bottom: 1px solid var(--light-gray);
font-size: 0.9rem;
}

.top-nav a {
color: var(--dark-color);
margin-right: 15px;
font-weight: 500;
}

.top-nav a:last-child {
margin-right: 0;
}

.top-nav a.active {
color: var(--primary-color);
font-weight: 600;
}

.main-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 0;
}

.logo h1 {
color: var(--primary-color);
font-size: 1.8rem;
font-weight: 700;
letter-spacing: 1px;
}

.search-container {
display: flex;
align-items: center;
}

.search-container input {
padding: 8px 12px;
border: 1px solid var(--light-gray);
border-radius: 4px 0 0 4px;
width: 200px;
}

.search-container button {
background-color: var(--primary-color);
color: white;
border: none;
padding: 8px 12px;
border-radius: 0 4px 4px 0;
cursor: pointer;
}

.main-nav {
background-color: #f8f9fa;
border-top: 1px solid var(--light-gray);
border-bottom: 1px solid var(--light-gray);
}

.main-nav ul {
display: flex;
justify-content: space-between;
}

.main-nav li {
position: relative;
}

.main-nav a {
display: block;
padding: 15px 20px;
color: var(--dark-color);
font-weight: 700;
text-align: center;
transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
color: var(--primary-color);
background-color: rgba(211, 47, 47, 0.05);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
display: none;
background: none;
border: none;
color: var(--primary-color);
font-size: 1.5rem;
cursor: pointer;
padding: 5px;
transition: var(--transition);
}

.mobile-menu-toggle:hover {
color: var(--primary-dark);
}

/* Mobile Navigation */
.mobile-nav-container {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 1000;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-container.active {
opacity: 1;
visibility: visible;
}

.mobile-nav {
position: absolute;
top: 0;
right: 0;
width: 85%;
max-width: 350px;
height: 100%;
background-color: white;
padding: 20px;
overflow-y: auto;
transform: translateX(100%);
transition: transform 0.3s ease;
box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-nav-container.active .mobile-nav {
transform: translateX(0);
}

.mobile-nav-section {
margin-bottom: 30px;
}

.mobile-nav-section h3 {
color: var(--primary-color);
font-size: 1.2rem;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 1px solid var(--light-gray);
}

.mobile-nav-section ul {
margin-bottom: 20px;
}

.mobile-nav-section li {
margin-bottom: 10px;
}

.mobile-nav-section a {
display: block;
padding: 10px 15px;
color: var(--dark-color);
font-weight: 600;
border-radius: 4px;
transition: var(--transition);
}

.mobile-nav-section a:hover,
.mobile-nav-section a.active {
background-color: rgba(211, 47, 47, 0.1);
color: var(--primary-color);
}

/* Mobile Nav Close Button */
.mobile-nav-close {
position: absolute;
top: 15px;
right: 15px;
background-color: var(--primary-color);
color: white;
width: 36px;
height: 36px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
cursor: pointer;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
border: none;
transition: background-color 0.3s ease, transform 0.3s ease;
z-index: 10;
}

.mobile-nav-close:hover {
background-color: var(--primary-dark);
transform: rotate(90deg);
}

/* Hero Section */
.hero {background: url(../img/preloader.svg);background-color: var(--light-color);padding: 60px 0;}

.hero-content {
display: flex;
align-items: center;
gap: 40px;
}

.login-panel {
background-color: var(--primary-color);
padding: 30px;
border-radius: 8px;
box-shadow: var(--box-shadow);
width: 350px;
border-top: 4px solid var(--primary-color);
}

.login-panel h2 {
margin-bottom: 5px;
color: var(--light-color);
}

.login-panel p {
color: var(--light-color);
margin-bottom: 20px;
}

.form-group {
margin-bottom: 15px;
}

.form-group input {
width: 100%;
padding: 10px;
border: 1px solid var(--light-gray);
border-radius: 4px;
}

.password-group {
position: relative;
}

.show-password {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
background: none;
border: none;
color: var(--primary-color);
cursor: pointer;
}

.checkbox-group {
display: flex;
align-items: center;
}

.checkbox-group input {
width: auto;
margin-right: 10px;
}

.login-links {
margin-top: 20px;
font-size: 0.9rem;
}

.login-links a {
display: block;
margin-bottom: 8px;
color: var(--light-color););
}

.enroll-link {
float: right;
font-weight: 600;
color: var(--light-color);
}

.hero-promo {
flex: 1;
padding: 40px;
background-color: white;
border-radius: 8px;
box-shadow: var(--box-shadow);
text-align: center;
}

.hero-promo h1 {
font-size: 2.5rem;
color: var(--primary-color);
margin-bottom: 20px;
}

.hero-promo p {
font-size: 1.2rem;
margin-bottom: 30px;
}

/* Featured Cards Section */
.featured-cards {
padding: 80px 0;
}

.cards-container {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 20px;
}

.card {
background-color: white;
border-radius: 8px;
box-shadow: var(--box-shadow);
overflow: hidden;
width: calc(25% - 15px);
transition: var(--transition);
}

.card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-header {
padding: 20px;
text-align: center;
background-color: #f8f9fa;
}

.card-header .bonus {
font-size: 2rem;
font-weight: 700;
color: var(--primary-color);
display: block;
}

.card-header p {
color: var(--gray-color);
font-size: 0.9rem;
}

.card-header .fee {
font-weight: 600;
margin-top: 10px;
display: block;
}

.card-image {
height: 180px;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
}

.card-content {
padding: 20px;
}

.card-content h3 {
margin-bottom: 10px;
}

.card-content p {
color: var(--gray-color);
margin-bottom: 15px;
}

.card-link {
color: var(--primary-color);
font-weight: 600;
}

.card-link i {
margin-left: 5px;
font-size: 0.8rem;
}

/* Offers Section */
.offers {
padding: 60px 0;
background-color: var(--light-color);
}

.offers-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
}

.offer-item {
background-color: white;
border-radius: 8px;
box-shadow: var(--box-shadow);
padding: 30px;
display: flex;
align-items: flex-start;
transition: var(--transition);
}

.offer-item:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.offer-icon {
font-size: 2rem;
color: var(--primary-color);
margin-right: 20px;
}

.offer-content h3 {
margin-bottom: 10px;
}

.offer-content p {
color: var(--gray-color);
margin-bottom: 15px;
}

.offer-link {
font-weight: 600;
color: var(--primary-color);
}

.offer-link i {
margin-left: 5px;
font-size: 0.8rem;
}

/* Features Section */
.features {
padding: 80px 0;
}

.features-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 30px;
}

.feature-item {
text-align: center;
padding: 30px;
border-radius: 8px;
background-color: white;
box-shadow: var(--box-shadow);
transition: var(--transition);
}

.feature-item:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
font-size: 2.5rem;
color: var(--primary-color);
margin-bottom: 20px;
}

.feature-item h3 {
margin-bottom: 15px;
}

.feature-item p {
color: var(--gray-color);
margin-bottom: 20px;
}

.feature-link {
font-weight: 600;
color: var(--primary-color);
}

/* Footer */
footer {
background-color: #333;
color: white;
padding-top: 60px;
}

.footer-main {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 30px;
padding-bottom: 40px;
}

.footer-section h3 {
color: white;
margin-bottom: 20px;
font-size: 1.2rem;
}

.footer-section ul li {
margin-bottom: 10px;
}

.footer-section ul li a {
color: #ccc;
transition: var(--transition);
}

.footer-section ul li a:hover {
color: white;
}

.social-icons {
display: flex;
gap: 15px;
margin-bottom: 20px;
}

.social-icons a {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 50%;
color: white;
transition: var(--transition);
}

.social-icons a:hover {
background-color: var(--primary-color);
color: white;
}

.app-download p {
margin-bottom: 15px;
}

.app-buttons {
display: flex;
gap: 10px;
}

.app-button {
display: flex;
align-items: center;
background-color: rgba(255, 255, 255, 0.1);
padding: 8px 12px;
border-radius: 4px;
color: white;
transition: var(--transition);
}

.app-button:hover {
background-color: rgba(255, 255, 255, 0.2);
color: white;
}

.app-button i {
margin-right: 8px;
font-size: 1.2rem;
}

.footer-bottom {
background-color: #222;
padding: 20px 0;
}

.footer-bottom .container {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
}

.footer-links {
display: flex;
gap: 20px;
}

.footer-links a {
color: #ccc;
font-size: 0.9rem;
}

.footer-links a:hover {
color: white;
}

.copyright {
color: #ccc;
font-size: 0.9rem;
text-align: right;
}

/* Page Header */
.page-header {
background-color: var(--light-color);
padding: 60px 0;
text-align: center;
}

.page-header h1 {
font-size: 2.5rem;
margin-bottom: 15px;
}

.page-header p {
font-size: 1.2rem;
color: var(--gray-color);
max-width: 700px;
margin: 0 auto;
}

/* Checking Page Styles */
.checking-offer {
padding: 60px 0;
}

.offer-banner {
display: flex;
align-items: center;
background-color: white;
border-radius: 8px;
box-shadow: var(--box-shadow);
overflow: hidden;
}

.offer-content {
padding: 40px;
flex: 1;
}

.offer-content h2 {
font-size: 2rem;
color: var(--primary-color);
margin-bottom: 15px;
}

.offer-image {
flex: 1;
height: 300px;
background-color: #f5f5f5;
display: flex;
align-items: center;
justify-content: center;
}

.comparison-table-wrapper {
overflow-x: auto;
}

.comparison-table {
width: 100%;
border-collapse: collapse;
margin-bottom: 40px;
}

.comparison-table th,
.comparison-table td {
padding: 15px;
text-align: left;
border-bottom: 1px solid var(--light-gray);
}

.comparison-table th {
background-color: #f8f9fa;
font-weight: 600;
}

.comparison-table td ul {
padding-left: 20px;
list-style-type: disc;
}

.comparison-table td ul li {
margin-bottom: 5px;
}

.comparison-table i.fa-check {
color: var(--success-color);
}

.comparison-table i.fa-times {
color: var(--danger-color);
}

.checking-features {
padding: 60px 0;
background-color: var(--light-color);
}

/* CTA Section */
.cta-section {
padding: 80px 0;
background-color: var(--primary-color);
color: white;
text-align: center;
}

.cta-content h2 {
font-size: 2rem;
margin-bottom: 15px;
}

.cta-content p {
font-size: 1.2rem;
margin-bottom: 30px;
max-width: 700px;
margin-left: auto;
margin-right: auto;
}

.cta-buttons {
display: flex;
justify-content: center;
gap: 20px;
}

.cta-section .btn-primary {
background-color: white;
color: var(--primary-color);
}

.cta-section .btn-primary:hover {
background-color: #f0f0f0;
}

.cta-section .btn-secondary {
background-color: transparent;
border: 2px solid white;
}

.cta-section .btn-secondary:hover {
background-color: rgba(255, 255, 255, 0.1);
}

/* FAQ Section */
.faq-section {
padding: 80px 0;
}

.faq-container {
max-width: 800px;
margin: 0 auto;
}

.faq-item {
margin-bottom: 20px;
border: 1px solid var(--light-gray);
border-radius: 8px;
overflow: hidden;
}

.faq-question {
padding: 20px;
background-color: #f8f9fa;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
}

.faq-question h3 {
margin: 0;
font-size: 1.1rem;
}

.faq-answer {
padding: 0 20px;
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
padding: 20px;
max-height: 500px;
}

.faq-item.active .faq-question i {
transform: rotate(180deg);
}

/* Credit Cards Page Styles */
.card-finder {
padding: 60px 0;
}

.finder-container {
max-width: 800px;
margin: 0 auto;
background-color: white;
border-radius: 8px;
box-shadow: var(--box-shadow);
padding: 40px;
text-align: center;
}

.finder-container h2 {
margin-bottom: 10px;
}

.finder-container p {
color: var(--gray-color);
margin-bottom: 30px;
}

.finder-form {
text-align: left;
}

.finder-form label {
display: block;
margin-bottom: 8px;
font-weight: 600;
}

.finder-form .form-control {
width: 100%;
padding: 12px;
border: 1px solid var(--light-gray);
border-radius: 4px;
margin-bottom: 20px;
}

.finder-results {
margin-top: 30px;
display: none;
}

.cards-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 30px;
margin-top: 40px;
}

.card-item {
display: flex;
background-color: white;
border-radius: 8px;
box-shadow: var(--box-shadow);
overflow: hidden;
transition: var(--transition);
}

.card-item:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-image {
/* width: 40%; */
padding: 20px;
display: flex;
align-items: center;
justify-content: center;
background-color: #f8f9fa;
}

.card-details {
width: 60%;
padding: 20px;
}

.card-header h3 {
margin-bottom: 10px;
}

.card-offer {
margin-bottom: 15px;
}

.card-offer .offer-amount {
font-size: 1.5rem;
font-weight: 700;
color: var(--primary-color);
}

.card-offer .offer-text {
font-size: 1.2rem;
font-weight: 700;
color: var(--primary-color);
}

.card-features ul {
margin-bottom: 20px;
}

.card-features li {
margin-bottom: 8px;
display: flex;
align-items: flex-start;
}

.card-features li i {
color: var(--success-color);
margin-right: 10px;
margin-top: 4px;
}

.card-actions {
display: flex;
gap: 10px;
}

.benefits-section {
padding: 80px 0;
background-color: var(--light-color);
}

.benefits-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 30px;
}

.benefit-item {
background-color: white;
border-radius: 8px;
box-shadow: var(--box-shadow);
padding: 30px;
text-align: center;
transition: var(--transition);
}

.benefit-item:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
font-size: 2.5rem;
color: var(--primary-color);
margin-bottom: 20px;
}

.benefit-item h3 {
margin-bottom: 15px;
}

.benefit-item p {
color: var(--gray-color);
}

/* Responsive Styles */
@media (max-width: 1200px) {
.cards-container {
justify-content: center;
}

.card {
width: calc(33.33% - 20px);
}

.features-grid,
.benefits-grid {
grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 992px) {
.hero-content {
flex-direction: column;
}

.login-panel {
width: 100%;
max-width: 400px;
display: none;
}

.offers-grid {
grid-template-columns: repeat(2, 1fr);
}

.footer-main {
grid-template-columns: repeat(3, 1fr);
}

.card {
width: calc(50% - 15px);
}

.cards-grid {
grid-template-columns: 1fr;
}

.mobile-menu-toggle {
display: block;
}

.mobile-nav-container {
display: block;
}

.main-nav {
display: none;
}
}

@media (max-width: 768px) {
.top-nav {
display: none;
}

.main-header {
flex-direction: row;
justify-content: space-between;
align-items: center;
padding: 15px 15px;
}

.logo {
margin-bottom: 0;
}

.logo img {
height: 32px;
}

.search-container {
display: none;
}

.offers-grid,
.features-grid,
.benefits-grid {
grid-template-columns: 1fr;
}

.card {
width: 100%;
}

.footer-main {
grid-template-columns: repeat(2, 1fr);
}

.footer-bottom .container {
flex-direction: column;
}

.footer-links {
margin-bottom: 20px;
justify-content: center;
flex-wrap: wrap;
}

.copyright {
text-align: center;
}

.offer-banner {
flex-direction: column;
}

.offer-content,
.offer-image {
width: 100%;
}

.card-item {
flex-direction: column;
}

.card-image,
.card-details {
width: 100%;
}
}

@media (max-width: 576px) {
.footer-main {
grid-template-columns: 1fr;
}

.cta-buttons {
flex-direction: column;
}

.card-actions {
flex-direction: column;
}

.mobile-nav {
width: 100%;
max-width: none;
}
}

/* Animation Effects */
[data-aos] {
opacity: 0;
transition: opacity 0.8s, transform 0.8s;
}

[data-aos="fade-up"] {
transform: translateY(50px);
}

[data-aos="fade-right"] {
transform: translateX(-50px);
}

[data-aos="zoom-in"] {
transform: scale(0.9);
}

[data-aos].aos-animate {
opacity: 1;
transform: translateY(0) translateX(0) scale(1);
}