/* ======================================================
   NetCascade Labs – Main Stylesheet
====================================================== */

/* ======================================================
   Base Styles
====================================================== */

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    sans-serif;
  background: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
  margin: 0;

  /* offset for fixed header */
  padding-top: 90px;
}

/* ======================================================
   HEADER SYSTEM
====================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
}

/* ======================================================
   Top Contact Bar
====================================================== */

.topbar {
  background: #0f172a;
  color: #ffffff;
  font-size: 14px;
  height: 38px;
  display: flex;
  align-items: center;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ======================================================
   Navbar (Floating Glass Style)
====================================================== */

.main-navbar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

/* navbar container spacing */

.main-navbar .container {
  padding-top: 14px;
  padding-bottom: 14px;
  transition: all 0.3s ease;
}

/* shrink navbar on scroll */

.navbar-shrink .main-navbar .container {
  padding-top: 6px;
  padding-bottom: 6px;
}

/* hide navbar when scrolling down */

.nav-hidden {
  transform: translateY(-120%);
  transition: transform 0.3s ease;
}

.nav-hidden .main-navbar {
  transform: translateY(-100%);
}

/* hover glass effect */

.main-navbar:hover {
  background: rgba(255, 255, 255, 0.95);

  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.4);
}

.navbar-brand img {
  height: 40px;
  transition: all 0.3s ease;
}

.nav-link {
  font-weight: 500;
  margin-left: 20px;
  transition: 0.2s ease;
}

.nav-link:hover {
  color: #2563eb;
}

/* =========================
SHRINK STATE
========================= */
.site-header.navbar-shrink .main-navbar .container {
  padding: 2px;
  padding-bottom: 2px;
}

.site-header.navbar-shrink .navbar-brand img {
  height: 28px;
}

/* ======================================================
   Hero Section
====================================================== */

.hero {
  position: relative;
  padding: 120px 0;
  text-align: center;
  color: white;
  background: linear-gradient(135deg, #0f172a, #2563eb);
  overflow: hidden;
}

/* ======================================================
   Hero Typography
====================================================== */

.hero-tagline {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 1100px;
  margin: 0 auto 28px auto;
}

.hero p {
  font-size: 18px;
  line-height: 1.5;
  max-width: 1024px;
  margin: 0 auto 18px auto;
  opacity: 0.92;
}

.hero .btn {
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 8px;
}

.hero a.btn {
  margin-top: 10px;
}

/* ======================================================
   Hero Glow Effects
====================================================== */

.hero::before {
  content: "";
  position: absolute;
  width: 900px;
  height: 900px;

  background: radial-gradient(circle, #3b82f6, transparent 60%);

  top: -200px;
  left: -200px;

  opacity: 0.35;
  filter: blur(80px);
}

.hero::after {
  content: "";
  position: absolute;
  width: 900px;
  height: 900px;

  background: radial-gradient(circle, #0ea5e9, transparent 60%);

  bottom: -200px;
  right: -200px;

  opacity: 0.35;
  filter: blur(80px);
}

/* ======================================================
   Buttons
====================================================== */

.btn-light {
  transition: all 0.2s ease;
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

/* ======================================================
   Sections
====================================================== */

.section {
  padding: 60px 0;
}

.section-title {
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 32px;
}

.package{
  margin-bottom: 50px !important;
}

/* ===============================
   TECH STACK – PREMIUM VERSION
=============================== */

/* WRAPPER */
.tech-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

/* DARK MODE */
@media (prefers-color-scheme: dark) {
    .tech-wrapper {
        background: linear-gradient(to bottom, #0f172a, #020617);
    }
}

/* EDGE FADE */
.tech-wrapper::before,
.tech-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
}

.tech-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.tech-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

@media (prefers-color-scheme: dark) {
    .tech-wrapper::before {
        background: linear-gradient(to right, #0f172a, transparent);
    }
    .tech-wrapper::after {
        background: linear-gradient(to left, #0f172a, transparent);
    }
}

/* TRACK */
.tech-track {
    display: flex;
    flex-wrap: nowrap !important;
    gap: 40px;
}

/* CARD */
.group {
    flex: 0 0 auto;
    width: 270px;
    min-height: 210px;
    padding: 24px;
    border-radius: 20px;

    /* GLASS EFFECT */
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(18px);

    /* GLOW BORDER */
    border: 1px solid rgba(255,255,255,0.4);

    /* DEPTH */
    box-shadow:
        0 10px 30px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.6);

    position: relative;
    overflow: hidden;

    transition: all 0.4s ease;
}

.group::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(99,102,241,0.4),
        transparent
    );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    opacity: 0;
    transition: 0.4s ease;
}

.group:hover::before {
    opacity: 1;
}

.group:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow:
        0 25px 60px rgba(0,0,0,0.15),
        0 10px 25px rgba(0,0,0,0.08);
}

.tech-marquee {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
}

/* DARK CARD */
@media (prefers-color-scheme: dark) {
    .group {
        background: rgba(15,23,42,0.6);
        border: 1px solid rgba(255,255,255,0.08);

        box-shadow: 
            0 10px 40px rgba(0,0,0,0.6);
    }
}

/* Frontend */
.group:nth-child(1) {
    --accent: #3b82f6;
}

/* Backend */
.group:nth-child(2) {
    --accent: #10b981;
}

/* Mobile */
.group:nth-child(3) {
    --accent: #f59e0b;
}

/* Big Data */
.group:nth-child(4) {
    --accent: #ef4444;
}

/* Database */
.group:nth-child(5) {
    --accent: #8b5cf6;
}

/* Cloud */
.group:nth-child(6) {
    --accent: #06b6d4;
}

/* Programming */
.group:nth-child(7) {
    --accent: #ec4899;
}

/* CATEGORY */
.category {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-left: 14px;
    position: relative;
}

.category::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 5px;
    height: 18px;
    background: linear-gradient(180deg, #6366f1, #06b6d4);
    background: var(--accent);
    border-radius: 3px;
}

/* TECH LIST */
.tech-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
}

.tech-list span {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(241,245,249,0.9);
    font-size: 13px;

    /* 🔥 IMPORTANT FIX */
    white-space: normal;     /* allow wrapping */
    line-height: 1.2;
    justify-content: center;
    text-align: center;
}

.tech-list img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

/* DARK BADGES */
@media (prefers-color-scheme: dark) {
    .tech-list span {
        background: rgba(30,41,59,0.9);
    }
}

/* ======================================================
   Service Cards
====================================================== */

.service-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 14px;
  text-align: center;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-8px);

  border-color: rgba(37, 99, 235, 0.25);

  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(37, 99, 235, 0.08);
}

