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

:root {
    --primary-color: #0ea5e9;
    --secondary-color: #0f172a;
    --accent-color: #f59e0b;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #e2e8f0;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --bg-gradient: linear-gradient(
        135deg,
        #0ea5e9 0%,
        #3b82f6 50%,
        #6366f1 100%
    );
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Dark Mode Variables */
body.dark-mode {
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-light: #94a3b8;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --card-bg: #1e293b;
    --border-color: #334155;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

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

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

/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.8;
}

body.dark-mode .bg-animation {
    opacity: 0.3;
}

.cloud {
    position: absolute;
    background: linear-gradient(
        45deg,
        rgba(14, 165, 233, 0.1),
        rgba(59, 130, 246, 0.05)
    );
    border-radius: 50px;
    animation: float 20s infinite linear;
}

body.dark-mode .cloud {
    background: linear-gradient(
        45deg,
        rgba(14, 165, 233, 0.05),
        rgba(59, 130, 246, 0.02)
    );
}

.cloud1 {
    width: 100px;
    height: 50px;
    top: 20%;
    left: -50px;
    animation-duration: 25s;
}

.cloud2 {
    width: 150px;
    height: 75px;
    top: 60%;
    left: -75px;
    animation-duration: 35s;
    animation-delay: -10s;
}

.cloud3 {
    width: 80px;
    height: 40px;
    top: 40%;
    left: -40px;
    animation-duration: 30s;
    animation-delay: -20s;
}

@keyframes float {
    0% {
        transform: translateX(-100px) translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateX(calc(100vw + 50px)) translateY(-20px)
            rotate(180deg);
    }
    100% {
        transform: translateX(calc(200vw + 100px)) translateY(0px)
            rotate(360deg);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

body.dark-mode .navbar {
    background: rgba(15, 23, 42, 0.95);
    border-bottom-color: var(--border-color);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: var(--shadow-md);
}

body.dark-mode .navbar.scrolled {
    background: rgba(15, 23, 42, 0.98) !important;
    box-shadow: var(--shadow-lg);
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

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

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

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

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    position: relative;
    padding-top: 80px;
    transition: var(--transition);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: var(--text-primary);
}

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

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 500px;
}

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

.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    min-width: 140px;
}

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

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

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

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

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

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
}

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

.icon-float {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-lg);
    animation: float-vertical 3s ease-in-out infinite;
    transition: var(--transition);
}

