/* ========================================
   Color Variables - Blue-Black & Orange Theme
   ======================================== */
:root {
    /* Primary Colors */
    --primary-color: #FF6B35;
    --primary-dark: #E55A2B;
    --primary-light: #FF8C5A;
    
    /* Secondary Colors */
    --secondary-color: #0A1931;
    --secondary-dark: #050D1A;
    --secondary-light: #1A2F4F;
    
    /* Accent Colors */
    --accent-blue: #185ADB;
    --accent-dark-blue: #0F3D7F;
    --accent-light-blue: #2E7EE5;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --gray: #6C757D;
    --dark-gray: #343A40;
    --black: #000000;
    
    /* Background Colors */
    --bg-primary: #0A1931;
    --bg-secondary: #0F1F38;
    --bg-light: #1A2F4F;
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #B8C5D6;
    --text-muted: #7A8BA0;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #FF8C5A 100%);
    --gradient-secondary: linear-gradient(135deg, #185ADB 0%, #0F3D7F 100%);
    --gradient-dark: linear-gradient(135deg, #0A1931 0%, #1A2F4F 100%);
    --gradient-hero: linear-gradient(135deg, #0A1931 0%, #1A2F4F 50%, #0F3D7F 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.4);
    --glow-orange: 0 0 20px rgba(255, 107, 53, 0.5);
    --glow-blue: 0 0 20px rgba(24, 90, 219, 0.5);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
}

/* Dark Theme Variables */
body.dark-theme {
    --bg-primary: #0A1931;
    --bg-secondary: #0F1F38;
    --text-primary: #FFFFFF;
    --text-secondary: #B8C5D6;
}

/* Light Theme Variables */
body.light-theme {
    --bg-primary: #F8F9FA;
    --bg-secondary: #FFFFFF;
    --text-primary: #0A1931;
    --text-secondary: #343A40;
    --shadow-md: 0 4px 16px rgba(10, 25, 49, 0.1);
}

/* ========================================
   Global Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', 'Roboto', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ========================================
   Preloader
   ======================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-container {
    text-align: center;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 107, 53, 0.2);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-container p {
    color: var(--text-secondary);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 25, 49, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 1000;
    transition: all var(--transition-normal);
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: var(--shadow-lg);
    border-bottom-color: rgba(255, 107, 53, 0.3);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 700;
}

.logo i {
    font-size: 28px;
    color: var(--primary-color);
    animation: pulse 2s infinite;
}

.logo .highlight {
    color: var(--primary-color);
}

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

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

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.theme-toggle:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(180deg);
    box-shadow: var(--glow-orange);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition-normal);
    border-radius: 3px;
}

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

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

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

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 150px 0 100px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wave {
    animation: wave 2s infinite;
    display: inline-block;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
}

.hero-title {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-roles {
    margin-bottom: 25px;
}

.typing-text {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-secondary);
}

.cursor {
    animation: blink 1s infinite;
    color: var(--primary-color);
}

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

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

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left var(--transition-normal);
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--glow-orange);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-telegram {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-telegram:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--glow-blue);
}

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

.social-links a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    transition: all var(--transition-normal);
    position: relative;
}

.social-links a::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.social-links a:hover::after {
    opacity: 1;
    bottom: -45px;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: var(--glow-orange);
}

.hero-image {
    animation: fadeInRight 1s ease;
}

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

.glow-effect {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s infinite;
}

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

.profile-card {
    position: relative;
    width: 350px;
    height: 350px;
    background: var(--gradient-dark);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    border: 2px solid rgba(255, 107, 53, 0.3);
}

.profile-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    color: var(--white);
    box-shadow: var(--glow-orange);
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-icons i {
    position: absolute;
    font-size: 30px;
    color: var(--primary-color);
    animation: float 3s infinite;
}

.icon-1 { top: 10%; left: 10%; animation-delay: 0s; }
.icon-2 { top: 10%; right: 10%; animation-delay: 0.5s; }
.icon-3 { bottom: 10%; left: 10%; animation-delay: 1s; }
.icon-4 { bottom: 10%; right: 10%; animation-delay: 1.5s; }
.icon-5 { top: 50%; left: 0%; animation-delay: 2s; }
.icon-6 { top: 50%; right: 0%; animation-delay: 2.5s; }

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 5px;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    width: 3px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 3px;
}

.scroll-indicator span:nth-child(2) {
    opacity: 0.7;
}

.scroll-indicator span:nth-child(3) {
    opacity: 0.4;
}

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

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

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

/* ========================================
   Section Styles
   ======================================== */
section {
    padding: var(--section-padding);
    position: relative;
}

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

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

.section-title {
    font-size: 45px;
    font-weight: 800;
    margin-bottom: 20px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

.highlight {
    color: var(--primary-color);
}

/* ========================================
   About Section
   ======================================== */
.about {
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.about-image .image-wrapper {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 450px;
    background: var(--gradient-dark);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 150px;
    color: var(--primary-color);
    box-shadow: var(--shadow-xl);
    border: 3px solid rgba(255, 107, 53, 0.3);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-primary);
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg), var(--glow-orange);
    animation: float 3s infinite;
}

.badge-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
}

.badge-text {
    display: block;
    font-size: 14px;
    color: var(--white);
    font-weight: 500;
}

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

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-primary);
    border-radius: 15px;
    border: 2px solid rgba(255, 107, 53, 0.2);
    transition: var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

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

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

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

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

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

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

/* ========================================
   Experience Section
   ======================================== */
.experience {
    background: var(--bg-primary);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--gradient-primary);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 1;
    grid-row: 1;
}