.service-card i {
  font-size: 36px;
  color: #2563eb;
  margin-bottom: 14px;
}

.service-card h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

/* ======================================================
   Section Paragraph
====================================================== */

.section h4 {
  margin-top: 28px;
  font-weight: 600;
  color: #0f172a;
}

.section p {
  color: #475569;
  margin-bottom: 12px;
}

.section ul {
  padding-left: 18px;
}

.section li {
  margin-bottom: 6px;
}

/* ====================================================== 
   COOKIE CONSENT
====================================================== */
.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 110px;
  height: 42px;

  padding: 0 16px;
  border-radius: 8px;

  font-size: 14px;
  font-weight: 500;

  cursor: pointer;
  transition: all 0.25s ease;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cookie-consent {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 5000;
}

.cookie-backdrop {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(6px);
  background: rgba(15, 23, 42, 0.4);
}

.cookie-box {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  max-width: 700px;
  width: calc(100% - 40px);

  background: #0f172a;
  color: #fff;
  padding: 20px 24px;
  border-radius: 14px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: all 0.35s ease;
}

.cookie-consent.show .cookie-box {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.cookie-close {
  position: absolute;
  top: 10px;
  right: 14px;
  cursor: pointer;
  font-size: 18px;
  opacity: 0.7;
}

.cookie-close:hover {
  opacity: 1;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cookie-accept {
  background: #2563eb;
  color: #fff;
  border: none;
}

.cookie-accept:hover {
  background: #16a34a; /* GREEN */
}

.cookie-box a {
  color: #38bdf8;
  text-decoration: underline;
}

.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 110px;
  height: 42px;

  padding: 0 16px;
  border-radius: 8px;

  font-size: 14px;
  font-weight: 500;

  cursor: pointer;
  transition: all 0.25s ease;
}

.cookie-btn-pre {
  height: 42px !important;
}

/* ACCEPT */
.cookie-accept {
  background: #2563eb;
  color: #ffffff;
  border: none;
}

.cookie-accept:hover {
  background: #16a34a;
}

/* REJECT */
.cookie-reject {
  background: transparent;
  border: 1px solid #94a3b8;
  color: #e2e8f0;
}

.cookie-reject:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
}

