/* 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;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 2rem;
    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);
}


/* Profile Photo Styles */
.profile-photo-container {
    position: relative;
    width: 420px;
    height: 420px;
    z-index: 10;
}

.profile-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(14, 165, 233, 0.2);
    transition: all 0.3s ease;
    animation: photo-pulse 4s ease-in-out infinite;
}

.profile-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15),
        0 12px 24px rgba(14, 165, 233, 0.3);
}

.photo-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    background: linear-gradient(45deg, #0ea5e9, #3b82f6, #6366f1);
    opacity: 0.2;
    animation: glow-rotate 8s linear infinite;
    z-index: -1;
}

@keyframes photo-pulse {

    0%,
    100% {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1),
            0 8px 16px rgba(14, 165, 233, 0.2);
    }

    50% {
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15),
            0 12px 24px rgba(14, 165, 233, 0.4);
    }
}

@keyframes glow-rotate {
    0% {
        transform: rotate(0deg);
    }

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

/* Dark mode adjustments for profile photo */
body.dark-mode .profile-photo {
    border-color: var(--bg-secondary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        0 8px 16px rgba(14, 165, 233, 0.3);
}

body.dark-mode .profile-photo:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5),
        0 12px 24px rgba(14, 165, 233, 0.4);
}


/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 5;
}

.icon-float {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    /* Prevent images from overflowing */
}

/* Scale all images and SVGs inside icon-float containers */
.icon-float img,
.icon-float svg {
    max-width: 70%;
    /* Scale to 70% of container width */
    max-height: 70%;
    /* Scale to 70% of container height */
    width: auto;
    height: auto;
    object-fit: contain;
    /* Maintain aspect ratio */
    display: block;
}

/* Font Awesome icons remain at font-size */
.icon-float i {
    font-size: inherit;
}

.icon-float:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    z-index: 15;
}

/* Fixed orbital animations with unique positioning */

