/* 
 * Sagar Global School - Fee Payment Page Styles
 * Clean, Modern Design matching index.html, admission.html, achievements.html
 */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;800&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --accent: #17365d;
  --accent-dark: #0f2440;
  --accent-light: #e9ecf4;
  --accent-gold: #ffd700;
  --accent-blue: #4a90e2;
  --white: #fff;
  --grey: #888;
  --grey-light: #f2f2f2;
  --success: #22c55e;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --background: #f8fafc;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

body {
  font-family: 'Open Sans', 'Roboto', sans-serif;
  background-color: var(--background);
  color: var(--text-main);
}

/* Hero Section - Exact match with admission.html */
.fee-hero {
  width: 100%;
  min-height: 450px;
  background: linear-gradient(135deg, rgba(23,54,93,0.92) 0%, rgba(15,36,64,0.88) 100%), url('../images/school.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: #fff;
  padding: 5em 1.5em 4em 1.5em;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 12px 48px rgba(23,54,93,0.25);
  margin-bottom: 3em;
  position: relative;
  overflow: hidden;
  animation: fadeIn 1s ease;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(74,144,226,0.2), transparent 50%);
  pointer-events: none;
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  animation: slideInUp 1s ease 0.3s both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  font-size: 0.95em;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  margin-bottom: 2em;
}

.hero-badge:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.hero-badge i {
  color: var(--accent-gold);
}

.fee-hero h1 {
  font-size: 3.2em;
  font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 0.6em;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.4em;
  max-width: 750px;
  margin: 0 auto;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  font-weight: 400;
  line-height: 1.6;
}

/* Statistics Section - Matching admission.html exactly */
.fee-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: -2em auto 3em auto;
  padding: 60px 20px;
  position: relative;
  z-index: 100;
  background: linear-gradient(135deg, #1a2740 0%, var(--accent) 50%, #0f1a2e 100%);
  border-radius: 24px;
  box-shadow: 0 12px 48px rgba(23,54,93,0.4);
  border: 2px solid rgba(255,215,0,0.1);
}

.fee-stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(74,144,226,0.15) 0%, transparent 50%);
  border-radius: 24px;
  pointer-events: none;
}

.stat-box {
  text-align: center;
  padding: 30px 25px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 2px solid rgba(255,255,255,0.15);
  transition: all 0.4s ease;
  animation: fadeIn 1s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  position: relative;
  z-index: 1;
}

.stat-box:hover {
  transform: translateY(-10px) scale(1.03);
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,215,0,0.4);
  box-shadow: 0 16px 40px rgba(255,215,0,0.25);
}

.stat-box i {
  width: 75px;
  height: 75px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #ffd700 0%, #ff8f00 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #fff;
  box-shadow: 0 8px 25px rgba(255,215,0,0.5), 0 0 20px rgba(255,215,0,0.3);
  animation: float 3s ease-in-out infinite;
  border: 3px solid rgba(255,255,255,0.2);
}

.stat-text {
  display: block;
}

.stat-text strong {
  display: block;
  font-size: 3.2em;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  font-family: 'Roboto', sans-serif;
  text-shadow: 0 2px 10px rgba(255,255,255,0.3);
  line-height: 1;
}

.stat-text span {
  font-size: 1.05em;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.stat-box:hover .stat-text span {
  color: var(--accent-gold);
  text-shadow: 0 2px 10px rgba(255,215,0,0.5);
}

/* Main Container */
.fee-main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2em;
  display: flex;
  flex-direction: column;
  gap: 3em;
}

/* Card Styles - Matching admission.html feature cards */
.fee-intro-card,
.fee-guidelines-card,
.fee-structure-card,
.fee-payment-methods,
.fee-help-card {
  background: var(--white);
  border-radius: 20px;
  padding: 45px 40px;
  box-shadow: 0 6px 30px rgba(23,54,93,0.12);
  border: 2px solid var(--accent-light);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: slideInUp 0.8s ease both;
}

