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

body {
    font-family: 'Kalam', cursive;
    background: #2d2d2d;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 50%, #0d0d0d 100%);
    min-height: 100vh;
    color: #f0f0f0;
    overflow-x: hidden;
    /* animation: subtleGradientShift 45s cubic-bezier(0.4, 0.0, 0.6, 1.0) infinite alternate; */
}

@keyframes subtleGradientShift {
    0% {
        background: linear-gradient(135deg, #424242 0%, #2e2e2e 50%, #222222 100%);
    }

    25% {
        background: linear-gradient(135deg, #424242 0%, #2e2e2e 50%, #222222 100%);
    }

    40% {
        background: linear-gradient(135deg, #222222 0%, #404040 50%, #303030 100%);
    }

    60% {
        background: linear-gradient(135deg, #222222 0%, #404040 50%, #303030 100%);
    }

    75% {
        background: linear-gradient(135deg, #303030 0%, #1c1c1c 50%, #454545 100%);
    }

    100% {
        background: linear-gradient(135deg, #303030 0%, #1c1c1c 50%, #454545 100%);
    }
}



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

/* Floating elements animation */
.floating-element {
    position: absolute;
    font-size: 1.5rem;
    pointer-events: none;
}

@keyframes float1 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }

    50% {
        transform: translateY(-25px) rotate(180deg) scale(1.2);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg) scale(0.8);
    }

    50% {
        transform: translateY(-15px) rotate(-180deg) scale(1.1);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg) scale(1.1);
    }

    50% {
        transform: translateY(-30px) rotate(360deg) scale(0.9);
    }
}

@keyframes float4 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg) scale(0.9);
    }

    50% {
        transform: translateY(-20px) rotate(270deg) scale(1.3);
    }
}

.floating-element:nth-child(1) {
    top: 8%;
    left: 12%;
    opacity: 0.08;
    animation: float1 7.2s ease-in-out infinite;
    animation-delay: 0.5s;
}

.floating-element:nth-child(2) {
    top: 15%;
    right: 8%;
    opacity: 0.12;
    animation: float2 5.8s ease-in-out infinite;
    animation-delay: 1.8s;
}

.floating-element:nth-child(3) {
    bottom: 18%;
    left: 25%;
    opacity: 0.09;
    animation: float3 6.5s ease-in-out infinite;
    animation-delay: 3.2s;
}

.floating-element:nth-child(4) {
    top: 45%;
    right: 3%;
    opacity: 0.11;
    animation: float1 8.1s ease-in-out infinite;
    animation-delay: 0.8s;
}

.floating-element:nth-child(5) {
    bottom: 12%;
    right: 28%;
    opacity: 0.07;
    animation: float4 4.9s ease-in-out infinite;
    animation-delay: 2.7s;
}

.floating-element:nth-child(6) {
    top: 72%;
    left: 7%;
    opacity: 0.13;
    animation: float2 7.8s ease-in-out infinite;
    animation-delay: 4.1s;
}

.floating-element:nth-child(7) {
    top: 35%;
    left: 3%;
    opacity: 0.10;
    animation: float3 6.2s ease-in-out infinite;
    animation-delay: 1.3s;
}

.floating-element:nth-child(8) {
    bottom: 35%;
    right: 15%;
    opacity: 0.08;
    animation: float4 5.5s ease-in-out infinite;
    animation-delay: 3.9s;
}

.floating-element:nth-child(9) {
    top: 60%;
    left: 40%;
    opacity: 0.09;
    animation: float1 7.7s ease-in-out infinite;
    animation-delay: 2.1s;
}

/* Hero and Profile Combined Section */
.hero-profile-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4rem 0;
    gap: 3rem;
    position: relative;
}

/* Hero Section */
.hero {
    flex: 1;
    text-align: left;
    position: relative;
    transform: rotate(-0.5deg);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffd700;
    text-shadow: 3px 3px 0px #ff6b6b;
    transform: rotate(1deg);
    animation: wiggle 3s ease-in-out infinite;
}

@keyframes wiggle {

    0%,
    100% {
        transform: rotate(1deg);
    }

    25% {
        transform: rotate(-0.5deg);
    }

    75% {
        transform: rotate(1.5deg);
    }
}

.fun-fact {
    font-size: 1.2rem;
    color: #ff6b6b;
    margin: 1rem 0;
    transform: rotate(-1deg);
    padding: 0.5rem;
    border: 2px dashed #ff6b6b;
    border-radius: 15px;
    display: inline-block;
    background: rgba(255, 107, 107, 0.1);
}

.fun-fact i {
    color: #4ecdc4;
}

.tagline {
    font-size: 1.5rem;
    color: #4ecdc4;
    margin-bottom: 2rem;
    transform: rotate(0.5deg);
}

/* Profile Image */
.profile-section {
    flex: 0 0 auto;
    position: relative;
    transform: rotate(-1deg);
}

.profile-image {
    width: 500px;
    height: auto;
    object-fit: contain;
    display: block;
    transform: rotate(2deg);
    animation: profileFloat 4s ease-in-out infinite;
}