.timeline-item:nth-child(even) .timeline-icon {
    grid-column: 2;
}

.timeline-icon {
    grid-column: 2;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--white);
    box-shadow: var(--shadow-lg), var(--glow-orange);
    z-index: 2;
    position: relative;
}

.timeline-content {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(255, 107, 53, 0.2);
    transition: var(--transition-normal);
}

.timeline-content:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.timeline-content h3 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 5px;
}

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

.timeline-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
    background: var(--bg-primary);
    padding: 8px 15px;
    border-radius: 20px;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

/* ========================================
   Education Section
   ======================================== */
.education {
    background: var(--bg-secondary);
}

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

.education-card {
    background: var(--bg-primary);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(255, 107, 53, 0.2);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    transition: left var(--transition-slow);
}

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

.education-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.education-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    color: var(--white);
    box-shadow: var(--glow-orange);
}

.education-content h3 {
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.education-content h4 {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.education-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 15px;
}

.education-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 15px;
}

/* ========================================
   Projects Section
   ======================================== */
.projects {
    background: var(--bg-primary);
}

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

.project-card {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid rgba(255, 107, 53, 0.2);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-slow);
}

.project-card:hover::before {
    opacity: 1;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.project-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
    margin-bottom: 25px;
    box-shadow: var(--glow-orange);
}

.project-content h3 {
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.project-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ========================================
   Skills Section
   ======================================== */
.skills {
    background: var(--bg-secondary);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.skills-category {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid rgba(255, 107, 53, 0.2);
    transition: var(--transition-normal);
}

.skills-category:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.category-header i {
    font-size: 42px;
    color: var(--primary-color);
}

.category-header h3 {
    font-size: 24px;
    color: var(--text-primary);
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: var(--transition-normal);
}

.skill-item:hover {
    background: rgba(255, 107, 53, 0.05);
    border-color: var(--primary-color);
    transform: translateX(10px);
}

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

.skill-item span {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
}

/* ========================================
   Certifications Section
   ======================================== */
.certifications {
    background: var(--bg-primary);
}

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

.cert-card {
    background: var(--bg-secondary);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(255, 107, 53, 0.2);
    transition: var(--transition-normal);
}

.cert-card:hover {
    transform: rotateY(10deg) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.cert-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--white);
    box-shadow: var(--glow-orange);
}

.cert-card h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.cert-card p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 15px;
}

.cert-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
    background: var(--bg-primary);
    padding: 8px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.cert-description {
    font-style: italic;
    font-size: 14px !important;
    margin-top: 15px !important;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

.contact-items {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    box-shadow: var(--glow-orange);
}

.contact-details h4 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.contact-details p,
.contact-details a {
    color: var(--text-secondary);
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

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

.social-links-contact a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    transition: var(--transition-normal);
}

.social-links-contact a:hover {
    transform: translateY(-5px) rotate(360deg);
    box-shadow: var(--glow-orange);
}

.contact-form {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid rgba(255, 107, 53, 0.2);
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: var(--bg-secondary);
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--bg-secondary);
    padding: 60px 0 30px;
    border-top: 2px solid rgba(255, 107, 53, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 26px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    transition: var(--transition-normal);
}

.footer-social a:hover {
    transform: translateY(-5px) rotate(360deg);
    box-shadow: var(--glow-orange);
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.footer-section ul li i {
    color: var(--primary-color);
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 107, 53, 0.1);
    color: var(--text-muted);
    font-size: 14px;
}

.footer-bottom i {
    color: var(--primary-color);
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1); }
}

/* ========================================
   Back to Top Button
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-orange);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 40px;
    }
    
    .timeline-item {
        grid-template-columns: 80px 1fr;
        gap: 30px;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        grid-column: 2;
    }
    
    .timeline-icon {
        grid-column: 1;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 25, 49, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: left var(--transition-normal);
        box-shadow: var(--shadow-xl);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .typing-text {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .profile-card {
        width: 300px;
        height: 300px;
    }
    
    .profile-avatar {
        width: 150px;
        height: 150px;
        font-size: 80px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .skills-list {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .typing-text {
        font-size: 20px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .profile-card {
        width: 250px;
        height: 250px;
    }
    
    .profile-avatar {
        width: 120px;
        height: 120px;
        font-size: 60px;
    }
    
    .floating-icons i {
        font-size: 20px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        grid-template-columns: 60px 1fr;
        gap: 20px;
    }
    
    .timeline-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

/* ========================================
   Particle Animation
   ======================================== */
.hero-particles {
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 107, 53, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(24, 90, 219, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 107, 53, 0.2), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(24, 90, 219, 0.2), transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    animation: particleMove 20s ease infinite;
}

@keyframes particleMove {
    0%, 100% { background-position: 0% 0%; }
    25% { background-position: 100% 0%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
}

/* ========================================
   Custom Animations
   ======================================== */
[data-aos] {
    pointer-events: auto;
}

.aos-animate {
    pointer-events: auto;
}

/* Print Styles */
@media print {
    .navbar,
    .hamburger,
    .theme-toggle,
    .back-to-top,
    .scroll-indicator,
    #preloader {
        display: none !important;
    }
    
    section {
        page-break-inside: avoid;
    }
}

