*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s; }

:root {
  --primary: #f03000;
  --primary-dark: #830012;
  --accent-gold: #fea200;
  --accent-teal: #00aa8e;
  --accent-teal-dark: #007a66;
  --dark: #1a1a2e;
  --dark2: #222;
  --text: #4b4b4d;
  --light-bg: #f7f7f7;
  --white: #fff;
  --border: #e0e0e0;
  --heading-font: 'Barlow Condensed', sans-serif;
  --body-font: 'Barlow', sans-serif;

  --bg-body: #fff;
  --bg-section: #fff;
  --bg-alt: #f7f7f7;
  --bg-card: #fff;
  --bg-nav: #fff;
  --bg-dropdown: #fff;
  --text-heading: #222;
  --shadow-sm: rgba(0,0,0,0.06);
  --shadow-md: rgba(0,0,0,0.08);
  --shadow-lg: rgba(0,0,0,0.12);
}

[data-theme="dark"] {
  --bg-body: #121212;
  --bg-section: #1a1a1a;
  --bg-alt: #222;
  --bg-card: #2a2a2a;
  --bg-nav: #1a1a1a;
  --bg-dropdown: #2a2a2a;
  --text-heading: #eee;
  --text: #bbb;
  --dark2: #ccc;
  --border: #333;
  --shadow-sm: rgba(0,0,0,0.2);
  --shadow-md: rgba(0,0,0,0.3);
  --shadow-lg: rgba(0,0,0,0.4);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--body-font);
  color: var(--text);
  background: var(--bg-body);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.top-bar-left img { height: 18px; }
