/* All Sections CSS Goes Here */

/*=============================================
    HERO SECTION
=============================================*/
.nx-hero {
	min-height: 100vh;
	background: radial-gradient(circle at 20% 20%, #0f2a44, var(--bg-dark));
	padding-top: 100px;
}

.nx-hero .row {
  align-items: center;
  min-height: calc(100vh - 100px);
}

/* Content */
.nx-hero-content {
  max-width: 620px;
}
.nx-hero-content h1 {
	font-weight: 700;
	color: var(--text-light);
	margin-bottom: 20px;
	}

.nx-hero-content p {
	font-size: 18px;
	margin-bottom: 30px;
}

/* CTA */
.nx-hero-cta {
 	gap: 15px;
}

/* Visual */
.nx-hero-visual {
	position: relative;
	width: 100%;
	height: min(700px, 75vh);
}

#networkCanvas {
	width: 100%;
	height: 100%;
	display: block;
}

/*=============================================
    HOME: SERVICES SECTION
=============================================*/
/* Card */
.nx-service-card {
	display: block;
	background: var(--bg-glass);
	border: 1px solid var(--bg-soft);
	padding: 30px;
	border-radius: var(--radius-lg);
	transition: var(--transition);
	height: 100%;
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

/* Gradient border layer */
.nx-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, transparent, var(--border-blue), transparent);
  -webkit-mask: 
    linear-gradient(#000 0 0) content-box, 
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: var(--transition-slow);
}

/* Activate on hover */
.nx-service-card:hover::before {
  opacity: 1;
}

/* Hover effect */
.nx-service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-blue);
  box-shadow: var(--shadow-soft);
}

.nx-service-card:active {
  transform: scale(0.98);
}

/* Icon */
.nx-service-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  color: var(--secondary);
  transition: transform var(--transition-slow), color var(--transition);
}

.nx-service-card:hover .nx-service-icon {
  transform: translateY(-5px) scale(1.1);
  color: var(--primary);
}

/* Title */
.nx-service-card h3 {
  margin-bottom: 10px;
}

.nx-service-link {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-soft);
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(10px);
}

/* Show on hover */
.nx-service-card:hover .nx-service-link {
  opacity: 1;
  transform: translateY(0);
}

/* Hover effect */
.nx-service-link:hover {
  background: var(--secondary);
  color: var(--text-dark);
}

/*=============================================
    HOME: ABOUT SECTION
=============================================*/
/* Points */
.nx-about-item {
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 25px;
}

.nx-about-icon {
  width: 45px;
  height: 45px;
  color: var(--secondary);
  flex-shrink: 0;
}

.nx-about-content {
	max-width: 400px;
}

/* Text */
.nx-about-content h4 {
  margin-bottom: 5px;
}

.nx-about-content p {
  font-size: var(--fs-small);
  opacity: 0.8;
}

/* Stats Grid */
.nx-home-about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Stat Card */
.nx-stat-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 25px;
  transition: transform var(--transition),
  						border-color var(--transition),
  						box-shadow var(--transition);
  will-change: transform;
}

.nx-stat-inner {
	transition: transform var(--transition);
}

/* Hover */
.nx-stat-card:hover {
	transform: translateY(-5px) scale(1.02);
  border-color: var(--secondary);
  box-shadow: var(--shadow-soft);
}

.nx-stat-card:hover .nx-stat-inner {
	transform: translateY(-5px) scale(1.02);
}

/* Numbers */
.nx-stat-card h3 {
	font-size: 32px;
  color: var(--secondary);
  margin-bottom: 5px;
}

/* Label */
.nx-stat-card p {
  font-size: var(--fs-small);
}

/*=============================================
    HOME: PORTFOLIO SECTION
=============================================*/
/* Card */
.nx-portfolio-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Image */
.nx-portfolio-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3; /* or 1/1 or 16/10 */
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.nx-portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

/* Overlay */
.nx-portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
					    to top,
					    var(--overlay-blue-dark),
					    var(--overlay-blue-light),
					    var(--overlay-blue-fade)
					  );
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  opacity: 0;
  transition: transform var(--transition-slow);
}

