/* ==========================================================================
   NEWIX TECH SOLUTIONS - OFFICIAL PORTFOLIO DESIGN SYSTEM
   Exact Theme Match with https://newixtechsolutions.com & Landing Page
   ========================================================================== */

:root {
  /* Brand Palette (Identical to newixtechsolutions.com) */
  --bg-dark: #0D0D0D;
  --bg-surface: #141418;
  --bg-surface-elevated: #1a1a22;
  --bg-card: rgba(255, 255, 255, 0.045);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --bg-input: rgba(255, 255, 255, 0.055);

  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-input: rgba(255, 255, 255, 0.14);
  --border-highlight: rgba(255, 107, 30, 0.4);
  --border-glow: rgba(255, 107, 30, 0.75);

  /* Newix Signature Flame Orange */
  --primary-orange: #FF6B1E;
  --orange-hover: #e0550b;
  --orange-glow: rgba(255, 107, 30, 0.35);
  --orange-gradient: linear-gradient(135deg, #FF6B1E 0%, #ff8f3d 100%);

  /* Typography Colors */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.45);

  /* Spacing & Radii */
  --radius-sm: 8px;
  --radius-input: 14px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 30px;

  /* Shadows */
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.7);
  --shadow-orange: 0 4px 20px rgba(255, 107, 30, 0.4);
  --shadow-orange-glow: 0 0 35px rgba(255, 107, 30, 0.55);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   TOP PAGE LOADER
   ========================================================================== */
.top-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--orange-gradient);
  box-shadow: 0 0 12px var(--primary-orange);
  z-index: 999999;
  transition: width 0.3s ease, opacity 0.5s ease;
}
.top-loader.loaded {
  width: 100%;
  opacity: 0;
}

/* Base Resets & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: clip;
  scroll-behavior: smooth;
  background-color: var(--bg-dark) !important;
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.page-wrapper {
  overflow-x: clip;
  position: relative;
  width: 100%;
  padding-top: 85px;
}

@media (max-width: 575.98px) {
  .page-wrapper {
    padding-top: 72px;
  }
}

section {
  scroll-margin-top: 95px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* 3D Floating Elements */
.floating-3d-element {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  perspective: 1000px;
  transition: transform 0.15s ease-out;
}
.shape-inner {
  width: 60px;
  height: 60px;
  background: rgba(255, 107, 30, 0.08);
  border: 1px solid rgba(255, 107, 30, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
  font-size: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 15px rgba(255,107,30,0.2);
  animation: floatSlow 7s ease-in-out infinite alternate;
}
.float-shape-1 {
  top: 18%;
  left: 4%;
}
.float-shape-2 {
  top: 75%;
  left: 42%;
}
.float-shape-3 {
  top: 25%;
  right: 5%;
}
.float-shape-2 .shape-inner {
  animation-delay: -3s;
  width: 50px;
  height: 50px;
  font-size: 20px;
}
.float-shape-3 .shape-inner {
  animation-delay: -1.5s;
  width: 56px;
  height: 56px;
  font-size: 22px;
}

@keyframes floatSlow {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-20px) rotate(8deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #090909;
}
::-webkit-scrollbar-thumb {
  background: #26262e;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-orange);
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

.text-gradient {
  color: var(--primary-orange);
  display: inline-block;
}

/* Section Header (Matches Newix Brand) */
.sec-title {
  margin-bottom: 40px;
}
.sec-title .sub-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.sec-title .sub-title i {
  color: var(--primary-orange);
  font-size: 13px;
}
.sec-title .title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.sec-title .title span {
  color: var(--primary-orange);
}

@media (max-width: 768px) {
  .sec-title .title {
    font-size: 28px;
  }
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Flex & Grid Helper Classes */
.d-flex { display: flex; }
.d-none { display: none !important; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 16px; }
.gap-4 { gap: 24px; }
.ms-2 { margin-left: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.w-100 { width: 100%; }

/* ==========================================================================
   HEADER & NAVBAR (Matches Landing Page Exact Header)
   ========================================================================== */
.landing-header,
.main-header.landing-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  background: rgba(13, 13, 13, 0.98) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.85) !important;
  z-index: 99999 !important;
  transition: all 0.3s ease;
}

.landing-header .header-lower {
  width: 100%;
}

.landing-header .main-box {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 14px 0 !important;
}

.landing-header .logo {
  display: flex !important;
  align-items: center !important;
}

.landing-header .logo img {
  height: 48px !important;
  width: auto !important;
  max-height: 52px !important;
  max-width: 240px !important;
  object-fit: contain !important;
  margin: 0 !important;
}

.landing-header .nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.landing-header .nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.landing-header .nav-link:hover,
.landing-header .nav-link.active {
  color: #ffffff;
}

.landing-header .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-orange);
  transition: width var(--transition-smooth);
}

