/* ========================================
   Modern Portfolio Styles - Optimized
   ======================================== */

:root {
    --primary-color: #5a8a6f;
    --primary-dark: #4a7a5f;
    --primary-light: #6b9d7f;
    --secondary-color: #2c3e50;
    --accent-color: #3498db;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-tertiary: #eef0f2;
    --bg-dark: #1a1a1a;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --primary-color: #5dbf8f;
    --primary-dark: #4da57a;
    --primary-light: #6dd49f;
    --text-dark: #e0e0e0;
    --text-light: #b0b0b0;
    --bg-light: #1a1a1a;
    --bg-tertiary: #242424;
    --bg-dark: #0a0a0a;
    --white: #2c2c2c;
    --secondary-color: #e0e0e0;
}

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

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

section {
    overflow-x: hidden;
    max-width: 100%;
}

section:not(.hero-section) {
    padding-left: 20px;
    padding-right: 20px;
}

.container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

/* Responsive padding */
@media (min-width: 768px) {
    section:not(.hero-section) {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .container {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (min-width: 1200px) {
    section:not(.hero-section) {
        padding-left: 60px;
        padding-right: 60px;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.row {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* ========================================
   Loading Screen
   ======================================== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   Navigation
   ======================================== */
.main-navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.main-navigation.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.main-navigation.scrolled .nav-brand a {
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: var(--transition);
}

.main-navigation.scrolled .nav-link {
    color: var(--text-dark);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

.main-navigation.scrolled .nav-toggle span {
    background: var(--text-dark);
}

.theme-toggle {
    background: transparent;
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
    margin-left: 20px;
}

.theme-toggle:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: rotate(20deg);
}

.main-navigation.scrolled .theme-toggle {
    border-color: var(--text-dark);
    color: var(--text-dark);
}

.main-navigation.scrolled .theme-toggle:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    width: 100%;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    display: none;
}

@media (max-width: 768px) {
    .hero-video {
        display: none;
    }
    .hero-video-fallback {
        display: block;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: var(--text-dark);
    margin-left: 40px;
    width: 100%;
    max-width: 100%;
    padding-right: 40px;
}

.hero-text .subtitle {
    display: block;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
    opacity: 1;
    letter-spacing: 2px;
    color: var(--text-color);
}

.hero-text .main-title {
    display: block;
    font-size: 80px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1;
    color: var(--text-dark);
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.hero-text .main-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.hero-text .main-title:hover::after {
    width: 50%;
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 20px;
    opacity: 1;
    color: var(--text-dark);
}

.hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 1;
    line-height: 1.8;
    color: var(--text-color);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
}

.btn {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #6b9d7f 0%, #5a8a6f 100%);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.btn-outline:hover {
    background: var(--text-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Override old style.css pseudo-elements on modern buttons */
.btn::after,
.btn::before {
    display: none !important;
    content: none !important;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.scroll-down:hover {
    transform: translateY(5px);
}

.scroll-icon {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-dark);
    border-radius: 15px;
    position: relative;
}

.scroll-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-dark);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

.social-sidebar {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social-sidebar a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--text-dark) 0%, #1a1a1a 100%);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.social-sidebar a:hover {
    background: var(--primary-color);
    transform: translateX(-5px);
}

/* ========================================
   About Section
   ======================================== */
.about-section {
    padding: 120px 0;
    background: var(--white);
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    display: inline-block;
}

.image-wrapper img {
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: var(--primary-color);
    color: var(--white);
    padding: 30px;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(4, 148, 12, 0.3);
}

.experience-badge .number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    display: block;
    font-size: 16px;
    margin-top: 5px;
    line-height: 1.3;
}

.about-content {
    padding-left: 50px;
}

.section-subtitle {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 25px;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition: var(--transition);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 100%;
}

.about-text {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-info {
    margin-top: 30px;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    font-size: 15px;
    margin-bottom: 12px;
    color: var(--text-light);
}

.info-list li strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* ========================================
   Stats/Competencies Section
   ======================================== */
.stats-section {
    background: var(--bg-tertiary);
    padding: 40px 0;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-color) 20%, 
        var(--primary-color) 80%, 
        transparent 100%);
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-color) 20%, 
        var(--primary-color) 80%, 
        transparent 100%);
}

.stats-section .container {
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 10px;
    position: relative;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: var(--primary-color);
    opacity: 0.3;
}

.stat-item:first-child::before {
    display: none;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    margin: 0 auto 15px;
    transition: var(--transition);
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(90, 138, 111, 0.4);
}

.stat-label {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    opacity: 0.95;
}

.stat-description {
    font-size: 11px;
    opacity: 0.7;
    line-height: 1.4;
}

/* ========================================
   Skills Section
   ======================================== */
.skills-section {
    padding: 120px 0;
    background: var(--bg-light);
}

.section-header {
    margin-bottom: 60px;
    text-align: left;
}

.section-description {
    font-size: 16px;
    color: var(--text-light);
    margin-top: 15px;
}

.tech-cloud {
    max-width: 1200px;
    margin: 0 auto;
}

.tech-category {
    margin-bottom: 50px;
}

.tech-category:last-child {
    margin-bottom: 0;
}

.tech-category-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
    padding-left: 0;
    position: relative;
}

.tech-category-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-light);
    color: var(--text-color);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: none;
}

