/* ============================================
   PAYHAVEN - CORPORATE PROFESSIONAL BANKING STYLE
   Clean, Trustworthy, Enterprise Design
   ============================================ */

/* Corporate Color System */
:root {
  /* Primary Colors */
  --corporate-blue: #003d82;
  --corporate-navy: #001f3f;
  --corporate-teal: #0077b6;
  --corporate-gold: #d4af37;

  /* Background Colors */
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-lighter: #f1f3f5;
  --bg-gray: #e9ecef;

  /* Text Colors */
  --text-primary: #212529;
  --text-secondary: #495057;
  --text-tertiary: #6c757d;
  --text-light: #adb5bd;

  /* Accent Colors */
  --accent-blue: #0056b3;
  --accent-green: #28a745;
  --accent-red: #dc3545;

  /* Gradients */
  --gradient-corporate: linear-gradient(135deg, #003d82 0%, #0077b6 100%);
  --gradient-gold: linear-gradient(135deg, #d4af37 0%, #b8960f 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

/* Professional Typography */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&family=Merriweather:wght@300;400;700;900&display=swap");

body {
  font-family: "Open Sans", sans-serif;
  background: var(--bg-white);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
.title {
  font-family: "Merriweather", serif;
  font-weight: 700;
  color: var(--corporate-navy);
  line-height: 1.3;
}

/* ============================================
   HEADER - Professional & Clean
   ============================================ */

.header-top {
  background: var(--corporate-navy);
  border-bottom: 3px solid var(--corporate-gold);
  padding: 0.875rem 0;
}

.header-top-item {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
}

.header-top-item a {
  color: var(--corporate-gold);
  transition: all 0.3s ease;
  font-weight: 600;
}

.header-top-item a:hover {
  color: #fff;
}

.header-bottom {
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  padding: 1rem 0;
  position: relative;
}

.header-bottom::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-corporate);
}

.menu-item__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--corporate-navy) !important;
  padding: 0.875rem 1.25rem;
  transition: all 0.3s ease;
  position: relative;
}

.menu-item__link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--corporate-gold);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.menu-item__link:hover::before,
.menu-item__link.active::before {
  width: 80%;
}

.menu-item__link:hover,
.menu-item__link.active {
  color: var(--corporate-blue) !important;
}

/* ============================================
   HERO SECTION - Professional Banner
   ============================================ */

.banner-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.banner-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: -10%;
  width: 60%;
  height: 100%;
  background: var(--gradient-corporate);
  opacity: 0.03;
  border-radius: 50% 0 0 50%;
  transform: skewX(-10deg);
}

.banner-content {
  position: relative;
  z-index: 2;
}

.banner-content .title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--corporate-navy);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease;
}

.banner-content .subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

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

/* ============================================
   EXCHANGE FORM - Professional Card
   ============================================ */

.currency-converter {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--corporate-gold);
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.currency-converter .section-header {
  margin-bottom: 2rem;
}

.currency-converter .section-header .title {
  font-size: 1.75rem;
  color: var(--corporate-navy);
  margin-bottom: 0.5rem;
}

.exchange-form .form-label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.exchange-form .form--control {
  background: var(--bg-lighter);
  border: 2px solid var(--bg-gray);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.exchange-form .form--control:focus {
  background: var(--bg-white);
  border-color: var(--corporate-blue);
  box-shadow: 0 0 0 4px rgba(0, 61, 130, 0.1);
  outline: none;
}

.exchange-form .form--control::placeholder {
  color: var(--text-light);
}

.exchange-form__icon {
  background: var(--corporate-gold);
  color: var(--corporate-navy) !important;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
  cursor: pointer;
}

.exchange-form__icon:hover {
  transform: rotate(180deg) scale(1.05);
  box-shadow: var(--shadow-lg);
  background: var(--corporate-blue);
  color: #fff !important;
}

/* ============================================
   BUTTONS - Corporate Style
   ============================================ */

.btn--base {
  background: var(--gradient-corporate);
  border: none;
  border-radius: var(--radius-md);
  padding: 1rem 2.5rem;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn--base::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.btn--base:hover::before {
  left: 100%;
}

.btn--base:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--base-outline {
  background: transparent;
  border: 2px solid var(--corporate-blue);
  color: var(--corporate-blue);
  border-radius: var(--radius-md);
  padding: 0.875rem 2.5rem;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn--base-outline:hover {
  background: var(--corporate-blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   TRACKING FORM - Hidden
   ============================================ */

/* Hide tracking form completely */
.exchange-form-bottom {
  display: none !important;
}

/* Remove extra space after banner */
.banner-section + * {
  margin-top: 0;
}

/* ============================================
   SECTION HEADERS - Professional
   ============================================ */

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .cate {
  color: var(--corporate-blue);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  display: inline-block;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--corporate-gold);
}

.section-header .title {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--corporate-navy);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================
   CARDS - Clean Professional
   ============================================ */

.feature-item,
.service-item,
.how-item {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--corporate-blue);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-item:hover,
.service-item:hover,
.how-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--corporate-gold);
}

.feature-thumb,
.service-thumb {
  margin-bottom: 1.5rem;
}

.feature-thumb i,
.service-thumb i {
  width: 70px;
  height: 70px;
  line-height: 70px;
  text-align: center;
  border-radius: var(--radius-md);
  background: var(--gradient-corporate);
  color: #fff;
  font-size: 2rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.feature-item:hover .feature-thumb i,
.service-item:hover .service-thumb i {
  transform: scale(1.1);
  background: var(--gradient-gold);
  color: var(--corporate-navy);
}

.feature-content .title,
.service-content .title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--corporate-navy);
  margin-bottom: 0.875rem;
}

.feature-content p,
.service-content p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* ============================================
   COUNTER SECTION - Professional Stats
   ============================================ */

.counter-section {
  background: var(--gradient-corporate);
  padding: 4rem 0;
  position: relative;
}

.counter-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.counter-item {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.counter-item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: rgba(255, 255, 255, 0.2);
}

.counter-item:last-child::after {
  display: none;
}

.counter-item .counter-header .title {
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.5rem;
}

.counter-item .counter-header .sub-title {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.feature-section {
  background: var(--bg-light);
  padding: 5rem 0;
}

.feature-section .section-header .title {
  color: var(--corporate-navy);
}

/* ============================================
   TRUST INDICATORS
   ============================================ */

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-white);
  border: 2px solid var(--bg-gray);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.5rem;
  margin: 0.5rem;
  transition: all 0.3s ease;
}

