:root {
    --bg-color: #f8f5ff;
    --text-color: #2a2a2a;
    --accent-color: #5d61ff;
    --secondary-accent: #ff6b6b;
    --tertiary-accent: #00cec9;
    --light-accent: #ffeaa7;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

.dark-mode {
    --bg-color: #1a1a2e;
    --text-color: #f0f0f0;
    --accent-color: #6c63ff;
    --secondary-accent: #ff6b6b;
    --tertiary-accent: #00cec9;
    --light-accent: #ffd369;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    transition: var(--transition);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 8%;
    backdrop-filter: blur(10px);
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.2rem;
}


/* Hero Section */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-accent), var(--tertiary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientAnimation 8s ease infinite;
    background-size: 200% 200%;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-image {
    width: 180px;
    height: 180px;
    border-radius:55px;
    object-fit: cover;
    border: 4px solid var(--accent-color);
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}


/* Floating elements */

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.img {
    hight:110px;
    width:110px;
    border-radius:45px;
} 

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(5px);
}


/* About Section */

.section {
    min-height: 100vh;
    padding: 5rem 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    line-height: 1.8;
}

.about-image {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.about-image:hover {
    transform: translateY(-10px);
}


/* Projects Section */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: var(--transition);
    cursor: pointer;
    height: 350px;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.project-description {
    font-size: 0.9rem;
    opacity: 0.8;
}


/* Skills Section */

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.skill-category {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius);
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.skill-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.skill-chart {
    width: 100%;
    height: 200px;
    margin: 0 auto;
    position: relative;
}

.skill-chart svg {
    width: 100%;
    height: 100%;
}

.chart-bar {
    height: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    background: #eee;
    position: relative;
}

.chart-bar-fill {
    height: 100%;
    border-radius: 5px;
    background: linear-gradient(to right, var(--accent-color), var(--secondary-accent));
    animation: fillBars 1.5s ease forwards;
    width: 0;
}

.chart-bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}


/* Testimonials Section */

.testimonials-container {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius);
    min-width: 300px;
    flex: 0 0 auto;
    scroll-snap-align: center;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: var(--accent-color);
}


/* Contact Section */

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--light-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 500;
}

.form-input,
.form-textarea {
    padding: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.1);
    resize: none;
    color: var(--text-color);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}


/* Footer */

footer {
    padding: 2rem 10%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.05);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.social-link {
    color: var(--accent-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-5px);
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}


/* Custom cursor */

.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: all 0.1s ease;
    display: none;
}

.cursor::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: var(--accent-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* Animations */

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes fillBars {
    to {
        width: var(--width);
    }
}


/* Responsive styles */

@media (max-width: 992px) {
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    .about-image {
        margin-top: 2rem;
    }
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 5%;
    }
    .section {
        padding: 4rem 5%;
    }
    .nav-links {
        display: none;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
}
