/**
 * Custom Hero Section Styles
 * Modern, Animated Hero with Gradient Background
 * Updated: March 2026
 */

/* ========================================
   HERO SECTION - ANIMATED GRADIENT
======================================== */
#hero.section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 0 60px;
  background: transparent !important;
}

#hero.hero.section {
  background: transparent !important;
}

/* Animated Gradient Background */
.hero-gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    #667eea 0%,
    #764ba2 25%,
    #f093fb 50%,
    #4facfe 75%,
    #00f2fe 100%
  ) !important;
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  z-index: 0;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Alternative: Subtle professional gradient */
.hero-gradient-bg.professional {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #06b6d4 100%);
  background-size: 200% 200%;
}

/* Dark overlay for better text readability */
.hero-gradient-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Hero Container */
.hero-container {
  position: relative;
  z-index: 10 !important;
}

/* All hero elements need high z-index */
#hero .container {
  position: relative;
  z-index: 10;
}

#hero .hero-title,
#hero .hero-subtitle,
#hero .hero-description,
#hero .hero-cta,
#hero .tech-stack-hero {
  position: relative;
  z-index: 10;
}

/* ========================================
    HERO TYPOGRAPHY
======================================== */
.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.name-highlight {
  background: linear-gradient(90deg, #00f2fe, #4facfe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.name-highlight::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #00f2fe, #4facfe);
  border-radius: 2px;
}

.hero-subtitle {
  min-height: 60px;
}

.hero-subtitle .lead {
  font-size: 1.5rem;
  color: #f5f5f5;
  font-weight: 400;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.typed {
  color: #4facfe;
  font-weight: 600;
}

.hero-description {
  font-size: 1.1rem;
  color: #e8e8e8;
  line-height: 1.8;
  max-width: 1200px;
  margin: 0 auto 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* ========================================
   CTA BUTTONS
======================================== */
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta .btn {
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-cta .btn-primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.hero-cta .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
  background: linear-gradient(135deg, #764ba2, #667eea);
}

.hero-cta .btn-outline-light {
  background: transparent;
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
}

.hero-cta .btn-outline-light:hover {
  background: #ffffff !important;
  color: #667eea !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* ========================================
    TECH STACK SECTION
======================================== */
.tech-stack-hero {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.tech-stack-label {
  font-size: 0.95rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tech-icon,
#hero .tech-icon {
  width: 60px !important;
  height: 60px !important;
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(10px);
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  padding: 10px !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.tech-icon img,
#hero .tech-icon img {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 40px !important;
  max-height: 40px !important;
  object-fit: contain !important;
  object-position: center !important;
  transition: all 0.3s ease;
  opacity: 0.9;
  display: block !important;
}

.tech-icon:hover,
#hero .tech-icon:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-5px) scale(1.05) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

.tech-icon:hover img,
#hero .tech-icon:hover img {
  opacity: 1 !important;
  transform: scale(1.1) !important;
}

/* ========================================
    SCROLL INDICATOR
======================================== */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
}

.scroll-down {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  transition: all 0.3s ease;
  text-decoration: none;
}

.scroll-down:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* ========================================
   SIDEBAR MODIFICATIONS
======================================== */
#header .role-badge {
  display: block;
  font-size: 0.9rem;
  color: #4facfe;
  font-weight: 400;
  margin-top: 0.5rem;
}

#header .sitename {
  font-size: 1.8rem;
  margin-bottom: 0;
}

#header .logo {
  flex-direction: column;
  padding: 1rem;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle .lead {
    font-size: 1.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .tech-icon {
    width: 50px;
    height: 50px;
  }

  .tech-icon img {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 768px) {
  #hero {
    padding: 60px 0 40px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle .lead {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 300px;
  }

  .tech-icon {
    width: 45px;
    height: 45px;
  }

  .tech-icon img {
    width: 28px;
    height: 28px;
  }

  .tech-stack-hero {
    margin-top: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .name-highlight::after {
    height: 2px;
  }

  .scroll-indicator {
    bottom: 20px;
  }

  .scroll-down {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }
}

/* ========================================
   ALTERNATIVE COLOR SCHEMES
======================================== */

/* Professional Blue Theme */
.hero-gradient-bg.theme-blue {
  background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
}

/* Sunset Theme */
.hero-gradient-bg.theme-sunset {
  background: linear-gradient(135deg, #ff6e7f 0%, #bfe9ff 50%, #667eea 100%);
}

/* Dark Modern Theme */
.hero-gradient-bg.theme-dark {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

/* Print Styles */
@media print {
  .hero-gradient-bg,
  .scroll-indicator {
    display: none;
  }

  #hero {
    min-height: auto;
    padding: 2rem 0;
  }
}

/* ========================================
   ABOUT SECTION - MODERN DESIGN
======================================== */
.about.section {
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
  position: relative;
}

.about-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #495057;
  max-width: 900px;
  margin: 0 auto 3rem;
  text-align: center;
}

/* Highlight Cards */
.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.about-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(102, 126, 234, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
}

.about-card:hover::before {
  opacity: 1;
}

.about-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.about-card-content {
  font-size: 0.95rem;
  color: #6c757d;
  line-height: 1.7;
}

.about-card-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-card-content li {
  padding: 0.5rem 0;
  display: flex;
  align-items: start;
}

.about-card-content li i {
  color: #667eea;
  margin-right: 0.5rem;
  margin-top: 0.25rem;
  font-size: 0.875rem;
}

.about-card-content strong {
  color: #2c3e50;
}

/* Tech Stack Grid */
/* Technology Stack Cards */
.tech-stack-section {
  margin-top: 3rem;
}

.tech-stack-section .section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 2rem;
  text-align: center;
}

.tech-stack-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tech-category-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  border: 2px solid rgba(102, 126, 234, 0.2);
  border-top: 4px solid;
  border-image: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%) 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.tech-category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
  border-color: #667eea;
}

.tech-category-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(102, 126, 234, 0.2);
  text-align: center;
}

