/* ==========================================================
   PERFECT PACKERS — MAIN STYLESHEET
   Design direction inspired by the Luxterior reference layout.
   No orange. No gradients. Solid colors only.
========================================================== */

/* ==========================
   VARIABLES
========================== */
:root {
  --primary: #16324F;       /* deep navy — from PP logo */
  --primary-light: #24486D;
  --secondary: #3D5A73;     /* slate blue-gray */
  --accent: #2E8B79;        /* muted teal — highlights, links, active states */
  --dark: #0E1B27;
  --light: #F4F6F8;
  --background: #FFFFFF;
  --surface: #F7F8FA;
  --surface-alt: #EEF1F4;
  --text: #1A1F24;
  --muted: #667080;
  --border: #E3E7EB;
  --red: #C0392B;           /* reserved for "Techfeenix" credit link only */

  --container-width: 1280px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;

  --shadow-sm: 0 1px 2px rgba(14, 27, 39, 0.06);
  --shadow-md: 0 8px 24px rgba(14, 27, 39, 0.08);
  --shadow-lg: 0 20px 48px rgba(14, 27, 39, 0.12);

  --transition: 0s;
}

/* ==========================
   RESET
========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: 96px;
}

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font: inherit;
  color: inherit;
}

/* ==========================
   TYPOGRAPHY
========================== */
body {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--dark);
}

h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.lead {
  font-size: 1.1rem;
  max-width: 46ch;
}

/* ==========================
   GLOBAL
========================== */
.container {
  width: min(100% - 2.5rem, var(--container-width));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-6);
}

.section--tight {
  padding-block: var(--space-5);
}

.section--surface {
  background: var(--surface);
}

.section--dark {
  background: var(--dark);
  color: var(--light);
}

.section--dark h2,
.section--dark h3,
.section--dark p {
  color: var(--light);
}

.section--dark p {
  color: rgba(244, 246, 248, 0.72);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.section-head__text {
  max-width: 640px;
}

.section-head h2 {
  margin-top: 0.75rem;
}

.text-center {
  text-align: center;
  margin-inline: auto;
}

.grid {
  display: grid;
  gap: var(--space-3);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: none;
}

.skip-link:focus {
  top: 1rem;
}

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

/* ==========================
   HEADER
========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: none;
}

.site-header.is-scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.1rem;
  gap: var(--space-3);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--primary);
}

.brand img {
  height: 40px;
  width: auto;
}

.brand span small {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-primary__list {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-primary__list a {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  padding-block: 0.35rem;
  transition: none;
}

.nav-primary__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: none;
}

.nav-primary__list a:hover,
.nav-primary__list a[aria-current="page"] {
  color: var(--accent);
}

.nav-primary__list a:hover::after,
.nav-primary__list a[aria-current="page"]::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  padding: 0.25rem;
}

.nav-toggle span {
  height: 2px;
  width: 100%;
  background: var(--primary);
  border-radius: 2px;
  transition: none;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================
   HERO
========================== */
.hero {
  position: relative;
  padding-block: var(--space-5) var(--space-5);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-5);
  align-items: center;
}

.hero__content .eyebrow {
  margin-bottom: var(--space-2);
}

.hero__content h1 {
  margin-bottom: var(--space-2);
}

.hero__content p {
  margin-bottom: var(--space-3);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}

.hero__meta-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero__meta-item strong {
  display: block;
  color: var(--dark);
  font-weight: 600;
}

.hero__figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}

.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: auto;
}

.hero__badge {
  position: absolute;
  left: var(--space-3);
  bottom: var(--space-3);
  right: var(--space-3);
  background: rgba(14, 27, 39, 0.82);
  color: #fff;
  padding: var(--space-3);
  border-radius: var(--radius-md);
  backdrop-filter: blur(6px);
}

.hero__badge strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.hero__badge p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  margin: 0;
}

.page-hero {
  position: relative;
  padding-block: var(--space-5);
  background: var(--primary);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--dark);
  opacity: 0.35;
  z-index: -1;
}

.page-hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero .breadcrumb {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
}

.page-hero h1 {
  color: #fff;
  text-align: center;
}

/* ==========================
   SECTIONS
========================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  align-items: center;
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.stat h3 {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat p {
  font-size: 0.9rem;
  margin: 0;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.benefit {
  display: flex;
  gap: 1rem;
}

.benefit__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  color: var(--accent);
  display: grid;
  place-items: center;
}

.benefit h4 {
  margin-bottom: 0.35rem;
}

.benefit p {
  font-size: 0.92rem;
  margin: 0;
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.process-item {
  display: flex;
  gap: 1.1rem;
}

.process-item__num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
}

.process-item h4 {
  margin-bottom: 0.25rem;
}

.process-item p {
  margin: 0;
  font-size: 0.92rem;
}

.cta-banner {
  position: relative;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  overflow: hidden;
  isolation: isolate;
}

.cta-banner::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 260px;
  height: 260px;
  background: var(--secondary);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
  opacity: 0.6;
  z-index: -1;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: var(--space-2);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 50ch;
  margin-bottom: var(--space-3);
}

.cta-banner__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.newsletter {
  text-align: center;
}

.newsletter form {
  display: flex;
  gap: 0.75rem;
  max-width: 520px;
  margin: var(--space-3) auto 0;
}

.newsletter input {
  flex: 1;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
}

/* ==========================
   CARDS
========================== */
.card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  transition: none;
}

