/* Additional Performance and UX Improvements - Updated 2025-07-11 */
* {
    box-sizing: border-box;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Hover effects for touch devices */
@media (hover: none) {
    .skill-item:hover,
    .blog-card:hover,
    .podcast-card:hover {
        transform: none;
        box-shadow: initial;
    }
    
    .skill-item:active,
    .blog-card:active,
    .podcast-card:active {
        transform: scale(0.98);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #4A0080;
        --secondary-color: #D6336C;
        --neutral-color: #000000;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* CSS Variables for Color Scheme */
:root {
    --primary-color: #6E48AA;    /* Tech Purple */
    --secondary-color: #E9489F;   /* Darker Pop Pink for better accessibility */
    --neutral-color: #2D2D2D;     /* Dark Text */
    --light-bg: #f8f9fa;
    --white: #ffffff;
}

/* General Styles */
body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #f8f9ff 0%, #f5f7ff 100%);
    /* Removed background-attachment: fixed to prevent GitHub Pages performance issues */
    color: var(--neutral-color);
    line-height: 1.6;
    position: relative;
}

/* Fix for mobile and GitHub Pages performance */
@media (max-width: 768px) {
    body {
        background-attachment: scroll; /* Fallback for mobile devices */
    }
}

/* Additional fix for potential GitHub Pages issues */
@supports (-webkit-overflow-scrolling: touch) {
    body {
        background-attachment: scroll;
    }
}

/* Add the same subtle pattern to the entire body */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="3" fill="%236E48AA" opacity="0.1"/><circle cx="800" cy="300" r="2" fill="%23FF7BAC" opacity="0.1"/><circle cx="600" cy="700" r="4" fill="%239B59B6" opacity="0.1"/></svg>') repeat;
  z-index: -1;
  pointer-events: none;
}

/* Disable background pattern for reduced motion preferences and low-performance devices */
@media (prefers-reduced-motion: reduce) {
  body::before {
    display: none;
  }
}

/* Ensure all main content appears above the background pattern */
header,
main,
section,
footer {
  position: relative;
  z-index: 1;
}

/* Make sections blend seamlessly with the new background */
.container {
  position: relative;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--neutral-color);
}

/* Header and Navigation Styling */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

/* Add animated background elements */
header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.03) 10px,
        rgba(255, 255, 255, 0.03) 20px
    );
    animation: headerPattern 20s linear infinite;
    pointer-events: none;
}

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

.header-content {
    position: relative;
    z-index: 2;
}

.header-profile {
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.profile-avatar {
    margin-bottom: 1rem;
    animation: fadeInDown 0.6s ease-out 0.2s both;
}

.profile-avatar i {
    font-size: 4rem;
    color: var(--white);
    opacity: 0.9;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Profile Photo Styling */
.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.profile-photo:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.header-name {
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); /* Enhanced shadow for better accessibility */
    letter-spacing: -0.5px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.header-tagline {
    color: rgba(255, 255, 255, 0.95); /* Slightly more opaque for better readability */
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 500; /* Slightly bolder for better readability */
    margin-bottom: 1.5rem;
    line-height: 1.4;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); /* Added shadow for better readability */
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.header-social-links {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.8s both;
}

.header-social-links .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; /* Slightly smaller to fit more icons */
    height: 38px;
    margin: 0 6px; /* Reduced margin for better spacing */
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1rem; /* Slightly smaller font for better fit */
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header-social-links .social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: var(--white);
}

.navbar {
    padding: 10px;
}

.navbar-nav .nav-link {
    font-size: 18px; /* Increased from 16px for better accessibility */
    font-weight: 600; /* Increased weight for better readability */
    color: var(--white) !important;
    font-family: 'Open Sans', sans-serif;
    padding: 0.75rem 1rem; /* Added more padding for better touch targets */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); /* Added shadow for better readability on gradient */
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
    transition: color 0.3s ease;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Badge Styles */
.badge-warning {
    background-color: var(--secondary-color) !important;
    color: var(--white);
    font-family: 'Open Sans', sans-serif;
}

/* Blog Card Styles */
.blog-card {
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(110, 72, 170, 0.12);
    background: var(--white);
    border-radius: 12px;
    will-change: box-shadow; /* Optimizes hover animations */
    backface-visibility: hidden; /* Prevents rendering glitches */
}

.blog-card:hover {
    box-shadow: 0 8px 25px rgba(110, 72, 170, 0.15);
}

.blog-card h4 {
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.blog-card .text-muted {
    color: var(--neutral-color) !important;
    opacity: 0.7;
}

/* Podcast Card Styles */
.podcast-card {
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    box-shadow: 0 6px 20px rgba(110, 72, 170, 0.12);
    background: var(--white);
    border-radius: 12px;
}

.podcast-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(110, 72, 170, 0.25);
}

.podcast-card h5 {
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

.podcast-card .badge {
    font-size: 0.75rem;
}

/* Sidebar Card Styles */
.sidebar-card {
    box-shadow: 0 5px 18px rgba(110, 72, 170, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(110, 72, 170, 0.1);
}

.sidebar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(110, 72, 170, 0.2);
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8E44AD 100%);
    color: var(--white);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
}

.footer-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.footer-social-links {
    display: flex;
    align-items: center;
}

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

.footer-social-icon:hover {
    color: var(--white);
    background: var(--secondary-color);
    transform: translateY(-2px);
    text-decoration: none;
}

.footer-links {
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: var(--white);
    text-decoration: none;
    transform: translateX(5px);
}

.footer-contact .contact-item {
    font-size: 0.9rem;
}

.footer-contact .contact-item i {
    font-size: 0.8rem;
    width: 16px;
}

.newsletter-signup .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 20px;
}

