/* ====== Base / Theme ====== */
:root{
  --bg: #0a0f1b;
  --bg-2: #0f1729;
  --text: #e5e7eb;
  --muted: #a1a8b3;
  --accent: #10b981;       /* teal */
  --accent-2: #60a5fa;     /* blue */
  --glow: 0 0 24px rgba(16,185,129,.55), 0 0 64px rgba(96,165,250,.35);
}

*{box-sizing:border-box}
html,body{height:100%; margin:0}
body{
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Utilities */
.text-light-50{ color: rgba(229,231,235,.72); }
.py-6{ padding: 5rem 0; }
.btn-accent{
  background: linear-gradient(90deg,var(--accent),var(--accent-2));
  border: 0;
  color: #071a16;
  font-weight: 700;
  box-shadow: var(--glow);
  padding: .75rem 1.25rem;
  border-radius: .5rem;/* ================== THEME ================== */
:root {
  --bg: #0a0f1b;
  --bg-2: #0f1729;
  --text: #e5e7eb;
  --muted: #a1a8b3;
  
  /* Shared Bit2Gig colors */
  --accent: #10b981;   /* Teal (Growth) */
  --accent-2: #60a5fa; /* Blue (Trust, Tech) */
  
  /* Sub-pillars */
  --academy-gold: #FFD700;  /* Academy prestige */
  --tech-silver: #c0c9d9;   /* Technologies innovation */
  
  --glow: 0 0 24px rgba(16,185,129,.55),
          0 0 64px rgba(96,165,250,.35);
}

body {
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* ================== SHARED UTILITIES ================== */
.text-light-50 { color: rgba(229,231,235,.72); }
.py-6 { padding: 5rem 0; }

/* Shared Accent Button */
.btn-accent {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border: 0;
  color: #071a16;
  font-weight: 700;
  box-shadow: var(--glow);
  padding: .75rem 1.25rem;
  border-radius: .5rem;
}
.btn-accent:hover {
  filter: brightness(1.08);
  color: #04110e;
}

/* ================== NAVBAR ================== */
.bc-header .navbar {
  background: linear-gradient(180deg, rgba(4,6,20,.65), rgba(4,6,20,0));
  backdrop-filter: blur(8px);
}
.navbar .nav-link {
  color: var(--text);
  opacity:.85;
}
.navbar .nav-link:hover {
  color: #fff;
  opacity: 1;
  text-shadow: 0 0 10px rgba(96,165,250,.35);
}
.brand-logo {
  width: clamp(100px, 18vw, 160px);
}
.brand-text {
  font-family: 'Audiowide', sans-serif;
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: #fff;
  text-shadow: 0 0 12px rgba(255,255,255,0.7);
  font-style: italic;
}

/* ================== HERO ================== */
.hero .brand-name {
  font-family: 'Audiowide', sans-serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--accent-2);
  text-shadow: 0 0 15px rgba(96,165,250,0.9);
  animation: neonPulse 3s ease-in-out infinite;
}
@keyframes neonPulse {
  0%,100% { text-shadow: 0 0 10px var(--accent-2), 0 0 20px var(--accent-2); }
  50% { text-shadow: 0 0 20px var(--accent-2), 0 0 40px var(--accent-2); }
}

/* ================== PILLARS ================== */
.card.academy-card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 0 20px rgba(255,215,0,.4);
  transition: all .3s ease;
}
.card.academy-card h3 {
  color: var(--academy-gold);
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.8);
}
.card.academy-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 0 25px rgba(255,215,0,.6), 0 0 50px rgba(16,185,129,.3);
}

.card.tech-card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 0 20px rgba(96,165,250,.4);
  transition: all .3s ease;
}
.card.tech-card h3 {
  color: var(--tech-silver);
  text-shadow: 0 0 6px rgba(192,201,217,.9);
}
.card.tech-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 0 25px rgba(96,165,250,.6), 0 0 50px rgba(16,185,129,.3);
}