.card:hover {
  transform: none;
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  border: 1px solid var(--border);
  transition: none;
}

.service-card:hover {
  transform: none;
  box-shadow: var(--shadow-md);
}

.service-card__num {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.85rem;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 0.25rem;
}

.service-card p {
  font-size: 0.92rem;
  margin: 0;
  flex: 1;
}

.service-card a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.project-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: none;
}

.project-card:hover img {
  transform: none;
}

.project-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-2);
  background: rgba(14, 27, 39, 0.78);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transform: none;
  transition: none;
}

.project-card:hover figcaption {
  opacity: 1;
  transform: none;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  height: 100%;
}

.testimonial-card__quote {
  color: var(--accent);
  font-size: 2rem;
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.testimonial-card p.body {
  color: var(--text);
  margin-bottom: var(--space-2);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card__author img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card__author strong {
  display: block;
  font-size: 0.92rem;
}

.testimonial-card__author span {
  font-size: 0.8rem;
  color: var(--muted);
}

.value-card {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-4);
  height: 100%;
}

.value-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-2);
}

.value-card h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.value-card p {
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
  margin: 0;
}

.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: none;
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: none;
}

.blog-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__body {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.blog-card__meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  font-weight: 600;
}

.blog-card__body h3 {
  font-size: 1.15rem;
}

.blog-card__body p {
  font-size: 0.9rem;
  flex: 1;
}

.blog-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-card h4 {
  margin-bottom: 0.25rem;
}

.contact-card p {
  margin: 0;
  font-size: 0.92rem;
}

.contact-card--emergency {
  background: var(--primary);
  color: #fff;
}

.contact-card--emergency p,
.contact-card--emergency h4 {
  color: #fff;
}

.contact-card--emergency .contact-card__icon {
  background: rgba(255,255,255,0.16);
}

/* ==========================
   BUTTONS
========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: none;
  white-space: nowrap;
}

.btn:active {
  transform: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-light);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: #256e60;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid currentColor;
  color: var(--dark);
}

.btn-outline:hover {
  background: var(--dark);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--dark);
}

.btn-light {
  background: #fff;
  color: var(--primary);
}

.btn-light:hover {
  background: var(--surface-alt);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
}

/* ==========================
   FORMS
========================== */
.form-grid {
  display: grid;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
}

.field input,
.field textarea,
.field select {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent);
  background: #fff;
}

.field small {
  color: var(--muted);
  font-size: 0.78rem;
}

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-md);
}

.search-bar {
  display: flex;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.4rem;
  max-width: 460px;
}

.search-bar input {
  flex: 1;
  border: none;
  background: none;
  padding: 0.5rem 0.75rem;
}

.search-bar input:focus {
  outline: none;
}

/* ==========================
   PROJECTS (Portfolio grid)
========================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: var(--space-4);
}

.filter-bar button {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  transition: none;
}

.filter-bar button.is-active,
.filter-bar button:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ==========================
   BLOG
========================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.blog-featured {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-4);
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-5);
}

.blog-featured__media {
  height: 100%;
  min-height: 320px;
}

.blog-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-featured__body {
  padding: var(--space-4);
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: var(--space-3) 0;
}

.blog-categories a {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--surface-alt);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  transition: none;
}

.blog-categories a:hover,
.blog-categories a.is-active {
  background: var(--primary);
  color: #fff;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--space-4);
}

.pagination a,
.pagination span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.9rem;
}

.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pagination .is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Article / blog show */
.article {
  max-width: 760px;
  margin-inline: auto;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-2);
}

.article__meta img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.article__figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-block: var(--space-3);
  box-shadow: var(--shadow-md);
}

.article__body {
  font-size: 1.05rem;
  color: var(--text);
}

.article__body p {
  color: var(--text);
  margin-bottom: var(--space-2);
}

.article__body h2,
.article__body h3 {
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-3);
}

.related-posts {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}

/* ==========================
   FOOTER
========================== */
.site-footer {
  background: var(--dark);
  color: rgba(244, 246, 248, 0.78);
}

.site-footer__top {
  padding-block: var(--space-5);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-4);
}

.site-footer h4 {
  color: #fff;
  margin-bottom: var(--space-2);
  font-size: 1rem;
}

.site-footer .brand {
  color: #fff;
  margin-bottom: var(--space-2);
}

