.section#certifications-home {
  background: radial-gradient(1200px 800px at 15% 10%, rgba(30,144,255,0.06), transparent 60%),
              radial-gradient(900px 700px at 85% 90%, rgba(45,212,191,0.06), transparent 60%),
              linear-gradient(135deg, #0b1220 0%, #0f1e3f 60%, #0c203f 100%);
  color: var(--text-light);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 992px) {
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 576px) {
  .cert-grid { grid-template-columns: 1fr; }
}

.cert-pill {
  display: flex;
  align-items: center;
  background: #121a2b;
  border: 1px solid rgba(229,238,252,0.08);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.cert-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e90ff 0%, #2dd4bf 100%);
  color: #0b1220;
  font-size: 1.6rem;
  margin-right: 0.9rem;
  box-shadow: 0 6px 20px rgba(30,144,255,0.35);
}

.cert-text h5 { margin: 0; color: var(--text-light); font-weight: 700; }
.cert-text .meta { color: var(--text-dim); font-size: 0.9rem; }

.cert-card .cert-body .btn { border-radius: 999px; }
/* Main Styles for Swapnil Mohite's Portfolio Website */

:root {
  --primary-color: #1e90ff; /* cyan-blue for links/buttons */
  --secondary-color: #00e3a5; /* teal accent inspired by image */
  --dark-color: #0b1220; /* deep navy background */
  --light-color: #0f1e3f; /* lighter navy surface */
  --gray-color: #94a3b8; /* slate gray */
  --success-color: #22c55e;
  --font-main: 'Poppins', sans-serif;
  --font-alt: 'Montserrat', sans-serif;
  /* Design system theme variables matching screenshots */
  --primary: #0b1220;        /* app background */
  --secondary: #1e90ff;      /* electric cyan/blue */
  --tertiary: #2dd4bf;       /* aqua/teal */
  --text-light: #e5eefc;     /* near-white text */
  --text-dim: #a6b3c9;       /* dimmed text */
}

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

body {
  font-family: var(--font-main);
  color: #e6f1ff; /* soft white text */
  background-color: #0a192f; /* deep navy blue */
  line-height: 1.6;
  position: relative;
}

/* subtle noise/gradient backdrop for premium dark theme */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 800px at 20% 10%, rgba(0, 194, 255, 0.04), transparent 60%),
    radial-gradient(1000px 700px at 80% 90%, rgba(147, 51, 234, 0.04), transparent 60%),
    linear-gradient(180deg, rgba(229,238,252,0.02), rgba(0,0,0,0.02));
  mix-blend-mode: screen;
  z-index: 0;
}

/* Neon utilities */
.neon-text-glow {
  text-shadow: 0 0 7px var(--secondary), 0 0 10px var(--secondary), 0 0 21px var(--secondary);
}

.neon-border-glow {
  box-shadow: 0 0 7px var(--secondary), 0 0 10px var(--secondary) inset;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--tertiary);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-alt);
  font-weight: 700;
}

