:root {
  --accent: #16D5FF;
  --bg: #f9fafc;        /* if light mode */
  --text: #1a1a1a;
  --muted: #6b7280;
  --card-bg: #ffffff;
  --border: rgba(0,0,0,0.05);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* Utilities */
.bg-theme {
  background: var(--accent) !important;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border: none;
  transition: background 0.3s ease;
}
.btn-accent:hover {
  background: #0fc0e5; /* slightly darker shade */
}

.btn-outline-light {
  border: 1px solid var(--accent);
  color: var(--accent);
}
.btn-outline-light:hover {
  background: var(--accent);
  color: #fff;
}

.muted { 
  color: var(--muted); 
}

.text-accent {
  color: var(--accent) !important;
}

/* ===== NAVBAR (ALWAYS WHITE) ===== */

/* Initial load animation */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar {
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease-in-out;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  animation: fadeDown 0.6s ease-out forwards;
}

/* On scroll — shrink and add shadow */
.navbar.scrolled {
  padding: 0.75rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(8px);
}

/* Navbar brand/logo */
.navbar-brand {
  color: var(--text);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Nav links */
.navbar-nav .nav-link {
  color: var(--text) !important;
  transition: color 0.2s ease;
  font-weight: 500;
  margin: 0 0.5rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent) !important;
}

/* Optional subtle underline for active link */
.navbar-nav .nav-link.active::after {
  content: '';
  display: block;
  height: 2px;
  width: 100%;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 2px;
}

.navbar-nav .nav-link {
  position: relative;
  transition: color 0.25s ease;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.navbar {
  background: rgba(255, 255, 255, 0.9);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 1);
}

/* Section spacing helper */
.py-6 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/* WHY US SECTION: light themed band behind the columns */
#why-us {
  background: transparent; /* keep outer section transparent to preserve spacing */
}

#brochures,
#why-us > .container {
  background: radial-gradient(800px at 20% 30%, rgba(22,213,255,0.12), transparent 70%),
              radial-gradient(600px at 80% 70%, rgba(0,200,255,0.08), transparent 70%);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 2.5rem; /* inner spacing for the band */
}

@media (max-width: 575px) {
  #why-us > .container {
    padding: 1.25rem;
    border-radius: 8px;
  }
}

/* Keep Why Us titles on a single line on medium+ screens; truncate with ellipsis if too long */
@media (min-width: 768px) {
  #why-us .why-card h5 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
}

/* Font Awesome icons for Why Us */
.why-icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-icon i {
  font-size: 45px;
  color: var(--accent);
}

@media (max-width: 575px) {
  .why-icon {
    width: 56px;
    height: 56px;
  }
  .why-icon i {
    font-size: 22px;
  }
}

/* Banner section styles */
.banner-image {
  background: url('../images/banner.png') center/cover no-repeat;
}
.banner-overlay {
  background: rgba(0,0,0,0.35);
  min-height: 260px;
}
@media (max-width: 767px) {
  .banner-overlay { min-height: 180px; padding: 1.25rem 0; }
  .banner-overlay h2 { font-size: 1.25rem; }
}

.feature-card,
.price-card,
.card-crypto,
.team-card,
.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.feature-card:hover,
.price-card:hover,
.card-crypto:hover,
.team-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(22,213,255,0.25);
}

/* Dedicated card style for the Why Us section (keeps separate from .feature-card) */
.why-card {
  background: transparent; /* no background */
  border: none; /* no border */
  box-shadow: none; /* no shadow */
  transition: none;
  padding: 0; /* keep spacing controlled by inner elements */
}
.why-card .d-flex {
  padding: 1rem; /* keep inner spacing similar to previous layout */
}
.why-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}


/* Feature icons */
.feature-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(108,99,255,0.1);
  color: var(--accent);
  font-size: 28px;
  transition: transform 0.3s ease;
}
.feature-card:hover .icon {
  transform: rotate(8deg) scale(1.1);
}

.contact-form .form-control {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--text);
}
.contact-form .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.15rem rgba(22,213,255,0.25);
}

