/* ===== CSS Global VARIABLES ===== */
:root {
/* ===== Color Variables ===== */

/* ---- Brand ---- */
--color-primary: #4F46E5;
--color-secondary: #8632D4;

/* ---- Neutral ---- */
--color-white: #fdfdfd;
--color-black: #1a1a1a;

/* ---- Text ---- */
--text-body: #4B5563;
--text-muted: #6B7280;
--text-caption: #9CA3AF;

/* ---- Background ---- */
--bg-primary: var(--color-white);
--bg-secondary: #F6Fcf8;
--bg-tab: #6159e8;

/* ---- Border ---- */
--border-light: #E5E7EB;

/* Gradients */
--gradient-primary: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
--gradient-soft: linear-gradient(135deg,#6D63F7,#9B6DF9);
--gradient-body: linear-gradient(145deg, #F2F7FD, #F5F8FD);



/* ===== Shadow Variables ===== */
--shadow-small: 0 .125rem .25rem rgba(0, 0, 0, 0.075); --shadow-medium: 0 8px 20px rgba(79,70,229,0.15);
--shadow-large: 0 12px 32px rgba(79,70,229,0.12);  --shadow-xl: 0 3px 15px rgba(0, 0, 0, 0.05);
 
/* ===== Typography Variables ===== */

/* H1 - Display (~62px–78px) */
--font-size-h1: clamp(3.875rem, 5vw + 1rem, 4.875rem);
--line-height-h1: 1.2;
--letter-spacing-h1: -0.5px;

/* H2 - Alt Heading (~52px–60px) */
--font-size-h2: clamp(3.25rem, 3.5vw + 1rem, 3.75rem);
--line-height-h2: 1.2; 
--letter-spacing-h2: -0.4px;

/* H3 (~40px–48px) */
--font-size-h3: clamp(2.5rem, 2.8vw + 0.5rem, 3rem);
--line-height-h3: 1.2; 
--letter-spacing-h3: -0.3px;

/* H4 (~30px–34px) */
--font-size-h4: clamp(1.875rem, 2vw + 0.5rem, 2.125rem);
--line-height-h4: 1.3;
--letter-spacing-h4: -0.2px;

/* H5 (~22px–24px) */
--font-size-h5: clamp(1.375rem, 1vw + 0.8rem, 1.5rem);  
--line-height-h5: 1.3;
--letter-spacing-h5: -0.15px;

/* H6 (~18px–20px) */
--font-size-h6: clamp(1.125rem, 0.8vw + 0.7rem, 1.25rem); 
--line-height-h6: 1.3;
--letter-spacing-h6: 0.1px;


/* Paragraph (~16px) */
--font-size-p: clamp(1rem, 0.6vw + 0.45rem, 1.05rem);
--line-height-p: 1.5;
--letter-spacing-p: 0;

/* Small Text (~12px–14px) */
--font-size-small: clamp(0.75rem, 0.4vw + 0.25rem, 0.875rem);
--line-height-small: 1.5;
--letter-spacing-small: 0;

/* ===== Font Weights ===== */
--font-weight-bold: 700; --font-weight-semi: 600; --font-weight-regular: 400;

/* ===== Icon Size Variables ===== */
--icon-size-xs: 24px;--icon-size-sm: 32px;--icon-size-md: 44px;--icon-size-lg: 56px;--icon-size-xl: 72px;

/* ===== Radius Variables ===== */
--radius-xs: 4px;--radius-sm: 8px;--radius-md: 12px;--radius-lg: 16px;--radius-xl: 20px;
--radius-2xl: 24px;--radius-pill: 999px;--radius-circle: 50%;

/* ===== Spacing Variables ===== */
--space-0: 0px;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;
--space-7: 28px;--space-8: 32px;--space-9: 36px;--space-10: 40px;--space-11: 44px;--space-12: 48px;--space-13: 52px;
--space-14: 56px;--space-15: 60px;--space-16: 64px;--space-20: 80px;--space-24: 96px;--space-28: 112px;--space-32: 128px;

}

/* ===== GENERAL BODY ===== */
body {
  font-family: 'Poppins', sans-serif;
  background: var(--gradient-body);
  margin: 0;
  padding: 0;
  color: var(--color-text);
  padding-top: var(--space-16);
}
html, body {
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
.page-title {
font-size: var(--font-size-h2);
line-height: var(--line-height-h2);
font-weight: var(--font-weight-bold);
margin-bottom: var(--space-6);
}

.lead-paragraph {
  font-size: var(--font-size-h6);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-h6);
  color: var(--text-body);
  margin-bottom: var(--space-6);
}

.heading-gradient {
  background: var(--gradient-soft);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.section-title {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-h3);
}

.section-desc {
  font-size: var(--font-size-p);
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto;
  margin-bottom: var(--space-15);
}

.paragraph {
  font-size: var(--font-size-p);
  line-height: var(--line-height-p);
  color: var(--text-body);
  margin-bottom: var(--space-6);
}

.card-title {
  font-size: var(--font-size-h6); 
  color: var(--color-black);
  font-weight: var(--font-weight-semi);
  line-height: var(--line-height-h6);
  margin-bottom: 0;
}

.heading-left-border {
  margin-top: var(--space-10);        
  margin-bottom: var(--space-4);    
  font-weight: var(--font-weight-semi);
  font-size: var(--font-size-h5);
  color: var(--color-primary);
  border-left: 4px solid var(--color-primary);
  padding-left: 12px;
}

/* Universal Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);            
  height: 44px;           
  font-size: var(--font-size-p);
  font-weight: var(--font-weight-semi);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-medium);
  padding: 0 28px;
  transition:transform 0.3s ease, background 0.3s ease,color 0.3s ease;
  cursor: pointer;
}

/* Hover effects */
.btn:hover {
  transform: scale(1.08);
  color: var(--color-white);
}

.btn-gradient-cta:hover,.btn.full-width:hover {
background: var(--gradient-primary);
}

.btn-solid-cta:hover,.btn-outline-cta:hover{
background: var(--color-primary);
}


/*  Active & Focus State  */
.btn:active,
.btn:focus {
  transform: scale(0.96);
  outline: none;
}

/* ===== Button Variants ===== */

/* Gradient CTA */
.btn-gradient-cta {
  background: var(--gradient-primary);
  color: var(--color-white);
  border: none;
}

/* Solid CTA */
.btn-solid-cta {
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
}

/* Outline CTA */
.btn-outline-cta {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

/* Outline CTA white */
.btn-outline-cta-white {
  border: 2px solid var(--color-white);
  background: transparent;
  color: var(--color-white);
}

.btn-outline-cta-white:hover {
  background: rgba(255,255,255,0.15);
}

/* Full-width CTA (in cards) */
.btn.full-width {
  width: 100%;
  background: var(--gradient-primary);
  color: var(--color-white);
}


/* ===== NAVIGATION ===== */
.glassy-nav {
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  margin: 1rem auto;
  max-width: 95%;
  box-shadow: var(--shadow-small);
}

.navbar-brand.text-gradient {
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--color-primary)!important;
}
.nav-link.active {
  position: relative;
}
.active-indicator {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: var(--radius-lg);
  background: var(--color-primary);
  animation: underline 0.3s ease-in-out;
}
@keyframes underline {
  from {width: 0;}
  to {width: 100%;}
}

/* ===== HERO SECTION ===== */
.hero {
  min-height:92vh;
  display: flex;
  align-items: center;
}

.hero-title {
font-size: var(--font-size-h1);
line-height: var(--line-height-h1);
font-weight: var(--font-weight-bold);
margin-bottom: var(--space-4);
}

.hero p{
max-width:560px;
}

.hero-image{
  max-width:400px;
  height:520px;
  object-fit:cover;
  box-shadow: 0 30px 60px rgba(0,0,0,.12);
  border-radius: 20px;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.bg-blur {
  position: absolute;
  border-radius: var(--radius-circle);
  filter: blur(120px);
  opacity: 0.25;
  z-index: 0;
}

.bg-blur.purple {
  width:300px; height:300px;
  background:#b983ff;
  top:50px; right:60px;
}

.bg-blur.blue {
  width:280px; height:280px;
  background:#62b2ff;
  bottom:100px; left:20px;
}

@media (max-width: 767px) {
  .hero-image {
    animation: none !important;
  }
}

@media (max-width: 576px) {
  .hero {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}


/* ===== WHAT I DO SECTION ===== */

.what-i-do-section{
  background-color: #f6f9ff;
}

.icon-wrapper {
  margin: 0 auto;
  width: var(--icon-size-lg);
  height: var(--icon-size-lg);
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  margin-bottom: 24px;
  background: var(--gradient-primary);
}

.icon-wrapper:hover {
  transform: scale(1.1);
}

.icon-wrapper i {
  color: var(--color-white);
  font-size: 24px;
}

.service-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-small);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  padding: var(--space-6);
  position: relative;
  border: 1px solid var(--border-light);
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-card h6{
  font-size: var(--font-size-h6);
  font-weight: var(--font-weight-semi);
  line-height: var(--font-size-h6);
}

/* ===== Featured Projects ===== */

.creative-works-section {
   background: #f9fbff;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-10);
}

.btn-filter {
  display: inline-flex;
  border: none;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  font-weight: var(--font-weight-semi);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}
.btn-filter:hover,
.btn-filter.active {
  background: var(--color-primary);
  color: var(--color-white);
}
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  justify-content: flex-start;
}
.project-card {
  background: var(--bg-primary);
  /* background-color: #f6fcf8; */
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  width: calc(33.333% - 24px);
  min-width: 280px;
  box-shadow: var(--shadow-medium);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s;
  text-align: left;
  justify-content: flex-start;
  min-height: 300px;
  overflow:hidden;
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow:var(--shadow-large);
}
.project-card img {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4); 
  object-fit: cover;
  aspect-ratio: 16 / 9;
  height: auto;
}

.project-card h5 {
  margin-bottom: var(--space-3);
  font-size: var(--font-size-h5);
  line-height:var(--line-height-h5);
  font-weight: var(--font-weight-semi);
}
.project-card p {
  margin-bottom: var(--space-3);
}


.text-truncate-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.tags {
  margin-bottom: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-1);
}

