@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&family=Syne:wght@400;500;600;700;800&family=Orbitron:wght@700;900&display=swap");

:root {
  --primary: #1D6C5C;
  --primary-glow: rgba(29, 108, 92, 0.4);
  --bg-color: #121519;
  --bg-card: rgba(28, 33, 40, 0.4);
  --bg-card-hover: #222831;
  --border-color: rgba(225, 213, 181, 0.1);
  --text-main: #E1D5B5;
  --text-muted: rgba(225, 213, 181, 0.6);
  --font-main: 'Comfortaa', sans-serif;
  --font-heading: 'Syne', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
  display: none;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100%;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .hero-title {
  font-family: var(--font-heading);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Background Patterns */
.bg-grid-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 40px 40px;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  z-index: -2;
  pointer-events: none;
}

.spotlight {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}

.spotlight.top-left { top: -200px; left: -200px; }
.spotlight.bottom-right { bottom: -200px; right: -200px; background: radial-gradient(circle, rgba(29, 108, 92, 0.2) 0%, transparent 70%); }
.spotlight.center { top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0.3; }

/* Navbar */
.navbar-custom {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1000px;
  padding: 10px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(225, 213, 181, 0.15);
  background: rgba(18, 21, 25, 0.75);
  border-radius: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}
.nav-logo img {
  height: 40px;
}
.logo-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text-main);
  text-transform: uppercase;
  margin: 0;
  position: relative;
  display: inline-block;
}
.logo-text::after {
  content: '|';
  position: absolute;
  right: -12px;
  color: var(--primary);
  opacity: 0;
  animation: blink-logo 0.8s infinite;
}
.logo-text.typing-active::after {
  opacity: 1;
}
@keyframes blink-logo {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  margin-right: 30px;
}
.nav-item {
  position: relative;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.3s;
  padding: 10px 0;
}
.nav-item:hover, .nav-item.active {
  color: var(--text-main);
}
.nav-active-glow {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 10px 3px var(--primary-glow);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}
.nav-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 5px;
}
.nav-command {
  color: white;
  font-size: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 8px;
  transition: 0.3s;
}
.nav-command:hover {
  background: rgba(255, 255, 255, 0.1);
}
.nav-btn {
  background: var(--primary);
  color: var(--text-main);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}
.nav-btn:hover {
  background: var(--text-main);
  color: var(--bg-color);
}

