/* Global Styles */
:root {
    --primary-color: #4a6cf7;
    --primary-hover: #3151d3;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-bg: #f8f9fa;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #777;
    --white: #fff;
    --black: #000;
    
    /* Premium color palette */
    --bg-light: #f5f7fa;
    --bg-dark: #111827;
    --card-light: #ffffff;
    --card-dark: #1f2937;
    --border-light: rgba(0, 0, 0, 0.1);
    --border-dark: rgba(255, 255, 255, 0.1);
    --text-dark-mode: #e2e8f0;
    --text-light-dark: #94a3b8;
    
    --transition: all 0.3s ease;
}

.dark-mode {
    --primary-color: #5d7bf9;
    --light-bg: #1a202c;
    --text-color: #e2e8f0;
    --text-light: #cbd5e0;
    --white: #1f2937;
    --light-color: #2d3748;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode {
    background-color: var(--bg-dark);
    color: var(--text-dark-mode);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title h2 span {
    color: var(--primary-color);
}

.section-title p {
    color: var(--text-light);
    font-size: 18px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--light-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: var(--transition);
}

.dark-mode .image-placeholder {
    background-color: var(--card-dark);
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.theme-toggle i {
    font-size: 20px;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--light-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.dark-mode header {
    background-color: var(--bg-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

header.scrolled {
    padding: 5px 0;
    background-color: rgba(248, 249, 250, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.dark-mode header.scrolled {
    background-color: rgba(17, 24, 39, 0.95);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
    transition: var(--transition);
}

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

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

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.dark-mode nav ul li a {
    color: var(--text-dark-mode);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

.dark-mode .hamburger span {
    background-color: var(--text-dark-mode);
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #c3cfe2 100%);
    transition: background 0.3s ease;
}

.dark-mode .hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a2233 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content h1 span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    animation: colorChange 3s infinite alternate;
}

@keyframes colorChange {
    0% {
        color: var(--primary-color);
    }
    50% {
        color: #e74c3c;
    }
    100% {
        color: var(--primary-color);
    }
}

.animated-text {
    display: inline-block;
    animation: textGradient 3s ease infinite alternate;
    background: linear-gradient(90deg, var(--primary-color), #e74c3c);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

@keyframes textGradient {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 100% center;
    }
}

.hero-content h2 {
    font-size: 24px;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-image {
    flex: 1;
    animation: fadeIn 1s ease-out 0.8s forwards;
    opacity: 0;
}

.hero-image .image-placeholder {
    height: 500px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dark-mode .hero-image .image-placeholder {
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
}

.hero-image:hover .image-placeholder {
    transform: translateY(-10px);
    box-shadow: 0 25px 35px rgba(0, 0, 0, 0.15);
}

/* About Section */
.about {
    background-color: var(--bg-light);
    transition: background-color 0.3s ease;
}

.dark-mode .about {
    background-color: var(--bg-dark);
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-image {
    flex: 1;
    animation: fadeIn 1s ease-out;
}

.about-image .image-placeholder {
    height: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dark-mode .about-image .image-placeholder {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-image:hover .image-placeholder {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.about-text {
    flex: 1;
    text-align: justify;
    text-justify: inter-word;
    animation: fadeIn 1s ease-out 0.2s forwards;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.dark-mode .about-text h3 {
    color: var(--text-dark-mode);
}

.about-text p {
    margin-bottom: 30px;
    color: var(--text-color);
}

.dark-mode .about-text p {
    color: var(--text-light-dark);
}

.about-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-color);
    color: var(--dark-color);
    transition: var(--transition);
}

.dark-mode .social-links a {
    background-color: var(--card-dark);
    color: var(--text-dark-mode);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/*technologie section*/
.technologies-section {
    margin: 60px 0;
    overflow: hidden;
    width: 100%;
}

.tech-icons {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tech-item-row {
    display: flex;
    gap: 30px;
    width: max-content;
    padding: 15px 0;
}

/* First row animation (left-to-right) */
.first-row {
    animation: scrollLeft 15s linear infinite;
}

/* Second row animation (right-to-left) */
.second-row {
    animation: scrollRight 15s linear infinite;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); }
}

@keyframes scrollRight {
    0% { transform: translateX(calc(-50% - 15px)); }
    100% { transform: translateX(0); }
}

.tech-item {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.dark-mode .tech-item {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tech-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.tech-item:hover img {
    transform: scale(1.1);
}

/* Skills Section */
.skills {
    background-color: var(--white);
    transition: background-color 0.3s ease;
}

.dark-mode .skills {
    background-color: var(--card-dark);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.skills-category {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.dark-mode .skills-category {
    background-color: var(--bg-dark);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.skills-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.dark-mode .skills-category:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.skills-category h3 {
    font-size: 22px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
}

.dark-mode .skills-category h3 {
    color: var(--text-dark-mode);
}

.skills-category h3 i {
    color: var(--primary-color);
}

.skill-item {
    margin-bottom: 20px;
}

.skill-item h4 {
    font-size: 16px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    color: var(--text-color);
}

.dark-mode .skill-item h4 {
    color: var(--text-dark-mode);
}

.skill-bar {
    height: 8px;
    background-color: var(--light-color);
    border-radius: 5px;
    overflow: hidden;
}

.dark-mode .skill-bar {
    background-color: rgba(255, 255, 255, 0.1);
}

.skill-progress {
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 5px;
    width: 0;
    transition: width 1.5s ease;
}

/* Skills Cards Section */
.skills-cards {
    padding: 20px;
}

.skill-card {
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 25px;
    height: 100%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dark-mode .skill-card {
    background-color: var(--bg-dark);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.dark-mode .skill-card:hover {
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.skill-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(74, 108, 247, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 28px;
    transition: transform 0.3s ease;
}

.skill-card:hover .skill-icon {
    transform: scale(1.1) rotate(5deg);
}

.skill-card h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.dark-mode .skill-card h4 {
    color: var(--text-dark-mode);
}

.skill-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 0;
}

.dark-mode .skill-card p {
    color: var(--text-light-dark);
}

/* Grid Layout */
.row.g-4 {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 15px;
}

/* Portfolio Section */
.portfolio {
    background-color: var(--light-bg);
    transition: background-color 0.3s ease;
}

.dark-mode .portfolio {
    background-color: var(--bg-dark);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 20px;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    transform: translateY(0);
}

.dark-mode .portfolio-item {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.dark-mode .portfolio-item:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.portfolio-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 20px;
    background-color: rgba(74, 108, 247, 0.9);
    color: var(--white);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    bottom: 0;
}

.portfolio-overlay h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary-color);
    transition: var(--transition);
}

.portfolio-link:hover {
    background-color: var(--dark-color);
    color: var(--white);
    transform: rotate(360deg);
}

/* Contact Section */
.contact {
    background-color: var(--bg-light);
    margin-top: 2.5rem;
    transition: background-color 0.3s ease;
}

.dark-mode .contact {
    background-color: var(--bg-dark);
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.dark-mode .contact-info {
    background-color: var(--card-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.dark-mode .contact-info:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.dark-mode .contact-info h3 {
    color: var(--text-dark-mode);
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--text-light);
}

.dark-mode .contact-info p {
    color: var(--text-light-dark);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 20px;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(74, 108, 247, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.info-item:hover i {
    transform: scale(1.1);
}

.info-item h4 {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.dark-mode .info-item h4 {
    color: var(--text-light-dark);
}

.info-item p {
    margin: 0;
    font-weight: 600;
    color: var(--text-color);
}

.dark-mode .info-item p {
    color: var(--text-dark-mode);
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.contact-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-color);
    color: var(--dark-color);
    transition: var(--transition);
}

.dark-mode .contact-social a {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-dark-mode);
}

.contact-social a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px) rotate(360deg);
}

.contact-form {
    flex: 1;
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.dark-mode .contact-form {
    background-color: var(--card-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.dark-mode .contact-form:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
    background-color: var(--light-bg);
    color: var(--text-color);
}

.dark-mode .form-group input,
.dark-mode .form-group textarea {
    border-color: var(--border-dark);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-dark-mode);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
}

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

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 0;
    transition: background-color 0.3s ease;
}

.dark-mode footer {
    background-color: #0f172a;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--light-color);
}

.footer-about p {
    color: #ccc;
}

.footer-links h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--light-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--light-color);
}

.footer-contact p {
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: #ccc;
    font-size: 14px;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-light);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: var(--transition);
        z-index: 999;
    }
    
    .dark-mode nav ul {
        background-color: var(--bg-dark);
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        margin-left: 0;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content h2 {
        font-size: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-image .image-placeholder {
        height: 350px;
    }
    
    .about-details {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .tech-item {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content h2 {
        font-size: 18px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .about-text h3 {
        font-size: 24px;
    }
    
    .portfolio-item img {
        height: 200px;
    }
    
    .tech-item {
        width: 60px;
        height: 60px;
        padding: 10px;
    }
}
