:root {
  /* Premium Light Theme Colors */
  --primary-color: #38bdf8;      /* Vibrant Sky Blue */
  --primary-hover: #0ea5e9;
  --secondary-color: #1e293b;    /* Deep Slate */
  --background-color: #f8fafc;   /* Soft Off-White */
  --text-color: #334155;         /* Slate 700 */
  --accent-color: #818cf8;       /* Indigo */
  --light-background: #ffffff;
  
  /* Glassmorphism & UI Tokens */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: 1px solid rgba(255, 255, 255, 0.5);
  --glass-blur: blur(12px);
  
  /* Advanced Layered Shadows */
  --soft-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
  --hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --premium-shadow: 0 0 0 1px rgba(0,0,0,0.02), 0 4px 12px rgba(0,0,0,0.04), 0 16px 32px rgba(0,0,0,0.04);
  
  /* Animations */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Enhanced Header Styling with larger round profile image */
header {
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: var(--glass-border);
  box-shadow: var(--soft-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.5rem 0;
  transition: var(--transition-smooth);
}

@media (max-width: 768px) {
  header {
    padding: 0.5rem 1rem;
    padding-top: max(0.5rem, env(safe-area-inset-top));
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
  }
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 1rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-right: 0.5rem;
  flex: 1;
  min-width: 0;
  max-width: 75%;
}

.profile-image {
  width: 65px;
  height: 65px;
  /* Keep it square before border-radius */
  border-radius: 50%;
  /* Make it round */
  overflow: hidden;
  border: 3px solid var(--primary-color);
  /* Add border all around */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  margin: 0.5rem;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.profile-image:hover img {
  transform: scale(1.05);
}

.headline {
  text-align: left;
  padding: 0.5rem 0;
  flex: 1;
  min-width: 0;
}

.headline h1 {
  font-family: 'Dancing Script', cursive;
  font-size: 2.2rem;
  color: #0077b5;
  margin-bottom: 0.5rem;
  white-space: nowrap;
}

.nav-social-container {
  display: flex;
  align-items: center;
  padding: 0.8rem 2rem;
}

/* Medium screen adjustments to prevent navigation wrapping */
@media (max-width: 1200px) and (min-width: 901px) {
  header nav ul {
    gap: 0.8rem;
  }

  header nav ul li a {
    padding: 0.5rem 0.5rem;
    font-size: 0.85rem;
  }
}

/* Responsive adjustments */

/* Cleaned up conflicting media queries */


.headline p {
  color: var(--secondary-color);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 0.3rem;
  letter-spacing: 0.1px;
  white-space: nowrap;
}

.headline .highlight {
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 50%, #e74c3c 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  display: inline-block;
  animation: gradientShift 4s ease-in-out infinite;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.headline .highlight:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.nav-social-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease-in-out;
  justify-content: flex-end;
}

/* Menu Toggle Button (Hidden on Desktop) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--secondary-color);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  transition: color 0.3s ease;
}

.menu-toggle:hover {
  color: var(--primary-color);
}

header nav {
  display: flex;
  justify-content: flex-end;
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  flex-wrap: nowrap;
}

header nav ul li a {
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  font-size: 0.9rem;
  position: relative;
  white-space: nowrap;
}

header nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: width 0.3s ease, left 0.3s ease;
}

header nav ul li a:hover {
  color: var(--primary-color);
}

header nav ul li a:hover::after {
  width: 80%;
  left: 10%;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-left: auto; /* Push to far right */
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  /* Increased from 36px */
  height: 42px;
  /* Increased from 36px */
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  /* Increased from 1rem */
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
}

/* Brand-specific styling */
.social-icon.linkedin {
  color: #0077B5;
  border-color: rgba(0, 119, 181, 0.3);
}

.social-icon.youtube {
  color: #FF0000;
  border-color: rgba(255, 0, 0, 0.3);
}

.social-icon.facebook {
  color: #1877F2;
  border-color: rgba(24, 119, 242, 0.3);
}

/* Hover effects */
.social-icon:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.social-icon.linkedin:hover {
  background-color: #0077B5;
  color: white;
  border-color: #0077B5;
}

.social-icon.youtube:hover {
  background-color: #FF0000;
  color: white;
  border-color: #FF0000;
}

.social-icon.facebook:hover {
  background-color: #1877F2;
  color: white;
  border-color: #1877F2;
}

/* Responsive adjustments */


@media (max-width: 900px) {

  html,
  body {
    overflow-x: hidden;
    width: 100%;
  }

  header {
    padding: 0.5rem 1rem;
    padding-top: max(0.5rem, env(safe-area-inset-top));
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
  }

  /* Compact Row Layout for Header */
  .header-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    min-height: 60px;
    height: auto;
    /* Flexible height for consistency */
  }

  .header-left {
    flex: 1;
    justify-content: flex-start;
    gap: 12px;
    padding: 0;
    max-width: 100%; /* Full width available */
  }

  /* Small Profile Image in Navbar */
  .profile-image {
    width: 44px;
    height: 44px;
    margin: 0;
    border-width: 2px;
    flex-shrink: 0;
  }

  .headline {
    flex: 1;
    text-align: left;
    margin: 0;
    padding: 0;
    padding-right: 48px; /* Leave space to avoid overlapping the fixed menu toggle */
    width: auto;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: visible;
  }

  .headline h1 {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
    /* Safely scale to screen size */
    margin: 0;
    line-height: 1.2;
    white-space: normal;
    /* Allow wrapping to a new line if screen is ultra tiny */
    overflow: visible;
  }

  /* Hide subtitle on sticky mobile header to save space */
  .headline p {
    display: none;
  }

  /* Menu Toggle - Fixed Position Top Right */
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: max(0.8rem, env(safe-area-inset-top));
    right: 1rem;
    width: 44px;
    height: 44px;
    background: transparent;
    border-radius: 50%;
    z-index: 2002;
    /* Ensure it stays above everything */
    box-shadow: none;
    margin: 0;
  }

  .menu-toggle i {
    font-size: 1.5rem;
    color: var(--secondary-color);
  }

  /* Full Screen Overlay Menu */
  .nav-social-container {
    display: none !important;
    /* Force hidden unless active */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 2000;
    padding: 2rem;
    backdrop-filter: blur(5px);
  }

  /* Show when active */
  .nav-social-container.active {
    display: flex !important;
  }

  header nav ul {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 1rem;
  }

  header nav ul li {
    width: 100%;
    text-align: center;
  }

  header nav ul li a {
    display: block;
    padding: 0.8rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    width: 100%;
  }

  header nav ul li a:hover {
    background-color: #e2e6ea;
  }

  .social-icons {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
  }

  /* Ensure sections have less padding on mobile to reduce gaps */
  section {
    padding: 1.5rem;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

section {
  background-color: var(--light-background);
  border-radius: 12px;
  box-shadow: var(--soft-shadow);
  margin-bottom: 2rem;
  padding: 3rem;
  transition: transform 0.2s ease;
}

/* section:hover {
  transform: translateY(-3px);
} */

/* 
#about {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 2rem;
  position: relative;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about-image {
  flex-shrink: 0;
}

.about-image img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.about-content {
  flex: 1;
}

.about-content h1 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
  position: relative;
}

.about-content h1::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: white;
}

.about-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
} */

/* Two-column About Section to match Courses and YouTube sections */
/* Modernized About Section */
#about {
  width: 100%;
  padding: 5rem 0;
  box-sizing: border-box;
  background-color: #f8fafc;
}

.about-container.two-column {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.section-title-wrapper {
  margin-bottom: 2rem;
  text-align: left;
}

.section-title {
  font-size: 2rem;
  color: #0f172a;
  /* Darker Slate */
  margin-bottom: 0.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.title-underline {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #1e40af, #4f46e5);
  /* More vibrant blue */
  border-radius: 2px;
}

.about-bio,
.career-highlights {
  background: #ffffff;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e2e8f0;
  /* Slightly darker border */
}

.about-bio p {
  color: #1e293b;
  /* Dark Slate for better readability */
  line-height: 1.7;
}

.about-bio:hover,
.career-highlights:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* About Section Specifics */
.role-badges {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.role-badge {
  background: #f1f5f9;
  color: #0f172a;
  /* Dark text */
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #e2e8f0;
}

.role-badge i {
  color: #2563eb;
  /* More visible blue */
}

.text-highlight {
  color: #1e40af;
  /* Deeper blue */
  font-weight: 700;
}

.interest-tags {
  margin-top: 2rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tag {
  color: #475569;
  /* Darker grey tags */
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}

/* Career Highlights Specifics */
.career-card.premium {
  background: #ffffff;
  /* Brighter white for contrast */
  border: 1px solid #cbd5e1;
  /* Stronger border */
  border-left: 5px solid #1e40af;
  /* Thicker accent */
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.career-card.premium:hover {
  background: #f8fafc;
  border-color: #1e40af;
}

.job-title-row h3 {
  color: #0f172a;
  /* Darkest slate for titles */
}

.company-badge {
  background: #1e40af;
  /* Darker blue */
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
}

.company-badge.grey {
  background: #334155;
  /* Darker grey-slate */
}

.duration-location {
  color: #475569;
  /* Much darker than before */
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.tech-stack-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.tech-tag {
  font-size: 0.7rem;
  background: #e2e8f0;
  color: #1e293b;
  /* Darker text on tech tags */
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.achievements li {
  color: #1e293b !important;
  /* High contrast body text */
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
  margin-bottom: 0.75rem !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.75rem !important;
  font-weight: 450;
}

.achievements li i {
  color: #3a6ea5;
  margin-top: 0.25rem;
  font-size: 0.8rem;
}

.achievements li::before {
  display: none !important;
}

.career-footer {
  margin-top: 2rem;
}

.premium-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #1e293b;
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.premium-btn:hover {
  background: #334155;
  transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .about-container.two-column {
    grid-template-columns: 1fr;
    width: 95%;
  }
}

@media (max-width: 640px) {

  .about-bio,
  .career-highlights {
    padding: 1.5rem;
  }

  .job-title-row {
    flex-direction: column;
    gap: 0.5rem;
  }
}


/* Section container */
.youtube-section {
  width: 100%;
  padding: 3rem 0;
  box-sizing: border-box;
  background-color: #fcfcfd;
}

.youtube-section .section-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--secondary-color);
  position: relative;
  font-weight: 600;
}

.youtube-section .section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

/* Video grid container */
.video-grid-container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Update the existing video-grid to work within the container */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* Video card styles */
.video-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
}

/* Standardize video and course image dimensions */

/* Video wrapper - set fixed aspect ratio */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  /* Match course image border-radius */
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Course Image Styles - match video dimensions */
.course-image {
  width: 100%;
  position: relative;
  padding-bottom: 56.25%;
  /* Same 16:9 aspect ratio as videos */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
  background-color: #f0f0f0;
}

.course-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Changed from contain to cover for better appearance */
  object-position: center;
}

/* Make cards the same height */
.video-card,
.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.video-card:hover,
.course-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Standardize info sections */
.video-info,
.course-card>*:not(.course-image) {
  padding: 15px;
}

/* Make titles the same size */
.video-title,
.course-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
}

/* Make descriptions the same size */
.video-description,
.course-description {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
}

/* Button styles */
.watch-on-youtube {
  display: inline-block;
  background-color: #4a6fa5;
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.watch-on-youtube:hover {
  background-color: #3a5985;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
    /* One column on mobile */
  }
}

/* Full-width Courses Section */
#courses {
  width: 100%;
  padding: 3rem 0;
  box-sizing: border-box;
  background-color: #fcfcfd;
}

.courses-wrapper {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

#courses h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--secondary-color);
  position: relative;
  font-weight: 600;
}

#courses h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

.courses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
}

.course-card {
  background-color: #f9f9fc;
  border-radius: 16px;
  padding: 1.75rem;
  position: relative;
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary-color);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.course-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.course-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: var(--primary-color);
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.course-card h3 {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  padding-right: 20px;
  line-height: 1.4;
}

.course-year {
  font-size: 0.9rem;
  color: var(--secondary-color);
  opacity: 0.7;
  margin-bottom: 1rem;
}

.course-description {
  color: var(--secondary-color);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

/* Course Link Styles */
.course-link {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.course-link:hover h3 {
  color: var(--primary-color);
}

.course-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
  align-self: flex-start;
}

.course-button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .courses-wrapper {
    width: 95%;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .course-card {
    margin-bottom: 1.5rem;
  }

  .course-card:last-child {
    margin-bottom: 0;
  }
}

/* Course Image Styles */
.course-image {
  width: 100%;
  /* Ensure full width of the card */
  height: 250px;
  /* Maintains the existing height */
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  /* Use flexbox to center the image */
  justify-content: center;
  align-items: center;
  background-color: #f0f0f0;
  /* Optional: add a light background if image has transparency */
}

.course-image img {
  width: 100%;
  /* Full width of the container */
  height: 100%;
  /* Full height of the container */
  object-fit: contain;
  /* Shows entire image without cropping */
  object-position: center;
  /* Center the image */
}

.course-card:hover .course-image img {
  transform: scale(1.02);
  /* Subtle zoom, reduced from 1.05 */
  transition: transform 0.3s ease;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .course-image {
    height: 220px;
    /* Maintained mobile height */
  }
}

/* Course Reviews Styles */
.course-reviews {
  margin: 1.5rem 0;
  width: 100%;
}

.course-reviews h4 {
  font-size: 1.1rem;
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 8px;
}

.course-reviews h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.review-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review {
  background-color: #f5f5f7;
  border-radius: 8px;
  padding: 1rem;
  position: relative;
}

.review::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  font-size: 2rem;
  color: rgba(0, 0, 0, 0.1);
  font-family: Georgia, serif;
}

.stars {
  color: #FFD700;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.review-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.reviewer {
  font-size: 0.8rem;
  color: #777;
  text-align: right;
  margin: 0;
  font-weight: 500;
}

/* Adjust course card to accommodate reviews */
.course-card {
  padding-bottom: 1.5rem;
}

.course-button {
  margin-top: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .review-container {
    gap: 0.75rem;
  }

  .review {
    padding: 0.75rem;
  }

  .review-text {
    font-size: 0.85rem;
  }
}

/* Full-width Career Section */
#career {
  width: 100%;
  padding: 3rem 0;
  box-sizing: border-box;
  background-color: #fcfcfd;
}

