/* ===============================================
   MODERN DARK THEME CSS - ORGANIZED & OPTIMIZED
   =============================================== */

/* ===============================================
   1. BASE STYLES & SCROLLBAR
   =============================================== */

html {
    background-color: #18191a !important;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(58, 59, 60, 0) transparent;
    transition: scrollbar-color 0.3s ease;
}

html.scrolling {
    scrollbar-color: rgba(58, 59, 60, 0.8) transparent;
}

body {
    color: #e4e6eb !important;
    background-color: #18191a !important;
    overflow-x: hidden;
}

/* Custom scrollbar for Webkit browsers */
html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background: rgba(58, 59, 60, 0);
    border-radius: 4px;
    transition: background 0.3s ease;
}

html.scrolling::-webkit-scrollbar-thumb {
    background: rgba(58, 59, 60, 0.8);
}

html::-webkit-scrollbar-thumb:hover {
    background: rgba(74, 75, 76, 0.9) !important;
}

/* ===============================================
   2. ANIMATIONS & KEYFRAMES
   =============================================== */

@keyframes fade-in {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fade-bottom {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fade-left {
    0% {
        transform: translateX(-10px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fade-right {
    0% {
        transform: translateX(20px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fade-up {
    0% {
        transform: translateY(-10px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3)); }
    50% { filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6)); }
}

@keyframes notificationPop {
    0% { transform: translate(-50%, -50%) scale(0.8); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

/* Animation classes */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===============================================
   3. NAVIGATION
   =============================================== */

.navbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 1030 !important;
    background: rgba(24, 25, 26, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
}

.navbar.animate {
    animation: fade-up 0.5s ease-in;
}

.navbar-nav .nav-link {
    color: #e4e6eb;
    font-weight: 300;
    font-family: var(--font-secondary) !important;
}

.navbar-nav .nav-link:hover {
    color: #b0b3b8;
}

.navbar-brand,
.navbar-name-link {
    color: #e4e6eb !important;
    font-weight: 600 !important;
    font-family: var(--font-primary) !important;
}

.navbar-name-link:hover {
    color: #ffffff !important;
}

/* Mobile navbar alignment */
@media (max-width: 768px) {
    .navbar-nav {
        text-align: center !important;
    }
    
    .navbar-collapse {
        justify-content: flex-end !important;
    }
    
    .navbar-toggler {
        margin-left: auto !important;
    }
}

/* ===============================================
   4. HERO SECTION
   =============================================== */

#hero {
    background: #18191a !important;
    min-height: 30vh !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    width: 100% !important;
    padding-top: calc(2vh + 50px) !important;
    padding-bottom: calc(0.5rem + 130px) !important;
}

#hero .hero-inner {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    overflow-x: auto;
}

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

#hero .hero-title {
    font-family: var(--primary-font);
    font-weight: 600;
    font-size: 3.5rem;
    line-height: 1.1;
    color: #e4e6eb;
    margin-bottom: 0.5rem;
    text-align: center;
}

#hero .hero-subtitle {
    color: #ffffff !important;
    font-weight: 300;
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    text-align: center;
    font-family: var(--font-secondary) !important;
}

#hero .hero-description {
    color: #b0b3b8;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 1rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#hero .subtitle {
    color: #b0b3b8;
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

#hero .hero-image {
    text-align: center;
    margin-bottom: 1rem;
}

#hero .hero-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#hero .hero-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

#hero .hero-actions {
    gap: 1rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#hero .social-links a {
    color: #b0b3b8;
    text-decoration: none;
    font-size: 1.2rem;
    margin: 0 0.5rem;
}

/* ===============================================
   5. CERTIFICATES SECTION
   =============================================== */

#certificates {
    background-color: #18191a !important;
    color: #e4e6eb !important;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

#certificates h3 {
    color: #b0b3b8 !important;
    margin-bottom: 2rem !important;
}

#certificates .certificate-card {
    background-color: #242526 !important;
    border: 1px solid #3a3b3c !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2) !important;
    height: 100% !important;
}

#certificates .certificate-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

#certificates .certificate-image img {
    max-width: 120px !important;
    height: auto !important;
    margin-bottom: 1rem !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) !important;
}

#certificates .certificate-content h5 {
    color: #e4e6eb !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    font-size: 1.1rem !important;
}

#certificates .certificate-content p {
    color: #b0b3b8 !important;
    margin-bottom: 1rem !important;
    font-size: 0.9rem !important;
}

#certificates .certificate-meta small {
    color: #b0b3b8 !important;
    font-size: 0.8rem !important;
}

#certificates .certificate-placeholder {
    padding: 2rem 1rem !important;
    color: #b0b3b8 !important;
    border: 2px dashed #3a3b3c !important;
    border-radius: 8px !important;
    background-color: #1e1f20 !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

#certificates .certificate-placeholder:hover {
    border-color: rgba(255, 255, 255, 0.4) !important;
    background-color: #2a2b2c !important;
}