.top-bar-left a { color: #fff; font-weight: 600; text-decoration: underline; }
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar-right a { color: #fff; }
.top-bar-right img { height: 22px; }

/* ===== NAVBAR ===== */
.navbar {
  background: var(--bg-nav);
  box-shadow: 0 2px 20px var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s;
}
.navbar.scrolled {
  box-shadow: 0 4px 30px var(--shadow-lg);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo img { height: 55px; }
.logo-text {
  font-family: var(--heading-font);
  font-size: 32px;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: 1px;
}
.logo-text span { color: var(--primary); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 15px;
  font-weight: 600;
  font-size: 14px;
  color: var(--dark2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}
.nav-link:hover { color: var(--primary); }
.nav-link .fa-chevron-down { font-size: 10px; }

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-dropdown);
  min-width: 220px;
  box-shadow: 0 10px 40px var(--shadow-lg);
  border-top: 3px solid var(--primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 100;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--text-heading);
  border-bottom: 1px solid var(--border);
  transition: all 0.2s;
}
.dropdown li a:hover {
  background: var(--primary);
  color: #fff;
  padding-left: 28px;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}
.nav-icons a {
  color: var(--dark2);
  font-size: 18px;
  transition: color 0.3s;
}
.nav-icons a:hover { color: var(--primary); }
.theme-toggle {
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.toggle-track {
  width: 54px;
  height: 28px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  position: relative;
  transition: all 0.3s;
}

.toggle-knob {
  width: 22px;
  height: 22px;
  background: var(--accent-teal);
  border-radius: 50%;
  position: absolute;
  left: 2px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #fff;
  z-index: 1;
}
[data-theme="dark"] .toggle-knob {
  left: 28px;
}
.toggle-icon-moon,
.toggle-icon-sun {
  font-size: 12px;
  position: relative;
  z-index: 0;
}
.toggle-icon-moon { color: var(--text-heading); }
.toggle-icon-sun { color: var(--accent-gold); }
[data-theme="dark"] .toggle-icon-moon { color: var(--accent-gold); }
[data-theme="dark"] .toggle-icon-sun { color: var(--text-heading); }
.toggle-knob .fa-sun { display: none; }
.toggle-knob .fa-moon { display: inline; }
[data-theme="dark"] .toggle-knob .fa-sun { display: inline; }
[data-theme="dark"] .toggle-knob .fa-moon { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 650px;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.slide.active { opacity: 1; }
.slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.slide.active .slide-bg { transform: scale(1); }
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.65) 40%, rgba(0,0,0,0.2));
}
#slide-1 .slide-overlay {
  background: linear-gradient(to left, rgba(0,0,0,0.65) 40%, rgba(0,0,0,0.2));
}
.slide .container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.slide-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 620px;
  padding: 0;
}
#slide-0 .slide-content {
    margin-left: 700px;
  /* margin-right: 100px; */
}
#slide-1 .slide-content {
  margin-left: 0px;
}
.slide-tag {
  color: var(--primary);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.7s 0.2s;
}
.slide.active .slide-tag {
  opacity: 1;
  transform: translateX(0);
}
.slide-title {
  font-family: var(--heading-font);
  font-size: 62px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.7s 0.4s;
}
.slide.active .slide-title {
  opacity: 1;
  transform: translateX(0);
}
.slide-clients {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.7s 0.5s;
}
.slide.active .slide-clients {
  opacity: 1;
  transform: translateX(0);
}
.slide-clients-num {
  font-family: var(--heading-font);
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}
.slide-clients-text {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  line-height: 1.3;
}
.slide-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 35px;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.7s 0.6s;
}
.slide.active .slide-subtitle {
  opacity: 1;
  transform: translateX(0);
}
.slide-btns {
  display: flex;
  gap: 15px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s 0.8s;
}
.slide.active .slide-btns {
  opacity: 1;
  transform: translateY(0);
}
.btn-primary-hero {
  background: var(--accent-teal);
  color: #fff;
  padding: 15px 35px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary-hero:hover {
  background: var(--accent-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,170,142,0.4);
}

/* Slider Controls */
.slider-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 10;
  pointer-events: none;
}
.slider-arrow {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s;
  backdrop-filter: blur(5px);
  pointer-events: auto;
}
.slider-arrow:hover {
  background: var(--accent-teal);
  border-color: var(--accent-teal);
}
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
}
.slider-dot.active {
  background: var(--accent-teal);
  transform: scale(1.3);
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== SECTION COMMON ===== */
section { overflow: hidden; }
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-label {
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--heading-font);
  font-size: 42px;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.2;
}
.section-title span { color: var(--primary); }
.section-subtitle {
  font-size: 16px;
  color: var(--text);
  margin-top: 15px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: 80px 0;
  background: var(--bg-section);
}
.services-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
  gap: 40px;
}
.services-intro-text {
  max-width: 500px;
}
.services-intro-text .section-label { text-align: left; }
.services-intro-text h2 {
  font-family: var(--heading-font);
  font-size: 38px;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.2;
}
.services-intro-desc {
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  margin-top: 15px;
  max-width: 420px;
}
.services-intro-action {
  flex-shrink: 0;
}
.btn-outline-red {
  border: 2px solid var(--accent-teal);
  color: var(--accent-teal);
  padding: 13px 30px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  border-radius: 2px;
}
.btn-outline-red:hover {
  background: var(--accent-teal);
  color: #fff;
  transform: translateY(-2px);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}
