:root {
  /* Theme (Uses your existing website colors) */
  --bg-deep: var(--navy-deep);
  --bg-navy: var(--navy);
  --bg-card: var(--ais-bg-card);
  --bg-glass: rgba(7, 18, 51, 0.75);

  --primary: #06A3DA;
  --secondary: #34AD54;
  --accent: #0dcaf0;

  --primary-rgb: 6, 163, 218;
  --secondary-rgb: 52, 173, 84;

  --text-dark: #071233;
  --text-light: #ffffff;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --border: rgba(6, 163, 218, 0.15);

  --gradient-primary: linear-gradient(
    135deg,
    #06A3DA,
    #0dcaf0
  );

  --gradient-full: linear-gradient(
    135deg,
    #06A3DA 0%,
    #0dcaf0 100%
  );

  --font: "Nunito", sans-serif !important;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --max-width: 1400px;
  --nav-height: 72px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  background: #ffffff;
}

body {
  font-family: "Nunito", sans-serif !important;
  background: #EEF9FF;
  color: #071233;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6{
  font-family: var(--font);
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.logo {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--text-secondary);
}

.nav-links a {
  transition: .25s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  color: var(--primary);
  transition: .25s;
}

.nav-cta:hover {
  background: var(--primary);
  color: white;
}

/* ================= HERO ================= */

.hero {
  padding: 80px 0 60px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(34px,5vw,54px);
  font-weight: 800;
  line-height: 1.1;
  max-width: 760px;
  color: var(--text-dark);
}
.h2-text{
  color: #071233;
}

.hero-sub {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.hero-desc {
  font-size: 16px;
  max-width: 420px;
  color: var(--text-secondary);
}

.hero-stats {
  display: flex;
  gap: 42px;
}

.stat-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-dark);
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 6px;
}

/* ================= FILTERS ================= */

.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 32px;
}

.filter-btn {
  padding: 9px 18px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: .25s;
}

.filter-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ===== Mobile dropdown filter (<=425px) ===== */

.filter-wrap {
  position: relative;
}

.filter-toggle {
  display: none;
}

@media (max-width: 425px) {
  .filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 18px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--navy);
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(var(--primary-rgb), 0.08);
    transition: border-color .25s ease, box-shadow .25s ease, transform .15s ease;
  }

  .filter-toggle:active {
    transform: scale(0.98);
  }

  .filter-toggle-icon {
    color: var(--navy);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    flex-shrink: 0;
  }

  .filter-wrap.open .filter-toggle {
    border-color: var(--primary);
    box-shadow: 0 4px 18px rgba(var(--primary-rgb), 0.2);
  }

  .filter-wrap.open .filter-toggle-icon {
    transform: rotate(180deg);
  }

  .filter-row {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 8px;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 60;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 10px;
    padding-top: 32px;
    box-shadow: 0 16px 40px rgba(var(--primary-rgb), 0.2);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.97);
    transform-origin: top center;
    transition: max-height .4s cubic-bezier(.4, 0, .2, 1),
                opacity .28s ease,
                transform .35s cubic-bezier(.4, 0, .2, 1),
                padding-top .4s ease;
  }

  .filter-wrap.open .filter-row {
    max-height: 420px;
    opacity: 1;
    padding-top: 10px;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .filter-btn {
    width: 100%;
    text-align: left;
    color: var(--text-dark);
    border-radius: 10px;
    padding: 13px 14px;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .3s ease, transform .3s ease, background .2s ease, color .2s ease;
  }

  .filter-wrap.open .filter-btn {
    opacity: 1;
    transform: translateY(0);
  }

  .filter-wrap.open .filter-btn:nth-child(1) { transition-delay: .05s; }
  .filter-wrap.open .filter-btn:nth-child(2) { transition-delay: .09s; }
  .filter-wrap.open .filter-btn:nth-child(3) { transition-delay: .13s; }
  .filter-wrap.open .filter-btn:nth-child(4) { transition-delay: .17s; }
  .filter-wrap.open .filter-btn:nth-child(5) { transition-delay: .21s; }

  .filter-btn.active {
    color: var(--text-light);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.35);
  }
}

/* ================= GRID ================= */

.grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin: 36px 0 90px;
}


.portfolio-service-card {
  --local-accent: var(--primary);
  --local-rgb: var(--primary-rgb);

  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;

  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 255, 255, .07), transparent 55%),
    var(--text-dark);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 26px 24px 68px;
  cursor: pointer;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .35s;
}

.portfolio-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(circle at 100% 0%, black, transparent 70%);
          mask-image: radial-gradient(circle at 100% 0%, black, transparent 70%);
  opacity: .5;
  pointer-events: none;
}