.sep-vert {
  display: inline-block;
  width: 1px;
  height: 16px;
  background: rgba(0,0,0,0.3);
  margin: 0 14px;
  vertical-align: middle;
}

/* =========================
COOKIE PREFERENCES MODAL
========================= */

.cookie-prefs {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 6000;
}

.cookie-prefs.show {
  display: block;
}

.cookie-prefs::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(6px);
  background: rgba(15, 23, 42, 0.5);
}

.cookie-prefs-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);

  width: 420px;
  max-width: 90%;

  background: #ffffff;
  padding: 24px;
  border-radius: 14px;

  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);

  transition: all 0.3s ease;
}

.cookie-prefs.show .cookie-prefs-box {
  transform: translate(-50%, -50%) scale(1);
}

.prefs-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 18px;
  cursor: pointer;
}

.prefs-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0;
}

.prefs-item p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

/* TOGGLE SWITCH */

.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #ccc;
  border-radius: 30px;
  transition: 0.3s;
}

.slider:before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
}

.switch input:checked + .slider {
  background: #2563eb;
}

.switch input:checked + .slider:before {
  transform: translateX(20px);
}

/* ======================================================
   Project Cards
====================================================== */

.project-card {
  background: white;
  padding: 26px;
  border-radius: 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  justify-content: space-between;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card h6 {
  font-weight: 600;
  margin-bottom: 10px;
}

.project-card p {
  margin-bottom: 6px;
}

/* ======================================================
   Scroll To Top Button
====================================================== */

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #2563eb;
  color: white;
  border: none;
  font-size: 18px;
  display: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 1200;
}

#scrollTopBtn:hover {
  background: #1d4ed8;
  transform: translateY(-4px);
}

/* ======================================================
   Footer
====================================================== */

.footer {
  background: #f1f5f9;
  color: #334155;
  padding: 40px 0 20px 0;
}

.footer-logo {
  height: 40px;
  margin-bottom: 12px;
}

.footer h6,
.footer h5 {
  color: #0f172a;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer li {
  margin-bottom: 8px;
}

.footer a {
  color: #334155;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer hr {
  margin: 30px 0 15px 0;
}

.footer p.text-center {
  margin-bottom: 0;
}

/* ======================================================
   Pricing Cards
====================================================== */

.pricing-card {
  border: 1px solid #eee;
  padding: 30px;
  border-radius: 10px;
  background: #fff;
  height: 100%;
  transition: 0.3s;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.price {
  font-size: 28px;
  font-weight: 700;
  margin: 15px 0;
}

.pricing-highlight {
  position: relative;
  padding-top: 40px;
  border: 2px solid #2563eb;
  transform: scale(1.03);
  z-index: 1;
  transform: scale(1.04) translateY(6px);
}

/* floating badge */
.pricing-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translate(-50%);
  background: #2563eb;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  animation: pulse 2s infinite;
  white-space: nowrap;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.pricing-highlight .badge {
  background: #0d6efd;
}

/* ======================================================
   WhatsApp
====================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 20px;
  background: #25d366;
  color: #fff;
  font-size: 22px;
  padding: 12px 16px;
  border-radius: 50%;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}

/* ======================================================
   Icon Button
====================================================== */

.icon-btn {
  font-size: 18px;
  margin-left: 10px;
}

.icon-btn i {
  color: #2563eb;
}

.icon-btn:hover i {
  color: #1d4ed8;
}

.mobile-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;

  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;

  font-size: 18px;
  color: #2563eb;
}

.mobile-icon i {
  font-size: 18px;
}

.mobile-icon .bi-whatsapp {
  color: #25d366;
}