/* Header */
.header {
  position: relative;
  height: 100vh;
  width: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

/* Special styling for the home page hero section */
.home-header {
  position: relative;
  height: 100vh;
  width: 100%;
  /* Use a professional gradient that matches what's shown in the screenshot */
  background: linear-gradient(135deg, #0d1d38 0%, #0c3b75 40%, #0c56a9 70%, #1475d1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
}

.home-header:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  /* Add subtle pattern overlay */
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239C92AC' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}

.home-header:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  z-index: 1;
}

.home-header .hero-content {
  position: relative;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2.5rem;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid rgba(229,238,252,0.08);
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 400;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Navigation */
.navbar {
  background-color: rgba(11, 18, 32, 0.85);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.5s ease;
  backdrop-filter: blur(12px);
}

.navbar.scrolled {
  background-color: rgba(11, 18, 32, 0.98);
  padding: 0.5rem 2rem;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-light);
}

.nav-link {
  margin: 0 1rem;
  font-weight: 600;
  color: var(--text-dim);
}

.nav-link.active, 
.nav-link:hover {
  color: var(--text-light);
  text-shadow: 0 0 8px rgba(29, 185, 254, 0.45);
}

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

/* Slightly lighter section surface for contrast against deep navy body */
.section.bg-light {
  background-color: #112240 !important; /* contrast surface */
}

.section-title {
  position: relative;
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
}

.section-title::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* About Section */
.about-img {
  border-radius: 0.5rem;
  overflow: hidden;
}

.about-img img {
  transition: all 1s;
}

.about-img:hover img {
  transform: scale(1.1);
}

.about-info .title-s {
  font-weight: 600;
  color: #9fb3d9; /* dim label on dark */
  text-transform: none;
  letter-spacing: 0.3px;
}

.about-info .title-box {
  margin-bottom: 1.5rem;
}

.about-info .title-box h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Animated key-value rows in About section */
.about-kv .mb-3 {
  background: #121a2b;
  border: 1px solid rgba(229,238,252,0.08);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-kv .mb-3::after {
  content: '';
  position: absolute;
  inset: -40% -40% auto -40%;
  height: 120px;
  background: radial-gradient(320px 100px at 20% 20%, rgba(30,144,255,0.10), rgba(45,212,191,0) 70%);
  filter: blur(18px);
  opacity: 0.45;
  pointer-events: none;
}

.about-kv .mb-3:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
  border-color: rgba(30,144,255,0.25);
}

.about-kv .title-s { color: #9ec5ff; font-weight: 700; }
.about-kv span:last-child { color: #e6f1ff; font-weight: 600; }

.about-kv a { color: #9ec5ff; text-decoration: none; }
.about-kv a:hover { color: #2dd4bf; }

/* Skills Section */
.skill-item {
  margin-bottom: 2rem;
}

.skill-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Experience and Education */
.timeline-box {
  position: relative;
  padding: 2rem;
  background-color: #121a2b;
  border-radius: 0.5rem;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.timeline-date {
  color: var(--primary-color);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.timeline-company {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Projects */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: all 0.5s ease;
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-img {
  position: relative;
  overflow: hidden;
}

.project-img img {
  width: 100%;
  height: auto;
  transition: all 0.5s ease;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 120, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  opacity: 0;
  transition: all 0.5s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-content {
  padding: 1.5rem;
  background: #0f1a2e;
  border-top: 1px solid rgba(229,238,252,0.08);
}

/* Dark modal theme for project details */
.modal-content {
  background-color: #112240;
  color: #e6f1ff;
  border: 1px solid rgba(229,238,252,0.08);
  box-shadow: 0 25px 60px rgba(0,0,0,0.45);
}

.modal-header, .modal-footer {
  border-color: rgba(229,238,252,0.08);
  background-color: #0f1a2e;
}

.modal-title { color: #e6f1ff; }

.modal-body h5 { color: #e6f1ff; }
.modal-body p, .modal-body li { color: #d7e3f5; }

.btn-close {
  filter: invert(1) grayscale(100%);
  opacity: 0.8;
}

/* Project tech badges inside cards and modals */
.project-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.project-category {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Tech badges */
.project-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.badge-tech {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0b1220;
  background: #e5eefc;
}

.badge-tech.aws { background: linear-gradient(90deg, #ffb84d, #ffd699); }
.badge-tech.k8s { background: linear-gradient(90deg, #90b4ff, #c7d2fe); }
.badge-tech.docker { background: linear-gradient(90deg, #7cc4ff, #bae6fd); }
.badge-tech.helm { background: linear-gradient(90deg, #a7f3d0, #d1fae5); }
.badge-tech.terraform { background: linear-gradient(90deg, #c4b5fd, #ddd6fe); }
.badge-tech.python { background: linear-gradient(90deg, #fde68a, #fef3c7); }
.badge-tech.github { background: linear-gradient(90deg, #d1d5db, #e5e7eb); }
.badge-tech.argo { background: linear-gradient(90deg, #fda4af, #fecdd3); }

/* Animated Services Icons grid (Skills page) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 992px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 576px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  background: #121a2b;
  border: 1px solid rgba(229,238,252,0.08);
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1rem 1.25rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  animation: fadeInRise 0.6s ease both;
}

.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.45); }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b1220;
  font-size: 1.6rem;
  background: linear-gradient(135deg, #1e90ff 0%, #2dd4bf 100%);
  box-shadow: 0 8px 26px rgba(30,144,255,0.35);
}

.service-title { color: var(--text-light); font-weight: 700; margin: 0 0 0.25rem 0; }
.service-sub { color: var(--text-dim); font-size: 0.9rem; }

/* subtle animated glow ring */
.service-card::after {
  content: '';
  position: absolute;
  inset: -40% -40% auto -40%;
  height: 180px;
  background: radial-gradient(400px 120px at 20% 20%, rgba(30,144,255,0.15), rgba(45,212,191,0) 70%);
  filter: blur(20px);
  opacity: 0.5;
  animation: serviceGlow 7s ease-in-out infinite;
}

@keyframes serviceGlow {
  0%, 100% { transform: translateX(0) translateY(0); opacity: 0.45; }
  50% { transform: translateX(15px) translateY(6px); opacity: 0.7; }
}

/* staggered entrance for service cards */
.services-grid .service-card:nth-child(1) { animation-delay: .0s; }
.services-grid .service-card:nth-child(2) { animation-delay: .05s; }
.services-grid .service-card:nth-child(3) { animation-delay: .1s; }
.services-grid .service-card:nth-child(4) { animation-delay: .15s; }
.services-grid .service-card:nth-child(5) { animation-delay: .2s; }
.services-grid .service-card:nth-child(6) { animation-delay: .25s; }
.services-grid .service-card:nth-child(7) { animation-delay: .3s; }
.services-grid .service-card:nth-child(8) { animation-delay: .35s; }
.services-grid .service-card:nth-child(9) { animation-delay: .4s; }
.services-grid .service-card:nth-child(10) { animation-delay: .45s; }
.services-grid .service-card:nth-child(11) { animation-delay: .5s; }

@keyframes fadeInRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* themed icon backgrounds */
.service-icon.aws { background: linear-gradient(135deg, #ffb84d, #ffd699); }
.service-icon.docker { background: linear-gradient(135deg, #7cc4ff, #bae6fd); }
.service-icon.k8s { background: linear-gradient(135deg, #90b4ff, #c7d2fe); }
.service-icon.gha { background: linear-gradient(135deg, #d1d5db, #e5e7eb); }
.service-icon.argo { background: linear-gradient(135deg, #fda4af, #fecdd3); }
.service-icon.tf { background: linear-gradient(135deg, #c4b5fd, #ddd6fe); }
.service-icon.git { background: linear-gradient(135deg, #f59e0b, #fde68a); }
.service-icon.dynatrace { background: linear-gradient(135deg, #34d399, #6ee7b7); }
.service-icon.linux { background: linear-gradient(135deg, #60a5fa, #93c5fd); }
.service-icon.python { background: linear-gradient(135deg, #fde68a, #fef3c7); }
.service-icon.js { background: linear-gradient(135deg, #facc15, #fde68a); }

/* Certifications section */
.cert-card {
  background: #121a2b;
  border: 1px solid rgba(229,238,252,0.08);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  overflow: hidden;
}

.cert-card .cert-body { padding: 1rem 1.25rem; }
.cert-logo { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.cert-title { font-weight: 700; }
.cert-meta { color: var(--text-dim); font-size: 0.9rem; }
.cert-caption { text-align: left; }

/* Contact Section */
.contact-box {
  padding: 3rem;
  background-color: #121a2b;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
}

.contact-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.socials {
  padding: 1.5rem 0;
}

.socials ul {
  list-style: none;
  display: flex;
  justify-content: center;
}

.socials ul li {
  margin: 0 1rem;
}

.socials .ico-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
}

.socials .ico-circle:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
}

/* Form Controls */
.form-control {
  padding: 0.8rem;
  margin-bottom: 1.5rem;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out;
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 120, 255, 0.25);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.8rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 120%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(30,144,255,0.15) 50%, transparent 100%);
  transform: skewX(-20deg);
}

.btn-primary:hover::after {
  left: 100%;
  transition: left 0.6s ease;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: white;
  text-align: center;
  padding: 2rem 0;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .contact-box {
    padding: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content h2 {
    font-size: 1.25rem;
  }
  
  .navbar {
    padding: 0.5rem 1rem;
  }
}

/* Modern Hero Section Styles */
.hero-section {
  background: linear-gradient(135deg, #0b1220 0%, #0f1e3f 50%, #0c56a9 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Glassmorphism card for hero text */
.hero-content {
  background: rgba(229,238,252,0.06);
  border: 1px solid rgba(229,238,252,0.08);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem;
}

/* Animated gradient backdrop and decorative orbs */
.hero-animated-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-animated-bg::before {
  content: '';
  position: absolute;
  inset: -50% -50% -50% -50%;
  background: conic-gradient(from 0deg, #0c56a9, #1475d1, #764ba2, #0f1e3f, #0c56a9);
  animation: gradientShift 18s linear infinite;
  filter: blur(80px) saturate(120%);
  opacity: 0.35;
}

.orb {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(30,144,255,0.15), rgba(30,144,255,0) 60%),
              radial-gradient(circle at 70% 70%, rgba(30,144,255,0.08), rgba(30,144,255,0) 50%);
  box-shadow: 0 30px 80px rgba(12, 86, 169, 0.35);
  mix-blend-mode: screen;
  opacity: 0.45;
  animation: floatSlow 10s ease-in-out infinite;
}

.orb.blue { background-color: #1475d1; }
.orb.purple { background-color: #764ba2; }
.orb.cyan { background-color: #22b8cf; }
.orb.green { background-color: #2ecc71; }

.orb.o1 { top: 10%; left: -60px; animation-delay: 0s; }
.orb.o2 { bottom: 8%; right: -80px; animation-delay: 2s; }
.orb.o3 { top: 45%; right: 20%; width: 160px; height: 160px; animation-delay: 1s; }
.orb.o4 { top: 15%; right: 5%; width: 280px; height: 280px; animation-delay: 3s; }

@keyframes gradientShift {
  0% { transform: rotate(0deg) scale(1.1); }
  50% { transform: rotate(180deg) scale(1.2); }
  100% { transform: rotate(360deg) scale(1.1); }
}

@keyframes floatSlow {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -25px, 0); }
}

.greeting-text {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-dim);
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* Gradient text utility for impressive name */
.text-gradient-name {
  background: linear-gradient(90deg, #1e90ff 0%, #2dd4bf 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Subtle gradient for brand text */
.text-gradient-brand {
  background: linear-gradient(90deg, #e5eefc 0%, #9bdcf0 45%, #e5eefc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.8rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 500px;
}

/* Make the skills/keywords line in hero more readable on dark bg */
.hero-keywords {
  color: #d7e3f5;
  font-weight: 500;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-link.linkedin {
  background: #0077b5;
  color: white;
}

.social-link.github {
  background: #333;
  color: white;
}

.social-link.twitter {
  background: #1da1f2;
  color: white;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-lg {
  padding: 12px 30px;
  font-size: 1.1rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-primary {
  border: 2px solid #007bff;
  color: #007bff;
  background: transparent;
}

.btn-outline-primary:hover {
  background: #007bff;
  color: white;
  transform: translateY(-2px);
}

.profile-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-image-wrapper {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: conic-gradient(from 0deg, #1475d1, #764ba2, #22b8cf, #1475d1);
  padding: 6px;
  animation: ringRotate 12s linear infinite;
  transform-style: preserve-3d;
  transition: transform 0.4s ease;
}

.profile-image-wrapper:hover {
  transform: perspective(900px) rotateY(-6deg) rotateX(4deg) scale(1.02);
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Halo glow and gradient blob behind the image */
.hero-image {
  position: relative;
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: -60px -40px -60px -40px;
  background: radial-gradient(600px 300px at 70% 30%, rgba(20, 117, 209, 0.25), rgba(0,0,0,0) 60%),
              radial-gradient(500px 260px at 20% 70%, rgba(118, 75, 162, 0.25), rgba(0,0,0,0) 60%);
  filter: blur(20px);
  z-index: 0;
}

.profile-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  box-shadow: inset 0 0 40px rgba(229,238,252,0.08), 0 20px 80px rgba(20, 117, 209, 0.35);
  pointer-events: none;
}

@keyframes ringRotate {
  0% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(90deg); }
  100% { filter: hue-rotate(360deg); }
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  will-change: transform;
}

.floating-icon.aws-icon {
  background: #ff9900;
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.floating-icon.docker-icon {
  background: #2496ed;
  bottom: 20%;
  right: 5%;
  animation-delay: 1.5s;
}

.floating-icon.python-icon {
  background: #3776ab;
  top: 30%;
  left: 5%;
  animation-delay: 3s;
}

.floating-icon.k8s-icon {
  background: #326ce5;
  bottom: 10%;
  left: 15%;
  animation-delay: 4.5s;
}

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

/* Modern Skills Section */
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.skill-category-card {
  background: #121a2b;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(255,255,255,0.06);
}

.skill-category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.skill-category-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.skill-category-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e90ff 0%, #2dd4bf 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-right: 1rem;
}

.skill-category-header h4 {
  margin: 0;
  color: var(--text-light);
  font-size: 1.2rem;
  font-weight: 600;
}

.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.skill-item {
  display: flex;
  align-items: center;
  background: rgba(229,238,252,0.04);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: all 0.3s ease;
  border: 1px solid rgba(229,238,252,0.08);
}

.skill-item:hover {
  background: linear-gradient(90deg, rgba(30,144,255,0.35), rgba(45,212,191,0.35));
  color: white;
  transform: translateY(-2px);
}

.skill-item i {
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

/* Additional responsive styles for new components */
@media (max-width: 768px) {
  .profile-image-wrapper {
    width: 250px;
    height: 250px;
  }
  
  .floating-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .skill-category-card {
    padding: 1.5rem;
  }
  
  .skill-items {
    gap: 0.5rem;
  }
  
  .skill-item {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
}

/* Dark Mode Styles */
.dark-mode {
  background-color: #1a1a1a;
  color: #ffffff;
}

.dark-mode .navbar {
  background-color: rgba(26, 26, 26, 0.95) !important;
  border-bottom: 1px solid #333;
}

.dark-mode .navbar-brand,
.dark-mode .nav-link {
  color: #ffffff !important;
}

.dark-mode .section {
  background-color: #1a1a1a;
}

.dark-mode .section.bg-light {
  background-color: #2a2a2a !important;
}

.dark-mode .skill-category-card {
  background-color: #2a2a2a;
  border-color: #333;
}

.dark-mode .skill-item {
  background-color: #333;
  border-color: #444;
  color: #ffffff;
}

.dark-mode .skill-item:hover {
  background-color: #007bff;
}

.dark-mode .card {
  background-color: #2a2a2a;
  border-color: #333;
}

.dark-mode .btn-outline-primary {
  border-color: #007bff;
  color: #007bff;
}

.dark-mode .btn-outline-primary:hover {
  background-color: #007bff;
  color: white;
}

/* Navbar scroll effect */
.navbar {
  transition: all 0.3s ease;
  background-color: rgba(11, 18, 32, 0.95);
  backdrop-filter: blur(10px);
}

.navbar-scrolled {
  background-color: rgba(11, 18, 32, 0.98) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.dark-mode .navbar {
  background-color: rgba(26, 26, 26, 0.95);
}

.dark-mode .navbar-scrolled {
  background-color: rgba(26, 26, 26, 0.98) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Animation classes */
.animate-in {
  animation: slideInUp 0.6s ease-out forwards;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth transitions for all elements */
* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
} 