/* ================== FOOTER ================== */
.footer {
  background: linear-gradient(180deg, var(--bg-2), #0a0f1b);
  border-top: 1px solid rgba(255,255,255,.06);
  text-align:center;
  padding: 2rem 0;
}
.footer p {
  color: rgba(229,231,235,.7);
  font-size: .95rem;
}

}
.btn-accent:hover{ filter: brightness(1.08); color:#04110e; }
.btn-outline-light{ border-color: rgba(255,255,255,.25); }

/* ====== Header / Navbar ====== */
.bc-header .navbar{
  background: linear-gradient(180deg, rgba(4,6,20,.65), rgba(4,6,20,0));
  backdrop-filter: blur(8px);
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
  z-index: 1030; /* ensure nav is on top */
}
.bc-header .navbar.scrolled{
  background: #0c1222;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  padding-top: .65rem !important;
  padding-bottom: .65rem !important;
}
.navbar .nav-link{ color: var(--text); opacity:.85; }
.navbar .nav-link:hover, .navbar .nav-link:focus{ color:#fff; opacity:1; text-shadow: 0 0 10px rgba(96,165,250,.35); }
.brand-dot{
  width: 14px; height: 14px; border-radius: 50%;
  display:inline-block; background: radial-gradient(circle at 30% 30%, var(--accent), var(--accent-2));
  box-shadow: var(--glow);
}

/* ====== Brand Logo & Text (consolidated) ====== */
.brand-logo {
  width: clamp(100px, 18vw, 160px);
  height: auto;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.9));
  margin-right: 12px;
}
.brand-text {
  font-family: 'Audiowide', sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.8rem);
  color: #fff;
  text-shadow: 0 0 12px rgba(255,255,255,0.8);
  font-style: italic;
}

/* ====== Hero ====== */
.hero{ min-height: 100vh; position:relative; overflow:hidden; padding-top:1rem; }
.hero .hero-gradient{
  position:absolute; inset:0;
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(16,185,129,.25), transparent 60%),
    radial-gradient(900px 500px at 90% 20%, rgba(96,165,250,.25), transparent 55%),
    radial-gradient(900px 500px at 50% 90%, rgba(99,102,241,.2), transparent 55%);
  pointer-events:none;
  animation: floatGrad 16s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes floatGrad{
  0%{ transform: translateY(0) }
  100%{ transform: translateY(-12px) }
}
.noise{
  position:absolute; inset:0; pointer-events:none; opacity:.06;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  z-index: 0;
}

/* ensure hero canvas stays behind content */
#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero .container { position: relative; z-index: 2; }