@keyframes profileFloat {

    0%,
    100% {
        transform: rotate(2deg) translateY(0px);
    }

    50% {
        transform: rotate(-1deg) translateY(-10px);
    }
}

/* Social Links */
.social-links {
    text-align: center;
    margin: 2rem 0;
    transform: rotate(0.5deg);
}

.social-link {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: #ff6b6b;
    color: white;
    text-decoration: none;
    border-radius: 25px 15px 25px 15px;
    font-weight: 600;
    transform: rotate(-2deg);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.social-link:nth-child(even) {
    background: #176964;
    transform: rotate(2deg);
}

.social-link:nth-child(odd) {
    background: #ffd700;
    color: #1a1a2e;
}

.social-link:hover {
    transform: rotate(0deg) scale(1.1);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

.social-link i {
    margin-right: 0.5rem;
    font-size: 1.1em;
}

/* About Section */
.about {
    margin: 4rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px 5px 20px 5px;
    transform: rotate(0.5deg);
    border: 2px dashed #4ecdc4;
    position: relative;
}

.about h2 {
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 1rem;
    transform: rotate(-1deg);
    text-align: center;
}

.about p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #f0f0f0;
    margin-bottom: 1rem;
}

/* Experience Section */
.experience {
    margin: 4rem 0;
    transform: rotate(-0.5deg);
}

.experience h2 {
    font-size: 2.5rem;
    color: #ff6b6b;
    margin-bottom: 2rem;
    text-align: center;
    transform: rotate(1deg);
}

.exp-item {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 107, 107, 0.1);
    border: 3px solid #ff6b6b;
    border-radius: 15px 25px 15px 25px;
    position: relative;
    transform: rotate(var(--rotation));
    width: 100%;
}

.exp-content {
    width: 100%;
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.exp-title-company {
    flex: 1;
}

.exp-item:nth-child(2) {
    --rotation: 1deg;
}

.exp-item:nth-child(3) {
    --rotation: -1.5deg;
}

.exp-item:nth-child(4) {
    --rotation: 0.8deg;
}

.exp-title {
    font-size: 1.5rem;
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.exp-company {
    font-size: 1.2rem;
    color: #4ecdc4;
    margin-bottom: 0.5rem;
}

.exp-duration {
    font-size: 1rem;
    color: #ffd700;
    font-weight: 600;
    transform: rotate(-0.3deg);
    display: inline-block;
    background: rgba(255, 215, 0, 0.15);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    border: 2px dashed #ffd700;
    flex-shrink: 0;
    margin-left: 1rem;
}

.exp-description {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}



/* Projects Section */
.projects {
    margin: 4rem 0;
    transform: rotate(0.3deg);
}

.projects h2 {
    font-size: 2.5rem;
    color: #4ecdc4;
    margin-bottom: 2rem;
    text-align: center;
    transform: rotate(-0.8deg);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    padding: 2rem;
    background: rgba(78, 205, 196, 0.1);
    border: 3px dashed #4ecdc4;
    border-radius: 20px 10px 20px 10px;
    transform: rotate(var(--card-rotation));
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.tap-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    opacity: 1;
    transition: all 0.3s ease;
    transform: rotate(-2deg);
}

.project-card:hover .tap-indicator {
    opacity: 1;
    transform: rotate(0deg) scale(1.1);
}

.project-card:nth-child(1) {
    --card-rotation: 1deg;
}

.project-card:nth-child(2) {
    --card-rotation: -1.2deg;
}

.project-card:nth-child(3) {
    --card-rotation: 0.8deg;
}

.project-card:nth-child(4) {
    --card-rotation: -0.5deg;
}

.project-card:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
}

.project-name {
    font-size: 1.6rem;
    color: #ffd700;
    margin-bottom: 0.5rem;
    transform: rotate(-0.3deg);
    font-weight: 700;
}

.project-subheading {
    font-size: 1.1rem;
    color: #4ecdc4;
    margin-bottom: 1rem;
    transform: rotate(0.2deg);
    font-weight: 400;
}

.project-desc {
    font-size: 1rem;
    line-height: 1.5;
    color: #f0f0f0;
}

/* Collaboration Section */
.collaboration {
    margin: 4rem 0;
    padding: 2rem;
    background: rgba(255, 215, 0, 0.1);
    border: 3px solid #ffd700;
    border-radius: 25px 10px 25px 10px;
    transform: rotate(-0.7deg);
    text-align: center;
}

.collaboration h2 {
    font-size: 2.2rem;
    color: #ffd700;
    margin-bottom: 1rem;
    transform: rotate(1deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .container {
        padding: 1rem;
    }

    .hero-profile-container {
        flex-direction: column;
        gap: 2rem;
    }

    .hero {
        text-align: center;
    }

    .profile-image {
        width: 250px;
        height: auto;
    }

    .exp-item {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .exp-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .exp-duration {
        margin-left: 0;
        margin-top: 0.5rem;
        align-self: flex-start;
    }

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

/* Footer */
.footer {
    text-align: center;
    padding: 0 0;
    margin-top: 3rem;
    color: #f0f0f0;
    font-size: 1rem;
    opacity: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.footer-item i {
    font-size: 1.1em;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        gap: 1rem;
    }
}