/* =========================
   GLOBAL STYLES START
   ========================= */

/* Apply Roboto font to the entire website */
* {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f8f9fa;
    line-height: 1.6;
    color: #333;
}

/* Conta iner */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding:3px;
}

/* =========================
   GLOBAL STYLES END
   ========================= */

/* =========================
   HEADER STYLES START
   ========================= */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000;
    padding: 3px 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo {
    flex: 1;
}

.logo-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

header .logo-img {
    height: 70px;
    width: auto;
    margin: 0px;
}

header nav {
    flex: 3;
}

header nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}

header nav ul li {
    margin-left: 30px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

header nav ul li a:hover {
    color: #FFD700;
    background-color: rgba(255, 215, 0, 0.1);
}

/* =========================
   HEADER STYLES END
   ========================= */

/* =========================
   CONTENT AREA START
   ========================= */

/* Content area - Remove default padding for home page */
.content {
    padding: 0;
    min-height: calc(100vh - 200px);
}

/* =========================
   CONTENT AREA END
   ========================= */

/* =========================
   HERO SECTION START
   ========================= */
/* =========================
   HEADING / HERO STRIP ONLY
   ========================= */

.custom-hero{
  position: relative;
  background: #f3f2f2;
  padding: 12px 0 22px;
  overflow: hidden;
}

/* Scope variables to this component only (won't touch buttons) */
.custom-hero{
  --logo-h: clamp(54px, 6.2vw, 92px);   /* logo height scales with viewport */
  --gap:    clamp(16px, 2.2vw, 34px);   /* spacing scales with viewport */
  --speed:  22s;                        /* lower = faster */
}

/* Brand strip container */
.brand-mask{
  overflow: hidden;
  width: 100%;
  margin: 0 auto 10px;
}

/* Seamless loop:
   - Track must contain two identical sets (A + A) in your HTML
   - We avoid padding so the loop aligns perfectly
*/
.brand-track{
  display: inline-flex;
  align-items: center;
  gap: var(--gap);
  will-change: transform;
  animation: marquee var(--speed) linear infinite;
  /* left->right feel; remove for right->left */
  animation-direction: reverse;
}

.brand-track li{ list-style: none; }
.brand-track .card-img{
  height: var(--logo-h);
  width: auto;
  display: block;
  object-fit: contain;
  /* very light polish; remove if you want them flat */
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.12));
  transition: transform .2s ease;
}
.brand-track .card-img:hover{ transform: translateY(-1px); }

/* Move by width of the first set (50% of duplicated track) */
@keyframes marquee{
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-50%,0,0); }
}

/* Typography block — no button styles changed */
.custom-hero-content{
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  text-align: center;
}
.custom-hero-content h1{
  margin: 8px 0 6px;
  font-weight: 800;
  font-size: clamp(1.8rem, 2.2vw + 1rem, 2.6rem);
  line-height: 1.15;
  color: #0b1220;
  text-shadow: 0 3px 10px rgba(10,11,71,.18);
}
.custom-hero-content p{
  margin: 0 0 14px;
  color: #4a5568;
  font-size: clamp(.95rem, .35vw + .85rem, 1.05rem);
}

/* Responsive speed tweaks (optional) */
@media (max-width: 992px){
  .custom-hero{ --speed: 20s; }
}
@media (max-width: 768px){
  .custom-hero{ --speed: 18s; }
}


/* Hero Content (Text and Buttons) */
.hero-content {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

/* Hero Title */
.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #000000;
    text-shadow: 2px 5px 10px #0a0b47; /* Glowing text effect */
}

/* Hero Paragraph */
.hero p {
    font-size: 1rem;
    margin-bottom: 10px;
}

/* Call to Action Buttons */
:root {
  --primary-color: #040404;
  --primary-hover: #e74c3c;
  --secondary-color: #000000;
  --success-color: #09e063;
  --danger-color: #e74c3c;
  --text-primary: #003366;
  --text-secondary: #000000;
  --border-color: #50ff06;
  --background-light: #f8f9fa;
  --card-background: #ffffff;
  --focus-color: #cded2e;
  --button-text-color: #f8f7f7;
  --border-radius: 8px;
  --hover-color: #00ffdd;
  --button-padding: 10px 20px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --box-shadow-color: rgba(217, 19, 19, 0.3);
  --transition: all 0.3s ease;
  
  /* New button colors */
  --btn-blue: #003366;
  --btn-red: #dc143c;
  --btn-gold: #ffd700;
  --btn-gold-dark: #ffb700;
}

.cta-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

/* Base button style */
.cta-buttons .btn {
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    user-select: none;
    -webkit-user-select: none;
}

/* Golden shimmer effect for all buttons */
.cta-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 215, 0, 0.4),
        transparent
    );
    transition: left 0.6s ease;
}

.cta-buttons .btn:hover::before {
    left: 100%;
}