.tech-category-card .tech-stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  padding-top: 0;
  border-top: none;
  margin-top: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .about-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tech-stack-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .about-intro {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .about-card {
    padding: 1.5rem;
  }

  .about-card-title {
    font-size: 1.2rem;
  }

  .tech-stack-section .section-title {
    font-size: 1.5rem;
  }

  .tech-stack-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tech-category-card {
    padding: 1.5rem;
  }

  .tech-category-card .tech-stack-pills {
    gap: 0.6rem;
  }
}

/* ========================================
   RESUME SECTION - MODERN DESIGN WITH GRADIENT
======================================== */
.resume.section {
  background: transparent;
  position: relative;
  min-height: 100vh;
}

/* Animated gradient background */
.resume-gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    #667eea 0%,
    #764ba2 25%,
    #f093fb 50%,
    #4facfe 75%,
    #00f2fe 100%
  );
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  z-index: 0;
}

/* Dark overlay for content readability */
.resume-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* Education Cards */
.education-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.education-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  border: 2px solid rgba(102, 126, 234, 0.2);
  position: relative;
  overflow: hidden;
}

.education-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.education-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.25);
  border-color: #667eea;
}

.education-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.education-icon i {
  font-size: 1.8rem;
  color: #ffffff;
}

.education-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.75rem;
}

.education-card h5 {
  font-size: 1rem;
  color: #667eea;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.education-card h5 i {
  font-size: 1rem;
}

.education-card p {
  color: #495057;
  margin-bottom: 1rem;
  font-weight: 500;
}

.education-card ul {
  list-style: none;
  padding: 0;
}

.education-card ul li {
  margin-bottom: 0.75rem;
  color: #495057;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.education-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
  font-size: 1.1rem;
}

