/* ==========================================================================
   BitBR.io - Modern High-Tech Style System (Premium Light Theme)
   Theme: Pure White & Vivid Oceanic Cyan/Blue + Smooth Animations
   ========================================================================== */

:root {
  /* Color Palette - Premium Light Theme */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --bg-glass-border: rgba(226, 232, 240, 0.9);

  --text-main: #0f172a;        /* Deep navy slate headings */
  --text-body: #334155;        /* High contrast slate body text */
  --text-muted: #475569;       /* Medium slate text */
  --text-dim: #64748b;

  --accent-cyan: #0284c7;      /* Vivid Ocean Blue */
  --accent-blue: #2563eb;      /* Royal Tech Blue */
  --accent-indigo: #4f46e5;    /* Deep Indigo */
  --accent-glow: rgba(2, 132, 199, 0.15);

  --gradient-brand: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #4f46e5 100%);
  --gradient-soft: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  --gradient-hero: radial-gradient(ellipse at top, rgba(2, 132, 199, 0.08) 0%, #ffffff 75%);

  /* Typography */
  --font-heading: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Shadows & Blur */
  --glass-blur: blur(16px);
  --box-shadow-card: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  --box-shadow-card-hover: 0 20px 45px -10px rgba(2, 132, 199, 0.18);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Smooth Scroll */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-body) !important;
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main) !important;
  letter-spacing: -0.02em;
}

p, span, li, label, div {
  color: var(--text-body);
}

.lead {
  color: #334155 !important;
  font-weight: 400;
}

.text-muted {
  color: #475569 !important;
}

.text-dim {
  color: #64748b !important;
}

.text-cyan {
  color: var(--accent-cyan) !important;
}

.text-primary {
  color: #2563eb !important;
}

.text-indigo {
  color: #4f46e5 !important;
}

/* Spacing & Layout Utilities */
.py-6 {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

.py-7 {
  padding-top: 8rem !important;
  padding-bottom: 8rem !important;
}

.mb-6 {
  margin-bottom: 5.5rem !important;
}

.mt-6 {
  margin-top: 5.5rem !important;
}

.my-6 {
  margin-top: 5.5rem !important;
  margin-bottom: 5.5rem !important;
}

.max-w-700 {
  max-width: 760px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Ambient Background Effect */
.bg-ambient-glow {
  background: var(--gradient-soft);
  position: relative;
}

.bg-ambient-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(2, 132, 199, 0.05), transparent 70%);
  pointer-events: none;
}

.grid-background {
  background-image: 
    radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Gradient Text */
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Custom Badges */
.badge-pill-tech {
  background: rgba(2, 132, 199, 0.08);
  color: var(--accent-cyan) !important;
  border: 1px solid rgba(2, 132, 199, 0.25);
  padding: 0.6rem 1.4rem;
  border-radius: 50rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.08);
}

/* Header & Navbar */
.navbar-custom {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--bg-glass-border);
  transition: var(--transition-smooth);
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.navbar-custom.scrolled {
  padding: 0.65rem 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.navbar-brand img {
  height: 52px;
  width: auto;
  transition: var(--transition-smooth);
}

.nav-link {
  color: #334155 !important;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.5rem 1rem !important;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 60%;
}

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

/* Custom Buttons */
.btn-brand {
  background: var(--gradient-brand);
  color: #ffffff !important;
  border: none;
  font-weight: 700;
  padding: 0.9rem 2.2rem;
  border-radius: 50rem;
  box-shadow: 0 6px 22px rgba(2, 132, 199, 0.35);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-brand:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.45);
  color: #ffffff !important;
}

.btn-outline-custom {
  background: #ffffff;
  color: #0f172a !important;
  border: 1px solid #cbd5e1;
  font-weight: 600;
  padding: 0.9rem 2.2rem;
  border-radius: 50rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: var(--transition-smooth);
}

.btn-outline-custom:hover {
  background: rgba(2, 132, 199, 0.06);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.12);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 11rem 0 7rem 0;
  background: var(--gradient-hero);
}

.hero-glow-circle {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.1) 0%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

