/* ===== CSS Global VARIABLES ===== */
:root {
/* ===== Color Variables ===== */
--color-primary: #4F46E5;
--color-primary-dark: #3A35B3;
--color-secondary: #8632D4;
--color-white: #fdfdfd;
--color-black: #1a1a1a;
--text-body: #555555; 
--text-muted: #6c757d;
--text-caption: #999999;

/* Gradients */
--gradient-primary: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
--gradient-cta: linear-gradient(135deg, #3dd6a6, #00a9ce);

--skill-blue-bg: #e5e9ff;--skill-blue-text: #3a4cc0;
--skill-green-bg: #ddf8ed;--skill-green-text: #054C33;
--skill-pink-bg: #ffe9eb;--skill-pink-text: #7A2B4B;
--skill-yellow-bg: #fff5d9;--skill-yellow-text: #A65F08;


/* ===== 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: linear-gradient(145deg, #F2F7FD, #F5F8FD);
  margin: 0;
  padding: 0;
  color: var(--color-text);
  padding-top: var(--space-16);
}

/* ===== 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);
letter-spacing: var(--letter-spacing-h2);
}

.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-primary);
  -webkit-background-clip: text;
  -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);
  letter-spacing: var(--letter-spacing-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);
}


/* 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);
}


/* ===== 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);
  -webkit-background-clip: text;
  -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: 100vh;
  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-image{
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.text-role {
  color: var(--color-primary);
  font-weight: var(--font-weight-semi);
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--color-primary);
  margin-left: 2px;
  animation: blink 0.8s infinite;
  vertical-align: middle;
}

@keyframes blink {
  0%, 100% {opacity: 1;}
  50% {opacity: 0.3;}
}

.hero-image {
  animation: float 6s ease-in-out infinite, fadeIn 1.5s ease-in-out;
  border-radius: 20px;
}

@keyframes float {
  0%,100% {transform: translateY(0);}
  50% {transform: translateY(-12px);}
}

@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;
  }
}



/* ===== SOCIAL ICONS ===== */
.social-icon {
  width:var(--icon-size-md); height: var(--icon-size-md);
  background:rgba(255,255,255,0.6);
  backdrop-filter:blur(6px);
  border-radius: var(--radius-md);
  display:flex;
  align-items:center;
  justify-content:center;
  transition: all 0.3s ease;
}
.social-icon i {
  color:var(--color-primary);
}
.social-icon:hover {
  transform:scale(1.15);
  background:var(--gradient-primary);
  color:var(--color-white);
}
.social-icon:hover i {
  color:var(--color-white);
}

/* ===== 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;
}
.icon-wrapper:hover {
  transform: scale(1.1);
}
.icon-wrapper i {
  color: var(--color-white);
  font-size: 24px;
}
.service-card {
  background: #fff;
  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);
}
.service-card:hover {
  transform: translateY(-8px);
  
}

/* ===== MY CREATIVE WORKS ===== */

.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-6);
  justify-content: flex-start;
}
.project-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  width: calc(33.333% - 24px);
  min-width: 280px;
  box-shadow: var(--shadow-large);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s;
  text-align: left;
  justify-content: flex-start;
  min-height: 300px;
}
.project-card:hover {
  transform: translateY(-8px);
}
.project-card img {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4); 
  object-fit: cover;
  min-height: 200px;
}

.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tags {
  margin-bottom: var(--space-3);
}

.tags span {
  display: inline-block;
  background-color: #eef2ff;
  color: #4f46e5;
  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%;
  }
}

/* ===== SKILLS & EXPERTISE ===== */
.skills-section {
  background-color: #fdfdfd;
}
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.skill-badge {
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  font-weight: var(--font-weight-semi);
  font-size: var(--font-size-p);
  text-align: center;
  white-space: nowrap;
  box-shadow: var(--shadow-small);
  transition: all 0.3s ease;
}
.skill-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}
.skill-blue {
  background-color: var(--skill-blue-bg);
  color: var(--skill-blue-text);
}
.skill-green {
  background-color: var(--skill-green-bg);
  color: var(--skill-green-text);
}
.skill-pink {
  background-color: var(--skill-pink-bg);
  color: var(--skill-pink-text);
}
.skill-yellow {
  background-color: var(--skill-yellow-bg);
  color: var(--skill-yellow-text);
}

@media (max-width: 768px) {
  .skill-badge {
    flex: 1 1 calc(50% - 16px);
  }
}
@media (max-width: 480px) {
  .skill-badge {
    flex: 1 1 100%;
  }
}


/* ===== Testimonials ===== */
  .testimonials-section {
  background-color: #f7faff;
}
.testimonial-card {
  border-radius: var(--radius-xl);
  transition: transform 0.3s ease;
  min-height: 270px;
  max-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  
}
.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-large); 
}
/* Background Colors */
.bg-light-purple {
  background-color: #f4f1ff;
}
.bg-light-blue {
  background-color: #ebf8ff;
}
.bg-light-green {
  background-color: #e9fdf4;
}
/* Pagination Circle Styling */
  .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-circle);
    background-color: #ccc;
  }
    .carousel-indicators .active {
    background-color: var(--color-primary); 
    transform: scale(1.3); 
  }
  .carousel-inner {
  min-height: 370px; /* or whatever fits all slides */
}
/* Align stars and text left */
.testimonial-card .stars,
.testimonial-card .testimonial-text {
  text-align: left;
}