/* Responsive for tablets */
@media (max-width: 992px) {
  .experience-card {
    padding: 2rem;
  }

  .experience-card-compact {
    padding: 1.5rem;
  }

  .experience-header h4 {
    font-size: 1.35rem;
  }

  .experience-period {
    font-size: 0.95rem;
  }

  .experience-icon {
    width: 55px;
    height: 55px;
  }

  .experience-icon-small {
    width: 48px;
    height: 48px;
  }
}

/* Responsive for education cards */
@media (max-width: 768px) {
  .education-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .experience-card {
    padding: 1.5rem;
  }

  .experience-card-compact {
    padding: 1.25rem;
  }

  .experience-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .experience-header h4 {
    font-size: 1.3rem;
  }

  .experience-period {
    font-size: 0.9rem;
  }

  .experience-icon {
    width: 50px;
    height: 50px;
  }

  .experience-icon-small {
    width: 45px;
    height: 45px;
  }

  .experience-icon i {
    font-size: 1.5rem;
  }

  .experience-icon-small i {
    font-size: 1.2rem;
  }

  .experience-companies {
    margin-bottom: 1rem;
  }

  .company-item {
    font-size: 0.95rem;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
  }

  .experience-description {
    font-size: 0.9rem;
  }

  .experience-description ul {
    padding-left: 1.25rem;
  }

  .experience-description li {
    margin-bottom: 0.5rem;
  }

  .tech-stack-pills {
    gap: 0.5rem;
  }

  .tech-pill-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }

  .tech-pill-icon {
    width: 32px;
    height: 32px;
  }

  .skills-gained {
    gap: 0.5rem;
  }

  .skill-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }

  .certificates-section {
    padding: 2rem 1rem;
  }

  .certificate-card {
    flex: 0 0 250px;
  }
}

@media (max-width: 576px) {
  .resume-title {
    font-size: 1.3rem;
  }

  .education-card {
    padding: 1.25rem;
  }

  .education-card h4 {
    font-size: 1.1rem;
  }

  .education-card h5 {
    font-size: 0.85rem;
  }

  .experience-card {
    padding: 1.25rem;
  }

  .experience-card-compact {
    padding: 1rem;
  }

  .experience-header h4 {
    font-size: 1.1rem;
  }

  .experience-period {
    font-size: 0.85rem;
  }

  .experience-icon {
    width: 45px;
    height: 45px;
  }

  .experience-icon-small {
    width: 40px;
    height: 40px;
  }

  .experience-icon i {
    font-size: 1.3rem;
  }

  .experience-icon-small i {
    font-size: 1.1rem;
  }

  .company-item {
    font-size: 0.9rem;
  }

  .experience-description {
    font-size: 0.85rem;
  }

  .experience-description ul {
    padding-left: 1rem;
  }

  .tech-pill-badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.65rem;
  }

  .tech-pill-icon {
    width: 28px;
    height: 28px;
  }

  .skill-badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.65rem;
  }

  .certificate-card {
    flex: 0 0 200px;
  }
}

.resume-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.resume-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

/* Professional Experience Cards */
.experience-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

/* Grid Layout for Professional Experience */
.resume .experience-cards-grid,
.experience-cards-grid {
  display: grid !important;
  gap: 1.5rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

/* Default: 3 columns for large screens */
@media (min-width: 1201px) {
  .resume .experience-cards-grid,
  .experience-cards-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* Medium screens: 2 columns */
@media (max-width: 1200px) and (min-width: 993px) {
  .resume .experience-cards-grid,
  .experience-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Tablets and below: 1 column */
@media (max-width: 992px) {
  .resume .experience-cards-grid,
  .experience-cards-grid {
    grid-template-columns: 1fr !important;
  }
}

.experience-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  border: 2px solid rgba(102, 126, 234, 0.2);
  position: relative;
  overflow: hidden;
}

.experience-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
}

.experience-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(102, 126, 234, 0.3);
  border-color: #667eea;
}

/* Compact Experience Card */
.experience-card-compact {
  padding: 1.75rem;
}