.career-wrapper {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

#career h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--secondary-color);
  position: relative;
  font-weight: 600;
}

#career h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

.career-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  color: var(--secondary-color);
  font-size: 1.05rem;
  line-height: 1.6;
}

.career-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
}

.career-card {
  background-color: #f9f9fc;
  border-left: 4px solid var(--primary-color);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.career-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

.career-header {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.career-header h3 {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.company-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--secondary-color);
}

.company-name {
  font-weight: 500;
  color: var(--primary-color);
}

.duration {
  font-size: 0.9rem;
  opacity: 0.8;
}

.achievements {
  list-style: none;
  padding: 0;
  margin: 0;
}

.achievements li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--secondary-color);
  line-height: 1.5;
}

.achievements li:last-child {
  margin-bottom: 0;
}

.achievements li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .career-wrapper {
    width: 95%;
  }

  .career-grid {
    grid-template-columns: 1fr;
  }

  .career-card {
    margin-bottom: 1.5rem;
  }

  .career-card:last-child {
    margin-bottom: 0;
  }
}

/* Social Media Icons */
.nav-social-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  color: var(--secondary-color);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: rgba(41, 128, 185, 0.1);
}

/* Deeper colors for social icons by default */
.social-icon.linkedin {
  color: #0a66c2;
  /* Deeper LinkedIn blue */
}

