* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #0a192f;
    color: #ffffff;
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.image-preview-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    text-align: center;
}

.preview-content {
    max-width: 80%;
    max-height: 80%;
    margin: auto;
    border-radius: 10px;
    animation: zoomIn 0.3s ease;
}

.close-preview {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 40px;
    height: 40px;

    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
}

.logo-icon img {
    display: flex;
    width: 40px;
    height: 40px;
}

.logo-text {
    color: #06b6d4;
    font-weight: bold;
    font-size: 1.25rem;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #06b6d4;
}

.social-icons {
    display: flex;
    gap: 1rem;
}


.social-icons a {
    color: #9ca3af;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.social-icons a:hover {
    color: #06b6d4;
    transform: scale(1.2) rotate(5deg);
}


.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #d1d5db;
    font-size: 1.5rem;
    cursor: pointer;
}
@media (max-width: 768px) {
    nav {
        position: absolute;
        top: 70px;
        right: 0;
        background: #111827;
        width: 100%;
        flex-direction: column;
        display: none;
        text-align: center;
    }

    nav a {
        padding: 1rem;
        display: block;
    }

    nav.active, .social-icons.active{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .mobile-menu-btn {
        display: block;
    }
    
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a192f, #0d1b2a, #1b263b);
}

.hero-bg {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
}

.hero-bg-1 {
    top: 25%;
    left: 25%;
    background: #06b6d4;
    animation: float 20s infinite linear;
}

.hero-bg-2 {
    bottom: 25%;
    right: 25%;
    background: #3b82f6;
    animation: float 15s infinite linear reverse;
}

@keyframes float {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.2) rotate(90deg);
    }
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
    position: relative;
    z-index: 10;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-label {
    color: #06b6d4;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    display: block;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .highlight {
    color: #06b6d4;
}

.hero-description {
    color: #9ca3af;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #06b6d4;
    color: white;
}