.landing-header .nav-link:hover::after,
.landing-header .nav-link.active::after {
  width: 100%;
}

.landing-header .outer-box {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

/* Contact Button (Exact Landing Page Flame Pill) */
.landing-header .contact-btn,
.contact-btn {
  background: #FF6B1E !important;
  color: #ffffff !important;
  padding: 11px 26px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border-radius: 30px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(255, 107, 30, 0.35) !important;
  border: none;
  cursor: pointer;
}

.landing-header .contact-btn:hover,
.contact-btn:hover {
  background: #e0550b !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(255, 107, 30, 0.5) !important;
}

.btn-style-one {
  background: var(--primary-orange);
  color: #ffffff;
  padding: 13px 30px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-orange);
  transition: all var(--transition-smooth);
}
.btn-style-one:hover {
  background: var(--orange-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 30, 0.55);
}

/* Mobile Nav Toggler (Hamburger) - Hidden on desktop, visible on mobile/tablet */
.mobile-nav-toggler {
  display: none !important;
  flex-direction: column;
  justify-content: space-between;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.mobile-nav-toggler:hover {
  background: rgba(255, 107, 30, 0.15);
  border-color: var(--primary-orange);
}
.mobile-nav-toggler span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.25s ease;
}

@media (max-width: 991.98px) {
  .landing-header .nav-links {
    display: none !important;
  }
  .mobile-nav-toggler {
    display: flex !important;
  }
}

@media (max-width: 767.98px) {
  .landing-header .main-box {
    padding: 10px 0 !important;
  }
  .landing-header .logo img {
    height: 38px !important;
    max-height: 38px !important;
    max-width: 170px !important;
  }
  .landing-header .contact-btn {
    padding: 9px 18px !important;
    font-size: 13px !important;
  }
}

/* ==========================================================================
   OFFCANVAS MOBILE / SIDEBAR DRAWER MENU (Matches Landing Page)
   ========================================================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85%;
  height: 100%;
  z-index: 999999;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu .menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 1;
}

.mobile-menu .menu-box {
  position: absolute;
  top: 0;
  right: -340px;
  width: 100%;
  height: 100%;
  background: #121217;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 24px;
  overflow-y: auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body.mobile-menu-visible .mobile-menu {
  visibility: visible;
  pointer-events: auto;
}
body.mobile-menu-visible .mobile-menu .menu-backdrop {
  opacity: 1;
  visibility: visible;
}
body.mobile-menu-visible .mobile-menu .menu-box {
  right: 0;
}

.mobile-menu .upper-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu .nav-logo img {
  height: 38px;
  width: auto;
}
.mobile-menu .close-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mobile-menu .close-btn:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
}

.mobile-menu .navigation {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-menu .navigation li a {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  padding: 10px 14px;
  border-radius: 10px;
  transition: all 0.2s ease;
}
.mobile-menu .navigation li a:hover,
.mobile-menu .navigation li a.active {
  color: #fff;
  background: rgba(255, 107, 30, 0.15);
  padding-left: 18px;
}

.mobile-menu .contact-list-one {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-menu .contact-info-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu .contact-info-box .title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.mobile-menu .contact-info-box a {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.mobile-menu .contact-info-box a:hover {
  color: var(--primary-orange);
}

.mobile-menu .social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.mobile-menu .social-links li a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  transition: all 0.2s ease;
}
.mobile-menu .social-links li a:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION & METRICS
   ========================================================================== */
