
/* =========================================
   NOVABIZ - PROFESSIONAL WEBSITE
   style.css
========================================= */

/* ---------- RESET ---------- */

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

:root {
  --primary: #14243a;
  --primary-light: #1e3552;
  --accent: #d5ad72;
  --accent-dark: #b98b4d;
  --white: #ffffff;
  --dark: #14243a;
  --text: #5e6876;
  --light-bg: #f7f8fa;
  --border: #e5e8ed;
  --shadow: 0 15px 45px rgba(20, 36, 58, 0.08);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  cursor: pointer;
}

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

ul {
  list-style: none;
}

/* ---------- COMMON ---------- */

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

.section-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.tag-line {
  width: 32px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

h1,
h2,
h3,
h4 {
  color: var(--dark);
  line-height: 1.2;
  font-weight: 800;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -1.2px;
}

h2 span,
h1 span {
  color: var(--accent-dark);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 15px 25px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: 1px solid transparent;
  transition: var(--transition);
}

.btn span {
  font-size: 18px;
  line-height: 1;
}

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

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
}

.btn-outline {
  border-color: var(--border);
  color: var(--dark);
  background: var(--white);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

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

.btn-light:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

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

.header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(20, 36, 58, 0.07);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 5px 25px rgba(20, 36, 58, 0.08);
}

.nav-container {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.logo {
  font-size: 25px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -1px;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-link {
  color: #4e5968;
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  padding: 8px 0;
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--accent-dark);
}

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

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--primary);
  color: var(--white);
  padding: 13px 19px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  transition: var(--transition);
}

.nav-btn:hover {
  background: var(--accent-dark);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--primary);
  margin: 5px 0;
  transition: var(--transition);
}

/* ---------- HERO ---------- */

.hero {
  background: var(--light-bg);
  padding: 100px 0 115px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.hero-content {
  max-width: 550px;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 65px);
  letter-spacing: -2px;
  margin-bottom: 25px;
}

.hero-description {
  max-width: 480px;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 35px;
  margin-top: 55px;
}

.stat h3 {
  font-size: 28px;
  letter-spacing: -1px;
}

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

.stat p {
  font-size: 10px;
  margin-top: 4px;
}

/* Hero visual */

.hero-visual {
  min-height: 440px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-circle {
  position: absolute;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(213, 173, 114, 0.35);
  border-radius: 50%;
}

.hero-circle::before {
  content: "";
  position: absolute;
  inset: 35px;
  border: 1px dashed rgba(213, 173, 114, 0.3);
  border-radius: 50%;
}

.hero-card {
  position: relative;
  z-index: 2;
  width: min(100%, 420px);
  background: var(--primary);
  border-radius: 10px;
  padding: 22px;
  box-shadow: 0 25px 70px rgba(20, 36, 58, 0.25);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.card-dots {
  display: flex;
  gap: 6px;
}

.card-dots span {
  width: 7px;
  height: 7px;
  background: #d5ad72;
  border-radius: 50%;
}

.card-label {
  color: #aab8c8;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
}

.chart-area {
  padding-top: 28px;
}

.chart-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.chart-heading small {
  color: #aab8c8;
  font-size: 11px;
}

.chart-heading h3 {
  color: var(--white);
  font-size: 32px;
  margin-top: 5px;
}

.growth-badge {
  background: rgba(213, 173, 114, 0.15);
  color: var(--accent);
  padding: 7px 10px;
  border-radius: 4px;
  font-size: 10px;
}

.chart {
  height: 175px;
  margin-top: 25px;
  position: relative;
}

.chart-grid {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 43px,
    rgba(255, 255, 255, 0.08) 44px
  );
}

.chart svg {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.chart-months {
  display: flex;
  justify-content: space-between;
  color: #8e9caf;
  font-size: 10px;
  padding-top: 8px;
}

.floating-card {
  position: absolute;
  z-index: 3;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-card {
  bottom: 12px;
  left: -20px;
}

.floating-icon {
  background: #edf7ef;
  color: #4c9b65;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.floating-card strong {
  font-size: 11px;
  color: var(--dark);
  display: block;
}

.floating-card small {
  font-size: 9px;
  color: var(--text);
}

.badge-card {
  top: 20px;
  right: -5px;
  gap: 10px;
}

.badge-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--accent);
  font-size: 19px;
}

/* ---------- ABOUT ---------- */

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 90px;
}