.experience-card-compact .experience-header {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.experience-card-compact .experience-description {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.experience-card-compact .tech-stack-pills {
  margin-top: 1rem;
  padding-top: 1rem;
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(102, 126, 234, 0.1);
}

.experience-header h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.experience-period {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #667eea;
  font-weight: 600;
  font-size: 1rem;
}

.experience-period i {
  font-size: 1.1rem;
}

.experience-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  flex-shrink: 0;
}

.experience-icon i {
  font-size: 1.8rem;
  color: #ffffff;
}

/* Small Experience Icon */
.experience-icon-small {
  width: 50px;
  height: 50px;
}

.experience-icon-small i {
  font-size: 1.4rem;
}

.experience-companies {
  margin-bottom: 1.5rem;
}

.company-item {
  color: #495057;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.company-item::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
  font-size: 1.2rem;
}

.company-item strong {
  color: #2c3e50;
}

.company-item a {
  color: #667eea;
  transition: all 0.3s ease;
}

.company-item a:hover {
  color: #764ba2;
}

/* Tech Stack Pills */
.tech-stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(102, 126, 234, 0.1);
}

.tech-pill-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.tech-pill-icon:hover {
  transform: translateY(-5px) scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.4));
}

/* Tech Pill Badge (for text-based tech names) */
.tech-pill-badge {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #ffffff;
  padding: 0.4rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  height: 30px;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
}

.tech-pill-badge:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
}

/* Experience Description */
.experience-description {
  color: #495057;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.experience-description ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}

.experience-description ul li {
  color: #495057;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.9rem;
}

.experience-description ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
  font-size: 1.2rem;
}

.experience-description ul li strong {
  color: #2c3e50;
}

/* Skills Gained */
.skills-gained {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(102, 126, 234, 0.1);
}

.skill-badge {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
}

.skill-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
}

/* ========================================
   CERTIFICATES CAROUSEL - FULL WIDTH
======================================== */
.certificates-section {
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.certificates-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 0.5rem;
}

.certificates-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.5));
  border-radius: 2px;
}

.certificates-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem 0 2rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #667eea #e9ecef;
}

.certificates-carousel::-webkit-scrollbar {
  height: 8px;
}

.certificates-carousel::-webkit-scrollbar-track {
  background: #e9ecef;
  border-radius: 10px;
}

.certificates-carousel::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 10px;
}

.certificate-card {
  flex: 0 0 280px;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
  animation: subtleFloat 6s ease-in-out infinite;
}

.certificate-card:nth-child(odd) {
  animation-delay: 0.5s;
}

.certificate-card:nth-child(even) {
  animation-delay: 1s;
}

@keyframes subtleFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

.certificate-card:hover {
  transform: translateY(-15px) scale(1.05) rotate(0deg) !important;
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.3);
  border-color: #667eea;
  animation: none;
}

.certificate-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: all 0.4s ease;
}

.certificate-card:hover .certificate-image {
  transform: scale(1.1);
}

.certificate-content {
  padding: 1.25rem;
  background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.certificate-name {
  font-size: 1rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.certificate-organization {
  font-size: 0.875rem;
  color: #667eea;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.certificate-organization i {
  font-size: 1rem;
}

.certificate-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.9),
    rgba(118, 75, 162, 0.9)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.certificate-card:hover .certificate-overlay {
  opacity: 1;
}

.certificate-overlay i {
  font-size: 3rem;
  color: #ffffff;
  animation: zoomPulse 1.5s ease-in-out infinite;
}

@keyframes zoomPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .certificates-section {
    padding: 1.5rem;
  }

  .certificate-card {
    flex: 0 0 240px;
  }

  .certificate-image {
    height: 160px;
  }

  .resume-item {
    padding: 1rem;
  }

  .resume-title {
    font-size: 1.4rem;
  }
}

/* ========================================
   PORTFOLIO SECTION STYLES
======================================== */

.portfolio-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-card-modern {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2.5rem;
  border: 2px solid rgba(102, 126, 234, 0.2);
  border-top: 4px solid;
  border-image: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%) 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.portfolio-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.25);
  border-color: #667eea;
}