.hero-section {
  padding: 60px 0 70px;
  position: relative;
  background: radial-gradient(circle at 50% 20%, rgba(255, 107, 30, 0.12) 0%, #0D0D0D 80%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.hero-title span {
  color: var(--primary-orange);
}

.hero-subtitle {
  font-size: 16.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: #ffffff;
  font-weight: 500;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
}
.stat-number span {
  color: var(--primary-orange);
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Contact Card (Shared Form Style) */
.hero-form-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.hero-form-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 36px;
  right: 36px;
  height: 3px;
  background: var(--primary-orange);
  border-radius: 2px;
}

/* ==========================================================================
   SHARED CONTACT FORM / INPUTS (Matches Landing Page)
   ========================================================================== */
.shared-contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.shared-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.shared-contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.shared-contact-field.full-width {
  grid-column: 1 / -1;
}

.shared-contact-field label {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  display: block !important;
}

.shared-contact-form input,
.shared-contact-form select,
.shared-contact-form textarea,
.shared-contact-field input,
.shared-contact-field select,
.shared-contact-field textarea {
  background-color: rgba(255, 255, 255, 0.055) !important;
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 14px !important;
  color: #ffffff !important;
  min-height: 48px !important;
  outline: none !important;
  padding: 12px 16px !important;
  width: 100% !important;
  font-size: 14.5px !important;
  font-family: inherit !important;
  box-sizing: border-box !important;
  transition: all 0.25s ease !important;
}

.shared-contact-form textarea,
.shared-contact-field textarea {
  min-height: 100px !important;
  resize: vertical;
}

.shared-contact-form input::placeholder,
.shared-contact-form textarea::placeholder,
.shared-contact-field input::placeholder,
.shared-contact-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
  opacity: 1 !important;
}

.shared-contact-field input:focus,
.shared-contact-field select:focus,
.shared-contact-field textarea:focus,
.shared-contact-form input:focus,
.shared-contact-form select:focus,
.shared-contact-form textarea:focus {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border-color: #FF6B1E !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 30, 0.2) !important;
}

.shared-contact-field select,
.shared-contact-form select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FF6B1E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 16px 16px !important;
  padding-right: 44px !important;
  cursor: pointer !important;
}

.shared-contact-field select option {
  background-color: #141418 !important;
  color: #ffffff !important;
}

.quote-submit-btn {
  width: 100%;
  margin-top: 6px;
  background: var(--primary-orange);
  color: #ffffff;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-orange);
  transition: all var(--transition-smooth);
}
.quote-submit-btn:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 30, 0.55);
}

/* ==========================================================================
   MARQUEE SECTION (Live Ticker)
   ========================================================================== */
.marquee-area {
  padding: 24px 0;
  background: #09090c;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  animation: marqueeScroll 25s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
}
.marquee-item i {
  color: var(--primary-orange);
  font-size: 13px;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   PORTFOLIO FILTER & SPLIT LAYOUT (Sticky Sidebar + Grid)
   ========================================================================== */
.portfolio-section {
  padding: 70px 0 100px;
  position: relative;
}

.portfolio-split-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 32px;
  align-items: start;
  position: relative;
}

/* 3-Column Left Sticky Sidebar */
.portfolio-sidebar {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 105px !important;
  align-self: start !important;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-sm);
  max-height: calc(100vh - 125px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-orange) transparent;
  z-index: 40;
}
.portfolio-sidebar::-webkit-scrollbar {
  width: 5px;
}
.portfolio-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 107, 30, 0.4);
  border-radius: 3px;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}
.sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
}
.badge-total-pill {
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 107, 30, 0.15);
  border: 1px solid rgba(255, 107, 30, 0.35);
  color: var(--primary-orange);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.sidebar-search {
  position: relative;
  width: 100%;
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}
.search-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-pill);
  color: #fff;
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
  transition: all var(--transition-fast);
}
.search-input:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 30, 0.2);
}
.search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: none;
}
.search-clear-btn.active {
  display: block;
}

/* Vertical Category Tabs */
.category-tabs-vertical {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tab-btn-vertical {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}
.tab-btn-vertical .tab-left-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tab-btn-vertical i {
  font-size: 14px;
  width: 18px;
  text-align: center;
  color: var(--primary-orange);
}
.tab-btn-vertical .tab-count {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 7px;
  border-radius: 10px;
  color: var(--text-muted);
}
.tab-btn-vertical:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  transform: translateX(3px);
}
.tab-btn-vertical.active {
  background: rgba(255, 107, 30, 0.15);
  border-color: rgba(255, 107, 30, 0.4);
  color: #fff;
}
.tab-btn-vertical.active .tab-count {
  background: var(--primary-orange);
  color: #fff;
}

