/*
Theme Name: SK Portfolio Theme
Theme URI: https://skhasibur.com/
Author: SK Hasibur Rahman
Author URI: https://skhasibur.com/
Description: Futuristic Portfolio Theme for SK Hasibur Rahman
Version: 1.0
Text Domain: sk-portfolio
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Mona+Sans:ital,wght@0,300..900;1,300..900&display=swap');

:root {
  --bg-color: #030508;
  --bg-color-alt: #0b0e14;
  --text-main: #ffffff;
  --text-muted: #8c9096;
  --accent: #fd3f00; /* Avista signature orange/red */
  --accent-hover: #fb0d1f;
  
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Mona Sans', sans-serif;
  
  --transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- NOISE CANVAS --- */
#noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
}

/* --- NETWORK CANVAS --- */
#network-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}

/* --- UTILITIES --- */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 120px 0;
  position: relative;
  z-index: 2;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.sec-subtitle {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.sec-subtitle .icon {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
}

.sec-title {
  font-size: 4rem;
  margin-bottom: 30px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  background-color: transparent;
  border: 1px solid var(--text-muted);
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
}

.btn:hover {
  background-color: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255,255,255,0.2);
}

.btn-primary:hover {
  background-color: #fff;
  color: var(--accent);
  box-shadow: 0 10px 20px rgba(253,63,0,0.4);
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 0;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  padding: 15px 0;
  background: rgba(3, 5, 8, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-dot {
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
}

.nav {
  display: flex;
  gap: 40px;
}

.nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent);
  text-shadow: 0 0 15px rgba(253,63,0,0.5);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.hero-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.hero-left {
  flex: 0 0 100px;
  height: 60vh;
  position: relative;
  overflow: hidden;
  border-left: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: center;
}

.marquee-vertical {
  white-space: nowrap;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--text-muted);
  display: flex;
}

.marquee-content {
  display: flex;
  gap: 20px;
  align-items: center;
  padding-bottom: 20px; /* spacing between duplicates */
  animation: marquee-vert 45s linear infinite;
}

.marquee-vertical span {
  color: var(--accent);
}

@keyframes marquee-vert {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}

.hero-center {
  flex: 1;
  padding: 0 60px;
  z-index: 2;
}

.hero-title {
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.9;
  margin-bottom: 20px;
}

.hero-title-stroke {
  -webkit-text-stroke: 1px rgba(255,255,255,0.2);
  color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 40px;
}

.hero-right {
  flex: 0 0 400px;
  position: relative;
}

.hero-img-box {
  width: 100%;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transform: rotate(3deg);
  transition: transform 0.5s ease;
}

.hero-img-box:hover {
  transform: rotate(0deg);
}

.hero-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.1);
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -40px;
  background: var(--accent);
  color: #fff;
  padding: 20px;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  animation: spin 10s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* --- ABOUT / SYS INFO --- */
.about-wrap {
  display: flex;
  gap: 80px;
  align-items: center;
}

.about-img {
  flex: 1;
  position: relative;
}

.about-img img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
}

.about-content {
  flex: 1;
}

.about-text {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.stat-item h4 {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- SERVICES (EXPERTISE) --- */
.services {
  background-color: var(--bg-color-alt);
}

.service-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.service-num {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--text-muted);
  width: 80px;
}

.service-title {
  font-size: 3rem;
  flex: 1;
  transition: var(--transition);
}

.service-tags {
  display: flex;
  gap: 15px;
  margin-right: 40px;
}

.tag {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-arrow {
  width: 60px;
  height: 60px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: var(--transition);
}

.service-item:hover {
  background: rgba(255,255,255,0.02);
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 15px;
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.service-item:hover .service-title {
  color: var(--accent);
  transform: translateX(10px);
  text-shadow: 0 0 20px rgba(253,63,0,0.3);
}

.service-item:hover .service-arrow {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(-45deg);
}

/* --- EXPERTISE GRID --- */
.mt-60 { margin-top: 60px; }

.grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

@media (max-width: 991px) {
  .grid-layout {
    grid-template-columns: 1fr;
  }
}

.grid-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 15px;
  padding: 40px;
}

.grid-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.group-label {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--text-muted);
}

.live-tag {
  font-size: 12px;
  background: rgba(255,255,255,0.05);
  padding: 5px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot.orange { background: var(--accent); }
.dot.red { background: #ff3366; }

.grid-card-title {
  font-size: 2rem;
  margin-bottom: 30px;
}

.grid-sub-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.grid-sub-box:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-5px);
}

.sub-box-title {
  font-family: var(--font-heading);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  background: rgba(255,255,255,0.05);
  padding: 5px 12px;
  border-radius: 5px;
  font-size: 13px;
  transition: var(--transition);
}

.grid-sub-box:hover .skill-tag {
  background: rgba(253,63,0,0.1);
  color: var(--accent);
}

.port-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 991px) {
  .port-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .port-grid {
    grid-template-columns: 1fr;
  }
}

.port-item {
  display: block;
  padding: 40px;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px; /* Harder corners for a professional tech look */
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Tech Grid Pattern */
.port-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.3;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 0;
}

/* Sharp HUD Scanline on Hover */
.port-item::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 15px var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 1;
}

.port-category, .port-title, .port-arrow {
  position: relative;
  z-index: 2; /* Keep above effects */
}