.navbar-toggler {
  width: 38px;
  height: 38px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar .d-flex {
  align-items: center;
}

/* ======================================================
   Project Card
====================================================== */

/* FULL CARD CLICKABLE */
.project-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/* REMOVE LINK STYLING */
.project-link:hover {
  text-decoration: none;
  color: inherit;
}

/* OPTIONAL: subtle interaction */
.project-link:hover .project-card {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* ======================================================
   Lead Popup
====================================================== */

.lead-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.popup-box {
  position: relative;
}

.close-popup {
  position: absolute;
  top: 5px;
  right: 10px;
  cursor: pointer;
  font-size: 18px;
}

/* ======================================================
   Newsletter
====================================================== */

.newsletter input {
  padding: 8px 12px;
  border: none;
  border-radius: 5px;
  margin-right: 6px;
}

.newsletter button {
  padding: 8px 14px;
  background: #2563eb;
  border: none;
  color: white;
  border-radius: 5px;
}

/* ======================================================
   QUOTE PANEL – FINAL FIXED (STABLE + SMOOTH)
====================================================== */

.quote-wrapper {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 3000;
}

/* =========================
TAB (FIXED TO SCREEN)
========================= */

.quote-tab {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  background: #2563eb;
  color: #fff;
  padding: 12px 8px;
  font-size: inherit;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  writing-mode: vertical-rl;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.quote-sub {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 10px;
}

.quote-price {
  background: #f1f5f9;
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  margin-top: 6px;
}

/* hover */
.quote-tab:hover {
  transform: translateY(-50%) rotate(180deg) scale(1.05);
}

/* =========================
PANEL (SLIDES)
========================= */

.quote-content {
  position: relative;
  width: 260px;
  padding: 22px;

  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);

  border-radius: 0 14px 14px 0;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);

  transform: translateX(-110%);
  opacity: 0;

  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
}

/* =========================
OPEN STATE
========================= */

.quote-wrapper.open .quote-content {
  transform: translateX(0);
  opacity: 1;
}

/* hide tab when open */
.quote-wrapper.open .quote-tab {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(-10px) rotate(180deg);
}

/* =========================
CLOSE BUTTON
========================= */

.close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 18px;
  cursor: pointer;
  opacity: 0.7;
}

.close-btn:hover {
  opacity: 1;
}

/* =========================
INPUTS
========================= */

.quote-content input {
  border-radius: 8px;
  padding: 10px;
}

/* =========================
BUTTON
========================= */

.quote-content .btn {
  border-radius: 8px;
  font-weight: 500;
}

/* ===============================
   INTERACTIVE ICON ENHANCEMENTS
=============================== */

/* Make tech items interactive */
.tech-list span {
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Smooth icon animation */
.tech-list img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Zoom + tilt */
.tech-list span:hover img {
    transform: scale(1.25) rotate(3deg);
}

/* Glow base */
.tech-list span::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    opacity: 0;
    transition: 0.3s ease;
    z-index: -1;
}

/* Activate glow */
.tech-list span:hover::after {
    opacity: 1;
}

/* Lift effect */
.tech-list span:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.9);
    box-shadow: 0 0 12px var(--accent);
}

/* BRAND GLOWS */

.tech-list span:has(img[src*="react"]):hover::after {
    background: rgba(97, 218, 251, 0.25);
}

.tech-list span:has(img[src*="vue"]):hover::after {
    background: rgba(65, 184, 131, 0.25);
}

.tech-list span:has(img[src*="angular"]):hover::after {
    background: rgba(221, 0, 49, 0.25);
}

.tech-list span:has(img[src*="Amazon_Web_Services"]):hover::after {
    background: rgba(255, 153, 0, 0.25);
}

.tech-list span:has(img[src*="docker"]):hover::after {
    background: rgba(0, 123, 255, 0.25);
}

.tech-list span:has(img[src*="kubernetes"]):hover::after {
    background: rgba(50, 108, 229, 0.25);
}

.tech-list span:has(img[src*="python"]):hover::after {
    background: rgba(255, 212, 59, 0.25);
}

/* ======================================================
   Responsive
====================================================== */

@media (max-width: 600px) {
  .cookie-box {
    flex-direction: column;
    text-align: center;
  }

  .cookie-actions {
    justify-content: center;
  }
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 42px;
  }
}

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

  .hero h1 {
    font-size: 34px;
  }

  .topbar-inner {
    flex-direction: column;
    gap: 4px;
  }

  .nav-link {
    margin-left: 0;
  }

  .quote-panel {
    width: 240px;
  }

  .quote-content {
    width: 240px;
  }

  .topbar {
    display: none;
  }

  body {
    padding-top: 70px; /* reduce header space */
  }

  .navbar-brand img {
    height: 32px;
  }
  /* MOBILE OPTIMIZATION */
    .tech-stack {
        animation: none; /* disable scroll on mobile */
        justify-content: center;
    }
    
    .group {
        width: 100%;
        max-width: 320px;
        min-height: 200px;
    }
}