
/* Base Styles & Variables */
:root {
  --primary: #4f46e5; /* Indigo for job portal */
  --primary-dark: #4338ca;
  --secondary: #f59e0b;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #64748b;
  --light-gray: #e2e8f0;
  --success: #10b981;
  
  --max-width: 1200px;
  --border-radius: 12px;
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --dark: #f8fafc;
    --light: #1e293b;
    --gray: #94a3b8;
    --light-gray: #334155;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.25), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  transition: background-color 0.3s ease;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 2vw, 2.5rem);
      margin-top: 75px;   
}

h2 {
  font-size: clamp(1.75rem, 1vw, 1.5rem);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

h3 {
  font-size: clamp(1rem, 3vw, 1.75rem);
}

p {
  margin-bottom: 1.5rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--gray);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
}

/* Header */
.case-study-header {
      padding: 100px 0 150px;

  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
  margin-bottom: 0rem;
  position: relative;
  overflow: hidden;
}

.case-study-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.subtitle {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  position: relative;
}

.case-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  position: relative;
}

.industry-tag {
  background: white;
  color: var(--primary-dark);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
}

.duration {
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  backdrop-filter: blur(5px);
}

/* Case Study Sections */
.case-overview {
  padding: 4rem 0;
}

.overview-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.overview-image img:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.results-highlight {
  background: rgba(16, 185, 129, 0.1);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-top: 2rem;
}

.results-highlight h3 {
  color: var(--success);
  margin-bottom: 1.5rem;
}

.results-highlight ul {
  list-style: none;
}

.results-highlight li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.75rem;
}

.results-highlight li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

/* Challenge Section */
.challenge-section {
  padding: 4rem 0;
  background: var(--light-gray);
}

.challenge-section ul {
  list-style: none;
  margin-top: 1.5rem;
}

.challenge-section li {
  margin-bottom: 1rem;
  padding-left: 1.75rem;
  position: relative;
}

.challenge-section li::before {
  content: '⚠️';
  position: absolute;
  left: 0;
}

/* Solution Section */
.solution-section {
  padding: 4rem 0;
}

.solution-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.solution-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-top: 4px solid var(--primary);
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.solution-card h3 {
  color: var(--primary);
  margin-bottom: 0.6rem;
}

/* Results Section */
.results-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
  text-align: center;
}

.results-grid {
  display: grid;
  gap: 2rem;
  margin: 3rem 0;
}

@media (min-width: 640px) {
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .results-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.result-metric {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.metric-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 1rem;
  color: var(--gray);
}

.client-testimonial {
  max-width: 800px;
  margin: 3rem auto 0;
  padding: 2rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
}

.client-testimonial::before {
  content: '"';
  position: absolute;
  top: 0;
  left: 1rem;
  font-size: 5rem;
  color: var(--light-gray);
  z-index: 0;
}

.client-testimonial p {
  position: relative;
  z-index: 1;
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.client-testimonial footer {
  font-weight: 600;
  color: var(--primary);
}

/* Technology Section */
.technology-section {
  padding: 4rem 0;
  text-align: center;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 100px;
}

.tech-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: grayscale(100%) contrast(30%);
  transition: var(--transition);
}

.tech-item:hover img {
  filter: none;
}

.tech-item span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray);
}

/* CTA Section */
.cta-section {
  padding: 4rem 0;
  text-align: center;
}

.button {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  margin-top: 1.5rem;
  border: none;
  cursor: pointer;
}

.button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Footer */
.case-study-footer {
  padding: 3rem 0;
  background: var(--dark);
  color: white;
}

.case-study-footer nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.case-study-footer a {
  color: white;
  font-weight: 500;
}

.case-study-footer a:hover {
  color: var(--secondary);
}

.case-study-footer p {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.case-overview, 
.challenge-section, 
.solution-section, 
.results-section,
.technology-section,
.cta-section {
  animation: fadeIn 0.6s ease-out forwards;
}

.solution-card:nth-child(1) { animation-delay: 0.1s; }
.solution-card:nth-child(2) { animation-delay: 0.2s; }
.solution-card:nth-child(3) { animation-delay: 0.3s; }
.solution-card:nth-child(4) { animation-delay: 0.4s; }
.tech-item:nth-child(1) { animation-delay: 0.1s; }
.tech-item:nth-child(2) { animation-delay: 0.2s; }
.tech-item:nth-child(3) { animation-delay: 0.3s; }
.tech-item:nth-child(4) { animation-delay: 0.4s; }
.tech-item:nth-child(5) { animation-delay: 0.5s; }




          .back-to-top {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
        background-color: #4361ee;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        font-size: 1.25rem;
    }

    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top:hover {
        background-color: #3a0ca3;
        transform: translateY(-3px);
    }
    
    
    /* Breadcrumb Navigation */
.breadcrumb {
  padding: 1rem 0;
  background-color: var(--light-gray);
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.breadcrumb .container {
  padding: 0 2rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  position: relative;
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  color: var(--gray);
  opacity: 0.6;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
  padding: 0.25rem 0;
}

.breadcrumb a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--dark);
  font-weight: 500;
}

/* Dark Mode Adjustments */
@media (prefers-color-scheme: dark) {
  .breadcrumb {
    background-color: var(--light-gray);
    border-bottom-color: rgba(255,255,255,0.05);
  }
  
  .breadcrumb [aria-current="page"] {
    color: var(--dark);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .breadcrumb .container {
    padding: 0 1rem;
  }
  
  .breadcrumb li:not(:last-child)::after {
    margin-left: 0.25rem;
  }
}



.cta-section {
  padding: 4rem 2rem;
  background-color: blue; /* or your preferred color */
  color: white;
  text-align: center;
}

