/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #243947;
    --bg-white: #97849a;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #0a0d17 0%, #33263f 100%);    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(48, 9, 58, 0.616);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
 background: linear-gradient(135deg, #0a0d17 0%, #33263f 100%);
}

.nav-logo h3 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
   background: linear-gradient(135deg, #757987 0%, #a188b8 100%);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0d17 0%, #33263f 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,90.7C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    animation: slideInLeft 1s ease-out forwards;
    opacity: 1;
    color: white;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #e0e7ff;
    margin-bottom: 1.5rem;
    opacity: 1;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

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

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    opacity: 1;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 1;
    animation: fadeInUp 1s ease-out 0.7s forwards;
}

.hero-social {
    display: flex;
    gap: 1.5rem;
    opacity: 1;
    animation: fadeInUp 1s ease-out 0.9s forwards;
}

.btn {
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    transition: all 0.6s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px) scale(1.05);
}

.hero-social {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.9s forwards;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px) scale(1.1);
    color: #ffffff;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
      animation: slideInRight 1s ease-out forwards;
      opacity: 0;
}

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

.avatar {
    position: relative;
    width: 430px;
    height: 430px;
    margin: 0 auto;
    animation: float 6s ease-in-out infinite;
}

.avatar {
   
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

.avatar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(102, 126, 234, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(118, 75, 162, 0.2) 0%, transparent 50%);
    animation: rotate 25s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.avatar-img {
    width: 390px;
    height: 390px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: #667eea;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.avatar-img::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -150%;
    width: 300%;
    height: 300%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(102, 126, 234, 0.1) 50%, 
        transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%); }
    50% { transform: translateX(100%) translateY(100%); }
    100% { transform: translateX(100%) translateY(100%); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #3e3452 0%, #353842 100%);
}
.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    max-width: 1200px;
    margin:20px;
}
.about-image {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.about-img-wrapper {
    width: 100%;
    max-width: 450px;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.6s ease, box-shadow 0.6s ease;
    cursor: pointer;
}

.about-img:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.about-img.zoomed {
    transform: scale(1.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    position: relative;
}

/* ===============================
   ABOUT SECTION (MODERN AI DESIGN)
================================= */
.about {
    background: linear-gradient(135deg, #3e3452 0%, #353842 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(239, 68, 245, 0.1) 0%, transparent 50%);
    animation: floatAbout 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes floatAbout {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(1deg); }
    66% { transform: translateY(8px) rotate(-1deg); }
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.about-image {
    flex: 1;
    animation: slideInLeft 1s ease-out forwards;
    opacity: 0;
}

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

.about-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    z-index: 1;
    animation: fadeIn 1s ease-out 0.2s forwards;
    opacity: 0;
}

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

.about-img {
    width: 100%;
    height: auto;
    border-radius: 25px;
    box-shadow: 
        0 20px 60px rgba(102, 126, 234, 0.3),
        0 40px 80px rgba(118, 75, 162, 0.2),
        inset 0 0 30px rgba(239, 68, 245, 0.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-img:hover {
    transform: scale(1.05);
    box-shadow: 
        0 30px 80px rgba(102, 126, 234, 0.4),
        0 60px 100px rgba(118, 75, 162, 0.3),
        inset 0 0 50px rgba(239, 68, 245, 0.15);
}

.about-img.zoomed {
    transform: scale(1.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    position: relative;
}

.about-text {
    flex: 1;
    text-align: left;
    animation: slideInRight 1s ease-out forwards;
    opacity: 0;
}

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

.about-text h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1f2937;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glowText 3s ease-in-out infinite alternate;
}

@keyframes glowText {
    from { text-shadow: 0 0 20px rgba(255, 255, 255, 0.3); }
    to { text-shadow: 0 0 40px rgba(255, 255, 255, 0.6); }
}

.about-text h3 span {
    color: #c3872d;
    font-weight: 600;
    background: linear-gradient(135deg, #f093fb, #a39e9f);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

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

.about-text p:nth-child(2) {
    animation-delay: 0.5s;
}

.about-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.about-buttons .btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #f093fb, #a39e9f);
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 30px rgba(240, 147, 251, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    transition: all 0.6s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(135deg, #a39e9f, #f093fb);
    box-shadow: 0 15px 40px rgba(240, 147, 251, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-dark {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-dark:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px) scale(1.05);
}

/* ===============================
   Animations
================================= */

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

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

/* ===============================
   Responsive Design
================================= */

@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        margin-top: 40px;
    }

    .about-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Skills Section */
.skills {
    background: linear-gradient(135deg, #3e3452 0%, #353842 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(118, 75, 162, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(239, 68, 245, 0.1) 0%, transparent 50%);
    animation: float 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(1deg); }
    66% { transform: translateY(8px) rotate(-1deg); }
}

.skills-container {
    display: grid;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.skills-category {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
    gap: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        inset 0 0 30px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInUp 0.8s ease-out forwards;
    opacity: 0;
}

.skills-category:nth-child(1) { animation-delay: 0.1s; }
.skills-category:nth-child(2) { animation-delay: 0.3s; }
.skills-category:nth-child(3) { animation-delay: 0.5s; }

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

.skills-category:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.3),
        inset 0 0 40px rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.skills-category h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ffffff;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.skills-category h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #f093fb, #a39e9f);
    border-radius: 2px;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scaleX(1); }
    50% { opacity: 1; transform: translateX(-50%) scaleX(1.2); }
}

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

.skill-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    transition: all 0.6s ease;
}

.skill-item:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.skill-item:hover::before {
    left: 100%;
}

.skill-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 70%);
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.skill-item:hover .skill-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

.skill-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.skill-item:hover h4 {
    color: #e0e7ff;
    transform: translateY(-2px);
}

.skill-level {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-bar {
    height: 100%;
    background: linear-gradient(135deg, #f093fb, #a39e9f);
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    animation: shimmerBar 2s ease-in-out infinite;
}

@keyframes shimmerBar {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===============================
   PROJECTS SECTION (MODERN AI DESIGN)
================================= */
.projects {
    background: linear-gradient(135deg, #3e3452 0%, #353842 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(118, 75, 162, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(239, 68, 245, 0.1) 0%, transparent 50%);
    animation: floatProjects 30s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes floatProjects {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(1deg); }
    50% { transform: translateY(10px) rotate(-1deg); }
    75% { transform: translateY(-10px) rotate(0.5deg); }
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        inset 0 0 30px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    margin: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 380px;
    animation: slideInUp 1s ease-out forwards;
    opacity: 0;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }

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

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    transition: all 0.8s ease;
}

.project-card:hover {
    transform: translateY(-15px) scale(1.03);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.3),
        inset 0 0 40px rgba(255, 255, 255, 0.08);
}

.project-card:hover::before {
    left: 100%;
}

.project-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    margin-top: 30px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.project-image::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 70%);
    animation: rotateIcon 4s linear infinite;
}

@keyframes rotateIcon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.project-card:hover .project-image {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
}

.project-content {
    text-align: center;
}

.project-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-card:hover .project-content h3 {
    color: #e0e7ff;
    transform: translateY(-2px);
}

.project-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.project-card:hover .project-content p {
    color: rgba(255, 255, 255, 0.9);
}

.project-links {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    padding: 0 20px;
}

.project-link {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #f093fb, #a39e9f);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(240, 147, 251, 0.3);
}

.project-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    transition: all 0.6s ease;
}

.project-link:hover {
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(135deg, #a39e9f, #f093fb);
    box-shadow: 0 15px 30px rgba(240, 147, 251, 0.4);
}

.project-link:hover::before {
    left: 100%;
}

/* ===============================
PROJECTS SECTION
================================= */

.service {
background: linear-gradient(135deg, #2e303a 0%, #764ba2 100%);
position: relative;
overflow: hidden;
}

.service::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(45deg, 
rgba(102, 126, 234, 0.1) 0%, 
rgba(118, 75, 162, 0.1) 50%, 
rgba(239, 68, 245, 0.1) 100%);
pointer-events: none;
z-index: 1;
}

/* Section Titles */
.service h1.text-primary {
font-size: 3.2rem;
font-weight: 700;
background: linear-gradient(135deg, #667eea, #764ba2);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
margin-bottom: 2rem;
}

.service h1.mb-5 {
font-size: 2rem;
font-weight: 500;
color: #e0e7ff;
text-shadow: 0 0 20px rgba(102, 126, 234, 0.2);
}

/* Carousel spacing */
.project-carousel {
margin-top: 60px;
padding: 0 20px;
}

/* Project Card */
.project-carousel .service-item {
background: rgba(157, 59, 59, 0.95);
backdrop-filter: blur(10px);
border: 1px solid rgba(102, 126, 234, 0.2);
border-radius: 25px;
padding: 40px 30px;
transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 
0 10px 40px rgba(102, 126, 234, 0.15),
0 20px 60px rgba(118, 75, 162, 0.1),
inset 0 0 30px rgba(239, 68, 245, 0.05);
height: auto;
margin-bottom: 40px;
display: block;
position: relative;
overflow: hidden;
max-width: 250px;
margin: 0 auto 40px auto;
}

.project-carousel .service-item::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
animation: rotate 20s linear infinite;
pointer-events: none;
}

/* Hover effect */
.project-carousel .service-item:hover {
transform: translateY(-20px) scale(1.02);
box-shadow: 
0 15px 50px rgba(102, 126, 234, 0.25),
0 30px 80px rgba(118, 75, 162, 0.15),
inset 0 0 40px rgba(239, 68, 245, 0.1);
border-color: rgba(102, 126, 234, 0.4);
}

/* Project Image */
.project-carousel .service-item img {
width: 140px;
height: 90px;
object-fit: contain;
margin-bottom: 25px;
transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

/* Image hover animation */
.project-carousel .service-item:hover img {
transform: scale(1.1) rotate(5deg);
filter: drop-shadow(0 15px 25px rgba(27, 35, 72, 0.4));
}

/* Project Title */
.project-carousel .service-item h3,
.project-carousel .service-item h1 {
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 20px;
color: #1a1a2e;
text-shadow: 0 0 15px rgba(26, 32, 46, 0.3);
}

/* Project Description */
.project-carousel .service-item p {
font-size: 1.2rem;
color: #dcdfe2;
margin-bottom: 25px;
line-height: 1.7;
}

/* Button Style */
.project-carousel .btn-primary {
background: linear-gradient(135deg, #667eea, #764ba2);
border: 2px solid rgba(102, 126, 234, 0.3);
border-radius: 50px;
padding: 12px 25px;
font-size: 14px;
font-weight: 600;
color: #ffffff;
text-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
}

.project-carousel .btn-primary::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2));
transition: all 0.6s;
}

.project-carousel .btn-primary:hover {
background: linear-gradient(135deg, #764ba2, #667eea);
transform: translateY(-5px);
box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
}

.project-carousel .btn-primary:hover::before {
left: 100%;
}

/* Owl Carousel Navigation */
.project-carousel .owl-nav {
position: absolute;
top: -70px;
right: 10px;
}

.project-carousel .owl-nav button {
background: rgba(133, 120, 184, 0.8) !important;
color: #fff !important;
width: 45px;
height: 45px;
border-radius: 50%;
margin-left: 10px;
transition: 0.3s;
border: 1px solid rgba(255, 255, 255, 0.3);
}

.project-carousel .owl-nav button:hover {
background: rgba(118, 75, 162, 0.9) !important;
transform: scale(1.1);
border-color: rgba(255, 255, 255, 0.5);
}

/* Horizontal scrolling */
.project-carousel .owl-stage {
overflow: visible !important;
display: flex !important;
flex-wrap: nowrap !important;
}

.project-carousel .owl-stage-outer {
overflow: hidden !important;
}

.project-carousel .owl-item {
display: block !important;
width: 70% !important;
float: left !important;
}

.project-carousel .owl-item.active {
width: 50% !important;
}

.project-carousel .owl-item.active + .owl-item {
width: 50% !important;
}

.project-carousel .owl-dots {
display: flex;
justify-content: center;
gap: 10px;
margin-top: 20px;
}

.project-carousel .owl-dot {
width: 12px;
height: 12px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.5);
transition: all 0.3s ease;
}

.project-carousel .owl-dot.active {
background: rgba(146, 149, 158, 0.9);
transform: scale(1.2);
}

/* Contact Section */
/* ===============================
   CONTACT SECTION (MODERN AI DESIGN)
================================= */
.contact {
    background: linear-gradient(135deg, #3e3452 0%, #353842 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(118, 75, 162, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(239, 68, 245, 0.1) 0%, transparent 50%);
    animation: floatContact 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes floatContact {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-18px) rotate(1deg); }
    66% { transform: translateY(12px) rotate(-1deg); }
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.contact-info {
    animation: slideInLeft 1s ease-out forwards;
    opacity: 0;
}

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

.contact-info h3 {
    font-size: 3rem;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin-bottom: 1rem;
    color: rgb(251, 161, 59);
    background: linear-gradient(135deg, #fba13b 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glowTitle 3s ease-in-out infinite alternate;
}

@keyframes glowTitle {
    from { text-shadow: 0 0 20px rgba(251, 161, 59, 0.3); }
    to { text-shadow: 0 0 40px rgba(251, 161, 59, 0.6); }
}

.contact-info p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    color: rgb(228, 223, 223);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.3s both;
}

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

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInUp 1s ease-out 0.5s both;
}

.contact-item:nth-child(2) { animation-delay: 0.7s; }
.contact-item:nth-child(3) { animation-delay: 0.9s; }

.contact-item:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #509bcd, #e1bb95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 10px 20px rgba(80, 156, 205, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 70%);
    animation: rotateIcon 3s linear infinite;
}

@keyframes rotateIcon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(80, 156, 205, 0.4);
}

.contact-text h4 {
    margin-bottom: 0.25rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-text p {
    color: white;
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-text h4 {
    color: #e0e7ff;
    transform: translateY(-2px);
}

.contact-item:hover .contact-text p {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out 1.1s both;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e0e38, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 16px rgba(30, 14, 56, 0.3);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    background: linear-gradient(135deg, #764ba2, #1e0e38);
    box-shadow: 0 12px 24px rgba(30, 14, 56, 0.4);
}

.contact-form {
    background: linear-gradient(135deg, #1c2131, #655179);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        inset 0 0 30px rgba(255, 255, 255, 0.05);
    animation: slideInRight 1s ease-out forwards;
    opacity: 0;
}

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

.form-group {
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.form-group:nth-child(2) { animation-delay: 0.1s; }
.form-group:nth-child(3) { animation-delay: 0.2s; }
.form-group:nth-child(4) { animation-delay: 0.3s; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fba13b;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(251, 161, 59, 0.2);
}

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

.contact-form .btn-primary {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #fba13b, #e0e7ff);
    color: #1c2131;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(251, 161, 59, 0.3);
    animation: fadeInUp 1s ease-out 0.5s both;
}

.contact-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    transition: all 0.6s ease;
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    background: linear-gradient(135deg, #e0e7ff, #fba13b);
    box-shadow: 0 15px 30px rgba(251, 161, 59, 0.4);
}

.contact-form .btn-primary:hover::before {
    left: 100%;
}

/* Footer */
.footer {
     background: linear-gradient(135deg, #0a0d17 0%, #33263f 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-content i {
    color: #e74c3c;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-social {
        justify-content: center;
    }

    .avatar {
        width: 200px;
        height: 200px;
    }

    .avatar-img {
        font-size: 5rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .about-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

    .project-card {
        margin: 0 10px;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
