body {
  background: url("../css/devops_bg.jpg") no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 0;
}

/* Overlay above image */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

/* Keep all content above overlay */
body > * {
  position: relative;
  z-index: 1;
}

/* ✨ Global Text Colors */
p, h1, h2, h3 {
  color: #f8f9fa;
}

/* 🦋 Hero Section */

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(0,0,0,0.7);
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

.hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.hero .italic {
  font-style: italic;
}

/* 🏷 Section Titles */
.section-title {
  color: #f8f9fa;
  font-size: 2.5rem;
  font-weight: bold;
}

/* 💜 Unified Violet Block Styling */
.hero-container,
.platform-container,
.why-built .container {
  background-color: rgba(86, 53, 178, 0.85); /* #5635b2 tone */
  color: #ffffff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(6px);
}

/* 🧩 Cards Styling */
/* Cards inside Platform Section */
/* Cards inside Platform Section */
.card {
  background: rgba(255, 255, 255, 0.1); /* transparent glass effect */
  color: #f8f9fa; /* light text */
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  padding: 20px;
}

/* Hover effect */
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(86, 53, 178, 0.5);
  border-color: rgba(255, 255, 255, 0.5);
}

.card h3 {
  color: #ffde59; /* golden accent for headings */
  font-weight: 600;
}

/* =================================
   NAVBAR VISIBILITY & ANCHORING
================================= */
/* =================================
   CUSTOM NAVBAR (FINAL)
================================= */

.custom-navbar {
  background: rgba(8, 10, 18, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 6px 22px rgba(0,0,0,0.35);
}

.navbar {
  backdrop-filter: blur(12px);
  background: rgba(10, 12, 22, 0.88) !important; /* stronger contrast */
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 18px rgba(0,0,0,0.35); /* subtle depth */
}

/* nav links */
.navbar-nav .nav-link {
  transition: all 0.25s ease;
  margin: 0 16px;
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: 0.35px;
  color: rgba(255,255,255,0.92) !important;

  text-shadow: 0 0 6px rgba(0,0,0,0.65); /* improves readability */
}

/* hover */
.navbar-nav .nav-link:hover {
  color: #a78bff !important;
  text-shadow: 0 0 10px rgba(167,139,255,0.85);
}

/* active page */
.navbar .nav-link.active {
  color: #ffffff !important;
  font-weight: 600;
  position: relative;
}

.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #7c5cff;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(124,92,255,0.8);
}

/* brand */
.navbar-brand {
  letter-spacing: 0.6px;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0,0,0,0.75);
}

.navbar-brand:hover {
  color: #ffffff;
}


/* 💬 Why I Built This */
.why-built p {
  margin-bottom: 1.2rem;
  font-size: 1.25rem;
  line-height: 1.8;
}

/* ⚙️ Footer */
footer {
  background-color: rgba(0, 0, 0, 0.7) !important;
  color: #fff;
  font-size: 0.95rem;
}

/* 📱 Responsive Tweaks */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .hero p, .why-built p {
    font-size: 1.05rem;
  }
}

/* projects css */
.section-title {
  color: #f8f9fa;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.projects-intro p {
  font-size: 1.15rem;
  line-height: 1.7;
}

.projects-intro .lead {
  font-size: 1.25rem;
}

.cicd-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 1.05rem;
}

.hero-container {
  background-color: rgba(86, 53, 178, 0.85);
  color: #ffffff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(6px);
}

.pipeline-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
}

.pipeline-status {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.pipeline-meta {
  font-size: 0.95rem;
  opacity: 0.85;
}

.pipeline-stages ul {
  list-style: none;
  padding-left: 0;
}

.pipeline-stages li {
  display: flex;
  align-items: center;
  margin-bottom: 0.4rem;
}

.status-dot,
.stage-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 10px;
}

.success {
  color: #6ee7b7;
}

