/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0270ff;
    --secondary-color: #01afff;
    --accent-color: #10b981;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 10px 25px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #0b79f8 0%, #3cb1ff 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Dark mode variables */
[data-theme="dark"] {
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-dark: #030712;
    --border-color: #374151;
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-heavy: 0 10px 25px rgba(0, 0, 0, 0.5);
    --gradient-primary: linear-gradient(135deg, #0f3994 0%, #65aef1 100%);
    --gradient-secondary: linear-gradient(135deg, #699eec 0%, #18d8f1 100%);
    --glass-bg: rgba(31, 41, 55, 0.4);
    --glass-border: rgba(156, 163, 175, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: all 0.3s ease;
}

/* Simple Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.5s ease;
}

[data-theme="dark"] .page-loader {
    background: var(--bg-primary);
}

.page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    aspect-ratio: 1;
    display: grid;
    border: 4px solid #0000;
    border-radius: 50%;
    border-color: #6366f1 #0000;
    animation: l16 1s infinite linear;
}

.loader::before,
.loader::after {    
    content: "";
    grid-area: 1/1;
    margin: 2px;
    border: inherit;
    border-radius: 50%;
}

.loader::before {
    border-color: #0b84f5 #7ec1ff00;
    animation: inherit; 
    animation-duration: .5s;
    animation-direction: reverse;
}

.loader::after {
    margin: 8px;
}

@keyframes l16 { 
    100%{transform: rotate(1turn)}
}

/* Dark theme loader colors */
[data-theme="dark"] .loader {
    border-color: #0077ff #00a2ff00;
}

[data-theme="dark"] .loader::before {
    border-color: #00b7ff #04d9ff00;
}

/* Hide main content during loading */
body.loading .navbar,
body.loading .hero,
body.loading .about,
body.loading .skills,
body.loading .projects,
body.loading .certifications,
body.loading .contact,
body.loading .footer {
    opacity: 0;
    pointer-events: none;
}

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

/* Glass Effect Base Class */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.5);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .navbar {
    background: rgba(31, 41, 55, 0.1);
    border-bottom: 1px solid rgba(156, 163, 175, 0.2);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(31, 41, 55, 0.95);
    border-bottom: 1px solid var(--border-color);
}

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

.nav-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
        background: linear-gradient(-45deg, #003cff, #0075a3, #04eaff, #021e4e);

    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoGradient 3s ease infinite, logoFloat 2s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.nav-logo .logo-text:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
}

[data-theme="dark"] .nav-logo .logo-text {
   background: linear-gradient(45deg, #80dbff, #f7f9ff, #1db7ff, #06a3ec);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoGradient 3s ease infinite, logoFloat 2s ease-in-out infinite;
}

[data-theme="dark"] .nav-logo .logo-text:hover {
    filter: drop-shadow(0 0 10px rgba(129, 140, 248, 0.5));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

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

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

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
    font-size: 1rem;
}

.theme-toggle:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: var(--glass-shadow);
}

.theme-toggle.rotating {
    animation: rotateIcon 0.6s ease-in-out;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 20px 50px;
    background: linear-gradient(-45deg, #01d0ff, #dbdbdb, #cdcdcdb0, #2ac3ff);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-content {
    max-width: 1350px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: rgb(1, 1, 1);
    animation: slideInLeft 1s ease-out;
}

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

.greeting {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
}

.name {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(-45deg, #003cff, #0075a3, #04eaff, #021e4e);
    background-size: 300% 300%;
    animation: gradient 8s ease infinite, textPulse 2s infinite alternate;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    min-height: 2rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Typing Animation */
.typing-text {
    display: inline-block;
    min-height: 2.5rem;
    font-weight: 800;
    color: #0094b9;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    font-size: inherit;
}

.typing-cursor {
    display: inline-block;
    background: #002d80;
    width: 3px;
    height: 1.2em;
    animation: typingCursor 1s infinite;
    margin-left: 3px;
    border-radius: 1px;
}

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

@keyframes textShimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes cursorGlow {
    0% {
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
        transform: scaleY(1);
    }
    100% {
        box-shadow: 0 0 15px rgba(59, 130, 246, 0.9);
        transform: scaleY(1.1);
    }
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.social-links-hero {
    display: flex;
    gap: 1rem;
}

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

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out;
    position: relative;
    height: 600px;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
}

.hero-image .animation-section {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-image .lottie-animation {
    width: 100%;
    height: 100%;
    z-index: 10;
    position: relative;
    top: 0;
}

.hero-image .profile-image {
    border-radius: 100%;
    width: 60%;
    height: 70%;
    object-fit: cover;
    position: absolute;
    top: 80px;
    left: 20%;
    z-index: 1;
}



.animation-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.animation-background dotlottie-wc {
    filter: hue-rotate(240deg) saturate(0.7);
}

.img-placeholder {
    font-size: 4rem;
    color: white;
    opacity: 0.7;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    animation: floatingIcon 4s ease-in-out infinite;
    animation-delay: var(--delay);
    box-shadow: var(--glass-shadow);
}

.floating-icon:nth-child(1) {
    top: 20px;
    right: 20px;
}

.floating-icon:nth-child(2) {
    bottom: 20px;
    left: 20px;
}

.floating-icon:nth-child(3) {
    top: 50%;
    left: -25px;
}

.floating-icon:nth-child(4) {
    top: 50%;
    right: -25px;
}

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

.scroll-arrow {
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

#contact .section-title {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

[data-theme="dark"] #contact .section-title {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

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

[data-theme="dark"] .about {
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.02);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.about-timeline {
    position: relative;
}

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

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: var(--shadow-light);
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px) scale(1.02);
}

.skill-category h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.3rem;
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-item:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.skill-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.skill-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Certifications Section */
.certifications {
    background: var(--bg-secondary);
    position: relative;
}

[data-theme="dark"] .certifications {
    background: var(--bg-secondary);
}
[data-theme="dark"] .name {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(-45deg, #004cff, #ffffff, #0c9eff, #ffffff);
    background-size: 300% 300%;
    animation: gradient 8s ease infinite, textPulse 2s infinite alternate;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
[data-theme="dark"] .hero-text {
    color: var(--text-primary);
}

/* Enhanced typing animation for dark theme */
[data-theme="dark"] .typing-text {
    color: #ffffff !important;
    background: linear-gradient(45deg, #fffb04, #fae360, #fbbf24, #dfe5ff);
    background-size: 300% 300%;
    animation: textShimmer 3s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .typing-cursor {
    background: linear-gradient(45deg, #fa9860, #fbbf24) !important;
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.5);
    animation: typingCursor 1s infinite, cursorGlow 2s ease-in-out infinite alternate;
}
.certifications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    pointer-events: none;
}

[data-theme="dark"] .certifications::before {
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.2) 0%, rgba(245, 158, 11, 0.2) 100%);
}

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

.cert-card {
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.cert-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.cert-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.cert-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.cert-date {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.achievements {
    margin-top: 3rem;
}

.achievements h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

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

.achievement-item {
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
}

.achievement-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    min-width: 50px;
}

.achievement-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.achievement-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

[data-theme="dark"] .projects {
    background: var(--bg-secondary);
}

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

.project-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px 0 rgba(31, 38, 135, 0.5);
}

.project-image {
    height: 200px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

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

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

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    color: var(--primary-color);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.project-link:hover {
    transform: scale(1.1);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech span {
    padding: 0.3rem 0.8rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact {
    position: relative;
}

[data-theme="dark"] .contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
}

[data-theme="dark"] .contact-item {
    background: rgba(31, 41, 55, 0.6);
    border-color: rgba(75, 85, 99, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

.contact-item:hover {
    transform: translateY(-3px) scale(1.02);
}

[data-theme="dark"] .contact-item:hover {
    background: rgba(31, 41, 55, 0.8);
    border-color: rgba(75, 85, 99, 0.5);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

[data-theme="dark"] .contact-item i {
    color: #3b82f6;
    background: rgba(17, 24, 39, 0.7);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
}

[data-theme="dark"] .contact-form {
    background: rgba(31, 41, 55, 0.6);
    border-color: rgba(75, 85, 99, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background-color: rgba(17, 24, 39, 0.7);
    border-color: rgba(75, 85, 99, 0.5);
    color: #f9fafb;
}

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

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
    box-shadow: 0 0 0 3px rgba(2, 112, 255, 0.3);
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    width: 30%;
    margin-top: 1rem;
}

[data-theme="dark"] .contact-form .btn-primary {
    background: #3b82f6;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(2, 112, 255, 0.4);
}

[data-theme="dark"] .contact-form .btn-primary:hover {
    background: #2563eb;
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.5);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 2rem 0;
}

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

.footer .social-links {
    display: flex;
    gap: 1rem;
}

.footer .social-link {
    color: white;
}

.footer .social-link:hover {
    color: var(--primary-color);
}

/* Enhanced Animations */
@keyframes logoGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

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

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes floatingIcon {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(180deg);
    }
}

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

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

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

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

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

@keyframes textPulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.02);
    }
}

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

@keyframes rotateIcon {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes glassShimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(99, 102, 241, 0);
    }
}

/* Glass shimmer effect */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -200px;
    width: 200px;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: glassShimmer 3s infinite;
    pointer-events: none;
}

/* Particle effect for hero section */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px, 60px 60px;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

[data-theme="dark"] .hero {
    background: linear-gradient(-45deg, #07b9ff, #000000, #000000, #028bf3cb);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

[data-theme="dark"] .hero::before {
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
}

/* Responsive Typography */
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.6;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

/* Responsive Grid Improvements */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    gap: 2rem;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.achievement-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    gap: 1.5rem;
}

/* Enhanced button effects */
.btn {
    position: relative;
    overflow: hidden;
}

.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;
}

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

/* Responsive Utilities */
.text-responsive {
    font-size: clamp(0.875rem, 2.5vw, 1.125rem);
}

.container-fluid {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Images */
.hero-image img,
.animation-background dotlottie-wc {
    max-width: 100%;
    height: auto;
}

/* Responsive Tables */
@media (max-width: 768px) {
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .skill-item:hover,
    .project-card:hover,
    .glass-card:hover {
        transform: none;
    }
    
    .skill-item:active,
    .project-card:active,
    .glass-card:active {
        transform: translateY(-2px) scale(1.01);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .btn:hover::before {
        left: 0;
    }
}

/* Landscape phone adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 60px 20px 30px;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        text-align: left;
    }
    
    .hero-image {
        height: 280px;
        order: 1;
    }
    
    .hero-image .profile-image {
        width: 45%;
        height: 50%;
        top: 70px;
        left: 27%;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .name {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        margin-bottom: 1rem;
    }
    
    .social-links-hero {
        margin-bottom: 0.5rem;
    }
    
    section {
        padding: 40px 0;
    }
}

/* High DPI display adjustments */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero::before {
        background-size: 30px 30px;
    }
    
    .tech-icon-orbital {
        box-shadow: 0 0 10px rgba(91, 55, 235, 0.4);
    }
    
    .profile-img-container {
        box-shadow: 0 0 20px rgba(91, 55, 235, 0.6);
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero::after,
    .glass-card::before {
        animation: none;
    }
    
    .orbital-ring,
    .tech-icon-orbital,
    .profile-glow {
        animation: none;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-buttons,
    .social-links-hero,
    .social-links,
    .contact-form,
    .btn,
    .theme-toggle,
    .hamburger {
        display: none !important;
    }
    
    .hero {
        background: white !important;
        color: black !important;
        min-height: auto;
        padding: 20px 0;
    }
    
    .hero-text {
        color: black !important;
    }
    
    .name {
        background: none !important;
        -webkit-text-fill-color: black !important;
        color: black !important;
    }
    
    section {
        padding: 20px 0;
        break-inside: avoid;
    }
    
    .glass-card {
        background: white !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 900px;
    }
    
    .hero-content {
        gap: 4rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .name {
        font-size: 3.5rem;
    }
    
    .about-content {
        gap: 3rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
        padding: 0 15px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-image {
        height: 500px;
        margin: 0 auto;
        max-width: 500px;
    }
    
    .hero-image .profile-image {
        width: 55%;
        height: 60%;
        top: 100px;
        left: 22.5%;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .name {
        font-size: 3.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1rem;
        max-width: 600px;
        margin: 0 auto 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .certifications-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
    
    .achievement-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-image {
        height: 500px;
    }
    
    .profile-container {
        width: 500px;
        height: 500px;
    }
    
    .orbital-ring {
        width: 400px;
        height: 400px;
    }
    
    .profile-img-container {
        width: 250px;
        height: 250px;
    }
    
    .tech-icon-orbital {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .animation-background dotlottie-wc {
        width: 500px !important;
        height: 500px !important;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid var(--glass-border);
        border-top: none;
        flex-direction: column;
        padding: 1rem 0;
        border-radius: 0 0 16px 16px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }

    .nav-controls {
        gap: 0.5rem;
    }

    .theme-toggle {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .hamburger {
        display: flex;
    }

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

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

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

    .container {
        max-width: 540px;
        padding: 0 15px;
    }

    .hero {
        padding: 90px 15px 40px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .hero-image {
        height: 450px;
        order: -1;
    }

    .hero-image .profile-image {
        width: 50%;
        height: 60%;
        top: 90px;
        left: 25%;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .name {
        font-size: 2.4rem !important;
    }
    
    .greeting {
        font-size: 1.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        max-width: 500px;
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .btn {
        width: 80%;
        max-width: 250px;
        justify-content: center;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-items {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.8rem;
    }
    
    .skill-item {
        padding: 0.8rem;
    }
    
    .skill-item i {
        font-size: 1.8rem;
    }
    
    .skill-item span {
        font-size: 0.8rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-item {
        padding: 1.2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-text p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cert-card {
        padding: 1.5rem;
    }
    
    .cert-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .achievement-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .achievement-item {
        padding: 1.2rem;
    }
    
    .achievement-item i {
        font-size: 1.8rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-content {
        padding: 1.2rem;
    }
    
    .project-content h3 {
        font-size: 1.2rem;
    }
    
    .project-tech span {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    section {
        padding: 80px 0;
    }

    .hero-image {
        height: 400px;
    }

    .profile-container {
        width: 400px;
        height: 400px;
    }

    .orbital-ring {
        width: 350px;
        height: 350px;
    }

    .profile-img-container {
        width: 200px;
        height: 200px;
    }

    .tech-icon-orbital {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .animation-background dotlottie-wc {
        width: 400px !important;
        height: 400px !important;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 12px;
    }

    .hero {
        padding: 80px 12px 30px;
        min-height: 90vh;
    }
    
    .hero-content {
        gap: 2rem;
    }

    .hero-image {
        height: 350px;
    }

    .hero-image .profile-image {
        width: 55%;
        height: 60%;
        top: 80px;
        left: 22%;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .name {
        font-size: 2.3rem;
    }
    
    .greeting {
        font-size: 1.1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }

    .hero-buttons {
        gap: 0.6rem;
    }
    
    .btn {
        width: 90%;
        max-width: 200px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .social-links-hero {
        gap: 0.8rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .nav-container {
        padding: 0 12px;
        height: 60px;
    }
    
    .nav-logo .logo-text {
        font-size: 1.2rem;
    }
    
    .theme-toggle {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .hamburger span {
        width: 20px;
    }

    .about-stats {
        gap: 0.8rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }

    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-item::before {
        width: 16px;
        height: 16px;
        left: 8px;
    }
    
    .timeline-date {
        font-size: 0.8rem;
    }
    
    .timeline-content h3 {
        font-size: 1rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }

    .skill-category {
        padding: 1.5rem;
    }
    
    .skill-category h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .skill-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    
    .skill-item {
        padding: 0.6rem;
    }
    
    .skill-item i {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }
    
    .skill-item span {
        font-size: 0.75rem;
    }

    .contact-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item i {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-form {
        padding: 1.2rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .cert-card {
        padding: 1.2rem;
    }
    
    .cert-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .cert-content h3 {
        font-size: 1rem;
    }
    
    .cert-content p {
        font-size: 0.9rem;
    }
    
    .cert-date {
        font-size: 0.8rem;
        padding: 0.2rem 0.8rem;
    }

    .achievement-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .achievement-item i {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .achievement-item h4 {
        font-size: 1rem;
    }
    
    .achievement-item p {
        font-size: 0.85rem;
    }

    .project-content {
        padding: 1rem;
    }
    
    .project-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .project-content p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .project-tech {
        gap: 0.3rem;
    }
    
    .project-tech span {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
    
    .project-links {
        gap: 0.8rem;
    }
    
    .project-link {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .section-title::after {
        width: 40px;
        height: 3px;
    }
    
    section {
        padding: 60px 0;
    }

    .footer {
        padding: 1.5rem 0;
    }
    
    .footer-content {
        gap: 0.8rem;
    }
    
    .footer-text p {
        font-size: 0.8rem;
    }
    
    .footer .social-links {
        gap: 0.8rem;
    }
    
    .footer .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .hero-image {
        height: 350px;
    }

    .profile-container {
        width: 300px;
        height: 300px;
    }

    .orbital-ring {
        width: 250px;
        height: 250px;
    }

    .profile-img-container {
        width: 150px;
        height: 150px;
    }

    .tech-icon-orbital {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .aws, .python {
        top: -18px;
        bottom: -18px;
    }

    .react, .js {
        right: -18px;
        left: -18px;
    }

    .animation-background dotlottie-wc {
        width: 300px !important;
        height: 300px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .hero {
        padding: 75px 10px 25px;
    }
    
    .hero-image {
        height: 300px;
    }
    .lottie-animation {
        width: 100%;
        height: 100%;
        max-width: 300px;
        max-height: 300px;
        margin: 0 auto;
    }
    .hero-image .profile-image {
        width: 50%;
        height: 60%;
        top: 50px;
        left: 25%;
    }
    
    .hero-title {
        font-size: 1rem;
    }
    
    .name {
        font-size: 2rem !important;
    }
    
    .greeting {
        font-size: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }

    .nav-container {
        padding: 0 10px;
        height: 55px;
    }
    
    .nav-logo .logo-text {
        font-size: 1.1rem;
    }

    .btn {
        width: 100%;
        max-width: 180px;
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .skill-items {
        grid-template-columns: 1fr;
    }
    
    .skill-item {
        padding: 0.5rem;
    }

    .contact-item {
        padding: 0.8rem;
    }
    
    .contact-form {
        padding: 1rem;
    }

    .cert-card {
        padding: 1rem;
    }
    
    .cert-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .achievement-item {
        padding: 0.8rem;
    }

    .project-content {
        padding: 0.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }
    
    section {
        padding: 50px 0;
    }

    .hero-image {
        height: 280px;
    }

    .profile-container {
        width: 250px;
        height: 250px;
    }

    .orbital-ring {
        width: 200px;
        height: 200px;
    }

    .profile-img-container {
        width: 120px;
        height: 120px;
    }

    .tech-icon-orbital {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .animation-background dotlottie-wc {
        width: 250px !important;
        height: 250px !important;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 8px;
    }

    .hero {
        padding: 70px 8px 20px;
    }
    
    .hero-image {
        height: 240px;
    }

     .lottie-animation {
        width: 100%;
        height: 100%;
        max-width: 300px;
        max-height: 300px;
        margin: 0 auto;
    }
    .hero-image .profile-image {
        width: 50%;
        height: 60%;
        top: 50px;
        left: 25%;
    }
    
    .hero-title {
        font-size: 1rem;
    }
    
    .name {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-description {
        font-size: 0.8rem;
    }

    .nav-container {
        padding: 0 8px;
    }

    .btn {
        max-width: 160px;
        padding: 7px 14px;
        font-size: 0.8rem;
    }

    .social-link {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .skill-category {
        padding: 1rem;
    }

    .contact-item {
        padding: 0.6rem;
    }

    .cert-card {
        padding: 0.8rem;
    }

    .achievement-item {
        padding: 0.6rem;
    }

    .project-content {
        padding: 0.6rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .hero-image {
        height: 220px;
    }

    .profile-container {
        width: 200px;
        height: 200px;
    }

    .orbital-ring {
        width: 160px;
        height: 160px;
    }

    .profile-img-container {
        width: 100px;
        height: 100px;
    }

    .tech-icon-orbital {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }

    .animation-background dotlottie-wc {
        width: 200px !important;
        height: 200px !important;
    }
}