.about-visual {
  position: relative;
  padding: 15px 25px 25px 0;
}

.about-image {
  height: 440px;
  background: var(--primary);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(213, 173, 114, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(213, 173, 114, 0.09) 1px, transparent 1px);
  background-size: 35px 35px;
  transform: rotate(-8deg) scale(1.4);
}

.about-image::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(213, 173, 114, 0.35);
  border-radius: 50%;
}

.about-image::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px dashed rgba(213, 173, 114, 0.35);
  border-radius: 50%;
}

.about-image-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.about-symbol {
  display: block;
  font-size: 100px;
  line-height: 1;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 25px;
}

.about-image-content h3 {
  color: var(--white);
  font-size: 25px;
  line-height: 1.4;
}

.experience-card {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--accent);
  padding: 20px 25px;
  border-radius: 6px;
}

.experience-card strong {
  font-size: 38px;
  color: var(--primary);
  line-height: 1;
}

.experience-card span {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--primary);
}

.about-content h2 {
  margin-bottom: 25px;
}

.about-content > p {
  font-size: 14px;
  margin-bottom: 15px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 28px 0 35px;
}

.about-features div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(213, 173, 114, 0.15);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
}

.about-features p {
  font-size: 11px;
  font-weight: 600;
  color: var(--dark);
}

/* ---------- SERVICES ---------- */

.services {
  background: var(--light-bg);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 55px;
}