.social-icon.youtube {
  color: #c4302b;
  /* Deeper YouTube red */
}

.social-icon.facebook {
  color: #1877f2;
  /* Facebook blue */
}

/* Even more intense on hover */
.social-icon:hover {
  background-color: rgba(41, 128, 185, 0.2);
}

.social-icon.linkedin:hover {
  color: #004182;
  /* Darker LinkedIn blue */
}

.social-icon.youtube:hover {
  color: #990000;
  /* Darker YouTube red */
}

.social-icon.facebook:hover {
  color: #0d5ab9;
  /* Darker Facebook blue */
}

/* Update responsive design for social icons */
@media (max-width: 900px) {
  .nav-social-container {
    align-items: center;
  }

  .social-icons {
    margin-top: 1rem;
  }
}

@media (max-width: 768px) {
  .headline h1 {
    font-size: 3.5rem;
    /* Slightly smaller on mobile devices */
  }
}

/* Blog section enhancements */
.section-subtitle {
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle p {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border: 2px solid var(--primary-color);
  border-radius: 25px;
  background: transparent;
}

.view-all-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.view-all-link i {
  transition: transform 0.3s ease;
}

.view-all-link:hover i {
  transform: translateX(3px);
}

/* Blog Page Styles */
.blog-hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 4rem 0 3rem 0;
  margin-top: 80px;
}

.blog-hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.blog-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.blog-hero-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.blog-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
}

.blog-stat {
  text-align: center;
}

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

.stat-label {
  font-size: 0.9rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-posts-section {
  padding: 4rem 0;
}

.blog-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.8rem 1.5rem;
  border: 2px solid #e9ecef;
  background: white;
  color: #666;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* Responsive blog page */
@media (max-width: 768px) {
  .blog-hero-title {
    font-size: 2.5rem;
  }

  .blog-stats {
    gap: 2rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .blog-filters {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
}

/* About section styling enhancements */
.about-intro {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-weight: 500;
  color: white;
  /* Change from var(--secondary-color) to white */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  /* Add subtle text shadow for better readability */
}

.name-highlight {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #ffffff;
  /* Brighter white for the name */
  position: relative;
  display: inline-block;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  /* Slightly stronger shadow for the name */
}

.about-text p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: white;
  /* Ensure all text is white for better contrast against blue background */
}

/* Projects & GitHub Activity Section - Fixed to match YouTube section */
#projects {
  width: 100%;
  padding: 3rem 0;
  box-sizing: border-box;
  background-color: #fcfcfd;
}

.projects-wrapper {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 0;
}

#projects .section-title {
  text-align: center;
  margin-bottom: 4rem;
  color: var(--secondary-color);
  position: relative;
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}

#projects .section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 50px;
}

/* Projects & GitHub Section Redesign */
#projects {
  background-color: #f8fafc;
  padding: 5rem 0;
  box-shadow: none;
  border-radius: 0;
}

.projects-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-bottom: 5rem;
}

.project-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.project-image-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.project-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image-wrapper img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-header h3 {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.project-tag {
  background: rgba(58, 110, 165, 0.1);
  color: var(--primary-color);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.project-description {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.project-links {
  display: flex;
  gap: 1rem;
  margin-top: auto;
}

.project-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.2rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.project-link i {
  font-size: 1.1rem;
}

.github-btn {
  background: var(--secondary-color);
  color: white;
}

.github-btn:hover {
  background: #1a252f;
  transform: translateY(-2px);
}

.demo-btn {
  background: white;
  color: var(--secondary-color);
  border: 2px solid #e5e7eb;
}

.demo-btn:hover {
  background: #f9fafb;
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* GitHub Activity Design - Premium Overhaul */
.github-activity {
  background: #ffffff;
  border-radius: 40px;
  padding: 4rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.04);
  margin-top: 5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid #f1f5f9;
}

.github-activity::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(58, 110, 165, 0.03) 0%, transparent 70%);
  z-index: 0;
}

.github-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 1;
}