.btn-primary:hover {
    background: #0891b2;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

.btn-outline {
    background: transparent;
    color: #06b6d4;
    border: 2px solid #06b6d4;
}

.btn-outline:hover {
    background: rgba(6, 182, 212, 0.1);
    transform: scale(1.05);
}

.tech-stack {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.tech-stack span {
    color: #6b7280;
    font-size: 0.875rem;
}

.tech-stack .tech-item {
    color: rgba(6, 182, 212, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-image {
    display: flex;
    justify-content: center;
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.profile-wrapper {
    position: relative;
    animation: floatImage 3s ease-in-out infinite;
}

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.profile-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #06b6d4, #3b82f6, #06b6d4);
    padding: 4px;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.profile-ring-inner {
    width: 100%;
    height: 100%;
    background: #0a192f;
    border-radius: 50%;
}

.profile-image {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #06b6d4;
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.5);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    cursor: pointer;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.scroll-indicator span {
    color: rgba(6, 182, 212, 0.6);
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* About Section */
.about {
    min-height: 100vh;
    background: #0d1b2a;
    padding: 5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.section-title .highlight {
    color: #06b6d4;
}

.section-description {
    text-align: center;
    color: #9ca3af;
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto 4rem;
}

.feature-card {
    background: linear-gradient(135deg, #1b263b, #0a192f);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(6, 182, 212, 0.5);
    transform: translateY(-5px) scale(1.05);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(360deg);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: #9ca3af;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    background: linear-gradient(to right, #1b263b, #0a192f);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #06b6d4;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #9ca3af;
}

/* Projects Section */
.projects {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a192f, #0d1b2a, #1b263b);
    padding: 5rem 1.5rem;
    position: relative;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto 3rem;
}

.project-card {
    background: linear-gradient(135deg, #1b263b, #0a192f);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(6, 182, 212, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.project-card:hover {
    border-color: rgba(6, 182, 212, 0.5);
    transform: translateY(-5px);
}

.project-image {
    position: relative;
    height: 224px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 182, 212, 0.1);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 48px;
    height: 48px;
    background: #06b6d4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: #0891b2;
    transform: scale(1.1);
}

.project-info {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.project-card:hover .project-title {
    color: #06b6d4;
}

.project-description {
    color: #9ca3af;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
    font-size: 0.875rem;
    border-radius: 9999px;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.hidden-project{
    display: none;
}

/* Skills Section */
.skills {
    min-height: 100vh;
    background: #0d1b2a;
    padding: 5rem 1.5rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.skill-category {
    background: linear-gradient(135deg, #1b263b, #0a192f);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    transition: border-color 0.3s ease;
}

.skill-category:hover {
    border-color: rgba(6, 182, 212, 0.5);
}

.skill-category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #06b6d4;
    margin-bottom: 1.5rem;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-name {
    font-weight: 500;
}

.skill-percentage {
    color: #06b6d4;
}

.skill-bar {
    height: 8px;
    background: #374151;
    border-radius: 9999px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(to right, #06b6d4, #3b82f6);
    border-radius: 9999px;
    transition: width 1s ease-out;
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Contact Section */
.contact {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a192f, #0d1b2a, #1b263b);
    padding: 5rem 1.5rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1280px;
    margin: 0 auto;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(to right, #1b263b, #0a192f);
    border-radius: 8px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    border-color: rgba(6, 182, 212, 0.5);
    transform: translateX(10px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.contact-info-item:hover .contact-icon {
    transform: scale(1.1);
}

.contact-info-text p:first-child {
    color: #9ca3af;
    font-size: 0.875rem;
}

.contact-info-text p:last-child {
    font-weight: 500;
}

.contact-form {
    background: linear-gradient(135deg, #1b263b, #0a192f);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: #0a192f;
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #06b6d4;
}

.form-group textarea {
    resize: none;
    min-height: 150px;
}

/* Footer */
footer {
    background: #0a192f;
    border-top: 1px solid rgba(6, 182, 212, 0.2);
    padding: 2rem 1.5rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
}

.heart {
    color: #ef4444;
    animation: heartbeat 1s infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #06b6d4;
}

/* Icons */
.icon {
    width: 24px;
    height: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {

    nav,
    .social-icons {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .profile-image {
        width: 280px;
        height: 280px;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Chatbot */
#chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    font-family: Arial, sans-serif;
    z-index: 9999;
}

#chat-header {
    background: #06b6d4;
    color: white;
    padding: 12px;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
}

#chat-body {
    display: none;
    background: #0a192f;
    border: 1px solid #06b6d4;
    border-top: none;
    border-radius: 0 0 10px 10px;
    height: 350px;
    display: flex;
    flex-direction: column;
}

#chat-messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    font-size: 14px;
}

.chat-input {
    display: flex;
    border-top: 1px solid #06b6d4;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: none;
    background: #0a192f;
    color: white;
}

.chat-input button {
    background: #06b6d4;
    border: none;
    padding: 10px;
    color: white;
    cursor: pointer;
}
/* Chat bubbles */
.chat-bubble {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 18px;
    margin: 6px 0;
    display: inline-block;
    font-size: 14px;
}

.bot {
    background: #1b263b;
    color: white;
    border-bottom-left-radius: 4px;
}

.user {
    background: #06b6d4;
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-row {
    display: flex;
}

.chat-row.user {
    justify-content: flex-end;
}

.chat-row.bot {
    justify-content: flex-start;
}

/* Typing animation */
.typing {
    display: flex;
    gap: 4px;
}

.typing span {
    width: 6px;
    height: 6px;
    background: #ccc;
    border-radius: 50%;
    animation: blink 1.4s infinite;
}

.typing span:nth-child(2) {
    animation-delay: 0.2s;
}
.typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes blink {
    0%, 80%, 100% { opacity: 0.3; }
    40% { opacity: 1; }
}