/* ===== GENERAL STYLES ===== */
:root {
    --primary-color: #ff0000;
    --secondary-color: #cc0000;
    --accent-color: #990000;
    --text-color: #000000;
    --light-text: #444444;
    --dark-bg: rgba(18, 18, 18, 0.95);
    --dark-card: rgba(30, 30, 30, 0.8);
    --dark-text: #ffffff;
    --dark-light-text: #e0e0e0;
    --light-bg: rgba(249, 249, 249, 0.95);
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    --dark-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    --text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
    --text-shadow-dark: 2px 2px 4px rgba(0, 0, 0, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);
    --card-bg: rgba(255, 255, 255, 0.95);
    --facebook-color: #1877f2;
    --twitter-color: #1da1f2;
    --linkedin-color: #0077b5;
    --github-color: #333333;
    --instagram-color: #e4405f;
    --youtube-color: #ff0000;
    --neutral-100: #f9fafb;
    --neutral-200: #e5e7eb;
    --neutral-300: #d1d5db;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.2px;
    color: var(--text-color);
    background-color: var(--light-bg);
    overflow-x: hidden;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

body.light-mode {
    --bg-color: var(--light-bg);
    --text-color: #333;
    --light-text: #777;
    --card-bg: var(--white);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

body.dark-mode {
    --bg-color: var(--dark-bg);
    --text-color: var(--dark-text);
    --light-text: var(--dark-light-text);
    --card-bg: var(--dark-card);
    --shadow: var(--dark-shadow);
    background-color: var(--dark-bg);
    color: var(--dark-text);
    --glass-bg: rgba(30, 30, 30, 0.8);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

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

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: capitalize;
    text-shadow: var(--text-shadow);
    position: relative;
    display: inline-block;
}

.section-header h2 span {
    color: var(--primary-color);
}

.section-header p {
    font-size: 18px;
    color: var(--light-text);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 14px;
    box-shadow: var(--shadow);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

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

.primary-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.sticky {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

body.dark-mode header {
    background: rgba(20, 20, 20, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode header.sticky {
    background: rgba(20, 20, 20, 0.98);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo a {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.logo a::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 8px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.logo a:hover::before {
    opacity: 0.1;
}

.logo a span {
    color: var(--primary-color);
    position: relative;
}

.desktop-nav {
    position: relative;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-mode .desktop-nav ul {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.desktop-nav ul li {
    margin: 0 4px;
}

.desktop-nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-size: 14px;
    letter-spacing: 0.3px;
    display: block;
    overflow: hidden;
}

.desktop-nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.desktop-nav ul li a:hover::before {
    left: 100%;
}

.desktop-nav ul li a:hover,
.desktop-nav ul li a.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

.desktop-nav ul li a.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

.theme-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

body.dark-mode .theme-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.theme-toggle:hover::before {
    left: 100%;
}

.theme-toggle:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

.theme-toggle i {
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 1;
}

.theme-toggle:hover i {
    color: var(--white);
    transform: rotate(180deg);
}

.light-mode .fa-sun {
    display: none;
}

.light-mode .fa-moon {
    display: block;
    color: var(--text-color);
}

.dark-mode .fa-sun {
    display: block;
    color: var(--dark-text);
}

.dark-mode .fa-moon {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

body.dark-mode .hamburger {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.hamburger:hover::before {
    left: 100%;
}

.hamburger:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    z-index: 1;
}

.hamburger:hover span {
    background-color: var(--white);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 999;
    padding: 100px 0 30px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .mobile-nav {
    background: rgba(20, 20, 20, 0.95);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav ul {
    list-style: none;
    padding: 0 30px;
}

.mobile-nav ul li {
    margin-bottom: 8px;
}

.mobile-nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    padding: 15px 20px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.mobile-nav ul li a::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 ease;
}

.mobile-nav ul li a:hover::before {
    left: 100%;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

.mobile-nav ul li a.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 60px;
}

.hero-text {
    flex: 1;
    padding-right: 30px;
}

.hero-text h1 {
    font-size: 4.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: var(--text-shadow);
    letter-spacing: -1px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-text h1 span {
    color: var(--primary-color);
}

.hero-text h2 {
    font-size: 26px;
    font-weight: 600;
    color: var(--text-color);
    text-shadow: var(--text-shadow);
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.typing-text::after {
    content: '|';
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 30px;
}

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

.hero-buttons .btn {
    margin-right: 15px;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 18px;
}

/* Individual social icon colors */
.social-icons a.facebook {
    background-color: var(--facebook-color);
    color: white;
}

.social-icons a.twitter {
    background-color: var(--twitter-color);
    color: white;
}

.social-icons a.linkedin {
    background-color: var(--linkedin-color);
    color: white;
}

.social-icons a.github {
    background-color: var(--github-color);
    color: white;
}

.social-icons a.instagram {
    background-color: var(--instagram-color);
    color: white;
}

.social-icons a.youtube {
    background-color: var(--youtube-color);
    color: white;
}

.social-icons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Dark mode adjustments */
body.dark-mode .social-icons a {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.hero-image {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 20px;
}

.hero-image img {
    max-width: 300px;
    width: 100%;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-color);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
    position: relative;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border: 2px dashed var(--primary-color);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.hero-image img:hover {
    transform: scale(1.05);
    border-color: var(--accent-color);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

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

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down a {
    color: var(--primary-color);
    font-size: 24px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

/* ===== ABOUT SECTION ===== */
.about {
    background-color: var(--bg-color);
}

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

.about-image {
    flex: 1;
    padding-right: 30px;
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.03);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-color);
    text-shadow: var(--text-shadow);
}

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

.personal-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

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

.info-item span {
    font-weight: 600;
    margin-right: 10px;
    color: var(--text-color);
}

.info-item p {
    margin-bottom: 0;
}

/* ===== SKILLS SECTION ===== */
.skills {
    background-color: var(--light-bg);
}

.skills-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    gap: 20px;
}

.tab-btn {
    padding: 15px 35px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

body.dark-mode .tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.tab-btn.active,
.tab-btn:hover {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.skill-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

body.dark-mode .skill-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-card::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.8s ease;
}

.skill-card:hover::before {
    left: 100%;
}

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

.skill-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
}

.skill-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    z-index: 2;
}

.progress-ring {
    transform: rotate(-90deg);
    position: absolute;
    top: 0;
    left: 0;
}

.progress-ring-circle {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dasharray 1s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .progress-ring-circle {
    stroke: rgba(255, 255, 255, 0.05);
}

.skill-info {
    text-align: center;
}

.skill-info i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
    transition: all 0.3s ease;
}

.skill-card:hover .skill-info i {
    transform: scale(1.1);
    color: var(--accent-color);
}

.skill-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.skill-info p {
    font-size: 14px;
    color: var(--light-text);
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .skill-card {
        padding: 25px 15px;
    }
    
    .skill-circle {
        width: 100px;
        height: 100px;
    }
    
    .progress-ring {
        width: 100px;
        height: 100px;
    }
    
    .progress-ring-circle {
        cx: 50;
        cy: 50;
        r: 40;
        stroke-width: 6;
    }
    
    .skill-percentage {
        font-size: 16px;
    }
    
    .skill-info i {
        font-size: 28px;
    }
    
    .skills-tabs {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .tab-btn {
        width: 200px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .skill-card {
        margin: 0 10px;
    }
}

/* ===== PROJECTS SECTION ===== */
.projects {
    background-color: var(--bg-color);
}

.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

body.dark-mode .filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

.filter-btn i {
    font-size: 16px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    margin-top: 50px;
    padding: 0 10px;
}

.project-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

body.dark-mode .project-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.project-card::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.8s ease;
    z-index: 1;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    transform: translateY(-25px) scale(1.04);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.25);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.25);
    filter: brightness(1.05);
}

body.dark-mode .project-card:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.5);
    filter: brightness(1.1);
}

.project-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.2);
}

.project-image {
    position: relative;
    height: 260px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1) saturate(1.1);
}

.project-card:hover .project-image img {
    transform: scale(1.15) rotate(1deg);
    filter: brightness(0.7) saturate(1.3);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.85), rgba(153, 0, 0, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
}

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

.project-actions {
    display: flex;
    gap: 20px;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.project-card:hover .project-actions {
    transform: translateY(0);
    opacity: 1;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

.action-btn:hover::before {
    left: 100%;
}

.action-btn:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    border-color: var(--white);
}

.action-btn:nth-child(2):hover {
    transform: scale(1.15) rotate(-5deg);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.project-content {
    padding: 30px;
    position: relative;
    z-index: 2;
}

.project-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.project-category::before {
    content: '';
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.project-content h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.project-card:hover .project-content h3 {
    color: var(--primary-color);
}

.project-content p {
    color: var(--light-text);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
    font-weight: 400;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-tag {
    padding: 8px 14px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border: 1px solid;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

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

.tech-tag:hover::before {
    left: 100%;
}

.tech-tag:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tech-tag.react { background: rgba(97, 218, 251, 0.1); color: #61DAFB; border-color: #61DAFB; }
.tech-tag.node { background: rgba(104, 160, 99, 0.1); color: #68A063; border-color: #68A063; }
.tech-tag.mongo { background: rgba(76, 175, 80, 0.1); color: #4CAF50; border-color: #4CAF50; }
.tech-tag.react-native { background: rgba(97, 218, 251, 0.1); color: #61DAFB; border-color: #61DAFB; }
.tech-tag.firebase { background: rgba(255, 193, 7, 0.1); color: #FFC107; border-color: #FFC107; }
.tech-tag.redux { background: rgba(118, 74, 188, 0.1); color: #764ABC; border-color: #764ABC; }
.tech-tag.figma { background: rgba(162, 89, 255, 0.1); color: #A259FF; border-color: #A259FF; }
.tech-tag.adobe { background: rgba(255, 61, 0, 0.1); color: #FF3D00; border-color: #FF3D00; }
.tech-tag.photoshop { background: rgba(49, 168, 255, 0.1); color: #31A8FF; border-color: #31A8FF; }
.tech-tag.html { background: rgba(227, 79, 38, 0.1); color: #E34F26; border-color: #E34F26; }
.tech-tag.css { background: rgba(21, 114, 182, 0.1); color: #1572B6; border-color: #1572B6; }
.tech-tag.js { background: rgba(240, 219, 79, 0.1); color: #F0DB4F; border-color: #F0DB4F; }
.tech-tag.vue { background: rgba(65, 184, 131, 0.1); color: #41B883; border-color: #41B883; }
.tech-tag.express { background: rgba(104, 160, 99, 0.1); color: #68A063; border-color: #68A063; }
.tech-tag.postgres { background: rgba(51, 103, 145, 0.1); color: #336791; border-color: #336791; }
.tech-tag.kotlin { background: rgba(125, 82, 255, 0.1); color: #7D52FF; border-color: #7D52FF; }
.tech-tag.android { background: rgba(61, 220, 132, 0.1); color: #3DDC84; border-color: #3DDC84; }

.project-stats {
    display: flex;
    gap: 25px;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

body.dark-mode .project-stats {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--light-text);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: default;
}

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

.stat i {
    color: var(--primary-color);
    font-size: 16px;
    transition: all 0.3s ease;
}

.stat:hover i {
    transform: scale(1.2);
    filter: drop-shadow(0 2px 4px rgba(255, 0, 0, 0.3));
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-card {
        margin: 0 10px;
    }
    
    .project-filters {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .filter-btn {
        width: 200px;
        justify-content: center;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-actions {
        gap: 10px;
    }
    
    .action-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-content {
        padding: 20px;
    }
    
    .project-content h3 {
        font-size: 20px;
    }
    
    .tech-tag {
        font-size: 10px;
        padding: 4px 8px;
    }
}

/* ===== EXPERIENCE SECTION ===== */
.experience {
    background-color: var(--light-bg);
}

.experience-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.experience-tabs .tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

body.dark-mode .experience-tabs .tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.experience-tabs .tab-btn.active,
.experience-tabs .tab-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

.experience-tabs .tab-btn i {
    font-size: 18px;
}

.experience-content .tab-pane {
    max-width: 900px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    height: 100%;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.6s ease forwards;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.4s;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-icon {
    position: absolute;
    left: 15px;
    top: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    z-index: 2;
}

.timeline-item.current .timeline-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 0, 0, 0.6);
    }
}

.timeline-date {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.timeline-date .year {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 16px;
}

.timeline-date .status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-date .status.current {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
}

.timeline-date .status.completed {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.timeline-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

body.dark-mode .timeline-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-card::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.8s ease;
}

.timeline-card:hover::before {
    left: 100%;
}

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

.card-header {
    margin-bottom: 20px;
}

.card-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.institution {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

.institution i {
    font-size: 12px;
}

.card-content p {
    color: var(--light-text);
    line-height: 1.7;
    margin-bottom: 20px;
}

.highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-mode .highlight-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 12px;
}

.achievements {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.achievement {
    text-align: center;
}

.achievement .number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.achievement .label {
    font-size: 12px;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Achievements Grid */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

body.dark-mode .achievement-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.achievement-card::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.8s ease;
}

.achievement-card:hover::before {
    left: 100%;
}

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

.achievement-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--white);
}

.achievement-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.achievement-card p {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

.achievement-date {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

/* Education Journey Styles */
.education-journey {
    max-width: 900px;
    margin: 0 auto;
}

.journey-header {
    text-align: center;
    margin-bottom: 50px;
}

.journey-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
}

.journey-header p {
    color: var(--light-text);
    font-size: 16px;
    margin-bottom: 30px;
}

.journey-progress {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.progress-bar {
    width: 200px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    width: 0;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    animation: progressGlow 2s infinite alternate;
}

@keyframes progressGlow {
    0% { box-shadow: 0 0 5px rgba(255, 0, 0, 0.3); }
    100% { box-shadow: 0 0 15px rgba(255, 0, 0, 0.6); }
}

.progress-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.journey-path {
    position: relative;
    padding: 20px 0;
}

.journey-path::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.journey-milestone {
    position: relative;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    animation: milestoneAppear 0.8s ease forwards;
}

.journey-milestone:nth-child(2) { animation-delay: 0.3s; }
.journey-milestone:nth-child(3) { animation-delay: 0.6s; }

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

.milestone-marker {
    position: absolute;
    left: 35px;
    top: 20px;
    z-index: 3;
}

.marker-ring {
    width: 30px;
    height: 30px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    position: absolute;
    animation: ringPulse 2s infinite;
}

.journey-milestone.current .marker-ring {
    border-color: var(--primary-color);
    animation: currentRingPulse 1.5s infinite;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

@keyframes currentRingPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4); }
    50% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(255, 0, 0, 0); }
}

.marker-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 12px;
    position: relative;
    z-index: 2;
    margin: 3px;
}

.milestone-content {
    margin-left: 100px;
}

.milestone-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.milestone-date {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.milestone-status {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.milestone-status.current {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    animation: statusGlow 2s infinite alternate;
}

.milestone-status.completed {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

@keyframes statusGlow {
    0% { box-shadow: 0 0 5px rgba(255, 0, 0, 0.3); }
    100% { box-shadow: 0 0 15px rgba(255, 0, 0, 0.6); }
}

.milestone-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

body.dark-mode .milestone-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.milestone-card::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.8s ease;
}

.milestone-card:hover::before {
    left: 100%;
}

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

.card-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.card-badge.current {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
}

.card-badge.completed {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.milestone-card h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.institution-info, .location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--light-text);
}

.institution-info {
    font-weight: 600;
    color: var(--primary-color);
}

.institution-info i, .location i {
    font-size: 12px;
}

.journey-description {
    color: var(--light-text);
    line-height: 1.7;
    margin: 20px 0;
    font-size: 15px;
}

.learning-areas {
    margin: 25px 0;
}

.area-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.area-item:last-child {
    border-bottom: none;
}

.area-item i {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 14px;
}

.area-content {
    flex: 1;
}

.area-title {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 2px;
}

.area-desc {
    font-size: 12px;
    color: var(--light-text);
}

.milestone-stats {
    display: flex;
    gap: 30px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-number {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 11px;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.journey-summary {
    margin-top: 50px;
}

.summary-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

body.dark-mode .summary-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.highlight:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.highlight i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
}

.highlight span {
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .journey-path::before {
        left: 20px;
    }
    
    .milestone-marker {
        left: 5px;
    }
    
    .milestone-content {
        margin-left: 70px;
    }
    
    .milestone-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .learning-areas {
        margin: 20px 0;
    }
    
    .area-item {
        padding: 10px 0;
    }
    
    .milestone-stats {
        gap: 20px;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .journey-progress {
        flex-direction: column;
        gap: 10px;
    }
    
    .progress-bar {
        width: 150px;
    }
    
    .timeline {
        padding-left: 20px;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-icon {
        left: 0;
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
    
    .timeline-date {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .highlights {
        gap: 8px;
    }
    
    .highlight-item {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .achievements {
        gap: 20px;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .experience-tabs {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .experience-tabs .tab-btn {
        width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .milestone-card {
        padding: 20px;
    }
    
    .milestone-card h4 {
        font-size: 20px;
    }
    
    .journey-header h3 {
        font-size: 24px;
    }
    
    .milestone-content {
        margin-left: 50px;
    }
    
    .area-item i {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .timeline-card {
        padding: 20px;
    }
    
    .card-header h3 {
        font-size: 20px;
    }
    
    .achievement-card {
        padding: 25px 20px;
    }
    
    .achievement-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* ===== SERVICES SECTION ===== */
.services {
    background-color: var(--bg-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transform: translateZ(30px);
}

.service-icon i {
    font-size: 30px;
    color: var(--white);
}

.service-item:hover .service-icon {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: translateZ(30px) scale(1); }
    50% { transform: translateZ(30px) scale(1.1); }
    100% { transform: translateZ(30px) scale(1); }
}

.service-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
    text-shadow: var(--text-shadow);
}

.service-item p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background-color: var(--light-bg);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin: 20px 10px;
    transition: var(--transition);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.8;
}

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

.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

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

.testimonial-author h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--text-color);
    font-size: 14px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #e9ecef;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background-color: var(--bg-color);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(167, 139, 250, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.contact-icon i {
    font-size: 20px;
    color: var(--primary-color);
}

.contact-text h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
    text-shadow: var(--text-shadow);
}

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

.contact-social h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(167, 139, 250, 0.2);
    border-color: var(--primary-color);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--accent-color);
    padding: 30px 0;
    color: var(--white);
}

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

.footer-links a {
    color: var(--white);
    margin-left: 20px;
    text-decoration: none;
    transition: var(--transition);
}

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

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 992px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-content {
        flex-direction: column;
        padding-top: 70px;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        padding-right: 0;
        margin-bottom: 50px;
        width: 100%;
        text-align: center;
    }
    
    .about-image img {
        max-width: 100%;
        height: auto;
    }
    
    .about-text {
        width: 100%;
        padding: 0;
    }
    
    .about-text h3 {
        font-size: 28px;
        text-align: center;
    }
    
    .personal-info {
        grid-template-columns: 1fr;
    }
    
    .info-item {
        flex-wrap: wrap;
        margin-bottom: 10px;
    }
    
    .info-item span {
        width: 100%;
        margin-bottom: 5px;
        display: block;
    }
    
    .info-item p {
        width: 100%;
    }
    
    .project-filters {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .filter-btn {
        margin-bottom: 10px;
    }
    
    .experience-tabs, .skills-tabs {
        flex-wrap: wrap;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
}

@media screen and (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .theme-toggle {
        width: 40px;
        height: 40px;
        margin-left: 0;
    }
    
    .header-right {
        gap: 15px;
    }


    .theme-toggle i {
        font-size: 16px;
    }
    
    .hero {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .hero-content {
        padding-top: 100px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info {
        margin-bottom: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 20px;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .project-item:hover,
    .service-item:hover {
        transform: translateY(-10px) scale(1.01);
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .mobile-nav {
        width: 100%;
        max-width: 100%;
    }
    
    .mobile-nav ul {
        padding: 20px;
    }
    
    /* Improved touch targets for better accessibility */
    .btn, 
    .filter-btn, 
    .tab-btn, 
    .social-icons a, 
    .project-links a,
    nav a,
    .mobile-nav ul li a,
    .hamburger,
    .theme-toggle,
    .back-to-top {
        min-height: 48px;
        min-width: 48px;
        padding: 12px 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Increase spacing between interactive elements */
    .social-icons {
        gap: 16px;
    }
    
    .project-links a {
        margin-right: 16px;
    }
    
    .filter-btn,
    .tab-btn {
        margin: 8px;
    }
    
    /* Improve form accessibility */
    .form-group input,
    .form-group textarea {
        padding: 16px;
        font-size: 16px; /* Prevent iOS zoom on focus */
    }
    
    /* Improve focus visibility */
    a:focus,
    button:focus,
    input:focus,
    textarea:focus {
        outline: 3px solid var(--primary-color);
        outline-offset: 3px;
    }
    
    /* Ensure all sections have proper spacing from the header */
    section {
        padding-top: 100px;
        padding-bottom: 80px;
    }
    
    /* Adjust scroll behavior for anchor links */
    html {
        scroll-padding-top: 70px; /* This ensures anchors don't scroll under the fixed header */
    }
}

@media screen and (max-width: 576px) {
    .section-header h2 {
        font-size: 28px;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }
    
    .hero-text h2 {
        font-size: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        margin: 10px 0;
        width: 100%;
        max-width: 200px;
    }
    
    .project-filters {
        gap: 5px;
    }
    
    .filter-btn {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .tab-btn {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .skill-info h4 {
        font-size: 14px;
    }
    
    .timeline-date {
        position: relative;
        left: 0;
        top: 0;
        margin-bottom: 10px;
        display: inline-block;
    }
    
    .timeline-content {
        padding-left: 30px;
    }
    
    .timeline-item {
        padding-left: 0;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    /* Additional about section fixes for small screens */
    .about-text h3 {
        font-size: 24px;
        text-align: left;
        word-wrap: break-word;
    }
    
    .about-text p {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .personal-info {
        margin-top: 20px;
    }
    
    .info-item {
        padding: 8px 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .info-item:last-child {
        border-bottom: none;
    }
    
    .about-text .btn {
        width: 100%;
        text-align: center;
    }
}

/* Small mobile devices - improved readability */
@media screen and (max-width: 375px) {
    .container {
        padding: 0 16px;
    }
    
    .section-header h2 {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .hero-text h1 {
        font-size: 30px;
        line-height: 1.2;
    }
    
    .hero-text h2 {
        font-size: 18px;
        line-height: 1.4;
    }
    
    .about-text h3 {
        font-size: 20px;
        line-height: 1.4;
    }
    
    .about-text p {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .info-item span, 
    .info-item p {
        font-size: 14px;
    }
    
    .project-info h3 {
        font-size: 18px;
    }
    
    .service-item h3 {
        font-size: 18px;
    }
    
    .contact-item h3 {
        font-size: 18px;
    }
    
    .social-icons {
        flex-wrap: wrap;
    }
    
    .social-icons a {
        margin-bottom: 10px;
    }
}

/* Scroll Reveal Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Certifications Section */
.certifications {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.certifications-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0 60px;
    flex-wrap: wrap;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 20px 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

body.dark-mode .stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card::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.8s ease;
}

.stat-card:hover::before {
    left: 100%;
}

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

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

    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.stat-content {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--light-text);
    font-weight: 500;
    margin-top: 4px;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.certification-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

body.dark-mode .certification-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.certification-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.certification-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.2);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px 0;
}

.provider-logo {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
}

.provider-logo.google {
    color: #4285F4;
}

.provider-logo.meta {
    color: #1877F2;
}

.certification-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.certification-badge.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
}

.certification-badge:not(.featured) {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.certification-image {
    position: relative;
    height: 200px;
    margin: 15px 25px 0;
    border-radius: 15px;
    overflow: hidden;
}

.certification-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.certification-card:hover .certification-image img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.8), rgba(153, 0, 0, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.certification-card:hover .image-overlay {
    opacity: 1;
}

.overlay-actions {
    display: flex;
    gap: 15px;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.overlay-actions .action-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-actions .action-btn:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: scale(1.1);
}

.certification-content {
    padding: 25px;
}

.provider-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.provider-name {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14px;
}

.verification-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
}

.verification-status.verified {
    color: #4CAF50;
}

.verification-status i {
    font-size: 14px;
}

.certification-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.3;
}

.certification-content p {
    color: var(--light-text);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.skills-covered {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.skill-tag {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

body.dark-mode .skill-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.certification-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    color: var(--light-text);
}

.completion-date, .duration {
    display: flex;
    align-items: center;
    gap: 6px;
}

.completion-date i, .duration i {
    color: var(--primary-color);
    font-size: 11px;
}

/* Media Queries for Certifications */
@media (max-width: 768px) {
    .certifications-stats {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .stat-card {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .certification-card {
        margin: 0 10px;
    }
    
    .certification-image {
        height: 180px;
        margin: 15px 20px 0;
    }
    
    .certification-content {
        padding: 20px;
    }
    
    .card-header {
        padding: 15px 20px 0;
    }
    
    .overlay-actions {
        gap: 10px;
    }
    
    .overlay-actions .action-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .certification-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .skills-covered {
        gap: 6px;
    }
    
    .skill-tag {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .certification-content h3 {
        font-size: 18px;
    }
}

/* Background Overlay */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.bg-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1), rgba(153, 0, 0, 0.1));
    z-index: 2;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    filter: blur(10px);
    transform: scale(1.1);
    z-index: 1;
}

.bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.bg-image.active {
    opacity: 1;
}

/* Update glass effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
}

/* Dark mode adjustments */
body.dark-mode .glass-effect {
    background: rgba(20, 20, 20, 0.85);
}

body.dark-mode .bg-overlay::before {
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.25), rgba(153, 0, 0, 0.15));
}

/* Enhanced typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: var(--text-shadow);
}

/* Hero section enhancements */
.hero-text h2 {
    font-size: 26px;
    font-weight: 600;
    color: var(--text-color);
    text-shadow: var(--text-shadow);
    letter-spacing: -0.5px;
}

.hero-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    font-weight: 500;
}

/* Section headers enhancement */
.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: capitalize;
    text-shadow: var(--text-shadow);
}

.section-header p {
    font-size: 18px;
    color: var(--text-color);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Timeline content enhancement */
.timeline-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
    text-shadow: var(--text-shadow);
}

.timeline-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    letter-spacing: 0.2px;
}

/* Project info enhancement */
.project-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
    text-shadow: var(--text-shadow);
}

/* Dark mode enhancements */
body.dark-mode {
    --text-color: #ffffff;
    --light-text: #e0e0e0;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
    text-shadow: var(--text-shadow-dark);
}

/* Glass effect text enhancement */
.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

body.dark-mode .glass-effect {
    background: rgba(20, 20, 20, 0.85);
}

/* Service items enhancement */
.service-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
    text-shadow: var(--text-shadow);
}

.service-item p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
}

/* About section enhancement */
.about-text h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
    text-shadow: var(--text-shadow);
}

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

/* Navigation enhancement */
.desktop-nav ul li a {
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 14px;
}

/* Logo enhancement */
.logo a {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: var(--text-shadow);
}

/* Button text enhancement */
.btn {
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 14px;
}



/* Contact section enhancement */
.contact-text h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
    text-shadow: var(--text-shadow);
}

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

/* Background text contrast enhancement */
.bg-image {
    filter: blur(10px);
}

.bg-image img {
    opacity: 0.4;
}

/* Certification section enhancement */
.certification-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
    text-shadow: var(--text-shadow);
}

.certification-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    letter-spacing: 0.2px;
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-image img,
    .hero-image::after,
    .scroll-down,
    .service-icon,
    .project-item,
    .service-item,
    .timeline-content,
    .about-image img,
    .btn::before,
    .certification-item,
    .back-to-top {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
    
    .skill-progress {
        animation: none !important;
    }
    
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #cc0000;
        --secondary-color: #990000;
        --accent-color: #770000;
        --text-color: #000000;
        --light-text: #222222;
        --dark-text: #ffffff;
        --dark-light-text: #ffffff;
        --shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        --text-shadow: none;
        --text-shadow-dark: none;
    }
    
    body {
        background-color: #ffffff;
    }
    
    body.dark-mode {
        background-color: #000000;
    }
    
    .glass-effect {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: none;
    }
    
    body.dark-mode .glass-effect {
        background: rgba(0, 0, 0, 0.95);
    }
    
    .btn, 
    .filter-btn, 
    .tab-btn {
        border: 2px solid currentColor;
    }
    
    .desktop-nav ul li a::after {
        height: 3px;
    }
    
    .skill-bar {
        border: 1px solid #000000;
    }
    
    body.dark-mode .skill-bar {
        border: 1px solid #ffffff;
    }
}

/* Improved Dark Mode */
@media (prefers-color-scheme: dark) {
    body:not(.light-mode) {
        --bg-color: var(--dark-bg);
        --text-color: var(--dark-text);
        --light-text: var(--dark-light-text);
        --card-bg: var(--dark-card);
        --shadow: var(--dark-shadow);
        background-color: var(--dark-bg);
        color: var(--dark-text);
        --glass-bg: rgba(30, 30, 30, 0.8);
        --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Focus visibility for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.btn:focus-visible,
.filter-btn:focus-visible,
.tab-btn:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.3);
}

/* Skip to content link for keyboard users */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    z-index: 1001;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 0;
}

/* Fix for header covering content on mobile */
main {
    padding-top: 20px;
}

#main-content {
    scroll-margin-top: 80px; /* Ensures that when navigating to anchors, content isn't hidden under the header */
}

@media screen and (max-width: 768px) {
    #main-content {
        scroll-margin-top: 60px;
    }
    
    /* Adjust section padding for better mobile spacing */
    section {
        padding: 80px 0;
    }
    
    /* Ensure the hero section has enough space at the top */
    .hero {
        padding-top: 60px;
    }
}

/* Mobile header and content fixes */
@media screen and (max-width: 768px) {
    header {
        padding: 10px 0;
    }
    
    .logo a {
        font-size: 24px; /* Smaller logo on mobile */
    }
    
    /* Adjust first section to account for fixed header */
    #home {
        margin-top: 60px;
    }
    
    /* Ensure all anchor links account for fixed header */
    :target {
        scroll-margin-top: 70px;
    }
    
    /* Adjust all section IDs to account for fixed header */
    #about, #skills, #projects, #experience, #certifications, #services, #contact {
        scroll-margin-top: 70px;
    }
} 