/* ==========================================================================
   MOHD IRSHAD - PORTFOLIO STYLESHEET (ENHANCED EXPERTISE SECTION)
   ========================================================================== */

:root {
  /* Exact Colors from Reference Mockup */
  --bg-page: #faf8f5;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --border-card: #f0ede6;
  --border-subtle: #eae6de;
  
  --text-dark: #1e1b2e;
  --text-body: #555261;
  --text-muted: #8b8798;
  
  /* Gradients */
  --grad-name: linear-gradient(90deg, #2e1065 0%, #7e22ce 25%, #be185d 55%, #ea580c 85%, #f97316 100%);
  --grad-title-accent: linear-gradient(90deg, #7e22ce 0%, #be185d 50%, #ea580c 100%);
  --grad-btn-cv: linear-gradient(90deg, #311042 0%, #6b21a8 30%, #be185d 70%, #ea580c 100%);
  --grad-btn-hire: linear-gradient(135deg, #831843 0%, #be185d 40%, #4c1d95 100%);
  --grad-aura: linear-gradient(135deg, #ff7a00 0%, #e52e71 40%, #7928ca 80%, #4f46e5 100%);
  
  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Shadows */
  --shadow-card: 0 6px 20px -3px rgba(0, 0, 0, 0.04), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
  --shadow-float: 0 14px 35px -6px rgba(0, 0, 0, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
  --shadow-btn: 0 8px 25px rgba(190, 24, 93, 0.3);
}

/* Reset & Global */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ==========================================================================
   CUSTOM MOUSE CURSOR EFFECT
   ========================================================================== */
.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #7c3aed, #ec4899, #f97316);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.9), 0 0 6px #ec4899;
  transition: width 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
              height 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.2s ease,
              opacity 0.2s ease;
  opacity: 0;
}

.custom-cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(124, 58, 237, 0.5);
  background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999998;
  transform: translate(-50%, -50%);
  transition: width 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), 
              height 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), 
              border-color 0.25s ease, 
              background 0.25s ease, 
              box-shadow 0.25s ease,
              opacity 0.25s ease;
  opacity: 0;
}

.custom-cursor-dot.visible,
.custom-cursor-outline.visible {
  opacity: 1;
}

/* Hover over interactive elements */
body.cursor-hover .custom-cursor-dot {
  width: 6px;
  height: 6px;
  background: #f97316;
  box-shadow: 0 0 14px rgba(249, 115, 22, 0.9);
}

body.cursor-hover .custom-cursor-outline {
  width: 56px;
  height: 56px;
  border-color: #7c3aed;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.16) 0%, rgba(236, 72, 153, 0.08) 60%, transparent 80%);
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.28);
}

/* Click state */
body.cursor-click .custom-cursor-dot {
  transform: translate(-50%, -50%) scale(1.6);
  background: #ec4899;
}

body.cursor-click .custom-cursor-outline {
  transform: translate(-50%, -50%) scale(0.75);
  border-color: #ec4899;
  background: rgba(236, 72, 153, 0.2);
}

/* Hide on touch devices */
@media (hover: none) and (pointer: coarse) {
  .custom-cursor-dot,
  .custom-cursor-outline {
    display: none !important;
  }
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Ambient Background Blur Highlights */
.bg-ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}
.glow-hero-top {
  top: -50px;
  right: 5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.18) 0%, rgba(124, 58, 237, 0.12) 60%, transparent 100%);
}
.glow-hero-left {
  top: 150px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.12) 0%, rgba(236, 72, 153, 0.08) 60%, transparent 100%);
}

/* Preloader */
.preloader {
  display: none !important;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (Managed by css/animations.css)
   ========================================================================== */

/* ==========================================================================
   LOWER WHITE SURFACE CONTAINER
   ========================================================================== */
.lower-white-surface {
  position: relative;
  background: var(--bg-surface);
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  padding-top: 2rem;
  padding-bottom: 5.5rem;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.02);
  margin-top: 0;
}