.github-header h3 {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.github-subtitle {
  color: #64748b;
  font-size: 1.1rem;
}

.github-badges {
  display: flex;
  gap: 1rem;
}

.github-badge {
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.active-tag {
  background: #ecfdf5;
  color: #059669;
}

.star-tag {
  background: #fffbeb;
  color: #d97706;
}

.github-content-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.github-main-card,
.stats-card {
  background: #f8fafc;
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid #f1f5f9;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.github-main-card:hover,
.stats-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.card-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.github-calendar {
  padding: 1rem 0;
}

.github-chart {
  width: 100%;
  filter: saturate(1.2);
}

.github-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #64748b;
}

.legend-squares {
  display: flex;
  gap: 4px;
}

.legend-squares span {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

.github-stats-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Modern Local Stat Cards */
.stats-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}

.stat-row:last-child {
  border-bottom: none;
}

.stat-name {
  color: #475569;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stat-value {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.1rem;
}

.lang-bars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lang-bar-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lang-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
}

.progress-container {
  height: 8px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 10px;
  transition: width 1s ease-in-out;
}

.progress-bar.python {
  background: #3776ab;
}

.progress-bar.typescript {
  background: #3178c6;
}

.progress-bar.html {
  background: #e34c26;
}

.progress-bar.javascript {
  background: #f7df1e;
}

.github-footer {
  display: flex;
  justify-content: center;
  margin-top: 5rem;
  position: relative;
  z-index: 1;
}

.github-profile-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 2rem !important;
  background: #1e293b !important;
  color: #ffffff !important;
  padding: 0.75rem 0.75rem 0.75rem 2.5rem !important;
  border-radius: 100px !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  min-width: 320px;
  max-width: 100%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.github-profile-link span {
  color: #ffffff !important;
  white-space: nowrap !important;
  display: inline-block !important;
}

.github-profile-link .link-circle {
  width: 44px;
  height: 44px;
  background: #ffffff !important;
  color: #1e293b !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.1rem !important;
  transition: transform 0.4s ease;
  flex-shrink: 0 !important;
}

.github-profile-link:hover {
  background: #0f172a;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.github-profile-link:hover .link-circle {
  transform: rotate(-45deg);
}

@media (max-width: 1200px) {
  .github-content-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .github-activity {
    padding: 2.5rem 1.5rem;
    border-radius: 30px;
  }

  .github-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .github-header h3 {
    font-size: 1.5rem;
  }

  .github-badges {
    width: 100%;
  }

  .github-badge {
    flex: 1;
    justify-content: center;
  }
}

/* GitHub activity replaced by redesigned section above */
/* Responsive adjustments */
@media (max-width: 1200px) {
  .about-container.three-column {
    grid-template-columns: 1fr 1fr;
  }

  .career-highlights {
    grid-column: span 2;
    margin-top: 2rem;
  }

  .about-container.three-column .about-bio::after {
    content: '';
  }

  .about-container.three-column .tech-stack::after {
    content: none;
  }
}

@media (max-width: 768px) {
  .about-container.three-column {
    grid-template-columns: 1fr;
  }

  .career-highlights {
    grid-column: span 1;
  }

  .about-container.three-column .about-bio::after {
    content: none;
  }
}

/* Three-column About Section with modern design */
#about {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 3rem 2rem;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  margin: 2rem auto;
}

.about-container.three-column {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Remove vertical dividers and use subtle shadows instead */
.about-container.three-column .about-bio::after,
.about-container.three-column .tech-stack::after {
  content: none;
  display: none;
}

/* Style each column as a card */
.about-bio,
.tech-stack,
.career-highlights {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.about-bio:hover,
.tech-stack:hover,
.career-highlights:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Section titles with modern underline */
.section-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.5rem;
  color: white;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 3px;
}

/* Improve text readability */
.about-text p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  letter-spacing: 0.2px;
}

