/* Minimal, Futuristic, Professional Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  background: #0A0A23;
  color: #fff;
  font-family: 'Inter', 'Sora', 'Space Grotesk', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  /* scroll-behavior: smooth; */
}

@font-face {
  font-family: 'regular';
  src: url(./Fonts/NeueMachina-Regular.e896c98c.otf);
}
@font-face {
  font-family: 'roman';
  src: url(./Fonts/NeueHaasDisplayRoman.d8850e5c.ttf);
}

.regular {
  font-family: 'regular', 'Inter', 'Sora', 'Space Grotesk', Arial, sans-serif;
}
.roman {
  font-family: 'roman', 'Inter', 'Sora', 'Space Grotesk', Arial, sans-serif;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', 'Space Grotesk', 'Inter', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 0.5em;
}
h1 {
  font-size: 2.8rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.3rem;
}

/* Links & Buttons */
a, button {
  transition: color 0.2s, background 0.2s, box-shadow 0.2s, border 0.2s, transform 0.2s;
  outline: none;
  border: none;
  background: none;
  color: #00F0FF;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}
a:hover, button:hover, a:focus, button:focus {
  color: #8F00FF;
  background: rgba(0,240,255,0.08);
  box-shadow: 0 2px 16px #00F0FF44;
  border-radius: 8px;
  transform: translateY(-2px) scale(1.03);
}

/* Navigation */
nav {
  background: rgba(10,10,35,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px #00F0FF22;
  border-bottom: 1px solid #18183A;
  padding: 1.2rem 2.5vw;
}
.nav-right a {
  color: #fff;
  font-size: 1rem;
  margin: 0 1.2rem;
  position: relative;
}
.nav-right a.active, .nav-right a:hover {
  color: #00F0FF;
}

/* Glassmorphism Card Styles */
.service-card, .portfolio-item, .testimonial-card, .case-study, .blog-card, .team-member {
  background: rgba(24, 24, 58, 0.7);
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 #00F0FF22;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0,240,255,0.12);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover, .portfolio-item:hover, .testimonial-card:hover, .case-study:hover, .blog-card:hover, .team-member:hover {
  box-shadow: 0 12px 48px 0 #8F00FF44;
  transform: translateY(-6px) scale(1.03);
  border-color: #00F0FF;
}

/* Portfolio Section Enhancements */
.portfolio-item {
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.2s;
  cursor: pointer;
}
.portfolio-item:hover {
  box-shadow: 0 16px 48px 0 #00F0FF55, 0 2px 16px #8F00FF33;
  transform: translateY(-10px) scale(1.04) rotate(-1deg);
  border-color: #00F0FF;
  z-index: 2;
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,10,35,0.82);
  backdrop-filter: blur(12px) saturate(1.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(.77,0,.18,1);
  z-index: 2;
}
.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
  pointer-events: auto;
}
.portfolio-overlay .text-center {
  animation: fadeInUp 0.6s cubic-bezier(.77,0,.18,1) 0.1s both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Section Spacing */
section, .services-section, .portfolio-section, .team-section, .testimonials-section, .case-studies-section, .blog-section, .contact-section {
  padding: 5vw 0;
  margin: 0 auto;
  max-width: 1200px;
}

/* Hero Section */
.intro-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0A0A23 0%, #18183A 100%);
  position: relative;
  overflow: hidden;
}
.kinetic-headline span {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, #00F0FF, #8F00FF, #00FF85);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 0.2em;
}

/* CTA Buttons */
.intro-cta a, .hero-cta button, .blog-cta a, .case-study button, .contact-right button {
  background: linear-gradient(90deg, #00F0FF, #8F00FF, #00FF85);
  color: #0A0A23;
  font-weight: 700;
  border-radius: 999px;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  box-shadow: 0 2px 16px #00F0FF44;
  margin: 0.5rem 0.5rem 0 0;
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.intro-cta a:hover, .hero-cta button:hover, .blog-cta a:hover, .case-study button:hover, .contact-right button:hover {
  background: linear-gradient(90deg, #8F00FF, #00F0FF, #00FF85);
  color: #fff;
  box-shadow: 0 4px 32px #8F00FF44;
  transform: scale(1.05);
}

/* Inputs & Forms */
input, textarea {
  background: transparent;
  border: none;
  border-bottom: 2px solid #00F0FF;
  color: #fff;
  font-size: 1rem;
  padding: 1rem 0;
  margin-bottom: 1.5rem;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}
input:focus, textarea:focus {
  border-bottom: 2px solid #8F00FF;
}
::placeholder {
  color: #00F0FF99;
  opacity: 1;
}

/* Footer */
.footer-section {
  background: #18183A;
  color: #fff;
  border-top: 1px solid #00F0FF22;
  padding: 3vw 0 1vw 0;
  font-size: 1rem;
}
.footer-links a, .footer-col ul li a {
  color: #00F0FF;
  margin-right: 1.2rem;
  font-size: 1rem;
}
.footer-links a:hover, .footer-col ul li a:hover {
  color: #8F00FF;
}

/* Custom Cursor (for JS) */
.custom-cursor, .custom-cursor-follower {
  pointer-events: none;
  z-index: 9999;
  position: fixed;
  border-radius: 50%;
  mix-blend-mode: difference;
  transition: background 0.2s, border 0.2s, transform 0.2s;
}
.custom-cursor {
  width: 18px;
  height: 18px;
  background: #00F0FF;
  box-shadow: 0 0 16px #00F0FF88;
}
.custom-cursor-follower {
  width: 38px;
  height: 38px;
  border: 2px solid #8F00FF;
  box-shadow: 0 0 32px #8F00FF44;
}

/* Responsive Grid */
.grid, .services-grid, .portfolio-grid, .team-grid, .testimonials-grid, .case-studies-grid, .blog-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 600px) {
  .services-grid, .portfolio-grid, .team-grid, .testimonials-grid, .case-studies-grid, .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .services-grid, .portfolio-grid, .team-grid, .testimonials-grid, .case-studies-grid, .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Section Titles */
section > h1, .services-section > h1, .portfolio-section > h1, .team-section > h1, .testimonials-section > h1, .case-studies-section > h1, .blog-section > h1, .contact-section > h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
  color: #fff;
  text-align: left;
}

/* Minimal Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  background: #18183A;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #00F0FF 0%, #8F00FF 100%);
  border-radius: 8px;
}

/* Accessibility: Focus Outline */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid #00F0FF;
  outline-offset: 2px;
}

/* Hide visually unnecessary elements on mobile */
@media (max-width: 600px) {
  .nav-right {
    display: none !important;
  }
  .footer-section {
    font-size: 0.95rem;
  }
  .services-grid, .portfolio-grid, .team-grid, .testimonials-grid, .case-studies-grid, .blog-grid {
    grid-template-columns: 1fr !important;
  }
}