.tags span {
  display: inline-block;
  background-color: #eef2ff;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: var(--font-weight-semi);
  padding: 4px 12px;
  margin-right: var(--space-2);
  margin-bottom: var(--space-1);
  border-radius: var(--radius-md);
}

#projects {
  scroll-margin-top: 80px; /* Adjust to match your navbar height */
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .project-card {
    width: calc(50% - 24px);
  }
}
@media (max-width: 576px) {
  .project-card {
    width: 100%;
  }
}


/* ===== Areas of Expertise ===== */
.skills-section {
  background-color: var(--bg-primary);
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.skill-badge {
  padding: 12px 18px;
  border-radius: var(--radius-lg);
  font-weight: var(--font-weight-semi);
  font-size: var(--font-size-p);
  text-align: center;
  box-shadow: var(--shadow-small);
  transition: all 0.3s ease;
  background:#EEF2FF;
  color:var(--color-primary);
}

.skill-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  background:var(--gradient-primary);
  color:var(--color-white);
}

@media (max-width:768px){

.skill-badge{
    flex:0 1 auto;
    width:auto;
}

.skills-grid{
    justify-content:center;
}

}


/* ===== Testimonials ===== */

.testimonials-section {
  background-color: #f7faff;
}

.testimonial-card{
    border-radius: var(--radius-xl);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display:flex;
    flex-direction:column;
    gap: 8px;
    padding:20px;
    min-height:270px;
    height:100%;
    background-color: var(--bg-secondary);
    border:1px solid var(--border-light);
    box-shadow:var(--shadow-small);
    border: 1px solid var(--border-light);
  }