.fee-intro-card::before,
.fee-guidelines-card::before,
.fee-structure-card::before,
.fee-payment-methods::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-blue), var(--accent-gold));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.fee-intro-card:hover::before,
.fee-guidelines-card:hover::before,
.fee-structure-card:hover::before,
.fee-payment-methods:hover::before {
  transform: scaleX(1);
}

.fee-intro-card:hover,
.fee-guidelines-card:hover,
.fee-structure-card:hover,
.fee-payment-methods:hover {
  transform: translateY(-12px);
  box-shadow: 0 16px 48px rgba(23,54,93,0.2);
  border-color: var(--accent);
}

/* Section Headers */
.card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 2px solid var(--accent-light);
}

.card-header i {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-blue) 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(23,54,93,0.25);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.fee-intro-card:hover .card-header i,
.fee-guidelines-card:hover .card-header i,
.fee-structure-card:hover .card-header i,
.fee-payment-methods:hover .card-header i {
  transform: rotate(5deg) scale(1.1);
  box-shadow: 0 12px 32px rgba(23,54,93,0.35);
}

.card-header h3,
.fee-intro-card h2 {
  font-size: 2.5em;
  font-weight: 800;
  color: var(--accent);
  margin: 0;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.fee-intro-card {
  text-align: center;
}

.intro-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-blue) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(23,54,93,0.25);
  animation: pulse 2s ease-in-out infinite;
}

.intro-content {
  max-width: 900px;
  margin: 0 auto;
}

.intro-content p {
  font-size: 1.15em;
  line-height: 1.9;
  color: #555;
  margin-top: 20px;
}

/* Guidelines Grid - Matching feature cards */
.guidelines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.guideline-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 25px;
  background: var(--accent-light);
  border-radius: 16px;
  border-left: 4px solid var(--accent);
  transition: all 0.3s ease;
}

.guideline-item:hover {
  background: var(--accent);
  color: #fff;
  transform: translateX(5px);
  box-shadow: 0 4px 16px rgba(23,54,93,0.2);
}

.guideline-item i {
  font-size: 1.5em;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.guideline-item:hover i {
  color: var(--accent-gold);
}

.guideline-item span {
  font-size: 1.05em;
  line-height: 1.6;
  font-weight: 500;
  flex: 1;
}

.guideline-item:hover span {
  color: #fff;
}

/* Highlight Note */
.fee-highlight-note {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 22px;
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border-radius: 16px;
  border-left: 4px solid var(--accent-gold);
  margin-bottom: 30px;
}

.fee-highlight-note i {
  font-size: 1.5em;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.note-text {
  flex: 1;
  color: #555;
  line-height: 1.6;
  font-size: 1em;
}

.note-text strong {
  display: block;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 1.1em;
}

/* Payment Methods Grid - Matching feature cards */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.payment-methods-grid .payment-method-card:last-child {
  grid-column: 1 / -1;
  max-width: 600px;
  margin: 0 auto;
  justify-self: center;
}

.payment-method-card {
  background: var(--white);
  padding: 35px 28px;
  border-radius: 20px;
  box-shadow: 0 6px 30px rgba(23,54,93,0.12);
  border: 2px solid var(--accent-light);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.payment-method-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-blue), var(--accent-gold));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.payment-method-card:hover::before {
  transform: scaleX(1);
}

.payment-method-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 16px 48px rgba(23,54,93,0.2);
  border-color: var(--accent);
}

.method-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-blue) 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(23,54,93,0.25);
  transition: all 0.3s ease;
}

.payment-method-card:hover .method-icon {
  transform: rotate(5deg) scale(1.1);
  box-shadow: 0 12px 32px rgba(23,54,93,0.35);
}

.payment-method-card h4 {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 12px 0;
  text-align: center;
  letter-spacing: 0.5px;
}

