:root {
    --primary-color: #ff3366;
    --secondary-color: #1a1a1a;
    --background-color: #121212;
    --text-color: #ffffff;
    --accent-color: #ff4d4d;
    --gradient-primary: linear-gradient(45deg, #ff3366, #ff5733);
    --gradient-secondary: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    --footer-bg: rgba(26, 26, 26, 0.95);
    --heading-gradient: linear-gradient(300deg, #ff3366 25%, #ff5733 50%, #ff758c 75%);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='hexagons' fill='%23ff3366' fill-opacity='.1' fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
nav {
    position: fixed;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    padding: 8px 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}
.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
.logo {
    font-family: "Dancing Script", cursive;
    font-size: 26px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-bottom: 6px;
}
.logo::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -10px;
    width: calc(100% + 20px);
    height: 3px;
    background: var(--primary-color);
    transform: scale(1);
    clip-path: path("M0,5 Q30,-5 60,5 T120,5");
}
.hamburger {
    display: none;
    cursor: pointer;
    color: white;
    font-size: 20px;
    z-index: 100;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}
.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}
.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}
.nav-links a:hover {
    color: var(--primary-color);
}
.nav-links a.active {
    color: var(--primary-color);
}
footer {
    background: var(--footer-bg);
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
}
footer p {
    color: var(--text-color);
    font-size: 14px;
    opacity: 0.8;
}
.section {
    min-height: 100vh;
    padding: 100px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
#home .container {
    text-align: center;
}
.profile-image {
    width: 280px;
    height: 280px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 51, 102, 0.3);
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.profile-image::before {
    content: "";
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    padding: 20px;
    background: linear-gradient(300deg, #ff3366, #ff5733, #ff758c);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.profile-image:hover::before {
    opacity: 1;
}
#actual-image {
    display: none;
}
.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
    background: var(--heading-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 8s ease infinite;
    background-size: 300% 300%;
}
@keyframes gradient {
    0% {
        background-position: 0 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}
.btn {
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 51, 102, 0.3);
}
.btn-primary {
    background: var(--gradient-primary);
    color: white;
}
.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    border: 2px solid var(--primary-color);
}
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}
.timeline::before {
    content: "";
    position: absolute;
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    left: 50%;
    transform: translateX(-50%);
}
.timeline-item {
    margin-bottom: 60px;
    position: relative;
    perspective: 1000px;
}
.timeline-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline-item:hover .timeline-icon {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 51, 102, 0.5);
}
.timeline-content {
    width: calc(50% - 50px);
    padding: 20px;
    background: rgba(26, 26, 26, 0.9);
    border-radius: 10px;
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}
.timeline-content:hover {
    transform: translateY(-5px) rotateX(5deg);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(255, 51, 102, 0.2);
    background: rgba(26, 26, 26, 0.95);
}
.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}
.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}
.timeline-content:hover h3 {
    color: #ff5733;
}
.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    background: var(--gradient-secondary);
    transition: all 0.3s ease;
    margin-top: 15px;
}
.project-link:hover {
    background: var(--gradient-primary);
    transform: translateX(5px);
}
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 50px;
    padding: 0 24px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.experience-card {
    padding: 28px;
    max-width: 420px;
    margin: 0 auto;
    background: rgba(26, 26, 26, 0.92);
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.experience-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}
.experience-card:hover {
    transform: scale(1.05) rotateX(5deg);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(255, 51, 102, 0.2);
    background: rgba(26, 26, 26, 0.95);
}
.experience-card:hover::before {
    opacity: 0;
}
.experience-card > * {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}
.experience-card:hover > * {
    transform: scale(1.05);
}
.experience-card i {
    font-size: 30px;
    color: var(--primary-color);
    margin-bottom: 14px;
    transition: transform 0.3s ease, color 0.3s ease;
}
.experience-card:hover i {
    transform: scale(1.12);
    color: #ff5733;
}
.experience-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}
.experience-card:hover h3 {
    color: #ff5733;
}
.experience-card p {
    font-size: 15px;
    line-height: 1.7;
    max-width: 360px;
    margin: 0 auto;
}
#experience {
    scroll-margin-top: 100px;
}
.contact-form {
    max-width: 600px;
    margin: 0 auto 50px;
}
.form-group {
    margin-bottom: 20px;
}
.recaptcha-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}
input,
textarea {
    width: 100%;
    padding: 12px;
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    color: var(--text-color);
    transition: all 0.3s ease;
}
input:focus,
textarea:focus {
    outline: none;
    border-color: #ff5733;
    box-shadow: 0 0 10px rgba(255, 51, 102, 0.3);
    background: rgba(26, 26, 26, 0.95);
}
textarea {
    height: 150px;
    resize: vertical;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}
.social-links a {
    color: var(--text-color);
    font-size: 30px;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.9);
    text-decoration: none;
    border: none;
}
.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 51, 102, 0.3);
}
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px rgba(26, 26, 26, 0.9) inset !important;
    -webkit-text-fill-color: var(--text-color) !important;
    background-color: rgba(26, 26, 26, 0.9) !important;
    transition: background-color 5000s ease-in-out 0s;
}
.scroll-top {
    position: fixed;
    bottom: 80px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}
.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 51, 102, 0.3);
}
@media (max-width: 768px) {
    nav {
        padding: 6px 0;
    }
    .logo {
        font-size: 24px;
        padding-bottom: 4px;
    }
    .hamburger {
        display: block;
        font-size: 18px;
    }
    .section {
        padding: 80px 15px;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
        backdrop-filter: blur(10px);
    }
    .nav-links.nav-active {
        right: 0;
    }
    .nav-links li {
        margin: 12px 0;
        opacity: 0;
        animation: fadeIn 0.5s ease forwards;
    }
    .nav-links a {
        font-size: 1.1rem;
        padding: 8px 16px;
    }
    @keyframes fadeIn {
        to {
            opacity: 1;
        }
    }
    .nav-links li:nth-child(1) {
        animation-delay: 0.2s;
    }
    .nav-links li:nth-child(2) {
        animation-delay: 0.3s;
    }
    .nav-links li:nth-child(3) {
        animation-delay: 0.4s;
    }
    .nav-links li:nth-child(4) {
        animation-delay: 0.5s;
    }
    h1 {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    .profile-image {
        width: 150px;
        height: 150px;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
    .timeline::before {
        left: 30px;
    }
    .timeline-icon {
        left: 30px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        padding: 15px;
    }
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }
    .experience-card {
        max-width: 100%;
        padding: 20px;
        border-radius: 16px;
    }
    .experience-card h3 {
        font-size: 18px;
    }
    .experience-card p {
        font-size: 14px;
        line-height: 1.6;
    }
    .experience-card i {
        font-size: 26px;
        margin-bottom: 10px;
    }
    .section-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    .social-links {
        gap: 20px;
    }
    .social-links a {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .scroll-top.bump-up {
        bottom: 80px !important;
    }
    .captcha-container {
        display: flex;
        align-items: center;
        gap: 10px;
    }
}
