:root {
  /* Colors */
  --bg-primary: #0B0B0D;
  --bg-secondary: #16161a;
  --bg-card: #1C1C21;

  --text-main: #FFFFFF;
  --text-muted: #A1A1AA;

  --accent-primary: #6366F1;
  /* Indigo */
  --accent-secondary: #A855F7;
  /* Purple */
  --accent-glow: rgba(21, 50, 90, 0.5);
  /* Brand color glow */
  --brand-color: #15325A;

  --border-color: #27272A;

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing */
  --section-padding: 8rem 2rem;
  --container-width: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-main);
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: #15325A;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(21, 50, 90, 0.4);
  border: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #1d467d;
  /* Slightly lighter */
  box-shadow: 0 8px 25px rgba(21, 50, 90, 0.6);
}

.btn-primary:active {
  transform: translateY(0);
  background: #0e223e;
  /* Slightly darker */
  box-shadow: 0 2px 10px rgba(21, 50, 90, 0.3);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}


/* Navbar */
.nav-logo {
  height: 50px;
  /* Adjusted for better balance in pill navbar */
  width: auto;
  display: block;
  transition: height 0.3s ease;
}

@media (max-width: 768px) {
  .nav-logo {
    height: 40px;
  }
}

.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  min-width: 60%;
  /* Reasonable width */
  max-width: 95%;
  padding: 0.75rem 2.5rem;
  z-index: 1000;
  background: rgba(11, 11, 13, 0.85);
  /* Slightly more opaque for better contrast */
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  /* Fully rounded / circular corners */
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3), 0 4px 10px rgba(0, 0, 0, 0.5);
  /* Aqua glow + Depth shadow */
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  /* Brighter default text */
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
  /* Soft aqua glow */
  transition: all 0.3s ease;
}

.nav-links a:not(.btn):hover {
  color: #00FFFF;
  /* Aqua on hover */
  text-shadow: 0 0 12px rgba(0, 255, 255, 0.8);
  /* Stronger glow */
}

/* Specific styling for the 'Get in Touch' button in nav if needed to match, 
   but user asked for 'navigation sections/links' glow. 
   I will keep the button as a button style but maybe give it a glowing border or keep as is.
   Current .btn-primary has a shadow, that's fine. 
*/

.mobile-toggle {
  display: none;
  cursor: pointer;

  color: var(--text-main);
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-bg .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, var(--bg-primary) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Common Section Styles */
.section-padding {
  padding: 6rem 1.5rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-color: var(--accent-primary);
}

.card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
}

.card-content h3 {
  margin-bottom: 0.5rem;
}

/* Why Us */
.why-inner {
  display: flex;
  justify-content: center;
  text-align: left;
}

.benefit-list {
  list-style: none;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.benefit-list li {
  flex: 1;
}

/* Why Us Hover Effects */
.benefit-list li {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.benefit-list li:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.3);
  /* Accent color border */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.benefit-list li:hover .icon-accent {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px var(--accent-primary));
}

.icon-accent {
  color: var(--accent-primary);
  width: 48px;
  height: 48px;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  display: block;
  /* Important for anchor */
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  height: 100%;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-color: var(--accent-primary);
}

.portfolio-image {
  width: 100%;
  aspect-ratio: 16/10;
  /* Clean proportional ratio */
  overflow: hidden;
  position: relative;
  background: #000;
  /* Fallback */
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.08);
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  background: rgba(99, 102, 241, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.portfolio-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0;
  color: var(--text-main);
  transition: color 0.3s ease;
}

.portfolio-card:hover .portfolio-content h3 {
  color: #fff;
}

/* Contact Refactor */
.contact-container {
  display: flex;
  /* Changed from grid */
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3rem;
  background-color: #0f0f0f;
  padding: 4rem 2rem;
  border-radius: 2rem;
  border: 1px solid #1f2937;
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  /* Constrain width since no form */
  margin: 0 auto;
}

.contact-info {
  width: 100%;
}

.contact-info h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.contact-subtext {
  color: #9ca3af;
  font-size: 1.25rem;
  margin-bottom: 3rem;
}

.contact-methods {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  /* Larger gap */
  align-items: center;
}

.method {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  /* Much larger text */
  font-weight: 500;
  color: #e5e7eb;
  /* Brighter */
  transition: transform 0.2s ease;
}

.method:hover {
  transform: scale(1.05);
  color: #fff;
}

.method i {
  width: 32px;
  height: 32px;
}

/* WhatsApp Link */
.whatsapp-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #25D366;
  font-weight: 700;
  font-size: 1.5rem;
  /* Larger */
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-link:hover {
  color: #128C7E;
  text-shadow: 0 0 10px rgba(37, 211, 102, 0.4);
}

/* Remove Form Styles if strictly not needed, but keeping generic utils is fine */
.contact-form {
  display: none;
  /* Hide form */
}


/* Resp */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  /* Navbar Mobile Adjustments */
  .navbar {
    width: 90%;
    min-width: auto;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    /* Slightly less rounded to accommodate menu if needed, but keeping pill aesthetic */
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(11, 11, 13, 0.95);
    padding: 2rem;
    border-radius: 20px;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    gap: 1.5rem;
  }

  .nav-links.active {
    display: flex;
    animation: fadeIn 0.3s ease;
  }

  .mobile-toggle {
    display: block;
  }

  .section-padding {
    padding: 4rem 1.5rem;
  }

  .contact-container {
    padding: 2rem;
    gap: 2rem;
  }

  .contact-info h2 {
    font-size: 2rem;
  }

  .method {
    font-size: 1.2rem;
    /* Slightly smaller for mobile */
  }

  .whatsapp-link {
    font-size: 1.2rem;
  }

  /* Why Us Mobile Fix */
  .benefit-list {
    flex-direction: column;
    gap: 1.5rem;
  }

  .benefit-list li {
    padding: 1.5rem;
    /* Reduce padding */
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  /* Services Mobile Optimization */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   New Premium Social Section
   ========================================= */
.social-section {
  background: linear-gradient(to top, #000000 0%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.social-title {
  font-size: 2rem;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.social-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  /* Balanced spacing */
}

.social-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 2rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* Bouncy transition */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.social-icon-wrapper i {
  width: 32px;
  height: 32px;
  stroke-width: 2px;
  transition: stroke 0.3s ease;
}

.vis-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Staggered Floating Animation */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.social-icon-wrapper:nth-child(1) {
  animation-delay: 0s;
}

.social-icon-wrapper:nth-child(2) {
  animation-delay: 1.5s;
}

.social-icon-wrapper:nth-child(3) {
  animation-delay: 3s;
}

/* Hover Effects */
.social-icon-wrapper:hover {
  transform: scale(1.15) translateY(-5px);
  /* Scale up and lift */
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-primary);
  color: #fff;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.6),
    0 10px 40px rgba(0, 0, 0, 0.6);
  /* Accent glow */
}

.social-icon-wrapper:hover i {
  stroke: var(--accent-primary);
}

/* =========================================
   Clean Footer
   ========================================= */
footer {
  background-color: #000;
  /* Deep black */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem 0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.footer-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.7;
}

/* =========================================
   Mobile Responsiveness for Socials
   ========================================= */
@media (max-width: 768px) {
  .social-grid {
    gap: 2rem;
    /* Reduced gap */
  }

  .social-icon-wrapper {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .social-icon-wrapper i {
    width: 24px;
    height: 24px;
  }
}