.newsletter-signup .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-signup .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 0 0 0.2rem rgba(255, 123, 172, 0.25);
}

.newsletter-signup .btn-secondary {
    background: var(--secondary-color);
    border: none;
    border-radius: 20px;
    padding: 0.25rem 1rem;
    white-space: nowrap;
}

.newsletter-signup .btn-secondary:hover {
    background: #E91E63;
    transform: translateY(-1px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1.5rem 0;
}

footer h5,
footer h6 {
    color: var(--white);
    font-family: 'Poppins', sans-serif;
}

footer .small {
    color: rgba(255, 255, 255, 0.7);
}

/* Footer responsive adjustments */
@media (max-width: 768px) {
    footer {
        text-align: center;
    }
    
    .footer-social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .newsletter-signup .d-flex {
        flex-direction: column;
    }
    
    .newsletter-signup .form-control {
        margin-bottom: 0.5rem;
        margin-right: 0 !important;
    }
    
    .footer-divider {
        margin: 1.5rem 0 1rem 0;
    }
    
    footer .col-md-6.text-md-right {
        text-align: center !important;
        margin-top: 0.5rem;
    }
}

/* Tags Header Styling */
.tags-header {
    background-color: var(--primary-color) !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Tags Styling */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
}

.tag:hover {
    background-color: var(--secondary-color);
}

.tag-reset {
    background-color: var(--neutral-color);
}

.tag-reset:hover {
    background-color: var(--secondary-color);
}

/* Search Input Styling */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(110, 72, 170, 0.25);
}