.portfolio-service-card.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  transform: scale(.96);
}

.portfolio-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--local-rgb), .5);
  box-shadow: 0 20px 44px -14px rgba(var(--local-rgb), .35);
}

.portfolio-service-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 46px;
}

.portfolio-service-card-tag {
  color: var(--secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.portfolio-service-card-year {
  opacity: 0;
  transform: translateY(-5px);
  transition: .3s;
  color: var(--text-muted);
  font-size: 12px;
}

.portfolio-service-card:hover .portfolio-service-card-year {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-service-card-icon {
  position: relative !important;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, var(--local-accent), var(--accent));
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .35),
    0 8px 18px -6px rgba(var(--local-rgb), .45);
  transition: transform .35s;
}

.portfolio-service-card:hover .portfolio-service-card-icon {
  transform: scale(1.08) rotate(-4deg);
}

.portfolio-service-card-icon svg {
  position: static !important;
  top: auto !important;
  left: auto !important;
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  stroke: var(--text-light);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.portfolio-service-card-icon i {
  font-size: 21px !important;
  color: var(--text-light) !important;
  line-height: 1 !important;
}

/* the little filled "dot" accents (eyes, screws etc.) inside some icons —
   a CSS stroke rule always beats an inline stroke="none" attribute, which
   was giving these dots an unwanted outline. Add class="dot" to those
   circle elements in the SVG markup instead of fill="#fff" stroke="none". */
.portfolio-service-card-icon svg .dot {
  fill: var(--text-light);
  stroke: none;
}

.portfolio-service-card-title {
  position: relative;
  z-index: 1;
  font-size: 26px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 8px;
  letter-spacing: -.01em;
}

.portfolio-service-card-client {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, .6);
  font-size: 14px;
}

.portfolio-service-card-arrow {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, .16);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .35s;
}

.portfolio-service-card:hover .portfolio-service-card-arrow {
  background: var(--local-accent);
  color: var(--text-light);
  border-color: var(--local-accent);
  transform: rotate(45deg);
}

/* category accents — set per data-cat, using your palette where possible */
.portfolio-service-card[data-cat="web"] {
  --local-accent: var(--primary);
  --local-rgb: var(--primary-rgb);
}

.portfolio-service-card[data-cat="app"] {
  --local-accent: var(--secondary);
  --local-rgb: var(--secondary-rgb);
}

.portfolio-service-card[data-cat="brand"] {
  --local-accent: #f97316;
  --local-rgb: 249, 115, 22;
}

.portfolio-service-card[data-cat="cloud"] {
  --local-accent: var(--accent);
  --local-rgb: 13, 202, 240;
}

.bg-header.service-head {
  background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85));
  background-size: cover;
}

/* ================= FOOTER ================= */

footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.foot-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.foot-note,
.foot-links {
  color: var(--text-secondary);
  font-size: 13px;
}

.foot-links {
  display: flex;
  gap: 22px;
}

.foot-links a:hover {
  color: var(--primary);
}

/* ================= FOCUS ================= */

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ================= RESPONSIVE ================= */

@media (max-width:720px){

  .grid{
    grid-template-columns:1fr;
  }

  .hero-sub{
    flex-direction:column;
    align-items:flex-start;
  }

  .nav-links{
    display:none;
  }

  .wrap{
    padding:0 20px;
  }

}
/* =====================================================================
   HERO SECTION & AMBIENT ANIMATIONS
   ===================================================================== */

/* 1. Root Color & Font Variables */
#hero-section {
  --navy: #091e3e;
  --navy-2: #071233;
  --sky: #06A3DA;
  --sky-light: #0dcaf0;
  --font-main: "Segoe UI", system-ui, sans-serif;

}

/* 2. Hero Section Container */
#hero-section .ais-hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 5.5rem 0 4rem 0;
  position: relative;
  overflow: hidden;

}

/* Subtle background dot matrix */
#hero-section .ais-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .08) 1px, transparent 0);
  background-size: 22px 22px;
  opacity: .5;
  pointer-events: none;
}

/* Typography & Breadcrumb Styling */
#hero-section .ais-hero .crumb {

  margin-top: 60px;
  font-size: .8rem;
  color: rgba(255, 255, 255, .55);
}

#hero-section .ais-hero .crumb a {
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
}

#hero-section .ais-hero h1 {

  color: #fff;
  font-size: clamp(2.1rem, 4vw, 3.2rem);

  margin-top: .75rem;
  letter-spacing: -0.01em;
}

