/* ==========================================================================
   A.R.K. TRADERS — Premium Wholesale Website
   Palette: Warm Charcoal · Steel Blue · Copper Accent
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens
   -------------------------------------------------------------------------- */
:root {
  --dark: #02060E;
  --primary: #021B3D;
  --primary-deep: #02060E;
  --primary-light: #0356C5;

  --accent: #0356C5;
  --accent-hover: #024299;
  --accent-light: #EBF3FC;
  --accent-glow: rgba(3, 86, 197, 0.35);

  --bg-body: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-alt: #EFF4F9;

  --text-dark: #02060E;
  --text-body: #122947;
  --text-muted: #3D5F8A;

  --border: #D0E1F5;

  --shadow-sm: 0 2px 8px rgba(2, 6, 14, 0.06);
  --shadow-md: 0 8px 24px rgba(2, 6, 14, 0.1);
  --shadow-lg: 0 20px 40px rgba(2, 6, 14, 0.15);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 50px;

  --transition: all 0.3s ease;
}

/* --------------------------------------------------------------------------
   2. Resets & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-body);
  background: var(--bg-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

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

ul {
  list-style: none;
}

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

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* --------------------------------------------------------------------------
   3. Section Utilities
   -------------------------------------------------------------------------- */
.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.9rem;
  }
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 660px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn-accent {
  background: var(--accent);
  color: #fff !important;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--accent-glow);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text-dark) !important;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-outline-dark:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: #fff !important;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-primary-dark {
  background: var(--primary);
  color: #fff !important;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-primary-dark:hover {
  background: var(--dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   5. Navbar
   -------------------------------------------------------------------------- */
.navbar {
  padding: 16px 0;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 226, 220, 0.6);
}

.navbar.scrolled {
  padding: 10px 0;
  background: #fff;
  box-shadow: 0 4px 20px rgba(2, 6, 14, 0.1);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.footer-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.brand-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-dark);
}

.brand-text span {
  color: var(--accent);
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark) !important;
  padding: 8px 18px !important;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent) !important;
  background: var(--accent-light);
}

.navbar-toggler {
  border: none;
  padding: 8px;
  font-size: 1.4rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   6. Hero (Home page)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(2, 6, 14, 0.93), rgba(3, 86, 197, 0.82)),
    url('../assets/images/hero-bg.png') center/cover no-repeat;
  color: #fff;
  padding: 140px 0 100px;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-section h1 {
  color: #fff;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 24px;
}

@media (max-width: 992px) {
  .hero-section {
    padding: 100px 0 60px;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(3, 86, 197, 0.25);
  border: 1px solid var(--accent);
  color: #5BA2FF;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-stats-banner {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-top: 50px;
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(3, 86, 197, 0.3);
  color: #5BA2FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.hero-stat-title {
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.hero-stat-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

/* --------------------------------------------------------------------------
   7. Page Banner (Inner pages)
   -------------------------------------------------------------------------- */
.page-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  color: #fff;
  padding: 120px 0 60px;
  text-align: center;
}

.page-banner h1 {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.9rem;
}

.breadcrumb-custom a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-custom a:hover {
  color: var(--accent);
}

.breadcrumb-custom span {
  color: var(--accent);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   8. About Section & Cards
   -------------------------------------------------------------------------- */
.about-img-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-box img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-img-box:hover img {
  transform: scale(1.03);
}

.experience-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--primary);
  color: #fff;
  padding: 22px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--accent);
}

.experience-badge h3 {
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 0;
}

.experience-badge p {
  margin-bottom: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.mission-vision-card {
  background: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.mission-vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.mission-vision-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.mv-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

/* Value Cards (About page) */
.value-card {
  background: var(--bg-card);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.value-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 18px;
  transition: var(--transition);
}

.value-card:hover .value-icon {
  background: var(--accent);
  color: #fff;
}

/* --------------------------------------------------------------------------
   9. Product Cards (Home preview)
   -------------------------------------------------------------------------- */
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.product-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.06);
}

.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(2, 6, 14, 0.88);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
}

.product-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-icon-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.product-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.product-card:hover .product-icon {
  background: var(--accent);
  color: #fff;
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 0;
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
  flex-grow: 1;
}

.product-footer {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-inquire {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.product-card:hover .btn-inquire {
  color: var(--accent);
}

/* Product Detail Section (Products page) */
.product-detail {
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}

.product-detail:last-of-type {
  border-bottom: none;
}

.product-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.product-detail-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.feature-list {
  margin-top: 16px;
}

.feature-list li {
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list li i {
  color: var(--accent);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   10. Service Cards
   -------------------------------------------------------------------------- */
.service-card {
  background: var(--bg-card);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.service-icon-box {
  width: 64px;
  height: 64px;
  background: var(--primary);
  color: var(--accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 22px;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--accent);
  color: #fff;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   11. Process Steps (Services page)
   -------------------------------------------------------------------------- */
.process-step {
  text-align: center;
  padding: 24px;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 18px;
}

.step-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.step-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   12. Why Choose Us & Counters
   -------------------------------------------------------------------------- */
.why-us-section {
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.why-us-section .section-title {
  color: #fff;
}

.why-us-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
  height: 100%;
}

.why-us-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.why-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.why-title {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 4px;
}

.why-desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* Counters */
.counters-wrapper {
  margin-top: 70px;
  background: rgba(2, 27, 61, 0.6);
  border: 1px solid rgba(3, 86, 197, 0.4);
  border-radius: var(--radius-lg);
  padding: 40px 20px;
}

.counter-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.counter-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   13. CTA Banner
   -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* --------------------------------------------------------------------------
   14. Contact Section & Forms
   -------------------------------------------------------------------------- */
.contact-info-card {
  background: linear-gradient(135deg, var(--primary), var(--dark));
  color: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(3, 86, 197, 0.25);
  color: #5BA2FF;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-title {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.contact-info-text {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0;
}

.contact-form-card {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.form-control,
.form-select {
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  font-size: 0.95rem;
  transition: var(--transition);
  background: #FAFAFC;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: #fff;
}

.form-label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-top: 50px;
  width: 100%;
  height: 380px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   15. FAQ Accordion (Contact page)
   -------------------------------------------------------------------------- */
.faq-section .accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md) !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-section .accordion-button {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
  background: var(--bg-card);
  padding: 18px 24px;
}

.faq-section .accordion-button:not(.collapsed) {
  color: var(--accent);
  background: var(--accent-light);
  box-shadow: none;
}

.faq-section .accordion-button:focus {
  box-shadow: none;
}

.faq-section .accordion-body {
  padding: 18px 24px;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 30px;
}

.footer-brand {
  margin-bottom: 22px;
}

.footer-brand .brand-text {
  color: #fff;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-heading {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

.copyright-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 55px;
  padding-top: 22px;
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   17. Back to Top & Modal
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 6px 16px var(--accent-glow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.modal-content {
  border-radius: var(--radius-lg);
  border: none;
  overflow: hidden;
}

.modal-header {
  background: linear-gradient(135deg, var(--primary), var(--dark));
  color: #fff;
  border-bottom: none;
  padding: 24px;
}

.modal-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-body {
  padding: 30px;
}