/* Mobile Navbar Adjustments */
@media (max-width: 768px) {
  .navbar-custom {
    padding: 15px 25px;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 95%;
    top: 15px;
    border-radius: 24px;
  }
  .nav-logo {
    order: 1;
  }
  .nav-btn {
    order: 2;
    padding: 8px 12px;
    font-size: 13px;
  }
  .nav-links {
    order: 3;
    width: 100%;
    margin: 15px 0 0 0;
    justify-content: center;
    gap: 20px;
  }
  .nav-item {
    font-size: 13px;
    white-space: nowrap;
  }
  .nav-divider, .nav-command {
    display: none;
  }
  .logo-text {
    font-size: 20px;
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 20px 60px;
  position: relative;
  overflow-x: clip; /* Prevent horizontal scroll without causing vertical scroll containers */
}
.hero-badge {
  background: rgba(29, 108, 92, 0.15);
  border: 1px solid rgba(29, 108, 92, 0.4);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 30px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-title {
  font-size: clamp(3rem, 6vw, 4.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  word-break: break-word;
}
.hero-title .highlight {
  color: var(--primary);
  position: relative;
}

@media (max-width: 768px) {
  .hero {
    padding: 180px 15px 40px;
    min-height: auto;
  }
  .hero-badge {
    margin-bottom: 25px;
    font-size: 12px;
    padding: 6px 14px;
    position: relative;
    z-index: 5;
  }
  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 15px;
  }
}

/* Floating Interactive Shapes */
.floating-shape {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  --mouseX: 0px;
  --mouseY: 0px;
  transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}
.shape-circle {
  width: clamp(40px, 5vw, 60px);
  height: clamp(40px, 5vw, 60px);
  background: var(--primary);
  border-radius: 50%;
  top: -15%;
  left: -5%;
  opacity: 0.8;
  transform: translate(var(--mouseX), var(--mouseY));
  animation: floatCircle 6s ease-in-out infinite alternate;
  box-shadow: 0 0 20px var(--primary-glow);
}
.shape-triangle {
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 52px solid var(--text-main);
  bottom: -20%;
  right: -5%;
  transform: translate(var(--mouseX), var(--mouseY)) rotate(15deg);
  animation: float 6s ease-in-out infinite;
  animation-delay: 1s;
  opacity: 0.9;
}
.shape-pill {
  background: rgba(225, 213, 181, 0.9);
  border-radius: 30px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -5%;
  right: -10%;
  transform: translate(var(--mouseX), var(--mouseY)) rotate(-10deg);
  animation: float 5s ease-in-out infinite;
  animation-delay: 2s;
  box-shadow: 0 10px 20px rgba(225, 213, 181, 0.2);
}
.shape-cursor {
  font-size: 30px;
  color: white;
  top: 55%;
  left: -12%;
  transform: translate(var(--mouseX), var(--mouseY));
  animation: float 4s ease-in-out infinite;
  animation-delay: 0.5s;
  text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
.shape-code {
  background: var(--primary);
  color: var(--text-main);
  font-weight: bold;
  font-size: 20px;
  padding: 10px 20px;
  border-radius: 12px;
  bottom: -15%;
  left: -20%;
  transform: translate(var(--mouseX), var(--mouseY)) rotate(-5deg);
  animation: float 7s ease-in-out infinite;
  animation-delay: 1.5s;
  border: 1px solid rgba(225, 213, 181, 0.3);
}

.interactive-text {
  color: var(--primary);
  position: relative;
  transition: all 0.3s;
  display: inline-block;
  word-break: break-word;
}
.typing-text::after {
  content: '|';
  position: absolute;
  right: -10px;
  animation: blink 0.7s infinite;
  color: var(--primary);
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.interactive-text:hover {
  transform: scale(1.05);
  text-shadow: 0 0 20px var(--primary-glow);
}

@keyframes floatCircle {
  0% { transform: translate(var(--mouseX), calc(var(--mouseY) + 0px)); }
  100% { transform: translate(var(--mouseX), calc(var(--mouseY) - 20px)); }
}

@media (max-width: 768px) {
  .floating-shape {
    display: block !important;
    opacity: 0.85;
    pointer-events: none;
  }
  .shape-circle {
    top: -12%;
    left: 2%;
    width: 32px;
    height: 32px;
  }
  .shape-pill {
    top: -12%;
    right: 2%;
    padding: 6px 12px;
  }
  .shape-cursor {
    top: 50%;
    left: 1%;
    font-size: 18px;
  }
  .shape-code {
    bottom: -8%;
    left: 3%;
    font-size: 13px;
    padding: 6px 12px;
  }
  .shape-triangle {
    bottom: -8%;
    right: 3%;
    border-left-width: 16px;
    border-right-width: 16px;
    border-bottom-width: 28px;
  }
}

/* Interactive Card Mouse Glow */
.interactive-card {
  position: relative;
}
.interactive-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle 250px at var(--mouse-x, -20%) var(--mouse-y, -20%), rgba(225, 213, 181, 0.08) 0%, transparent 80%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}
.interactive-card:hover::after {
  opacity: 1;
}
.interactive-card > * {
  position: relative;
  z-index: 2;
}
.hero-desc {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 30px auto 40px;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px) rotate(-10deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
  100% { transform: translateY(0px) rotate(-10deg); }
}

/* Buttons */
.btn-primary-custom {
  background: var(--text-main);
  color: var(--bg-color);
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
}
.btn-primary-custom:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px var(--primary-glow);
}

/* Marquee / Tech Stack */
.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.marquee {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marqueeScroll 20s linear infinite;
}
.marquee-item {
  font-size: 40px;
  color: var(--text-muted);
  opacity: 0.5;
  transition: 0.3s;
}
.marquee-item:hover {
  opacity: 1;
  color: var(--primary);
}
@keyframes marqueeScroll {
  to { transform: translateX(-50%); }
}

/* Sections */
section {
  overflow-x: clip;
}
.section-padding {
  padding: 50px 0;
}
@media (max-width: 768px) {
  .section-padding {
    padding: 25px 0;
  }
}
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
@media (max-width: 768px) {
  .section-title {
    margin-bottom: 30px;
  }
}
.section-title h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 15px;
}
.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.section-title-badge {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 12px;
  display: block;
}

.section-title h2.section-title-highlight,
.section-title-highlight {
  display: inline-block !important;
  background: linear-gradient(135deg, #1D6C5C 0%, #2cb69b 100%) !important;
  color: #ffffff !important;
  padding: 14px 34px !important;
  border-radius: 10px !important;
  transform: rotate(-2.2deg) !important;
  box-shadow: 0 10px 25px rgba(29, 108, 92, 0.45) !important;
  font-size: clamp(1.8rem, 4vw, 2.6rem) !important;
  font-weight: 800 !important;
  margin-bottom: 22px !important;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease !important;
}

.section-title.active h2.section-title-highlight,
.section-title.active .section-title-highlight,
.reveal.active h2.section-title-highlight,
.reveal-scale.active h2.section-title-highlight {
  transform: rotate(-2.2deg) !important;
}

.section-title h2.section-title-highlight:hover,
.section-title-highlight:hover {
  transform: rotate(0deg) scale(1.03) !important;
  box-shadow: 0 15px 35px rgba(44, 182, 155, 0.6) !important;
}

@media (max-width: 768px) {
  .section-title h2.section-title-highlight,
  .section-title-highlight {
    padding: 10px 20px !important;
    font-size: clamp(1.4rem, 6vw, 2rem) !important;
    transform: rotate(-1.5deg) !important;
  }
}

/* Bento Box Layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}
.bento-card:hover {
  border-color: rgba(78, 149, 105, 0.5);
  background: var(--bg-card-hover);
  box-shadow: 0 10px 40px rgba(29, 108, 92, 0.1);
  transform: translateY(-5px);
}
.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at top right, rgba(78,149,105,0.1), transparent 50%);
  opacity: 0;
  transition: 0.3s;
}
.bento-card:hover::before { opacity: 1; }

.col-span-12 { grid-column: span 12; }
.col-span-8 { grid-column: span 8; }
.col-span-6 { grid-column: span 6; }
.col-span-4 { grid-column: span 4; }

@media (max-width: 992px) {
  .col-span-8, .col-span-6, .col-span-4 { grid-column: span 12; }
}

.bento-icon {
  width: 50px;
  height: 50px;
  background: rgba(78, 149, 105, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.bento-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}
.bento-card p {
  color: var(--text-muted);
  margin: 0;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.flexible-card-layout {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.flexible-card-layout .pricing-features {
  background: rgba(0, 0, 0, 0.3);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
@media (max-width: 992px) {
  .flexible-card-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
.pricing-card {
  background: rgba(28, 33, 40, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}
.pricing-card::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: var(--primary-glow);
  filter: blur(60px);
  z-index: -1;
  border-radius: 50%;
}
.pricing-card:hover {
  border-color: rgba(225, 213, 181, 0.2);
  transform: translateY(-5px);
}
.pricing-card.popular {
  border: 2px solid var(--primary);
  background: rgba(28, 33, 40, 0.7);
}
.pricing-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: inline-block;
  border-bottom: 2px solid var(--text-main);
  padding-bottom: 4px;
}
.pricing-start {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.price-tag {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.price-tag span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
  font-family: var(--font-main);
}
.price-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.6;
}
.pricing-get {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
}
.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  flex-grow: 1;
}
.pricing-list li {
  color: var(--text-main);
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
}
.pricing-list li i {
  color: var(--primary);
  font-size: 18px;
  margin-top: 2px;
}
.btn-pricing {
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: 1px solid rgba(225, 213, 181, 0.2);
  color: var(--text-main);
  padding: 14px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: 0.3s;
  display: block;
  cursor: pointer;
  margin-top: auto;
}
.btn-pricing:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
}

/* Profile Card */
.profile-bento {
  display: flex;
  align-items: center;
  gap: 30px;
}
.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--border-color);
  object-fit: cover;
}
@media (max-width: 768px) {
  .profile-bento { flex-direction: column; text-align: center; }
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding: 60px 20px;
  text-align: center;
  margin-top: 100px;
  background: var(--bg-color);
  position: relative;
  z-index: 10;
}
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}
.footer-socials a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 18px;
}
.footer-socials a:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
}