.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.service-card:hover img { transform: scale(1.08); }
.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 30%, transparent 70%);
  transition: background 0.4s;
}
.service-card:hover .service-card-overlay {
  background: linear-gradient(to top, rgba(240,48,0,0.8) 30%, rgba(0,0,0,0.4) 70%);
}
.service-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  color: #fff;
  transition: all 0.4s;
}
.service-card:hover .service-card-info {
  padding-bottom: 18px;
}
.service-card-num {
  font-family: var(--heading-font);
  font-size: 30px;
  font-weight: 800;
  opacity: 0.12;
  line-height: 1;
  margin-bottom: 3px;
}
.service-card h3 {
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.service-card p {
  font-size: 12px;
  line-height: 1.5;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s;
}
.service-card:hover p {
  opacity: 1;
  max-height: 60px;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #fff;
  margin-top: 5px;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding-bottom: 2px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s 0.1s;
}
.service-card:hover .service-card-link {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SINCE 1996 BANNER ===== */
.since-section {
  position: relative;
  padding: 100px 20px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 35%, var(--accent-teal) 100%);
  overflow: hidden;
  text-align: center;
}
.since-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.since-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  transition: all 0.6s ease;
}
.since-shape-1 {
  width: 300px; height: 300px;
  background: var(--accent-teal);
  top: -80px; left: -60px;
}
.since-shape-2 {
  width: 200px; height: 200px;
  background: #fff;
  bottom: -50px; right: -40px;
}
.since-shape-3 {
  width: 150px; height: 150px;
  background: var(--accent-teal);
  top: 50%; right: 10%;
  transform: translateY(-50%);
}
.since-shape-4 {
  width: 80px; height: 80px;
  background: var(--primary);
  bottom: 30%; left: 15%;
  border: 3px solid rgba(255,255,255,0.2);
}
.since-section:hover .since-shape-1 {
  transform: scale(1.4) translate(30px, 20px);
  opacity: 0.2;
}
.since-section:hover .since-shape-2 {
  transform: scale(1.3) translate(-20px, 10px);
  opacity: 0.18;
}
.since-section:hover .since-shape-3 {
  transform: translateY(-50%) scale(1.5);
  opacity: 0.2;
}
.since-section:hover .since-shape-4 {
  transform: scale(1.6) translate(10px, -10px) rotate(90deg);
  opacity: 0.25;
}
.since-content {
  position: relative;
  z-index: 1;
}
.since-label {
  display: block;
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
}
.since-year-wrap {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}
.since-digit {
  display: inline-block;
  font-family: var(--heading-font);
  font-size: 180px;
  font-weight: 900;
  line-height: 0.9;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: default;
}
.since-digit:hover {
  animation: digitBounce 0.5s ease;
}
.since-digit:nth-child(1) { transition-delay: 0s; }
.since-digit:nth-child(2) { transition-delay: 0.05s; }
.since-digit:nth-child(3) { transition-delay: 0.1s; }
.since-digit:nth-child(4) { transition-delay: 0.15s; }
.since-section:hover .since-digit:nth-child(1) {
  transform: translateY(-20px) scale(1.1);
  color: var(--accent-teal);
  text-shadow: 0 8px 30px rgba(0,170,142,0.5);
}
.since-section:hover .since-digit:nth-child(2) {
  transform: translateY(-15px) scale(1.08);
  color: #fff;
  text-shadow: 0 8px 30px rgba(255,255,255,0.4);
}
.since-section:hover .since-digit:nth-child(3) {
  transform: translateY(-10px) scale(1.06);
  color: var(--accent-teal);
  text-shadow: 0 8px 30px rgba(0,170,142,0.5);
}
.since-section:hover .since-digit:nth-child(4) {
  transform: translateY(-5px) scale(1.04);
  color: var(--accent-gold);
  text-shadow: 0 8px 40px rgba(254,162,0,0.3);
}
@keyframes digitBounce {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.3) rotate(-5deg); }
  60%  { transform: scale(0.95) rotate(3deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.since-sublabel {
  display: inline-block;
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  border: 2px solid rgba(255,255,255,0.2);
  padding: 6px 24px;
  border-radius: 30px;
  transition: all 0.4s;
  margin-bottom: 15px;
}
.since-section:hover .since-sublabel {
  border-color: var(--accent-teal);
  color: #fff;
  background: rgba(0,170,142,0.15);
  transform: scale(1.05);
}
.since-tagline {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 2px;
  transition: all 0.5s;
  margin: 0;
}
.since-section:hover .since-tagline {
  color: #fff;
  letter-spacing: 4px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 90px 0;
  background: var(--bg-alt);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  border-radius: 3px;
  box-shadow: 20px 20px 0 var(--primary);
}

.about-content .section-label { text-align: left; }
.about-content h2 {
  font-family: var(--heading-font);
  font-size: 40px;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.2;
  margin-bottom: 20px;
}
.about-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 15px;
}
.about-features {
  margin: 25px 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: var(--bg-card);
  border-radius: 3px;
  box-shadow: 0 3px 15px var(--shadow-sm);
  transition: all 0.3s;
  border-left: 4px solid transparent;
}
.about-feature:hover {
  border-left-color: var(--primary);
  transform: translateX(5px);
}
.about-feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(0,170,142,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-teal);
  font-size: 20px;
  flex-shrink: 0;
  transition: all 0.3s;
}
.about-feature:hover .about-feature-icon {
  background: var(--accent-teal);
  color: #fff;
}
.about-feature h4 {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 5px;
}
.about-feature p {
  font-size: 13px;
  margin: 0;
  color: var(--text);
}