#certificates .certificate-placeholder i,
#certificates .certificate-placeholder p {
    color: #b0b3b8 !important;
    margin: 0 !important;
}

/* ===============================================
   6. EXPERIENCE SECTION
   =============================================== */

#experience {
    background: linear-gradient(135deg, #18191a 0%, #1e1f20 50%, #18191a 100%);
    position: relative;
    overflow: hidden;
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

#experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

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

.experience-title {
    color: #e4e6eb !important;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #e4e6eb 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.experience-subtitle p {
    color: #b0b3b8;
    font-size: 1.1rem;
    margin: 0 0 1rem 0;
    font-style: italic;
}

.experience-container {
    background: rgba(36, 37, 38, 0.8);
    border: 1px solid #3a3b3c;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

/* Experience tabs */
.experience-tabs-wrapper {
    margin-bottom: 2rem;
    position: relative;
}

.experience-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    border: none !important;
    background: transparent !important;
}

.experience-tab {
    background: rgba(58, 59, 60, 0.3) !important;
    border: 2px solid #3a3b3c !important;
    border-radius: 15px !important;
    color: #b0b3b8 !important;
    padding: 0.75rem 1.25rem !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
}

.experience-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.experience-tab:hover::before {
    left: 100%;
}

.experience-tab:hover {
    color: #e4e6eb !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.experience-tab.active {
    color: #e4e6eb !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.company-name {
    font-weight: 600;
    font-size: 0.85rem;
}

.company-indicator {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.7;
}

.experience-tab.active .company-indicator {
    background: #e4e6eb;
    opacity: 0.8;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}

/* Experience content */
.experience-content {
    position: relative;
}

.experience-card {
    background: transparent !important;
}

.experience-card-inner {
    background: rgba(24, 25, 26, 0.6);
    border: 1px solid #3a3b3c;
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.experience-card-inner:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.experience-header-section {
    margin-bottom: 1.5rem;
}

.job-title-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.job-title {
    color: #e4e6eb !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

.company-link-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.company-separator {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.company-link {
    color: var(--primary-color) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.company-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.company-link:hover::after {
    width: 100%;
}

.company-link:hover {
    color: #ffffff !important;
}

.job-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.job-date {
    color: #b0b3b8;
    font-size: 0.9rem;
    font-weight: 500;
}

.info-icon-wrapper {
    display: flex;
    align-items: center;
}

.info-icon {
    color: #b0b3b8;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.info-icon:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}

.featured-link-section {
    margin: 1.5rem 0;
}

.featured-link-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.75rem 1.5rem !important;
    background: transparent !important;
    border: 2px solid var(--primary-color) !important;
    border-radius: 25px !important;
    color: var(--primary-color) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.featured-link-btn:hover {
    background: var(--primary-color) !important;
    color: #18191a !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.experience-description {
    color: #b0b3b8 !important;
    line-height: 1.6 !important;
    margin: 1.5rem 0 !important;
}

.experience-description p {
    margin-bottom: 1rem !important;
}

.experience-description ul {
    list-style: none !important;
    padding-left: 0 !important;
}

.experience-description ul li {
    position: relative !important;
    padding-left: 1.5rem !important;
    margin-bottom: 0.5rem !important;
}

.experience-description ul li::before {
    content: "▸" !important;
    color: var(--primary-color) !important;
    position: absolute !important;
    left: 0 !important;
    font-weight: 600 !important;
}

.technologies-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.technologies-title {
    color: #e4e6eb !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.technologies-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.technology-badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 20px !important;
    padding: 0.5rem 1rem !important;
    color: #e4e6eb !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.technology-badge:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08)) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

/* ===============================================
   7. CONTACT SECTION
   =============================================== */

#contact {
    background: linear-gradient(135deg, #18191a 0%, #1e1f20 50%, #18191a 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.py-5 {
    padding-top: 0 !important;
}

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

.contact-title {
    color: #e4e6eb !important;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #e4e6eb 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s infinite ease-in-out;
}

.contact-subtitle p {
    color: #b0b3b8;
    font-size: 1.1rem;
    margin: 0;
    font-style: italic;
}

.contact-card {
    background: rgba(36, 37, 38, 0.8);
    border: 1px solid #3a3b3c;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.contact-description {
    color: #b0b3b8;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-email-wrapper {
    margin: 2rem 0;
}

.contact-email-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(24, 25, 26, 0.8);
    border: 2px solid #3a3b3c;
    border-radius: 15px;
    padding: 1rem 1.5rem;
    max-width: 400px;
    margin: 0 auto;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-email-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.contact-email-container:hover::before {
    left: 100%;
}

.contact-email-container:hover {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 3px 12px rgba(255, 255, 255, 0.05);
}

.email-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 1rem;
}

.contact-email {
    color: #e4e6eb !important;
    text-decoration: none !important;
    font-size: 1.1rem;
    font-weight: 500;
    flex: 1;
    text-align: center;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: var(--primary-color) !important;
}

.email-copy-btn {
    color: #b0b3b8;
    font-size: 1rem;
    margin-left: 1rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.email-copy-btn:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.05);
}

.email-copy-btn.copied {
    color: #4CAF50;
    transform: scale(1.1);
}

.copy-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.email-copy-btn:hover .copy-tooltip {
    opacity: 1;
    visibility: visible;
}

.contact-social-links p {
    color: #b0b3b8;
    font-size: 0.9rem;
}

/* Contact section social icons styling - match hero icons */
#contact .hero-social .btn.social-icon {
    color: #b0b3b8 !important;
    background-color: transparent !important;
    border: 2px solid #3a3b3c !important;
    border-radius: 50% !important;
    width: 48px !important;
    height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.2rem !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    margin: 0 0.5rem !important;
}

#contact .hero-social .btn.social-icon:hover {
    color: #e4e6eb !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

/* LinkedIn specific hover - LinkedIn Blue with ring */
.hero-social .btn.social-icon:hover .fa-linkedin {
    color: #0077B5 !important;
}

/* LinkedIn icon color for contact section */
#contact .hero-social .btn.social-icon:hover .fa-linkedin {
    color: #0077B5 !important;
}

.hero-social .btn.social-icon:has(.fa-linkedin):hover {
    border-color: #0077B5 !important;
    box-shadow: 0 0 0 2px rgba(0, 119, 181, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

/* LinkedIn ring effect for contact section */
#contact .hero-social .btn.social-icon:has(.fa-linkedin):hover {
    border-color: #0077B5 !important;
    box-shadow: 0 0 0 2px rgba(0, 119, 181, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

#contact .hero-social .btn.social-icon:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3) !important;
    outline: none !important;
}

#contact .hero-social .btn.social-icon i {
    font-size: 1.1rem;
}

#contact .hero-social .btn.social-icon img {
    width: 20px;
    height: 20px;
    filter: brightness(0.7);
    transition: filter 0.3s ease;
}

#contact .hero-social .btn.social-icon:hover img {
    filter: brightness(1);
}

/* Copy notification */
.copy-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(36, 37, 38, 0.95);
    color: #e4e6eb;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    border: 1px solid #3a3b3c;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.copy-notification.show {
    opacity: 1;
    visibility: visible;
    animation: notificationPop 0.3s ease;
}

.notification-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary-color);
}