.testimonial-card:hover{
    box-shadow:var(--shadow-medium);
}

.testimonial-avatar{
    width:50px;
    height:50px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--gradient-primary);
    color: var(--bg-primary);
    font-size: var(--font-size-h6);
    font-weight: var(--font-weight-bold);
    flex-shrink:0;
    margin-right:16px;
    box-shadow:var(--shadow-small);
    border:2px solid var(--bg-primary);
}

 /*------ .testimonial-img{
  width: 60px;
  height: 60px;
  border-radius: var(--radius-circle);
  margin-right: 1rem; 
}  -------- */

.testimonial-title {
  font-size: var(--font-size-p);
  font-weight: var(--font-weight-bold);
  margin-bottom: 0 !important;
}

/* Align stars and text left */
.testimonial-card .stars,
.testimonial-card .testimonial-text {
  text-align: left;
}

  /* Pagination Circle Styling */
  .swiper-pagination {
    margin-top: 20px;
    text-align: center;
    position: relative;
    display: block;
  }

  .swiper-pagination-bullet  {
    width: 12px;
    height: 12px;
    background: var(--text-caption);
    opacity: 1;
    border-radius: var(--radius-circle);
    margin: 0 6px !important;
    transition: background-color 0.3s ease;
  }
  .swiper-pagination-bullet-active {
    background:var(--color-primary);
    transform:scale(1.02);
  }

 @media (max-width: 767px) {
  .testimonial-card { 
    padding: 18px; 
    min-height: 220px;
   }

   .testimonial-avatar{
    width:40px;
    height:40px;
    font-size:18px;
}

 /*  .testimonial-img {
    width: 50px;
    height: 50px;   
   } */

}

  /* Default smaller scale so active jump is visible */
  .swiper-slide .testimonial-card{ transform: scale(0.98); opacity: 0.95; }
  .swiper-slide-active .testimonial-card{
    transform: scale(1.03);
    opacity: 1;
    z-index: 3;
  }



