:root {
  --primary: #00bfa5; /* Vibrant Teal */
  --primary-dark: #009688;
  --secondary: #334155; /* Slate */
  --bg: #fdfdfd; /* High-key White */
  --text: #1e293b; /* Slate-800 */
  --text-muted: #64748b; /* Slate-500 */
  --glass: rgba(255, 255, 255, 0.45);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  --border: rgba(0, 191, 165, 0.1);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  background-color: var(--bg);
  /* Removed dot pattern to let section images breathe */
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--secondary);
}

/* Glassmorphism Utility */
.glass {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  border-radius: 24px;
}

.content-box-light {
  background: #ffffff; /* Solid White Shield */
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(241, 245, 249, 1);
}

/* Navbar Style (Luminous) */
.navbar {
  transition: var(--transition);
  padding: 1.5rem 0;
  background: transparent !important;
}

.navbar.shadow-sm {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
}

.nav-link {
  color: var(--secondary) !important;
  font-weight: 600;
  margin: 0 0.8rem;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary) !important;
}

/* Luminous Hero Section (Parallax) */
#home {
  background-color: #ffffff !important;
  background: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)), url('../img/light-hero-bg.png') !important;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

/* About Section (Luminous Circuitry) */
#about {
  background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url('../img/about-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Arsenal Section (Luminous Matrix) */
#arsenal {
  background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url('../img/arsenal-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Cases Section (Luminous Nodes) */
#cases {
  background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url('../img/cases-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Contact Section (Luminous Flow) */
#contact {
  background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url('../img/contact-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Profile Image */
.img-profile {
  border: 10px solid white;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.img-profile:hover {
  transform: scale(1.05) rotate(1deg);
}

.typed-text-output {
  color: var(--primary);
  font-weight: 800;
}

/* General Layout Utilities */
.text-primary {
  color: var(--primary) !important;
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
  border-width: 2px;
  border-radius: 30px;
  padding: 0.8rem 2.2rem;
  font-weight: 700;
  transition: var(--transition);
  background: transparent;
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 10px 30px rgba(0, 191, 165, 0.25);
  transform: translateY(-3px);
}

/* Attractive Skill Cards */
.skill-item {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: 2.5rem 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  height: 100%;
}

.skill-item:hover {
  border-color: var(--primary);
  transform: translateY(-12px);
  background: white;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.skill-item i {
  background: linear-gradient(135deg, var(--primary), #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2rem;
}

/* Case Study Cards (Premium Aesthetics) */
.project-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.project-card:hover {
  background: white;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
  transform: scale(1.01);
}

.project-header {
  height: 8px;
  background: linear-gradient(to right, var(--primary), #0ea5e9);
}

.badge-sdet {
  background: rgba(0, 191, 165, 0.1);
  color: var(--primary);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 6px 14px;
  border: 1px solid rgba(0, 191, 165, 0.2);
}

/* Impact Metrics */
.metric-box {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 24px;
  text-align: center;
  border: 1px solid white;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.metric-box:hover {
  transform: translateY(-5px);
  background: white;
}

.metric-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary);
  display: block;
}

/* Section Headings */
.display-1 {
  color: rgba(241, 245, 249, 0.6);
  font-weight: 900;
  text-transform: uppercase;
}

/* Contact Form */
.contact-form {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  padding: 4rem 3rem;
  border-radius: 32px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
  border: 1px solid white;
}

.form-control {
  border: 2px solid #f1f5f9;
  border-radius: 12px;
  padding: 1.2rem;
  background: white;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 5px rgba(0, 191, 165, 0.1);
}

/* Responsive Overrides */
@media (max-width: 991px) {
  #home, #about, #arsenal, #cases {
    background-attachment: scroll !important;
  }
}
