
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --gradient-bg: linear-gradient(135deg, #1a1c2c 0%, #2a2d43 100%);
    --card-bg: rgba(255, 255, 255, 0.95);
    --primary-color: #4f46e5;
    --accent-color: #00bcd4;
    --hover-color: #4338ca;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text-color);
}

/* Header Styles */
header {
    background: white;
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
    transition: 1s;
}

.get-in-touch {
    padding: 0.5rem 1rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s;
}

.get-in-touch:hover {
    transform: translateY(-2px);
    transition: 1s;
    background: var(--hover-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 5rem 5%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    margin-top: 60px;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-name {
    font-size: 4rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 80%;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hire-me {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.hire-me:hover {
    transform: translateY(-2px);
}

/* Enhanced About Section */
section.about {
    padding: 6rem 2rem;
    background: var(--gradient-bg);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Animated background */
.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 1;
    background: 
        radial-gradient(circle at 20% 20%, rgba(79, 70, 229, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(67, 56, 202, 0.4) 0%, transparent 50%);
    animation: backgroundFloat 15s ease-in-out infinite;
}

@keyframes backgroundFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 20px); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    color: white;
    opacity: 0;
    animation: fadeInDown 1s ease-out forwards;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #6868689d, #ffbb00 );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title p {
    font-size: 1.2rem;
    color: #a5b4fc;
    background: linear-gradient(to right, #6868689d, #ffbb00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    perspective: 1000px;
}

.about-text {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
    opacity: 0;
    animation: fadeInLeft 1s ease-out forwards 0.5s;
}

.about-text:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
    transition: transform 0.3s ease;
}

.about-text p:hover {
    transform: translateZ(20px);
    color: var(--text-primary);
}
section {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
}

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

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d3748;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.achievement-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.achievement-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.icon {
    font-size: 2rem;
    padding: 0.5rem;
    border-radius: 50%;
}

.achievement-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.achievement-text p {
    color: #4a5568;
    line-height: 1.5;
}

/* Icon colors */
.blue {
    color: #3b82f6;
}

.green {
    color: #10b981;
}

.purple {
    color: #8b5cf6;
}

.orange {
    color: #f97316;
}

.yellow {
    color: #eab308;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .achievements-grid {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 2rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.achievement-card {
    animation: fadeInUp 0.5s ease-out;
    animation-fill-mode: both;
}

.achievement-card:nth-child(2) {
    animation-delay: 0.2s;
}

.achievement-card:nth-child(3) {
    animation-delay: 0.4s;
}

.achievement-card:nth-child(4) {
    animation-delay: 0.6s;
}

.achievement-card:nth-child(5) {
    animation-delay: 0.8s;
}

/* Projects Section */
/* Enhanced Projects Section */
  .projects-section {
    padding: 5rem 1rem;
    background-color: #f9fafb;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #111827;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.25rem;
    color: #4b5563;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.project-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.project-image-container {
    position: relative;
    overflow: hidden;
    padding-top: 60%;
}

.project-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
}

.project-link {
    background: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #111827;
    transition: all 0.2s ease;
}

.project-link:hover {
    background: #f3f4f6;
    transform: scale(1.1);
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.project-description {
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.5;
}

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

.project-tag {
    background: #dbeafe;
    color: #1e40af;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

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

    .section-header h2 {
        font-size: 2rem;
    }
}


.skills-grid {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeInRight 1s ease-out forwards 0.5s;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
}

.skill-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(79, 70, 229, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.skill-item:hover::before {
    opacity: 1;
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.skill-name {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Progress bar for skills */
.skill-progress {
    width: 100%;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    margin-top: 1rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    transform-origin: left;
    animation: progressGrow 1s ease-out forwards;
}

/* Custom icon colors and animations */
.fa-python { color: #3776AB; }
.fa-file-excel { color: #217346; }
.fa-chart-bar { color: #E97627; }
.fa-chart-pie { color: #F2C811; }
.fa-database { color: #00758F; }
.fa-chart-line { color: #FF6384; }

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

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

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

@keyframes progressGrow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* Responsive design */
@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }

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

@media (max-width: 480px) {
    .about {
        padding: 4rem 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }
}

.skills-grid {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeInRight 1s ease-out forwards 0.5s;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
}

.skill-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(79, 70, 229, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.skill-item:hover::before {
    opacity: 1;
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.skill-name {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Progress bar for skills */
.skill-progress {
    width: 100%;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    margin-top: 1rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    transform-origin: left;
    animation: progressGrow 1s ease-out forwards;
}

/* Custom icon colors and animations */
.fa-python {
    color: #3776AB;
}

.fa-file-excel {
    color: #217346;
}

.fa-chart-bar {
    color: #E97627;
}

.fa-chart-pie {
    color: #F2C811;
}

.fa-database {
    color: #00758F;
}

.fa-chart-line {
    color: #FF6384;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes progressGrow {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

/* Responsive design */
@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }

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

@media (max-width: 480px) {
    .about {
        padding: 4rem 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.contact {
    padding: 5rem 5%;
    background: white;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

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

.social-links a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Responsive Design */

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

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 80%;
    border-radius: 100%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* Updated Skills Section with Icons */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.skill-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
}

.skill-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.skill-name {
    font-weight: 500;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .nav-links {
        display: none;
    }
}
