/* =========================================================
   Buzz Cyber Cafe — Modern UI layer (2026 redesign)
   Loaded AFTER bootstrap.css + style.css to modernize the look.
   Author: redesign pass
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- Design tokens ---------- */
:root {
  --brand:        #06b6d4;   /* cyan */
  --brand-dark:   #0891b2;
  --brand-deep:   #0e7490;
  --accent:       #ff7200;   /* orange (kept from original brand) */
  --accent-dark:  #e85d00;
  --ink:          #0f172a;   /* near-black slate */
  --body:         #475569;   /* body text */
  --muted:        #94a3b8;
  --line:         #e2e8f0;
  --bg:           #ffffff;
  --bg-soft:      #f8fafc;
  --bg-soft-2:    #f1f5f9;
  --white:        #ffffff;
  --radius:       16px;
  --radius-sm:    12px;
  --shadow-sm:    0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.10);
  --shadow:       0 10px 30px -12px rgba(15,23,42,.25);
  --shadow-lg:    0 24px 60px -18px rgba(15,23,42,.30);
  --grad:         linear-gradient(135deg, #06b6d4 0%, #0e7490 100%);
  --grad-accent:  linear-gradient(135deg, #ff8a1e 0%, #ff7200 100%);
  --maxw:         1200px;
  --space:        clamp(56px, 8vw, 100px);
  --t:            .25s cubic-bezier(.4,0,.2,1);
}

/* ---------- Base resets / typography ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif !important;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  overflow-x: hidden; /* guard against accidental horizontal scroll on mobile */
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', system-ui, sans-serif !important;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand-dark); }
a:hover { color: var(--brand-deep); }
.mx { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
::selection { background: var(--brand); color: #fff; }

/* Hide leftover decorative bits we replace */
.welcome > .container > .agileits-title h1 { display: none; }

/* ===========================================================
   NAVBAR (modern sticky glass)
   =========================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t);
}
.site-nav.scrolled { box-shadow: var(--shadow-sm); }
.site-nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
}
.site-nav__brand img { height: 40px; width: auto; }
.site-nav__brand b { color: var(--brand-dark); }
.site-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__links a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  transition: var(--t);
}
.site-nav__links a:hover { background: var(--bg-soft-2); color: var(--brand-deep); }
.site-nav__links a.active { color: var(--brand-deep); }
.site-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-accent);
  color: #fff !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  font-weight: 700;
  box-shadow: 0 8px 20px -8px rgba(255,114,0,.7);
}
.site-nav__links a.site-nav__cta:hover {
  background: var(--grad-accent);
  filter: brightness(0.92);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px rgba(255,114,0,.85);
}
.site-nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
}
.site-nav__toggle svg { width: 26px; height: 26px; }

@media (max-width: 880px) {
  .site-nav__toggle { display: inline-flex; }
  .site-nav__links {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform .3s ease;
  }
  .site-nav__links.open { transform: translateY(0); }
  .site-nav__links a { padding: 12px 14px; font-size: 16px; }
  .site-nav__cta { justify-content: center; margin-top: 6px; }
}

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(6,182,212,.18), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(255,114,0,.12), transparent 55%),
    var(--bg-soft);
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 9vw, 104px);
  overflow: hidden;
}
.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand-deep);
  font-weight: 600;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.hero__badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18);
}
.hero h1 {
  font-size: clamp(34px, 5.2vw, 56px);
  font-weight: 800;
  margin: 18px 0 16px;
  letter-spacing: -0.02em;
}
.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 540px;
  margin-bottom: 28px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero__stat strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
}
.hero__stat span { font-size: 14px; color: var(--muted); }

.hero__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
}
.hero__card h4 { font-size: 18px; margin-bottom: 16px; }
.hero__card ul { list-style: none; margin: 0; padding: 0; }
.hero__card li {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-weight: 500; color: var(--ink);
}
.hero__card li:last-child { border-bottom: 0; }
.hero__card li i {
  flex: 0 0 36px; height: 36px;
  display: grid; place-items: center;
  background: rgba(6,182,212,.12);
  color: var(--brand-deep);
  border-radius: 10px;
}
@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__card { order: 2; }
}

/* ===========================================================
   BUTTONS
   =========================================================== */
.btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--t);
  text-decoration: none;
}
.btn-primary-m { background: var(--grad); color: #fff; box-shadow: 0 12px 26px -12px rgba(8,145,178,.8); }
.btn-primary-m:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(8,145,178,.9); }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 12px 26px -12px rgba(37,211,102,.8); }
.btn-wa:hover { color: #fff; background: #1ebe57; transform: translateY(-2px); }
.btn-ghost-m { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost-m:hover { color: var(--brand-deep); border-color: var(--brand); transform: translateY(-2px); }

/* ===========================================================
   SECTION TITLES
   =========================================================== */
.section { padding: var(--space) 0; }
.section.alt { background: var(--bg-soft); }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.sec-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 10px;
}
.sec-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin-bottom: 12px; }
.sec-head p { font-size: 16px; color: var(--body); }