.trust-badge:hover {
  border-color: var(--corporate-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.trust-badge i {
  color: var(--corporate-gold);
  font-size: 1.5rem;
}

.trust-badge span {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
}

/* ============================================
   FOOTER - Clean White with Black Text
   ============================================ */

.footer-area {
  background: #ffffff;
  border-top: none;
  padding-top: 3rem;
  color: #000;
}

.footer-widget .widget-title,
.footer-widget .title {
  color: #000;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-widget .widget-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #ff9830;
}

.footer-area .footer-widget.widget-link ul li a {
  color: #333;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  display: inline-block;
}

.footer-area .footer-widget.widget-link ul li a:hover {
  color: #ff9830;
  padding-left: 0.5rem;
}

.footer-bottom {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  margin-top: 2rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.footer-bottom a {
  color: #ff9830;
}

.footer-bottom a:hover {
  color: #fff;
}

/* Newsletter Form in Footer */
.footer-widget .newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-widget .newsletter-form .form--control {
  background: #f5f5f5;
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 14px;
  color: #333;
  transition: all 0.3s ease;
}

.footer-widget .newsletter-form .form--control:focus {
  background: #fff;
  border-color: #ff9830;
  box-shadow: 0 0 0 4px rgba(255, 152, 48, 0.1);
  outline: none;
}

.footer-widget .newsletter-form .form--control::placeholder {
  color: #999;
}

.footer-widget .newsletter-form .btn {
  background: #ff9830;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.footer-widget .newsletter-form .btn:hover {
  background: #ff7600;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 152, 48, 0.3);
}

.footer-widget .newsletter-form .btn-primary {
  background: #ff9830;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  width: 100%;
}

.footer-widget .newsletter-form .btn-primary:hover {
  background: #ff7600;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 152, 48, 0.3);
}

/* ============================================
   SCROLL TO TOP - Professional
   ============================================ */

.scrollToTop {
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: var(--radius-md);
  background: var(--corporate-gold);
  color: var(--corporate-navy);
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

.scrollToTop:hover {
  transform: translateY(-5px);
  background: var(--corporate-blue);
  color: #fff;
}

/* ============================================
   PRELOADER - DISABLED
   ============================================ */

.preloader {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* ============================================
   FORM ELEMENTS - Professional
   ============================================ */

.form-select,
select.form--control {
  background: var(--bg-lighter);
  border: 2px solid var(--bg-gray);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23212529' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.form-select:focus,
select.form--control:focus {
  background: var(--bg-white);
  border-color: var(--corporate-blue);
  box-shadow: 0 0 0 4px rgba(0, 61, 130, 0.1);
  outline: none;
}

/* ============================================
   BADGES & TAGS
   ============================================ */

.badge-corporate {
  background: var(--corporate-blue);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-gold {
  background: var(--corporate-gold);
  color: var(--corporate-navy);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
  .banner-content .title {
    font-size: 2.5rem;
  }

  .section-header .title {
    font-size: 2rem;
  }

  .currency-converter {
    padding: 2rem;
  }

  .counter-item::after {
    display: none;
  }
}

@media (max-width: 575px) {
  .banner-content .title {
    font-size: 2rem;
  }

  .currency-converter {
    padding: 1.5rem;
  }

  .section-header .title {
    font-size: 1.75rem;
  }
}

/* ============================================
   SMOOTH ANIMATIONS
   ============================================ */

html {
  scroll-behavior: smooth;
}

* {
  transition: color 0.3s ease, background-color 0.3s ease;
}

/* ============================================
   PROFESSIONAL ACCENTS
   ============================================ */

.divider-line {
  width: 100px;
  height: 3px;
  background: var(--corporate-gold);
  margin: 2rem auto;
}

.highlight-text {
  color: var(--corporate-blue);
  font-weight: 700;
}

.gold-text {
  color: var(--corporate-gold);
  font-weight: 700;
}