.hero-aws {
    background: linear-gradient(45deg, #feb13c, #ff6600);
    background-size: 200% 200%;
    top: 50%;
    left: 50%;
    margin: -35px 0 0 -35px;
    animation: aws-gradient 3s ease infinite, smooth-orbit-1 20s linear infinite;
    animation-delay: 0s, 0s;
}

.hero-docker {
    background: linear-gradient(45deg, #2496ed, #075d77);
    background-size: 200% 200%;
    top: 50%;
    left: 50%;
    margin: -35px 0 0 -35px;
    animation: docker-gradient 3.5s ease infinite, smooth-orbit-2 24s linear infinite reverse;
    animation-delay: 0s, -4s;
}

.hero-k8s {
    background: linear-gradient(45deg, #326ce5, #2358ad);
    background-size: 200% 200%;
    top: 50%;
    left: 50%;
    margin: -35px 0 0 -35px;
    animation: k8s-gradient 4.2s ease infinite, smooth-orbit-3 26s linear infinite;
    animation-delay: 0s, -8s;
}

.hero-terraform {
    background: linear-gradient(45deg, #623ce4, #6338c6);
    background-size: 200% 200%;
    top: 50%;
    left: 50%;
    margin: -35px 0 0 -35px;
    animation: terraform-gradient 3.8s ease infinite, smooth-orbit-1 22s linear infinite reverse;
    animation-delay: 0s, -11s;
}

.hero-jenkins {
    background: linear-gradient(45deg, #d33833, #dc5555);
    background-size: 200% 200%;
    top: 50%;
    left: 50%;
    margin: -35px 0 0 -35px;
    animation: jenkins-gradient 2.8s ease infinite, smooth-orbit-2 28s linear infinite;
    animation-delay: 0s, -14s;
}

.hero-azure {
    background: linear-gradient(45deg, #0078d4, #086d9c);
    background-size: 200% 200%;
    top: 50%;
    left: 50%;
    margin: -35px 0 0 -35px;
    animation: azure-gradient 2s ease infinite, smooth-orbit-3 30s linear infinite reverse;
    animation-delay: 0s, -18s;
}

.hero-gcp {
    background: linear-gradient(45deg, #4285f4, #ea4335, #fbbc05, #34a853);
    background-size: 300% 300%;
    top: 50%;
    left: 50%;
    margin: -35px 0 0 -35px;
    animation: gcp-gradient 4s ease infinite, smooth-orbit-1 25s linear infinite;
    animation-delay: 0s, -12.5s;
}

/* IMPROVED: Smooth orbital animations with better spacing and natural movement */
@keyframes smooth-orbit-1 {
    0% {
        transform: rotate(0deg) translateX(240px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(240px) rotate(-360deg);
    }
}

@keyframes smooth-orbit-2 {
    0% {
        transform: rotate(0deg) translateX(160px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(160px) rotate(-360deg);
    }
}

@keyframes smooth-orbit-3 {
    0% {
        transform: rotate(0deg) translateX(200px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(200px) rotate(-360deg);
    }
}

/* Gradient animations */
@keyframes aws-gradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes docker-gradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes k8s-gradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes terraform-gradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes jenkins-gradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes azure-gradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes gcp-gradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Extra Large Screens (1400px+) */
@media (min-width: 1400px) {
    .profile-photo-container {
        width: 480px;
        height: 480px;
    }

    .hero-visual {
        height: 600px;
    }

    .icon-float {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .hero-jenkins {
        top: 40%;
        left: 44%;
    }

    .hero-docker {
        top: 40%;
        left: 44%;
    }

    @keyframes smooth-orbit-1 {
        0% {
            transform: rotate(0deg) translateX(280px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateX(280px) rotate(-360deg);
        }
    }

    @keyframes smooth-orbit-2 {
        0% {
            transform: rotate(0deg) translateX(80px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateX(80px) rotate(-360deg);
        }
    }

    @keyframes smooth-orbit-3 {
        0% {
            transform: rotate(0deg) translateX(240px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateX(240px) rotate(-360deg);
        }
    }
}

/* Large Screens (1200px - 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
    .profile-photo-container {
        width: 380px;
        height: 380px;
    }

    .hero-visual {
        height: 480px;
    }

    .hero-jenkins {
        top: 55%;
        left: 47%;
    }

    .hero-docker {
        top: 55%;
        left: 47%;
    }


    @keyframes smooth-orbit-1 {
        0% {
            transform: rotate(0deg) translateX(220px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateX(220px) rotate(-360deg);
        }
    }

    @keyframes smooth-orbit-2 {
        0% {
            transform: rotate(0deg) translateX(80px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateX(80px) rotate(-360deg);
        }
    }

    @keyframes smooth-orbit-3 {
        0% {
            transform: rotate(0deg) translateX(180px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateX(180px) rotate(-360deg);
        }
    }
}

/* Medium Screens (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .profile-photo-container {
        width: 320px;
        height: 320px;
    }

    .hero-visual {
        height: 400px;
    }

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

    .icon-float img,
    .icon-float svg {
        max-width: 65%;
        max-height: 65%;
    }

    @keyframes smooth-orbit-1 {
        0% {
            transform: rotate(0deg) translateX(180px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateX(180px) rotate(-360deg);
        }
    }

    @keyframes smooth-orbit-2 {
        0% {
            transform: rotate(0deg) translateX(120px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateX(120px) rotate(-360deg);
        }
    }

    @keyframes smooth-orbit-3 {
        0% {
            transform: rotate(0deg) translateX(150px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateX(150px) rotate(-360deg);
        }
    }
}

/* Small-Medium Screens (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .profile-photo-container {
        width: 280px;
        height: 280px;
    }

    .hero-visual {
        height: 350px;
    }

    .icon-float {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin: -25px 0 0 -25px;
    }

    .icon-float img,
    .icon-float svg {
        max-width: 60%;
        max-height: 60%;
    }

    @keyframes smooth-orbit-1 {
        0% {
            transform: rotate(0deg) translateX(170px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateX(170px) rotate(-360deg);
        }
    }

    @keyframes smooth-orbit-2 {
        0% {
            transform: rotate(0deg) translateX(70px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateX(70px) rotate(-360deg);
        }
    }

    @keyframes smooth-orbit-3 {
        0% {
            transform: rotate(0deg) translateX(120px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateX(120px) rotate(-360deg);
        }
    }
}

/* Small Screens (576px - 767px) */
@media (max-width: 768px) and (min-width: 576px) {
    .profile-photo-container {
        width: 220px;
        height: 220px;
        margin: 1rem auto 1rem;
    }

    .profile-photo {
        border: 4px solid white;
    }

    .photo-glow {
        top: -15px;
        left: -15px;
        right: -15px;
        bottom: -15px;
    }

    .hero-visual {
        height: 280px;
    }

    .floating-icons {
        height: 280px;
    }

    .icon-float {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin: -22.5px 0 0 -22.5px;
    }

    .icon-float img,
    .icon-float svg {
        max-width: 55%;
        max-height: 55%;
    }

    @keyframes smooth-orbit-1 {
        0% {
            transform: rotate(0deg) translateX(130px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateX(130px) rotate(-360deg);
        }
    }

    @keyframes smooth-orbit-2 {
        0% {
            transform: rotate(0deg) translateX(55px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateX(55px) rotate(-360deg);
        }
    }

    @keyframes smooth-orbit-3 {
        0% {
            transform: rotate(0deg) translateX(95px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateX(95px) rotate(-360deg);
        }
    }


}

/* Extra Small Screens (480px and below) */
@media (max-width: 576px) {
    .profile-photo-container {
        width: 280px;
        height: 280px;
        margin: 2rem auto 1rem;
    }

    .profile-photo {
        border: 3px solid white;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1),
            0 6px 12px rgba(14, 165, 233, 0.2);
    }

    .profile-photo:hover {
        transform: scale(1.03);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15),
            0 8px 16px rgba(14, 165, 233, 0.3);
    }

    .photo-glow {
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
    }

    .hero-visual {
        height: 220px;
    }

    .floating-icons {
        height: 300px;
    }

    .icon-float {
        width: 45px;
        height: 45px;
        font-size: 0.9rem;
        margin: -17.5px 0 0 -17.5px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }

    .icon-float:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    }

    .icon-float img,
    .icon-float svg {
        max-width: 50%;
        max-height: 50%;
    }

    .hero-aws {
        top: 56%;
        left: 50%;
    }

    .hero-gcp {
        top: 56%;
        left: 50%;
    }

    .hero-terraform {
        top: 56%;
        left: 50%;
    }

    .hero-azure {
        top: 55%;
        left: 49%;
    }

    .hero-k8s {
        top: 55%;
        left: 49%;
    }

    .hero-jenkins {
        top: 55%;
        left: 47%;
    }

    .hero-docker {
        top: 55%;
        left: 47%;
    }

    @keyframes smooth-orbit-1 {
        0% {
            transform: rotate(0deg) translateX(155px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateX(155px) rotate(-360deg);
        }
    }

    @keyframes smooth-orbit-2 {
        0% {
            transform: rotate(0deg) translateX(50px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateX(50px) rotate(-360deg);
        }
    }

    @keyframes smooth-orbit-3 {
        0% {
            transform: rotate(0deg) translateX(115px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateX(115px) rotate(-360deg);
        }
    }

    /* Reduce animation intensity for better mobile performance */
    @keyframes photo-pulse {

        0%,
        100% {
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1),
                0 6px 12px rgba(14, 165, 233, 0.2);
        }

        50% {
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15),
                0 8px 16px rgba(14, 165, 233, 0.3);
        }
    }

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

/* Ultra Small Screens (360px and below) */
@media (max-width: 360px) {
    .profile-photo-container {
        width: 220px;
        height: 220px;
        margin: 2rem auto 1rem;
    }

    .hero-visual {
        height: 180px;
    }

    .floating-icons {
        height: 180px;
    }

    .icon-float {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
        margin: -15px 0 0 -15px;
    }

    .icon-float img,
    .icon-float svg {
        max-width: 45%;
        max-height: 45%;
    }

    .hero-aws {
        top: 78%;
        left: 49%;
    }

    .hero-gcp {
        top: 78%;
        left: 49%;
    }

    .hero-terraform {
        top: 78%;
        left: 49%;
    }

    .hero-azure {
        top: 77%;
        left: 49%;
    }

    .hero-k8s {
        top: 77%;
        left: 49%;
    }

    .hero-jenkins {
        top: 71%;
        left: 47%;
    }

    .hero-docker {
        top: 71%;
        left: 47%;
    }

    @keyframes smooth-orbit-1 {
        0% {
            transform: rotate(0deg) translateX(130px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateX(130px) rotate(-360deg);
        }
    }

    @keyframes smooth-orbit-2 {
        0% {
            transform: rotate(0deg) translateX(40px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateX(40px) rotate(-360deg);
        }
    }

    @keyframes smooth-orbit-3 {
        0% {
            transform: rotate(0deg) translateX(85px) rotate(0deg);
        }

        100% {
            transform: rotate(360deg) translateX(85px) rotate(-360deg);
        }
    }
}

/* High DPI / Retina Display Adjustments */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .profile-photo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {

    .profile-photo,
    .icon-float {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0s !important;
    }

    .photo-glow {
        animation: none !important;
    }

    .hero-aws,
    .hero-docker,
    .hero-k8s,
    .hero-terraform,
    .hero-jenkins,
    .hero-azure,
    .hero-gcp {
        animation: none !important;
    }
}

/* Print Styles */
@media print {

    .hero-visual,
    .floating-icons {
        display: none;
    }

    .profile-photo-container {
        width: 200px;
        height: 200px;
        page-break-inside: avoid;
    }

    .profile-photo {
        border: 2px solid #000;
        box-shadow: none;
        animation: none;
    }

    .photo-glow {
        display: none;
    }
}

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

}

@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: 1rem;
    }

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

    }

    .hero-visual {
        height: auto;
        order: -1;
        display: block;
    }

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

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