.site-footer p {
  color: rgba(244, 246, 248, 0.68);
  font-size: 0.92rem;
}

.site-footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.site-footer ul a {
  font-size: 0.92rem;
  color: rgba(244, 246, 248, 0.72);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: none;
}

.site-footer ul a:hover {
  color: #fff;
}

.social-row {
  display: flex;
  gap: 0.6rem;
  margin-top: var(--space-3);
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(244, 246, 248, 0.24);
  display: grid;
  place-items: center;
  transition: none;
}

.social-row a:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.site-footer__bottom {
  border-top: 1px solid rgba(244, 246, 248, 0.12);
  padding-block: var(--space-2);
  text-align: center;
  font-size: 0.85rem;
}

.site-footer__bottom a {
  color: var(--red);
  font-weight: 600;
}

.site-footer__bottom a:hover {
  text-decoration: underline;
}

/* ==========================
   BACK TO TOP
========================== */
.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: none;
  transition: none;
  z-index: 90;
}

@media (max-width: 480px) {
  .back-to-top {
    right: 12px;
    bottom: 12px;
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    width: 42px;
    height: 42px;
  }
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  background: var(--primary-light);
}

/* ==========================
   REVEAL ANIMATION (DISABLED - STATIC)
========================== */
.reveal,
.reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 1080px) {
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .projects-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .nav-primary__list,
  .header-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-primary.is-open .nav-primary__list {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    padding: var(--space-3) 1.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 1rem;
  }

  .hero__grid,
  .split,
  .split--reverse .split__media,
  .blog-featured {
    grid-template-columns: 1fr;
  }

  .split__media {
    order: -1;
  }

  .benefits,
  .stats,
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .section {
    padding-block: var(--space-5);
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .benefits,
  .stats {
    grid-template-columns: 1fr;
  }

  .projects-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

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

  .newsletter form {
    flex-direction: column;
  }

  .cta-banner {
    padding: var(--space-4);
  }

  .cta-banner__actions .btn {
    width: 100%;
  }

  .stat h3 {
    font-size: 1.9rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.5rem, var(--container-width));
  }

  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
}

/* ==========================
   REDUCED MOTION
========================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__figure img,
  .project-card img {
    will-change: auto;
  }
}

.form-alert {
    padding: 14px 16px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid;
}

.form-alert--success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.form-alert--error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.blog-filter-head {
    width: 100%;
    min-height: 72px;
    margin-bottom: 32px;
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.blog-filter-head__content {
    min-width: 0;
}

.blog-filter-label {
    display: block;
    margin-bottom: 5px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.blog-filter-head h2 {
    margin: 0;
    color: #0f172a;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
}

.blog-filter-head .btn {
    flex-shrink: 0;
}

.blog-card-wrapper {
    position: relative;
}

.blog-card-featured-label {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 5px 10px;
    border-radius: 6px;
    background: var(--primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {

    .blog-filter-head {
        min-height: auto;
        margin-bottom: 24px;
        padding: 8px 0;
        align-items: flex-start;
        gap: 16px;
    }

    .blog-filter-head h2 {
        font-size: 20px;
    }

    .blog-filter-head .btn {
        flex-shrink: 0;
        margin-top: 2px;
    }
}

@media (max-width: 520px) {

    .blog-filter-head {
        display: block;
    }

    .blog-filter-head .btn {
        display: inline-flex;
        margin-top: 14px;
    }
}

/* Blog Article Featured Image */

.article__figure {
    width: 100%;
    margin: 2rem 0 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.article__figure img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 650px;
    object-fit: contain;
    border-radius: 10px;
}


/* Images inside blog content */

.article__body img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 700px;
    object-fit: contain;
    margin: 2rem auto;
    border-radius: 8px;
}


/* Mobile */

@media (max-width: 768px) {

    .article__figure {
        margin: 1.5rem 0 2rem;
    }

    .article__figure img {
        max-width: 100%;
        max-height: 500px;
    }

    .article__body img {
        max-width: 100%;
        max-height: 500px;
        margin: 1.5rem auto;
    }

}
.footer_logo{
  border-radius: 4px;
}

.rounded-logo {
    border-radius: 50%;
    object-fit: cover; /* Ensures the image doesn't distort if it's not a perfect square */
    width: 48px;       /* Adjust size as needed */
    height: 48px;      /* Width and height must be equal for a perfect circle */
}

.project-card {
    position: relative;
    overflow: hidden;
}

.project-card__image {
    position: relative;
    overflow: hidden;
}

.project-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 14px;
    opacity: 0;
    transform: none;
    transition: none;
}

.project-card:hover .project-card__caption {
    opacity: 1;
    transform: none;
}

.stats-section {
    padding: 90px 0;
    background: #f7f9fc;
}

.stats-header {
    max-width: 720px;
    margin-bottom: 55px;
}