/* Sidebar Headings */
aside h4 {
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Buy Me Coffee Button Container */
.coffee-container {
    text-align: center;
    margin: 2rem 0;
}

.coffee-button {
    height: 60px;
    width: 217px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.coffee-button:hover {
    transform: scale(1.05);
}

/* Tech Stack Styles */
.tech-stack-container {
    background: linear-gradient(135deg, rgba(110, 72, 170, 0.05) 0%, rgba(255, 123, 172, 0.05) 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(110, 72, 170, 0.1);
    box-shadow: 0 8px 25px rgba(110, 72, 170, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-stack-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(110, 72, 170, 0.18);
}

.skill-category {
    margin-bottom: 2rem;
}

.category-title {
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.skill-item {
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(110, 72, 170, 0.1);
}

.skill-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(110, 72, 170, 0.3);
}

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

.skill-name {
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Individual skill colors on hover */
.skill-item.storyteller:hover {
    background: linear-gradient(135deg, #6E48AA, #8B5FC7);
}

.skill-item.creative:hover {
    background: linear-gradient(135deg, #FF7BAC, #FF9BC0);
}

.skill-item.speaker:hover {
    background: linear-gradient(135deg, #6E48AA, #FF7BAC);
}

.skill-item.power-platform:hover {
    background: linear-gradient(135deg, #742774, #6E48AA);
}

.skill-item.power-pages:hover {
    background: linear-gradient(135deg, #0078D4, #6E48AA);
}

.skill-item.power-apps:hover {
    background: linear-gradient(135deg, #742774, #A855F7);
}

.skill-item.power-automate:hover {
    background: linear-gradient(135deg, #0F6CBD, #1E90FF);
}

.skill-item.azure-devops:hover {
    background: linear-gradient(135deg, #0078D4, #00BCF2);
}

.skill-item.liquid:hover {
    background: linear-gradient(135deg, #7AB55C, #95D5B2);
}

.skill-item.javascript:hover {
    background: linear-gradient(135deg, #F7DF1E, #FFB800);
    color: #000;
}

.skill-item.css:hover {
    background: linear-gradient(135deg, #1572B6, #33A9DC);
}

.skill-item.html:hover {
    background: linear-gradient(135deg, #E34F26, #F16529);
}

/* Collaboration Section Styles */
.collaboration-header {
    background-color: var(--primary-color) !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
}

.collaboration-options {
    padding: 0.5rem 0;
}

.collaboration-item {
    background: linear-gradient(135deg, rgba(110, 72, 170, 0.03) 0%, rgba(255, 123, 172, 0.03) 100%);
    border: 1px solid rgba(110, 72, 170, 0.1);
    transition: all 0.3s ease;
}

.collaboration-item:hover {
    background: linear-gradient(135deg, rgba(110, 72, 170, 0.08) 0%, rgba(255, 123, 172, 0.08) 100%);
    border-color: rgba(110, 72, 170, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(110, 72, 170, 0.1);
}

.collaboration-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.collaboration-item h6 {
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.collaboration-item p {
    line-height: 1.4;
    margin-bottom: 0;
}

.collaboration-item .btn {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
}

/* Blog-specific styles */
.blog-title {
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.blog-meta {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--neutral-color);
}

.blog-content h3 {
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-content h4 {
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.blog-content h5 {
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.blog-content ul, .blog-content ol {
    margin-bottom: 1.5rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

.blog-content code {
    background-color: #f8f9fa;
    color: #e83e8c;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.9rem;
}

.blog-content .bg-dark code {
    background-color: transparent;
    color: #28a745;
}

.blog-footer .blog-share a {
    text-decoration: none;
    font-size: 0.9rem;
}

.blog-footer .blog-share a:hover {
    color: var(--secondary-color) !important;
}

/* Podcast-specific styles */
.podcast-title {
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

.episode-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--neutral-color);
}

.episode-highlights h6 {
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.episode-highlights ul {
    margin-bottom: 0;
}

.episode-highlights li {
    margin-bottom: 0.25rem;
}

.listen-buttons .btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
}

.podcast-stats strong {
    font-size: 1.25rem;
    display: block;
}

.subscribe-links .btn {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Podcast card hover effects */
.podcast-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: auto;
    min-height: 400px; /* Set minimum height for consistency */
    display: flex;
    flex-direction: column;
}

.podcast-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(110, 72, 170, 0.15);
}

/* Additional podcast card styling for consistency */
.podcast-card .row {
    flex: 1;
    display: flex;
    align-items: stretch;
}

.podcast-card .col-md-8,
.podcast-card .col-md-4 {
    display: flex;
    flex-direction: column;
}

.podcast-card .embed-responsive {
    flex-shrink: 0;
}

.podcast-card .episode-description {
    flex: 1;
}

.podcast-card .episode-highlights {
    margin-top: auto;
}

/* Ensure consistent spacing for podcast titles */
.podcast-card .podcast-title {
    min-height: 3rem;
    display: flex;
    align-items: center;
}

/* Responsive podcast layout */
@media (max-width: 768px) {
    .listen-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
        margin-right: 0 !important;
    }
    
    .podcast-card {
        min-height: 350px; /* Slightly smaller minimum height for mobile */
    }
    
    .podcast-card .row {
        flex-direction: column-reverse;
    }
    
    .podcast-card .embed-responsive {
        margin-bottom: 1rem;
    }
    
    .podcast-card .podcast-title {
        min-height: unset; /* Remove minimum height constraint on mobile */
    }
    
    .episode-highlights {
        margin-top: 1rem;
    }
    
    .podcast-stats .row {
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .podcast-title {
        font-size: 1.25rem;
    }
    
    .episode-description {
        font-size: 0.9rem;
    }
}

/* Comprehensive Responsive Design */
@media (max-width: 768px) {
    /* Header responsive adjustments */
    .header-name {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .header-tagline {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .profile-avatar i {
        font-size: 3rem;
    }
    
    .profile-photo {
        width: 100px;
        height: 100px;
        border-width: 3px;
    }
    
    .header-social-links .social-icon {
        width: 32px; /* Smaller for mobile to fit all 7 icons */
        height: 32px;
        margin: 0 4px;
        font-size: 0.9rem;
    }
    
    /* Navigation */
    header h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .navbar-nav {
        text-align: center;
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        padding: 0.8rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 18px; /* Maintain larger font size on mobile */
        font-weight: 600;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Blog and content sections */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .blog-card {
        margin-bottom: 2rem;
        box-shadow: 0 4px 15px rgba(110, 72, 170, 0.12);
    }
    
    .blog-card:hover {
        box-shadow: 0 8px 22px rgba(110, 72, 170, 0.18);
    }
    
    .blog-card img {
        height: 200px;
        object-fit: cover;
    }
    
    /* Podcast section */
    .podcast-card {
        margin-bottom: 2rem;
        box-shadow: 0 4px 15px rgba(110, 72, 170, 0.12);
    }
    
    .podcast-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 22px rgba(110, 72, 170, 0.18);
    }
    
    .podcast-card h5 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    /* Sidebar cards on mobile */
    .sidebar-card {
        margin-bottom: 2rem;
        box-shadow: 0 3px 12px rgba(110, 72, 170, 0.1);
    }
    
    .sidebar-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(110, 72, 170, 0.15);
    }
    
    /* Collaboration section responsive */
    .collaboration-header {
        font-size: 0.9rem;
    }
    
    .collaboration-item {
        margin-bottom: 1rem !important;
        padding: 0.75rem !important;
    }
    
    .collaboration-item h6 {
        font-size: 0.9rem;
    }
    
    .collaboration-icon {
        font-size: 1rem;
    }
    
    /* Buttons responsive */
    .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
        margin-left: 0 !important;
    }
    
    .btn:last-child {
        margin-bottom: 0;
    }
    
    /* Tech stack responsive */
    .tech-stack-container {
        padding: 1.5rem;
        margin: 1rem 0;
        box-shadow: 0 6px 20px rgba(110, 72, 170, 0.12);
    }
    
    .tech-stack-container:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(110, 72, 170, 0.18);
    }
    
    .skills-grid {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .skill-item {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        margin-bottom: 0.5rem;
    }
    
    /* Tags responsive */
    .tags-container {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    /* Coffee button responsive */
    .coffee-button {
        width: 180px;
        height: 50px;
    }
    
    /* Sidebar responsive */
    aside {
        margin-top: 2rem;
    }
    
    aside .p-3 {
        padding: 1rem !important;
    }
    
    /* Footer responsive */
    footer {
        text-align: center;
        padding: 2rem 1rem;
    }
    
    footer div {
        margin-top: 1rem;
    }
    
    footer a {
        display: inline-block;
        margin: 0.25rem;
        padding: 0.5rem;
    }
}

/* Tablet responsive */
@media (min-width: 769px) and (max-width: 991px) {
    .container {
        max-width: 750px;
    }
    
    .navbar-nav .nav-link {
        font-size: 17px; /* Maintain good accessibility on tablets */
        font-weight: 600;
        padding: 0.5rem 0.75rem;
    }
    
    .blog-card img {
        height: 250px;
        object-fit: cover;
    }
    
    .podcast-card iframe {
        height: 200px;
    }
    
    .tech-stack-container {
        padding: 1.75rem;
    }
    
    .skill-item {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }
}

/* Large screen optimizations */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .blog-card img {
        height: 280px;
        object-fit: cover;
    }
    
    .podcast-card iframe {
        height: 250px;
    }
    
    .tech-stack-container {
        padding: 2.5rem;
    }
}

/* Extra small devices */
@media (max-width: 576px) {
    .header-name {
        font-size: 1.75rem;
    }
    
    .header-tagline {
        font-size: 0.9rem;
    }
    
    .profile-avatar i {
        font-size: 2.5rem;
    }
    
    .header-social-links .social-icon {
        width: 30px; /* Even smaller for very small screens */
        height: 30px;
        margin: 0 3px;
        font-size: 0.8rem;
    }
    
    header h1 {
        font-size: 1.75rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .blog-card h4 {
        font-size: 1.2rem;
    }
    
    .podcast-card h5 {
        font-size: 1rem;
    }
    
    .tech-stack-container {
        padding: 1rem;
        margin: 0.5rem 0;
    }
    
    .skill-item {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .coffee-button {
        width: 160px;
        height: 45px;
    }
    
    aside .p-3 {
        padding: 0.75rem !important;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    h4 {
        font-size: 1.25rem;
    }
    
    h5 {
        font-size: 1.1rem;
    }
}

/* Accessibility improvements */
.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(110, 72, 170, 0.5);
}

.nav-link:focus,
.btn:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .coffee-container,
    aside {
        display: none;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
    
    .podcast-card iframe {
        display: none;
    }
    
    .podcast-card::after {
        content: "Video available online at: " attr(data-video-url);
        font-style: italic;
        color: #666;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* =================================
   YOUTUBE PAGE STYLES
   ================================= */

/* YouTube Hero Section */
.youtube-hero {
    background: linear-gradient(135deg, var(--color-tech-purple), var(--color-pop-pink));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.youtube-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.youtube-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.channel-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* YouTube Content */
.youtube-content {
    padding: 3rem 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: start;
}

.main-content {
    min-width: 0; /* Prevents grid overflow */
}

/* Featured Video */
.featured-video-section {
    margin-bottom: 3rem;
}

.featured-video-section h2 {
    margin-bottom: 1.5rem;
    color: var(--color-tech-purple);
}

.featured-video-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
}

.video-embed {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 8px;
    overflow: hidden;
}

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

.video-info h3 {
    color: var(--color-tech-purple);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.video-description {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.video-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

/* Video Controls */
.video-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-bar {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    box-shadow: var(--shadow-card);
    flex: 1;
    min-width: 250px;
}

.search-bar input {
    border: none;
    outline: none;
    flex: 1;
    padding: 0.5rem;
    font-size: 1rem;
}

.search-bar button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--color-tech-purple);
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-controls select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: white;
    color: var(--color-text-primary);
}

/* Video Grid */
.video-grid-section h2 {
    margin-bottom: 1.5rem;
    color: var(--color-tech-purple);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

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

.video-card:hover .play-overlay {
    opacity: 1;
}

.duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.video-card .video-info {
    padding: 1rem;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-tech-purple);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card .video-description {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card .video-meta {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.load-more-btn {
    display: none;
    background: var(--color-tech-purple);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    margin: 2rem auto;
    transition: background-color 0.3s ease;
}

.load-more-btn:hover {
    background: var(--color-pop-pink);
}

/* YouTube Sidebar */
.youtube-content .sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.sidebar-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-card);
}

.sidebar-card h3 {
    color: var(--color-tech-purple);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.channel-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.youtube-link,
.notification-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.youtube-link {
    background: #ff0000;
    color: white;
}

.youtube-link:hover {
    background: #cc0000;
    color: white;
}

.notification-btn {
    background: var(--color-tech-purple);
    color: white;
}

.notification-btn:hover {
    background: var(--color-pop-pink);
    color: white;
}

/* Playlists */
.playlist-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 0.5rem;
}

.playlist-item:hover {
    background: var(--color-background-light);
}

.playlist-thumbnail {
    position: relative;
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.playlist-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-count {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1px 4px;
    border-radius: 2px;
    font-size: 0.7rem;
}

.playlist-info h4 {
    font-size: 0.9rem;
    color: var(--color-tech-purple);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.playlist-info p {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    line-height: 1.3;
}

/* Category Tags */
.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: var(--color-background-light);
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tag:hover,
.tag.active {
    background: var(--color-tech-purple);
    color: white;
}

/* Recent Activity */
#recent-activity {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 2rem;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.modal-header h3 {
    color: var(--color-tech-purple);
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-secondary);
    padding: 0.5rem;
}

.close-modal:hover {
    color: var(--color-tech-purple);
}

.modal-body {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

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

/* API Setup Card */
.api-setup-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-card);
    text-align: center;
    max-width: 600px;
    margin: 2rem auto;
}

.api-setup-card h3 {
    color: var(--color-tech-purple);
    margin-bottom: 1rem;
}

.setup-steps {
    text-align: left;
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--color-background-light);
    border-radius: 8px;
}

.setup-steps ol {
    padding-left: 1.2rem;
}

.setup-steps li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.api-input-section {
    margin: 2rem 0;
}

.api-input-section label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-tech-purple);
}

.input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.input-group input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 1rem;
}

.note {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    font-style: italic;
}

.demo-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.demo-btn {
    background: var(--color-pop-pink);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.demo-btn:hover {
    background: var(--color-tech-purple);
}

/* Demo Indicator */
.demo-indicator {
    background: var(--color-pop-pink);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
}

/* Fallback Content */
.fallback-content,
.error-message {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
}

.fallback-content h3,
.error-message h3 {
    color: var(--color-tech-purple);
    margin-bottom: 1rem;
}

.retry-btn {
    background: var(--color-tech-purple);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.retry-btn:hover {
    background: var(--color-pop-pink);
}

/* Loading Placeholder */
.loading-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    color: var(--color-text-secondary);
    font-style: italic;
    background: var(--color-background-light);
    border-radius: 8px;
}

/* Hero/Introduction Section Styles */
.hero-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.min-vh-75 {
  min-height: 75vh;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  color: #6E48AA;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 1rem;
}

.hero-stats {
  background: rgba(255, 255, 255, 0.8);
  padding: 25px;
  border-radius: 15px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(110, 72, 170, 0.1);
}

.stat-item {
  padding: 10px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #6E48AA;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0;
  font-weight: 500;
}

.hero-buttons {
  margin: 30px 0;
}

.hero-buttons .btn {
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
  background: linear-gradient(135deg, #6E48AA 0%, #9B59B6 50%, #FF7BAC 100%);
  border: none;
}

.hero-buttons .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(110, 72, 170, 0.4);
}

.hero-buttons .btn-outline-primary {
  border: 2px solid #6E48AA;
  color: #6E48AA;
}

.hero-buttons .btn-outline-primary:hover {
  background: #6E48AA;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(110, 72, 170, 0.3);
}

.social-links-hero {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6E48AA, #9B59B6);
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 10px 25px rgba(110, 72, 170, 0.4);
  color: white;
  text-decoration: none;
}

.hero-image-container {
  position: relative;
  z-index: 2;
}

.hero-image-wrapper {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.hero-image {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(110, 72, 170, 0.3);
  transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: translateY(-10px);
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 15px;
  border-radius: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  margin-bottom: 35px;
}

.badge-4 {
  right: -40px;
}

.badge-spacing {
  margin-top: 35px;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #6E48AA;
  animation: none; /* Removed floating animation to prevent shaking */
}

.floating-badge i {
  color: #FF7BAC;
}

.badge-1 {
  top: 10%;
  right: 20px;
  
}

.badge-2 {
  top: 40%;
  left: -30px;
}

.badge-3 {
  bottom: 20%;
  right: -15px;
}

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

/* Fix for missing animation keyframes that may cause shaking on GitHub Pages */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Responsive adjustments for hero section */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .hero-image-container {
    margin-top: 40px;
  }
  
  .floating-badge {
    font-size: 12px;
    padding: 8px 12px;
  }
  
  .badge-1, .badge-2, .badge-3 {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .hero-buttons {
    text-align: center;
  }
  
  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 15px;
  }
  
  .hero-buttons .btn:last-child {
    margin-bottom: 0;
  }
  
  .social-links-hero {
    justify-content: center;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

/* =================================
   YOUTUBE PAGE STYLES (SIMPLIFIED - NO API)
   ================================= */

/* YouTube Hero Section */
.youtube-hero-simple {
    background: linear-gradient(135deg, var(--color-tech-purple), var(--color-pop-pink));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.youtube-hero-simple h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.youtube-hero-simple p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.channel-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button.primary {
    background: white;
    color: var(--color-tech-purple);
}

.cta-button.primary:hover {
    background: var(--color-background-light);
    transform: translateY(-2px);
    color: var(--color-tech-purple);
    text-decoration: none;
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    text-decoration: none;
}

/* Featured Video Section */
.featured-section {
    padding: 3rem 0;
    background: var(--color-background-light);
}

.featured-section h2 {
    text-align: center;
    color: var(--color-tech-purple);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.featured-video {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-card);
    max-width: 1000px;
    margin: 0 auto;
}

.featured-info h3 {
    color: var(--color-tech-purple);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.featured-info p {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.watch-more-btn {
    display: inline-flex;
    align-items: center;
    background: var(--color-pop-pink);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.watch-more-btn:hover {
    background: var(--color-tech-purple);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Video Gallery */
.video-gallery {
    padding: 3rem 0;
}

.video-gallery h2 {
    text-align: center;
    color: var(--color-tech-purple);
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.play-button {
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-tech-purple);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.video-card:hover .play-button {
    transform: scale(1);
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    color: var(--color-tech-purple);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.4;
}

.video-info p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.duration {
    background: var(--color-tech-purple);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.category {
    background: var(--color-background-light);
    color: var(--color-text-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.gallery-footer {
    text-align: center;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    background: var(--color-tech-purple);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: var(--color-pop-pink);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Categories Section */
.categories-section {
    padding: 3rem 0;
    background: var(--color-background-light);
}

.categories-section h2 {
    text-align: center;
    color: var(--color-tech-purple);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    text-decoration: none;
    color: inherit;
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    color: var(--color-tech-purple);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.category-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Subscribe Section */
.subscribe-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--color-tech-purple), var(--color-pop-pink));
}

.subscribe-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-card);
}

.subscribe-card h2 {
    color: var(--color-tech-purple);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.subscribe-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.subscribe-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.subscribe-btn,
.channel-btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.subscribe-btn {
    background: #ff0000;
    color: white;
}

.subscribe-btn:hover {
    background: #cc0000;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.channel-btn {
    background: var(--color-tech-purple);
    color: white;
}

.channel-btn:hover {
    background: var(--color-pop-pink);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.subscribe-note {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    font-style: italic;
    margin: 0;
}

/* Speaking/On Stage Section Styles */
.speaking-card {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
  height: 350px; /* Fixed height to ensure all cards are the same size */
  display: flex;
  flex-direction: column;
  width: 100%; /* Ensure full width within flex container */
}

.speaking-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(110, 72, 170, 0.3);
}

.speaking-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 100%; /* Take full height of the card */
  flex: 1; /* Grow to fill available space */
}

.speaking-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.speaking-card:hover .speaking-image {
  transform: scale(1.1);
}

.speaking-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.speaking-card:hover .speaking-overlay {
  transform: translateY(0);
}

.speaking-title {
  font-weight: 600;
  margin-bottom: 5px;
  color: #FF7BAC;
}

.speaking-description {
  font-size: 14px;
  margin-bottom: 0;
  opacity: 0.9;
}

.speaking-cta {
  font-size: 16px;
  margin-bottom: 0;
}

.speaking-cta .btn {
  background: linear-gradient(135deg, #6E48AA 0%, #9B59B6 50%, #FF7BAC 100%);
  border: none;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.speaking-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(110, 72, 170, 0.4);
}

/* Responsive adjustments for speaking section */
@media (max-width: 768px) {
  .speaking-card {
    height: 300px; /* Slightly smaller height for mobile but still consistent */
  }
  
  .speaking-image-container {
    height: 100%; /* Still take full height */
  }
  
  .speaking-overlay {
    transform: translateY(0);
    background: rgba(0, 0, 0, 0.7);
  }
  
  .speaking-card:hover {
    transform: none;
  }
}

/* Social Media Follow Buttons for YouTube Page */
.social-follow-buttons {
  margin: 20px 0;
}

.btn-youtube {
  background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
  color: white;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 25px;
  padding: 12px 20px;
}

.btn-youtube:hover {
  background: linear-gradient(135deg, #E60000 0%, #B30000 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

.btn-twitter {
  background: linear-gradient(135deg, #1DA1F2 0%, #0d8bd9 100%);
  color: white;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 25px;
  padding: 12px 20px;
}

.btn-twitter:hover {
  background: linear-gradient(135deg, #0d8bd9 0%, #0a73b7 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(29, 161, 242, 0.3);
}

.btn-linkedin {
  background: linear-gradient(135deg, #0077B5 0%, #005885 100%);
  color: white;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 25px;
  padding: 12px 20px;
}

.btn-linkedin:hover {
  background: linear-gradient(135deg, #005885 0%, #004467 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 119, 181, 0.3);
}

.social-icons-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.social-icon-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-icon-btn.youtube {
  background: linear-gradient(135deg, #FF0000, #CC0000);
  color: white;
}

.social-icon-btn.youtube:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 10px 20px rgba(255, 0, 0, 0.4);
  color: white;
}

.social-icon-btn.twitter {
  background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
  color: white;
}

.social-icon-btn.twitter:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 10px 20px rgba(29, 161, 242, 0.4);
  color: white;
}

.social-icon-btn.linkedin {
  background: linear-gradient(135deg, #0077B5, #005885);
  color: white;
}

.social-icon-btn.linkedin:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 119, 181, 0.4);
  color: white;
}

/* Responsive adjustments for social buttons */
@media (max-width: 768px) {
  .social-follow-buttons .btn {
    padding: 10px 16px;
    font-size: 14px;
  }
  
  .social-icon-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .social-icons-row {
    gap: 12px;
  }
}

/* Enhanced Blog Section Styles */
.section-header {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
}

.blog-posts-container {
  position: relative;
  /* Prevent layout shifts during loading */
  contain: layout;
  min-height: 200px; /* Ensures container has minimum height */
}

.blog-image {
  object-fit: cover;
  height: 150px;
  width: 100%;
  transition: transform 0.3s ease;
  will-change: transform; /* Optimizes GPU acceleration */
  backface-visibility: hidden; /* Prevents rendering glitches */
  transform: translateZ(0); /* Forces hardware acceleration */
}

.blog-card:hover .blog-image {
  transform: scale(1.05) translateZ(0); /* Maintains hardware acceleration */
}

.blog-content-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  /* Prevent layout recalculation during hover */
  contain: layout style;
}

.blog-post-title {
  font-size: 1.3rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.blog-meta {
  font-size: 0.9rem;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 0.75rem;
}

.blog-meta i {
  margin-right: 0.25rem;
  color: var(--primary-color);
}

.blog-excerpt {
  flex-grow: 1;
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 1rem;
}

/* Enhanced Sidebar Styles */
.sidebar-wrapper {
  position: sticky;
  top: 2rem;
}

.sidebar-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.sidebar-section-title i {
  margin-right: 0.5rem;
  color: var(--secondary-color);
}

.search-container .input-group {
  border-radius: 25px;
  overflow: hidden;
}

.search-container .form-control {
  border-right: none;
  border-radius: 25px 0 0 25px;
}

.search-container .btn {
  border-radius: 0 25px 25px 0;
  border-left: none;
}

.newsletter-form .form-control {
  border-radius: 25px;
  margin-bottom: 0.75rem;
}

.newsletter-form .btn {
  border-radius: 25px;
  font-weight: 600;
}

/* Enhanced Tags */
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: #6E48AA;
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  display: flex;
  align-items: center;
  border: none;
}

.tag i {
  margin-right: 0.3rem;
  font-size: 0.7rem;
}

.tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(110, 72, 170, 0.3);
  background: #8E44AD;
}

.tag-reset {
  background: #6c757d;
}

/* Recent Posts Enhanced */
.recent-posts-list {
  margin-top: 1rem;
}

.recent-post-item {
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 1rem;
}

.recent-post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.recent-post-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.3s ease;
}

.recent-post-link:hover {
  text-decoration: none;
  color: inherit;
  transform: translateX(5px);
}

.recent-post-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.recent-post-content {
  flex-grow: 1;
}

.recent-post-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.25rem;
  color: var(--neutral-color);
  font-family: 'Poppins', sans-serif;
}

.recent-post-date {
  font-size: 0.8rem;
}

.recent-post-date i {
  margin-right: 0.25rem;
  color: var(--primary-color);
}

/* Enhanced Collaboration Section */
.collaboration-item {
  background: linear-gradient(135deg, rgba(110, 72, 170, 0.05) 0%, rgba(255, 123, 172, 0.05) 100%);
  border: 1px solid rgba(110, 72, 170, 0.15);
  transition: all 0.3s ease;
  border-radius: 10px;
}

.collaboration-item:hover {
  background: linear-gradient(135deg, rgba(110, 72, 170, 0.1) 0%, rgba(255, 123, 172, 0.1) 100%);
  border-color: rgba(110, 72, 170, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(110, 72, 170, 0.15);
}

/* About Page Specific Styles */
.about-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--neutral-color);
  font-family: 'Poppins', sans-serif;
}

.about-subtitle {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-family: 'Poppins', sans-serif;
}

.about-description {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-stats {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 1.5rem;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(110, 72, 170, 0.1);
}

.about-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  max-width: 400px;
  width: 100%;
}

.about-image {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(110, 72, 170, 0.3);
  transition: transform 0.3s ease;
}

.about-image:hover {
  transform: translateY(-10px);
}

.about-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

/* Journey Section Styles */
.journey-content {
  position: relative;
}

.journey-content::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.journey-item {
  display: flex;
  align-items: flex-start;
  position: relative;
}

.journey-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 2rem;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(110, 72, 170, 0.3);
}

.journey-text {
  flex-grow: 1;
  padding-top: 0.5rem;
}

.journey-text h4 {
  color: var(--primary-color);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

.journey-text p {
  color: var(--neutral-color);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Values Section Styles */
.value-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  border: 1px solid rgba(110, 72, 170, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 5px 15px rgba(110, 72, 170, 0.1);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(110, 72, 170, 0.2);
  border-color: rgba(110, 72, 170, 0.3);
}

.value-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto;
  box-shadow: 0 5px 15px rgba(110, 72, 170, 0.3);
}

.value-card h5 {
  color: var(--primary-color);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* CTA Section Styles */
.cta-section {
  background: linear-gradient(135deg, rgba(110, 72, 170, 0.1) 0%, rgba(255, 123, 172, 0.1) 100%);
  border: 1px solid rgba(110, 72, 170, 0.2);
}

.cta-section h3 {
  color: var(--primary-color);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

.cta-buttons .btn {
  margin: 0.5rem;
}

/* Enhanced Skill Items for About Page */
.skill-item.problem-solver:hover {
  background: linear-gradient(135deg, #17a2b8, #20c997);
}

.skill-item.mentor:hover {
  background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.skill-item.community-builder:hover {
  background: linear-gradient(135deg, #28a745, #20c997);
}

.skill-item.dynamics-365:hover {
  background: linear-gradient(135deg, #0078d4, #00bcf2);
}

.skill-item.copilot-studio:hover {
  background: linear-gradient(135deg, #6f42c1, #e83e8c);
}

.skill-item.react:hover {
  background: linear-gradient(135deg, #61dafb, #21759b);
}

.skill-item.podcasting:hover {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.skill-item.writing:hover {
  background: linear-gradient(135deg, #4834d4, #686de0);
}

.skill-item.video-creation:hover {
  background: linear-gradient(135deg, #ff3838, #ff6b6b);
}

.skill-item.social-media:hover {
  background: linear-gradient(135deg, #3742fa, #5352ed);
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
  .about-title {
    font-size: 2.5rem;
  }
  
  .about-subtitle {
    font-size: 1.4rem;
  }
  
  .journey-content::before {
    left: 20px;
  }
  
  .journey-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    margin-right: 1.5rem;
  }
  
  .value-card {
    margin-bottom: 2rem;
  }
  
  .cta-buttons .btn {
    display: block;
    margin: 0.5rem 0;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .about-stats .col-6 {
    margin-bottom: 1rem;
  }
  
  .journey-item {
    flex-direction: column;
    text-align: center;
  }
  
  .journey-content::before {
    display: none;
  }
  
  .journey-icon {
    margin: 0 auto 1rem auto;
  }
  
  .value-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* ========================================
   CUSTOM BUTTON STYLES - Override Bootstrap
   ======================================== */

/* Primary Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #9B59B6 100%) !important;
    border: none !important;
    color: white !important;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    border-radius: 25px;
    padding: 10px 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(110, 72, 170, 0.2);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #E91E63 100%) !important;
    border: none !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 123, 172, 0.4) !important;
    text-decoration: none;
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #E91E63 100%) !important;
    border: none !important;
    box-shadow: 0 8px 25px rgba(255, 123, 172, 0.4) !important;
}

/* Outline Primary Button Styles */
.btn-outline-primary {
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    background: transparent !important;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    border-radius: 25px;
    padding: 8px 25px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(110, 72, 170, 0.3) !important;
    text-decoration: none;
}

.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
    box-shadow: 0 8px 25px rgba(110, 72, 170, 0.3) !important;
}

/* Secondary Button Styles */
.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%) !important;
    border: none !important;
    color: white !important;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    border-radius: 25px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background: linear-gradient(135deg, #5a6268 0%, #343a40 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.3) !important;
}

/* Info Button Styles */
.btn-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%) !important;
    border: none !important;
    color: white !important;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(110, 72, 170, 0.3) !important;
}

/* Success Button Styles */
.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    border: none !important;
    color: white !important;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    background: linear-gradient(135deg, #1e7e34 0%, #17a2b8 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3) !important;
}

/* Warning Button Styles */
.btn-warning {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #fd7e14 100%) !important;
    border: none !important;
    color: white !important;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
    background: linear-gradient(135deg, #e83e8c 0%, #dc3545 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 123, 172, 0.3) !important;
}

/* Button Focus Styles - Remove Bootstrap Blue */
.btn:focus,
.btn.focus {
    outline: 0 !important;
    box-shadow: 0 0 0 0.2rem rgba(110, 72, 170, 0.25) !important;
}

.btn-primary:focus,
.btn-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(110, 72, 170, 0.5) !important;
}

.btn-outline-primary:focus,
.btn-outline-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(110, 72, 170, 0.5) !important;
}

/* Button Size Adjustments */
.btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 30px;
}

.btn-sm {
    padding: 6px 20px;
    font-size: 0.9rem;
    border-radius: 20px;
}

/* Button Block Styles */
.btn-block {
    border-radius: 25px;
}

/* Specific Button Overrides for Different Sections */
.sidebar-card .btn,
.collaboration-options .btn,
.speaking-cta .btn,
.podcast-card .btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #9B59B6 100%) !important;
    border: none !important;
    color: white !important;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sidebar-card .btn:hover,
.collaboration-options .btn:hover,
.speaking-cta .btn:hover,
.podcast-card .btn:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #E91E63 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 123, 172, 0.4) !important;
}

/* Remove any remaining Bootstrap button active states */
.btn:not(:disabled):not(.disabled):active:focus,
.btn:not(:disabled):not(.disabled).active:focus {
    box-shadow: 0 0 0 0.2rem rgba(110, 72, 170, 0.25) !important;
}