/* ===== Get In Touch Section ===== */
.cta-box {
  max-width: 800px;
  background:var(--gradient-soft);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-large);
}


/* ===== Contact Modal Navigation ===== */
.contact-modal {
  border: none;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-large);
}

.contact-modal-header {
  border: none;
  padding-bottom: var(--space-2);
}

.contact-modal-header .modal-title {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-h4);
  color: var(--skill-blue-text);
}

.contact-modal-body {
  padding: 0 var(--space-6);
}

.contact-divider {
  margin: var(--space-6) 0;
}


/* ===== Gradient Flipped Wave Divider ===== */
.wave-divider {
  position: relative;
  width: 100%;
  line-height: 0;
  height: 120px;
  margin-top: -5px; /* Overlaps slightly with the section above */
  z-index: 0;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
  vertical-align: middle; /* SVGs leave unexpected spacing */
}
.wave-divider.flipped {
  transform: rotate(180deg);
}


/* ===== footer ===== */
.footer-section {
  background: linear-gradient(90deg, #0e1622, #0b0e12);
  color: var(--color-white);
  padding: 60px 20px 40px;
  position: relative;
}
.footer-heading {
  font-size:var(--font-size-h5);
  font-weight: var(--font-weight-semi);
  color: var(--color-white);
}
.footer-heading .heart {
  color: #f06292;
  font-size: 1.7rem;
  animation: pulse 1.6s infinite ease-in-out;
  display: inline-block;
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.25);
    opacity: 0.75;
  }
}
.typewriter-container {
  display: flex;
  justify-content: center;
  overflow: hidden;
  white-space: nowrap;
}
.footer-icons {
  margin-top: var(--space-5);
}
.footer-icon {
  width: var(--icon-size-md);
  height: var(--icon-size-md);
  background:#232833;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
  outline: none;
}
.footer-icon:hover {
  transform:translateY(-4px);
  background:var(--gradient-primary);
}

.footer-icon:focus {
  outline: none;
  box-shadow: none;
}
.footer-note {
  color: var(--text-caption);
}
.footer-email {
  color:var(--color-primary);
  text-decoration: none;
  transition:.3s;
}
.footer-email:hover {
  text-decoration: underline;
}

/* ===== Fixed Back to Top Button ===== */
.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: var(--icon-size-lg);
  height: var(--icon-size-lg);
  background: var(--gradient-primary);
  color: var(--color-white);
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: var(--shadow-medium);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease; 
}

.back-to-top:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.3);
  outline-offset: 4px;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-medium);
}
@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* ==================================== */
/* ==================================== */
/* ==================================== */