@media (max-width: 768px) {
  .carousel-indicators {
    bottom: -30px; /* Adjust closer for smaller screens */
  }
}

/* ===== Get In Touch Section ===== */
.cta-box {
  max-width: 800px;
  background: linear-gradient(90deg, #715cf6, #a96bff);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-large);
}

/* ===== 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-family: 'Comic Neue', cursive;
  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-color: #2a2f38;
  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:scale(1.15);
  background:var(--gradient-primary);
}

.footer-icon:focus {
  outline: none;
  box-shadow: none;
}
.footer-note {
  color: #bbb;
}
.footer-email {
  color: #6a8dff;
  text-decoration: none;
}
.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: linear-gradient(135deg, #4F46E5, #8632D4);
  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.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: translateY(-3px);
  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: 100vh;
  display: flex;
  align-items: center;
}

.about-img-wrapper {
  overflow: hidden;
  border-radius: var(--radius-xl);
  display: inline-block;
  max-width: 500px;
  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);
}

/* Toolkit Cards */
.tool-card {
  background-color: #f6fcf8;
  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: 180px;
}

.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);
}

/*  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: #fff;
  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-xd { border-top: 5px solid #FF61F6;}
.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-zeplin{ border-top: 5px solid #554D56;} 

.brand-chatgpt { border-top: 5px solid  #10A37F;}        
.brand-uizard { border-top: 5px solid #5F40FF;} 
.brand-relume { border-top: 5px solid #7E45F3;} 
.brand-deepseek { border-top: 5px solid  #0074F0;} 
.brand-galileo { border-top: 5px solid #7743DB;} 
.brand-grammarly { border-top: 5px solid #15C39A;} 
.brand-perplexity { border-top: 5px solid #1F1F1F;} 
.brand-surferseo { border-top: 5px solid #FF9C00;} 

.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));}
.tool-pill.notion {background: linear-gradient(135deg,rgba(36, 36, 36, 0.06),rgba(0, 0, 0, 0.03));}



/* ===== ICONs Styling(hard and soft skills) ===== */
.icon-box.gradient-icon {
  background: var(--gradient-primary);
  color: var(--color-white);
  font-size: 20px;
  padding: var(--space-3);
  border-radius: var(--space-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--icon-size-md);
  height: var(--icon-size-md);
  box-shadow: var(--shadow-medium);
}

/* ===== Work Experience CSS ===== */
.experience-block {
  padding: var(--space-8);
  background-color: #f6fcf8;
  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);
}

/* 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: #ffffff;
}

/* 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 #6c63ff;
}
.edu-cert-section .dot {
  position: absolute;
  left: -8px;
  top: 6px;
  width: 14px;
  height: 14px;
  background-color: #6c63ff;
  border-radius: 50%;
}

.edu-org, .cert-org{
  color: var(--color-primary);
  font-weight: var(--font-weight-semi);
  margin-bottom: var(--space-1);
}
.edu-cert-section .timeline-item:hover .dot {
  transform: scale(1.2);
  box-shadow: 0 0 6px rgba(108, 99, 255, 0.5);
}


/* ===== AI-Powered Design Approach ===== */
.ai-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem 1.5rem;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.ai-card:hover {
  transform: perspective(800px) rotateX(1deg) rotateY(-1deg) translateY(-10px);
  box-shadow: var(--shadow-large);
  border: 1px solid transparent;
}
/* Icon Circle Overlapping */
.icon-wrapper-ai {
  width: var(--icon-size-lg);
  height: var(--icon-size-lg);
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -24px;
  left: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  animation: pulseGlow 2s infinite ease-in-out;
}
.icon-wrapper-ai i {
  font-size: 22px;
  color: var(--color-white);
}
.ai-card:hover .icon-wrapper-ai {
  animation: floatIcon 0.6s ease-in-out;
}

/* Card Title & Text */
.ai-card h5 {
  font-weight: var(--font-weight-semi);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

/* Animations */
@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 rgba(255, 255, 255, 0.3); }
  50% { box-shadow: 0 0 12px rgba(255, 255, 255, 0.5); }
  100% { box-shadow: 0 0 0 rgba(255, 255, 255, 0.3); }
}


/* ==================================== */
/* ==================================== */
/* ==================================== */

/* ===== Resume ===== */
.small-text{
  font-size: var(--font-size-small); 
  margin-top: var(--space-4); 
  color:  var(--text-muted);
}

/* ==================================== */
/* ==================================== */
/* ==================================== */

/* ===== Case study page header ===== */

.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-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.casestudy-img-wrapper {
  overflow: hidden;
  border-radius: var(--radius-xl);
  display: inline-block;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: var(--shadow-medium);
}

.casestudy-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  will-change: transform;
}
.casestudy-img-wrapper:hover .casestudy-img {
  transform: scale(1.08);
}