.stats-label {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary);
}

.stats-header h2 {
    margin: 0 0 18px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.12;
    font-weight: 700;
    color: #172033;
}

.stats-header h2 span {
    color: var(--primary);
}

.stats-header p {
    max-width: 650px;
    margin: 0;
    color: #687386;
    font-size: 16px;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #dfe5ec;
    border-bottom: 1px solid #dfe5ec;
}

.stat {
    position: relative;
    padding: 35px 30px;
}

.stat:not(:last-child) {
    border-right: 1px solid #dfe5ec;
}

.stat h3 {
    margin: 0 0 8px;
    font-size: 42px;
    line-height: 1;
    font-weight: 750;
    color: #172033;
}

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

.stat p {
    margin: 0;
    font-size: 15px;
    color: #687386;
}

@media (max-width: 768px) {
    .stats-section {
        padding: 65px 0;
    }

    .stats-header {
        margin-bottom: 35px;
    }

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

    .stat:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid #dfe5ec;
    }

    .stat {
        padding: 25px 10px;
    }
}

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

.hero-slider {
    width: 100%;
    background: #fff;
    padding: 30px 0;
    overflow: hidden;
}

.heroSwiper {
    width: 100%;
    overflow: hidden;
}

.heroSwiper .swiper-wrapper {
    width: 100%;
}

.heroSwiper .swiper-slide {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


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

.hero-slide {
    position: relative;

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

    min-height: 620px;

    margin: 0 auto;

    border-radius: 32px;
    overflow: hidden;

    isolation: isolate;
}


/* =========================================
   IMAGE CONTAINER
========================================= */

.hero-slide__image {
    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    border-radius: 32px;
}


/* =========================================
   IMAGE
========================================= */

.hero-slide__image img {
    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;
}


/* =========================================
   IMAGE OVERLAY
========================================= */

.hero-slide__overlay {
    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.62) 0%,
        rgba(0, 0, 0, 0.38) 42%,
        rgba(0, 0, 0, 0.10) 75%,
        rgba(0, 0, 0, 0.02) 100%
    );

    z-index: 2;
}


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

.hero-slide__content {
    position: relative;

    z-index: 5;

    min-height: 620px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    color: #fff;

    padding-top: 70px;
    padding-bottom: 70px;

    pointer-events: none;
}

.hero-slide__content .eyebrow {
    color: #fff;
}

.hero-slide__content h1 {
    color: #fff;

    max-width: 700px;
}

.hero-slide__content .lead {
    color: rgba(255, 255, 255, 0.92);

    max-width: 620px;
}


/* =========================================
   BUTTON CAN STILL BE CLICKED
========================================= */

.hero-slide__content a,
.hero-slide__content button {
    pointer-events: auto;
}


/* =========================================
   META
========================================= */

.hero-slide__content .hero__meta {
    color: #fff;
}

.hero-slide__content .hero__meta-item {
    color: #fff;
}

.hero-slide__content .hero__meta-item strong {
    color: #fff;
}


/* =========================================
   HERO BADGE
   LOCKED TO BOTTOM-RIGHT
========================================= */

.hero-slide__image .hero__badge {
    position: absolute !important;

    /* VERY IMPORTANT:
       Explicitly cancel any left positioning
       from existing .hero__badge CSS */
    top: auto !important;
    left: auto !important;

    /* Lock it to the right */
    right: 32px !important;

    /* Lock it to the bottom */
    bottom: 32px !important;

    z-index: 10;

    width: 330px;
    max-width: 330px;

    box-sizing: border-box;

    margin: 0 !important;

    padding: 18px 20px;

    background: var(--primary);

    color: white;

    border-radius: 18px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.16);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transform: none !important;
}


/* =========================================
   BADGE TITLE
========================================= */

.hero-slide__image .hero__badge strong {
    display: block;

    margin: 0 0 5px 0;

    font-size: 16px;
    line-height: 1.35;

    color: white;
}


/* =========================================
   BADGE TEXT
========================================= */

.hero-slide__image .hero__badge p {
    margin: 0;

    font-size: 13px;
    line-height: 1.5;

    color: white;
}


/* =========================================
   NO ARROWS
========================================= */

.heroSwiper .swiper-button-prev,
.heroSwiper .swiper-button-next {
    display: none !important;
}


/* =========================================
   NO DOTS
========================================= */

