:root {
  --bg-color: #0a0a0c;
  --text-color: #f0f0f5;
  --accent-color: #00d2ff;
  --accent-secondary: #3a7bd5;
  --card-bg: rgba(255, 255, 255, 0.05);
  --border-color: rgba(255, 255, 255, 0.1);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 15% 50%, rgba(0, 210, 255, 0.08), transparent 40%),
              radial-gradient(circle at 85% 30%, rgba(58, 123, 213, 0.08), transparent 40%);
  z-index: -1;
  pointer-events: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Glassmorphic Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 0;
  background: rgba(10, 10, 12, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

.logo span {
  background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a:hover {
  color: var(--accent-color);
}

.cta-button {
  background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
  color: #fff;
}

/* Antigravity Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

@keyframes glow {
  0% { box-shadow: 0 0 10px rgba(0, 210, 255, 0.2); }
  50% { box-shadow: 0 0 25px rgba(0, 210, 255, 0.6); }
  100% { box-shadow: 0 0 10px rgba(0, 210, 255, 0.2); }
}

.floating-element {
  animation: float 6s ease-in-out infinite;
}

.glowing-element {
  animation: glow 4s ease-in-out infinite;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 5%;
  width: 400px;
  height: 400px;
  background: var(--accent-color);
  filter: blur(150px);
  opacity: 0.15;
  border-radius: 50%;
  z-index: -1;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: 400px;
  height: 400px;
  background: var(--accent-secondary);
  filter: blur(150px);
  opacity: 0.15;
  border-radius: 50%;
  z-index: -1;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-content {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  color: #a0a0a5;
  margin-bottom: 2.5rem;
}

.highlight {
  background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Sections */
section {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: #a0a0a5;
  margin-bottom: 1.5rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* LinkedIn Floating Button */
.linkedin-float {
  position: fixed;
  bottom: 110px;
  right: 40px;
  background-color: #0077b5;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(0, 119, 181, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.linkedin-float:hover {
  transform: scale(1.1);
}

/* Inner Page Hero */
.page-hero {
  background-attachment: fixed;
  padding-top: 150px;
  padding-bottom: 80px;
  background: url('images/hero_bg.png') center/cover no-repeat;
  position: relative;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.bg-about { background: url('images/about_bg.png') center/cover no-repeat; }
.bg-services { background: url('images/services_bg.png') center/cover no-repeat; }
.bg-contact { background: url('images/contact_bg.png') center/cover no-repeat; }
.bg-blog { background: url('images/blog_bg.png') center/cover no-repeat; }
.bg-portfolio { background: url('images/portfolio_bg.png') center/cover no-repeat; }

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 12, 0.85);
  z-index: 0;
}

.glass-container {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: #e0e0e5;
  line-height: 1.8;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

/* Footer */
footer {
  background: #050506;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-bottom {
  color: #707075;
  font-size: 0.9rem;
}

/* Form Styles */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #e0e0e5;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-sans);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.hamburger {
  display: none;
}

/* Animations & Enhanced UI */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pulseGlow {
  0% { filter: drop-shadow(0 10px 20px rgba(0, 210, 255, 0.4)); transform: translateY(0); }
  50% { filter: drop-shadow(0 20px 40px rgba(0, 210, 255, 0.8)); transform: translateY(-10px); }
  100% { filter: drop-shadow(0 10px 20px rgba(0, 210, 255, 0.4)); transform: translateY(0); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 0;
}
.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  flex-wrap: wrap;
  width: 100%;
}
.hero-image img {
  animation: pulseGlow 4s infinite alternate ease-in-out;
}

.glass-container, .contact-form, .service-card {
  background: rgba(10, 10, 15, 0.65) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(0, 210, 255, 0.15) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(0, 210, 255, 0.1) !important;
}
.service-card:hover {
  border-color: var(--accent-color) !important;
  box-shadow: 0 10px 40px rgba(0, 210, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-12px) scale(1.03) !important;
}


/* Neon Glow Redesign */
.neon-hero {
  position: relative;
  overflow: visible;
}

.neon-image-wrapper {
  position: relative;
  display: inline-block;
  animation: floatImage 6s ease-in-out infinite;
}

/* Glowing blue stroke on the left edge */
.neon-image-wrapper::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 10%;
  bottom: 10%;
  width: 4px;
  background: linear-gradient(to bottom, transparent, var(--accent-color), transparent);
  box-shadow: 0 0 15px var(--accent-color), 0 0 30px var(--accent-color);
  border-radius: 10px;
  opacity: 0.8;
}

@keyframes floatImage {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Glassmorphism Badge for 'Elevate Your Brand' (Global) */
.elevate-badge {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: rgba(10, 10, 15, 0.65);
  border: 1px solid var(--accent-color);
  border-radius: 50px;
  font-size: 0.9rem !important;
  backdrop-filter: blur(10px);
  margin-bottom: 1.5rem !important;
  color: var(--accent-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.2), inset 0 0 10px rgba(0, 210, 255, 0.1);
  text-align: center;
}

/* Futuristic Gradient Name (Global) */
.neon-hero .hero-left .hero-name {
  background: linear-gradient(to right, #ffffff, var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerText 3s infinite linear;
  background-size: 200% auto;
}

@keyframes shimmerText {
  to {
    background-position: 200% center;
  }
}

/* Responsive */
@media (max-width: 768px) {
  header {
    position: relative;
    padding: 1rem 0;
    background: #050506; /* Solid background since it's no longer fixed */
  }
  .hero {
    padding-top: 2rem;
    padding-bottom: 3rem;
    min-height: auto !important; 
  }
  .hero-container {
    gap: 1.5rem !important;
    flex-direction: column !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .neon-hero {
    flex-direction: column !important;
    text-align: center !important;
    padding-top: 1rem !important;
    gap: 2rem !important;
  }
  .neon-hero .hero-left {
    text-align: center !important;
  }
  .neon-hero .hero-left .hero-name {
    font-size: 3.5rem !important;
    margin-bottom: 0.5rem !important;
  }
  .neon-hero .hero-left h1 {
    font-size: 1.5rem !important;
  }
  .neon-hero .hero-left p {
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem !important;
  }
  /* Replace top-stroke with a massive 3D glowing orb behind the image on mobile */
  .neon-image-wrapper::before {
    content: '';
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    width: 280px !important;
    height: 280px !important;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.4) 0%, transparent 70%) !important;
    transform: translate(-50%, -50%) !important;
    opacity: 1 !important;
    z-index: -1;
    border-radius: 50%;
    box-shadow: none !important;
  }
  .hero h1 { font-size: 2rem !important; }
  .section-title { font-size: 2.2rem !important; }
  
  .nav-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem 1.5rem;
  }
  .logo {
    font-size: 1.5rem;
  }
  header .cta-button {
    display: none;
  }
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }
  .hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: 0.3s;
  }
  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0 0.5rem 0;
  }
  .nav-links.active {
    display: flex;
  }
  
  .container { padding: 0 1.5rem; }
  
  .hero .container {
    gap: 1.5rem !important;
    text-align: center !important;
    align-content: center !important;
    justify-content: center !important;
  }
  .hero-content {
    text-align: center !important;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .glass-container, .contact-form, .service-card {
    padding: 1.5rem !important;
  }
  
  .page-hero {
  background-attachment: fixed;
    padding-top: 4rem;
    padding-bottom: 2rem;
  }
  .page-hero .section-title {
    text-align: center !important;
  }
  .page-hero p {
    text-align: center !important;
    margin: 0.5rem auto 0 auto;
  }
  
  .footer-links {
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  .cta-button {
    font-size: 0.95rem !important;
    padding: 0.8rem 1.5rem !important;
    max-width: 100% !important;
    white-space: normal !important;
    line-height: 1.4 !important;
  }
  
  footer img {
    height: 120px !important;
    margin: 0 auto 1rem auto !important;
    display: block !important;
  }
  
  .logo img {
    height: 80px !important;
  }
  
  /* Fix huge clamp text on mobile if needed */
  .gsap-hero-title { font-size: 3rem !important; }
  .final-cta h2 { font-size: 2.5rem !important; }
}


/* Ultra-Premium Mobile UI Upgrades */
@media (max-width: 768px) {
  .neon-hero {
    flex-direction: column-reverse !important; /* Image on top, Text below */
    padding-top: 1rem !important;
    padding-bottom: 6rem !important; /* Extra space at bottom to prevent WhatsApp overlap */
    gap: 1.5rem !important;
  }
  
  .neon-hero .hero-right {
    padding: 1rem 0 !important;
  }
  
  /* Make the image smaller so it fits nicely on top */
  .neon-image-wrapper img {
    max-width: 250px !important;
    margin: 0 auto;
  }
  
  /* Futuristic Gradient Name */
  .neon-hero .hero-left .hero-name {
    font-size: 3.2rem !important;
  }
  
  .neon-hero .hero-left h1 {
    font-size: 1.5rem !important;
  }
  

  
  /* Floating CTA Button Slightly Smaller Than Full Width */
  .neon-hero .cta-button {
    width: fit-content !important;
    padding: 1rem 2.5rem !important;
    display: block !important;
    margin: 0 auto;
    background: linear-gradient(45deg, #0055ff, var(--accent-color));
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.5) !important;
    animation: pulseGlow 2s infinite alternate ease-in-out;
  }
  
  /* Fix WhatsApp Button overlapping on small screens */
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg {
    width: 25px;
    height: 25px;
  }
}

/* Floating Contact Widget (WhatsApp & Call) */
.floating-contact-widget {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  gap: 20px;
  z-index: 1000;
  background: rgba(10, 10, 12, 0.6);
  padding: 10px 20px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.floating-contact-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
}

.floating-contact-btn:hover {
  transform: scale(1.1);
}

.btn-whatsapp {
  background-color: #25D366;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

.btn-call {
  background-color: #007BFF;
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
}

/* Tooltip on hover */
.floating-contact-btn::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 75px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 10, 12, 0.9);
  color: #fff;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, bottom 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.floating-contact-btn:hover::before {
  opacity: 1;
  bottom: 85px;
}

/* Hide old whatsapp float */
.whatsapp-float {
  display: none !important;
}

/* Mobile Adjustments for Contact Widget */
@media (max-width: 768px) {
  .floating-contact-widget {
    bottom: 15px;
    gap: 15px;
    padding: 8px 15px;
  }
  .floating-contact-btn {
    width: 50px;
    height: 50px;
  }
  .floating-contact-btn svg {
    width: 25px;
    height: 25px;
  }
  .floating-contact-btn::before {
    display: none; /* Hide tooltips on mobile */
  }
}