/* Global Styles */
:root {
    --primary-color: #6c63ff;
    --secondary-color: #4d44db;
    --accent-color: #00d4ff;
    --dark-color: #121212;
    --darker-color: #0a0a0a;
    --light-color: #f8f9fa;
    --gray-color: #2d2d2d;
    --light-gray: #e9ecef;
    --glass-color: rgba(255, 255, 255, 0.05);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-color);
    color: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.2);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 15px 0;
    box-shadow: var(--shadow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-color);
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    position: relative;
    padding: 5px 0;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.hamburger .line {
    width: 100%;
    height: 3px;
    background-color: var(--light-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.7)), url('images/your-photo.jpg') no-repeat center right/cover;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 15px;
    background: linear-gradient(to right, var(--light-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-text {
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.hero-image {
    position: absolute;
    right: 10%;
    width: 400px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1.5s ease;
    display: none;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Section */
.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-image {
    flex: 1;
    max-width: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.detail-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.detail-item ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.detail-item ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--gray-color);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    height: 250px;
    box-shadow: var(--shadow);
}

.project-content {
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.project-card p {
    margin-bottom: 15px;
    flex-grow: 1;
    font-size: 0.95rem;
    opacity: 0.9;
}

.project-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.project-tools span {
    background-color: rgba(108, 99, 255, 0.2);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 3.5rem;
}

.project-link {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 15px;
    transition: var(--transition);
    opacity: 0;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.project-card:hover .project-link {
    bottom: 0;
    opacity: 1;
}

/* Resume Section */
.resume-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.resume-section {
    background-color: var(--gray-color);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.resume-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.resume-section h3 i {
    font-size: 1.2rem;
}

.resume-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.resume-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.resume-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.date {
    display: inline-block;
    background-color: rgba(108, 99, 255, 0.2);
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.resume-item p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.resume-item ul {
    margin-top: 10px;
}

.resume-item ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.resume-item ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.skills-container {
    display: grid;
    gap: 20px;
}

.skill-category h4 {
    margin-bottom: 10px;
    color: var(--accent-color);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skills-list li {
    background-color: rgba(0, 212, 255, 0.1);
    color: var(--accent-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.resume-download {
    text-align: center;
    margin-top: 50px;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-form {
    background-color: var(--gray-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--gray-color);
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-5px);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(108, 99, 255, 0.1);
}

.info-item h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-item p, .info-item a {
    opacity: 0.9;
    font-size: 0.95rem;
}

.info-item a {
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--darker-color);
    padding: 30px 0;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-color);
    color: var(--light-color);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

footer p {
    opacity: 0.7;
    font-size: 0.9rem;
}


/* updated css */

/* Hero Section Update */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--dark-color);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.hero-content {
    max-width: 600px;
    animation: fadeInUp 1s ease;
    z-index: 2;
}

.hero-image {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1.5s ease;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Section Update */
.contact-container {
    display: flex;
    justify-content: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 800px;
}

/* Responsive Updates */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 80px;
    }
    
    .hero-content {
        margin-bottom: 50px;
    }
    
    .hero-image {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 576px) {
    .hero-image {
        width: 250px;
        height: 250px;
    }
}


/* 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(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* New Animations */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px var(--primary-color);
    }
    100% {
        box-shadow: 0 0 20px var(--primary-color);
    }
}

/* Animation Classes */
.animate-left {
    animation: slideInFromLeft 1s ease-out forwards;
}

.animate-right {
    animation: slideInFromRight 1s ease-out forwards;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-glow {
    animation: glow 1.5s alternate infinite;
}

/* Updated Hero Section */
.hero-content {
    transform: translateX(-50px);
    opacity: 0;
    animation: slideInFromLeft 1s 0.5s forwards;
}

.hero-image {
    transform: translateX(50px);
    opacity: 0;
    animation: slideInFromRight 1s 0.5s forwards;
}

/* Updated Project Cards */
.project-card {
    transform: perspective(1000px) rotateY(20deg);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
    box-shadow: 0 20px 30px rgba(108, 99, 255, 0.3);
}

/* Updated Buttons */
.btn-primary {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 8px rgba(108, 99, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}

/* Updated Info Items */
.info-item {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.info-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Updated About Image */
.about-image {
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.about-image:hover {
    transform: rotate(-2deg) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
/* Enhanced Hover Effects */
.nav-links a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.project-card:hover {
    background-color: rgba(108, 99, 255, 0.1);
    border: 1px solid var(--primary-color);
}

.btn:hover .ripple {
    background: rgba(255, 255, 255, 0.4);
}

.social-links a:hover {
    transform: scale(1.2) translateY(-5px);
    box-shadow: 0 5px 15px var(--primary-color);
}
.col{
    margin-bottom: 21px;
}


/* Add to style.css */
@keyframes slideInFromLeftStrong {
    0% {
        transform: translateX(-200%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRightStrong {
    0% {
        transform: translateX(200%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-left-strong {
    animation: slideInFromLeftStrong 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.animate-right-strong {
    animation: slideInFromRightStrong 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}


/* Tech Stack Section */
.tech-stack {
    background: #171717;
    padding: 80px 0;
}

.tech-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.tech-icon {
    width: 80px;
    height: 80px;
    background-color: var(--gray-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    cursor: default;
}

.tech-icon:hover {
    color: var(--accent-color);
    transform: translateY(-10px) scale(1.2);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}

.tech-icon span {
    font-size: 1rem;
    position: absolute;
    bottom: 10px;
    right: 10px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}
/* Responsive Styles */
@media (max-width: 992px) {
    .hero-image {
        width: 300px;
        height: 300px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        max-width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--darker-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: var(--transition);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-top: 30px;
    }
    
    .resume-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-top: 50px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .project-card {
        height: auto;
        
    }
    
    .project-link {
        position: static;
        opacity: 1;
        bottom: 0;
        margin-top: 15px;
    }
    
    .project-card:hover {
        transform: none;
    }

}










/* Button Base Style */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}


/* Responsive Adjustments */
@media (max-width: 576px) {
    .btn {
        font-size: 14px;
        padding: 10px 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    /* Primary Button (Filled) */
.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Outline Button */
.btn-outline {
    background-color: transparent;
    border: 2px solid #007BFF;
    color: #007BFF;
}

.btn-outline:hover {
    background-color: #007BFF;
    color: #fff;
}

/* Animate Pulse (Optional CSS Animation) */
.animate-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 123, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}
}

























/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.opacity-80 {
    opacity: 0.8;
}