/* ===== STATS ===== */
.stats-section {
  padding: 70px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('https://html-demo.themetechmount.com/printent/images/single-img-1-610x506.jpg') center/cover;
  opacity: 0.07;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}
.stat-item {
  text-align: center;
  color: #fff;
  padding: 30px 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--heading-font);
  font-size: 60px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
}
.stat-num .plus {
  font-size: 35px;
  color: #fff;
}
.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 10px;
  font-weight: 600;
}

/* ===== PORTFOLIO ===== */
.portfolio-section {
  padding: 90px 0;
  background: var(--bg-section);
}
.portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 50px;
  gap: 30px;
}
.portfolio-header-left .section-label { text-align: left; }
.portfolio-header-left h2 {
  font-family: var(--heading-font);
  font-size: 42px;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.2;
}
.portfolio-count {
  text-align: right;
  flex-shrink: 0;
}
.portfolio-count .big-num {
  font-family: var(--heading-font);
  font-size: 70px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.portfolio-count .sub {
  font-size: 14px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.portfolio-slider-wrap {
  position: relative;
  overflow: hidden;
}
.portfolio-track {
  display: flex;
  gap: 20px;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.portfolio-card {
  flex: 0 0 calc(33.333% - 14px);
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
}
.portfolio-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.portfolio-card:hover img { transform: scale(1.08); }
.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(240,48,0,0.85);
  opacity: 0;
  transition: all 0.4s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 30px;
}
.portfolio-card:hover .portfolio-card-overlay { opacity: 1; }
.portfolio-card-overlay .view-icon {
  width: 55px;
  height: 55px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 20px;
  transform: scale(0.7);
  transition: transform 0.4s 0.1s;
}
.portfolio-card:hover .portfolio-card-overlay .view-icon { transform: scale(1); }
.portfolio-card-overlay h3 {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  transform: translateY(20px);
  transition: transform 0.4s 0.15s;
}
.portfolio-card:hover .portfolio-card-overlay h3 { transform: translateY(0); }
.portfolio-card-overlay p {
  font-size: 13px;
  opacity: 0.9;
  line-height: 1.6;
  transform: translateY(20px);
  transition: transform 0.4s 0.2s;
}
.portfolio-card:hover .portfolio-card-overlay p { transform: translateY(0); }

.portfolio-info {
  background: var(--bg-alt);
  padding: 15px 20px;
  transition: background 0.3s;
}
.portfolio-card:hover .portfolio-info { background: var(--primary); }
.portfolio-info h4 {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 3px;
  transition: color 0.3s;
}
.portfolio-card:hover .portfolio-info h4 { color: #fff; }
.portfolio-info span {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}
.portfolio-card:hover .portfolio-info span { color: rgba(255,255,255,0.8); }

.portfolio-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
.portfolio-nav button {
  width: 46px;
  height: 46px;
  border: 2px solid var(--border);
  background: var(--bg-card);
  color: var(--text-heading);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 2px;
}
.portfolio-nav button:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding: 90px 0;
  background: var(--bg-alt);
}
.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.testimonial-slide {
  display: none;
  text-align: center;
  animation: fadeIn 0.5s ease;
}
.testimonial-slide.active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
.testimonial-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid var(--primary);
  margin: 0 auto 20px;
  overflow: hidden;
}
.testimonial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonial-quote {
  font-size: 55px;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 15px;
}
.testimonial-text {
  font-size: 17px;
  color: var(--text);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 25px;
}
.testimonial-name {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 5px;
}
.testimonial-role {
  font-size: 13px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}
.testimonial-stars {
  color: var(--accent-gold);
  font-size: 16px;
  margin-top: 10px;
}
.testimonial-arrows {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.testimonial-arrow {
  width: 46px;
  height: 46px;
  border: 2px solid var(--border);
  background: var(--bg-card);
  color: var(--text-heading);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s;
}
.testimonial-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* ===== CTA BANNER ===== */
.cta-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: url('https://html-demo.themetechmount.com/printent/images/bg-image/col-bgimage-1.jpg') center/cover;
}
.cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.92) 50%, rgba(240,48,0,0.85) 100%);
}
.cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-family: var(--heading-font);
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 15px;
}
.cta-text p {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  line-height: 1.7;
  max-width: 500px;
}
.btn-white {
  background: #fff;
  color: var(--accent-teal);
  padding: 16px 40px;
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.btn-white:hover {
  background: var(--accent-teal);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0,170,142,0.4);
}