.portfolio-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(102, 126, 234, 0.15);
}

.portfolio-icon {
  width: 70px;
  height: 70px;
  min-width: 70px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.portfolio-icon i {
  font-size: 2rem;
  color: white;
}

.portfolio-header h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.25rem;
}

.live-badge {
  display: inline-block;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 0.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
}

.portfolio-tagline {
  font-size: 0.95rem;
  color: #667eea;
  font-weight: 600;
  margin: 0;
}

.portfolio-description {
  color: #495057;
  margin-bottom: 1.5rem;
}

.portfolio-description > p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.portfolio-description ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.portfolio-description li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.portfolio-description li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
  font-size: 1.1rem;
}

.portfolio-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(102, 126, 234, 0.1);
}

.portfolio-tech-pills .tech-pill-badge {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #ffffff;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
}

.portfolio-tech-pills .tech-pill-badge:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
}

.portfolio-links {
  display: flex;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(102, 126, 234, 0.1);
}

.portfolio-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #667eea;
  color: #667eea;
  background: transparent;
}

.portfolio-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.portfolio-btn-primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-color: transparent;
}

.portfolio-btn-primary:hover {
  background: linear-gradient(135deg, #764ba2, #667eea);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.portfolio-btn i {
  font-size: 1.1rem;
}

/* Portfolio Responsive Design */
@media (max-width: 992px) {
  .portfolio-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .portfolio-card-modern {
    padding: 2rem;
  }

  .portfolio-header {
    flex-direction: column;
    text-align: center;
  }

  .portfolio-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
  }

  .portfolio-icon i {
    font-size: 1.75rem;
  }

  .portfolio-header h4 {
    font-size: 1.3rem;
  }

  .portfolio-links {
    flex-direction: column;
  }

  .portfolio-btn {
    width: 100%;
  }
}

/* ========================================
   CONTACT SECTION STYLES
======================================== */

/* Animated gradient background for Contact */
.contact-gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    #667eea 0%,
    #764ba2 25%,
    #f093fb 50%,
    #4facfe 75%,
    #00f2fe 100%
  );
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  z-index: 0;
}

/* Dark overlay for content readability */
.contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.contact-card-modern {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 3rem;
  border: 2px solid rgba(102, 126, 234, 0.2);
  border-top: 4px solid;
  border-image: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%) 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.contact-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.2);
}

.contact-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(102, 126, 234, 0.15);
}

.contact-icon {
  width: 80px;
  height: 80px;
  min-width: 80px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.contact-icon i {
  font-size: 2.5rem;
  color: white;
}

.contact-header h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.25rem;
}

.contact-tagline {
  font-size: 1rem;
  color: #667eea;
  font-weight: 600;
  margin: 0;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1),
    rgba(118, 75, 162, 0.1)
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-item-icon {
  background: linear-gradient(135deg, #667eea, #764ba2);
  transform: scale(1.1);
}

.contact-item-icon i {
  font-size: 1.5rem;
  color: #667eea;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-item-icon i {
  color: white;
}

.contact-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-item a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-item a:hover {
  color: #667eea;
}

.contact-item p {
  color: #495057;
  margin: 0;
  font-weight: 500;
}

.contact-cta {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1),
    rgba(118, 75, 162, 0.05)
  );
  padding: 1.25rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.contact-cta p {
  margin: 0;
  color: #2c3e50;
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-cta i {
  color: #667eea;
}

/* Contact Responsive Design */
@media (max-width: 768px) {
  .contact-card-modern {
    padding: 2rem;
  }

  .contact-header {
    flex-direction: column;
    text-align: center;
  }

  .contact-icon {
    width: 70px;
    height: 70px;
  }

  .contact-icon i {
    font-size: 2rem;
  }

  .contact-header h3 {
    font-size: 1.6rem;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-cta p {
    font-size: 0.9rem;
  }
}