.tech-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tech-badge[data-level="expert"] {
    background: #5a8a6f;
    color: var(--white);
}

.tech-badge[data-level="expert"]:hover {
    background: #4a7a5f;
}

.tech-badge[data-level="advanced"] {
    background: #7aab8f;
    color: var(--white);
}

.tech-badge[data-level="advanced"]:hover {
    background: #6b9d7f;
}

.tech-badge[data-level="intermediate"] {
    background: #95c4a8;
    color: var(--white);
}

.tech-badge[data-level="intermediate"]:hover {
    background: #7aab8f;
}

/* ========================================
   Tech Stack Showcase
   ======================================== */
.tech-stack-showcase {
    padding: 60px 0;
    background: var(--bg-light);
    border-top: 1px solid rgba(90, 138, 111, 0.1);
    border-bottom: 1px solid rgba(90, 138, 111, 0.1);
}

.tech-stack-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.tech-stack-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.tech-stack-item:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.tech-stack-item i {
    font-size: 48px;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.tech-stack-item:hover i {
    color: var(--primary-dark);
}

.tech-stack-item span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

@media (max-width: 768px) {
    .tech-stack-showcase {
        padding: 40px 0;
    }
    
    .tech-stack-grid {
        gap: 30px;
    }
    
    .tech-stack-item i {
        font-size: 36px;
    }
    
    .tech-stack-item span {
        font-size: 12px;
    }
}

/* ========================================
   Experience Section
   ======================================== */
.experience-section {
    padding: 120px 0;
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 10px var(--white);
}

.timeline-content {
    width: calc(50% - 50px);
    background: var(--bg-light);
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.timeline-content.collapsed .timeline-description {
    max-height: 200px;
    overflow: hidden;
    position: relative;
}

.timeline-content.collapsed .timeline-description::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        var(--bg-light) 70%);
    pointer-events: none;
}

.read-more-btn {
    display: block;
    margin: 15px auto 0;
    padding: 8px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.read-more-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.read-more-btn.expanded {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-color);
}

.read-more-btn.expanded:hover {
    background: rgba(0, 0, 0, 0.15);
}

.timeline-date {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-content h4 {
    font-size: 22px;
    margin-bottom: 5px;
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition: var(--transition);
}

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

.timeline-content h4:hover::after {
    width: 100%;
}

.timeline-content h5 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.7;
}

.timeline-content ul {
    color: var(--text-light);
    line-height: 1.7;
    padding-left: 20px;
}

/* ========================================
   Education Section
   ======================================== */
.education-section {
    padding: 120px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.education-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.education-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(1.3);
}

/* Hide videos on mobile to save bandwidth */
@media (max-width: 767px) {
    .hero-video,
    .education-video {
        display: none !important;
    }
    
    /* Fallback gradient background for mobile */
    .hero-background,
    .education-background {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    }
}

.education-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.education-section .container {
    position: relative;
    z-index: 2;
}

/* ========================================
   Certifications Section
   ======================================== */
.certifications-section {
    padding: 120px 0;
    background: var(--bg-light);
}

.certification-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.certification-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.certification-watermark {
    position: absolute;
    top: 50%;
    right: -40px;
    transform: translateY(-50%);
    font-size: 200px;
    color: var(--primary-color);
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}

.certification-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.certification-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
    min-height: 50px;
    position: relative;
    z-index: 1;
}

.certification-code {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}

.certification-issuer {
    font-size: 16px;
    color: var(--text-light);
    position: relative;
    z-index: 1;
    margin-bottom: 5px;
}

