:root {
  /* Core Colors */
  --color-primary: #0a0f18; /* Deep midnight navy */
  --color-secondary: #141c2b; /* Rich charcoal black */
  --color-accent-gold: #d4af37; /* Elegant gold */
  --color-accent-teal: #00f0ff; /* Teal cyan glow */
  --color-text-main: #ffffff;
  --color-text-muted: #a0aec0;
  
  /* Gradients */
  --gradient-dark: linear-gradient(135deg, #0a0f18 0%, #141c2b 100%);
  --gradient-gold: linear-gradient(135deg, #d4af37 0%, #ffdf73 100%);
  --gradient-glow: linear-gradient(90deg, rgba(212,175,55,0) 0%, rgba(212,175,55,0.2) 50%, rgba(212,175,55,0) 100%);
  
  /* Typography */
  --font-primary: 'Manrope', sans-serif;
  --font-display: 'Clash Display', sans-serif;
  
  /* Effects */
  --glass-bg: rgba(20, 28, 43, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow-glow: 0 0 30px rgba(0, 240, 255, 0.15);
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Setup */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none; /* Custom cursor */
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-primary);
  color: var(--color-text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: 1px solid var(--color-accent-gold);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: width 0.3s, height 0.3s, background-color 0.3s;
  mix-blend-mode: difference;
}

.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 4px;
  height: 4px;
  background-color: var(--color-accent-teal);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 10000;
}

.hover-state .custom-cursor {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: transparent;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
}

.title-lg {
  font-size: clamp(3rem, 6vw, 6rem);
  letter-spacing: -0.02em;
}

.title-md {
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.01em;
}

.text-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Layout Utilities */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: 8rem 0;
  position: relative;
}

/* Glassmorphism */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(10, 15, 24, 0.85);
  backdrop-filter: blur(20px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--glass-border);
}

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

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
}

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

.nav-links a {
  color: var(--color-text-main);
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent-gold);
  transition: var(--transition-smooth);
}

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

.nav-links a:hover::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--color-accent-gold);
  color: var(--color-primary);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1); /* For GSAP animation */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, var(--color-primary) 0%, rgba(10, 15, 24, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin: 1.5rem 0 3rem;
  max-width: 600px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.about-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text h2 {
  margin-bottom: 2rem;
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  padding: 3rem 2rem;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-accent-gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
  opacity: 1;
}

.service-content {
  position: relative;
  z-index: 1;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--color-accent-gold);
  margin-bottom: 1.5rem;
}

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

.service-card p {
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-list {
  list-style: none;
}

.service-list li {
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.service-list li::before {
  content: '→';
  color: var(--color-accent-teal);
  margin-right: 10px;
}

/* Showcase Section */
.showcase-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 400px;
}

.gallery-item:nth-child(1) { grid-column: span 8; }
.gallery-item:nth-child(2) { grid-column: span 4; }
.gallery-item:nth-child(3) { grid-column: span 4; }
.gallery-item:nth-child(4) { grid-column: span 8; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
  opacity: 1;
}

/* NRI Section */
.nri-section {
  position: relative;
  overflow: hidden;
}

.nri-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.nri-globe {
  width: 100%;
  animation: pulseGlow 4s infinite alternate;
}

@keyframes pulseGlow {
  0% { filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.2)); }
  100% { filter: drop-shadow(0 0 40px rgba(0, 240, 255, 0.6)); }
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: var(--color-secondary);
  border-radius: 30px;
  padding: 4rem;
  margin-top: 4rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 4rem 5% 2rem;
  text-align: center;
}

.footer-quote {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 1rem; }
  .nav-links a { font-size: 0.8rem; }
  .nav-container { flex-direction: column; }
  .title-lg { font-size: 2.5rem; }
  .about-grid, .nri-content, .contact-wrapper { grid-template-columns: 1fr; gap: 2rem; }
  .gallery-item:nth-child(n) { grid-column: span 12; }
  .contact-wrapper { padding: 2rem; }
  .custom-cursor, .custom-cursor-dot { display: none; }
  * { cursor: auto; }
  .hero { height: auto; min-height: 100vh; padding: 150px 0 80px; }
  .hero-bg img { height: 100vh; }
}