.notification-text strong {
    display: block;
    font-weight: 500;
    margin-bottom: 0.1rem;
    font-size: 0.9rem;
}

.notification-text p {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* ===============================================
   8. COMMON COMPONENTS
   =============================================== */

/* Tooltips */
.tooltip {
    line-height: 1rem;
    border-radius: .5rem !important;
}

.tooltip-inner {
    line-height: 1rem;
}

.tooltip .tooltip-arrow { 
    visibility: hidden !important;
}

/* Technology badges */
.badge.badge-secondary {
    background-color: #495057 !important;
    color: #f8f9fa !important;
    border: 1px solid #6c757d !important;
    padding: 0.5rem 0.75rem !important;
    border-radius: 0.375rem !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.2s ease-in-out !important;
}

.badge.badge-secondary:hover {
    background-color: #6c757d !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
}

/* General text styles */
.text-muted {
    color: #b0b3b8 !important;
}

.lead {
    color: #b0b3b8;
}

/* Cards */
.card {
    background-color: #242526 !important;
    border-color: #3a3b3c !important;
}

.card-title {
    color: #e4e6eb;
}

.card-text {
    color: #b0b3b8;
}

/* ===============================================
   9. RESPONSIVE DESIGN
   =============================================== */

/* Hero responsive */
@media (max-width: 768px) {
    #hero {
        min-height: 60vh;
        padding-top: calc(2vh + 20px);
    }
    
    #hero .hero-title {
        font-size: 2.5rem;
    }
    
    #hero .hero-subtitle {
        font-size: 1.3rem;
    }
    
    #hero .hero-description {
        font-size: 1rem;
    }
    
    #hero .hero-image img {
        width: 120px;
        height: 120px;
    }

    .experience-title {
        font-size: 2rem;
    }
    
    .job-title-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .experience-tabs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .experience-tab {
        text-align: center;
    }

    #contact {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .contact-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    #hero {
        min-height: 65vh;
        padding-top: calc(3vh + 15px);
    }
    
    #hero .hero-title {
        font-size: 2rem;
    }
    
    #hero .hero-subtitle {
        font-size: 1.2rem;
    }

    .experience-container {
        padding: 1.5rem;
    }
    
    .experience-card-inner {
        padding: 1.5rem;
    }
}

/* Very small viewports - scale down contact email container */
@media (max-width: 400px) {
    .contact-email-container {
        padding: 0.75rem 1rem;
        max-width: 320px;
        border-radius: 12px;
    }
    
    .contact-email {
        font-size: 0.95rem;
    }
    
    .email-icon {
        font-size: 1rem;
        margin-right: 0.75rem;
    }
    
    .email-copy-btn {
        font-size: 0.9rem;
        margin-left: 0.75rem;
        padding: 0.4rem;
    }
}