/* Blue & Gold Primary Button */
.btn-primary {
    background: linear-gradient(135deg, var(--btn-blue) 0%, #004080 100%);
    box-shadow: 
        0 8px 25px rgba(0, 51, 102, 0.3),
        0 3px 10px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    background: linear-gradient(135deg, #004080 0%, var(--btn-blue) 100%);
    box-shadow: 
        0 12px 35px rgba(255, 215, 0, 0.4),
        0 5px 15px rgba(0, 51, 102, 0.3);
}

/* Red & Gold Secondary Button */
.btn-secondary {
    background: linear-gradient(135deg, var(--btn-red) 0%, #b91c1c 100%);
    box-shadow: 
        0 8px 25px rgba(220, 20, 60, 0.3),
        0 3px 10px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    transform: translateY(-2px) scale(1.02);
    background: linear-gradient(135deg, #b91c1c 0%, var(--btn-red) 100%);
    box-shadow: 
        0 12px 35px rgba(255, 215, 0, 0.4),
        0 5px 15px rgba(220, 20, 60, 0.3);
}

/* Gold Accent Button */
.btn-gold {
    background: linear-gradient(135deg, var(--btn-gold) 0%, var(--btn-gold-dark) 100%);
    color: var(--btn-blue);
    font-weight: 700;
    box-shadow: 
        0 8px 25px rgba(255, 215, 0, 0.4),
        0 3px 10px rgba(0, 0, 0, 0.2);
}

.btn-gold::before {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
}

.btn-gold:hover {
    transform: translateY(-2px) scale(1.02);
    background: linear-gradient(135deg, var(--btn-gold-dark) 0%, var(--btn-gold) 100%);
    box-shadow: 
        0 12px 40px rgba(255, 215, 0, 0.5),
        0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Outline variants with shimmer */
.btn-outline-blue {
    background: transparent;
    border: 2px solid var(--btn-blue);
    color: var(--btn-blue);
    box-shadow: 
        0 0 20px rgba(0, 51, 102, 0.2),
        inset 0 0 20px rgba(0, 51, 102, 0.05);
}

.btn-outline-blue:hover {
    background: var(--btn-blue);
    color: var(--btn-gold);
    border-color: var(--btn-gold);
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.4),
        0 8px 25px rgba(0, 51, 102, 0.3);
}

.btn-outline-red {
    background: transparent;
    border: 2px solid var(--btn-red);
    color: var(--btn-red);
    box-shadow: 
        0 0 20px rgba(220, 20, 60, 0.2),
        inset 0 0 20px rgba(220, 20, 60, 0.05);
}

.btn-outline-red:hover {
    background: var(--btn-red);
    color: white;
    border-color: var(--btn-gold);
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.4),
        0 8px 25px rgba(220, 20, 60, 0.3);
}

/* Active states */
.cta-buttons .btn:active {
    transform: translateY(0) scale(0.98);
}

/* Focus states */
.cta-buttons .btn:focus {
    outline: none;
    box-shadow: 
        0 0 0 3px rgba(255, 215, 0, 0.5),
        0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Ripple effect */
.cta-buttons .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.cta-buttons .btn:active::after {
    width: 300px;
    height: 300px;
    opacity: 0;
    transition: width 0s, height 0s, opacity 0.6s;
}

/* Ensure text stays on top */
.cta-buttons .btn span {
    position: relative;
    z-index: 1;
}

/* Disabled state */
.cta-buttons .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.cta-buttons .btn:disabled:hover::before {
    left: -100%;
}


/* =========================
   HERO SECTION END
   ========================= */

/* =========================
   CHECK CREDIT SCORE SECTION START
   ========================= */

/* Section Title */
.section-title {
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #003366;
    font-weight: bold;
}

.section-title p {
    font-size: 1rem;
    color: #555;
    margin-top: 10px;
}

/* Card Styles */
.credit-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    background-color: #fff;
}

.credit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

/* Card Body */
.card-body {
    padding: 20px;
    text-align: center;
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.card-description {
    font-size: 1rem;
    color: #777;
    margin-bottom: 20px;
}
/* =========================
   CHECK CREDIT SCORE SECTION END
   ========================= */


/* =========================
   SECTION TITLE START
   ========================= */

.section-title {
    text-align: center;
    margin-bottom: 5px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1px;
}

.section-title p {
    font-size: 1 rem;
    color: #666;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================
   SECTION TITLE END
   ========================= */

/* =========================
   ACTION SECTION START
   ========================= */

.action-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.action-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.action-section .section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.action-section .section-title p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}



.cta-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
}

.cta-card:first-child .cta-icon {
    background: #003366;
    color: white;
}

.cta-card:last-child .cta-icon {
    background: #003366;
    color: white;
}

.cta-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.cta-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
}

.cta-card .btn {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    background: #01162c;
    color: white;
    border: none;
}

/* =========================
   ACTION SECTION END
   ========================= */

/* =========================
   FEATURES SECTION START
   ========================= */

.features {
    padding: 10px 0;
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #003366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* =========================
   FEATURES SECTION END
   ========================= */

/* =========================
   CATEGORIES SECTION START
   ========================= */

.categories {
    padding: 100px 0;
    background: #f8f9fa;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.category-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.category-header {
    padding: 30px 30px 20px;
    color: white;
    text-align: center;
}

.best-cards {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.worst-cards {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.all-cards {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.category-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.category-header p {
    font-size: 1rem;
    opacity: 0.9;
}

.category-content {
    padding: 30px;
    text-align: center;
}

.category-content p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.category-btn {
    background: #667eea;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.category-btn:hover {
    background: #764ba2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* =========================
   CATEGORIES SECTION END
   ========================= */

/* =========================
   STATISTICS SECTION START
   ========================= */

.stats {
    padding: 50px 0;
    background: white;
    color: black;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.9;
}

/* =========================
   STATISTICS SECTION END
   ========================= */

/* =========================
   TOP CARDS TABLES SECTION START
   ========================= */

.top-cards-section {
    padding: 10px 0;
    background: white;
}

.tables-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.cards-table-wrapper {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.cards-table-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.table-header {
    padding: 25px 30px;
    color: white;
    text-align: center;
    position: relative;
}

.table-header.best {
    background: linear-gradient(135deg, #003366 0%, #003366 100%);
}

.table-header.worst {
    background: linear-gradient(135deg, #e74c3c 0%, #e74c3c 100%);
}

.table-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.table-header p {
    font-size: 1rem;
    opacity: 0.9;
}

.table-content {
    background: white;
}

.cards-table {
    width: 100%;
    border-collapse: collapse;
}

.cards-table thead {
    background: #f8f9fa;
}

.cards-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e9ecef;
}

.cards-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.cards-table tbody tr:hover {
    background: #f8f9fa;
    transform: scale(1.01);
}

.cards-table tbody tr:last-child {
    border-bottom: none;
}

.cards-table td {
    padding: 18px 20px;
    vertical-align: middle;
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
}

.rank-best { 
    background: linear-gradient(135deg, #003366 0%, #034c95 100%); 
}

.rank-worst { 
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%); 
}

.card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-info strong {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.card-info small {
    font-size: 0.8rem;
    color: #666;
    font-weight: 400;
}

.rating-display {
    display:  inline-block;;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    gap: 4px;
}

.stars {
    color: #FFD700;
    font-size: 2rem;
    letter-spacing: 2px;
}

.rating-value {
    font-weight: 700;
    color: #333;
    font-size: 1.1rem;
}

.review-count {
    color: #666;
    font-weight: 500;
    font-size: 0.95rem;
}

.table-footer {
    padding: 20px 30px;
    text-align: center;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.view-all-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.view-all-btn.best {
    background: linear-gradient(135deg, #003366 0%, #011a32 100%);
    color: white;
}

.view-all-btn.worst {
    background: linear-gradient(135deg, #e74c3c 0%, #e74c3c 100%);
    color: white;
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* =========================
   TOP CARDS TABLES SECTION END
   ========================= */

/* =========================
   FOOTER SECTION START
   ========================= */

footer {
    background: #000;
    color: white;
    padding: 7px 7px 5px;
    margin-top: auto;
}

footer h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #FFD700;
}

footer p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    gap: 20px;
}

.footer-left, .footer-middle, .footer-right {
    flex: 1;
    padding: 0 15px;
}

.footer-left p, .footer-middle p, .footer-right p {
    font-size: 14px;
    color: #ccc;
}

.footer-middle a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-middle a:hover {
    color: white;
}

.footer-social-middle {
    text-align: center;
    padding-top: 5px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #444;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #FFD700;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

.social-icons a:hover .fa-facebook-f {
    color: #1877f2;
}

.social-icons a:hover .fa-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-icons a:hover .fa-linkedin-in {
    color: #0077b5;
}

.social-icons a:hover .fa-twitter {
    color: #1da1f2;
}

footer .footer-social-middle p {
    font-size: 14px;
    color: #ccc;
    margin-top: 5px;
}

/* =========================
   FOOTER SECTION END
   ========================= */

/* =========================
   ANIMATIONS START
   ========================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* =========================
   ANIMATIONS END
   ========================= */

/* =========================
   REVIEW FORM STYLES START
   ========================= */
/* Credit Card Review Form - Refined Styles */
/* Base Variables */


/* Base Styles */
body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  margin: 0;
  padding: 0;
}

/* Review Header */
.review-header {
  text-align: center;
  margin-bottom: 10px;
}

.review-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5px;
}

.review-header h1 i {
  color: var(--primary-color);
  margin-right: 2px;
}

.review-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 1200px;
  margin: 0 auto;
}

/* Form Container */
.form-container {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--card-background);
  border-radius: 1px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.review-form {
  padding: 15px;
}

/* Form Sections */
.form-section {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.form-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
}

.form-section h2 i {
  color: var(--primary-color);
  margin-right: 10px;
}

/* Card Review Sections */
.card-review-section {
  background: var(--background-light);
  border: 1px solid var(--border-color);
  border-radius: 7px;
  padding: 15px;
  margin-bottom: 15px;
  position: relative;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.card-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  border: none;
  padding: 0;
}

.delete-card-btn {
  background: var(--danger-color);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.delete-card-btn:hover {
  background: #c0392b;
  transform: translateY(-2px);
}

/* Form Rows and Groups */
.form-row {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row.two-column {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.form-row.three-column {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.form-row.five-column {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-group label.required::after {
  content: " *";
  color: var(--danger-color);
  font-weight: bold;
}

/* Input Styles */
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

/* Half Star Rating System - Simplified and Better */
.rating-group {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5px 0;
  background: #f8f9fa;
  padding: 3px 5px;
  border-radius: 2px;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(196, 193, 193, 0.1);
  gap: 2px;
}

/* Hide radio inputs */
.rating__input {
  display: none;
}

/* Base star styling */
.rating__label {
  cursor: pointer;
  font-size: 2.2rem;
  color: #ddd;
  transition: all 0.2s ease;
  position: relative;
  line-height: 1;
  display: inline-block;
}

.rating__label:hover {
  transform: scale(1.1);
}

/* Half star positioning */
.rating__label--half {
  margin-right: -1.1em;
  z-index: 2;
  overflow: hidden;
  width: 1.1em;
}

/* Star icons */
.rating__icon--star {
  color: inherit;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Gold color for active stars */
.rating__label.active .rating__icon--star {
  color: #FFD700;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

/* Hover effects */
.rating__label:hover .rating__icon--star,
.rating__label.hover .rating__icon--star {
  color: #FFD700;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}



.rating-value {
  font-weight: 700;
  color: #FFD700;
}

/* Rating Section */
.rating-section {
  background: white;
  padding: 5px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  margin-bottom: 10px;
}

/* Style for the container */
.radio-group {
    display: flex;
    justify-content: space-between;
}

/* Remove default radio button styles */
.radio-input {
    display: none;
}

/* Style for custom radio button */
.radio-custom {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid #ccc;
    position: relative;
    transition: background-color 0.3s, border-color 0.3s;
}

/* Add a selected state */
.radio-input:checked + .radio-custom {
    background-color: #007bff;
    border-color: #007bff;
}

.radio-input:checked + .radio-custom::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background-color: white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Style for the label */
.radio-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 10px;
    font-size: 16px;
    color: #333;
    transition: color 0.3s;
}

/* Change text color on hover */
.radio-label:hover {
    color: #007bff;
}

/* Focus on selected radio button */
.radio-input:checked + .radio-custom {
    border-color: #007bff;
}

.radio-label span {
    margin-right: 10px;
}


/* Comment Section */
.comment-toggle {
  margin-bottom: 15px;
}

.comment-btn {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.comment-btn:hover {
  background: #475569;
  transform: translateY(-1px);
}

.comment-section {
  animation: slideDown 0.3s ease;
}

.comment-wrapper {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 0;
  overflow: hidden;
  transition: var(--transition);
}

.comment-wrapper:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.comment-wrapper textarea {
  width: 100%;  
  max-width: 100%;  
  box-sizing: border-box;
  border: none;
  padding: 15px;
  margin: 0;
  background: transparent;
  resize: vertical;
  min-height: 120px;
}

.comment-wrapper textarea:focus {
  outline: none;
  box-shadow: none;
  border: none;
}

.comment-footer {
  background: #f8f9fa;
  padding: 10px 15px;
  border-top: 1px solid var(--border-color);
}

.comment-footer small {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.comment-footer .fa-info-circle {
  color: var(--primary-color);
  margin-right: 5px;
}

.text-muted {
  color: var(--text-secondary);
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 300px;
  }
}

/* Add Card Section */
.add-card-section {
  text-align: center;
  margin-bottom: 40px;
}

.add-card-btn {
  background: #003366;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 51, 102, 0.3);
}

.add-card-btn:hover {
  background: #004080;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 51, 102, 0.4);
}

/* Personal Information */
.personal-info {
  background: var(--background-light);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

.anonymity-note {
  background: #f0fff4;
  border: 1px solid var(--success-color);
  border-radius: var(--border-radius);
  padding: 15px;
  margin-bottom: 25px;
  color: #003366;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Checkbox Styles */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  line-height: 1.5;
}

.checkbox-label.large {
  font-size: 1.1rem;
  font-weight: 500;
}

.checkbox-label input {
  display: none;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 4px;
  position: relative;
  transition: var(--transition);
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-label.large .checkbox-custom {
  width: 24px;
  height: 24px;
}

.checkbox-label input:checked + .checkbox-custom {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox-label input:checked + .checkbox-custom::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

/* Terms Section */
.terms-section {
  text-align: center;
  padding: 20px;
  background: #fefce8;
  border: 1px solid #facc15;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
}

.terms-section a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.terms-section a:hover {
  text-decoration: underline;
}

/* Submit Section */
.submit-section {
  text-align: center;
  padding: 30px 0;
}

.submit-btn {
  background: #003366;
  color: white;
  border: none;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 5px 15px rgba(0, 51, 102, 0.3);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* Form Validation */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
  border-color: var(--danger-color);
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
  border-color: var(--success-color);
}

/* Loading State */
.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.submit-btn.loading::after {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Focus Indicators for Accessibility */
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* =========================
   REVIEW FORM STYLES END
   ========================= */


/* =========================
   BROWSE CARDS PAGE START (only search one others align with rank card)
   ========================= */

/* Search Section */
.search-section {
    padding: 30px 0;
    background: #f8f9fa;
}

.search-section .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.search-section input {
    padding: 12px 20px;
    width: 100%;
    max-width: 400px;
    font-size: 1rem;
    border-radius: 25px;
    border: 2px solid #e1e5e9;
    outline: none;
    transition: all 0.3s ease;
}

.search-section input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-btn {
    padding: 12px 25px;
    background: #003366;
    color: white;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* =========================
   BROWSE CARDS PAGE END
   ========================= */

/* =========================
   RESPONSIVE STYLES START
   ========================= */

/* =========================
   RESPONSIVE STYLES END
   ========================= */



   /* =========================
    Worst card and Best Card Combined page
   ========================= */


   
/* =========================
   STATISTICS SECTION START
   ========================= */

.stats1 {
    padding: 5px 0;
    background: white;
    color: black;
}

.stats1-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat1-item {
    padding: 20px;
}

.stat1-number {
    font-size: 3rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 10px;
}

.stat1-label {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.9;
}

/* =========================
   STATISTICS SECTION END
   ========================= */

   
/* =========================
   HERO SECTION START
   ========================= */

.hero1 {
    position: relative;
    height: 200px; /* Adjust the height of the section */
    background-color: #f3f2f2;
    overflow: hidden;
}

/* Hero Content (Text and Buttons) */
.hero1-content {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(2, 2, 2);
    text-align: center;
    z-index: 2;
}
.hero1-content h1 {
    font-size: 3rem; 
}

/* Rest same as original Hero */

/* =========================
   HERO SECTION END
   ========================= */


   /* =========================
    Contact US START
   ========================= */
/* Contact Form Section */
.contact-form {
    background-color: #fff;
    padding: 50px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form .section-title h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.contact-form .section-title p {
    font-size: 1.1rem;
    color: #666;
}

.contact-form .contact-form-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #040e38;
    outline: none;
}

.contact-form button {
    padding: 12px 30px;
    background-color: #020a2a;
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    color: white;
    background-color: #000000;
    border: red;
}

/* Contact Information Section */
.contact-info {
    background-color: #f8f8f8;
    padding: 50px 0;
}

.contact-info .section-title h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.contact-info .section-title p {
    font-size: 1.1rem;
    color: #666;
}

.contact-info .contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.contact-info .info-item {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-info .info-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.contact-info .info-item p {
    font-size: 1rem;
    color: #555;
}

/* Map Section */
.map {
    background-color: #fff;
    padding: 50px 0;
}

.map .section-title h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.map .section-title p {
    font-size: 1.1rem;
    color: #666;
}

.map .map-container {
    margin-top: 30px;
    text-align: center;
}

.map iframe {
    border: 0;
    border-radius: 8px;
}

   /* =========================
   Contact US END
   ========================= */



      /* =========================
   Page Check Your Credit Score Start
   ========================= */
/* Check Your Credit Score Section */
.check-credit-score-page {
    background-color: transparent;
    padding: 100px 0;  /* Add more space */
    text-align: center;
}

/* Section Title */
.check-credit-score-page .section-title {
    margin-bottom: 20px;
}

.check-credit-score-page .section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.check-credit-score-page .section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Buttons */
.cta-buttons1 {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping for mobile responsiveness */
}

.cta-buttons1 .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    margin-top: 20px;
    background-color: #003366;
    color: white;
    border: 2px solid transparent;
}

.cta-buttons1 .btn:hover {
    background-color: transparent;
    color: black;
    border: 2px solid #e74c3c;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.cta-buttons1 .btn-primary {
    background-color: #003366;
}

.cta-buttons1 .btn-secondary {
    background-color: #e74c3c;
}


      /* =========================
   Page Check Your Credit Score End
   ========================= */



         /* =========================
   Page Card Review Start
   ========================= */

/* Card Info Section */
.card-info-section {
    padding: 50px 0;
    background-color: #fff;
}

/* Card Header */
.card-header {
    text-align: center;
    margin-bottom: 30px;
}

.card-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
}

.card-bank {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 10px;
}

.card-reviews-summary {
    font-size: 1rem;
    color: #333;
}

.average-rating {
    font-weight: 700;
    color: #FFD700;
}

.total-reviews {
    font-weight: 600;
    color: #666;
}

/* Customer Reviews Section */
.reviews-section {
    margin-top: 30px;
}

.reviews-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.review {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.stars {
    color: #FFD700;
    font-size: 1.5rem;
}

.review-header p {
    font-size: 1rem;
    color: #333;
}

.review-content h3 {
    font-size: 1.2rem;
    color: #333;
    margin-top: 10px;
}

.review-reason {
    font-size: 1rem;
    color: #666;
    margin-top: 10px;
}

textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 10px;
    resize: vertical;
}

textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Review Section Styling */
.review-content {
    margin-top: 20px;
}

/* Add Comment Box */
textarea {
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ddd;
}

    /* =========================
   Page Card Review End
   ========================= */



   
/* =========================
   Page User Profile Start
   ========================= */

/* User Profile Section */
.user-profile-section {
    padding: 40px 0;
    background-color: #f8f9fa;
    min-height: 100vh;
}

/* Personal Information Section */
.personal-info {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.personal-info h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.personal-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #34495e;
    margin-top: 30px;
    margin-bottom: 20px;
}

/* Row Layout for Personal Info */
.row {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.info-column {
    flex: 1;
}

.photo-column {
    flex-shrink: 0;
    width: 250px;
    display: flex;
    justify-content: center;
}

/* Info Grid Layout */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.info-item {
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.info-item label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.info-item p {
    font-size: 1.1rem;
    color: #2c3e50;
    margin: 0;
    font-weight: 500;
}

/* Status Styles */
.status {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status.verified {
    background-color: #d4edda;
    color: #155724;
}

.status.not-verified {
    background-color: #f8d7da;
    color: #721c24;
}

.status.active {
    background-color: #cce5ff;
    color: #004085;
}

.status.inactive {
    background-color: #e9ecef;
    color: #6c757d;
}

/* Address Section */
.address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.address-item {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.no-address {
    text-align: center;
    padding: 40px;
    color: #6c757d;
    font-style: italic;
}

/* Profile Photo Section */
.profile-photo-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.profile-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.default-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.default-photo i {
    font-size: 4rem;
    color: #6c757d;
}

.photo-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-photo-container:hover .photo-overlay {
    opacity: 1;
}

.change-photo-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.change-photo-btn:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

/* Action Buttons */
.profile-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.profile-actions .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #545b62;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.btn-warning {
    background-color: #ffc107;
    color: #212529;
}

.btn-warning:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.btn-info {
    background-color: #17a2b8;
    color: white;
}

.btn-info:hover {
    background-color: #138496;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
}

/* Reviews Section */
.reviews-section {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.reviews-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 10px;
}

.reviews-section h2 i {
    color: #ffc107;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
}

.review-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
}

.card-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 8px 0;
}

.card-details {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.card-details span {
    font-size: 0.9rem;
    padding: 4px 12px;
    border-radius: 20px;
    background-color: #e9ecef;
    color: #495057;
}

.bank-name {
    background-color: #cce5ff !important;
    color: #004085 !important;
}

.card-type {
    background-color: #d4edda !important;
    color: #155724 !important;
}

.rating-display {
    text-align: right;
}

.stars {
    display: flex;
    gap: 3px;
    margin-bottom: 5px;
    justify-content: flex-end;
}

.stars i {
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

.stars i.filled {
    color: #ffc107;
}

.stars i.empty {
    color: #dee2e6;
}

.rating-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
}

.review-details {
    margin-top: 15px;
}

.review-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.detail-item {
    background-color: #fff;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.detail-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 5px;
}

.detail-item p {
    font-size: 1rem;
    color: #2c3e50;
    margin: 0;
}

.review-content,
.review-comments {
    margin-bottom: 15px;
}

.review-content label,
.review-comments label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.review-content p,
.review-comments p {
    font-size: 1rem;
    color: #2c3e50;
    line-height: 1.6;
    margin: 0;
    padding: 10px;
    background-color: #fff;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.review-date {
    font-size: 0.85rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
}

.no-reviews {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.no-reviews i {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 15px;
}

.no-reviews p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.no-reviews small {
    font-size: 0.95rem;
    color: #868e96;
}

/* Modal Styles - FIXED CENTERING */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.modal-content {
    background-color: #fff;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
    margin: 0 auto;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 25px 30px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    border-radius: 12px 12px 0 0;
    position: relative;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: 300;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    background-color: #e9ecef;
    color: #2c3e50;
}

.modal-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #80bdff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-control[type="file"] {
    padding: 10px 12px;
}

.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #6c757d;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.modal-actions .btn {
    padding: 10px 25px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Accessibility Improvements */
.btn:focus,
.form-control:focus,
.close:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Animation for form validation */
.form-control:invalid {
    border-color: #dc3545;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Loading state for buttons */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }
    
    .photo-column {
        width: 100%;
        order: -1;
        margin-bottom: 30px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .address-grid {
        grid-template-columns: 1fr;
    }
    
    .review-row {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-form {
        padding: 20px;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .profile-actions {
        flex-direction: column;
    }
    
    .profile-actions .btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .user-profile-section {
        padding: 20px 0;
    }
    
    .personal-info,
    .reviews-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .profile-photo-container {
        width: 150px;
        height: 150px;
    }
    
    .default-photo i {
        font-size: 3rem;
    }
    
    .modal-content {
        width: 100%;
        height: 100%;
        max-height: none;
        border-radius: 0;
        margin: 0;
    }
    
    .modal-header {
        border-radius: 0;
    }
}

/* =========================
   Page User Profile End
   ========================= */



    /* =========================
   Page Login Start
   ========================= */

/* Login Section */
.login-section {
    padding: 80px 0;
    background-color: #fff;
}

/* Login Form */
.login-form {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.login-form h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #fff;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}



.btn {
    width: 100%;
    padding: 12px;
    background-color: #000408;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn:hover {
    background-color: #000000;
    color: white;
}


.message-container {
    margin-bottom: 20px;
}

.alert {
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 20px;
    margin-bottom: 15px;
}

.alert-success {
    background-color: #ffffff;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error,
.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

       /* =========================
   Page Login End
   ========================= */

   
       /* =========================
   Page Sign Up
   ========================= */
/* Sign Up Section */
.password-group {
    position: relative;
}

.password-container {
    position: relative;
}

.password-field {
    padding-right: 30px; 
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}


.signup-section {
    padding: 80px 0;
    background-color: #fff;
}


/* Sign Up Form */
.signup-form {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.signup-form h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #fff;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

          /* =========================
   Page Sign End
   ========================= */




   /* Style for message pop-ups */
.messages {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 80%;
}

.alert1 {
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    font-size: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Success message style */
.alert1-success {
    background-color: #d4edda;
    color: #155724;
}

/* Error message style */
.alert1-error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Information message style */
.alert1-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

/* Warning message style */
.alert1-warning {
    background-color: #fff3cd;
    color: #856404;
}


/* 
=================================================
Ranking Cards System Start - Unique CSS Classes 
=================================================
*/

.ranking-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.ranking-card-wrapper {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 1px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.ranking-card-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #e2e8f0;
}

.ranking-position-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    background: #003366;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    z-index: 10;
}

.ranking-card-content {
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.ranking-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    line-height: 1.3;
    background: #003366;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ranking-bank-info {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.ranking-bank-info::before {
    content: "🏦";
    font-size: 1rem;
}

.ranking-card-category {
    font-size: 1rem;
    color: #718096;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.ranking-stats-box {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(226, 232, 240, 0.6);
}

.ranking-rating-display {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.ranking-reviews-count {
    font-size: 0.95rem;
    color: #718096;
    font-weight: 500;
}

.ranking-card-actions {
    padding: 0 2rem 2rem;
}

.ranking-details-btn {
    display: inline-block;
    width: 100%;
    padding: 1rem;
    background: #003366;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.ranking-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.ranking-no-data {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: #718096;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 20px;
    border: 2px dashed #cbd5e0;
}

/* Best Cards Page Specific Styling */
.hero1 h1 i.fa-trophy {
    color: #f6ad55;
    margin-right: 0.5rem;
}

/* Worst Cards Page Specific Styling */
.hero1 h1 i.fa-exclamation-triangle {
    color: #fc8181;
    margin-right: 0.5rem;
}


/* Loading Animation for Ranking Cards */
@keyframes rankingSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ranking-card-wrapper {
    animation: rankingSlideUp 0.6s ease-out;
    animation-fill-mode: both;
}

.ranking-card-wrapper:nth-child(1) { animation-delay: 0.1s; }
.ranking-card-wrapper:nth-child(2) { animation-delay: 0.2s; }
.ranking-card-wrapper:nth-child(3) { animation-delay: 0.3s; }
.ranking-card-wrapper:nth-child(4) { animation-delay: 0.4s; }
.ranking-card-wrapper:nth-child(5) { animation-delay: 0.5s; }
.ranking-card-wrapper:nth-child(6) { animation-delay: 0.6s; }

/* 
=================================================
Ranking Cards System End - Unique CSS Classes 
=================================================
*/
/* 
=================================================
=================================================
Stylish button 
=================================================
=================================================
*/
/* From Uiverse.io by alexmaracinaru */ 
.credit-score-cta {
  display: flex;
  justify-content: center;
  align-items: center;
}
.score-check-btn.score-check-primary {
  cursor: pointer;
  font-weight: 700;
  transition: all 0.2s;
  padding: 5px 15px; /* Reduced padding for a smaller button */
  border-radius: 100px;
  background: #1b0136;
  color: white;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  font-size: 16px; /* Reduced font size */
  text-decoration: none; /* Remove underline from link */
  width: fit-content; /* Make button only as wide as content */
}

.score-check-btn.score-check-primary:hover {
  background: #af0505;
}

.score-check-btn.score-check-primary > svg {
  width: 40px; /* Reduced icon size */
  height: 30px;
  margin-left: 8px;
  transition: transform 0.3s ease-in-out;
}

.score-check-btn.score-check-primary:hover svg {
  transform: translateX(5px);
}

.score-check-btn.score-check-primary:active {
  transform: scale(0.95);
}


/* 
=================================================
=================================================
Stylish button 
=================================================
=================================================
*/
/* From Uiverse.io by alexmaracinaru */ 
.score-check-btn.score-check-primary2 {
  cursor: pointer;
  font-weight: 700;
  transition: all 0.2s;
  padding: 5px 15px; /* Reduced padding for a smaller button */
  border-radius: 100px;
  background: #af0505;
  color: white;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  font-size: 16px; /* Reduced font size */
  text-decoration: none; /* Remove underline from link */
  width: fit-content; /* Make button only as wide as content */
}

.score-check-btn.score-check-primary2:hover {
  background: #1b0136;
}

.score-check-btn.score-check-primary2 > svg {
  width: 40px; /* Reduced icon size */
  height: 30px;
  margin-left: 8px;
  transition: transform 0.3s ease-in-out;
}

.score-check-btn.score-check-primary2:hover svg {
  transform: translateX(5px);
}

.score-check-btn.score-check-primary2:active {
  transform: scale(0.95);
}


/* ====================
   LEGAL PAGES CSS
   Terms & Conditions and Privacy Policy
   ==================== */
/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

/* Legal Document Headers */
.legal-document-header, .privacy-document-header {
    background-color: #1a1a1a;
    padding: 50px 0 40px 0;
    color: white;
    margin-bottom: 0;
    border-bottom: 3px solid #d4af37;
}

.legal-title, .privacy-title {
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
}

.legal-title h2, .privacy-title h2 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 12px;
    color: white;
    letter-spacing: 1px;
}

.last-updated, .policy-updated {
    font-size: 0.95rem;
    color: #cccccc;
    font-style: italic;
    margin: 0;
    font-family: 'Arial', sans-serif;
}

/* Main Content Sections */
.legal-content, .privacy-content {
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
    line-height: 1.8;
    font-family: 'Arial', sans-serif;
}

/* Section Headers */
.legal-content h3, .privacy-content h3 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c2c2c;
    margin: 35px 0 20px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Subsection Headers */
.legal-subsection, .privacy-subsection {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #444444;
    margin: 25px 0 12px 0;
    font-style: italic;
}

/* Paragraph Text */
.legal-content p, .privacy-content p {
    font-size: 0.95rem;
    color: #333333;
    margin-bottom: 16px;
    text-align: justify;
    text-justify: inter-word;
}

/* Lists Styling */
.legal-list, .privacy-list {
    margin: 20px 0 25px 0;
    padding-left: 0;
}

.legal-list li, .privacy-list li {
    list-style: none;
    margin: 6px 0;
    padding: 6px 0 6px 30px;
    position: relative;
    color: #333333;
    line-height: 1.7;
    font-size: 0.95rem;
}

.legal-list li:before, .privacy-list li:before {
    content: "●";
    color: #666666;
    position: absolute;
    left: 15px;
    top: 6px;
    font-size: 0.8rem;
}

/* Section Backgrounds - Clean Professional Look */
.terms-acceptance-section,
.terms-user-eligibility,
.terms-anonymous-reviews,
.terms-legal-compliance,
.terms-disclaimers,
.terms-indemnification,
.terms-governing-law,
.terms-changes,
.terms-contact-info,
.privacy-introduction,
.privacy-information-usage,
.privacy-data-retention,
.privacy-user-rights,
.privacy-data-security,
.privacy-california-rights,
.privacy-policy-changes,
.privacy-effective-date {
    background-color: #fafafa;
    padding: 35px 0;
}

.terms-service-description,
.terms-user-accounts,
.terms-content-ownership,
.terms-content-moderation,
.terms-liability,
.terms-termination,
.terms-dispute-resolution,
.terms-severability,
.terms-agreement,
.privacy-information-collection,
.privacy-information-sharing,
.privacy-international-transfers,
.privacy-cookies,
.privacy-childrens-privacy,
.privacy-european-rights,
.privacy-contact-information,
.privacy-agreement {
    background-color: white;
    padding: 35px 0;
}

/* Contact Details Box */
.contact-details, .privacy-contact-details {
    background-color: #f5f5f5;
    padding: 25px;
    border: 1px solid #d0d0d0;
    border-radius: 0;
    margin: 25px 0;
    font-family: 'Arial', sans-serif;
}

.contact-details p, .privacy-contact-details p {
    margin: 8px 0;
    color: #2c2c2c;
    font-weight: 400;
    line-height: 1.6;
}

.contact-details strong, .privacy-contact-details strong {
    color: #1a1a1a;
    font-size: 1.05rem;
    display: block;
    margin-bottom: 8px;
}

/* Legal Disclaimers */
.legal-disclaimer, .privacy-disclaimer {
    background-color: #f9f9f9;
    padding: 30px;
    border: 2px solid #d0d0d0;
    border-radius: 0;
    font-size: 0.95rem;
    color: #2c2c2c;
    text-align: center;
    margin: 40px 0;
    font-style: italic;
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
}

/* Section Separators */
section {
    border-bottom: 1px solid #eeeeee;
}

section:last-child {
    border-bottom: none;
}

/* Professional Typography Enhancement */
.legal-content h3:first-of-type,
.privacy-content h3:first-of-type {
    margin-top: 20px;
}

/* Table of Contents Style (if needed) */
.legal-toc, .privacy-toc {
    background-color: #f8f8f8;
    border: 1px solid #d0d0d0;
    padding: 25px;
    margin: 30px 0;
}

.legal-toc h4, .privacy-toc h4 {
    margin: 0 0 15px 0;
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #2c2c2c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
}

.legal-toc ol, .privacy-toc ol {
    margin: 0;
    padding-left: 20px;
}

.legal-toc li, .privacy-toc li {
    margin: 8px 0;
    font-size: 0.9rem;
    color: #444444;
}



/* ====================
   LEGAL PAGES CSS END
   Terms & Conditions and Privacy Policy
   ==================== */



/* ==========================================================================
   RESPONSIVE DESIGN - MOBILE FIRST APPROACH
   ========================================================================== */

/* Base styles (Mobile First - 320px+) */

/* ==========================================================================
   SMALL MOBILE (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
    /* Typography */
    .review-header h1,
    .header-content h1 {
        font-size: 1.8rem;
    }
    
    .form-section h2,
    .personal-info h2,
    .reviews-section h2 {
        font-size: 1.3rem;
    }
    
    .legal-title h2,
    .privacy-title h2 {
        font-size: 1.6rem;
    }
    
    .legal-content h3,
    .privacy-content h3 {
        font-size: 1.1rem;
    }
    
    /* Layout Components */
    .submit-btn,
    .view-all-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .rating__label {
        font-size: 1.5rem;
    }
    
    /* Navigation & Categories */
    .category-links {
        grid-template-columns: 1fr;
    }
    
    .category-link {
        padding: 25px 15px;
    }
    
    .category-link i {
        font-size: 2rem;
    }
    
    /* Tables */
    .cards-table {
        font-size: 0.8rem;
    }
    
    .cards-table th,
    .cards-table td {
        padding: 8px 10px;
    }
    
    .table-header h3 {
        font-size: 1.1rem;
    }
    
    .card-info strong {
        font-size: 0.85rem;
    }
    
    .card-info small {
        font-size: 0.75rem;
    }
    
    .card-info h4 {
        font-size: 1.1rem;
    }
    
    /* Profile & Info Components */
    .info-item {
        padding: 12px;
    }
    
    .info-item label {
        font-size: 0.8rem;
    }
    
    .info-item p {
        font-size: 1rem;
    }
    
    .review-item {
        padding: 15px;
    }
    
    /* Modal */
    .modal-header,
    .modal-form {
        padding: 20px;
    }
    
    .comparison-panel {
        padding: 20px 15px;
    }
    
    /* Legal Documents */
    .legal-title,
    .privacy-title,
    .legal-content,
    .privacy-content {
        padding: 0 15px;
    }
    
    .contact-details,
    .privacy-contact-details {
        padding: 15px;
    }
    
    .legal-disclaimer,
    .privacy-disclaimer {
        padding: 20px;
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   MOBILE (max-width: 767px)
   ========================================================================== */
@media (max-width: 767px) {
    /* Layout Fundamentals */
    .row {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    /* Grid Layouts - Convert to Single Column */
    .form-row,
    .form-row.two-column,
    .form-row.three-column,
    .form-row.five-column,
    .features-grid,
    .categories-grid,
    .stats-grid,
    .cards-grid,
    .ranking-cards-grid,
    .filter-row,
    .checkbox-grid,
    .guidelines-grid,
    .info-grid,
    .address-grid,
    .review-row,
    .tables-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Specific Grid Adjustments */
    .ranking-cards-grid {
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .contact-form .contact-form-grid,
    .contact-info .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    /* Credit Cards */
    .credit-card {
        margin-bottom: 20px;
    }
}

/* ==========================================================================
   MOBILE & TABLET (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* Container & Spacing */
    .container {
        padding: 0 15px;
    }
    
    .user-profile-section {
        padding: 20px 0;
    }
    
    .personal-info,
    .reviews-section,
    .card-review-section {
        padding: 20px;
    }
    
    .rating-section {
        padding: 10px;
    }
    
    /* Typography */
    .review-header h1 {
        font-size: 2rem;
    }

    .hero , .hero1{
    height: auto; 
    }
    .card-img {
    width: 70px;
    margin-right: 12px;
    }

    .hero h1 {
        font-size: 1 rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    .hero-content, .hero1-content {
    position: static;
    transform: none;
    margin-top: 30px;
    padding: 0 10px;
    }
    .hero-images-wrapper, .hero1-images-wrapper {
    height: 90px; 
    }
    .section-title h2 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .ranking-card-title {
        font-size: 1.3rem;
    }
    
    .ranking-rating-display {
        font-size: 1.8rem;
    }
    
    /* Header & Navigation */
    header {
        flex-direction: column;
        padding: 15px;
    }
    
    header .logo {
        margin-bottom: 15px;
    }
    
    header nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    header nav ul li {
        margin: 5px 10px;
    }
    
    /* Card Components */
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .ranking-card-wrapper {
        border-radius: 15px;
    }
    
    .ranking-card-content {
        padding: 2.5rem 1.5rem 1.5rem;
    }
    
    /* Interactive Elements */
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .rating-group {
        flex-wrap: wrap;
        justify-content: flex-start;
        max-width: 100%;
        overflow-x: auto;
        font-size: 1.3rem; /* Make stars smaller */
    }
    
    .rating__label {
        font-size: 1.8rem;
    }
    

    .form-group select,
    .form-group input[type="text"] {
        width: 100%;
        max-width: 100%;
        font-size: 1rem;
        box-sizing: border-box;
    }
    /* CTA Buttons */
    .cta-buttons {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons .btn {
        padding: 16px 36px;
        font-size: 15px;
    }
    
    .cta-buttons1 {
        flex-direction: column;
    }
    
    /* Footer */
    .footer-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-left,
    .footer-middle,
    .footer-right {
        flex: none;
        padding: 15px 0;
        max-width: 100%;
    }
    
    .social-icons {
        gap: 15px;
    }
    
    /* Forms */
    .review-form {
        padding: 15px;
    }
    
    .star-rating label {
        font-size: 1.5rem;
        margin: 0 2px;
    }
    
    .rating-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .rating-scale {
        width: 100%;
        justify-content: space-between;
    }
    
    .file-upload-area {
        padding: 30px 15px;
    }
    
    .file-upload-text i {
        font-size: 2rem;
    }
    
    /* Browse & Search */
    .browse-header {
        padding: 60px 0 40px;
    }
    
    .header-content h1 {
        font-size: 2.2rem;
    }
    
    .header-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .search-box {
        flex-direction: column;
        border-radius: 15px;
        padding: 15px;
    }
    
    .search-box input {
        order: 1;
        margin-bottom: 15px;
        padding: 15px 0;
        text-align: center;
    }
    
    .search-btn {
        order: 2;
        border-radius: 8px;
    }
    
    .sort-container {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    
    /* Cards List View */
    .cards-list .card-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cards-list .card-header {
        flex: none;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .cards-list .card-body {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    /* Category Links */
    .category-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Comparison */
    .comparison-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .comparison-actions {
        width: 100%;
        justify-content: center;
    }
    
    /* Tables */
    .tables-container {
        gap: 30px;
    }
    
    .cards-table th,
    .cards-table td {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .table-header {
        padding: 20px 25px;
    }
    
    .table-header h3 {
        font-size: 1.3rem;
        flex-direction: column;
        gap: 8px;
    }
    
    .rank-badge {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .rating-display {
        align-items: start;
    }
    
    .stars {
        font-size: 0.9rem;
        justify-content: flex-start;
    }
    
    .rating-value {
        font-size: 1rem;
    }
    
    /* Profile Components */
    .profile-photo-container {
        width: 150px;
        height: 150px;
    }
    
    .profile-actions {
        flex-direction: column;
    }
    
    .profile-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .review-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .rating-display {
        text-align: left;
    }
    
    /* Modal */
    .modal-content {
        width: 95%;
        margin: 20px;
        left: 30%;
    }
    
    .modal-actions {
        flex-direction: column-reverse;
    }
    
    .modal-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Map */
    .map iframe {
        width: 100%;
        height: 300px;
    }
    
    /* Legal Documents */
    .legal-title,
    .privacy-title {
        padding: 0 20px;
    }
    
    .legal-title h2,
    .privacy-title h2 {
        font-size: 1.8rem;
    }
    
    .legal-content,
    .privacy-content {
        padding: 0 20px;
    }
    
    .legal-content h3,
    .privacy-content h3 {
        font-size: 1.2rem;
        margin: 25px 0 15px 0;
    }
    
    .legal-subsection,
    .privacy-subsection {
        font-size: 1rem;
    }
    
    .contact-details,
    .privacy-contact-details {
        padding: 20px;
        margin: 20px 0;
    }
    
    .legal-disclaimer,
    .privacy-disclaimer {
        padding: 25px;
        margin: 30px 0;
        font-size: 0.9rem;
    }
    
    .legal-list li,
    .privacy-list li {
        padding: 5px 0 5px 25px;
        font-size: 0.9rem;
    }
    
    .legal-list li:before,
    .privacy-list li:before {
        left: 12px;
        font-size: 0.7rem;
    }
}

/* ==========================================================================
   TABLET (769px - 1024px)
   ========================================================================== */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        max-width: 95%;
    }
    
    .form-container {
        margin: 0 20px;
    }
    
    .checkbox-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .guidelines-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .header-stats {
        gap: 30px;
    }
    
    .header-stats .stat-number {
        font-size: 2rem;
    }
    
    .filter-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .tables-container {
        gap: 30px;
    }
    
    .cards-table th,
    .cards-table td {
        padding: 12px 15px;
    }
    
    .table-header h3 {
        font-size: 1.5rem;
    }
    
    /* Profile Layout for Tablet */
    .row {
        flex-direction: column;
    }
    
    .photo-column {
        width: 100%;
        margin-bottom: 30px;
        order: -1;
    }
}

/* ==========================================================================
   HIGH DPI DISPLAYS
   ========================================================================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .star-rating label,
    .submit-btn {
        -webkit-font-smoothing: antialiased;
    }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */
@media print {
    /* General Print Styles */
    body {
        font-family: 'Times New Roman', serif;
        font-size: 12pt;
        line-height: 1.6;
        color: black;
    }
    
    /* Hide Interactive Elements */
    .review-form-section,
    .guidelines-section,
    .submit-btn,
    .file-upload-area,
    .profile-actions,
    .photo-overlay,
    .modal {
        display: none !important;
    }
    
    /* Reset Backgrounds for Print */
    .user-profile-section,
    section {
        background-color: white !important;
        background: white !important;
    }
    
    .personal-info,
    .reviews-section {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    /* Legal Document Print Styles */
    .legal-document-header,
    .privacy-document-header {
        background: white !important;
        color: black !important;
        padding: 30px 0 20px 0;
        border-bottom: 2px solid black;
    }
    
    .legal-title h2,
    .privacy-title h2 {
        color: black !important;
        font-size: 18pt;
        text-align: center;
    }
    
    .last-updated,
    .policy-updated {
        color: black !important;
        text-align: center;
    }
    
    .legal-content h3,
    .privacy-content h3 {
        border-bottom: 1px solid black;
        color: black;
        font-size: 14pt;
        page-break-after: avoid;
    }
    
    .legal-list li:before,
    .privacy-list li:before {
        color: black;
    }
    
    .contact-details,
    .privacy-contact-details,
    .legal-disclaimer,
    .privacy-disclaimer {
        background-color: #f5f5f5 !important;
        border: 1px solid black;
        page-break-inside: avoid;
    }
    
    /* Page Break Control */
    section {
        page-break-inside: avoid;
    }
    
    h3 {
        page-break-after: avoid;
    }
}


@media (max-width: 900px) {

  /* HERO & HERO1 SECTION */
  .hero, .hero1 {
    height: auto !important;
    min-height: 120px;
    padding-bottom: 12px;
    border-radius: 10px;
    margin: 10px 0;
    box-shadow: none;
  }
  .hero-images-wrapper {
    position: static !important;
    width: 100%;
    overflow-x: auto;
    animation: none !important;
    padding: 8px 0;
    background: #f3f2f2;
    border-bottom: 1px solid #eee;
  }
  .hero-images {
    gap: 8px;
    padding: 0 4px;
  }
  .card-img {
    width: 48px !important;
    margin-right: 6px !important;
    height: auto;
    max-width: 60px;
  }
  .hero-content, .hero1-content {
    position: static !important;
    transform: none !important;
    margin: 0 auto;
    padding: 12px 8px 0 8px;
    text-align: center;
    width: 100%;
  }
  .hero h1, .hero1 h1 {
    font-size: 1.2rem !important;
    margin-bottom: 8px;
    word-break: break-word;
    line-height: 1.2;
  }
  .hero1-content h1 {
    font-size: 1.1rem !important;
  }
  .hero p, .hero1 p {
    font-size: 1rem !important;
    margin-bottom: 12px;
  }
  .cta-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    max-width: 100%;
    margin: 0 auto;
  }
  .cta-buttons .btn {
    width: 100% !important;
    font-size: 1rem !important;
    padding: 12px 0 !important;
    border-radius: 30px !important;
  }

  /* Hide scrollbars for hero images on mobile */
  .hero-images-wrapper::-webkit-scrollbar {
    display: none;
  }
  .hero-images-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  /* RATING SECTION */
  .rating-section {
    padding: 10px 4px !important;
    border-radius: 8px !important;
    margin: 10px 0 !important;
    box-shadow: none !important;
  }
  .form-row,
  .form-row.two-column,
  .form-row.three-column,
  .form-row.five-column {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
  .form-group {
    margin-bottom: 14px !important;
  }
  .form-group label {
    font-size: 1rem !important;
    margin-bottom: 5px !important;
  }
  .form-group select,
  .form-group input[type="text"] {
    font-size: 1rem !important;
    padding: 10px 8px !important;
    border-radius: 6px !important;
  }
  .rating-group {
    justify-content: flex-start !important;
    padding: 2px 0 !important;
    font-size: 1.2rem !important;
    gap: 1px !important;
    min-width: 0 !important;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e9ecef;
  }
  .rating__label {
    font-size: 1.5rem !important;
    margin: 0 1px !important;
  }
  .rating-display {
    font-size: 0.98rem !important;
    margin-top: 2px !important;
    padding-left: 2px !important;
  }
  .rating-value {
    font-size: 1.1rem !important;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .hero, .hero1 {
    min-height: 80px !important;
    padding-bottom: 4px !important;
  }
  .hero-content, .hero1-content {
    padding: 8px 2px 0 2px !important;
  }
  .hero h1, .hero1 h1 {
    font-size: 1.05rem !important;
  }
  .card-img {
    width: 32px !important;
    margin-right: 2px !important;
  }
  .cta-buttons .btn {
    font-size: 0.95rem !important;
    padding: 10px 0 !important;
  }
  .rating__label {
    font-size: 1.1rem !important;
  }
  .form-group label {
    font-size: 0.95rem !important;
  }
  .form-group select,
  .form-group input[type="text"] {
    font-size: 0.95rem !important;
    padding: 8px 6px !important;
  }
}


@media (max-width: 480px) {
  .credit-score-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .score-check-btn.score-check-primary,
  .score-check-btn.score-check-primary2 {
    width: 100% !important;
    min-width: 0;
    font-size: 1rem;
    padding: 10px 0 !important;
    border-radius: 30px;
    justify-content: center;
  }
  .score-check-btn.score-check-primary > svg,
  .score-check-btn.score-check-primary2 > svg {
    width: 28px !important;
    height: 20px !important;
    margin-left: 6px;
  }
}