.payment-method-card p {
  text-align: center;
  color: #666;
  font-size: 0.95em;
  margin-bottom: 25px;
  line-height: 1.6;
  font-style: italic;
}

/* QR Code Container */
.qr-container {
  text-align: center;
  margin-top: 25px;
}

.payment-qr {
  max-width: 250px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(23,54,93,0.15);
  margin: 0 auto 20px;
  border: 3px solid var(--accent-light);
}

.qr-instructions {
  text-align: left;
  background: var(--accent-light);
  padding: 20px;
  border-radius: 12px;
  margin-top: 20px;
}

.qr-instructions p {
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 15px;
  text-align: left;
}

.qr-instructions ol {
  margin-left: 20px;
  color: #555;
  line-height: 1.8;
}

.qr-instructions ol li {
  margin-bottom: 8px;
}

/* Bank Details Card */
.bank-details-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--accent-light);
  margin-top: 25px;
}

.bank-header {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-blue) 100%);
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 4px solid var(--accent-gold);
}

.bank-header i {
  font-size: 1.8em;
  color: var(--accent-gold);
}

.bank-header span {
  font-weight: 800;
  font-size: 1.4em;
  color: #fff;
}

.bank-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.bank-field {
  padding: 20px 25px;
  border-bottom: 1px solid var(--accent-light);
  border-right: 1px solid var(--accent-light);
  transition: all 0.3s ease;
}

.bank-field:nth-child(2n) {
  border-right: none;
}

.bank-field:last-child,
.bank-field:nth-last-child(2) {
  border-bottom: none;
}

.bank-field:hover {
  background: var(--accent-light);
}

.bank-field label {
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.bank-value {
  font-size: 1.3em;
  font-weight: 800;
  color: var(--accent);
  font-family: 'Roboto', monospace;
  background: var(--accent-light);
  padding: 12px 20px;
  border-radius: 12px;
  display: inline-block;
}

/* Mobile Banking Steps */
.mobile-banking-steps {
  margin-top: 25px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px;
  background: var(--accent-light);
  border-radius: 16px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-item:hover {
  background: var(--accent);
  color: #fff;
  transform: translateX(5px);
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-blue) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(23,54,93,0.3);
}

.step-item:hover .step-number {
  background: var(--accent-gold);
  color: var(--accent);
}

.step-content {
  flex: 1;
}

.step-content strong {
  display: block;
  font-size: 1.1em;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 5px;
}

.step-item:hover .step-content strong {
  color: #fff;
}

.step-content span {
  color: #666;
  font-size: 0.95em;
  line-height: 1.6;
}

.step-item:hover .step-content span {
  color: rgba(255,255,255,0.9);
}

/* Steps Grid - Matching process timeline */
.fee-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.fee-step-card {
  background: var(--white);
  padding: 30px 25px;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(23,54,93,0.12);
  border: 2px solid var(--accent-light);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.fee-step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 36px rgba(23,54,93,0.2);
  border-color: var(--accent);
}

.fee-step-number {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-blue) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 6px 20px rgba(23,54,93,0.3);
}

.fee-step-content h4 {
  color: var(--accent);
  font-size: 1.3em;
  margin-bottom: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.fee-step-content h4 i {
  color: var(--accent-gold);
}

.fee-step-content p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95em;
  margin-bottom: 20px;
}

/* Buttons - Matching admission.html */
.fee-download-button,
.fee-form-button,
.help-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-blue) 100%);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1em;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 6px 24px rgba(23,54,93,0.25);
}

.fee-download-button:hover,
.fee-form-button:hover,
.help-btn:hover {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent) 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(23,54,93,0.35);
  color: var(--white);
  text-decoration: none;
}

.fee-download-button i,
.fee-form-button i,
.help-btn i {
  transition: transform 0.3s ease;
}

.fee-download-button:hover i,
.fee-form-button:hover i,
.help-btn:hover i {
  transform: translateX(5px);
}

.help-btn.primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #ff8f00 100%);
  color: var(--accent);
}