.certification-date {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.certification-description {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    opacity: 0.85;
}

.certification-card .btn {
    position: relative;
    z-index: 1;
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ========================================
   Value/Industry Section
   ======================================== */
.value-section {
    background: var(--bg-tertiary);
}

.industry-section {
    padding: 120px 0;
    background: var(--white);
}

.industry-content {
    max-width: 900px;
    margin: 0 auto;
}

.industry-item {
    position: relative;
}

.industry-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.industry-title {
    font-size: 28px;
    color: var(--text-dark);
    font-weight: 700;
    margin-left: 15px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.industry-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.industry-title:hover::after {
    width: 100%;
}

.industry-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    padding: 120px 0;
    background: var(--white);
}

.contact-card {
    background: var(--bg-light);
    padding: 50px 30px;
    border-radius: 4px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
}

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

.contact-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1);
}

.contact-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
}

.contact-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
}

.contact-card a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--primary-color);
}

/* Contact Form */
.contact-form {
    background: var(--bg-light);
    padding: 50px 40px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: var(--transition);
}

.contact-form:hover {
    border-color: var(--primary-light);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-family: 'Space Grotesk', sans-serif;
}

.form-group .required {
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--white);
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(90, 138, 111, 0.1);
}

.form-control::placeholder {
    color: #999;
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(90, 138, 111, 0.3);
}

.btn-submit:disabled,
.btn-submit.loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-submit i {
    transition: var(--transition);
}

.btn-submit:hover i {
    transform: translateX(5px);
}

.btn-submit.loading i {
    animation: rotating 1s linear infinite;
}