/* Text */
.nx-category {
  font-size: 12px;
  color: var(--secondary);
  margin-bottom: 5px;
}

.nx-portfolio-overlay h3 {
  margin-bottom: 5px;
}

.nx-portfolio-overlay p {
  font-size: var(--fs-small);
}

/* Arrow */
.nx-portfolio-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--secondary);
}

/* Hover Effect */
.nx-portfolio-card:hover img {
  transform: scale(1.1);
  filter: brightness(0.7);
}

.nx-portfolio-card:hover .nx-portfolio-overlay {
  opacity: 1;
}

/* ABOUT PAGE START HERE */

/*=============================================
    ABOUT PAGE: ABOUT STORY
=============================================*/
.nx-about-story {
  background: var(--bg);
}

.nx-about-visual {
  position: relative;
}

.nx-about-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xlg);
}

.nx-about-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      var(--overlay-blue-transparent),
      var(--overlay-blue-light)
    );
  z-index: 1;
}

.nx-about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
  filter:
    brightness(0.75)
    contrast(1.05)
    saturate(0.9);
}

/* Floating Card */
.nx-about-floating-card {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.nx-about-floating-card span {
  font-weight: 600;
}

/* Stats */
.nx-about-stats {
  position: relative;
}


/*=============================================
    ABOUT PAGE: WHY CHOOSE US
=============================================*/
.nx-why-card {
  height: 100%;
  padding: 35px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.nx-why-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-blue);
  box-shadow: var(--shadow-secondary);
}

.nx-why-icon {
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--text-light);
  box-shadow: var(--shadow-primary);
}

.nx-why-icon svg {
  width: 28px;
  height: 28px;
}

.nx-why-card h4 {
  margin-bottom: 16px;
}

/*=============================================
    ABOUT PAGE: MISSION / VISION
=============================================*/
.nx-mission-card {
  height: 100%;
  padding: 45px 35px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.nx-mission-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-blue);
  box-shadow: var(--shadow-secondary);
}

.nx-mission-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--text-light);
  box-shadow: var(--shadow-primary);
}

.nx-mission-icon svg {
  width: 30px;
  height: 30px;
}

.nx-mission-card h3 {
  margin-bottom: 18px;
}

/*=============================================
    ABOUT PAGE: PROCESS
=============================================*/
.nx-process {
  position: relative;
}

.nx-process-card {
  position: relative;
  height: 100%;
  padding: 40px 30px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  overflow: hidden;
}

.nx-process-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-blue);
  box-shadow: var(--shadow-secondary);
}

/* Number */
.nx-process-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
  color: var(--overlay-blue-light);
}

/* Icon */
.nx-process-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--text-light);
  box-shadow: var(--shadow-primary);
}

.nx-process-icon svg {
  width: 30px;
  height: 30px;
}

.nx-process-card h4 {
  margin-bottom: 16px;
}

/*=============================================
    ABOUT PAGE: FOUNDER
=============================================*/
#nx-founder .nx-divider {
  margin: 20px 30px;
}

.nx-founder {
  position: relative;
  overflow: hidden;
}

/* Glow Background */
.nx-founder::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: var(--secondary-glow-lg);
  filter: blur(140px);
  border-radius: var(--radius-full);
  opacity: 0.25;
  z-index: 0;
}

.nx-founder::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 300px;
  height: 300px;
  background: var(--primary-glow);
  border-radius: var(--radius-full);
  opacity: 0.15;
  filter: blur(120px);
  z-index: 0;
}

.nx-founder-box {
  position: relative;
  z-index: 1;
  padding: 70px;
  border-radius: var(--radius-xlg);
  background:
    linear-gradient(
      135deg,
      var(--overlay-blue-light),
      var(--overlay-blue-dark)
    );
  overflow: hidden;
}

.nx-founder-image {
  position: relative;
  max-width: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-secondary);
}

.nx-founder-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.nx-founder-image:hover img {
  transform: scale(1.05);
}

.nx-founder-quote {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.5;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 24px;
}