#hero-section .ais-hero p.sub {
  color: rgba(255, 255, 255, .72);
  max-width: 40rem;
  font-size: 1.1rem;
}

/* 3. Text Glint/Shine Animation */
#hero-section .ais-hero h1 .glint {
  background: linear-gradient(90deg, #fff 0%, var(--sky-light) 25%, #fff 50%, var(--sky-light) 75%, #fff 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: glintMove 6s linear infinite;
}

@keyframes glintMove {
  0% { background-position: 0% 0; }
  100% { background-position: 250% 0; }
}

/* 4. Glow Orbs Background Animations */
#hero-section .glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
  opacity: .55;
}

#hero-section .glow-orb.o1 {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(6, 163, 218, .55), transparent 70%);
  top: -120px;
  right: -80px;
  animation: driftA 14s ease-in-out infinite;
}

#hero-section .glow-orb.o2 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(13, 202, 240, .4), transparent 70%);
  bottom: -100px;
  left: 12%;
  animation: driftB 18s ease-in-out infinite;
}

@keyframes driftA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 25px) scale(1.12); }
}

@keyframes driftB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, -20px) scale(1.08); }
}

/* 5. Floating Particles Animation */
#hero-section .particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(6, 163, 218, .55);
  filter: blur(.5px);
  pointer-events: none;
  opacity: .7;
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: .8; }
  90% { opacity: .6; }
  100% { transform: translateY(-220px) translateX(12px); opacity: 0; }
}

/* Accessibility: Accessibility reduction for users with motion sensitivity */
@media (prefers-reduced-motion: reduce) {
  #hero-section .glow-orb { animation: none !important; }
  #hero-section .particle { animation: none; display: none; }
  #hero-section .ais-hero h1 .glint { animation: none; }
}
/* ================= CENTER 'OUR PORTFOLIO' HERO TITLE ================= */
/* The container / row / col-lg-8 / text-center classes on this page are
   Bootstrap classes, but Bootstrap's CSS isn't loaded here — so they do
   nothing. Centering it directly instead. */

#hero-section .ais-hero .container {
  text-align: center;
  margin: 0 auto;
  padding: 0 20px;
}

#hero-section .ais-hero .crumb {
  text-align: center;
}

#hero-section .ais-hero h1 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.h2-text {
  color: #071233;
  text-align: center;
   font-weight:700;
margin-bottom: 2rem;
}

.filter-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 32px;
}




/* FAQ Section Styling */
.faq-section {
    padding: 80px 20px;
    max-width: 736px;
    margin: 0 auto;
}
.faq-header {
    text-align: center;
    margin-bottom: 48px;
}
.faq-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #091e3e;
    margin-bottom: 12px;
}
.faq-header p {
    color: #5b6472;
    font-size: 1.05rem;
    line-height: 1.7;
}
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.faq-item {
    background: #ffffff;
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 26px -12px rgba(9, 30, 62, 0.16);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.faq-item:hover {
    box-shadow: 0 18px 36px -14px rgba(9, 30, 62, 0.26);
    transform: translateY(-2px);
}
.faq-question {
    width: 100%;
    padding: 1.25rem 1.4rem;
    background: linear-gradient(135deg, #091e3e 0%, #071233 100%);
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.9rem;
    text-align: left;
    font-size: 1.02rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    outline: none;
    transition: background 0.3s ease;
}
.faq-question:hover {
    background: linear-gradient(135deg, #0b2956 0%, #071233 100%);
}
.faq-item.active .faq-question {
    background: linear-gradient(135deg, #0b7ea8 0%, #091e3e 100%);
}
.faq-icon {
    font-size: 1rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #ffffff;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.35s ease;
    padding: 0 1.4rem;
    background: #ffffff;
}
.faq-answer > p {
    overflow: hidden;
    min-height: 0;
}
.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
    padding: 1.3rem 1.4rem 1.5rem;
    border-top: 1px solid #e6e9ef;
}
.faq-answer p {
    color: #5b6472;
    line-height: 1.75;
    font-size: 0.96rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: 56px 16px;
    }
    .faq-header h2 {
        font-size: 1.9rem;
    }
    .faq-header p {
        font-size: 0.95rem;
    }
    .faq-question {
        padding: 1rem 1.1rem;
        font-size: 0.95rem;
    }
    .faq-item.active .faq-answer {
        padding: 1.1rem 1.1rem 1.3rem;
    }
}

@media (max-width: 480px) {
    .faq-header h2 {
        font-size: 1.6rem;
    }
    .faq-question {
        font-size: 0.88rem;
        gap: 0.6rem;
    }
}