.hero-aws {
    background: linear-gradient(45deg, #ff9900, #ff6600, #ff4500, #ff7f00);
    background-size: 300% 300%;
    animation: aws-gradient 3s ease infinite,
        float-vertical 3s ease-in-out infinite;
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

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

.hero-docker {
    background: linear-gradient(45deg, #2496ed, #0db7ed, #1e90ff, #00bfff);
    background-size: 300% 300%;
    animation: docker-gradient 3.5s ease infinite,
        float-vertical 3.2s ease-in-out infinite;
    top: 40%;
    right: 10%;
    animation-delay: 0.5s;
}

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

.hero-k8s {
    background: linear-gradient(45deg, #326ce5, #1e40af, #3b82f6, #2563eb);
    background-size: 300% 300%;
    animation: k8s-gradient 4.2s ease infinite,
        float-vertical 3.8s ease-in-out infinite;
    top: 50%;
    left: 10%;
    font-family: "Courier New", monospace;
    font-weight: bold;
    animation-delay: 1s;
}

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

.hero-terraform {
    background: linear-gradient(45deg, #623ce4, #7c3aed, #8b5cf6, #a855f7);
    background-size: 300% 300%;
    animation: terraform-gradient 3.8s ease infinite,
        float-vertical 4.1s ease-in-out infinite;
    top: 70%;
    right: 20%;
    font-family: "Courier New", monospace;
    font-weight: bold;
    animation-delay: 1.5s;
}

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

.hero-jenkins {
    background: linear-gradient(45deg, #d33833, #dc2626, #ef4444, #f87171);
    background-size: 300% 300%;
    animation: jenkins-gradient 2.8s ease infinite,
        float-vertical 3.3s ease-in-out infinite;
    top: 78%;
    left: 30%;
    animation-delay: 2s;
}

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

.hero-azure {
    background: linear-gradient(45deg, #0078d4, #0369a1, #0284c7, #0ea5e9);
    background-size: 300% 300%;
    animation: azure-gradient 3.3s ease infinite,
        float-vertical 2.9s ease-in-out infinite;
    top: 37%;
    left: 40%;
    animation-delay: 2.5s;
}

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

.hero-gcp {
    background: linear-gradient(135deg, #4285f4, #ea4335, #fbbc05, #34a853);
    background-size: 300% 300%;
    animation: gcp-gradient-element 4s ease infinite,
        float-vertical 3.5s ease-in-out infinite;
    top: 12%;
    left: 60%;
    position: relative;
    animation-delay: 3s;
}

@keyframes gcp-gradient-element {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
@keyframes float-vertical {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 2px;
    height: 40px;
    background: var(--primary-color);
    position: relative;
    animation: scroll-bounce 2s infinite;
}

.scroll-arrow::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: -3px;
    width: 8px;
    height: 8px;
    border-bottom: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    transform: rotate(45deg);
}

@keyframes scroll-bounce {
    0%,
    100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

/* Section Styles */
section {
    transition: var(--transition);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--bg-primary);
}

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

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

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

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

.about-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.detail-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.detail-item h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

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

/* Skills Section */
.skills {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

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

.skill-category {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.skill-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.skill-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.skill-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid transparent;
}

.skill-name {
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.skill-services {
    font-size: 0.9rem;
    color: var(--text-light);
}
.skill-items .aws {
    background: linear-gradient(45deg, #ff9900, #ff6600, #ff4500, #ff7f00);
    background-size: 300% 300%;
    animation: aws-gradient 3s ease infinite;
}
.skill-items .azure {
    background: linear-gradient(45deg, #0078d4, #005ea1, #004080, #0066cc);
    background-size: 300% 300%;
    animation: azure-gradient 3s ease infinite;
}
.skill-items .gcp {
    background: linear-gradient(135deg, #4285f4, #ea4335, #fbbc05, #34a853);
    background-size: 300% 300%;
    animation: gcp-gradient-element 4s ease infinite;
}
.skill-name {
    color: #ffffff;
}
.skill-services {
    color: #ffffff;
}

.skill-item.aws:hover .skill-name {
    color: #ff9900;
}
.skill-item.azure:hover .skill-name {
    color: #0078d4;
}
.skill-item.gcp:hover .skill-name {
    color: #4285f4;
}
.skill-item:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
}
.skill-item:hover .skill-services {
    color: var(--text-primary);
}

.skills-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    width: 100%;
}

.skill-category {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.skill-header i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.skill-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.skill-tag {
    padding: 0.5rem 1rem;
    background: var(--bg-gradient);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

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

.skill-tag:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

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

/* Responsive design */
@media (max-width: 768px) {
    .skills-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .skill-category {
        padding: 1.5rem;
    }

    .skill-tag {
        padding: 0.875rem 1rem;
        font-size: 0.85rem;
    }
}

/* Skill Progress Bars */
.skill-progress {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    flex-grow: 1;
    position: relative;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: var(--bg-gradient);
    width: 0;
    transition: width 1s ease;
}

.percentage {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--bg-primary);
    min-width: 35px;
}
.skill-item:hover .percentage {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    min-width: 35px;
}

/* Experience Section */
.experience {
    padding: 5rem 0;
    background: var(--bg-primary);
}

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

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 3rem;
}

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

.timeline-item::after {
    content: "";
    position: absolute;
    left: -8px;
    top: 20px;
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--bg-primary), 0 0 0 8px var(--primary-color);
}

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

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.projects {
    display: grid;
    gap: 1.5rem;
}

.project-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.project-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.project-card h5 i {
    color: var(--primary-color);
}

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

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

.tech-tags span {
    padding: 0.25rem 0.75rem;
    background: var(--bg-tertiary);
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

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

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.contact-item h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

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

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-primary);
    color: var(--text-primary);
}

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

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

/* Dark Mode Toggle */
.dark-mode-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

body.dark-mode .dark-mode-toggle {
    background: #f39c12;
}

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

body.dark-mode .footer {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
}

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

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

body.dark-mode .footer-links a {
    color: var(--text-secondary);
}

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

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    color: white;
    font-weight: 500;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
    word-wrap: break-word;
    box-shadow: var(--shadow-lg);
}

.notification-success {
    background: #10b981;
}

.notification-error {
    background: #ef4444;
}

.notification-info {
    background: var(--primary-color);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */

@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .hero-title {
        font-size: 3rem;
    }

    .icon-float {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--card-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
    }

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

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

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

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

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

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

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-visual {
        height: 300px;
        order: -1;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .btn {
        min-width: 120px;
        padding: 0.75rem 1.5rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        padding-left: 2rem;
    }

    .timeline-item::after {
        left: -6px;
    }

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

    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .icon-float {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .floating-icons {
        height: 250px;
    }
}
@media (max-width: 480px) {
    .scroll-indicator {
        display: none;
    }
}
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .social-links {
        justify-content: center;
        margin-bottom: 1rem;
    }

    .about-stats {
        gap: 1rem;
    }

    .stat {
        padding: 1rem;
    }

    .skill-category {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

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

    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .dark-mode-toggle {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
}

/* Loading Animation */
.loading-overlay {
    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: opacity 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-tertiary);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--bg-gradient);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Parallax Effects */
.parallax {
    transform: translateY(0);
    transition: transform 0.1s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Print Styles */
@media print {
    .navbar,
    .dark-mode-toggle,
    .scroll-indicator,
    .bg-animation {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .section-title {
        color: black !important;
        background: none !important;
        -webkit-text-fill-color: initial !important;
    }
}