/*=============================================
    SERVICES PAGE: SERVICES INTRO
=============================================*/
.nx-services-intro {
  position: relative;
  margin-top: -100px;
  z-index: 2;
}

.nx-intro-card {
  padding: 60px;
  background: var(--backgroud-dark-blue);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-xlg);
  overflow: hidden;
  position: relative;
}

.nx-intro-card::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  top: -100px;
  right: -100px;
  background: var(--primary);
  opacity: 0.15;
  filter: blur(100px);
  border-radius: 50%;
}

.nx-intro-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.nx-intro-features span {
  padding: 10px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
}

.nx-services-intro-content p {
  max-width: 100%;
}

/*=============================================
    SERVICES PAGE: WHY NEXORA
=============================================*/
.nx-why-list {
  max-width: 900px;
  margin: 60px auto 0;
}

/* Item */
.nx-why-item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  padding: 35px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nx-why-item:first-child {
  padding-top: 0;
}

.nx-why-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Hover */
.nx-why-item:hover {
  transform: translateX(8px);
}

/* Icon */
.nx-why-item-icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--text-light);
  box-shadow: var(--shadow-primary);
}

.nx-why-item-icon svg {
  width: 30px;
  height: 30px;
}

/* Content */
.nx-why-item-content h3 {
  margin-bottom: 12px;
}

.nx-why-item-content p {
  max-width: 100%;
}

/*=============================================
    SERVICES PAGE: SERVICE PROCESS
=============================================*/
.nx-service-process {
  position: relative;
}

/* Wrapper */
.nx-process-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 70px;
}

.nx-process-line {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary),
    var(--secondary),
    transparent
  );
  background-size: 200% 100%;
  animation: processFlow 5s linear infinite;
}
@keyframes processFlow {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

/* Step */
.nx-process-step {
  position: relative;
  z-index: 1;
  padding-top: 60px;
}

/* Dot */
.nx-process-dot {
  position: absolute;
  top: 20px;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--secondary);
  box-shadow:
    0 0 0 6px var(--secondary-glow-sm),
    0 0 25px var(--secondary-glow-xl);
}

.nx-process-dot::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--secondary);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0% {
    transform: scale(1);
    opacity: .8;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Number */
.nx-process-count {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--secondary);
}

/* Title */
.nx-process-step h3 {
  margin-bottom: 16px;
}

/* Text */
.nx-process-step p {
  max-width: 100%;
}

/*=============================================
    SERVICES PAGE: TECH STACK
=============================================*/
.nx-tech-stack {
  position: relative;
}

/* Grid */
.nx-tech-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 70px;
}

/* Item */
.nx-tech-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 30px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  animation: techFloat 4s ease-in-out infinite;
}
/* Float Animation */
@keyframes techFloat {

  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }

}

.nx-tech-item:nth-child(2) {
  animation-delay: 0.3s;
}

.nx-tech-item:nth-child(3) {
  animation-delay: 0.6s;
}

.nx-tech-item:nth-child(4) {
  animation-delay: 0.9s;
}

.nx-tech-item:nth-child(5) {
  animation-delay: 1.2s;
}

.nx-tech-item:nth-child(6) {
  animation-delay: 1.5s;
}

.nx-tech-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle,
      var(--secondary-glow-sm),
      transparent 70%
    );
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}

.nx-tech-item:hover::before {
  opacity: 1;
}

/* Hover */
.nx-tech-item:hover {
  transform: translateY(-8px);
  border-color: var(--border-blue);
  box-shadow: var(--shadow-secondary);
}

/* Logo */
.nx-tech-item img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  transition: var(--transition);
}

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

/* Label */
.nx-tech-item span {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-light);
}

/*=============================================
    PORTFOLIO PAGE: HERO
=============================================*/
.nx-portfolio-hero {
  padding:
    calc(var(--section-padding-lg) + 40px)
    0
    var(--section-padding-lg);
  position: relative;
}

/* Content */
.nx-portfolio-hero-content h1 {
  margin: 20px 0 24px;
  max-width: 10ch;
}

