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

::selection {
    background-color: var(--orange-primary);
    color: var(--white);
}

::-moz-selection {
    background-color: var(--orange-primary);
    color: var(--white);
}

:root {
    --orange-primary: #ff6a00;
    --orange-secondary: #ff7a1a;
    --black-deep: #0f0f0f;
    --grey-secondary: #1f1f1f;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--black-deep);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    width: auto;
    background-color: transparent;
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
    transition: var(--transition);
    border-radius: 16px;
}

.navbar.scrolled {
    background-color: rgba(15, 15, 15, 0.1);
    border-color: rgba(255, 106, 0, 0.3);
    box-shadow: 0 8px 32px rgba(255, 106, 0, 0.1);
}

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

.logo {
    font-family: "Text Me One", sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--orange-primary);
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: 8px;
}

.logo:hover {
    color: var(--orange-secondary);
}

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

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--orange-primary), var(--orange-secondary));
    transition: var(--transition);
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    position: absolute;
    right: 0;
}

.hamburger span {
    height: 3px;
    background-color: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger span:nth-child(1) {
    width: 28px;
}

.hamburger span:nth-child(2) {
    width: 20px;
}

.hamburger span:nth-child(3) {
    display: none;
}

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
    background-image: url('../essets/me.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 15, 15, 0.6) 0%, rgba(15, 15, 15, 0.75) 30%, rgba(31, 31, 31, 0.8) 100%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10vh;
    background: linear-gradient(to bottom, transparent, #0f0f0f);
    z-index: 0;
}

.hero-bg-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-bg-effect::before,
.hero-bg-effect::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

.hero-bg-effect::before {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--orange-primary), transparent);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.hero-bg-effect::after {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--orange-secondary), transparent);
    bottom: -200px;
    left: -100px;
    animation-delay: 4s;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
    text-align: left;
    width: 100%;
    max-width: 1200px;
    padding-right: 100px;
    padding-left: 20px;
}

.hero-title {
    font-family: "Ubuntu", sans-serif;
    font-size: clamp(5rem, 10vw, 8rem);
    margin-bottom: 0.3rem;
    margin-left: -1vw;
    font-weight: 300;
    color: var(--white);
}

.hero-subtitle {
    font-family: "Ubuntu", sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--orange-primary);
   margin-bottom: 1rem;
    font-weight: 400;
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #ccc;
    margin-bottom: 2.5rem;
    font-style: italic;
    max-width: 600px;
    
  margin-bottom: 0.5rem;
}

.hero-description {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: #999;
    margin-bottom: 2rem;
  font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 2rem;}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-secondary));
    box-shadow: 0 4px 15px rgba(255, 106, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta-button.primary:hover::before {
    left: 100%;
}

.cta-button.primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 106, 0, 0.6);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--orange-primary);
    position: relative;
    overflow: hidden;
}

.cta-button.secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--orange-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
    z-index: -1;
}

.cta-button.secondary:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button.secondary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 106, 0, 0.4);
}

.hero-socials {
    display: flex;
    gap: 1.5rem;
    margin-top: 40px;
    margin-left: 1vw;
    justify-content: left;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--grey-secondary);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-secondary));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-secondary));
    border-color: var(--orange-primary);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.5);
}

.highlight {
    background: linear-gradient(90deg, var(--orange-primary), var(--orange-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.scroll-indicator span {
    display: block;
    width: 20px;
    height: 30px;
    border: 2px solid var(--orange-primary);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--orange-primary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

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

.hero,
.about {
    padding: 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--orange-primary), var(--orange-secondary));
}

/* About Section */
.about {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
    background-color: var(--black-deep);
}

.about-bg-effect {
    display: none;
}

.about-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
    text-align: left;
    width: 100%;
    max-width: 1200px;
    padding-right: 100px;
}

.about-title {
    font-family: "Ubuntu", sans-serif;
    font-size: clamp(5rem, 10vw, 8rem);
    margin-bottom: 0.3rem;
    margin-left: -1vw;
    font-weight: 300;
    color: var(--white);
}

.about-subtitle {
    font-family: "Ubuntu", sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--orange-primary);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.about-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #ccc;
    margin-bottom: 1rem;
    line-height: 1.8;
    max-width: 800px;
}