.heroSwiper .swiper-pagination {
    display: none !important;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .hero-slider {
        padding: 15px 0;
    }

    .hero__meta{
      opacity: 0;
    }

    .hero-slide {
        width: 94%;

        min-height: 600px;

        border-radius: 24px;
    }

    .hero-slide__image {
        border-radius: 24px;
    }

    .hero-slide__content {
        min-height: 600px;

        padding: 55px 25px 120px;
    }

    .hero-slide__overlay {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.48) 0%,
            rgba(0, 0, 0, 0.20) 45%,
            rgba(0, 0, 0, 0.55) 100%
        );
    }


    /* =====================================
       MOBILE BADGE
       STILL BOTTOM-RIGHT
    ===================================== */

    .hero-slide__image .hero__badge {
        position: absolute !important;

        top: auto !important;
        left: auto !important;

        right: 20px !important;
        bottom: 20px !important;

        width: 280px;
        max-width: calc(100% - 40px);

        margin: 0 !important;

        padding: 15px 17px;

        border-radius: 16px;

        transform: none !important;
    }

    .hero-slide__image .hero__badge strong {
        font-size: 15px;
    }

    .hero-slide__image .hero__badge p {
        font-size: 12px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .hero-slide {
        width: 94%;

        min-height: 560px;

        border-radius: 22px;
    }

    .hero__meta{
      opacity: 0;
    }


    .hero-slide__image {
        border-radius: 22px;
    }

    .hero-slide__content {
        min-height: 560px;

        padding: 45px 20px 120px;
    }

    .hero-slide__image .hero__badge {
        right: 15px !important;
        bottom: 15px !important;

        width: 100%;
        /* max-width: calc(100% - 30px); */

        padding: 14px 15px;

        border-radius: 14px;
    }
}

/* =========================================================
   MOBILE NAVIGATION — FINAL VERSION
========================================================= */

@media (max-width: 960px) {

    /* -----------------------------------------------------
       LOCK PAGE WHEN MENU IS OPEN
    ----------------------------------------------------- */

    body.menu-open {
        overflow: hidden !important;
        height: 100vh !important;
        position: fixed !important;
        width: 100% !important;
    }


    /* -----------------------------------------------------
       REMOVE THE OLD MOBILE NAV BEHAVIOUR
    ----------------------------------------------------- */

    .nav-primary {
        position: absolute !important;

        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        bottom: auto !important;

        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;

        margin: 0 !important;
        padding: 0 !important;

        display: block !important;

        background: #ffffff !important;

        z-index: 9999 !important;

        overflow: hidden !important;

        /*
         * CLOSED
         */
        transform: none !important;

        opacity: 0 !important;

        visibility: hidden !important;

        pointer-events: none !important;

        transition: none !important;
    }


    /* -----------------------------------------------------
       OPEN
    ----------------------------------------------------- */

    .nav-primary.is-open {
        transform: translateX(0) !important;

        opacity: 1 !important;

        visibility: visible !important;

        pointer-events: auto !important;

        transition: none !important;
    }


    /* -----------------------------------------------------
       MENU LIST
    ----------------------------------------------------- */

    .nav-primary__list {
        position: absolute !important;

        top: 0 !important;
        left: 0 !important;
        right: 0 !important;

        width: 100% !important;
        max-width: 100% !important;

        height: 100% !important;

        margin: 0 !important;

        padding:
            82px
            24px
            30px !important;

        display: flex !important;

        flex-direction: column !important;

        align-items: stretch !important;

        justify-content: flex-start !important;

        gap: 0 !important;

        background: #ffffff !important;

        overflow: hidden !important;

        box-sizing: border-box !important;
    }


    /* -----------------------------------------------------
       MENU ITEMS
    ----------------------------------------------------- */

    .nav-primary__list li {
        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        flex: 0 0 auto !important;
    }


    /* -----------------------------------------------------
       LINKS
    ----------------------------------------------------- */

    .nav-primary__list a {
        position: relative !important;

        display: flex !important;

        align-items: center !important;

        width: 100% !important;

        min-height: 48px !important;

        margin: 0 !important;

        padding: 5px 0 !important;

        color: #172033 !important;

        font-family:
            "Poppins",
            "Inter",
            sans-serif !important;

        font-size: 18px !important;

        font-weight: 600 !important;

        line-height: 1.2 !important;

        text-decoration: none !important;

        box-sizing: border-box !important;

        transition: none !important;
    }


    /* Remove old underline animation */
    .nav-primary__list a::after {
        display: none !important;
        content: none !important;
    }


    /* -----------------------------------------------------
       HOVER
    ----------------------------------------------------- */

    .nav-primary__list a:hover {
        color: var(--primary) !important;

        padding-left: 0 !important;
    }


    /* -----------------------------------------------------
       ACTIVE PAGE
    ----------------------------------------------------- */

    .nav-primary__list a[aria-current="page"] {
        color: var(--primary) !important;
    }


    .nav-primary__list a[aria-current="page"]::before {
        content: "" !important;

        position: absolute !important;

        left: -13px !important;

        top: 50% !important;

        width: 4px !important;

        height: 20px !important;

        border-radius: 20px !important;

        background: var(--primary) !important;

        transform: translateY(-50%) !important;
    }


    /* -----------------------------------------------------
       TOP DIVIDER
    ----------------------------------------------------- */

    .nav-primary::before {
        content: "" !important;

        position: absolute !important;

        top: 64px !important;

        left: 24px !important;

        right: 24px !important;

        width: auto !important;

        height: 1px !important;

        background: #e8edf2 !important;

        z-index: 2 !important;

        pointer-events: none !important;
    }


    /* -----------------------------------------------------
       HEADER ACTIONS
    ----------------------------------------------------- */

    .header-actions {
        position: relative !important;

        z-index: 10001 !important;

        display: flex !important;

        align-items: center !important;

        gap: 8px !important;
    }


    /* -----------------------------------------------------
       HAMBURGER
    ----------------------------------------------------- */

    .nav-toggle {
        position: relative !important;

        z-index: 10002 !important;

        display: flex !important;

        align-items: center !important;

        justify-content: center !important;

        flex-direction: column !important;

        width: 42px !important;

        height: 42px !important;

        padding: 0 !important;

        margin: 0 !important;

        gap: 5px !important;

        background: transparent !important;

        border: 0 !important;

        border-radius: 8px !important;

        color: var(--primary) !important;

        cursor: pointer !important;

        -webkit-tap-highlight-color: transparent !important;
    }


    /* -----------------------------------------------------
       HAMBURGER LINES
    ----------------------------------------------------- */

    .nav-toggle span {
        display: block !important;

        width: 22px !important;

        height: 2px !important;

        margin: 0 !important;

        padding: 0 !important;

        background: currentColor !important;

        border-radius: 10px !important;

        transform-origin: center !important;

        transition: none !important;
    }


    /* -----------------------------------------------------
       HAMBURGER → X
    ----------------------------------------------------- */

    .nav-toggle.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg) !important;
    }

    .nav-toggle.is-active span:nth-child(2) {
        opacity: 0 !important;
    }

    .nav-toggle.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg) !important;
    }


    /* -----------------------------------------------------
       ALSO SUPPORT ARIA STATE
    ----------------------------------------------------- */

    .nav-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg) !important;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0 !important;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg) !important;
    }


    /* -----------------------------------------------------
       HIDE GET QUOTE WHEN MENU IS OPEN
    ----------------------------------------------------- */

    body.menu-open .header-actions .btn-primary {
        opacity: 0 !important;

        visibility: hidden !important;

        pointer-events: none !important;
    }


    /* -----------------------------------------------------
       SMALL FOOTER LABEL
    ----------------------------------------------------- */

    .nav-primary::after {
        content: "Best Packers Trichy" !important;

        position: absolute !important;

        left: 24px !important;

        bottom: 18px !important;

        font-family: "Inter", sans-serif !important;

        font-size: 10px !important;

        font-weight: 500 !important;

        letter-spacing: 0.03em !important;

        color: #a1a9b5 !important;

        pointer-events: none !important;
    }
}