/* ===== About Me Section ===== */
.about-section {
  min-height:calc(100vh - 90px);
  display: flex;
  align-items: center;
}

.about-img-wrapper {
  overflow: hidden;
  border-radius: var(--radius-xl);
  display: inline-block;
  max-width:460px;
  margin: 0 auto;
  box-shadow: var(--shadow-medium);
  
}
.about-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  will-change: transform;
}
.about-img-wrapper:hover .about-img{
  transform: scale(1.08);
}
.highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* ================== Tools & Technologies =============== */
.tools-section {
  background: #f9fbff;
}

/* Toolkit Grid Layout */
.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
}
.heading-highlight {
  margin-top: var(--space-10);        
  margin-bottom: var(--space-6);     
  font-weight: var(--font-weight-semi);
  font-size: var(--font-size-h5);
  color: var(--color-primary);
  border-left: 4px solid var(--color-primary);
  padding-left: 12px;

}

/* Toolkit Cards */
.tool-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-small);
  transform: translateY(0) scale(1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
  border-top: var(--space-1) 5px solid transparent;
  min-height: 145px;
}

.tool-card:hover {
  transform: translateY(-6px) scale(1.03) rotateZ(-0.5deg);
  box-shadow: var(--shadow-medium); /* optional, to add extra depth on hover */
}

/* Tool Card Titles */
.tool-card h5 {
  font-weight: var(--font-weight-semi);
  margin-bottom: var(--space-2);
  min-height:32px;
}

/*  Specialized Tools Pills  */
.specialized-tools h5 {
  font-weight: var(--font-weight-semi);
  margin-bottom: var(--space-1);
}
/* Common Style for Tool Pills  */
.tool-pill {
  display: inline-block;
  padding: var(--space-2) var(--space-5);
  font-size: var(--font-size-p);
  font-weight: var(--font-weight-semi);
  border-radius: var(--radius-pill);
  background: var(--bg-primary);
  box-shadow: var(--shadow-small);
  transition: transform 0.2s ease;
}

.tool-pill:hover {
  transform: translateY(-2px);
}