@keyframes rotating {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Form Messages */
.form-message {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.6;
    animation: slideDown 0.3s ease-out;
}

.form-message-success {
    background: rgba(90, 138, 111, 0.1);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.form-message-error {
    background: rgba(220, 53, 69, 0.1);
    border: 2px solid #dc3545;
    color: #dc3545;
}

.form-message.fade-out {
    animation: fadeOut 0.3s ease-out;
    opacity: 0;
}

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

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Dark theme adjustments for messages */
[data-theme="dark"] .form-message-success {
    background: rgba(93, 191, 143, 0.15);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

[data-theme="dark"] .form-message-error {
    background: rgba(220, 53, 69, 0.15);
    border-color: #ff6b7a;
    color: #ff6b7a;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--bg-dark);
    color: var(--white);
}

.footer-main {
    padding: 80px 0 40px;
    position: relative;
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-color) 50%, 
        transparent 100%);
}

.footer-widget {
    margin-bottom: 20px;
}

.footer-greeting {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #ffffff;
}

.footer-title {
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: 600;
    color: var(--white);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-email {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.footer-email:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-location {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.footer-widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-social .social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
    font-size: 18px;
}

.footer-social .social-link:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
    margin-top: 15px;
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 767px) {
    .footer-main {
        padding: 50px 0 30px;
    }
    
    .footer-greeting {
        font-size: 24px;
    }
    
    .footer-title {
        font-size: 22px;
    }
    
    .footer-email {
        font-size: 16px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   Mobile Floating Navigation
   ======================================== */
.mobile-floating-nav {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    /* iOS Safari fix */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.mobile-nav-notch {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(90, 138, 111, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse-shadow 2s infinite;
    /* iOS Safari fix */
    position: relative;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
}

@keyframes pulse-shadow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(90, 138, 111, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 10px rgba(90, 138, 111, 0);
    }
}

.mobile-nav-notch:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.mobile-nav-notch:active {
    transform: scale(0.95);
}

.mobile-nav-notch.active {
    background: var(--white);
    border: none;
    color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.mobile-nav-notch.active i {
    transform: rotate(90deg);
}

.mobile-nav-notch i {
    transition: transform 0.3s ease;
}

.mobile-nav-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
}

.mobile-nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-item {
    width: 140px;
    height: 36px;
    background: var(--white);
    border: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 0 16px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mobile-nav-item:first-child {
    border-radius: 6px 6px 0 0;
}

.mobile-nav-item:last-child {
    border-radius: 0 0 6px 6px;
}

.mobile-nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.mobile-nav-item:hover::before,
.mobile-nav-item.active::before {
    opacity: 1;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: var(--white);
    border-color: transparent;
    transform: scale(1.05);
}

.mobile-nav-item span {
    font-size: 10px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.5px;
}

.mobile-nav-item i {
    font-size: 16px;
    width: 18px;
    text-align: center;
}

/* Show floating nav only on mobile */
@media (max-width: 991px) {
    .mobile-floating-nav {
        display: block;
    }
}

/* Hide on very small screens to avoid overlap */
@media (max-width: 400px) {
    .mobile-floating-nav {
        bottom: 15px;
        right: 15px;
    }
    
    .mobile-nav-notch {
        width: 50px;
        height: 50px;
    }
    
    .mobile-nav-item {
        width: 130px;
        height: 44px;
        padding: 0 12px;
        gap: 10px;
    }
    
    .mobile-nav-item span {
        font-size: 12px;
    }
    
    .mobile-nav-item i {
        font-size: 16px;
    }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--text-dark) !important;
        padding: 15px 0;
        border-bottom: 1px solid var(--bg-light);
    }
    
    .nav-toggle {
        display: none;
    }
    
    .social-sidebar {
        display: none;
    }
    
    .hero-text .main-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 50px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 80px;
    }
    
    .timeline-icon {
        left: 30px;
        transform: translateX(0);
    }
    
    .timeline-content {
        width: 100%;
        text-align: left !important;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 32px;
    }
    
    .hero-content {
        margin-left: 0;
        padding-right: 0;
    }
    
    .hero-text .main-title {
        font-size: 36px;
    }
    
    .hero-buttons {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .experience-badge {
        right: 20px;
        bottom: 20px;
    }
    
    .tech-badge {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-icon {
        display: none;
    }
    
    .timeline-item {
        padding-left: 0 !important;
    }
    
    /* Mobile experience section container - reduce side margins */
    .experience-section .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    /* Mobile experience card adjustments */
    .timeline-content {
        padding: 20px 15px !important;
    }
    
    .timeline-content h4 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .timeline-content h5 {
        margin-bottom: 20px;
    }
    
    .timeline-content ul {
        line-height: 1.9;
    }
    
    .timeline-content li {
        margin-bottom: 12px;
    }
    
    .timeline-content li:last-child {
        margin-bottom: 0;
    }
    
    /* Mobile navbar - reduce size by 60% */
    .main-navigation {
        padding: 8px 0 !important;
    }
    
    .main-navigation.scrolled {
        padding: 6px 0 !important;
    }
    
    .nav-container {
        padding: 0 15px !important;
    }
    
    .nav-brand a {
        font-size: 18px !important;
    }
    
    .nav-toggle {
        width: 28px !important;
        height: 28px !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .nav-toggle span {
        width: 22px !important;
        height: 2px !important;
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .nav-toggle span:nth-child(1) {
        top: 6px !important;
    }
    
    .nav-toggle span:nth-child(2) {
        top: 13px !important;
    }
    
    .nav-toggle span:nth-child(3) {
        top: 20px !important;
    }
    
    .theme-toggle {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    .contact-card-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin: 0 auto 15px;
    }
    
    .contact-card h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    /* Mobile contact form adjustments */
    .contact-form {
        padding: 30px 20px;
    }
    
    .form-control {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .btn-submit {
        padding: 14px 30px;
        font-size: 15px;
    }
}

/* ========================================
   Dark Mode
   ======================================== */
[data-theme="dark"] .hero-overlay {
    background: rgba(0, 0, 0, 0.85);
}

[data-theme="dark"] .hero-content {
    color: var(--white);
}

[data-theme="dark"] .hero-text .subtitle {
    color: #ffffff;
}

[data-theme="dark"] .hero-text .main-title {
    color: #ffffff;
}

[data-theme="dark"] .hero-subtitle {
    color: #f5f5f5;
}

[data-theme="dark"] .hero-description {
    color: #e8e8e8;
}

[data-theme="dark"] .about-section,
[data-theme="dark"] .experience-section,
[data-theme="dark"] .education-section,
[data-theme="dark"] .industry-section,
[data-theme="dark"] .contact-section {
    background: #121212;
}

[data-theme="dark"] .education-overlay {
    background: rgba(18, 18, 18, 0.92);
}

[data-theme="dark"] .skills-section,
[data-theme="dark"] .certifications-section {
    background: #1a1a1a;
}

[data-theme="dark"] .certification-card {
    background: #2c2c2c;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .certification-card h4 {
    color: #e0e0e0;
}

[data-theme="dark"] .certification-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .certification-watermark {
    opacity: 0.05;
}

[data-theme="dark"] .tech-badge {
    background: #2c2c2c;
    color: #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .tech-badge:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .tech-badge[data-level="expert"] {
    background: linear-gradient(135deg, rgba(90, 138, 111, 0.2) 0%, rgba(74, 122, 95, 0.2) 100%);
}

[data-theme="dark"] .tech-badge[data-level="advanced"] {
    background: linear-gradient(135deg, rgba(122, 171, 143, 0.15) 0%, rgba(107, 157, 127, 0.15) 100%);
}

[data-theme="dark"] .tech-badge[data-level="intermediate"] {
    background: linear-gradient(135deg, rgba(149, 196, 168, 0.12) 0%, rgba(122, 171, 143, 0.12) 100%);
}

[data-theme="dark"] .tech-category-title {
    color: #e0e0e0;
}

[data-theme="dark"] .timeline-content {
    background: #2c2c2c;
    border-color: #3a3a3a;
}

[data-theme="dark"] .timeline-content.collapsed .timeline-description::after {
    background: linear-gradient(to bottom, 
        transparent 0%, 
        #2c2c2c 70%);
}

[data-theme="dark"] .read-more-btn.expanded {
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

[data-theme="dark"] .read-more-btn.expanded:hover {
    background: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .main-navigation.scrolled {
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .footer {
    background: #0a0a0a;
}

[data-theme="dark"] .footer-greeting {
    color: #ffffff;
}

[data-theme="dark"] .footer-title {
    color: #ffffff;
}

[data-theme="dark"] .footer-widget-title {
    color: #ffffff;
}

[data-theme="dark"] .footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .footer-links a:hover {
    color: var(--primary-color);
}

[data-theme="dark"] .footer-location {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .footer-tagline {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .footer-copyright {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .experience-badge {
    background: #2c2c2c;
    color: var(--primary-color);
}

[data-theme="dark"] .stats-section {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: var(--white);
}

[data-theme="dark"] .stat-label,
[data-theme="dark"] .stat-description {
    color: #ffffff;
}

[data-theme="dark"] .stat-label {
    opacity: 1;
}

[data-theme="dark"] .stat-description {
    opacity: 0.85;
}

[data-theme="dark"] .timeline-content h4 {
    color: #ffffff;
}

[data-theme="dark"] .timeline-content h5 {
    color: var(--primary-color);
}

[data-theme="dark"] .timeline-content p,
[data-theme="dark"] .timeline-content ul,
[data-theme="dark"] .timeline-content li {
    color: #b0b0b0;
}

[data-theme="dark"] .timeline-date {
    color: #ffffff;
    background: rgba(4, 148, 12, 0.2);
}

[data-theme="dark"] .social-sidebar a {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .social-sidebar a:hover {
    background: var(--primary-color);
    color: #ffffff;
}

[data-theme="dark"] .footer-social a {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

[data-theme="dark"] .footer-social a:hover {
    background: var(--primary-color);
    color: #ffffff;
}

[data-theme="dark"] .footer-text {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .contact-card a {
    color: #b0b0b0;
}

[data-theme="dark"] .contact-card a:hover {
    color: var(--primary-color);
}

[data-theme="dark"] .contact-form {
    background: #2c2c2c;
    border-color: #3a3a3a;
}

[data-theme="dark"] .contact-form:hover {
    border-color: var(--primary-color);
}

[data-theme="dark"] .form-group label {
    color: #e0e0e0;
}

[data-theme="dark"] .form-control {
    background: #1a1a1a;
    border-color: #3a3a3a;
    color: #e0e0e0;
}

[data-theme="dark"] .form-control:focus {
    background: #1a1a1a;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(93, 191, 143, 0.15);
}

[data-theme="dark"] .form-control::placeholder {
    color: #666;
}

[data-theme="dark"] .main-navigation {
    background: rgba(20, 20, 20, 0.7);
}

[data-theme="dark"] .nav-link {
    color: #ffffff;
}

[data-theme="dark"] .nav-brand a {
    color: #ffffff;
}

[data-theme="dark"] .theme-toggle {
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .theme-toggle:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

[data-theme="dark"] .main-navigation.scrolled .theme-toggle {
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .scroll-down {
    color: var(--white);
}

[data-theme="dark"] .scroll-icon {
    border-color: var(--white);
}

[data-theme="dark"] .scroll-icon::before {
    background: var(--white);
}

[data-theme="dark"] .btn-primary {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

[data-theme="dark"] .btn-primary:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--primary-color);
}

[data-theme="dark"] .btn-outline {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

[data-theme="dark"] .btn-outline:hover {
    background: #ffffff;
    color: #1a1a1a;
}

[data-theme="dark"] .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

[data-theme="dark"] .btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
}