.about-interests {
    margin-top: 2.5rem;
}

.about-interests h3 {
    font-family: "Ubuntu", sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 400;
}

.about-interests .interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.about-interests .interest-tags span {
    padding: 0.8rem 1.5rem;
    background-color: rgba(31, 31, 31, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.about-interests .interest-tags span:hover {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-secondary));
    border-color: var(--orange-secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.4);
}

.about-doodles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.doodle {
    position: absolute;
    color: var(--orange-primary);
    opacity: 0.15;
    font-size: 3rem;
    font-weight: bold;
    animation: float 6s ease-in-out infinite;
}

.doodle-1 {
    top: 15%;
    right: 20%;
    font-size: 4rem;
    animation-delay: 0s;
}

.doodle-2 {
    top: 25%;
    right: 10%;
    font-size: 3.5rem;
    animation-delay: 1s;
}

.doodle-3 {
    bottom: 30%;
    right: 25%;
    font-size: 2.5rem;
    animation-delay: 2s;
}

.doodle-4 {
    top: 60%;
    right: 15%;
    font-size: 3rem;
    animation-delay: 3s;
}

.doodle-5 {
    bottom: 20%;
    right: 8%;
    font-size: 2rem;
    animation-delay: 4s;
}

.doodle-6 {
    top: 40%;
    right: 30%;
    font-size: 2.5rem;
    animation-delay: 5s;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background-color: var(--grey-secondary);
    border-radius: 10px;
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--orange-primary);
    box-shadow: 0 10px 30px rgba(255, 106, 0, 0.2);
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--orange-primary);
}

.project-info p {
    color: #ccc;
    margin-bottom: 1.5rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tags span {
    padding: 0.3rem 0.8rem;
    background-color: var(--black-deep);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--orange-primary);
}

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

.project-link {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--orange-primary);
    border-radius: 5px;
    transition: var(--transition);
}

.project-link:hover {
    background-color: var(--orange-primary);
}

/* Skills Section */
.skills {
    background-color: var(--black-deep);
    position: relative;
}

.skills .section-title {
    font-family: "Ubuntu", sans-serif;
    font-weight: 300;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.skill-card {
    background: rgba(31, 31, 31, 0.4);
    backdrop-filter: blur(10px);
    padding: 2rem 1rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 106, 0, 0.1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 106, 0, 0.1), transparent);
    transition: left 0.6s;
}

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

.skill-card:hover {
    transform: translateY(-8px);
    border-color: var(--orange-primary);
    background: rgba(31, 31, 31, 0.6);
    box-shadow: 0 10px 30px rgba(255, 106, 0, 0.2);
}

.skill-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.skill-icon svg {
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.skill-card:hover .skill-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(255, 106, 0, 0.5));
}

.skill-card h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
}

.skill-card:hover h3 {
    color: var(--orange-primary);
}

.skill-card p {
    display: none;
}

/* Certificates Section */
.certificates {
    background-color: var(--black-deep);
}

.certificates .section-title {
    font-family: "Ubuntu", sans-serif;
    font-weight: 300;
}

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

.certificate-card {
    background: rgba(31, 31, 31, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 106, 0, 0.1);
    cursor: pointer;
    aspect-ratio: 16 / 9;
    position: relative;
}

.certificate-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.certificate-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 15, 15, 0.95), transparent);
    padding: 1.5rem 1rem 1rem;
}

.certificate-info h3 {
    font-size: 1.1rem;
    color: var(--orange-primary);
    margin-bottom: 0.3rem;
}

.certificate-info p {
    font-size: 0.85rem;
    color: #ccc;
    margin: 0;
}