/* Make the contact form container visually transparent while keeping inputs legible */
.contact-form {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0; /* rely on column spacing */
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.navbar-nav a.active {
  color: var(--accent) !important;
  font-weight: 600;
}

.hero {
  background: radial-gradient(800px at 20% 30%, rgba(22,213,255,0.12), transparent 70%),
              radial-gradient(600px at 80% 70%, rgba(0,200,255,0.08), transparent 70%);
  padding-top: 8rem;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  background: url('../images/hero.webp') center/cover no-repeat;
  opacity: 0.05;
  transform: translateY(0);
  transition: transform 0.3s ease-out;
  /* Allow clicks through the decorative overlay so buttons remain interactive */
  pointer-events: none;
}

/* Hero image zoom in/out animation */
@keyframes heroZoom {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.hero-img-zoom {
  display: inline-block;
  transform-origin: center;
  animation: heroZoom 8s ease-in-out infinite;
  will-change: transform;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-img-zoom {
    animation: none !important;
  }
}

footer {
  background: radial-gradient(800px at 20% 30%, rgba(22,213,255,0.12), transparent 70%),
              radial-gradient(600px at 80% 70%, rgba(0,200,255,0.08), transparent 70%);
  color: var(--muted);
}
footer a:hover {
  color: var(--accent);
}

/* --- Responsive adjustments --- */
@media (max-width: 991px) {
  .hero {
    text-align: center;
  }
  .hero img {
    margin-top: 2rem;
  }
}

@media (max-width: 575px) {
  h1.display-5 {
    font-size: 2rem;
  }
  .feature-card, .price-card, .team-card {
    padding: 1.5rem;
  }
}

/* ===== MOBILE-FRIENDLY NAVBAR ===== */

/* General mobile adjustments */
@media (max-width: 991px) {
  .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transform: translateY(0) !important; /* always visible on mobile */
  }

  .navbar.hide {
    transform: translateY(0) !important; /* disable hide-on-scroll on mobile */
  }

  /* Make navbar links in collapsed menu readable */
  .navbar-nav {
    background: #ffffff;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }

  .navbar-nav .nav-link {
    color: var(--text) !important;
    display: block;
    padding: 0.75rem 1rem;
    text-align: center;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    color: var(--accent) !important;
  }

  /* Adjust toggle button color */
  .navbar-toggler {
    border-color: rgba(0,0,0,0.1);
  }
  .navbar-toggler-icon {
    background-image: none;
  }
  .navbar-toggler-icon::before {
    content: "\2630"; /* hamburger icon */
    font-size: 1.25rem;
    color: var(--text);
  }
}

/* JUSTIFY paragraphs inside Why Us columns only */
#why-us .why-card .text-start p {
  text-align: justify;
  text-justify: inter-word;
}

.page-title {
background: radial-gradient(800px at 20% 30%, rgba(22,213,255,0.12), transparent 70%),
              radial-gradient(600px at 80% 70%, rgba(0,200,255,0.08), transparent 70%);
}

/* Mobile-friendly adjustments for the page title */
@media (max-width: 991px) {
  .page-title {
    padding-top: 3.5rem; /* reduce top spacing so navbar doesn't feel like it's pushing content off-screen */
    padding-bottom: 2.25rem;
  }
  .page-title .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 575px) {
  .page-title {
    padding-top: 2.25rem;
    padding-bottom: 1.5rem;
  }
  .page-title h1 {
    font-size: 1.6rem; /* smaller headline on small screens */
    line-height: 1.15;
    margin-bottom: 0.4rem;
    word-break: break-word; /* allow long titles to wrap nicely */
  }
  .page-title p {
    font-size: 0.95rem;
    margin-bottom: 0;
  }
}

/* Ensure the page title is not hidden under the fixed navbar on tablets/phones.
   Adds a conservative top offset equal to the navbar height (fallback 80px).
   Uses margin so the section and its background are pushed below the fixed header. */
@media (max-width: 991px) {
  .page-title {
    margin-top: calc(var(--navbar-height, 80px));
  }
}

.whats_btn {
  position: fixed;
  bottom: 20px;
  left: 17px;
  z-index: 999;
  font-size: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
}