/* ===== PRICING ===== */
.pricing-section {
  padding: 90px 0;
  background: var(--bg-section);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.pricing-card {
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 40px 35px;
  text-align: center;
  position: relative;
  transition: all 0.4s;
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--border);
  transition: background 0.3s;
}
.pricing-card:hover::before,
.pricing-card.featured::before { background: var(--accent-teal); }
.pricing-card:hover {
  box-shadow: 0 15px 50px rgba(0,0,0,0.12);
  transform: translateY(-8px);
}
.pricing-card.featured {
  background: var(--dark);
  border-color: var(--text-heading);
  color: #fff;
  transform: translateY(-15px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.pricing-card.featured:hover { transform: translateY(-20px); }
.pricing-badge {
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 40px;
  transform: rotate(45deg);
}
.pricing-price {
  margin-bottom: 20px;
}
.pricing-currency {
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  vertical-align: top;
  margin-top: 15px;
  display: inline-block;
}
.pricing-num {
  font-family: var(--heading-font);
  font-size: 75px;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1;
}
.pricing-card.featured .pricing-num { color: #fff; }
.pricing-period {
  font-size: 13px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pricing-card.featured .pricing-period { color: rgba(255,255,255,0.6); }
.pricing-name {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.pricing-card.featured .pricing-name {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.15);
}
.pricing-features {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-features li {
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pricing-card.featured .pricing-features li { color: rgba(255,255,255,0.8); }
.pricing-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary);
  font-size: 12px;
}
.btn-pricing {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border: 2px solid var(--accent-teal);
  color: var(--accent-teal);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
  transition: all 0.3s;
  width: 100%;
  justify-content: center;
}
.btn-pricing:hover,
.pricing-card.featured .btn-pricing {
  background: var(--accent-teal);
  color: #fff;
}
.pricing-card.featured .btn-pricing:hover {
  background: #fff;
  border-color: #fff;
  color: var(--accent-teal);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 90px 0;
  background: var(--bg-alt);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--heading-font);
  font-size: 38px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 20px;
}
.contact-info p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 30px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.contact-detail-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-teal);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-detail-text h4 {
  font-family: var(--heading-font);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 3px;
}
.contact-detail-text p { margin: 0; font-size: 14px; }
.contact-form-wrap {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 3px;
  box-shadow: 0 10px 40px var(--shadow-md);
}
.contact-form-wrap h3 {
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 25px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--body-font);
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.3s;
  outline: none;
  background: var(--bg-alt);
  box-sizing: border-box;
}
.form-group select {
  cursor: pointer;
  appearance: auto;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: var(--bg-card);
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 6px;
}
.form-group textarea { height: 120px; resize: none; }
.btn-submit {
  background: var(--accent-teal);
  color: #fff;
  padding: 15px 40px;
  border: none;
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
}
.btn-submit:hover {
  background: var(--accent-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,170,142,0.35);
}
.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.form-status {
  margin-top: 15px;
  padding: 12px 16px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  display: none;
}
.form-status.form-success {
  display: block;
  background: rgba(0,170,142,0.12);
  color: var(--accent-teal);
  border: 1px solid var(--accent-teal);
}
.form-status.form-error {
  display: block;
  background: rgba(240,48,0,0.1);
  color: var(--primary);
  border: 1px solid var(--primary);
}

/* ===== FOOTER ===== */
footer {
  background: #111;
  color: rgba(255,255,255,0.7);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-about .logo-text { font-size: 26px; margin-bottom: 15px; display: block; }
.footer-about p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-social {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: all 0.3s;
  border-radius: 2px;
}
.footer-social:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}
.footer-col h4 {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 35px;
  height: 3px;
  background: var(--primary);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a::before {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 10px;
  color: var(--primary);
}
.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 14px;
}
.footer-contact-item i {
  color: var(--primary);
  margin-top: 3px;
  font-size: 15px;
  flex-shrink: 0;
}
.footer-contact-item a { color: rgba(255,255,255,0.6); transition: color 0.3s; }
.footer-contact-item a:hover { color: var(--primary); }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: var(--primary); font-weight: 600; }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  border-radius: 2px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(240,48,0,0.4);
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.7s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== ACTIVE NAV LINK ===== */
.nav-link.active { color: var(--primary); }