/* Stats */
.nx-portfolio-stats {
  display: flex;
  gap: 35px;
  margin: 35px 0 40px;
}

.nx-portfolio-stat h3 {
  color: var(--secondary);
  margin-bottom: 5px;
}

.nx-portfolio-stat span {
  color: var(--text-muted);
  font-size: 14px;
}

/* Collage */
.nx-portfolio-collage {
  position: relative;
  height: 520px;
}

/* Card */
.nx-collage-card {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-xlg);
  border: 1px solid var(--border);
  background: var(--bg-glass);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-slow);
}

.nx-collage-card:hover {
  transform: translateY(-8px);
}

/* Image */
.nx-collage-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Positions */
.nx-card-1 {
  width: 280px;
  height: 380px;
  left: 0;
  top: 60px;
  z-index: 2;
  animation: portfolioFloat 6s ease-in-out infinite;
}

.nx-card-2 {
  width: 260px;
  height: 320px;
  right: 0;
  top: 0;
  z-index: 3;
  animation: portfolioFloat 7s ease-in-out infinite;
}

.nx-card-3 {
  width: 260px;
  height: 300px;
  right: 120px;
  bottom: 0;
  z-index: 1;
  animation: portfolioFloat 8s ease-in-out infinite;
}

@keyframes portfolioFloat {
  0%,100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Glow */
.nx-portfolio-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  background: var(--secondary-glow-xl);
  border-radius: var(--radius-full);
  filter: blur(120px);
  opacity: 0.2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*=============================================
    PORTFOLIO PAGE: FEATURED CASE STUDY
=============================================*/
.nx-case-study-box {
  margin-top: 70px;
}

/* Image */
.nx-case-study-image {
  position: relative;
}

.nx-case-study-image img {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-xlg);
  box-shadow: var(--shadow-lg);
}

/* Glow */
.nx-case-study-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  background: var(--secondary-glow-xl);
  border-radius: var(--radius-full);
  filter: blur(120px);
  opacity: .2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Content */
.nx-case-study-content h3 {
  margin: 18px 0;
}

/* Meta */
.nx-project-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 30px 0;
}

.nx-meta-item {
  padding: 18px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.nx-meta-item span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.nx-meta-item strong {
  font-weight: 600;
}

/* Story */
.nx-case-story {
  display: grid;
  gap: 24px;
  margin-bottom: 35px;
}

.nx-story-block h4 {
  margin-bottom: 10px;
}

/* Results */
.nx-case-results {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 35px;
}

.nx-result h4 {
  color: var(--secondary);
  margin-bottom: 4px;
}

.nx-result span {
  color: var(--text-muted);
  font-size: 14px;
}

/*=============================================
    PORTFOLIO PAGE: PORTFOLIO GRID
=============================================*/
.nx-portfolio-grid {
  overflow: hidden;
}

/* Flip Card */
.nx-project-flip {
  height: 100%;
  perspective: 1200px;
}

.nx-project-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 580px;
  transform-style: preserve-3d;
  transition: transform .8s;
}

.nx-project-flip:hover .nx-project-flip-inner {
  transform: rotateY(180deg);
}

/* Front + Back */
.nx-project-front,
.nx-project-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  overflow: hidden;
  border-radius: var(--radius-xlg);
  background: var(--bg-glass);
  border: 1px solid var(--border);
}

/* Front */
.nx-project-front {
  display: flex;
  flex-direction: column;
}

/* Back */
.nx-project-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 35px;
  text-align: center;
  border-color: var(--border-blue);
  background:
    linear-gradient(
      135deg,
      var(--bg-dark),
      var(--overlay-blue-dark)
    );
}

/* Image */
.nx-project-image {
  overflow: hidden;
}

.nx-project-image img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

/* Content */
.nx-project-content {
  padding: 24px;
}