/* Floating WA */
.wa-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8) translateY(20px);
}
.wa-float.visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}
.wa-float:hover {
  transform: scale(1.1) translateY(-5px);
  background-color: #20b954;
  color: #fff;
}

/* ==========================================================================
   Advanced Cinematic Scroll Animations (GPU Hardware Accelerated)
   ========================================================================== */
.spotlight, 
.bg-grid-pattern, 
.mouse-glow-bg, 
.bento-card, 
.portfolio-card, 
.pricing-card, 
.floating-shape,
.navbar-custom {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

#scroll-progress {
  transform-origin: left;
  will-change: transform;
  transition: transform 0.08s linear;
}

.reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-flip {
  opacity: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform, opacity;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reveal (Fade Up) */
.reveal {
  transform: translate3d(0, 40px, 0);
}
.reveal.active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Slide from Left */
.reveal-left {
  transform: translate3d(-45px, 0, 0);
}
.reveal-left.active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Slide from Right */
.reveal-right {
  transform: translate3d(45px, 0, 0);
}
.reveal-right.active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Zoom Scale Reveal */
.reveal-scale {
  transform: scale3d(0.93, 0.93, 1) translate3d(0, 25px, 0);
}
.reveal-scale.active {
  opacity: 1;
  transform: scale3d(1, 1, 1) translate3d(0, 0, 0);
}

/* 3D Perspective Flip Reveal */
.reveal-flip {
  transform: perspective(1000px) rotateX(-15deg) translate3d(0, 30px, 0);
}
.reveal-flip.active {
  opacity: 1;
  transform: perspective(1000px) rotateX(0deg) translate3d(0, 0, 0);
}

/* Animation Delays */
.delay-50 { transition-delay: 50ms; }
.delay-100 { transition-delay: 100ms; }
.delay-150 { transition-delay: 150ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Scroll Parallax Classes */
[data-scroll-speed] {
  transition: transform 0.1s cubic-bezier(0, 0, 0.2, 1);
  will-change: transform;
}

/* ==========================================================================
   3D Card Tilt Effect & Spot Glow
   ========================================================================== */
.bento-card, .pricing-card, .portfolio-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.15s ease-out, border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.bento-card:hover, .pricing-card:hover, .portfolio-card:hover {
  box-shadow: 0 15px 35px rgba(29, 108, 92, 0.25);
}

/* ==========================================================================
   Portfolio Section & Filter Buttons
   ========================================================================== */
.portfolio-filter-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  padding: 0 20px;
}

.filter-btn {
  background: rgba(28, 33, 40, 0.6);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: 30px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
  transform: translateY(-2px);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.portfolio-card.hide {
  display: none !important;
}

.portfolio-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #171b21;
}

.portfolio-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-card:hover .portfolio-img-wrapper img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(18, 21, 25, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.btn-preview-modal {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px var(--primary-glow);
}

.btn-preview-modal:hover {
  background: var(--text-main);
  color: var(--bg-color);
  transform: scale(1.05);
}

.portfolio-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.portfolio-content h3 {
  font-size: 1.25rem;
  margin: 0 0 10px;
  color: var(--text-main);
}

.portfolio-content p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   Live Preview Modal
   ========================================================================== */
.portfolio-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.portfolio-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 12, 15, 0.85);
  backdrop-filter: blur(12px);
}

