/* ============================================================
   Vox Digital — Full-Service Marketing Agency Template
   Framework-free HTML5 / CSS3 | Syne + Space Grotesk
   ============================================================ */

/* ——— CSS Custom Properties ——— */
:root {
  --midnight: #0F0E2E;
  --pink: #FF3D6A;
  --cyan: #00D4FF;
  --lavender: #7C6CF0;
  --bg: #F4F6FC;
  --white: #FFFFFF;
  --gray: #6B7280;
  --gray-light: #9CA3AF;
  --gray-dark: #4B5563;
  --dark: #1F2937;
  --border: #E5E7EB;
  --shadow: 0 4px 24px rgba(15, 14, 46, 0.08);
  --shadow-lg: 0 12px 48px rgba(15, 14, 46, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --max-width: 1220px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark);
  background: var(--bg);
  overflow-x: hidden;
}

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

a {
  color: var(--lavender);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--pink);
}

ul {
  list-style: none;
}

/* ——— Container ——— */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ——— Typography ——— */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--midnight);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 600; }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: #e82d5a;
  border-color: #e82d5a;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 61, 106, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--midnight);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--lavender);
  border-color: var(--lavender);
}

.btn-outline:hover {
  background: var(--lavender);
  color: var(--white);
  border-color: var(--lavender);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* ——— Header / Nav ——— */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--midnight);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background var(--transition);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.nav-logo:hover {
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
  padding: 4px 0;
}

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

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

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

.nav-link.active {
  color: var(--white);
}

.nav-cta {
  background: var(--pink);
  color: var(--white);
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  border: 2px solid var(--pink);
  transition: all var(--transition);
}

.nav-cta:hover {
  background: #e82d5a;
  border-color: #e82d5a;
  color: var(--white);
  transform: translateY(-1px);
}

/* ——— Nav Toggle (Mobile) ——— */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.hero-bg .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 14, 46, 0.85) 0%,
    rgba(255, 61, 106, 0.55) 50%,
    rgba(15, 14, 46, 0.8) 100%
  );
  z-index: 1;
  animation: heroGradient 12s ease-in-out infinite alternate;
}

@keyframes heroGradient {
  0% {
    background: linear-gradient(
      135deg,
      rgba(15, 14, 46, 0.9) 0%,
      rgba(255, 61, 106, 0.45) 50%,
      rgba(15, 14, 46, 0.85) 100%
    );
  }
  50% {
    background: linear-gradient(
      225deg,
      rgba(15, 14, 46, 0.8) 0%,
      rgba(0, 212, 255, 0.35) 50%,
      rgba(15, 14, 46, 0.85) 100%
    );
  }
  100% {
    background: linear-gradient(
      135deg,
      rgba(15, 14, 46, 0.85) 0%,
      rgba(124, 108, 240, 0.5) 50%,
      rgba(15, 14, 46, 0.9) 100%
    );
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--cyan);
  margin-bottom: 20px;
  padding: 6px 16px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 50px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 8px;
}

.hero h1 .typing-text {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid var(--pink);
  animation: typing 3.5s steps(30, end) forwards, blink 0.75s step-end infinite;
  max-width: 0;
  animation-fill-mode: forwards;
}

@keyframes typing {
  from { max-width: 0; }
  to { max-width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* ——— Hero Stats ——— */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--white);
  display: block;
  line-height: 1.2;
}

.hero-stat-number .count-plus {
  color: var(--pink);
}

.hero-stat-label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ——— Section Common ——— */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--pink);
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ——— Services ——— */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--pink), var(--cyan));
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

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

.service-card:hover::before {
  transform: translateX(0);
}

.service-card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 108, 240, 0.1);
  border-radius: 50%;
  font-size: 2rem;
  transition: all var(--transition);
}

.service-card:hover .service-card-icon {
  background: var(--lavender);
}

.service-card-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.service-card:hover .service-card-icon img {
  filter: brightness(0) invert(1);
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ——— About ——— */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
}

.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-img:hover img {
  transform: scale(1.05);
}

.about-img:first-child {
  margin-top: 40px;
}

.about-img:last-child {
  margin-bottom: 40px;
}

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

.about-content p {
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.8;
}

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

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 0.95rem;
}

.about-feature-icon {
  width: 28px;
  height: 28px;
  background: rgba(0, 212, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ——— Portfolio ——— */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 14, 46, 0.9) 0%,
    rgba(15, 14, 46, 0.1) 60%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h4 {
  color: var(--white);
  margin-bottom: 4px;
}

.portfolio-overlay p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.portfolio-overlay .portfolio-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cyan);
  margin-bottom: 8px;
}

/* ——— Clients / Partners ——— */
.clients-section {
  background: var(--white);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  align-items: center;
  justify-items: center;
}

.client-item {
  opacity: 0.5;
  transition: all var(--transition);
  filter: grayscale(100%);
  padding: 16px;
}