/* Cards */
.glass-card {
  background: var(--bg-card);
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  padding: 2.5rem;
  transition: var(--transition-smooth);
  box-shadow: var(--box-shadow-card);
  position: relative;
  overflow: hidden;
}

.glass-card p, .glass-card li, .glass-card small, .glass-card span {
  color: #475569 !important;
}

.glass-card h1, .glass-card h2, .glass-card h3, .glass-card h4, .glass-card h5, .glass-card h6 {
  color: #0f172a !important;
}

.glass-card:hover {
  background: #ffffff;
  border-color: rgba(2, 132, 199, 0.4);
  transform: translateY(-6px);
  box-shadow: var(--box-shadow-card-hover);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: var(--transition-smooth);
}

.glass-card:hover::before {
  opacity: 1;
}

/* Icons */
.icon-box-lg {
  width: 68px;
  height: 68px;
  border-radius: 1.25rem;
  background: rgba(2, 132, 199, 0.08);
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  border: 1px solid rgba(2, 132, 199, 0.2);
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.glass-card:hover .icon-box-lg {
  background: var(--gradient-brand);
  color: #ffffff;
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.3);
}

/* Feature Media Box */
.feature-media-box {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.12);
}

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

.feature-media-box:hover img {
  transform: scale(1.05);
}

/* Clients Grid */
.client-logo-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  transition: var(--transition-smooth);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.client-logo-card img {
  max-height: 80px;
  max-width: 85%;
  object-fit: contain;
  filter: none;
  opacity: 0.95;
  transition: var(--transition-smooth);
}

.client-logo-card:hover {
  background: #ffffff;
  border-color: var(--accent-cyan);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(2, 132, 199, 0.15);
}

.client-logo-card:hover img {
  opacity: 1;
  transform: scale(1.08);
}

/* Testimonial Cards */
.testimonial-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  box-shadow: var(--box-shadow-card);
}

.testimonial-card p {
  color: #334155 !important;
  font-size: 1.05rem;
}

.testimonial-card:hover {
  border-color: rgba(2, 132, 199, 0.4);
  transform: translateY(-6px);
  box-shadow: var(--box-shadow-card-hover);
}

.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.2);
}

/* Team Member Cards */
.team-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--box-shadow-card);
}

.team-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-card-hover);
}

.team-img-wrapper {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
}

.team-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-img-wrapper img {
  transform: scale(1.08);
}

.team-info {
  padding: 1.75rem;
  text-align: center;
}

.team-info h4 {
  color: #0f172a !important;
}

.team-info span {
  color: var(--accent-cyan) !important;
  font-size: 0.95rem;
}

/* Modal Customization */
.modal-content-custom {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 1.5rem;
  color: #0f172a;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

.modal-header-custom {
  border-bottom: 1px solid #e2e8f0;
  padding: 1.75rem 2rem;
  background: #f8fafc;
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
}

.form-control-custom {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a !important;
  border-radius: 0.75rem;
  padding: 0.85rem 1.1rem;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-control-custom:focus {
  background: #ffffff;
  border-color: var(--accent-cyan);
  color: #0f172a !important;
  box-shadow: 0 0 15px rgba(2, 132, 199, 0.2);
}

.form-control-custom::placeholder {
  color: #94a3b8;
}

.form-select option {
  background-color: #ffffff !important;
  color: #0f172a !important;
  padding: 10px;
}

/* Footer */
.footer-custom {
  background: #0f172a;
  border-top: 1px solid #1e293b;
  padding: 5rem 0 2.5rem 0;
  color: #f8fafc;
}

.footer-custom h1, .footer-custom h2, .footer-custom h3, .footer-custom h4, .footer-custom h5, .footer-custom h6 {
  color: #ffffff !important;
}

.footer-custom p, .footer-custom span, .footer-custom small, .footer-custom div {
  color: #cbd5e1 !important;
}

.footer-logo {
  height: 52px;
  width: auto;
}

.footer-links a {
  color: #cbd5e1 !important;
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: #38bdf8 !important;
  padding-left: 5px;
}

.footer-custom .btn-outline-custom {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.2);
}

.footer-custom .btn-outline-custom:hover {
  background: var(--accent-cyan);
  color: #ffffff !important;
  border-color: var(--accent-cyan);
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