.modal-container {
  position: relative;
  z-index: 2001;
  width: 90%;
  max-width: 900px;
  background: rgba(24, 28, 35, 0.95);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-modal.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 2002;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--primary);
  transform: rotate(90deg);
}

.modal-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  max-height: 80vh;
}

@media (max-width: 768px) {
  .modal-body {
    grid-template-columns: 1fr;
    max-height: 85vh;
    overflow-y: auto;
  }
}

.modal-img-box {
  background: #0d0f12;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-height: 450px;
}

.modal-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info-box {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-tag {
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.modal-info-box h3 {
  font-size: 1.8rem;
  margin: 0 0 15px;
  color: var(--text-main);
  line-height: 1.2;
}

.modal-info-box p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0 0 25px;
  line-height: 1.6;
}

.modal-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.tech-chip {
  background: rgba(29, 108, 92, 0.15);
  border: 1px solid rgba(29, 108, 92, 0.3);
  color: var(--text-main);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
}

.modal-btn {
  background: var(--primary);
  color: #fff;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px var(--primary-glow);
}

.modal-btn:hover {
  background: var(--text-main);
  color: var(--bg-color);
  transform: translateY(-2px);
}

/* ==========================================================================
   Team Maxinide Profiles Grid
   ========================================================================== */
.team-profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.team-profile-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(18, 22, 28, 0.6);
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.team-profile-item:hover {
  border-color: var(--primary);
  background: rgba(29, 108, 92, 0.12);
  transform: translateY(-3px);
}

.team-role {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: block;
}

@media (max-width: 576px) {
  .team-profile-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}