.section-heading > p {
  max-width: 340px;
  font-size: 13px;
  line-height: 1.9;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  background: var(--white);
  padding: 32px 25px;
  border: 1px solid var(--border);
  border-radius: 6px;
  position: relative;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.service-card.featured {
  background: var(--primary);
}

.service-card.featured h3,
.service-card.featured p {
  color: var(--white);
}

.service-card.featured .service-number {
  color: var(--accent);
}

.service-number {
  color: #c8ced6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.service-icon {
  width: 58px;
  height: 58px;
  background: rgba(213, 173, 114, 0.13);
  color: var(--accent-dark);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 27px;
  margin: 30px 0 25px;
}

.service-card h3 {
  font-size: 19px;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 12px;
  line-height: 1.9;
  margin-bottom: 25px;
}

.service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 700;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.featured .service-link {
  border-color: rgba(255, 255, 255, 0.15);
}

.service-link span {
  font-size: 18px;
}

/* ---------- WHY US ---------- */

.why-us {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.why-content h2 {
  margin-bottom: 25px;
}

.why-content > p {
  font-size: 14px;
  margin-bottom: 35px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.why-item .check-icon {
  margin-top: 2px;
}

.why-item h4 {
  font-size: 14px;
  margin-bottom: 5px;
}

.why-item p {
  font-size: 12px;
}

.why-box {
  background: var(--primary);
  padding: 15px;
  border-radius: 8px;
}

.why-box-inner {
  border: 1px solid rgba(213, 173, 114, 0.35);
  border-radius: 4px;
  padding: 50px 45px;
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 75px;
  line-height: 1;
  color: var(--accent);
}

.why-box h3 {
  color: var(--white);
  font-size: 27px;
  line-height: 1.5;
  margin: 15px 0 20px;
}

.why-box p {
  font-size: 13px;
  color: #aab8c8;
}

.quote-line {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 30px 0 15px;
}

.quote-author {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

/* ---------- PORTFOLIO ---------- */

.portfolio {
  background: var(--light-bg);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.project-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.project-image {
  height: 240px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.project-one {
  background: #d9e0e8;
}

.project-two {
  background: #ded9d0;
}

.project-three {
  background: #cfd9d5;
}

.project-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(20, 36, 58, 0.8);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: var(--transition);
}

.project-overlay span {
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--accent);
  padding: 12px 18px;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-visual {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 35px;
}

.mini-window {
  width: 100%;
  max-width: 250px;
  height: 145px;
  background: var(--white);
  border-radius: 5px;
  box-shadow: 0 15px 30px rgba(20, 36, 58, 0.15);
  overflow: hidden;
}

.mini-top {
  height: 22px;
  background: var(--primary);
}

.mini-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mini-body div {
  height: 12px;
  width: 75%;
  background: #d5ad72;
  border-radius: 2px;
}

.mini-body div:nth-child(2) {
  width: 90%;
  background: #e8edf2;
}

.mini-body div:nth-child(3) {
  width: 60%;
  background: #e8edf2;
}

.phone-mockup {
  width: 110px;
  height: 190px;
  background: var(--primary);
  border: 5px solid var(--primary);
  border-radius: 18px;
  box-shadow: 0 15px 30px rgba(20, 36, 58, 0.2);
  padding: 8px;
}

.phone-notch {
  width: 38px;
  height: 5px;
  background: #7d8792;
  border-radius: 10px;
  margin: 0 auto 10px;
}

.phone-screen {
  height: 150px;
  background: #f7f8fa;
  padding: 12px;
  border-radius: 8px;
}

.phone-header {
  height: 12px;
  background: var(--accent);
  margin-bottom: 20px;
  border-radius: 3px;
}

.phone-block {
  height: 50px;
  background: #d4dce4;
  border-radius: 4px;
  margin-bottom: 12px;
}

.phone-block.small {
  height: 30px;
  background: #d5ad72;
}

.dashboard-mockup {
  width: 100%;
  max-width: 270px;
  height: 155px;
  background: var(--white);
  border-radius: 5px;
  padding: 18px;
  box-shadow: 0 15px 30px rgba(20, 36, 58, 0.12);
}

.dashboard-top {
  width: 60%;
  height: 15px;
  background: var(--primary);
  border-radius: 3px;
  margin-bottom: 30px;
}

.dashboard-bars {
  display: flex;
  align-items: flex-end;
  height: 75px;
  gap: 12px;
}

.dashboard-bars span {
  flex: 1;
  background: var(--accent);
  border-radius: 3px 3px 0 0;
}

.dashboard-bars span:nth-child(1) {
  height: 35%;
}

.dashboard-bars span:nth-child(2) {
  height: 60%;
}

.dashboard-bars span:nth-child(3) {
  height: 45%;
}

.dashboard-bars span:nth-child(4) {
  height: 90%;
}

.project-info {
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.project-category {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-dark);
}

.project-info h3 {
  font-size: 18px;
  margin-top: 6px;
}

.project-info > a {
  background: var(--light-bg);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  font-size: 20px;
  transition: var(--transition);
}

.project-info > a:hover {
  background: var(--accent);
  color: var(--white);
}

/* ---------- CTA ---------- */

.cta-section {
  background: var(--light-bg);
  padding: 0 0 110px;
}

.cta-box {
  background: var(--primary);
  border-radius: 8px;
  padding: 60px 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  position: relative;
  overflow: hidden;
}

.cta-box::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(213, 173, 114, 0.2);
  border-radius: 50%;
  right: -120px;
  top: -100px;
}

.cta-box .section-tag {
  color: var(--accent);
}

.cta-box h2 {
  color: var(--white);
  font-size: clamp(28px, 4vw, 42px);
}

.cta-box h2 span {
  color: var(--accent);
}

/* ---------- CONTACT ---------- */

.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-icon {
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  background: rgba(213, 173, 114, 0.15);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  border-radius: 5px;
  font-size: 20px;
}

.contact-info-item span {
  display: block;
  font-size: 10px;
  color: var(--text);
  margin-bottom: 4px;
}

.contact-info-item a,
.contact-info-item p {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}

.contact-info-item a:hover {
  color: var(--accent-dark);
}

.contact-socials {
  border-top: 1px solid var(--border);
  padding-top: 25px;
  margin-top: 10px;
}

.contact-socials > p {
  font-size: 11px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
}

.contact-socials > div {
  display: flex;
  gap: 10px;
}

.contact-socials a {
  width: 35px;
  height: 35px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  transition: var(--transition);
}

.contact-socials a:hover {
  background: var(--primary);
  color: var(--white);
}

.contact-form {
  background: var(--light-bg);
  padding: 35px;
  border-radius: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label {
  color: var(--dark);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--dark);
  border-radius: 4px;
  padding: 13px 15px;
  font-size: 12px;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(213, 173, 114, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a6adb6;
}

.form-submit {
  border: none;
}

.form-status {
  font-size: 12px;
  margin-top: 15px;
  font-weight: 600;
}

.form-status.success {
  color: #36804e;
}

.form-status.error {
  color: #b23b3b;
}

/* ---------- FOOTER ---------- */

.footer {
  background: var(--primary);
  color: #aab8c8;
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  gap: 45px;
  padding-bottom: 55px;
}

.footer .logo {
  color: var(--white);
  display: inline-block;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 12px;
  line-height: 1.9;
  max-width: 270px;
  margin-bottom: 25px;
}

.footer-link {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links h4 {
  color: var(--white);
  font-size: 13px;
  margin-bottom: 10px;
}

.footer-links a,
.footer-links p {
  font-size: 12px;
  line-height: 1.8;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 11px;
}

.back-to-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 5px;
  background: var(--accent);
  color: var(--primary);
  font-size: 20px;
  font-weight: 800;
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

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

/* ---------- ANIMATIONS ---------- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1100px) {
  .hero-grid,
  .about-grid,
  .why-grid {
    gap: 50px;
  }

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

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

@media (max-width: 850px) {
  .section {
    padding: 80px 0;
  }

  .nav-container {
    height: 75px;
  }

  .menu-toggle {
    display: block;
    order: 2;
  }

  .nav-menu {
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 25px 5%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-link::after {
    display: none;
  }

  .nav-btn {
    display: none;
  }

  .hero {
    padding: 75px 0 90px;
  }

  .hero-grid,
  .about-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero-content,
  .about-content {
    max-width: 100%;
  }

  .hero-visual {
    min-height: 400px;
  }

  .about-visual {
    max-width: 520px;
    width: 100%;
  }

  .about-grid {
    gap: 55px;
  }

  .why-grid {
    gap: 50px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 35px;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
}

@media (max-width: 550px) {
  .container {
    width: 90%;
  }

  .section {
    padding: 65px 0;
  }

  .hero h1 {
    font-size: 42px;
    letter-spacing: -1.5px;
  }

  .hero-stats {
    gap: 20px;
    justify-content: space-between;
  }

  .stat h3 {
    font-size: 24px;
  }

  .hero-visual {
    min-height: 320px;
  }

  .hero-circle {
    width: 300px;
    height: 300px;
  }

  .hero-card {
    padding: 15px;
  }

  .chart {
    height: 125px;
  }

  .client-card {
    left: -8px;
    bottom: 0;
  }

  .badge-card {
    right: -5px;
    top: 0;
  }

  .floating-card {
    padding: 10px;
  }

  .floating-card strong {
    font-size: 9px;
  }

  .floating-card small {
    font-size: 8px;
  }

  .floating-icon,
  .badge-icon {
    width: 30px;
    height: 30px;
  }

  .about-image {
    height: 340px;
  }

  .about-symbol {
    font-size: 75px;
  }

  .experience-card {
    padding: 15px;
  }

  .experience-card strong {
    font-size: 30px;
  }

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

  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 28px;
  }

  .why-box-inner {
    padding: 35px 25px;
  }

  .why-box h3 {
    font-size: 23px;
  }

  .cta-box {
    padding: 40px 25px;
    flex-direction: column;
    align-items: flex-start;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 25px 20px;
  }

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

  .footer-bottom {
    flex-direction: column;
  }

  .back-to-top {
    right: 15px;
    bottom: 15px;
  }
}

/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

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