.help-btn.primary:hover {
  background: linear-gradient(135deg, #ff8f00 0%, var(--accent-gold) 100%);
  color: var(--accent);
}

.help-btn.secondary {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.help-btn.secondary:hover {
  background: var(--accent);
  color: var(--white);
}

/* Fee Structure Section */
.structure-content {
  text-align: center;
  margin: 30px 0;
}

.fee-contact-details {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid var(--accent-light);
}

.fee-contact-details h4 {
  font-size: 1.5em;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.fee-contact-details h4 i {
  color: var(--accent-gold);
}

.fee-contact-details p {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #555;
  font-size: 1.05em;
  margin-bottom: 15px;
  line-height: 1.6;
}

.fee-contact-details p i {
  color: var(--accent);
  width: 20px;
}

/* Help Card - Matching download section */
.fee-help-card {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-blue) 100%);
  padding: 50px 40px;
  border-radius: 24px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  border: 3px solid rgba(255,215,0,0.2);
}

.fee-help-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,215,0,0.15) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

.fee-help-card h3 {
  font-size: 2.5em;
  font-weight: 800;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.fee-help-card h3 i {
  color: var(--accent-gold);
  margin-right: 15px;
}

.fee-help-info {
  font-size: 1.2em;
  margin-bottom: 35px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.95);
}

.help-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .fee-hero h1 { font-size: 2.5em; }
  .hero-subtitle { font-size: 1.2em; }
  .fee-stats-bar { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .payment-methods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .payment-methods-grid .payment-method-card:last-child {
    grid-column: 1 / -1;
    max-width: 100%;
  }
  .bank-info-grid { grid-template-columns: 1fr; }
  .bank-field {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .fee-hero {
    min-height: 380px;
    padding: 3em 1em 2.5em;
  }
  .fee-hero h1 { font-size: 2em; }
  .hero-subtitle { font-size: 1.1em; }
  .fee-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -1.5em;
    gap: 15px;
    padding: 40px 15px;
  }
  .stat-box { padding: 20px; }
  .stat-box i { width: 60px; height: 60px; font-size: 24px; }
  .stat-text strong { font-size: 2.5em; }
  .fee-main-container { padding: 0 1.5em; gap: 2em; }
  .fee-intro-card,
  .fee-guidelines-card,
  .fee-structure-card,
  .fee-payment-methods { padding: 30px 25px; }
  .card-header h3,
  .fee-intro-card h2 { font-size: 1.8em; }
  .guidelines-grid { grid-template-columns: 1fr; }
  .payment-methods-grid {
    grid-template-columns: 1fr;
  }
  .payment-methods-grid .payment-method-card:last-child {
    grid-column: 1;
    max-width: 100%;
  }
  .fee-steps-grid { grid-template-columns: 1fr; }
  .help-actions { flex-direction: column; }
  .help-btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .fee-hero {
    min-height: 320px;
    padding: 2.5em 1em 2em;
    border-radius: 0 0 24px 24px;
  }
  .fee-hero h1 { font-size: 1.7em; }
  .hero-subtitle { font-size: 1em; }
  .fee-stats-bar {
    grid-template-columns: 1fr;
    padding: 30px 10px;
  }
  .stat-box i { width: 50px; height: 50px; font-size: 20px; }
  .stat-text strong { font-size: 2.2em; }
  .fee-main-container { padding: 0 1em; }
  .fee-intro-card,
  .fee-guidelines-card,
  .fee-structure-card,
  .fee-payment-methods { padding: 25px 20px; }
  .card-header { flex-direction: column; text-align: center; }
  .card-header h3 { font-size: 1.5em; }
  .card-header i { width: 60px; height: 60px; font-size: 24px; }
  .bank-value { font-size: 1.1em; padding: 10px 15px; }
  .fee-help-card { padding: 35px 25px; }
  .fee-help-card h3 { font-size: 1.8em; }
}