.sidebar-cta-card {
  background: linear-gradient(135deg, rgba(255,107,30,0.12) 0%, rgba(255,107,30,0.02) 100%);
  border: 1px solid rgba(255,107,30,0.25);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  margin-top: 10px;
}
.sidebar-cta-card h4 {
  font-size: 15px;
  margin-bottom: 6px;
}
.sidebar-cta-card p {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

/* Portfolio Main Content Column */
.portfolio-main-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.portfolio-content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 12px;
}
.current-category-info h2 {
  font-size: 26px;
  font-weight: 800;
}
.current-category-info p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 3px;
}
.filter-count-badge {
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

/* 110+ Projects Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* Project Card (Supports both .portfolio-card and .project-card) */
.portfolio-card,
.project-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  position: relative;
  height: 100%;
}
.portfolio-card:hover,
.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-highlight);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 107, 30, 0.15);
}

.card-media,
.card-thumbnail-wrap {
  position: relative;
  width: 100%;
  height: 210px;
  background: #090a0f;
  overflow: hidden;
  cursor: pointer;
}
.card-media img,
.card-thumbnail-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-card:hover .card-media img,
.project-card:hover .card-thumbnail-wrap img {
  transform: scale(1.05);
}

.card-badge-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(13, 13, 18, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.card-badge-metric,
.card-rating-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(13, 13, 18, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffb703;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 12px;
}

.card-client-row,
.card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}
.card-client {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  transition: color var(--transition-fast);
}
.card-title:hover {
  color: var(--primary-orange);
}

.card-desc,
.card-subtitle {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
}

.card-tags,
.card-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.card-tag,
.tag-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 6px;
  color: var(--text-secondary);
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 20px 20px;
  margin-top: auto;
}

.card-btn {
  padding: 9px 12px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-fast);
  border: none;
  text-decoration: none;
}

.card-btn-live {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25D366;
}
.card-btn-live:hover {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
  transform: translateY(-2px);
}

.card-btn-details {
  background: rgba(255, 107, 30, 0.12);
  border: 1px solid rgba(255, 107, 30, 0.35);
  color: var(--primary-orange);
}
.card-btn-details:hover {
  background: var(--primary-orange);
  color: #fff;
  border-color: var(--primary-orange);
  transform: translateY(-2px);
}

/* Load More Projects Button for All Tab */
.load-more-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 36px;
  width: 100%;
}
.load-more-btn {
  padding: 13px 32px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-radius: var(--radius-pill) !important;
  background: var(--primary-orange) !important;
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(255, 107, 30, 0.4) !important;
  border: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  transition: all 0.3s ease !important;
}
.load-more-btn:hover {
  background: var(--orange-hover) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(255, 107, 30, 0.6) !important;
}
.load-more-count {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Modal Gallery Strip Thumbnails */
.modal-thumb {
  width: 80px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.6;
  transition: all var(--transition-fast);
}
.modal-thumb.active,
.modal-thumb:hover {
  border-color: var(--primary-orange);
  opacity: 1;
}
.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-tag-pill {
  background: rgba(255, 107, 30, 0.12);
  border: 1px solid rgba(255, 107, 30, 0.3);
  color: var(--primary-orange);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

/* No Results Box */
.no-results-box {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.no-results-icon {
  font-size: 42px;
  color: var(--primary-orange);
  margin-bottom: 16px;
}

/* ==========================================================================
   SERVICES GRID SECTION
   ========================================================================== */
.services-grid-section {
  padding: 80px 0;
  background: #09090c;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition-smooth);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 107, 30, 0.12);
  border: 1px solid rgba(255, 107, 30, 0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
  font-size: 22px;
}

.service-title {
  font-size: 20px;
  font-weight: 700;
}

.service-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.service-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}
.service-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}
.service-points li i {
  color: #25D366;
  font-size: 11px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-orange);
  font-size: 14px;
  font-weight: 600;
  margin-top: auto;
}
.service-link:hover {
  color: var(--orange-hover);
  transform: translateX(4px);
}

/* ==========================================================================
   CALL TO ACTION BANNER SECTION
   ========================================================================== */
.cta-banner-section {
  padding: 80px 0;
  position: relative;
}

.cta-banner-box {
  background: linear-gradient(135deg, #15151c 0%, #1f1a18 100%);
  border: 1px solid rgba(255, 107, 30, 0.3);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
}
.cta-banner-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,107,30,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  margin: 0 auto;
}
.cta-banner-content .sub-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.cta-banner-content h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-banner-content p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.65;
}
.cta-banner-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER SECTION (Exact 100% Landing Page Match - Clean & Isolated)
   ========================================================================== */
.footer-section {
  position: relative;
  background: #09090c;
  border-top: 1px solid var(--border-subtle);
  padding-top: 60px;
  overflow: hidden;
}