.success .status-dot,
.success .stage-dot {
  background-color: #6ee7b7;
}
.pipeline-card {
  margin-top: 20px;
}
.section-intro {
  font-size: 1.05rem;
  font-weight: 500;
  opacity: 0.92;
  margin-bottom: 1rem;
}
.deploy-row:hover,
.pod-row:hover {
  background: rgba(255,255,255,0.06) !important;
}
.disk-container {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.disk-bar {
  position: relative;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border: 3px solid #9333ea;  /* Purple border */
  border-radius: 20px;
  overflow: hidden;
}

.disk-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #fbbc04;
  border-radius: 16px;
  transition: width 0.6s ease;
  z-index: 1;
}

.disk-text {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  color: #000 !important;          /* BLACK text */
  font-weight: 800 !important;
  font-size: 15px !important;
  z-index: 10 !important;         /* WAY above fill */
  text-shadow: 
    0 1px 2px rgba(255,255,255,1), 
    0 0 4px rgba(255,255,255,0.8) !important;  /* Heavy white glow */
  font-family: -apple-system, sans-serif !important;
}
.disk-fill {
  min-width: 2px;
}
label {
  color: #333;
  font-weight: 600;
}
/* 🔷 HERO SECTION POLISH */
.hero-container {
  margin: 30px auto 30px auto;
  max-width: 1100px;
}

/* 🟢 SUCCESS / ERROR ALERT */
.alert-success,
.alert-danger {
  max-width: 700px;
  margin: 0 auto 25px auto;
  border-radius: 10px;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* ================= CONTACT PAGE SINGLE CARD ================= */


.contact-wrapper {
  padding: 40px 20px 60px 20px;
  display: flex;
  justify-content: center;
}

.contact-card {
  text-align: center; 
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  width: 100%;
  max-width: 1200px;
  padding: 45px 55px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  background: linear-gradient(135deg, #3b2a87, #5635b2);
  backdrop-filter: blur(10px);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 25px 70px rgba(0,0,0,0.45);
  color: #ffffff;
}

.contact-card h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.contact-card h1::after {
  content: " 🤝";
}

.contact-subtext {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 12px;  
  font-weight: 500;
  line-height: 1.9;
}

/* form inside card */
.contact-card .form-control {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.25);
  color: #ffffff;
  border-radius: 10px;
  padding: 8px 12px;
}

.contact-card label {
  font-weight: 600;
  margin-bottom: 6px;
  font-family: 'Poppins', sans-serif;
}

.contact-card button {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  border: none;
  border-radius: 10px;
  padding: 10px 28px;
  box-shadow: 0 14px 30px rgba(124,58,237,0.45);
}
.contact-card p {
  font-size: 1.2rem;
  line-height: 1.9;
  font-weight: 500;
  max-width: 900px;
  margin: 0 auto 14px auto;
  font-family: 'Poppins', sans-serif !important;
}

.contact-hero {
  margin-bottom: 10px;   
  padding-bottom: 5px;
}

.contact-form {
  text-align: left;
  margin-top: 5px;
}
.contact-form .mb-3 {
  margin-bottom: 0.8rem !important;
}
.contact-form label {
  color: #ffffff !important;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
  margin-bottom: 4px; 
}

.contact-form {
  padding: 28px 34px;
  margin-top: 5px;  
}
.contact-divider {
  border-color: rgba(255,255,255,0.15);
  margin: 8px auto 14px auto; 
  width: 75%;
}
.highlight-text {
  color: #ffd166;   /* soft gold */
  font-weight: 600;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.contact-link {
  color: #ffde59;
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.contact-link::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  bottom: -2px;
  background: #ffde59;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.contact-link:hover::after {
  transform: scaleX(1);
}
/* =========================================
   DASHBOARD COMPACT SPACING (PRO MODE)
========================================= */

/* Reduce vertical space between main sections */
.projects-intro {
  padding-top: 1.8rem !important;
  padding-bottom: 1rem !important;
}

.cicd-section,
.k3s-section,
.observability-section {
  padding-top: 1.2rem !important;
  padding-bottom: 1.2rem !important;
}

/* Reduce inner container padding */
.hero-container {
  padding: 1.4rem 1.6rem !important;
  margin-bottom: 0.8rem !important;
}

/* Tighten headings */
.section-title {
  margin-bottom: 0.8rem !important;
}

/* Tighten intro text spacing */
.section-intro,
.cicd-intro {
  margin-bottom: 0.8rem !important;
}

/* Reduce gap above result cards */
.pipeline-card {
  margin-top: 1rem !important;
}
#jobDescription {
  transition: all 0.3s ease;
}

#jobDescription.active {
  background: rgba(255,193,7,0.1);
  border-left: 4px solid #ffc107;
  padding: 8px 12px;
}
.job-desc-box {
  display: none;
  margin-top: 8px;
  font-size: 0.85rem;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid #ffc107;
  padding: 8px 12px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
}