/* ---- Tools brand colours ---- */
.brand-figma { border-top: 5px solid #0ACF83;}         
.brand-photoshop { border-top: 5px solid #31A8FF;}
.brand-illustrator { border-top: 5px solid  #FF9A00;}
.brand-figjam { border-top: 5px solid #A259FF; }
.brand-miro { border-top: 5px solid #FFD02F;}
.brand-notion { border-top: 5px solid #000000; }

.brand-chatgpt { border-top: 5px solid  #10A37F;}        
.brand-relume { border-top: 5px solid #7E45F3;} 
.brand-deepseek { border-top: 5px solid  #0074F0;} 
.brand-grammarly { border-top: 5px solid #15C39A;} 
.brand-perplexity { border-top: 5px solid #1F1F1F;} 
 

.tool-pill.bootstrap {background: linear-gradient(135deg, rgba(86, 61, 124, 0.06), rgba(86, 61, 124, 0.03));}
.tool-pill.htmlcss {background: linear-gradient(135deg,rgba(255, 103, 31, 0.08),rgba(255, 103, 31, 0.04));}
.tool-pill.zeplin {background: linear-gradient(135deg,rgba(255, 192, 0, 0.07),rgba(255, 192, 0, 0.035));}




/*================ Career Journey ================*/

.career-section{
background:#f6f9fc;
}

.career-timeline{
position:relative;
max-width:900px;
margin:auto;
}

.career-timeline::before{
content:"";
position:absolute;
left:135px;
top:0;
bottom:0;
width:2px;
background:#E5E7EB;
}

.career-card{
display:grid;
grid-template-columns:110px 1fr;
gap:40px;
position:relative;
margin-bottom:50px;
}

.career-year{
font-weight:600;
color: var(--text-muted);
font-size: var(--font-size-p);
padding-top:10px;
text-align:right;
}

.career-content{

position:relative;
background: var(--bg-primary);
padding:28px;
border-radius:20px;
box-shadow:0 12px 30px rgba(0,0,0,.06);
transition:.35s;
}

.career-content::before{
content:"";
position:absolute;
left:-36px;
top:34px;
width:16px;
height:16px;
background:var(--color-primary);
border-radius:50%;
border:5px solid var(--color-white);
box-shadow:0 0 0 2px var(--color-primary);
}

.career-content:hover{
transform:translateY(-6px);
box-shadow:0 20px 50px rgba(0,0,0,.08);
}

.career-content h4{
margin-bottom:4px;
font-size: var(--font-size-h5);
}

.career-content h6{
color:var(--color-primary);
margin-bottom:18px;
font-weight:600;
}

.career-content p{
margin-bottom:20px;
line-height:1.7;
}

.career-projects{
margin-bottom:20px;
}

.career-projects strong{
display:block;
margin-bottom:8px;
}

.career-projects ul{
padding-left:18px;
margin:0;
}

.career-projects li{
margin-bottom:6px;
}

.career-tags{
display:flex;
flex-wrap:wrap;
gap:10px;
}

.career-tags span{
background:#EEF2FF;
color: var(--color-primary);
padding:6px 14px;
border-radius:999px;
font-size: var(--font-size-p);
font-weight:600;
}

/* ===== Work Experience CSS ===== */
/*
.experience-block {
  padding: var(--space-8);
  background-color: var(--bg-primary);
  border-radius: var(--space-3);
  box-shadow: var(--shadow-xl);
  transition: all 0.3s ease;
}
.experience-block:hover {
  transform: translateY(-4px);
}

/* Role Title */
/*
.role-title {
  font-size: var(--font-size-h5);
  font-weight: var(--font-weight-semi);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-1);
}

.proj-title{
  font-size: var(--font-size-p);
  line-height: var(--line-height-p);
  font-weight: var(--font-weight-semi);
  margin-bottom: var(--space-2);

}
/* Organization */
/*
.company-org {
  color: var(--color-primary);
  font-weight: var(--font-weight-semi);
  margin-bottom: var(--space-1);
}

/* Impact Box */
/*
.impact-box {
  border-left: 4px solid var(--color-primary);
  background-color: var(--bg-secondary);
}

/* Optional: Tight spacing for impact lists */
/*
.impact-box ul, .proj-details ul {
  padding-left: var(--space-5);
  margin-bottom: var(--space-0);
}
/* Smooth icon rotation */
/*
.transition-icon {
  transition: transform 0.3s ease;
}

/* Rotate when expanded */
/*
.rotate-up {
  transform: rotate(180deg);
}


/* ===== Education & Certification Section  ===== */
.edu-cert-section .timeline-item {
  position: relative;
  padding-left: 24px;
  margin-bottom: 2rem;
  border-left:2px solid var(--color-primary);
}
.edu-cert-section .dot {
  position: absolute;
  left: -8px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--color-primary);
  border-radius: 50%;
}

.edu-org, .cert-org{
  color: var(--color-primary);
  font-weight: var(--font-weight-semi);
  margin-bottom: var(--space-1);
  font-size: var(--font-size-p);
}
.edu-cert-section .timeline-item:hover .dot {
  transform: scale(1.2);
  box-shadow: 0 0 6px rgba(108, 99, 255, 0.5);
}

.content h6{
  font-size: var(--font-size-h6);
  font-weight: var(--font-weight-semi);
  line-height: var(--font-size-h6);
}


/* ==================================== */
/* ==================================== */
/* ==================================== */

/* ===== Resume Section ===== */

.resume-preview{
    background: var(--color-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.resume-frame{
    width: 100%;
    height: 850px;
    border: none;
}

.small-text{
    margin-top: var(--space-4);
    font-size: var(--font-size-small);
    color: var(--text-muted);
}

@media (max-width: 992px){

    .resume-frame{
        height: 700px;
    }

}

@media (max-width: 768px){

    .resume-frame{
        height: 500px;
    }

}

/* ==================================== */
/* ==================================== */
/* ==================================== */

/* ===== Case study Hero ===== */

.casestudy-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.casestudy-title {
font-size: var(--font-size-h2);
line-height: var(--line-height-h2);
font-weight: var(--font-weight-h2);
margin-bottom: var(--space-6);
letter-spacing: var(--letter-spacing-h2);
}

.casestudy-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  will-change: transform;
}

.casestudy-img-wrapper {
  overflow: hidden;
  border-radius: var(--radius-xl);
  display: inline-block;
  max-width: 800px;
  margin: 0 auto;
 
}

.casestudy-img-wrapper:hover .casestudy-img {
  transform: scale(1.08);
}

/* Case study page: Cards */

.card-title-pri {
  font-size: var(--font-size-h6); 
  color: var(--color-primary);
  font-weight: var(--font-weight-semi);
  line-height: var(--font-size-h6);
  margin-bottom: 0;
  text-align: left;
}

.card-title-sec {
  font-size: var(--font-size-h6); 
  color: var(--color-secondary);
  font-weight: var(--font-weight-semi);
  line-height: var(--font-size-h6);
  margin-bottom: 0px;
  text-align: left;
}

/* =====  Understanding the Problem  ===== */

.ux-gap-card{
    background: var(--bg-primary);
    border:1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding:20px;
    height:100%;
    display:flex;
    gap:14px;
    align-items:flex-start;
    transition:all .3s ease;
}

.ux-gap-card:hover{
    transform:translateY(-4px);
    box-shadow:0 8px 20px rgba(0,0,0,.05);
}

.ux-gap-card i{
    color: var(--color-primary);
    font-size:20px;
    margin-top:4px;
}

/* Key Opportunity */

.opportunity-box{
    background:#fff;
    border-left:4px solid var(--color-primary);
    border-radius: var(--radius-lg);
    padding:18px 20px;
    color:#333333;
    line-height:1.6;
}

/* ===== Low-Fidelity Wireframes (DESIGN: Wireframing, UI & Branding) ===== */

  .wireframe-img {
    max-height: 500px;      /* or any suitable height like 300px */
    width: 100%;             /* Keeps original width or lets Bootstrap's img-fluid handle it */
    object-fit: contain;    /* Prevents distortion */
  }

  /* Optional: Ensures container doesn't overflow */
  .text-center img {
    display: inline-block;
  }

/* Slight hover effect on wireframe images */
.wireframe-img:hover {
  transform: scale(1.02);
  transition: 0.3s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}


/* ===== High-Fidelity UI Screens ===== */

  .tab-btn {
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
  }

  .tab-btn.active {
    background-color: var(--bg-tab);
    color: var(--color-white);
    border-color: var(--border-light);
  }

  .tab-btn:hover {
    background-color: var(--bg-tab);
    color: var(--color-white);
  }

  .device-wrapper {
    width: 950px;
    height: 550px;
    margin: 0 auto;
    border: 12px solid var(--color-black);
    border-radius: 16px;
    overflow-y: scroll;
    background: var(--bg-primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  }

  .device-wrapper img {
    width: 100%;
    height: auto;
    display: block;
  }

  @media (max-width: 820px) {
    .device-wrapper {
      width: 100%;
    }
  }




/* ===== Design Highlights Scroll Lane Styles ===== */

.highlight-scroll-lane {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 1rem;
  align-items: stretch; /* ✅ force all grid children to same height */
}
.highlight-block {
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-small);
  border: 1px solid var(--border-light);
  padding: 1rem; /* M3 default = 16px */
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* 8px rhythm */
  align-items: flex-start; /* Prevent children from stretching full width */
  height: 100%;

}

.highlight-block:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}



/* ===== Key UI Iteration ===== */

/* Card */

.iteration-card{
display:flex;
gap:48px;
align-items:flex-start;
padding:48px;
border-radius:28px;
background: var(--bg-primary);
border:1px solid var(--border-light);
transition:.35s ease;
margin-bottom:56px;
}

.iteration-card:hover{
transform:translateY(-5px);
box-shadow:0 20px 45px rgba(0,0,0,.07);
}

/* Left */

.iteration-info{
width:30%;
}

.iteration-number{
width:50px;
height:50px;
border-radius:50%;
background:#CB291F;
display:flex;
justify-content:center;
align-items:center;
color: var(--bg-primary);
font-weight: var(--font-weight-bold);
font-size: var(--line-height-h6);
margin-bottom:28px;
}

.iteration-info h3{
margin-bottom:32px;
line-height:1.4;
}

.label{
display:inline-block;
padding:6px 14px;
border-radius:30px;
font-size:13px;
font-weight:600;
margin-bottom:16px;
}

.finding{
background:#FFF3F2;
color:#CB291F;
}

.solution-tag{
background:#EEF8F2;
color:#16964A;
}

.solution{
padding-top:24px;
border-top:1px solid #ECECEC;
}

/* Right */

.comparison-panel{
width:70%;
background: var(--bg-secondary);
padding:36px;
border-radius:28px;
border:1px solid var(--border-light);
}

.comparison{
display:grid;
grid-template-columns:1fr auto 1fr;
gap:24px;
align-items:center;
}

.compare-arrow{
font-size:34px;
font-weight:700;
color:#CB291F;
}

/* Images */

.screen{
position:relative;
overflow:hidden;
border-radius:20px;
}

.screen a{
    display: block;
    overflow: hidden;
    border-radius: 18px;
    cursor: zoom-in;
}

.screen img{
width:100%;
height:420px;
object-fit:cover;
border-radius:18px;
border:1px solid var(--border-light);
background: var(--bg-primary);
transition: transform 0.35s ease;
display:block;
}

.screen:hover img{
    transform: scale(1.04);
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.screen small{
display:block;
margin-top:14px;
text-align:center;
color:#6B7280;
font-size:14px;
}

/* Badge */

.badge{
position:absolute;
top:18px;
left:18px;
padding:8px 16px;
border-radius:999px;
font-size:13px;
font-weight:600;
}

.before{
background:#FFF3F2;
color:#CB291F;
}

.after{
background:#EEF8F2;
color:#16964A;
}

/* Responsive */

@media(max-width:992px){

.iteration-card{
flex-direction:column;
padding:32px;
}

.iteration-info{
width:100%;
}

.comparison-panel{
width:100%;
}

.comparison{
grid-template-columns:1fr;
}

.compare-arrow{
transform:rotate(90deg);
text-align:center;
}

.screen img{
height:auto;
}

}


/* ===== Results & Reflections ===== */

.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* Learnings Grid */
.learnings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .learnings-grid {
    grid-template-columns: 1fr;
  }

  .impact-card h2,
  .learnings h2 {
    font-size: 28px;
  }
}

/* ===== Final Thoughts ===== */

  .case-preview-box {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    background-color: #fff;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  .preview-hover-wrap:hover .case-preview-box {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .case-preview-box::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #fff;
  }



/* Universal Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);        /* consistent spacing between icon and text */
  height: 44px;           /* uniform height */
  font-size: var(--font-size-p);
  font-weight: var(--font-weight-semi);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-medium);
  padding: 0 20px;
  transition: transform 0.3s ease, background 0.3s ease,color 0.3s ease;
  cursor: pointer;
}

/* Hover effects */
.btn:hover {
  transform: scale(1.08);
  color: var(--color-white);
}

.btn-gradient-cta:hover,.btn.full-width:hover {
background: var(--gradient-primary);
}

.btn-solid-cta:hover,.btn-outline-cta:hover{
background: var(--color-primary);
}


/*  Active & Focus State  */
.btn:active,
.btn:focus {
  transform: scale(0.96);
  outline: none;
}

/* ===== Button Variants ===== */

/* Gradient CTA */
.btn-gradient-cta {
  background: var(--gradient-primary);
  color: var(--color-white);
  border: none;
}

/* Solid CTA */
.btn-solid-cta {
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
}

/* Outline CTA */
.btn-outline-cta {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

/* Outline CTA white */
.btn-outline-cta-white {
  border: 2px solid var(--color-white);
  background: transparent;
  color: var(--color-white);
}

.btn-outline-cta-white:hover {
  background: rgba(255,255,255,0.15);
}

/* Full-width CTA (in cards) */
.btn.full-width {
  width: 100%;
  background: var(--gradient-primary);
  color: var(--color-white);
}