/* Orbs */
.orb{ position:absolute; width:200px; height:200px; border-radius:50%; filter: blur(40px); opacity:.35; z-index:1; }
.orb-a{ background:#22d3ee; top:10%; left:-4%; animation: drift 28s ease-in-out infinite; }
.orb-b{ background:#34d399; bottom:8%; right:10%; animation: drift 22s ease-in-out infinite reverse; }
.orb-c{ background:#818cf8; top:60%; left:45%; animation: drift 30s ease-in-out infinite; }
@keyframes drift{ 0%{transform:translate(0,0)} 100%{transform:translate(30px,-20px)} }

/* ====== Service Cards ====== */
.card.service-card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 0 20px rgba(16,185,129,.4), 0 0 40px rgba(96,165,250,.25);
  transition: transform .3s ease, box-shadow .3s ease;
  animation: float 6s ease-in-out infinite;
}
.card.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 0 25px rgba(16,185,129,.6),
              0 0 50px rgba(96,165,250,.4),
              0 0 80px rgba(99,102,241,.3);
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Keep the original per-card animation delays (restored) */
#services .col-sm-6:nth-child(1) .service-card { animation-delay: 0s; }
#services .col-sm-6:nth-child(2) .service-card { animation-delay: 0.15s; }
#services .col-sm-6:nth-child(3) .service-card { animation-delay: 0.3s; }
#services .col-sm-6:nth-child(4) .service-card { animation-delay: 0.45s; }
#services .col-sm-6:nth-child(5) .service-card { animation-delay: 0.6s; }
#services .col-sm-6:nth-child(6) .service-card { animation-delay: 0.75s; }

/* ====== About ====== */
.about-media{ position:relative; }
.glow-ring{
  position:absolute; inset:-12px; border-radius:28px; z-index:0;
  background: conic-gradient(from 0deg, var(--accent), var(--accent-2), #818cf8, var(--accent));
  filter: blur(24px); opacity:.35;
}
.about-media img{ position:relative; z-index:1; }

/* ====== Gallery ====== */
.gallery-card{
  display:block; border-radius:16px; overflow:hidden; position:relative;
  border:1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.gallery-card img{ width:100%; height:100%; object-fit:cover; transition: transform .4s ease, filter .4s ease; }
.gallery-card::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(400px 200px at 20% 20%, rgba(96,165,250,.18), transparent 60%),
              radial-gradient(320px 180px at 80% 80%, rgba(16,185,129,.18), transparent 60%);
  opacity:0; transition: opacity .3s ease;
}
.gallery-card:hover img{ transform: scale(1.05); filter: saturate(1.15); }
.gallery-card:hover::after{ opacity:1; }

/* ====== Contact ====== */
.form-control, .form-select{
  background:#0e1526; border:1px solid rgba(255,255,255,.14); color:var(--text);
}
.form-control:focus, .form-select:focus{
  border-color: rgba(96,165,250,.6);
  box-shadow: 0 0 0 .2rem rgba(96,165,250,.18), var(--glow);
}
.contact-card{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border:1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding:1.5rem;
}

/* ====== Footer ====== */
.footer{
  background: linear-gradient(180deg, var(--bg-2), #0a0f1b);
  border-top: 1px solid rgba(255,255,255,.06);
}
.hover-glow:hover{ text-shadow: var(--glow); color:#fff !important; }

/* ====== Responsive ====== */
@media (max-width: 991px){
  .hero{ min-height: 90vh; }
}

/* ====== Brand / Company Name styling (consolidated) ====== */
@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');

.hero .brand-name {
  font-family: 'Audiowide', sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 
    0 0 10px rgba(255, 255, 255, 0.9),
    0 0 20px rgba(255, 255, 255, 0.8);
  animation: neonPulseWhite 2.5s ease-in-out infinite, fadeInDown 1.5s ease-out;
}
@keyframes neonPulseWhite {
  0%, 100% {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff;
  }
  50% {
    text-shadow: 0 0 20px #fff, 0 0 40px #fff;
  }
}

/* Keep logo and slogan compact on small screens */
#hero { padding-top: 20px; }

.brand-text {
  font-size: clamp(.9rem, 1.8vw, 1.1rem);
  font-style: italic;
  color: #fff;
  text-shadow: 0 0 6px rgba(255,255,255,0.6);
  line-height: 1.2;
  max-width: 320px;
}

/* Service titles and icons (kept from original) */
.service-card h3, .service-title, .flyer-card h3 {
  color: #FFD700 !important;
  font-weight: 700;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.7);
  transition: all 0.3s ease;
}
.service-icon i {
  font-size: 2.2rem;
  color: #FFD700;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
  display:inline-block;
  margin-bottom: 1rem;
}

/* ====== Keep Bootstrap grid intact (no global .row/col overrides) ====== */
/* Avoid overriding Bootstrap .row or .col-* rules globally.
   If you need custom grids, wrap them in a class (e.g., .services-grid) */

/* Small screen adjustments */
@media (max-width: 767px) {

  .navbar { padding-top: 1rem; padding-bottom: 1rem; }
  .brand-logo { width: 110px; margin-right: 8px; }
  .brand-text { font-size: 1rem; max-width: 180px; }
  .hero .brand-name { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  .card.service-card { padding: 1rem; }
  .service-icon i { font-size: 1.9rem; }
  .contact-card { padding: 1rem; }
  .footer { text-align:center; font-size: .95rem; }
}

/* Utility: ensure content isn't hidden under fixed navbar (fallback) */
body { padding-top: 4.5rem; } /* will be dynamically adjusted by JS on load */


/* ===== ABOUT PAGE ===== */
.hero-section {
  background: linear-gradient(to right, #2563eb, #1e40af);
  color: #fff;
  padding: 100px 0;
}

.hero-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.hero-section p {
  font-size: 1.2rem;
}

.about-section img {
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.about-section h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ===== GALLERY PAGE ===== */
.gallery-section {
  background: #f9fafb;
  padding: 60px 0;
}

.gallery-section h1 {
  font-weight: 700;
  margin-bottom: 20px;
}

.gallery-section .row img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-section .row img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}


/* ===== ABOUT & GALLERY COMPLEMENTS FOR BIT2GIG ===== */

/* General hero used on About/Gallery pages */
.hero-section {
  background-position: center;
  background-size: cover;
  color: #fff;
  padding: 90px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-section .lead { color: rgba(229,231,235,.90); font-size:1.05rem; }

/* About page specifics */
.about-hero { 
  background: linear-gradient(rgba(2,6,23,.65), rgba(2,6,23,.65));
}
.about-section { padding: 70px 0; }
.about-feature {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,.04);
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  transition: transform .28s ease, box-shadow .28s ease;
  text-align:center;
}
.about-feature:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.about-feature i { font-size: 2.2rem; display:block; margin-bottom:.8rem; color: var(--accent-2); }

/* Timeline */
.timeline .bg-gradient {
  background: linear-gradient(90deg, rgba(16,185,129,.12), rgba(96,165,250,.06));
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.04);
  padding: 1.25rem;
}

/* Team */
.team .rounded-circle { width:140px; height:140px; object-fit:cover; }

/* CTA */
.cta--primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #04110e;
  padding: 2.25rem 1.5rem;
  border-radius: 12px;
}
.cta--primary h2 { margin-bottom:.5rem; }

/* ===== GALLERY ===== */
.gallery-hero { background: linear-gradient(rgba(4,6,20,.55), rgba(4,6,20,.55)); }

/* Filter buttons */
.filter-btn {
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(255,255,255,.06);
  color: var(--text);
  background: transparent;
  transition: all .25s ease;
}
.filter-btn.active,
.filter-btn:hover {
  background: linear-gradient(90deg,var(--accent),var(--accent-2));
  color: #04110e;
  box-shadow: var(--glow);
  border-color: transparent;
}

/* Gallery cards (complement to existing .gallery-card) */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  transition: transform .28s ease, box-shadow .28s ease;
}
.gallery-card img { display:block; width:100%; height:260px; object-fit:cover; transition: transform .35s ease; }
.gallery-card .overlay {
  position: absolute;
  left:0; right:0; bottom:0;
  background: linear-gradient(180deg, rgba(0,0,0,.65), rgba(0,0,0,0));
  padding: .9rem;
  text-align:center;
}
.gallery-card .overlay h5 {
  margin:0; color: #FFD700; font-weight:700;
  text-shadow: 0 0 6px rgba(0,0,0,.6);
}
.gallery-card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.gallery-card:hover img { transform: scale(1.06); }

/* Mobile adjustments */
@media (max-width: 767px) {
  .gallery-card img { height: 200px; }
  .about-feature { padding:1.25rem; }
  .team .rounded-circle { width:110px; height:110px; }
}

/* small utility to hide items for our JS filter (keeps grid gaps) */
.gallery-item.hidden { display: none !important; }


.team-role {
  font-size: 0.9rem;
  color: #555 !important;   /* darker gray for visibility */
  margin: 0;
}

body {
  font-family: Arial, sans-serif;
  background: #f8f9fa;
  margin: 0;
  padding: 20px;
  color: #333;
}

.page-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #004aad;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  position: relative;
  color: #004aad;
  text-align: center;
  text-transform: uppercase;
}

.card-title::after {
  content: "";
  display: block;
  height: 3px;
  width: 60px;
  background: #ff5722;
  margin: 8px auto;
  border-radius: 5px;
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  0% { box-shadow: 0 0 5px #ff5722; }
  100% { box-shadow: 0 0 20px #ff5722; }
}

.price {
  font-weight: bold;
  text-align: center;
  margin-top: 15px;
  color: #008000;
  font-size: 1.2rem;
}