/* When JS adds .active */
.job-desc-box.active {
  display: block;
  animation: fadeInDesc 0.25s ease forwards;
}

.job-desc-box strong {
  color: #ffc107;
}
.job-desc-box {
    font-size: 1.05rem;      /* overall description text */
    line-height: 1.6;
}

.job-desc-box strong {
    font-weight: 600;       /* bolder than normal */
    color: #ffc107;         /* Bootstrap warning yellow */
}

@keyframes fadeInDesc {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 600px) {
  .ops-card {
    padding: 22px 18px;
  }
}
/* ===== Automation Page ===== */

.page-section {
  padding-top: 30px;
  padding-bottom: 40px;
}

/* ===== Automation Feature Cards ===== */

.feature-card {
  background: linear-gradient(135deg, #5a3fbf, #4b2fa3);
  color: #ffffff;
  border-radius: 14px;
  padding: 26px 24px;
  height: 100%;

  border: 1px solid rgba(255,255,255,0.18);

  box-shadow:
    0 10px 25px rgba(0,0,0,0.25),
    0 0 20px rgba(120, 90, 255, 0.25);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* hover lift like homepage */
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 18px 35px rgba(0,0,0,0.35),
    0 0 25px rgba(120, 90, 255, 0.35);
}

.feature-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.feature-card ul {
  padding-left: 18px;
  margin: 0;
}

.feature-card li {
  margin-bottom: 6px;
  font-size: 0.9rem;
}
/* =====================================================
   GLOBAL FONT RENDERING (EXACT homepage match)
===================================================== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =====================================================
   SECTION TITLE (homepage style)
===================================================== */
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2.8rem;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 12px;

  text-shadow:
    0 2px 8px rgba(0,0,0,0.55);
}

.section-title,
.showcase-title {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px;
  text-align: center;
  margin-bottom: 30px;
  color: #ffffff;
}

/* =====================================================
   PURPLE OUTER CONTAINER
===================================================== */
.section-container {
  background: linear-gradient(135deg, #5a3fbf, #4b2fa3);
  border-radius: 16px;
  padding: 16px;

  max-width: 1150px;      /* narrower = better center balance */
  margin: 36px auto;     /* centers perfectly */

  box-shadow:
    0 14px 30px rgba(0,0,0,0.22),
    0 0 24px rgba(120, 90, 255, 0.22);
}

/* =====================================================
   INNER GLASS PANEL
===================================================== */
.glass-card {
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 28px 32px; 
  border: 1px solid rgba(255,255,255,0.18);
}

/* =====================================================
   HEADINGS (Montserrat)
===================================================== */
.glass-card h3 {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.65rem;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

/* =====================================================
   BODY TEXT (inherits body Segoe UI)
===================================================== */
.glass-card p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.95);
}

/* =====================================================
   LIST STYLING (inherits body Segoe UI)
===================================================== */
.glass-card ul {
  padding-left: 18px;
  margin-top: 10px;
}

.glass-card li {
  font-size: 1.18rem;
  line-height: 1.6;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.95);
}

/* =====================================================
   UTILITIES
===================================================== */
.muted {
  opacity: 0.9;
  font-style: italic;
}

.section-container:not(:last-child) {
  margin-bottom: 34px;
}

.page-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* =====================================================
   MOBILE OPTIMIZATION
===================================================== */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
  }

  .section-container {
    margin: 22px 14px;
  }

  .glass-card {
    padding: 22px;
  }

  .glass-card h3 {
    font-size: 1.25rem;
  }

  .glass-card p,
  .glass-card li {
    font-size: 0.98rem;
  }
}