.certificate-card:hover {
    transform: translateY(-8px);
    border-color: var(--orange-primary);
    box-shadow: 0 10px 30px rgba(255, 106, 0, 0.3);
}

.certificate-card:hover img {
    transform: scale(1.05);
}

/* Certificate Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.modal-content {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    animation: zoomIn 0.3s ease;
}

.modal-info {
    text-align: center;
    max-width: 600px;
    padding: 0 20px;
}

.modal-info h3 {
    font-family: "Ubuntu", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--orange-primary);
    margin-bottom: 0.5rem;
}

.modal-info p {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: #ccc;
    line-height: 1.6;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10000;
}

.modal-close:hover {
    color: var(--orange-primary);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); }
    to { transform: scale(1); }
}

/* Experience Section */
.experience-timeline {
    max-width: 900px;
    margin: 3rem auto 0;
    position: relative;
    padding-left: 3rem;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(180deg, var(--orange-primary), var(--orange-secondary));
}

.experience-item {
    margin-bottom: 3rem;
    position: relative;
    background: rgba(31, 31, 31, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 106, 0, 0.1);
    transition: var(--transition);
}

.experience-item:hover {
    border-color: var(--orange-primary);
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(255, 106, 0, 0.2);
}

.experience-item::before {
    content: '';
    position: absolute;
    left: -3.75rem;
    top: 2rem;
    width: 18px;
    height: 18px;
    background-color: var(--orange-primary);
    border-radius: 50%;
    border: 4px solid var(--black-deep);
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.3);
}

.experience-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.experience-content h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.experience-content .role {
    color: var(--orange-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.experience-content .date {
    color: #999;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.experience-content .achievements {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.experience-content .achievements li {
    color: #ccc;
    line-height: 1.8;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.experience-content .achievements li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--orange-primary);
    font-size: 0.8rem;
}

/* Contact Section */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-description {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    background-color: var(--grey-secondary);
    border: 1px solid transparent;
    border-radius: 5px;
    color: var(--white);
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--orange-primary);
}

.submit-button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-secondary));
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 106, 0, 0.4);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

/* Footer */
.footer {
    background-color: var(--grey-secondary);
    text-align: center;
    padding: 2rem 0;
    color: #999;
}

/* Section Scroll Button */
.section-scroll-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-secondary));
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 106, 0, 0.4);
    transition: var(--transition);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.section-scroll-btn.visible {
    opacity: 1;
    visibility: visible;
}

.section-scroll-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.6);
}

.section-scroll-btn svg {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

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

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

@keyframes slideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -110%;
        top: 90px;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(15, 15, 15, 0.98), rgba(31, 31, 31, 0.98));
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        padding: 2.5rem 0;
        gap: 0.5rem;
        border-radius: 0 0 16px 16px;
        border: 1px solid rgba(255, 106, 0, 0.2);
        border-top: none;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    }

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

    .nav-menu li {
        opacity: 0;
        transform: translateY(-20px);
        animation: slideDown 0.4s forwards;
    }

    .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { animation-delay: 0.5s; }
    .nav-menu.active li:nth-child(6) { animation-delay: 0.6s; }

    .nav-link {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        border-radius: 8px;
        margin: 0 1rem;
        transition: all 0.3s ease;
        position: relative;
    }

    .nav-link::after {
        bottom: 0.8rem;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
    }

    .nav-link:hover {
        background: rgba(255, 106, 0, 0.1);
    }

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

    .hamburger {
        display: flex;
    }

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

    .about-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .about-content {
        padding-right: 20px;
    }

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

    .experience-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .experience-date {
        padding-left: 2rem;
    }

    .hero {
        padding-top: 80px;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .cta-button {
        padding: 0.8rem 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-socials {
        gap: 1rem;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .project-card {
        padding: 1.5rem;
    }

    .skill-category {
        padding: 1.5rem;
    }
}