.client-item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.client-item img {
  max-width: 100px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

/* ——— Testimonials ——— */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-quote {
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  opacity: 0.15;
}

.testimonial-text {
  color: var(--dark);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

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

.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--midnight);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ——— Team ——— */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

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

.team-img {
  aspect-ratio: 1;
  overflow: hidden;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.team-card:hover .team-img img {
  transform: scale(1.08);
}

.team-info {
  padding: 20px 20px 24px;
  text-align: center;
}

.team-info h4 {
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.team-info .team-role {
  color: var(--pink);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.team-info p {
  color: var(--gray);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ——— Blog ——— */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

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

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

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.06);
}

.blog-card-body {
  padding: 24px 24px 28px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--gray-light);
  margin-bottom: 12px;
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card h3 a {
  color: var(--midnight);
}

.blog-card h3 a:hover {
  color: var(--pink);
}

.blog-card p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.blog-link {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--lavender);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-link:hover {
  color: var(--pink);
  gap: 10px;
}

/* ——— CTA Section ——— */
.cta-section {
  background: linear-gradient(135deg, var(--midnight) 0%, #1a1940 100%);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
}

/* ——— Contact ——— */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* Form */
.form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--dark);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--dark);
  transition: border-color var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--lavender);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--pink);
}

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

.form-ok,
.form-err {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-top: 16px;
}

.form-ok.show,
.form-err.show {
  display: block;
}

.form-ok {
  background: rgba(0, 212, 255, 0.1);
  color: #0C8BA0;
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.form-err {
  background: rgba(255, 61, 106, 0.1);
  color: var(--pink);
  border: 1px solid rgba(255, 61, 106, 0.3);
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

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

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(124, 108, 240, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--lavender);
}

.contact-item-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--midnight);
  margin-bottom: 2px;
}

.contact-item-text {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.hours-grid span {
  font-size: 0.9rem;
  color: var(--gray);
}

.hours-grid .hours-day {
  font-weight: 500;
  color: var(--dark);
}

/* ——— Page Hero ——— */
.page-hero {
  position: relative;
  padding: 140px 0 80px;
  background: var(--midnight);
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 14, 46, 0.9) 0%,
    rgba(255, 61, 106, 0.3) 100%
  );
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a:hover {
  color: var(--cyan);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb .current {
  color: var(--pink);
}

/* ——— Footer ——— */
.footer {
  background: var(--midnight);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: all var(--transition);
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--pink);
  color: var(--white);
  transform: translateY(-3px);
}

.footer h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer ul li a:hover {
  color: var(--pink);
}

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact li span:first-child {
  color: var(--pink);
  margin-top: 2px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover {
  color: var(--pink);
}

/* ——— Back to Top ——— */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(255, 61, 106, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.back-to-top:hover {
  background: #e82d5a;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 61, 106, 0.4);
}

/* ——— Reveal Animations ——— */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ——— 404 Page ——— */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 60px;
  background: var(--midnight);
}

.error-page h1 {
  font-size: clamp(5rem, 12vw, 10rem);
  color: var(--pink);
  line-height: 1;
  margin-bottom: 8px;
  font-weight: 800;
}

.error-page h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.error-page p {
  color: rgba(255, 255, 255, 0.6);
  max-width: 480px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
}

/* ——— Services Page Details ——— */
.services-detailed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.services-detailed.reverse {
  direction: rtl;
}

.services-detailed.reverse > * {
  direction: ltr;
}

.services-detailed-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

.services-detailed-content h3 {
  margin-bottom: 16px;
}

.services-detailed-content p {
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.8;
}

.services-detailed-content ul {
  list-style: none;
  margin-bottom: 24px;
}

.services-detailed-content ul li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  color: var(--dark);
  font-size: 0.95rem;
}

.services-detailed-content ul li::before {
  content: 'âœ“';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

/* ——— Team Page ——— */
.team-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ——— Stats Section ——— */
.stats-section {
  background: linear-gradient(135deg, var(--midnight) 0%, #1a1940 100%);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 3vw, 2.75rem);
  color: var(--white);
  display: block;
  line-height: 1.2;
}

.stat-item-number .count-plus {
  color: var(--pink);
}

.stat-item-label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ——— Story Section (About Page) ——— */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

.story-content h2 {
  margin-bottom: 20px;
}

.story-content p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ——— Portfolio Page ——— */
.portfolio-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ——— Blog Page ——— */
.blog-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ——— Contact Page ——— */
.contact-page-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* ——— Responsive ——— */
@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--midnight);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    transition: right 0.4s ease;
    z-index: 1000;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-images {
    order: -1;
  }

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

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

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

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

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

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

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

  .services-detailed {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .services-detailed.reverse {
    direction: ltr;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .contact-page-wrapper {
    grid-template-columns: 1fr;
  }
}

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

  .section-header {
    margin-bottom: 40px;
  }

  .hero {
    min-height: 90vh;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

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

  .about-img:first-child {
    margin-top: 0;
  }

  .about-img:last-child {
    margin-bottom: 0;
  }

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

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

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

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

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

  .form {
    padding: 24px;
  }

  .contact-wrapper {
    gap: 40px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .page-hero {
    padding: 120px 0 60px;
  }

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

  .contact-page-wrapper {
    gap: 40px;
  }

  .services-detailed-img {
    aspect-ratio: 16/10;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

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

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

  .hero-stat-number {
    font-size: 1.5rem;
  }
}

/* ——— prefers-reduced-motion ——— */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  .hero h1 .typing-text {
    animation: none;
    max-width: 100%;
    border-right: none;
  }
}