/* =========================================================
   MOBILE — 480PX
========================================================= */

@media (max-width: 480px) {

    .nav-primary__list {
        padding:
            76px
            22px
            24px !important;
    }


    .nav-primary__list a {
        min-height: 45px !important;

        font-size: 17px !important;
    }


    .nav-primary::before {
        top: 60px !important;

        left: 22px !important;

        right: 22px !important;
    }


    .nav-primary::after {
        left: 22px !important;

        bottom: 15px !important;
    }


    .nav-primary__list a[aria-current="page"]::before {
        left: -10px !important;

        width: 3px !important;

        height: 19px !important;
    }
}


/* =========================================================
   VERY SHORT MOBILE SCREENS
========================================================= */

@media (max-width: 480px) and (max-height: 650px) {

    .nav-primary__list {
        padding-top: 70px !important;

        padding-bottom: 15px !important;
    }


    .nav-primary__list a {
        min-height: 40px !important;

        font-size: 16px !important;
    }


    .nav-primary::before {
        top: 56px !important;
    }


    .nav-primary::after {
        display: none !important;
    }
}


/* =========================================================
   DESKTOP RESET
========================================================= */

@media (min-width: 961px) {

    .nav-primary {
        position: static !important;

        width: auto !important;

        height: auto !important;

        margin: 0 !important;

        padding: 0 !important;

        display: flex !important;

        transform: none !important;

        opacity: 1 !important;

        visibility: visible !important;

        pointer-events: auto !important;

        background: transparent !important;

        overflow: visible !important;

        z-index: auto !important;
    }


    .nav-primary__list {
        position: static !important;

        width: auto !important;

        height: auto !important;

        max-width: none !important;

        padding: 0 !important;

        display: flex !important;

        flex-direction: row !important;

        align-items: center !important;

        gap: var(--space-3) !important;

        background: transparent !important;

        overflow: visible !important;
    }


    .nav-primary__list a {
        min-height: 0 !important;

        padding-block: 0.35rem !important;

        font-size: 0.95rem !important;
    }


    .nav-toggle {
        display: none !important;
    }


    .nav-primary::before,
    .nav-primary::after {
        display: none !important;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .nav-primary {
        transition: none !important;
    }

    .nav-primary__list a {
        transition: none !important;
    }

    .nav-toggle span {
        transition: none !important;
    }
}

/* =========================================================
   MOBILE MENU - LOGO HEADER + COPYRIGHT FOOTER
========================================================= */

.mobile-menu-header,
.mobile-menu-footer {
    display: none;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 960px) {

    /* Mobile menu header */
    .mobile-menu-header {
        display: flex !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 76px !important;
        padding: 0 24px !important;
        align-items: center !important;
        border-bottom: 1px solid #e8edf2 !important;
        background: #ffffff !important;
        z-index: 10 !important;
        box-sizing: border-box !important;
    }

    .mobile-menu-brand {
        display: inline-flex !important;
        align-items: center !important;
        gap: 10px !important;
        text-decoration: none !important;
        color: #172033 !important;
    }

    .mobile-menu-brand img {
        display: block !important;
        width: 42px !important;
        height: 42px !important;
        object-fit: contain !important;
        flex: 0 0 42px !important;
    }

    .mobile-menu-brand span {
        display: flex !important;
        flex-direction: column !important;
        font-family: "Poppins", sans-serif !important;
        font-size: 17px !important;
        font-weight: 700 !important;
        line-height: 1.15 !important;
        color: #172033 !important;
        white-space: nowrap !important;
    }

    .mobile-menu-brand small {
        display: block !important;
        margin-top: 3px !important;
        font-family: "Inter", sans-serif !important;
        font-size: 9px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
        color: #7b8492 !important;
        letter-spacing: 0.01em !important;
    }


    /* Navigation starts below logo */
    .nav-primary__list {
        padding-top: 94px !important;
        padding-bottom: 95px !important;
    }


    /* Mobile menu footer */
    .mobile-menu-footer {
        display: flex !important;
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        min-height: 68px !important;
        padding: 12px 24px !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        border-top: 1px solid #e8edf2 !important;
        background: #ffffff !important;
        box-sizing: border-box !important;
        z-index: 10 !important;
    }

    .mobile-menu-footer p {
        margin: 0 !important;
        padding: 0 !important;
        font-family: "Inter", sans-serif !important;
        font-size: 10px !important;
        font-weight: 500 !important;
        line-height: 1.5 !important;
        color: #8a93a1 !important;
    }


    /* Remove the old pseudo header/footer */
    .nav-primary::before {
        display: none !important;
        content: none !important;
    }

    .nav-primary::after {
        display: none !important;
        content: none !important;
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .mobile-menu-header {
        height: 70px !important;
        padding-left: 22px !important;
        padding-right: 22px !important;
    }

    .mobile-menu-brand img {
        width: 38px !important;
        height: 38px !important;
        flex-basis: 38px !important;
    }

    .mobile-menu-brand span {
        font-size: 16px !important;
    }

    .mobile-menu-brand small {
        font-size: 8px !important;
    }

    .nav-primary__list {
        padding-top: 86px !important;
        padding-left: 22px !important;
        padding-right: 22px !important;
        padding-bottom: 88px !important;
    }

    .mobile-menu-footer {
        min-height: 62px !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .mobile-menu-footer p {
        font-size: 9px !important;
    }
}


/* =========================================================
   VERY SHORT MOBILE SCREENS
========================================================= */

@media (max-width: 480px) and (max-height: 650px) {

    .mobile-menu-header {
        height: 64px !important;
    }

    .mobile-menu-brand img {
        width: 34px !important;
        height: 34px !important;
        flex-basis: 34px !important;
    }

    .mobile-menu-brand span {
        font-size: 15px !important;
    }

    .mobile-menu-brand small {
        display: none !important;
    }

    .nav-primary__list {
        padding-top: 78px !important;
        padding-bottom: 78px !important;
    }

    .mobile-menu-footer {
        min-height: 54px !important;
    }
}


/* =========================================================
   DESKTOP - HIDE MOBILE-ONLY ELEMENTS
========================================================= */

@media (min-width: 961px) {

    .mobile-menu-header,
    .mobile-menu-footer {
        display: none !important;
    }

}


/* =========================================================
   FOOTER BOTTOM — TECHFEENIX CREDIT
========================================================= */

.site-footer__bottom {
    text-align: center;
}

.site-footer__bottom p {
    font-size: x-small;
    margin: 0;
}

.site-footer__bottom .techfeenix-credit {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: #e41e2b !important;

    text-decoration: none !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;

    background: transparent !important;
    outline: none !important;
}

/* Keep TechFeenix red in every state */
.site-footer__bottom .techfeenix-credit:hover,
.site-footer__bottom .techfeenix-credit:focus,
.site-footer__bottom .techfeenix-credit:focus-visible,
.site-footer__bottom .techfeenix-credit:active,
.site-footer__bottom .techfeenix-credit:visited {
    color: #e41e2b !important;

    text-decoration: none !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;

    outline: none !important;
}

/* TechFeenix text */
.site-footer__bottom .techfeenix-credit span {
    color: #e41e2b !important;
    text-decoration: none !important;
}

/* TechFeenix logo */
.site-footer__bottom .techfeenix-credit img {
    width: 24px;
    height: 24px;

    display: inline-block;
    object-fit: contain;

    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Prevent pseudo-elements from creating an underline */
.site-footer__bottom .techfeenix-credit::before,
.site-footer__bottom .techfeenix-credit::after {
    content: none !important;
    display: none !important;
}


/* =========================================================
   FLOATING WHATSAPP + CALL BUTTONS (right side, above back-to-top)

   Set these 3 values to match your .back-to-top button in style.css:
   --btt-size   : its width/height
   --btt-right  : its "right" value
   --btt-bottom : its "bottom" value
   ========================================================= */

:root {
    --btt-size: 44px;
    --btt-right: 20px;
    --btt-bottom: 20px;

    --float-size: calc(var(--btt-size) + 4px);   /* a few px bigger than back-to-top */
    --float-gap: 12px;
}

.float-actions {
    position: fixed;
    /* keeps the centres lined up with the back-to-top button */
    right: calc(var(--btt-right) - 2px);
    /* sits just above the back-to-top button */
    bottom: calc(var(--btt-bottom) + var(--btt-size) + var(--float-gap));
    display: flex;
    flex-direction: column;
    gap: var(--float-gap);
    z-index: 999;
}

.float-btn {
    position: relative;
    width: var(--float-size);
    height: var(--float-size);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-btn:hover,
.float-btn:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.float-btn svg {
    width: 22px;
    height: 22px;
    display: block;
    position: relative;
    z-index: 1;
}

.float-btn--whatsapp { background: #25d366; }
.float-btn--call     { background: #0b5ed7; } /* your brand colour here */

/* WhatsApp wave: one soft ring, subtle */
.float-btn--whatsapp::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25d366;
    opacity: 0.35;
    animation: float-wave 2.8s ease-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes float-wave {
    0%   { transform: scale(1);   opacity: 0.35; }
    100% { transform: scale(1.4); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .float-btn--whatsapp::after { animation: none; opacity: 0; }
    .float-btn { transition: none; }
}

/* Mobile: if your back-to-top is different on mobile, change these */
@media (max-width: 768px) {
    :root {
        --btt-size: 40px;
        --btt-right: 14px;
        --btt-bottom: 14px;
        --float-gap: 10px;
    }
    .float-btn svg { width: 20px; height: 20px; }
}

.stats-header {
    width: 100%;
    max-width: none;
    box-sizing: border-box;

    display: flex;
    align-items: center;

    gap: 60px;
    padding: 0;
    margin: 0 0 70px 0;
}


/* ==============================
   CONTENT
============================== */

.stats-header__content {
    width: 50%;
    flex: 1 1 50%;
    box-sizing: border-box;
}

.stats-header .stats-label {
    display: block;
    margin-bottom: 18px;
}

.stats-header h2 {
    margin: 0 0 25px 0;
    font-size: clamp(38px, 4.5vw, 64px);
    line-height: 1.08;
}

.stats-header h2 span {
    display: inline;
}

.stats-header p {
    width: 100%;
    max-width: 680px;
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
}


/* ==============================
   IMAGE
============================== */

.stats-header__image {
    width: 50%;
    flex: 1 1 50%;

    height: 450px;

    overflow: hidden;
    border-radius: 20px;

    box-sizing: border-box;
}

.stats-header__image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;
}


/* ==============================
   TABLET
============================== */

@media (max-width: 900px) {

    .stats-header {
        gap: 35px;
    }

    .stats-header__content,
    .stats-header__image {
        width: 50%;
        flex-basis: 50%;
    }

    .stats-header__image {
        height: 380px;
    }

    .stats-header h2 {
        font-size: 42px;
    }

}


/* ==============================
   MOBILE
============================== */

@media (max-width: 700px) {

    .stats-header {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 30px;
        margin-bottom: 50px;
    }

    .stats-header__content {
        width: 100%;
        flex: none;
    }

    .stats-header__image {
        width: 100%;
        flex: none;
        height: 300px;

        border-radius: 16px;
    }

    .stats-header h2 {
        font-size: 34px;
        line-height: 1.12;
    }

    .stats-header p {
        width: 100%;
        max-width: none;
        font-size: 15px;
        line-height: 1.7;
    }

}


/* ==============================
   SMALL MOBILE
============================== */

@media (max-width: 400px) {

    .stats-header {
        gap: 25px;
    }

    .stats-header h2 {
        font-size: 30px;
    }

    .stats-header__image {
        height: 240px;
    }

}