.footer-top-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo img {
  height: 46px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.footer-info {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-info a {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-info a:hover {
  color: var(--primary-orange);
}

.footer-widget-wrapper {
  padding: 48px 0 36px;
}

.footer-grid-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 40px;
}

.footer-content .title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
}
.footer-content .title span {
  display: block;
  color: var(--primary-orange);
}
.footer-content .title-2 {
  font-size: 14.5px;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 20px;
}

.footer-content .newsletter-box {
  position: relative;
  max-width: 420px;
}
.footer-content .newsletter-box input {
  width: 100%;
  padding: 14px 56px 14px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  transition: all var(--transition-fast);
}
.footer-content .newsletter-box input:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 30, 0.2);
}
.footer-content .circle-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-orange);
  border: none;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.footer-content .circle-btn:hover {
  background: var(--orange-hover);
  transform: translateY(-50%) scale(1.05);
}

.footer-widget-items .widget-head {
  margin-bottom: 20px;
}
.widget-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  position: relative;
  padding-bottom: 10px;
}
.widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--primary-orange);
}

.user-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.user-links li a {
  color: var(--text-secondary);
  font-size: 14.5px;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.user-links li a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 24px 0;
}
.footer-bottom-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom-wrapper p {
  font-size: 13.5px;
  color: var(--text-muted);
}
.footer-bottom-wrapper p span {
  color: #ffffff;
  font-weight: 600;
}

.social-icon {
  display: flex;
  align-items: center;
  gap: 20px;
}
.social-icon a {
  color: var(--text-secondary);
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}
.social-icon a:hover {
  color: var(--primary-orange);
}

/* ==========================================================================
   MULTI-SCREEN MODAL / LIGHTBOX
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
}
.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-content-wrapper {
  background: #121217;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-md);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-backdrop.active .modal-content-wrapper {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(13, 13, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.modal-close-btn:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
}

.modal-hero-image {
  position: relative;
  width: 100%;
  height: 380px;
  background: #08080c;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.modal-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(13, 13, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 5;
}
.modal-nav-arrow:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
}
.modal-prev-arrow { left: 16px; }
.modal-next-arrow { right: 16px; }

.modal-thumbnails-strip {
  display: flex;
  gap: 10px;
  padding: 12px 24px;
  background: #0d0d12;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
}
.modal-thumb-item {
  width: 80px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.6;
  transition: all var(--transition-fast);
}
.modal-thumb-item.active,
.modal-thumb-item:hover {
  border-color: var(--primary-orange);
  opacity: 1;
}
.modal-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modal-title-row h2 {
  font-size: 28px;
  font-weight: 800;
  margin-top: 6px;
}
.modal-title-row p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-top: 4px;
}

.modal-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 16px 20px;
  border-radius: 12px;
}
.modal-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.modal-meta-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.modal-meta-val {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.modal-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.deliverables-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.deliverables-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.deliverables-list li i {
  color: #25D366;
  font-size: 12px;
}

/* Floating WhatsApp Button */
.floating-contact-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  transition: all var(--transition-bounce);
}
.floating-contact-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
  color: #fff;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: #141418;
  border: 1px solid var(--primary-orange);
  box-shadow: var(--shadow-md);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-bounce);
}
.toast.active {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Desktop, Tablet, Mobile)
   ========================================================================== */
@media (max-width: 1200px) {
  .portfolio-split-layout {
    grid-template-columns: 280px 1fr;
    gap: 24px;
  }
  .footer-grid-layout {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title {
    font-size: 38px;
  }
  .portfolio-split-layout {
    grid-template-columns: 1fr;
  }
  .portfolio-sidebar {
    position: static !important;
    max-height: none;
    overflow-y: visible;
  }
  .category-tabs-vertical {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 8px;
  }
  .sidebar-cta-card {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 40px 0 50px;
  }
  .hero-title {
    font-size: 30px;
  }
  .hero-stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .category-tabs-vertical {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .category-tabs-vertical::-webkit-scrollbar {
    display: none;
  }
  .tab-btn-vertical {
    flex-shrink: 0;
    width: auto;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-pill);
  }
  .tab-btn-vertical:hover {
    transform: none;
  }
  .shared-contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .modal-hero-image {
    height: 240px;
  }
  .modal-body-content {
    padding: 20px;
  }
  .modal-meta-grid {
    grid-template-columns: 1fr;
  }
  .deliverables-list {
    grid-template-columns: 1fr;
  }
  .floating-3d-element {
    display: none;
  }
}
