:root {
    --primary-color: #4d5bf9;
    --primary-dark: #3a45c8;
    --secondary-color: #6c757d;
    --light-color: #f4f7fc;
    --dark-color: #212529;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --white: #ffffff;
    --dark-bg: #1e1e2c;
    --grey-bg: #f8f9fa;
    --card-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --radius: 8px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--dark-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-y: auto;
    padding-top: 80px; /* For fixed header */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Header & Navigation */
header {
    position: fixed;
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
}

.container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    padding: 0 25px;
    margin: 0 auto;
    flex-wrap: wrap;
}

header .container {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

nav {
    display: flex;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.nav-links a {
    color: var(--dark-color);
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: var(--radius);
    transition: var(--transition);
    text-align: center;
}

.active{
    background-color: #3b82f6;
    font-weight: 600;
}

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

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
}

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

ul {
    list-style: none;
}

.ul-features {
    list-style: disc;
    padding-left: 2rem;
}

/* Sections */
section {
    padding: 80px 0;
    height: auto;
}

.section-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.intro {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.divider {
    height: 5px;
    width: 100px;
    border-radius: var(--radius);
    background-color: var(--primary-color);
    margin: 15px 0;
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.highlight:hover::after {
    transform: scaleX(1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

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

.primary-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(77, 91, 249, 0.3);
}

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

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(77, 91, 249, 0.3);
}

/* Home Section */
.home {
    background-color: var(--light-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.home .container {
    align-items: center;
    justify-content: space-between;
}

.hero-container {
    flex: 1;
    padding-right: 30px;
}

.hero-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-container p {
    font-size: 1.125rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    max-width: 600px;
}

.image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.image-container img {
    height: 350px;
    width: 350px;
    border-radius: 50%;
    border: 10px solid var(--white);
    box-shadow: 0 20px 30px rgba(77, 91, 249, 0.2);
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(77, 91, 249, 0.2);
    color: var(--primary-color);
    transition: var(--transition);
}

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

.scroll-down {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(77, 91, 249, 0.2);
    color: var(--primary-color);
    animation: bounce 2s infinite;
    cursor: pointer;
}

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

/* About Section */
.about {
    background-color: var(--white);
}

.about .container {
    align-items: center;
    justify-content: space-between;
}

.about-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image-container img {
    height: 300px;
    width: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 10px solid var(--white);
    box-shadow: 0 10px 30px rgba(77, 91, 249, 0.2);
    transition: transform 0.5s ease;
}

.about-image-container:hover img {
    transform: rotate(5deg);
}

.about-text {
    flex: 1;
    padding-left: 50px;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.about-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.about-detail div p {
    margin: 10px 0;
}

.about-detail div p strong {
    color: var(--primary-color);
}

/* Skills */
.skills-container {
    width: 100%;
    max-width: 1200px;
    padding: 40px;
    margin: 60px auto 0;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.skills-container h1 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--text-dark);
    position: relative;
    font-weight: 700;
}

.skills-container h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Skills Categories */
.skills-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.skill-category {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid #e5e7eb;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.category-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 1.2rem;
}

.category-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(50px, 1fr));
    gap: 15px;
}

.skill-item {
    height:110px;
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid #f3f4f6;
}

.skill-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.skill-item img {
    height: 60px;
    width: 60px;
    object-fit: contain;
    margin-bottom: 10px;
    transition: var(--transition);
}

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

.skill-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
}

/* Services Section */
.services {
    background-color: var(--grey-bg);
}

.services-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(77, 91, 249, 0.1);
    color: var(--primary-color);
    font-size: 32px;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    transition: var(--transition);
}

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

.service-card p {
    color: var(--secondary-color);
}

/* Project Section */

.projects {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(77, 91, 249, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(77, 91, 249, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.project-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.project-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    height: 420px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(77, 91, 249, 0.15);
    border-color: rgba(77, 91, 249, 0.2);
}

.card-image {
    height: 180px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-live {
    background: rgba(16, 185, 129, 0.9);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.status-download {
    background: rgba(245, 158, 11, 0.9);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.status-beta {
    background: rgba(139, 92, 246, 0.9);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--secondary-color);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.card-date i {
    color: var(--primary-color);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.project-card:hover .card-title {
    color: var(--primary-color);
}

.card-description {
    color: var(--secondary-color);
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 0.9rem;
    flex: 1;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}

.tech-tag {
    background: rgba(77, 91, 249, 0.1);
    color: var(--primary-color);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(77, 91, 249, 0.2);
}

.card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-primary {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(77, 91, 249, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(77, 91, 249, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 14px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 80px;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-secondary i {
    font-size: 0.9rem;
}

.btn-primary i {
    font-size: 0.9rem;
}

/* Floating animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.project-card:nth-child(1) { animation: float 6s ease-in-out infinite 0s; }
.project-card:nth-child(2) { animation: float 6s ease-in-out infinite 1s; }
.project-card:nth-child(3) { animation: float 6s ease-in-out infinite 2s; }
.project-card:nth-child(4) { animation: float 6s ease-in-out infinite 3s; }
.project-card:nth-child(5) { animation: float 6s ease-in-out infinite 4s; }

.project-card:hover {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 1200px) {
    .project-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .project-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-card {
        height: auto;
        min-height: 380px;
        width: 100%;
        max-width: none;
    }
    
    .card-image {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .card-content {
        padding: 16px;
    }
    
    .card-actions {
        flex-direction: column;
    }
    
    .btn-secondary {
        min-width: auto;
    }
    
    .project-container {
        grid-template-columns: 1fr;
    }
}

/* .portfolio {
    background-color: var(--white);
}

.project-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.blog-card {
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    height: 100%;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(77, 91, 249, 0.2);
}

.blog-card i.far {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.blog-card-image-container {
    display: flex;
    height: 30%;
    width: 100%;
    justify-content: center;
    margin: 20px 0;
}

.blog-card-image-container img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: var(--radius);
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image-container img {
    transform: scale(1.1);
}

.blog-card h3 {
    font-size: 20px;
    margin: 15px 0;
    color: var(--dark-color);
}

.blog-card p {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.blog-card a.highlight {
    display: flex;
    align-items: center;
    margin-top: auto;
    font-weight: 600;
}

.blog-card a.highlight span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-card a.highlight i {
    transition: transform 0.3s ease;
}

.blog-card a.highlight:hover i {
    transform: translateX(10px);
} */

/* Contact Section */
.contact {
    background-color: var(--grey-bg);
}
.contactcontainer{
    width: 100%;
}
.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.contact-info {
    background-color: var(--primary-color);
    padding: 40px;
    border-radius: var(--radius);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    margin-right: 20px;
    font-size: 24px;
}

.contact-text h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-social {
    margin-top: 50px;
}

.contact-social h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

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

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

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

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

.form-status {
    margin-top: 20px;
}

.success-message,
.error-message {
    display: none;
    padding: 15px;
    border-radius: var(--radius);
    align-items: center;
}

.success-message {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.error-message {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}

.success-message i,
.error-message i {
    margin-right: 10px;
    font-size: 20px;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    padding: 30px 0;
    color: var(--white);
    text-align: center;
    position: relative;
}

footer .container {
    justify-content: center;
    position: relative;
}

.back-to-top {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    transition: var(--transition);
}

.back-to-top:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-70%);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 999;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu a {
    display: block;
    padding: 10px 15px;
    border-radius: var(--radius);
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
}

.mobile-menu a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

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

.fadeIn {
    animation: fadeIn 0.8s ease forwards;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .nav-links {
        gap: 5px;
    }
    
    .nav-links a {
        padding: 6px 10px;
        font-size: 0.9rem;
    }

    .home .container, 
    .about .container {
        flex-direction: column;
    }
    
    .hero-container, 
    .about-text {
        padding: 0;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .hero-container .social-links,
    .hero-buttons {
        justify-content: center;
    }
    
    .about-detail {
        justify-content: center;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .intro {
        font-size: 2rem;
    }
    
    .hero-container h2 {
        font-size: 2rem;
    }
    
    .image-container img {
        height: 300px;
        width: 300px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 250px;
        margin: 20px auto;
    }
    
    .skills {
        gap: 20px;
    }
    
    .skill-item img {
        height: 60px;
        width: 60px;
    }
    
    .project-container {
        grid-template-columns: 1fr;
    }
    
    .blog-card {
        width: 100%;
    }
    
    .contact-info,
    .contact-form {
        padding: 25px;
    }
}

@media screen and (max-width: 576px) {
    .about-image-container img {
        height: 250px;
        width: 250px;
    }
    
    .about-detail {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .back-to-top {
        right: 15px;
    }
}