/* ===== PAGE BANNER ===== */
.page-banner {
  position: relative;
  padding: 100px 0;
  background: url('media/col-bgimage-1.jpg') center/cover fixed;
  overflow: hidden;
}
.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.92) 50%, rgba(240,48,0,0.85) 100%);
}
.page-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.page-banner-content h1 {
  font-family: var(--heading-font);
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.page-breadcrumb {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
}
.page-breadcrumb a {
  color: var(--accent-teal);
  transition: color 0.3s;
}
.page-breadcrumb a:hover { color: #fff; }
.page-breadcrumb span { color: #fff; }

/* ===== SERVICE DETAIL ===== */
.service-detail-section {
  padding: 90px 0;
  background: var(--bg-section);
}
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.service-detail-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 40px var(--shadow-lg);
}
.service-detail-content .section-label { text-align: left; }
.service-detail-content h2 {
  font-family: var(--heading-font);
  font-size: 40px;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.2;
  margin-bottom: 20px;
}
.service-detail-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 15px;
}
.service-detail-features {
  margin: 25px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-detail-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}
.service-detail-features li i {
  color: var(--accent-teal);
  font-size: 18px;
  flex-shrink: 0;
}

/* ===== PORTFOLIO PAGE ===== */
.portfolio-page-section {
  padding: 90px 0;
  background: var(--bg-section);
}
.portfolio-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 50px;
}
.portfolio-page-card {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--shadow-sm);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.portfolio-page-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px var(--shadow-lg);
}
.portfolio-page-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.portfolio-page-card:hover img { transform: scale(1.08); }
.portfolio-page-overlay {
  position: absolute;
  inset: 0;
  background: rgba(240,48,0,0.85);
  opacity: 0;
  transition: all 0.4s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 30px;
}
.portfolio-page-card:hover .portfolio-page-overlay { opacity: 1; }
.portfolio-page-overlay .view-icon {
  width: 55px;
  height: 55px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 20px;
  transform: scale(0.7);
  transition: transform 0.4s 0.1s;
}
.portfolio-page-card:hover .portfolio-page-overlay .view-icon { transform: scale(1); }
.portfolio-page-overlay h3 {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  transform: translateY(20px);
  transition: transform 0.4s 0.15s;
}
.portfolio-page-card:hover .portfolio-page-overlay h3 { transform: translateY(0); }
.portfolio-page-overlay p {
  font-size: 13px;
  opacity: 0.9;
  line-height: 1.6;
  transform: translateY(20px);
  transition: transform 0.4s 0.2s;
}
.portfolio-page-card:hover .portfolio-page-overlay p { transform: translateY(0); }
.portfolio-page-info {
  background: var(--bg-alt);
  padding: 15px 20px;
  transition: background 0.3s;
}
.portfolio-page-card:hover .portfolio-page-info { background: var(--primary); }
.portfolio-page-info h4 {
  font-family: var(--heading-font);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 3px;
  transition: color 0.3s;
}
.portfolio-page-card:hover .portfolio-page-info h4 { color: #fff; }
.portfolio-page-info span {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}
.portfolio-page-card:hover .portfolio-page-info span { color: rgba(255,255,255,0.8); }

/* ===== MOBILE ===== */
@media (max-width: 991px) {
  .nav-menu { display: none; flex-direction: column; }
  .nav-menu.open { display: flex; position: absolute; top: 80px; left: 0; right: 0; background: var(--bg-nav); padding: 20px; box-shadow: 0 10px 30px var(--shadow-lg); gap: 0; z-index: 99; }
  .nav-item { width: 100%; }
  .nav-link { padding: 12px 5px; border-bottom: 1px solid var(--border); width: 100%; justify-content: space-between; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: none; border-left: 3px solid var(--primary); margin-left: 10px; display: none; }
  .nav-item.open .dropdown { display: block; }
  .hamburger { display: flex; }
  .navbar { position: relative; }

  .hero-slider { height: 500px; }
  .slide-title { font-size: 40px; }
  .slide-content { max-width: 480px; }
  #slide-0 .slide-content { margin-right: 40px; }
  #slide-1 .slide-content { margin-left: 40px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-intro { flex-direction: column; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; padding: 0 20px; }
  .service-card img { height: 160px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .portfolio-card { flex: 0 0 calc(50% - 10px); }
  .since-digit { font-size: 120px; }
  .since-section { padding: 70px 20px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 50px auto 0; }
  .pricing-card.featured { transform: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .cta-content { flex-direction: column; text-align: center; }
  .portfolio-header { flex-direction: column; align-items: flex-start; }
  .portfolio-count { text-align: left; }
  .service-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-banner-content h1 { font-size: 38px; }
  .page-banner { padding: 70px 0; }
  .portfolio-page-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-page-card img { height: 260px; }
}

@media (max-width: 600px) {
  .hero-slider { height: 400px; }
  .slide-title { font-size: 30px; }
  .slide-content { max-width: 360px; }
  #slide-0 .slide-content { margin-right: 20px; }
  #slide-1 .slide-content { margin-left: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; gap: 15px; padding: 0 15px; }
  .service-card img { height: 200px; }
  .portfolio-card { flex: 0 0 calc(100% - 0px); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .top-bar { display: none; }
  .section-title { font-size: 30px; }
  .portfolio-page-grid { grid-template-columns: 1fr; }
  .portfolio-page-card img { height: 220px; }
  .slider-arrows { padding: 0 10px; }
  .slider-arrow { width: 40px; height: 40px; font-size: 14px; }
  .since-digit { font-size: 80px; }
  .since-section { padding: 50px 15px; }
  .since-label { letter-spacing: 4px; font-size: 13px; }
  .since-sublabel { font-size: 16px; }
  .since-tagline { font-size: 13px; }
  .toggle-track { width: 48px; height: 24px; }
  .toggle-knob { width: 18px; height: 18px; font-size: 10px; left: 2px; }
  [data-theme="dark"] .toggle-knob { left: 26px; }
}

/* 404 ERROR PAGE */
.error-section {
  padding: 100px 0;
  text-align: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: var(--bg-section);
}
.error-content {
  max-width: 650px;
  margin: 0 auto;
}
.error-num {
  font-size: 140px;
  font-weight: 800;
  font-family: var(--heading-font);
  color: var(--primary);
  line-height: 1;
  margin-bottom: 5px;
}
.error-content h1 {
  font-family: var(--heading-font);
  font-size: 42px;
  color: var(--text-heading);
  margin-bottom: 15px;
}
.error-content p {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 30px;
  line-height: 1.7;
}
.error-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}
.error-actions .btn-primary-hero {
  padding: 14px 30px;
  font-size: 16px;
  min-width: 180px;
}

/* LEGAL PAGES (Privacy, Terms) */
.legal-section {
  padding: 60px 0 80px;
  background: var(--bg-section);
}
.legal-content {
  max-width: 820px;
  margin: 0 auto;
}
.legal-content .legal-date {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 35px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.legal-content h2 {
  font-family: var(--heading-font);
  font-size: 28px;
  color: var(--text-heading);
  margin-top: 35px;
  margin-bottom: 12px;
}
.legal-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 15px;
}
.legal-content ul {
  margin: 10px 0 20px 25px;
}
.legal-content ul li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 6px;
}
.legal-content ul li strong {
  color: var(--text-heading);
}
.legal-content a {
  color: var(--primary);
}

/* BLOG PAGES */
.blog-section {
  padding: 60px 0 80px;
  background: var(--bg-section);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}
.blog-card {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.blog-card-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 8px 14px;
  border-radius: 4px;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
}
.blog-card-date span {
  display: block;
  font-size: 22px;
}
.blog-card-body {
  padding: 22px;
}
.blog-card-category {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.blog-card-body h3 {
  font-family: var(--heading-font);
  font-size: 22px;
  color: var(--text-heading);
  margin-bottom: 10px;
}
.blog-card-body h3 a {
  color: inherit;
}
.blog-card-body h3 a:hover {
  color: var(--primary);
}
.blog-card-body p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 15px;
}
.blog-read-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}
.blog-read-more i {
  margin-left: 5px;
  transition: margin-left 0.3s;
}
.blog-read-more:hover i {
  margin-left: 10px;
}
.blog-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--text);
  font-size: 18px;
}

/* BLOG POST SINGLE */
.blog-post-section {
  padding: 50px 0 80px;
  background: var(--bg-section);
}
.blog-post {
  max-width: 800px;
  margin: 0 auto;
}
.blog-post-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  font-size: 14px;
  color: var(--text);
}
.blog-post-meta i {
  margin-right: 5px;
  color: var(--primary);
}
.blog-post-body h2 {
  font-family: var(--heading-font);
  font-size: 28px;
  color: var(--text-heading);
  margin: 30px 0 15px;
}
.blog-post-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 18px;
}
.blog-post-body ul {
  margin: 10px 0 20px 25px;
}
.blog-post-body ul li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 8px;
}
.blog-post-body blockquote {
  border-left: 4px solid var(--primary);
  padding: 15px 20px;
  margin: 25px 0;
  background: var(--bg-alt);
  border-radius: 0 4px 4px 0;
}
.blog-post-body blockquote p {
  font-style: italic;
  font-size: 18px;
  margin-bottom: 0;
}
.blog-post-body a {
  color: var(--primary);
}
.blog-post-nav {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.blog-post-nav .btn-primary-hero {
  padding: 12px 28px;
  font-size: 15px;
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-image { height: 200px; }
}