.port-category {
  font-family: var(--font-heading);
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.port-title {
  font-size: 2rem;
  color: var(--text-main);
  transition: all 0.3s ease;
}

.port-arrow {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 45px;
  height: 45px;
  border-radius: 0; /* Square tech look */
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-main);
  background: transparent;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.port-item:hover {
  transform: translateY(-5px);
  background: #111;
  border-color: rgba(253, 63, 0, 0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 20px rgba(253, 63, 0, 0.05);
}

.port-item:hover::before {
  opacity: 0.6;
  transform: scale(1.05);
}

.port-item:hover::after {
  transform: scaleY(1);
}

.port-item:hover .port-title {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(253, 63, 0, 0.3);
}
.port-item:hover .port-category {
  color: var(--accent);
}
.port-item:hover .port-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  transform: translate(5px, -5px);
  box-shadow: 0 0 15px rgba(253, 63, 0, 0.5);
}

.grid-card-title {
  font-size: 2rem;
  margin-bottom: 30px;
}

.grid-card {
  background-color: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  transition: var(--transition);
}

.grid-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transform: translateY(-5px);
}

.grid-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.group-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.live-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.dot.orange { background: #fd3f00; }
.dot.red { background: #ff4757; }


.grid-sub-box {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Futuristic Scanning Light Ray */
.grid-sub-box::after {
  content: '';
  position: absolute;
  top: 0; 
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}

.grid-sub-box:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4), inset 0 0 20px rgba(253, 63, 0, 0.1);
  background: rgba(0,0,0,0.6);
}

.grid-sub-box:hover::after {
  animation: scanRay 0.8s ease-in-out;
}

@keyframes scanRay {
  0% { left: -150%; }
  100% { left: 150%; }
}

.sub-box-title {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.grid-sub-box:hover .sub-box-title {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(253, 63, 0, 0.5);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  font-size: 13px;
  color: var(--text-main);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 6px 14px;
  border-radius: 6px;
  transition: var(--transition);
  cursor: none;
}
.skill-tag:hover {
  background: var(--text-main);
  color: #000;
  border-color: var(--text-main);
}

/* --- EXPERIENCE / EDUCATION --- */
.exp-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
}

.exp-item {
  display: flex;
  padding: 40px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  gap: 40px;
  transition: var(--transition);
  border-left: 2px solid transparent;
}

.exp-item:hover {
  background: rgba(255,255,255,0.02);
  border-left: 2px solid var(--accent);
  border-radius: 0 15px 15px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.exp-meta {
  flex: 0 0 250px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exp-date {
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
}

.exp-company {
  font-size: 18px;
  color: var(--text-muted);
}

.exp-content {
  flex: 1;
}

.exp-role {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.exp-content p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 800px;
}

/* --- PORTFOLIO / EXPERIENCE --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.port-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
}

.port-item.offset {
  margin-top: 80px;
}

.port-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.port-item:hover .port-img {
  transform: scale(1.05);
}

.port-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
}

.port-item:hover .port-overlay {
  transform: translateY(0);
  opacity: 1;
}

.port-title {
  font-size: 2rem;
  margin-bottom: 10px;
}

.port-cat {
  color: var(--accent);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- HOME LAB --- */
.lab-wrap {
  display: flex;
  gap: 60px;
  align-items: center;
}

.lab-content {
  flex: 1;
}

.lab-grid-img {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.lab-grid-img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 16px;
}

.lab-grid-img img:first-child {
  grid-column: span 2;
  height: 350px;
}

.specs-list {
  list-style: none;
  margin-top: 30px;
}

.specs-list li {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
}

.specs-list li span:first-child {
  font-weight: 600;
  color: var(--text-main);
}

.specs-list li span:last-child {
  color: var(--text-muted);
}

/* --- CONTACT / FOOTER --- */
.footer {
  background-color: var(--bg-color-alt);
  padding: 100px 0 40px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-huge {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 12vw, 12rem);
  line-height: 1;
  margin-bottom: 40px;
  color: var(--accent);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 18px;
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 5px;
  transition: var(--transition);
  position: relative;
}

.footer-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  text-shadow: 0 0 15px rgba(253,63,0,0.5);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px dashed rgba(255,255,255,0.1);
  padding-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-muted);
  font-size: 12px;
  font-family: var(--font-heading);
  letter-spacing: 4px;
  text-transform: uppercase;
  transition: var(--transition);
}

.footer-bottom:hover {
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.footer-bottom span {
  position: relative;
}

.footer-bottom span::before {
  content: '[ ';
  color: var(--accent);
  opacity: 0.5;
}
.footer-bottom span::after {
  content: ' ]';
  color: var(--accent);
  opacity: 0.5;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-wrap {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .hero-left {
    display: none;
  }
  .hero-center {
    padding: 0;
  }
  .hero-right {
    flex: 0 0 auto;
    width: 100%;
    max-width: 500px;
  }
  .about-wrap, .lab-wrap {
    flex-direction: column;
  }
  .service-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .service-tags {
    margin: 0;
    flex-wrap: wrap;
  }
  .service-item:hover {
    padding-left: 10px;
    padding-right: 10px;
  }
  .service-arrow {
    display: none;
  }
  .exp-item {
    flex-direction: column;
    gap: 20px;
  }
  .exp-meta {
    flex: 0 0 auto;
  }
  .portfolio-grid {
    grid-template-columns: 1fr !important;
  }
  .port-item.offset {
    margin-top: 0;
  }
  .nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .header-actions .btn {
    display: none;
  }
  .grid-layout {
    grid-template-columns: 1fr;
  }
  .footer-huge {
    font-size: 3rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- CUSTOM CURSOR --- */
.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10000;
  box-shadow: 0 0 10px var(--accent);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
}

@media (min-width: 1025px) {
  body, a, button, .service-item, .exp-item, .port-item {
    cursor: none;
  }
}