/* Services */
.nx-project-services {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nx-project-services li {
  color: var(--text-muted);
}

/*=============================================
    BLOG: FEATURED ARTICLE
=============================================*/
.nx-featured-post {
  padding: 40px;
  border-radius: var(--radius-xlg);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  overflow: hidden;
}

/* Image */
.nx-featured-post-image {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.nx-featured-post-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* Content */
.nx-featured-post-content h2 {
  margin: 18px 0;
}

.nx-featured-post-content p {
  margin-bottom: 24px;
}

/* Badge */
.nx-featured-badge {
  display: inline-flex;
  padding: 6px 12px;
  margin-right: 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  background: var(--gradient-primary);
}

/* Category */
.nx-blog-category {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--secondary);
  background: var(--secondary-glow-sm);
}

/* Meta */
.nx-blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}

.nx-blog-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
}

.nx-blog-meta svg {
  width: 16px;
  height: 16px;
}

/*=============================================
    BLOG: GRID
=============================================*/
.nx-blog-card {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-xlg);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  transition: var(--transition-slow);
}

.nx-blog-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-blue);
  box-shadow: var(--shadow-secondary);
}

/* Image */
.nx-blog-card-image {
  overflow: hidden;
}

.nx-blog-card-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: .5s ease;
}

.nx-blog-card:hover .nx-blog-card-image img {
  transform: scale(1.05);
}

/* Content */
.nx-blog-card-content {
  padding: 24px;
}

.nx-blog-card-category {
  display: inline-flex;
  padding: 6px 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--secondary-glow-sm);
  color: var(--secondary);
  font-size: 13px;
  font-weight: 500;
}

.nx-blog-card-content h3 {
  margin-bottom: 12px;
  font-size: var(--fs-h4);
  line-height: 1.4;
}

.nx-blog-card-content p {
  margin-bottom: 20px;
}

/* Meta */
.nx-blog-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.nx-blog-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
  font-weight: 500;
}

.nx-blog-card-footer svg {
  transition: var(--transition);
}

.nx-blog-card:hover .nx-blog-card-footer svg {
  transform: translateX(5px);
}

/*=============================================
    BLOG: NEWSLETTER
=============================================*/
.nx-newsletter {
  overflow: hidden;
}

.nx-newsletter-box {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px;
  text-align: center;
  border-radius: var(--radius-xlg);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  overflow: hidden;
}

/* Glow */
.nx-newsletter-box::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  width: 300px;
  height: 300px;
  transform: translateX(-50%);
  background: var(--secondary-glow-lg);
  filter: blur(120px);
  opacity: .4;
  pointer-events: none;
}

.nx-newsletter-box h2 {
  margin: 16px 0;
}

.nx-newsletter-box p {
  margin: 0 auto 30px;
}

/* Form */
.nx-newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}

.nx-newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  outline: none;
}

.nx-newsletter-form input:focus {
  border-color: var(--border-blue);
}

.nx-newsletter-form button {
  flex-shrink: 0;
}

/*=============================================
     CONATCT PAGE: CONTACT SECTION
=============================================*/
.nx-contact-info h2 {
  margin: 16px 0;
}

.nx-contact-info p {
  margin-bottom: 30px;
}

/* Info Item */
.nx-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.nx-contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--secondary-glow-sm);
  color: var(--secondary);
  flex-shrink: 0;
}

.nx-contact-icon svg {
  width: 20px;
  height: 20px;
}

.nx-contact-item h4 {
  margin-bottom: 6px;
}

/* Form */
.nx-contact-form {
  padding: 32px;
  border-radius: var(--radius-xlg);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.nx-contact-form::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 250px;
  height: 250px;
  background: var(--secondary-glow-lg);
  filter: blur(120px);
  opacity: .3;
  pointer-events: none;
}

.nx-contact-form input,
.nx-contact-form select,
.nx-contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  outline: none;
  transition: var(--transition);
}

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

.nx-contact-form select option {
  background: var(--bg);
  color: var(--text);
}

.nx-contact-form textarea {
  resize: vertical;
}

/*=============================================
     CONATCT PAGE: MAP
=============================================*/
.nx-map-wrapper {
  overflow: hidden;
  border-radius: var(--radius-xlg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-primary);
}

.nx-map-wrapper iframe {
  width: 100%;
  height: 500px;
  border: 0;
  display: block;
}