/* ===========================================================
   FEATURE CARDS
   =========================================================== */
.feature-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: left;
  transition: var(--t);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature__ic {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  font-size: 22px;
  margin-bottom: 18px;
}
.feature h4 { font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 14.5px; margin: 0; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .feature-grid { grid-template-columns: 1fr; } }

/* ===========================================================
   SERVICES — restyle the existing .filtr-item gallery into cards
   =========================================================== */
.welcome, .portfolio { background: transparent; }
.welcome .container, .portfolio .container { max-width: var(--maxw); }

/* Search bar */
.svc-tools {
  max-width: 640px;
  margin: 0 auto 34px;
  position: relative;
}
.svc-tools input {
  width: 100%;
  padding: 15px 18px 15px 50px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15.5px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='9' r='7'/%3E%3Cpath d='m20 20-5-5'/%3E%3C/svg%3E") no-repeat 18px center;
  box-shadow: var(--shadow-sm);
  transition: var(--t);
  outline: none;
}
.svc-tools input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(6,182,212,.15); }
.svc-empty {
  display: none;
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
  font-size: 16px;
}

/* Load more button */
.load-more-wrap { text-align: center; margin-top: 32px; }
.load-more-btn { cursor: pointer; }

/* Modern tabs */
.service-tabs {
  display: inline-flex !important;
  gap: 6px;
  background: var(--bg-soft-2);
  padding: 6px;
  border-radius: 999px;
  border: 0 !important;
  margin: 0 auto 8px;
  justify-content: center;
  width: auto;
}
.welcome .service-tabs, .portfolio .service-tabs { display: flex !important; }
.service-tabs { float: none; }
.service-tabs > li { float: none !important; margin: 0 !important; }
.service-tabs > li > a {
  border: 0 !important;
  border-radius: 999px !important;
  margin: 0 !important;
  padding: 9px 22px !important;
  color: var(--body) !important;
  background: transparent !important;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}
.service-tabs > li.active > a,
.service-tabs > li.active > a:hover,
.service-tabs > li.active > a:focus {
  background: #fff !important;
  color: var(--brand-deep) !important;
  box-shadow: var(--shadow-sm);
}
.tab-center { text-align: center; margin-bottom: 36px; }

