* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    padding: 20px;
}

.section-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 24px;
    max-width: 1150px;
    margin: 0 auto;
    /*text-align: left;*/
}

.hero {
    flex: 1;
    min-width: 300px;
}

.container {
    flex: 1;
    min-width: 400px;
}

.hero-content {
    max-width: 500px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    color: #111;
}

.hero p {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.2;
    color: #333;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px 0;
}

.exchange-card {
    max-width: 500px;
    background: white;
    border-radius: 40px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Rate Display */
.rate-update {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 8px;
}

.update-icon i {
    color: #6c757d;
    font-size: .9rem;
}

.warning-icon i {
    color: #856404;
    font-size: 1.4rem;
}

.current-rate {
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
    font-weight: 600;
    color: #495057;
}

/* Amount Sections */
.amount-section {
    margin-bottom: 24px;
}

.section-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 12px;
}

.amount-input-container {
    display: flex;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.amount-input-container:focus-within {
    border-color: #6c757d;
}

.amount-input {
    flex: 1;
    border: none;
    padding: 16px;
    font-size: 24px;
    font-weight: 600;
    background: transparent;
    outline: none;
}

/* Currency Flags */
.currency-flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-size: cover;
    margin-right: 4px;
    cursor: pointer;
}

.cny-flag {
    background: radial-gradient(circle, #ff0000 30%, #ffff00 70%);
}

.ngn-flag {
    background: linear-gradient(to bottom, #008751 33%, white 33%, white 66%, #008751 66%);
}

.usd-flag {
    background: linear-gradient(to bottom, #ff0000 14%, white 14%, white 28%, #ff0000 28%, #ff0000 42%, white 42%, white 56%, #ff0000 56%, #ff0000 70%, white 70%, white 84%, #ff0000 84%);
}

.jpy-flag {
    background: white;
    position: relative;
}

.jpy-flag::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #bc002d;
    border-radius: 50%;
}

.dem-flag {
    background: linear-gradient(to bottom, #000000 33%, #ff0000 33%, #ff0000 66%, #ffce00 66%);
}

.inr-flag {
    background: linear-gradient(to bottom, #ff9933 33%, white 33%, white 66%, #138808 66%);
}

.cad-flag {
    background: linear-gradient(to right, #ff0000 25%, white 25%, white 75%, #ff0000 75%);
}

.gbp-flag {
    background: linear-gradient(45deg, #012169 25%, white 25%, white 50%, #c8102e 50%, #c8102e 75%, white 75%);
}

.eur-flag {
    background: #003399;
    position: relative;
}

.eur-flag::after {
    content: '⭐';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffcc00;
    font-size: 8px;
}

.zar-flag {
    background: linear-gradient(45deg, #007749 25%, #ffffff 25%, #ffffff 50%, #de3831 50%, #de3831 75%, #ffffff 75%);
}

.currency-select {
    display: flex;
    align-items: center;
    padding: 8px 4px 20px 0px;
    background: #f8f9fa;
    border-left: 1px solid #e9ecef;
    gap: 0px;
}

.currency-select select {
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    cursor: pointer;
    min-width: 140px;
}

.minimum-notice {
    margin-top: 12px;
    padding: 12px;
    background: #e3f2fd;
    border-radius: 6px;
    font-size: 14px;
    color: #1976d2;
}

/* Payment Section */
.payment-section {
    margin-bottom: 24px;
}

.payment-method-container {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.payment-method-container:hover {
    border-color: #6c757d;
}

.payment-icon svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: currentColor;
}

/* Alipay specific icon styling */
.payment-icon.alipay-icon {
    width: 24px;
    height: 24px;
    background-image: url('/public/lovable-uploads/f592744a-a375-4b87-9afe-32c82d98499a.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    font-size: 0; /* Hide emoji text */
}

.payment-method-container span {
    flex: 1;
    font-weight: 600;
    color: #495057;
}

.change-btn {
    background: none;
    border: 1px solid #6c757d;
    color: #6c757d;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.2s;
}

.change-btn:hover {
    background: #6c757d;
    color: white;
}

/* Fee Breakdown */
.fee-breakdown {
    margin-bottom: 24px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.fee-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: #6c757d;
}

.fee-row:last-child {
    margin-bottom: 0;
}

.total-fee {
    font-weight: 600;
    color: #495057;
    padding-top: 8px;
    border-top: 1px solid #dee2e6;
}

/* Availability Notice */
.availability-notice {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    margin-bottom: 24px;
}

.warning-icon {
    font-size: 20px;
    color: #856404;
}

.availability-notice span {
    font-size: 14px;
    color: #856404;
    line-height: 1.4;
}

/* Delivery Time */
.delivery-time {
    margin-bottom: 24px;
    font-size: .8rem;
    color: #6c757d;
}

/* Move Money Button */
.move-money-btn {
    width: 100%;
    padding: 18px;
    background: #00d084;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.move-money-btn:hover:not(:disabled) {
    background: #00b377;
}

.move-money-btn:disabled {
    background: #dee2e6;
    color: #6c757d;
    cursor: not-allowed;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 480px;
    margin: 50px auto;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 16px;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #495057;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 4px;
    color: #6c757d;
}

.modal-subtitle {
    padding: 0 24px 24px;
    color: #6c757d;
    font-size: 14px;
}

.payment-methods h3 {
    padding: 0 24px 16px;
    font-size: 16px;
    font-weight: 600;
    color: #495057;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.payment-option:hover:not(.disabled) {
    background: #f8f9fa;
}

.payment-option.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.payment-option .payment-icon {
    font-size: 24px;
    margin-right: 16px;
    width: 40px;
    text-align: center;
}

.payment-details {
    flex: 1;
}

.payment-details h4 {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 4px;
}

.payment-details p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 4px;
}

.payment-details .fee {
    font-size: 12px;
    color: #28a745;
    font-weight: 500;
}

.arrow {
    color: #6c757d;
    font-size: 16px;
}

/* Notify Me Form Styles */
#notificationForm {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#notificationForm input {
  padding: 14px 16px;
  font-size: 14px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  transition: border 0.3s, box-shadow 0.3s;
  outline: none;
}

#notificationForm input:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}

#notificationForm .submit-btn {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#notificationForm .submit-btn:hover {
  background: #0056b3;
}

/* Modal Header Styling */
#notificationModal .modal-header {
  padding: 20px 24px 0;
  border-bottom: none;
}

#notificationModal h2 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

#notificationModal .close-btn {
  font-size: 22px;
  color: #999;
}

/*Testimonial Section*/
.testimonial-section {
    padding: 40px 20px;
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.testimonial-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1150px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

.testimonial-header-area {
    flex: 1;
    min-width: 250px;
}

.testimonial-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #333;
}

.testimonial-controls {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.testimonial-controls button {
    background-color: #222;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 2rem;
    transition: background 0.3s ease;
}

.testimonial-controls button:hover {
    background-color: #444;
}

.testimonial-slider {
    flex: 2;
    position: relative;
    min-width: 300px;
}

.testimonial-card {
    display: none;
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    width: 80%;
    margin-left: 50px;
    transition: opacity 0.4s ease;
}

.testimonial-card.active {
    display: block;
    position: relative;
}

.testimonial-card.active p {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 10px 20px 10px 20px;
    line-height: 1.5;
    color: #333;
}

.testimonial-card.active span {
    font-size: 1.3rem;
    font-weight: 500;
    font-style: italic;
    line-height: 1.3;
    margin-top: 40px;
    padding: 30px;
}

/* FAQ Section */
.faq-section {
  background: #fff;
  padding: 40px 20px;
  border-top: 1px solid #e5e7eb;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-container h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #222;
}

.faq-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.faq-question {
  width: 100%;
  background: #fff;
  border: none;
  outline: none;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  content: '-';
}

.faq-question:hover {
  background: #f1f1f1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 20px;
}

.faq-answer p {
  margin: 15px 0 15px 0;
  color: #555;
}

/*Customer Support Section*/
.support-section {
    padding: 60px 20px;
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.trust-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1 1 calc(33.33% - 32px);
    min-width: 260px;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background-color: #e8f3e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-circle i {
    color: #1a3d1a;
    font-size: 20px;
}

.text-group h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.text-group p {
    margin: 8px 0 0;
    font-size: 16px;
    color: #4b5563;
    line-height: 1.3;
}

.support-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.support-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111827;
    display: flex;
    justify-content: center;
    margin-top: 50px;
    gap: 10px;
}

.support-title i {
    font-size: 2rem;
    color: #111827;
    margin-top: 10px;
}

.support-text {
    font-size: 1rem;
    color: #4b5563;
    margin-bottom: 40px;
}

.support-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.support-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #4b5563;
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.support-item:hover {
    transform: scale(1.1);
    color: #000;
}

.support-item i {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

/* Footer Section */
.site-footer {
  background-color: #ffffff; /* dark neutral background */
  color: #4b5563;             /* soft white text */
  text-align: center;
  padding: 30px 20px;
  font-size: 0.8rem;
  /*border-top: 1px solid; #e5e7eb; /* subtle top border */*/
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 80px;
  height: auto;
}


/* Responsive Design */
@media (max-width: 480px) {
    .container {
        padding: 10px 0;
    }
    
    .exchange-card {
        margin: 0 10px;
        padding: 20px;
    }
    
    .amount-input {
        font-size: 20px;
    }
}