.about-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-weight: 500;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.name-highlight {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #ffffff;
  position: relative;
  display: inline-block;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Tech Stack styling */
.badge-category {
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.badge-category h4 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: white;
  font-weight: 600;
}

/* Career Highlights in About Section */
.career-highlights {
  display: flex;
  flex-direction: column;
  position: relative;
}

.career-highlights .section-title {
  margin-bottom: 1.5rem;
  color: white;
}

.career-card.compact {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.career-card.compact:hover {
  transform: translateY(-3px);
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.career-card.compact .career-header h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: white;
}

.career-card.compact .company-details {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.career-card.compact .company-name {
  font-weight: 600;
  color: #ffffff;
  /* Brighter white for better visibility */
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
  position: relative;
  padding-left: 0.5rem;
}

.career-card.compact .company-name::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 80%;
  background: var(--primary-color);
  border-radius: 2px;
}

.career-card.compact .achievements {
  padding-left: 1rem;
  margin-top: 0.5rem;
}

.career-card.compact .achievements li {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding-left: 1rem;
  line-height: 1.4;
}

.career-card.compact .achievements li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

/* Enhanced Footer with Social Sharing */
footer {
  background-color: #2c3e50;
  color: white;
  padding: 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 2rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-family: 'Dancing Script', cursive;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
}

.footer-info p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-social h4,
.footer-share h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

/* Dividend Projection Sleek Design */
.projection-container {
  margin-top: 5rem;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.projection-title {
  font-size: 2.2rem;
  color: #1a202c;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 800;
  letter-spacing: -0.5px;
  position: relative;
}

.target-snapshot-card {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  color: white;
  border-radius: 24px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.target-snapshot-card h4 {
  color: #fbd38d;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.snapshot-table {
  width: 100%;
  max-width: 600px;
  border-collapse: collapse;
}

.snapshot-table th {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #a0aec0;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.snapshot-table td {
  padding: 15px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.snapshot-table tr:last-child td {
  border-bottom: none;
}

.snapshot-table .bucket-name {
  font-weight: 600;
  color: #fff;
}

.snapshot-table .target-percent {
  font-weight: 700;
  color: #63b3ed;
  text-align: right;
}

.projection-title i {
  background: linear-gradient(135deg, #3a6ea5 0%, #2980b9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-right: 12px;
}

.projection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.projection-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(230, 230, 230, 0.4);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.projection-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  border-color: rgba(58, 110, 165, 0.2);
}

.projection-card h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: #2d3748;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  font-weight: 700;
}

.projection-card h4 i {
  font-size: 1.1rem;
  padding: 10px;
  background: #f0f7ff;
  border-radius: 12px;
  color: #3a6ea5;
}

.projection-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.projection-table th:last-child,
.projection-table td:last-child {
  text-align: right;
}

.projection-table th {
  padding: 0 12px 12px 12px;
  color: #a0aec0;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 1px;
}

.projection-table td {
  padding: 16px 12px;
  color: #4a5568;
  font-size: 0.95rem;
  border-bottom: 1px solid #f8fafc;
  transition: all 0.2s ease;
}

.projection-table tr:hover td {
  color: #2d3748;
  background-color: #fbfcfe;
}

.projection-table tr:last-child td {
  border-bottom: none;
}

.projection-table tr.total-row {
  background-color: #f8fafc;
}

.projection-table tr.total-row td {
  color: #3a6ea5;
  font-weight: 800;
  border-top: 2px solid #edf2f7;
  font-size: 1rem;
}

.projection-table .ticker-cell {
  font-weight: 700;
  color: #2d3748;
}

.projection-table .value-cell {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
}

.projection-table .percent-cell {
  font-weight: 700;
  color: #48bb78;
}

@media (max-width: 768px) {
  .projection-container {
    padding: 2.5rem 1.5rem;
    margin-top: 3rem;
  }

  .projection-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.social-icons-footer {
  display: flex;
  gap: 1rem;
}

.social-icons-footer .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icons-footer .social-icon:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.social-icons-footer .linkedin:hover {
  background-color: #0077b5;
}

.social-icons-footer .youtube:hover {
  background-color: #ff0000;
}

.social-icons-footer .facebook:hover {
  background-color: #1877f2;
}

.social-icons-footer .github:hover {
  background-color: #333;
}

.share-buttons {
  display: flex;
  gap: 1rem;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.share-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.share-btn.facebook:hover {
  background-color: #1877f2;
}

.share-btn.twitter:hover {
  background-color: #1da1f2;
}

.share-btn.linkedin:hover {
  background-color: #0077b5;
}

.share-btn.email:hover {
  background-color: #ea4335;
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .social-icons-footer,
  .share-buttons {
    justify-content: center;
  }
}

/* Skills at a glance section */
.skills-glance {
  background-color: #f8f9fa;
  padding: 1.5rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.skills-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.skills-title h2 {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 600;
  position: relative;
}

.skills-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.skills-badges {
  display: grid;
  grid-template-columns: repeat(8, auto);
  gap: 1rem;
  margin-top: 1rem;
  max-width: 1200px;
  justify-content: center;
}

@media (max-width: 1200px) {
  .skills-badges {
    grid-template-columns: repeat(4, auto);
  }
}

@media (max-width: 768px) {
  .skills-badges {
    grid-template-columns: repeat(3, auto);
  }
}

@media (max-width: 480px) {
  .skills-badges {
    grid-template-columns: repeat(2, auto);
  }
}

.skill-badge {
  display: flex;
  align-items: center;
  background: white;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 0.5rem;
  /* Add bottom margin for better spacing between rows */
}

.skill-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #f8f9fa, white);
}

.skill-badge i {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-right: 0.5rem;
}

.skill-badge span {
  font-weight: 500;
  color: var(--secondary-color);
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .skills-badges {
    gap: 0.8rem;
  }

  .skill-badge {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

/* New Skills & Education Section */
.skills-education-section {
  background: linear-gradient(135deg, var(--background-color) 0%, #eef2f6 100%);
  padding: 2.5rem 0;
  margin: 0.1rem 0;
}

.skills-education-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

/* Left Column - Skills */
.skills-column {
  background: var(--light-background);
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: var(--premium-shadow);
  border: 1px solid rgba(0,0,0,0.02);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.3rem;
}

.skills-header h2 {
  font-size: 1.6rem;
  color: #2c3e50;
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.skills-header p {
  color: #6c757d;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.skills-categories {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-content: start;
  padding-bottom: 0.7rem;
}

.skill-category {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 16px;
  padding: 0.5rem;
  border: var(--glass-border);
  transition: var(--transition-bounce);
  box-shadow: var(--soft-shadow);
  margin-bottom: 0.2rem;
}

.skill-category:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--primary-color);
  box-shadow: var(--hover-shadow);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.1rem;
}

.category-icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #3498db, #2980b9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.skill-category:hover .category-icon {
  transform: scale(1.05);
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.category-icon i {
  color: white;
  font-size: 0.8rem;
}

.category-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin: 0;
  line-height: 1.1;
}

.category-description {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.15;
  margin: 0 0 0.1rem 0;
  font-weight: 400;
  overflow: visible;
  padding-right: 35px;
}

/* Open Source Contributions in Skills */
.os-contrib-category {
  padding: 0.6rem 0.8rem !important;
}

.os-stats-row {
  display: flex;
  gap: 0.5rem;
  margin: 0.4rem 0;
}

/* Ensure link in header has no margin */
.os-contrib-category .category-link-inline {
  margin: 0;
}

.os-badge-header {
  font-size: 0.7rem;
  background: rgba(52, 152, 219, 0.1);
  color: #2980b9;
  padding: 0.15rem 0.5rem;
  border-radius: 99px;
  font-weight: 600;
  white-space: nowrap;
  margin-left: auto;
}

.os-lang-stats {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.2rem;
}

.os-lang-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.os-lang-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 600;
  color: #475569;
}

.os-progress {
  height: 4px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.os-bar {
  height: 100%;
  border-radius: 4px;
}

.os-bar.python {
  background: #3776ab;
}

.os-bar.typescript {
  background: #3178c6;
}

.os-bar.html {
  background: #e34c26;
}

.os-bar.javascript {
  background: #f7df1e;
}

/* Even more compact for 4 items */
.os-lang-stats {
  gap: 0.35rem;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem 0.4rem;
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
}

.category-link:hover {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.category-link i:first-child {
  font-size: 0.7rem;
}

.category-link i:last-child {
  font-size: 0.55rem;
}

/* Inline category link buttons */
.category-link-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: 8px;
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white !important;
  text-decoration: none;
  border-radius: 50%;
  font-size: 0.75rem;
  transition: all 0.3s ease;
  vertical-align: middle;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  animation: pulse-glow 2s infinite;
  position: relative;
  float: right;
  margin-top: -4px;
  vertical-align: top;
}

.category-link-inline:hover {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  animation: none;
}

.category-link-inline i {
  color: white !important;
  font-size: 0.7rem !important;
  line-height: 1 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.category-link-inline .fa-hugging-face {
  color: white !important;
  fill: white !important;
}

.category-link-inline .fab {
  color: white !important;
}

/* Force all Font Awesome icons in inline buttons to be white */
.category-link-inline [class*="fa-"] {
  color: white !important;
  fill: white !important;
}

.category-link-inline svg {
  color: white !important;
  fill: white !important;
}

.category-link-inline svg path {
  fill: white !important;
}

/* Specific override for Hugging Face icon */
.category-link-inline .fa-hugging-face::before {
  color: white !important;
}

/* Force Hugging Face icon to use text instead of default color */
a[href*="huggingface"] .fa-hugging-face {
  color: white !important;
  background: none !important;
  font-size: 0.7rem !important;
  line-height: 1 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

a[href*="huggingface"].category-link-inline {
  background: linear-gradient(135deg, #ff6b35, #f7931e) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

a[href*="huggingface"].category-link-inline:hover {
  background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
}

/* Pulse glow animation */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(52, 152, 219, 0.4);
  }

  50% {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 4px rgba(52, 152, 219, 0.2);
  }

  100% {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(52, 152, 219, 0.4);
  }
}

/* Right Column - Education */
.education-column {
  background: var(--light-background);
  border-radius: 20px;
  padding: 1.2rem 1.8rem 1.1rem 1.8rem;
  box-shadow: var(--premium-shadow);
  border: 1px solid rgba(0, 0, 0, 0.02);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 1.2rem;
}

.education-header h2 {
  font-size: 1.6rem;
  color: #2c3e50;
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.education-header p {
  color: #6c757d;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.edu-header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.title-with-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.2rem;
  flex-wrap: wrap;
}

.udemy-badge-sleek {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #fdfaff;
  color: #A435F0 !important;
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(164, 53, 240, 0.15);
  box-shadow: 0 2px 8px rgba(164, 53, 240, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none !important;
}

.udemy-svg-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex-shrink: 0;
}

.udemy-badge-sleek:hover {
  transform: translateY(-2px) scale(1.02);
  background: #A435F0;
  color: white !important;
  box-shadow: 0 4px 12px rgba(164, 53, 240, 0.25);
  border-color: #A435F0;
}

.udemy-badge-sleek:hover .udemy-svg-icon {
  transform: scale(1.1);
}

@media (max-width: 480px) {
  .title-with-badge {
    gap: 0.5rem;
  }

  .udemy-badge-sleek {
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
  }
}

/* Combined Stats and Courses */
.education-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  align-items: start;
}

/* Tutoring Stats */
.tutoring-stats {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 10px;
  padding: 0.4rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.tutoring-stats h3 {
  font-size: 1rem;
  color: #2c3e50;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.tutoring-stats h3 i {
  color: #e74c3c;
  font-size: 0.9rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.stat-item {
  text-align: center;
  padding: 0.25rem;
  background: white;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.stat-item:hover {
  border-color: #3498db;
  transform: translateY(-1px);
}

.stat-number {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e74c3c;
  margin-bottom: 0.05rem;
}

.stat-label {
  font-size: 0.7rem;
  color: #6c757d;
  font-weight: 500;
  line-height: 1.2;
}

/* Course Cards */
.course-cards {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 10px;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.course-cards h3 {
  font-size: 1rem;
  color: #2c3e50;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.course-cards h3 i {
  color: #3498db;
  font-size: 0.9rem;
}

.course-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.course-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 1.25rem 1.2rem;
  border-radius: 8px;
  border: var(--glass-border);
  transition: var(--transition-smooth);
  box-shadow: var(--soft-shadow);
  margin-bottom: 0.8rem;
}

.course-item:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--hover-shadow);
  border-color: var(--primary-color);
}

.course-info h4 {
  font-size: 0.8rem;
  color: #2c3e50;
  margin-bottom: 0.2rem;
  font-weight: 600;
  line-height: 1.2;
}

.course-platform-small {
  font-size: 0.7rem;
  color: #6c757d;
  font-weight: 500;
}

.course-rating-small {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.course-rating-small .stars {
  color: #f39c12;
  font-size: 0.6rem;
}

.course-rating-small span {
  font-size: 0.6rem;
  color: #6c757d;
}

.course-btn-small {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.course-btn-small:hover {
  background: linear-gradient(135deg, #2980b9, #1f5f8b);
  transform: translateY(-1px);
}

/* Tutoring Promo */
.tutoring-promo {
  background: rgba(52, 152, 219, 0.05);
  border: 1px dashed rgba(52, 152, 219, 0.3);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

.tutoring-promo p {
  margin: 0;
  font-size: 1rem;
  color: #2c3e50;
  line-height: 1.4;
}

.tutoring-promo .promo-price {
  color: #e74c3c;
  font-weight: 800;
  font-size: 1.1rem;
}

.tutoring-promo .promo-cta {
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 5px;
}

.tutoring-promo .promo-cta a {
  text-decoration: none;
  color: #3498db;
  display: inline-block;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(52, 152, 219, 0.1);
  border: 1px solid rgba(52, 152, 219, 0.2);
  transition: all 0.3s ease;
  animation: attention-pulse 2.5s infinite ease-in-out;
}

.tutoring-promo .promo-cta a:hover {
  background: #3498db;
  color: white !important;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

@keyframes attention-pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.4); }
  50% { transform: scale(1.03); color: #e74c3c; box-shadow: 0 0 15px 5px rgba(52, 152, 219, 0.1); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.4); }
}

/* Education Links */
.education-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.education-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  padding: 1.25rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.education-link:hover {
  background: linear-gradient(135deg, #2980b9, #1f5f8b);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.education-link i:first-child {
  margin-right: 0.4rem;
  font-size: 0.8rem;
}

.education-link i:last-child {
  margin-left: 0.4rem;
  font-size: 0.7rem;
  transition: all 0.3s ease;
}

.education-link:hover i:last-child {
  transform: translateX(2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .skills-education-container {
    gap: 3rem;
  }

  .skills-categories {
    gap: 1.2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}

@media (max-width: 968px) {
  .skills-education-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .skills-column,
  .education-column {
    max-width: 800px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .skills-education-section {
    padding: 3rem 0;
  }

  .skills-education-container {
    padding: 0 1rem;
    gap: 2rem;
  }

  .skills-column {
    padding: 2rem 1.5rem;
  }

  .skills-categories {
    gap: 1rem;
  }

  .skill-category {
    padding: 1.2rem;
  }

  .category-icon {
    width: 35px;
    height: 35px;
  }

  .skill-icon i {
    font-size: 1.2rem;
  }

  .skill-name {
    font-size: 0.8rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tutoring-stats {
    padding: 1.5rem;
  }

  /* Force education content to stack on mobile */
  .education-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Stack layout for links on mobile */
  .education-links {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}



/* Dividend Income Section */
#dividend-income {
  width: 100%;
  padding: 4rem 0;
  box-sizing: border-box;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.dividend-wrapper {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 0;
}

#dividend-income .section-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--secondary-color);
  position: relative;
  font-weight: 600;
}

#dividend-income .section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

.dividend-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  align-items: center;
}

.dividend-info {
  flex: 1;
  min-width: 300px;
}

.dividend-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #333;
}

.dividend-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  justify-content: space-between;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 5px 10px -5px rgba(0, 0, 0, 0.01);
  flex: 1 1 200px;
  /* Grow, shrink, base width */
  min-width: 0;
  /* Allow shrinking below content size if needed, but flex-basis limits it */
  border: 1px solid rgba(230, 230, 230, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
}

.stat-value {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
}

.dividend-chart {
  flex: 1;
  min-width: 300px;
  height: 400px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  border: 1px solid rgba(230, 230, 230, 0.5);
  transition: transform 0.3s ease;
}

.dividend-chart:hover {
  transform: translateY(-3px);
}

/* Enhanced dividend stats with target income */
/* Enhanced dividend stats (New Layout) */
.income-stat {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  text-align: left;
  /* Specific override for flex sizing if needed, but inheriting is usually fine */
  flex-basis: 260px;
  /* Give it a bit more room naturally */
}

.income-header {
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 5px;
}

.income-flex-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
}

.income-text-content {
  display: flex;
  flex-direction: column;
}

.main-income {
  font-size: 2.2rem;
  font-weight: 800;
  color: #2980b9;
  line-height: 1;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: initial;
}

.target-wrapper {
  margin-top: 5px;
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.target-val {
  color: #27ae60;
  font-weight: 700;
}

.income-progress-mini {
  position: relative;
  width: 65px;
  height: 65px;
  margin-left: 10px;
}

.progress-percentage-mini {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.85rem;
  font-weight: 700;
  color: #333;
}

.stat-item .stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .income-flex-container {
    flex-direction: row;
    /* Keep row on mobile but maybe adjust gap */
    justify-content: space-between;
  }

  .target-wrapper {
    font-size: 0.8rem;
  }

  .main-income {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .dividend-container {
    flex-direction: column;
  }

  .dividend-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-item {
    margin: 0;
  }
}

/* Hover Card Styles */
.strategy-container {
  position: relative;
  display: inline-block;
}

.hover-card {
  position: absolute;
  top: calc(100% + 15px);
  left: 0;
  width: 400px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 100;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.strategy-container:hover .hover-card,
.hover-card:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Active state for JavaScript enhancement */
.hover-card.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.2rem;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 8px;
}

.card-content p {
  margin-bottom: 15px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;
}

.card-content ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.card-content li {
  margin-bottom: 8px;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Add a small arrow/triangle pointing to the link */
.hover-card::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 20px;
  width: 16px;
  height: 16px;
  background-color: white;
  transform: rotate(45deg);
  box-shadow: -3px -3px 5px rgba(0, 0, 0, 0.04);
}

/* Make sure the card stays open when hovering over it */
.hover-card:hover {
  opacity: 1;
  visibility: visible;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hover-card {
    width: 300px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
  }

  .strategy-container:hover .hover-card,
  .hover-card:hover {
    transform: translateX(-50%) translateY(0);
  }

  .hover-card::before {
    left: 50%;
    margin-left: -8px;
  }
}

/* Blog Section Styles */
.blog-section {
  padding: 1rem 0 2rem;
  /* Reduced top padding from 2rem to 1rem */
  background-color: #fcfcfd;
}

.blog-section .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 0.5rem;
  /* Added small top padding to container */
}

.blog-section .section-title {
  text-align: center;
  margin-top: 0.5rem;
  /* Added small top margin */
  margin-bottom: 0.3rem;
  /* Reduced to minimize gap */
  color: var(--secondary-color);
  position: relative;
  font-weight: 600;
}

.blog-section .section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background-color: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.blog-image {
  aspect-ratio: 3 / 2;
  height: auto;
  overflow: hidden;
  background-color: #0f172a;
}

.blog-image a {
  display: block;
  height: 100%;
  overflow: hidden;
}

.blog-image a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image a img {
  opacity: 0.9;
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: #777;
}

.blog-date,
.blog-read-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
  line-height: 1.4;
}

.blog-excerpt {
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Blog Tags Styling */
.blog-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.blog-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.blog-tag.ai {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.blog-tag.tutorial {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.blog-tag.education {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
}

.blog-tag.testing {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: white;
}

.blog-tag.automation {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  color: white;
}

.blog-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.read-more-link:hover {
  gap: 0.8rem;
}

.read-more-link i {
  font-size: 0.8rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* YouTube thumbnail styling */
.youtube-thumbnail {
  margin: 1rem 0;
}

.youtube-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.youtube-link:hover {
  transform: translateY(-3px);
}

.thumbnail-container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.thumbnail-container img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.youtube-link:hover .thumbnail-container img {
  transform: scale(1.05);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 0, 0, 0.8);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.play-button i {
  font-size: 30px;
}

.youtube-link:hover .play-button {
  background-color: rgb(255, 0, 0);
  width: 65px;
  height: 65px;
}

.watch-text {
  display: block;
  text-align: center;
  margin-top: 0.5rem;
  font-weight: 500;
  color: var(--primary-color);
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .play-button {
    width: 50px;
    height: 50px;
  }

  .play-button i {
    font-size: 25px;
  }

  .youtube-link:hover .play-button {
    width: 55px;
    height: 55px;
  }
}

/* Featured Product Section */
.featured-product-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 2rem 0 3rem;
  margin: 1rem auto;
  border-radius: 24px;
  width: 90%;
  max-width: 1300px;
  color: white;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.featured-product-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
  z-index: 1;
}

.featured-product-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 0 4rem;
}

.featured-product-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.featured-badge {
  align-self: flex-start;
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.featured-title {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.featured-description {
  font-size: 1.1rem;
  color: #94a3b8;
  line-height: 1.6;
}

.featured-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.featured-features li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
  color: #e2e8f0;
}

.featured-features li i.fa-check-circle {
  color: #10b981;
}

.featured-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.featured-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.featured-btn.primary {
  background: #38bdf8;
  color: #0f172a;
}

.featured-btn.primary:hover {
  background: #0ea5e9;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(56, 189, 248, 0.3);
}

.featured-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.featured-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.featured-product-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.visual-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.visual-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.floating-element {
  position: absolute;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.6rem 1rem;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  animation: float 3s ease-in-out infinite;
  white-space: nowrap;
}

.badge-element {
  top: -20px;
  right: -20px;
  color: #ef4444;
}

.premium-element {
  bottom: -20px;
  left: -20px;
  color: #fbbf24;
  animation-delay: 1.5s;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@media (max-width: 968px) {
  .featured-product-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 2rem;
  }
  
  .featured-product-visual {
    order: -1;
  }
  
  .visual-wrapper {
    transform: none;
  }
  
  .featured-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .featured-product-section {
    padding: 3rem 0;
  }
  
  .featured-product-container {
    padding: 0 1.5rem;
  }
  
  .featured-actions {
    flex-direction: column;
  }
  
  .featured-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Interactive Mockup Styles */
.interactive-mockup-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.browser-mockup-header {
  background: #1e293b;
  border-radius: 12px 12px 0 0;
  width: 100%;
  max-width: 380px;
  display: flex;
  align-items: center;
  padding: 0.8rem 1rem;
  border: 1px solid #334155;
  border-bottom: none;
  gap: 1rem;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #475569;
}

.browser-dots span:nth-child(1) { background: #ef4444; }
.browser-dots span:nth-child(2) { background: #eab308; }
.browser-dots span:nth-child(3) { background: #22c55e; }

.browser-address-bar {
  flex: 1;
  background: #0f172a;
  border-radius: 6px;
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.browser-extensions {
  display: flex;
  align-items: center;
}

.badge-container {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #334155;
  border-radius: 4px;
  padding: 2px;
}

.badge-container img, .badge-container svg {
  width: 16px;
  height: 16px;
  color: white;
}

.ext-badge {
  position: absolute;
  bottom: -6px;
  right: -6px;
  font-size: 0.6rem;
  font-weight: bold;
  padding: 1px 4px;
  border-radius: 4px;
  color: white;
  transition: all 0.3s ease;
}

.ext-badge.fail {
  background: #ef4444;
}

.ext-badge.pass {
  background: #22c55e;
}

.ext-popup-mockup {
  background: #172033;
  border: 1px solid #334155;
  border-radius: 0 0 12px 12px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #f8fafc;
  overflow: hidden;
  transition: all 0.4s ease;
}

.ext-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #2a364a;
  background: #1e2638;
}

.ext-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.ext-logo {
  font-size: 1.2rem;
}

.ext-theme-icon {
  color: #94a3b8;
  cursor: pointer;
}

.ext-url-section {
  padding: 1rem;
  border-bottom: 1px solid #2a364a;
  background: #1e2638;
}

.ext-url-section label, .ext-summary-section label, .ext-failures-section label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ext-input-group {
  display: flex;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 0.5rem;
  margin-bottom: 0.8rem;
  align-items: center;
}

.ext-input-group input {
  flex: 1;
  background: transparent;
  border: none;
  color: #f8fafc;
  font-size: 0.8rem;
  outline: none;
}

.ext-input-group i {
  color: #94a3b8;
}

.ext-url-actions {
  display: flex;
  gap: 0.5rem;
}

.ext-btn {
  flex: 1;
  padding: 0.6rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  border: none;
}

.ext-btn.save-btn {
  background: #10b981;
  color: white;
}

.ext-btn.refresh-btn {
  background: transparent;
  border: 1px solid #334155;
  color: #f8fafc;
}

.ext-summary-section {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #2a364a;
  background: #1e2638;
}

.ext-summary-cards {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.ext-card {
  flex: 1;
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.pass-card {
  background: #10b981;
  color: white;
}

.fail-card {
  background: #ef4444;
  color: white;
}

.ext-card-count {
  font-size: 2.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}
.ext-card-count i {
  font-size: 1.5rem;
  display: inline-block;
}

.ext-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.ext-failures-section {
  padding: 1rem;
  background: #1e2638;
  border-bottom: 1px solid #2a364a;
  transition: all 0.3s ease;
}

.ext-failures-section label {
  color: #ef4444;
}

.ext-fail-item {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 0.6rem 0.8rem;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.ext-fail-item i {
  color: #ef4444;
  font-size: 0.9rem;
}

.ext-footer {
  padding: 1rem;
  text-align: center;
  background: #1e2638;
}

.ext-total {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.ext-time {
  font-size: 0.75rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* Mockup Controls */
.mockup-controls {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 380px;
}

.mockup-toggle-btn {
  flex: 1;
  padding: 0.8rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 23, 42, 0.6);
  color: #94a3b8;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.mockup-toggle-btn:hover {
  background: rgba(15, 23, 42, 0.9);
  color: white;
}

.mockup-toggle-btn.active.pass {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  color: #10b981;
}

.mockup-toggle-btn.active.fail {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
}

/* Skills Top Banner Animations */
@keyframes bannerGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shimmerSweep {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

@keyframes pulseBadge {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

/* Skills Top Banner */
.skills-top-banner {
  grid-column: 1 / -1; /* Make it span both columns in the grid */
  display: flex;
  margin-bottom: 0; /* Let grid gap handle spacing */
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  background-size: 200% 200%;
  animation: bannerGlow 6s ease infinite;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 0.5rem 2.5rem 0.5rem 1.2rem;
  color: #f8fafc;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skills-top-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #38bdf8;
}

.skills-top-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 30%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg);
  animation: shimmerSweep 4s infinite linear;
  pointer-events: none;
}

.skills-top-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: #475569;
}

.banner-close-x {
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent !important;
  border: none;
  color: #94a3b8;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s, transform 0.2s;
  z-index: 10;
}

.banner-close-x:hover {
  color: #f8fafc;
  transform: translateY(-50%) scale(1.1);
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
  width: 100%;
  position: relative;
  z-index: 1; /* Keep above the shimmer */
}

.banner-badge {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  animation: pulseBadge 2s infinite;
}

.banner-content strong {
  color: #fff;
  white-space: nowrap;
}

.banner-cta-group {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.banner-store-btn {
  color: #f8fafc;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.banner-store-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.banner-details-btn {
  color: #38bdf8;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
}

.banner-details-btn:hover i {
  transform: translateX(4px);
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .banner-content {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .banner-cta-group {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    margin-top: 0.2rem;
    flex-wrap: wrap;
  }
  
  .banner-content strong {
    white-space: normal;
  }
}

/* --- GLOBAL MOBILE OPTIMIZATIONS ADDED BY AI --- */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
  
  img, video, iframe {
    max-width: 100%;
    height: auto;
  }

  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    width: 100% !important;
  }

  /* Force single column layout on elements that might overflow */
  .skills-education-container,
  .projects-grid,
  .stats-grid,
  .about-grid,
  .footer-grid,
  .course-list {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Fix banner overlapping and wrap */
  .banner-content {
    flex-direction: column !important;
    text-align: center;
    gap: 0.8rem;
  }
  .banner-cta-group {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 !important;
  }

  /* Touch targets for accessibility */
  button, .btn, a.btn, .nav-links a, .banner-store-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  h1 { font-size: 2.2rem !important; }
  h2 { font-size: 1.8rem !important; }
  h3 { font-size: 1.4rem !important; }
  
  p, span, div, h1, h2, h3, h4, h5, h6 { 
    word-wrap: break-word; 
    overflow-wrap: break-word;
  }
}