/* Service cards grid (override bootstrap cols) */
.ourservicesgalleryContainer { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 0; }
.ourservicesgalleryContainer .filtr-item {
  width: auto !important;
  float: none !important;
  padding: 0 !important;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--t);
  display: flex;
  flex-direction: column;
}
.ourservicesgalleryContainer .filtr-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.ourservicesgalleryContainer .agileits-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft-2);
}
.ourservicesgalleryContainer .agileits-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.ourservicesgalleryContainer .filtr-item:hover .agileits-img img { transform: scale(1.07); }
.ourservicesgalleryContainer .gallery-title {
  padding: 14px 16px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.45;
  flex: 1;
}
@media (max-width: 992px) { .ourservicesgalleryContainer { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .ourservicesgalleryContainer { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* Services LIST tab as chips/cards */
.service-list-wrapper { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.service-list-wrapper > [class*="col-"] { width: auto !important; float: none !important; padding: 0 !important; }
.service-list {
  list-style: none; margin: 0; padding: 0;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.service-list li {
  padding: 11px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px; color: var(--ink);
  display: flex; align-items: center; gap: 10px;
  transition: var(--t);
}
.service-list li:last-child { border-bottom: 0; }
.service-list li:hover { background: var(--bg-soft); padding-left: 22px; color: var(--brand-deep); }
.service-list li::before {
  content: ""; flex: 0 0 7px; height: 7px; border-radius: 50%;
  background: var(--brand);
}
@media (max-width: 900px) { .service-list-wrapper { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .service-list-wrapper { grid-template-columns: 1fr; } }

/* Flattened single multi-column list (enables clean "Load more" on all screens) */
.service-list-wrapper.flat { display: block; }
.service-list.flat {
  columns: 260px 3;
  column-gap: 22px;
  padding: 6px 0;
}
.service-list.flat li { break-inside: avoid; -webkit-column-break-inside: avoid; }
@media (max-width: 600px) { .service-list.flat { column-count: 1; column-width: auto; } }

/* ===========================================================
   PRICING (Fairs) + HOURS
   =========================================================== */
.skills { background: var(--bg-soft); padding: var(--space) 0; }
.skills .container { max-width: var(--maxw); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.info-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-sm);
}
.info-card h4 {
  font-size: 20px; margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.info-card h4 i { color: var(--accent); }
.price-row, .hour-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px dashed var(--line);
  font-size: 15px;
}
.price-row:last-child, .hour-row:last-child { border-bottom: 0; }
.price-row b, .hour-row th { color: var(--ink); font-weight: 600; text-align: left; }
.price-row .amt { font-weight: 700; color: var(--brand-deep); font-family: 'Poppins',sans-serif; }
.hour-row td { color: var(--body); }
.hour-row .open-badge {
  font-size: 12px; font-weight: 700; color: #16a34a;
  background: rgba(34,197,94,.12); padding: 3px 10px; border-radius: 999px;
}
@media (max-width: 760px) { .info-grid { grid-template-columns: 1fr; } }

/* ===========================================================
   NEWS / LATEST FORMS
   =========================================================== */
.news-w3layouts { padding: var(--space) 0; }
.news-w3layouts .container { max-width: var(--maxw); }
.news-agileinfo { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.news-w3lgrids {
  width: auto !important; float: none !important; padding: 0 !important;
  background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 26px !important;
  box-shadow: var(--shadow-sm); transition: var(--t);
}
.news-w3lgrids:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-w3lgrids h4 {
  font-size: 16px; color: var(--brand-deep); margin-bottom: 12px;
  display: flex; align-items: baseline; gap: 8px;
}
.news-w3lgrids h4 span {
  font-size: 30px; font-weight: 800; color: var(--ink);
  font-family: 'Poppins',sans-serif; line-height: 1;
}
.news-w3lgrids p { font-size: 14.5px; }
.news-agileinfo .row { grid-column: 1 / -1; margin-top: 8px; }
.w3btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad); color: #fff !important;
  padding: 12px 26px; border-radius: 999px; font-weight: 600;
  box-shadow: 0 12px 26px -12px rgba(8,145,178,.8);
}
.w3btn:hover { transform: translateY(-2px); color: #fff !important; }
.w3btn span::after { content: " →"; }
@media (max-width: 820px) { .news-agileinfo { grid-template-columns: 1fr; } }

/* ===========================================================
   WHATSAPP / SUBSCRIBE CTA
   =========================================================== */
.subscribe {
  background: var(--grad);
  padding: clamp(48px,7vw,80px) 0;
  text-align: center;
  color: #fff;
}
.subscribe .container { max-width: 720px; }
.subscribe h4 { color: #fff; font-size: clamp(24px,3.4vw,34px); margin-bottom: 14px; }
.subscribe p { color: rgba(255,255,255,.9); margin-top: 16px; font-size: 15px; }
.subscribe form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.subscribe input[type="text"], .subscribe input[type="tel"] {
  flex: 1; min-width: 240px; max-width: 360px;
  padding: 14px 20px; border: 0; border-radius: 999px;
  font-size: 15px; outline: none;
  background: #fff; color: var(--ink);
}
.subscribe input[type="tel"]::placeholder { color: var(--muted); }
.subscribe input[type="submit"] {
  background: #25d366; color: #fff; border: 0;
  padding: 14px 30px; border-radius: 999px; font-weight: 700;
  cursor: pointer; transition: var(--t);
  width: auto;
}
.subscribe input[type="submit"]:hover { background: #1ebe57; transform: translateY(-2px); }

/* ===========================================================
   ABOUT — gallery + team
   =========================================================== */
.portfolio .filtr-container { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.portfolio .filtr-container > div { display: contents; }
.portfolio .filtr-item {
  width: auto !important; float: none !important; padding: 0 !important;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--t);
}
.portfolio .filtr-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.portfolio .filtr-item .agileits-img { aspect-ratio: 4/3; overflow: hidden; }
.portfolio .filtr-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.portfolio .filtr-item:hover img { transform: scale(1.07); }
@media (max-width: 800px) { .portfolio .filtr-container { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .portfolio .filtr-container { grid-template-columns: 1fr; } }

.team { padding: var(--space) 0; background: var(--bg-soft); }
.team .container { max-width: var(--maxw); }
.team-agileinfo { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; }
.team-grids { width: 320px !important; max-width: 100%; float: none !important; padding: 0 !important; }
.team .col-md-3:empty { display: none; }
.team-agileits {
  background: #fff !important; border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--t); padding: 0 !important;
}
.team-agileits:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.team-agileits > img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.w3agile-caption { padding: 22px; text-align: center; }
.w3agile-caption h4 { font-size: 20px !important; margin-bottom: 8px; }
.w3agile-caption p { font-size: 14px; color: var(--body); }
.social-icon { display: flex; gap: 10px; justify-content: center; margin-top: 16px; }
.social-button {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid !important; place-items: center;
  background: var(--bg-soft-2); color: var(--ink) !important;
  transition: var(--t); font-size: 16px;
}
.social-button:hover { background: var(--brand); color: #fff !important; transform: translateY(-3px); }
.social-button.whatsapp:hover { background: #25d366; }
.social-button.facebook:hover { background: #1877f2; }

/* ===========================================================
   CONTACT
   =========================================================== */
.contact { padding: var(--space) 0; }
.contact .container { max-width: var(--maxw); }
.contact .map iframe { width: 100%; height: 420px; border-radius: var(--radius); border: 1px solid var(--line) !important; box-shadow: var(--shadow-sm); }
.contact-agileinfo { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; margin-top: 40px; }
.contact-right, .contact-left { width: auto !important; float: none !important; padding: 0 !important; }
.contact-right form {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm);
}
.contact-right input, .contact-right textarea {
  width: 100%; padding: 13px 16px; margin-bottom: 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; outline: none; transition: var(--t);
}
.contact-right input:focus, .contact-right textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(6,182,212,.15); }
.contact-right textarea { min-height: 140px; resize: vertical; }
.contact-right input[type="submit"] {
  background: var(--grad); color: #fff; border: 0; cursor: pointer;
  font-weight: 700; border-radius: 999px; margin-bottom: 0; width: auto; padding: 14px 34px;
}
.contact-right input[type="submit"]:hover { transform: translateY(-2px); }
.contact-right .form-alt { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.contact-right .form-alt a { font-weight: 600; }
.contact-left { padding-top: 0 !important; margin-top: 0 !important; }
.contact-left ul {
  list-style: none; margin: 0; padding: 26px;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius);
}
/* High specificity (.contact-left ul li) to override old style.css rules */
.contact-left ul li {
  display: flex !important; align-items: center; gap: 14px;
  margin: 0 !important; padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px; color: var(--body); line-height: 1.5;
}
.contact-left ul li:last-child { border-bottom: 0; }
.contact-left ul li a { color: var(--ink); font-weight: 600; }
.contact-left ul li a:hover { color: var(--brand-deep); }
.contact-left ul li .glyphicon {
  flex: 0 0 40px; width: 40px !important; height: 40px !important;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad); color: #fff;
  border-radius: 10px; top: 0; margin: 0;
  font-size: 16px; line-height: 1;
}
@media (max-width: 800px) { .contact-agileinfo { grid-template-columns: 1fr; } }

/* ===========================================================
   PAGE BANNER (about/contact small hero)
   =========================================================== */
.page-banner {
  background:
    radial-gradient(900px 400px at 80% -20%, rgba(6,182,212,.25), transparent 60%),
    var(--ink);
  color: #fff;
  text-align: center;
  padding: clamp(48px,7vw,84px) 20px;
}
.page-banner h1 { color: #fff; font-size: clamp(30px,4.4vw,46px); font-weight: 800; }
.page-banner p { color: rgba(255,255,255,.75); margin-top: 12px; }
.page-banner nav { font-size: 14px; margin-top: 14px; color: rgba(255,255,255,.6); }
.page-banner nav a { color: var(--brand); }

/* ===========================================================
   FOOTER
   =========================================================== */
.agile-footer {
  background: var(--ink);
  color: #cbd5e1;
  padding: clamp(48px,7vw,72px) 0 40px;
}
.agile-footer .container { max-width: var(--maxw); }
.footer-agileinfo { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-wthree-grid { width: auto !important; float: none !important; padding: 0 !important; }
.footer-wthree-grid h3, .footer-wthree-grid h6 {
  color: #fff !important; font-size: 16px; margin-bottom: 18px;
  font-family: 'Poppins',sans-serif; font-weight: 700;
}
.footer-wthree-grid p { color: #94a3b8; font-size: 14.5px; line-height: 1.7; }
.footer-wthree-grid > div { margin-top: 10px; }
.footer-wthree-grid .glyphicon { color: var(--accent) !important; }
.footer-wthree-grid ul { list-style: none; margin: 12px 0 0; padding: 0; }
.footer-wthree-grid li { padding: 7px 0; }
.footer-wthree-grid li a { color: #94a3b8; font-size: 14.5px; display: inline-flex; align-items: center; gap: 9px; }
.footer-wthree-grid li a:hover { color: var(--brand); }
.footer-wthree-grid li a b { font-weight: 500; }
.w3social .fa { color: var(--brand); }
.copyw3-agile { background: #0a0f1c; color: #64748b; text-align: center; padding: 20px; font-size: 13.5px; }
.copyw3-agile a, .copyw3-agile span { color: var(--brand); }
@media (max-width: 760px) { .footer-agileinfo { grid-template-columns: 1fr; gap: 28px; } }

/* ===========================================================
   FLOATING WHATSAPP + scroll reveal
   =========================================================== */
.fab-wa {
  position: fixed; right: 20px; bottom: 22px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff !important;
  display: grid; place-items: center; font-size: 28px;
  box-shadow: 0 12px 28px -8px rgba(37,211,102,.8);
  transition: var(--t);
  animation: fab-pulse 2.4s infinite;
}
.fab-wa:hover { transform: scale(1.08); }
@keyframes fab-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===========================================================
   LIGHTBOX (gallery overlay)
   =========================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: none; align-items: center; justify-content: center;
  padding: 30px;
  background: rgba(15,23,42,.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.lightbox.open { display: flex; animation: lb-fade .2s ease; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox__stage {
  margin: 0; max-width: 92vw; max-height: 90vh;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.lightbox__stage img {
  max-width: 92vw; max-height: 80vh;
  border-radius: 12px; background: #fff; object-fit: contain;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.8);
}
.lightbox__stage figcaption {
  color: #e2e8f0; font-size: 15px; text-align: center; max-width: 680px;
  font-weight: 500;
}
.lightbox__close, .lightbox__nav {
  position: absolute; border: 0; cursor: pointer; color: #fff;
  background: rgba(255,255,255,.12); transition: var(--t);
  display: grid; place-items: center; line-height: 1;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.28); }
.lightbox__close { top: 18px; right: 22px; width: 46px; height: 46px; border-radius: 50%; font-size: 28px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; font-size: 30px; }
.lightbox__prev { left: 18px; }
.lightbox__next { right: 18px; }
@media (max-width: 600px) {
  .lightbox__nav { width: 42px; height: 42px; font-size: 24px; }
  .lightbox__close { width: 40px; height: 40px; font-size: 24px; }
}

/* Generic title used across pages */
.agileits-title { text-align: center; }
.agileits-title h3 {
  font-size: clamp(26px,3.6vw,38px); font-weight: 800; color: var(--ink) !important;
  margin-bottom: 12px;
}
.agileits-title p { color: var(--body); max-width: 640px; margin: 0 auto; }

/* Misc cleanups from old template */
.clearfix { clear: both; }
.welcome-agileinfo { padding-top: 8px; }

/* ===========================================================
   SMALL PHONES (≤480px) — final responsive polish
   =========================================================== */
@media (max-width: 480px) {
  /* tighter side padding so content never touches the edge */
  .mx,
  .container,
  .hero__inner,
  .feature-grid,
  .site-nav__inner { padding-left: 16px; padding-right: 16px; }

  /* brand text a touch smaller so the navbar never crowds */
  .site-nav__brand { font-size: 17px; }
  .site-nav__brand img { height: 34px; }

  /* hero: full-width stacked buttons read better on a phone */
  .hero { padding-top: 36px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn-modern { width: 100%; justify-content: center; }
  .hero__stats { gap: 20px; }
  .hero__stat strong { font-size: 24px; }

  /* services gallery stays 2-up but a little tighter */
  .ourservicesgalleryContainer { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ourservicesgalleryContainer .gallery-title { font-size: 13px; padding: 11px 12px; }

  /* search + forms full width */
  .svc-tools input { font-size: 15px; }
  .subscribe form { flex-direction: column; }
  .subscribe input[type="text"],
  .subscribe input[type="tel"],
  .subscribe input[type="submit"] { width: 100%; max-width: 100%; min-width: 0; }

  /* contact form buttons full width */
  .contact-right input[type="submit"] { width: 100%; }

  /* map a bit shorter on tiny screens */
  .contact .map iframe { height: 320px; }

  /* section spacing trimmed */
  .section, .skills, .news-w3layouts, .team, .contact { padding-top: 48px; padding-bottom: 48px; }
}
